Lines Matching refs:zRet
2475 char *zRet = 0; in fts5ExprPrintTcl() local
2481 zRet = fts5PrintfAppend(zRet, "%s ", zNearsetCmd); in fts5ExprPrintTcl()
2482 if( zRet==0 ) return 0; in fts5ExprPrintTcl()
2487 zRet = fts5PrintfAppend(zRet, "-col %d ", aiCol[0]); in fts5ExprPrintTcl()
2489 zRet = fts5PrintfAppend(zRet, "-col {%d", aiCol[0]); in fts5ExprPrintTcl()
2491 zRet = fts5PrintfAppend(zRet, " %d", aiCol[i]); in fts5ExprPrintTcl()
2493 zRet = fts5PrintfAppend(zRet, "} "); in fts5ExprPrintTcl()
2495 if( zRet==0 ) return 0; in fts5ExprPrintTcl()
2499 zRet = fts5PrintfAppend(zRet, "-near %d ", pNear->nNear); in fts5ExprPrintTcl()
2500 if( zRet==0 ) return 0; in fts5ExprPrintTcl()
2503 zRet = fts5PrintfAppend(zRet, "--"); in fts5ExprPrintTcl()
2504 if( zRet==0 ) return 0; in fts5ExprPrintTcl()
2509 zRet = fts5PrintfAppend(zRet, " {"); in fts5ExprPrintTcl()
2510 for(iTerm=0; zRet && iTerm<pPhrase->nTerm; iTerm++){ in fts5ExprPrintTcl()
2512 zRet = fts5PrintfAppend(zRet, "%s%s", iTerm==0?"":" ", zTerm); in fts5ExprPrintTcl()
2514 zRet = fts5PrintfAppend(zRet, "*"); in fts5ExprPrintTcl()
2518 if( zRet ) zRet = fts5PrintfAppend(zRet, "}"); in fts5ExprPrintTcl()
2519 if( zRet==0 ) return 0; in fts5ExprPrintTcl()
2534 zRet = sqlite3_mprintf("%s", zOp); in fts5ExprPrintTcl()
2535 for(i=0; zRet && i<pExpr->nChild; i++){ in fts5ExprPrintTcl()
2538 sqlite3_free(zRet); in fts5ExprPrintTcl()
2539 zRet = 0; in fts5ExprPrintTcl()
2541 zRet = fts5PrintfAppend(zRet, " [%z]", z); in fts5ExprPrintTcl()
2546 return zRet; in fts5ExprPrintTcl()
2550 char *zRet = 0; in fts5ExprPrint() local
2562 if( pColset->nCol>1 ) zRet = fts5PrintfAppend(zRet, "{"); in fts5ExprPrint()
2564 zRet = fts5PrintfAppend(zRet, "%s%s", in fts5ExprPrint()
2568 if( zRet ){ in fts5ExprPrint()
2569 zRet = fts5PrintfAppend(zRet, "%s : ", pColset->nCol>1 ? "}" : ""); in fts5ExprPrint()
2571 if( zRet==0 ) return 0; in fts5ExprPrint()
2575 zRet = fts5PrintfAppend(zRet, "NEAR("); in fts5ExprPrint()
2576 if( zRet==0 ) return 0; in fts5ExprPrint()
2582 zRet = fts5PrintfAppend(zRet, " "); in fts5ExprPrint()
2583 if( zRet==0 ) return 0; in fts5ExprPrint()
2588 zRet = fts5PrintfAppend(zRet, "%s%s", iTerm==0?"":" + ", zTerm); in fts5ExprPrint()
2591 if( zTerm==0 || zRet==0 ){ in fts5ExprPrint()
2592 sqlite3_free(zRet); in fts5ExprPrint()
2599 zRet = fts5PrintfAppend(zRet, ", %d)", pNear->nNear); in fts5ExprPrint()
2600 if( zRet==0 ) return 0; in fts5ExprPrint()
2619 sqlite3_free(zRet); in fts5ExprPrint()
2620 zRet = 0; in fts5ExprPrint()
2624 zRet = fts5PrintfAppend(zRet, "%s%s%z%s", in fts5ExprPrint()
2629 if( zRet==0 ) break; in fts5ExprPrint()
2633 return zRet; in fts5ExprPrint()