Lines Matching refs:str
281 StrAccum str; in printfFunc() local
290 sqlite3StrAccumInit(&str, db, 0, 0, db->aLimit[SQLITE_LIMIT_LENGTH]); in printfFunc()
291 str.printfFlags = SQLITE_PRINTF_SQLFUNC; in printfFunc()
292 sqlite3_str_appendf(&str, zFormat, &x); in printfFunc()
293 n = str.nChar; in printfFunc()
294 sqlite3_result_text(context, sqlite3StrAccumFinish(&str), n, in printfFunc()
1127 sqlite3_str str; in quoteFunc() local
1131 sqlite3StrAccumInit(&str, db, 0, 0, db->aLimit[SQLITE_LIMIT_LENGTH]); in quoteFunc()
1132 sqlite3QuoteValue(&str,argv[0]); in quoteFunc()
1133 sqlite3_result_text(context, sqlite3StrAccumFinish(&str), str.nChar, in quoteFunc()
1135 if( str.accError!=SQLITE_OK ){ in quoteFunc()
1137 sqlite3_result_error_code(context, str.accError); in quoteFunc()
1759 StrAccum str; /* The accumulated concatenation */ member
1786 int firstTerm = pGCC->str.mxAlloc==0; in groupConcatStep()
1787 pGCC->str.mxAlloc = db->aLimit[SQLITE_LIMIT_LENGTH]; in groupConcatStep()
1790 sqlite3_str_appendchar(&pGCC->str, 1, ','); in groupConcatStep()
1801 sqlite3_str_append(&pGCC->str, zSep, nSep); in groupConcatStep()
1825 sqlite3StrAccumSetError(&pGCC->str, SQLITE_NOMEM); in groupConcatStep()
1838 if( zVal ) sqlite3_str_append(&pGCC->str, zVal, nVal); in groupConcatStep()
1873 if( nVS>=(int)pGCC->str.nChar ){ in groupConcatInverse()
1874 pGCC->str.nChar = 0; in groupConcatInverse()
1876 pGCC->str.nChar -= nVS; in groupConcatInverse()
1877 memmove(pGCC->str.zText, &pGCC->str.zText[nVS], pGCC->str.nChar); in groupConcatInverse()
1879 if( pGCC->str.nChar==0 ){ in groupConcatInverse()
1880 pGCC->str.mxAlloc = 0; in groupConcatInverse()
1893 sqlite3ResultStrAccum(context, &pGCC->str); in groupConcatFinalize()
1904 StrAccum *pAccum = &pGCC->str; in groupConcatValue()