Lines Matching refs:SQLITE_UTF8

4463 #define SQLITE_UTF8           1    /* IMP: R-37514-35566 */  macro
11308 {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
11311 {nArg, SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
11314 {nArg,SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL)|extraFlags,\
11317 {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
11320 {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|flags, \
11323 {nArg, SQLITE_UTF8|(nc*SQLITE_FUNC_NEEDCOLL), \
11326 {nArg, SQLITE_UTF8|(nc*SQLITE_FUNC_NEEDCOLL)|extraFlags, \
15658 }else if( sqlite3AtoF(zDate, &r, sqlite3Strlen30(zDate), SQLITE_UTF8) ){ in parseDateOrTime()
15938 && sqlite3AtoF(&z[8], &r, sqlite3Strlen30(&z[8]), SQLITE_UTF8) in parseModifier()
15995 if( !sqlite3AtoF(z, &r, n, SQLITE_UTF8) ){ in parseModifier()
23122 if( pMem->enc!=SQLITE_UTF8 && desiredEnc!=SQLITE_UTF8 ){
23143 if( desiredEnc==SQLITE_UTF8 ){
23174 if( pMem->enc==SQLITE_UTF8 ){
23192 assert( desiredEnc==SQLITE_UTF8 );
23209 assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len );
23336 sqlite3VdbeChangeEncoding(&m, SQLITE_UTF8);
23581 sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
23740 assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE );
23743 if( enc==SQLITE_UTF8 ){
23951 assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE );
23952 if( enc==SQLITE_UTF8 ){
24041 return sqlite3Atoi64(z, pOut, sqlite3Strlen30(z), SQLITE_UTF8);
63172 assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE
63398 pMem->enc = SQLITE_UTF8;
63757 pMem->enc = SQLITE_UTF8;
63964 if( enc==SQLITE_UTF8 ){
63980 nAlloc += (enc==SQLITE_UTF8?1:2);
64005 pMem->enc = (enc==0 ? SQLITE_UTF8 : enc);
64008 if( pMem->enc!=SQLITE_UTF8 && sqlite3VdbeMemHandleBom(pMem) ){
64303 sqlite3ValueApplyAffinity(pVal, aff, SQLITE_UTF8);
64374 sqlite3VdbeMemCast(*ppVal, aff, SQLITE_UTF8);
64375 sqlite3ValueApplyAffinity(*ppVal, affinity, SQLITE_UTF8);
64399 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
64402 sqlite3ValueApplyAffinity(pVal, SQLITE_AFF_NUMERIC, SQLITE_UTF8);
64404 sqlite3ValueApplyAffinity(pVal, affinity, SQLITE_UTF8);
64407 if( enc!=SQLITE_UTF8 ){
66206 pMem->enc = SQLITE_UTF8;
66248 sqlite3VdbeMemSetStr(pMem, zP4, -1, SQLITE_UTF8, 0);
66252 pMem->enc = SQLITE_UTF8;
66264 pMem->enc = SQLITE_UTF8;
66274 pMem->enc = SQLITE_UTF8;
66719 rc = sqlite3VdbeMemSetStr(pColName, zName, -1, SQLITE_UTF8, xDel);
67323 sqlite3ValueSetStr(db->pErr, -1, p->zErrMsg, SQLITE_UTF8, SQLITE_TRANSIENT);
68294 assert( pMem1->enc==SQLITE_UTF8 ||
68939 sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8);
69120 return sqlite3ValueBytes(pVal, SQLITE_UTF8);
69135 return (const unsigned char *)sqlite3ValueText(pVal, SQLITE_UTF8);
69260 sqlite3VdbeMemSetStr(pCtx->pOut, z, n, SQLITE_UTF8, SQLITE_TRANSIENT);
69289 setResultStrOrError(pCtx, z, n, SQLITE_UTF8, xDel);
69352 SQLITE_UTF8, SQLITE_STATIC);
69362 SQLITE_UTF8, SQLITE_STATIC);
70255 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
70693 if( enc!=SQLITE_UTF8 ){
70697 sqlite3VdbeChangeEncoding(&utf8, SQLITE_UTF8);
70715 if( enc!=SQLITE_UTF8 ) sqlite3VdbeMemRelease(&utf8);
71879 if( encoding!=SQLITE_UTF8 ){
71880 rc = sqlite3VdbeMemSetStr(pOut, pOp->p4.z, -1, SQLITE_UTF8, SQLITE_STATIC);
73567 pOut->enc = SQLITE_UTF8; /* In case the blob is ever converted to text */
75271 pOut->enc = SQLITE_UTF8; /* In case the blob is ever cast to text */
76110 sqlite3VdbeMemSetStr(pIn1, z, -1, SQLITE_UTF8, sqlite3_free);
76751 pOut->enc = SQLITE_UTF8;
77123 testcase( pName->enc==SQLITE_UTF8 );
77126 rc = sqlite3VdbeChangeEncoding(pName, SQLITE_UTF8);
81885 sqlite3AtoF(p->u.zToken, &r, sqlite3Strlen30(p->u.zToken), SQLITE_UTF8);
83473 int bOk = 0==sqlite3Atoi64(&z[1], &i, n-1, SQLITE_UTF8);
85038 sqlite3AtoF(z, &value, sqlite3Strlen30(z), SQLITE_UTF8);
87922 rc = sqlite3ValueFromExpr(db, pDflt, SQLITE_UTF8, SQLITE_AFF_NONE, &pVal);
88539 SQLITE_UTF8, /* funcFlags */
88840 SQLITE_UTF8, /* funcFlags */
88987 SQLITE_UTF8, /* funcFlags */
90343 SQLITE_UTF8, /* funcFlags */
90364 SQLITE_UTF8, /* funcFlags */
95140 sqlite3ValueSetStr(pTmp, -1, zName, SQLITE_UTF8, SQLITE_STATIC);
95161 static const u8 aEnc[] = { SQLITE_UTF16BE, SQLITE_UTF16LE, SQLITE_UTF8 };
95270 pColl[0].enc = SQLITE_UTF8;
95321 assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 );
95322 assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE );
95579 p->enc = SQLITE_UTF8;
96766 SQLITE_UTF8);
96807 sqlite3AtoF(zBuf, &r, sqlite3Strlen30(zBuf), SQLITE_UTF8);
97395 sqlite3AtoF(zBuf, &r2, 20, SQLITE_UTF8);
97511 sqlite3_result_text64(context, (char*)z, zOut-z, sqlite3_free, SQLITE_UTF8);
98045 2, SQLITE_UTF8, 0);
98063 sqlite3CreateFunc(db, "like", 2, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0);
98064 sqlite3CreateFunc(db, "like", 3, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0);
98065 sqlite3CreateFunc(db, "glob", 2, SQLITE_UTF8,
98095 2, SQLITE_UTF8, 0);
105237 { "UTF8", SQLITE_UTF8 },
105238 { "UTF-8", SQLITE_UTF8 }, /* Must be element [1] */
105253 assert( encnames[SQLITE_UTF8].enc==SQLITE_UTF8 );
105838 if( encoding==0 ) encoding = SQLITE_UTF8;
105841 ENC(db) = SQLITE_UTF8;
127891 zSql8 = sqlite3ValueText(pVal, SQLITE_UTF8);
129552 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8|extraFlags,
129564 enc = SQLITE_UTF8;
129722 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
129723 rc = sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
130215 if( enc2<SQLITE_UTF8 || enc2>SQLITE_UTF16BE ){
130766 createCollation(db, "BINARY", SQLITE_UTF8, 0, binCollFunc, 0);
130769 createCollation(db, "NOCASE", SQLITE_UTF8, 0, nocaseCollatingFunc, 0);
130770 createCollation(db, "RTRIM", SQLITE_UTF8, (void*)1, binCollFunc, 0);
130777 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
130963 zFilename8 = sqlite3ValueText(pVal, SQLITE_UTF8);
140712 db, "fts3_exprtest", -1, SQLITE_UTF8, 0, fts3ExprTest, 0, 0
140716 -1, SQLITE_UTF8, (void *)1, fts3ExprTest, 0, 0
154309 const int utf8 = SQLITE_UTF8;
154913 {"lower", 1, SQLITE_UTF8, 0, icuCaseFunc16},
154914 {"lower", 2, SQLITE_UTF8, 0, icuCaseFunc16},
154915 {"upper", 1, SQLITE_UTF8, (void*)1, icuCaseFunc16},
154916 {"upper", 2, SQLITE_UTF8, (void*)1, icuCaseFunc16},
154918 {"like", 2, SQLITE_UTF8, 0, icuLikeFunc},
154919 {"like", 3, SQLITE_UTF8, 0, icuLikeFunc},
154921 {"icu_load_collation", 2, SQLITE_UTF8, (void*)db, icuLoadCollation},