Lines Matching refs:SQLITE_UTF8
3746 #define SQLITE_UTF8 1 macro
8528 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
8531 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
8534 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0}
8536 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
11295 }else if( sqlite3IsNumber(zDate, &isRealNum, SQLITE_UTF8) ){ in parseDateOrTime()
18130 if( pMem->enc!=SQLITE_UTF8 && desiredEnc!=SQLITE_UTF8 ){ in sqlite3VdbeMemTranslate()
18151 if( desiredEnc==SQLITE_UTF8 ){ in sqlite3VdbeMemTranslate()
18182 if( pMem->enc==SQLITE_UTF8 ){ in sqlite3VdbeMemTranslate()
18202 assert( desiredEnc==SQLITE_UTF8 ); in sqlite3VdbeMemTranslate()
18219 assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); in sqlite3VdbeMemTranslate()
18345 sqlite3VdbeChangeEncoding(&m, SQLITE_UTF8); in sqlite3Utf16to8()
18370 sqlite3VdbeMemSetStr(&m, z, n, SQLITE_UTF8, SQLITE_STATIC); in sqlite3Utf8to16()
18583 sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC); in sqlite3Error()
18585 sqlite3ValueSetStr(db->pErr, 0, 0, SQLITE_UTF8, SQLITE_STATIC); in sqlite3Error()
18705 int incr = (enc==SQLITE_UTF8?1:2); in sqlite3IsNumber()
46364 assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE
46551 pMem->enc = SQLITE_UTF8;
46685 if( sqlite3VdbeChangeEncoding(pMem, SQLITE_UTF8)
46714 if( sqlite3VdbeChangeEncoding(pMem, SQLITE_UTF8)
46831 pMem->enc = SQLITE_UTF8;
47011 if( enc==SQLITE_UTF8 ){
47026 nAlloc += (enc==SQLITE_UTF8?1:2);
47048 pMem->enc = (enc==0 ? SQLITE_UTF8 : enc);
47052 if( pMem->enc!=SQLITE_UTF8 && sqlite3VdbeMemHandleBom(pMem) ){
47137 assert( pMem1->enc==SQLITE_UTF8 ||
47339 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
47343 sqlite3ValueApplyAffinity(pVal, SQLITE_AFF_NUMERIC, SQLITE_UTF8);
47345 sqlite3ValueApplyAffinity(pVal, affinity, SQLITE_UTF8);
47347 if( enc!=SQLITE_UTF8 ){
48571 pMem->enc = SQLITE_UTF8;
48618 sqlite3VdbeMemSetStr(pMem, z, -1, SQLITE_UTF8, 0);
48622 pMem->enc = SQLITE_UTF8;
48636 pMem->enc = SQLITE_UTF8;
48644 pMem->enc = SQLITE_UTF8;
49036 rc = sqlite3VdbeMemSetStr(pColName, zName, -1, SQLITE_UTF8, xDel);
49651 sqlite3ValueSetStr(db->pErr,-1,p->zErrMsg,SQLITE_UTF8,SQLITE_TRANSIENT);
49668 sqlite3ValueSetStr(db->pErr, -1, p->zErrMsg, SQLITE_UTF8, SQLITE_TRANSIENT);
50514 sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8);
50686 return sqlite3ValueBytes(pVal, SQLITE_UTF8);
50701 return (const unsigned char *)sqlite3ValueText(pVal, SQLITE_UTF8);
50754 sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF8, SQLITE_TRANSIENT);
50782 setResultStrOrError(pCtx, z, n, SQLITE_UTF8, xDel);
50825 SQLITE_UTF8, SQLITE_STATIC);
50834 SQLITE_UTF8, SQLITE_STATIC);
51579 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
51907 if( enc!=SQLITE_UTF8 ){
51912 sqlite3VdbeChangeEncoding(&utf8, SQLITE_UTF8);
52181 sqlite3VdbeChangeEncoding(pRec, SQLITE_UTF8);
53337 if( encoding!=SQLITE_UTF8 ){
53338 rc = sqlite3VdbeMemSetStr(pOut, pOp->p4.z, -1, SQLITE_UTF8, SQLITE_STATIC);
54923 pOut->enc = SQLITE_UTF8; /* In case the blob is ever converted to text */
56493 pOut->enc = SQLITE_UTF8; /* In case the blob is ever cast to text */
57216 sqlite3VdbeMemSetStr(pIn1, u.bv.z, -1, SQLITE_UTF8, sqlite3_free);
64481 sqlite3CreateFunc(db, "sqlite_rename_table", 2, SQLITE_UTF8, 0,
64484 sqlite3CreateFunc(db, "sqlite_rename_trigger", 2, SQLITE_UTF8, 0,
64488 sqlite3CreateFunc(db, "sqlite_rename_parent", 3, SQLITE_UTF8, 0,
64914 if( sqlite3ValueFromExpr(db, pDflt, SQLITE_UTF8, SQLITE_AFF_NONE, &pVal) ){
66054 SQLITE_UTF8, /* iPrefEnc */
66075 SQLITE_UTF8, /* iPrefEnc */
70223 sqlite3ValueSetStr(pTmp, -1, zName, SQLITE_UTF8, SQLITE_STATIC);
70244 static const u8 aEnc[] = { SQLITE_UTF16BE, SQLITE_UTF16LE, SQLITE_UTF8 };
70351 pColl[0].enc = SQLITE_UTF8;
70402 assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 );
70403 assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE );
70527 assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE );
70635 p->enc = SQLITE_UTF8;
72647 2, SQLITE_UTF8, 0);
72692 2, SQLITE_UTF8, 0);
72752 {-1,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"coalesce",0},
72755 {2,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"ifnull",0},
72778 {0,SQLITE_UTF8,SQLITE_FUNC_COUNT,0,0,0,countStep,countFinalize,"count",0},
78170 { "UTF8", SQLITE_UTF8 },
78171 { "UTF-8", SQLITE_UTF8 }, /* Must be element [1] */
78186 assert( encnames[SQLITE_UTF8].enc==SQLITE_UTF8 );
78642 if( encoding==0 ) encoding = SQLITE_UTF8;
78644 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
88732 assert( pColl->enc==SQLITE_UTF8 );
88734 pColl = sqlite3GetCollSeq(db, SQLITE_UTF8, 0, *pIdx->azColl);
88754 if( pColl->enc!=SQLITE_UTF8 ){
88813 return sqlite3ValueFromExpr(pParse->db, pExpr, SQLITE_UTF8, aff, pp);
95354 zSql8 = sqlite3ValueText(pVal, SQLITE_UTF8);
96422 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
96434 enc = SQLITE_UTF8;
96534 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
96535 sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
96786 SQLITE_UTF8, SQLITE_STATIC);
96853 if( enc2<SQLITE_UTF8 || enc2>SQLITE_UTF16BE ){
97089 createCollation(db, "BINARY", SQLITE_UTF8, SQLITE_COLL_BINARY, 0,
97095 createCollation(db, "RTRIM", SQLITE_UTF8, SQLITE_COLL_USER, (void*)1,
97100 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
97104 createCollation(db, "NOCASE", SQLITE_UTF8, SQLITE_COLL_NOCASE, 0,
97277 zFilename8 = sqlite3ValueText(pVal, SQLITE_UTF8);
102121 db, "fts3_exprtest", -1, SQLITE_UTF8, 0, fts3ExprTest, 0, 0
110373 int utf8 = SQLITE_UTF8;
110377 int utf8 = SQLITE_UTF8;
110867 {"lower", 1, SQLITE_UTF8, 0, icuCaseFunc16},
110868 {"lower", 2, SQLITE_UTF8, 0, icuCaseFunc16},
110869 {"upper", 1, SQLITE_UTF8, (void*)1, icuCaseFunc16},
110870 {"upper", 2, SQLITE_UTF8, (void*)1, icuCaseFunc16},
110872 {"like", 2, SQLITE_UTF8, 0, icuLikeFunc},
110873 {"like", 3, SQLITE_UTF8, 0, icuLikeFunc},
110875 {"icu_load_collation", 2, SQLITE_UTF8, (void*)db, icuLoadCollation},