Lines Matching refs:SQLITE_UTF8

4266 #define SQLITE_UTF8           1  macro
9657 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9660 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9663 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0, 0}
9665 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
13452 }else if( sqlite3AtoF(zDate, &r, sqlite3Strlen30(zDate), SQLITE_UTF8) ){ in parseDateOrTime()
13721 && sqlite3AtoF(&z[8], &r, sqlite3Strlen30(&z[8]), SQLITE_UTF8) in parseModifier()
13778 if( !sqlite3AtoF(z, &r, n, SQLITE_UTF8) ){ in parseModifier()
20194 if( pMem->enc!=SQLITE_UTF8 && desiredEnc!=SQLITE_UTF8 ){ in sqlite3VdbeMemTranslate()
20215 if( desiredEnc==SQLITE_UTF8 ){ in sqlite3VdbeMemTranslate()
20246 if( pMem->enc==SQLITE_UTF8 ){ in sqlite3VdbeMemTranslate()
20266 assert( desiredEnc==SQLITE_UTF8 ); in sqlite3VdbeMemTranslate()
20283 assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); in sqlite3VdbeMemTranslate()
20409 sqlite3VdbeChangeEncoding(&m, SQLITE_UTF8); in sqlite3Utf16to8()
20436 sqlite3VdbeMemSetStr(&m, z, n, SQLITE_UTF8, SQLITE_STATIC); in sqlite3Utf8to16()
20651 sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC); in sqlite3Error()
20653 sqlite3ValueSetStr(db->pErr, 0, 0, SQLITE_UTF8, SQLITE_STATIC); in sqlite3Error()
20789 int incr = (enc==SQLITE_UTF8?1:2); in sqlite3AtoF()
20986 int incr = (enc==SQLITE_UTF8?1:2); in sqlite3Atoi64()
56431 assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE
56621 pMem->enc = SQLITE_UTF8;
56900 pMem->enc = SQLITE_UTF8;
57104 if( enc==SQLITE_UTF8 ){
57119 nAlloc += (enc==SQLITE_UTF8?1:2);
57141 pMem->enc = (enc==0 ? SQLITE_UTF8 : enc);
57145 if( pMem->enc!=SQLITE_UTF8 && sqlite3VdbeMemHandleBom(pMem) ){
57230 assert( pMem1->enc==SQLITE_UTF8 ||
57452 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
57456 sqlite3ValueApplyAffinity(pVal, SQLITE_AFF_NUMERIC, SQLITE_UTF8);
57458 sqlite3ValueApplyAffinity(pVal, affinity, SQLITE_UTF8);
57461 if( enc!=SQLITE_UTF8 ){
58772 pMem->enc = SQLITE_UTF8;
58817 sqlite3VdbeMemSetStr(pMem, z, -1, SQLITE_UTF8, 0);
58821 pMem->enc = SQLITE_UTF8;
58835 pMem->enc = SQLITE_UTF8;
58843 pMem->enc = SQLITE_UTF8;
59263 rc = sqlite3VdbeMemSetStr(pColName, zName, -1, SQLITE_UTF8, xDel);
59884 sqlite3ValueSetStr(db->pErr,-1,p->zErrMsg,SQLITE_UTF8,SQLITE_TRANSIENT);
59901 sqlite3ValueSetStr(db->pErr, -1, p->zErrMsg, SQLITE_UTF8, SQLITE_TRANSIENT);
60772 sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8);
60946 return sqlite3ValueBytes(pVal, SQLITE_UTF8);
60961 return (const unsigned char *)sqlite3ValueText(pVal, SQLITE_UTF8);
61014 sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF8, SQLITE_TRANSIENT);
61042 setResultStrOrError(pCtx, z, n, SQLITE_UTF8, xDel);
61085 SQLITE_UTF8, SQLITE_STATIC);
61094 SQLITE_UTF8, SQLITE_STATIC);
61908 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
62227 if( enc!=SQLITE_UTF8 ){
62232 sqlite3VdbeChangeEncoding(&utf8, SQLITE_UTF8);
63675 if( encoding!=SQLITE_UTF8 ){
63676 rc = sqlite3VdbeMemSetStr(pOut, pOp->p4.z, -1, SQLITE_UTF8, SQLITE_STATIC);
65307 pOut->enc = SQLITE_UTF8; /* In case the blob is ever converted to text */
66939 pOut->enc = SQLITE_UTF8; /* In case the blob is ever cast to text */
67659 sqlite3VdbeMemSetStr(pIn1, u.bv.z, -1, SQLITE_UTF8, sqlite3_free);
68261 pOut->enc = SQLITE_UTF8;
71787 int bOk = 0==sqlite3Atoi64(&z[1], &i, n-1, SQLITE_UTF8);
73155 sqlite3AtoF(z, &value, sqlite3Strlen30(z), SQLITE_UTF8);
73183 c = sqlite3Atoi64(z, &value, sqlite3Strlen30(z), SQLITE_UTF8);
75672 if( sqlite3ValueFromExpr(db, pDflt, SQLITE_UTF8, SQLITE_AFF_NONE, &pVal) ){
76909 SQLITE_UTF8, /* iPrefEnc */
76931 SQLITE_UTF8, /* iPrefEnc */
81131 sqlite3ValueSetStr(pTmp, -1, zName, SQLITE_UTF8, SQLITE_STATIC);
81152 static const u8 aEnc[] = { SQLITE_UTF16BE, SQLITE_UTF16LE, SQLITE_UTF8 };
81259 pColl[0].enc = SQLITE_UTF8;
81310 assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 );
81311 assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE );
81435 assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE );
81550 p->enc = SQLITE_UTF8;
82492 sqlite3AtoF(zBuf, &r, sqlite3Strlen30(zBuf), SQLITE_UTF8);
83649 2, SQLITE_UTF8, 0);
83667 sqlite3CreateFunc(db, "like", 2, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0);
83668 sqlite3CreateFunc(db, "like", 3, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0);
83669 sqlite3CreateFunc(db, "glob", 2, SQLITE_UTF8,
83694 2, SQLITE_UTF8, 0);
83754 {-1,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"coalesce",0,0},
83757 {2,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"ifnull",0,0},
83785 {0,SQLITE_UTF8,SQLITE_FUNC_COUNT,0,0,0,countStep,countFinalize,"count",0,0},
88667 sqlite3Atoi64(zRight, &iLimit, 1000000, SQLITE_UTF8);
89334 { "UTF8", SQLITE_UTF8 },
89335 { "UTF-8", SQLITE_UTF8 }, /* Must be element [1] */
89350 assert( encnames[SQLITE_UTF8].enc==SQLITE_UTF8 );
89873 if( encoding==0 ) encoding = SQLITE_UTF8;
89875 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
99607 pColl = sqlite3FindCollSeq(db, SQLITE_UTF8, noCase ? "NOCASE" : "BINARY",0);
100649 assert( pColl->enc==SQLITE_UTF8 );
100651 pColl = sqlite3GetCollSeq(db, SQLITE_UTF8, 0, *pIdx->azColl);
100671 if( pColl->enc!=SQLITE_UTF8 ){
100729 return sqlite3ValueFromExpr(pParse->db, pExpr, SQLITE_UTF8, aff, pp);
107822 zSql8 = sqlite3ValueText(pVal, SQLITE_UTF8);
108978 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
108990 enc = SQLITE_UTF8;
109131 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
109132 sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
109497 SQLITE_UTF8, SQLITE_STATIC);
109564 if( enc2<SQLITE_UTF8 || enc2>SQLITE_UTF16BE ){
110069 createCollation(db, "BINARY", SQLITE_UTF8, SQLITE_COLL_BINARY, 0,
110075 createCollation(db, "RTRIM", SQLITE_UTF8, SQLITE_COLL_USER, (void*)1,
110080 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
110084 createCollation(db, "NOCASE", SQLITE_UTF8, SQLITE_COLL_NOCASE, 0,
110247 zFilename8 = sqlite3ValueText(pVal, SQLITE_UTF8);
117869 db, "fts3_exprtest", -1, SQLITE_UTF8, 0, fts3ExprTest, 0, 0
127569 const int utf8 = SQLITE_UTF8;
128129 {"lower", 1, SQLITE_UTF8, 0, icuCaseFunc16},
128130 {"lower", 2, SQLITE_UTF8, 0, icuCaseFunc16},
128131 {"upper", 1, SQLITE_UTF8, (void*)1, icuCaseFunc16},
128132 {"upper", 2, SQLITE_UTF8, (void*)1, icuCaseFunc16},
128134 {"like", 2, SQLITE_UTF8, 0, icuLikeFunc},
128135 {"like", 3, SQLITE_UTF8, 0, icuLikeFunc},
128137 {"icu_load_collation", 2, SQLITE_UTF8, (void*)db, icuLoadCollation},