Lines Matching refs:SQLITE_UTF8
4426 #define SQLITE_UTF8 1 macro
9959 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9962 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9965 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0, 0}
9967 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
13872 }else if( sqlite3AtoF(zDate, &r, sqlite3Strlen30(zDate), SQLITE_UTF8) ){ in parseDateOrTime()
14143 && sqlite3AtoF(&z[8], &r, sqlite3Strlen30(&z[8]), SQLITE_UTF8) in parseModifier()
14200 if( !sqlite3AtoF(z, &r, n, SQLITE_UTF8) ){ in parseModifier()
20713 if( pMem->enc!=SQLITE_UTF8 && desiredEnc!=SQLITE_UTF8 ){ in sqlite3VdbeMemTranslate()
20734 if( desiredEnc==SQLITE_UTF8 ){ in sqlite3VdbeMemTranslate()
20765 if( pMem->enc==SQLITE_UTF8 ){ in sqlite3VdbeMemTranslate()
20785 assert( desiredEnc==SQLITE_UTF8 ); in sqlite3VdbeMemTranslate()
20802 assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); in sqlite3VdbeMemTranslate()
20928 sqlite3VdbeChangeEncoding(&m, SQLITE_UTF8); in sqlite3Utf16to8()
20955 sqlite3VdbeMemSetStr(&m, z, n, SQLITE_UTF8, SQLITE_STATIC); in sqlite3Utf8to16()
21171 sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC); in sqlite3Error()
21173 sqlite3ValueSetStr(db->pErr, 0, 0, SQLITE_UTF8, SQLITE_STATIC); in sqlite3Error()
21309 int incr = (enc==SQLITE_UTF8?1:2); in sqlite3AtoF()
21512 int incr = (enc==SQLITE_UTF8?1:2); in sqlite3Atoi64()
58419 assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE
58610 pMem->enc = SQLITE_UTF8;
58890 pMem->enc = SQLITE_UTF8;
59094 if( enc==SQLITE_UTF8 ){
59109 nAlloc += (enc==SQLITE_UTF8?1:2);
59131 pMem->enc = (enc==0 ? SQLITE_UTF8 : enc);
59135 if( pMem->enc!=SQLITE_UTF8 && sqlite3VdbeMemHandleBom(pMem) ){
59220 assert( pMem1->enc==SQLITE_UTF8 ||
59442 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
59446 sqlite3ValueApplyAffinity(pVal, SQLITE_AFF_NUMERIC, SQLITE_UTF8);
59448 sqlite3ValueApplyAffinity(pVal, affinity, SQLITE_UTF8);
59451 if( enc!=SQLITE_UTF8 ){
60766 pMem->enc = SQLITE_UTF8;
60811 sqlite3VdbeMemSetStr(pMem, z, -1, SQLITE_UTF8, 0);
60815 pMem->enc = SQLITE_UTF8;
60829 pMem->enc = SQLITE_UTF8;
60837 pMem->enc = SQLITE_UTF8;
61268 rc = sqlite3VdbeMemSetStr(pColName, zName, -1, SQLITE_UTF8, xDel);
61855 sqlite3ValueSetStr(db->pErr, -1, p->zErrMsg, SQLITE_UTF8, SQLITE_TRANSIENT);
61902 sqlite3ValueSetStr(db->pErr, -1, p->zErrMsg, SQLITE_UTF8, SQLITE_TRANSIENT);
62753 sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8);
62927 return sqlite3ValueBytes(pVal, SQLITE_UTF8);
62942 return (const unsigned char *)sqlite3ValueText(pVal, SQLITE_UTF8);
62995 sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF8, SQLITE_TRANSIENT);
63023 setResultStrOrError(pCtx, z, n, SQLITE_UTF8, xDel);
63066 SQLITE_UTF8, SQLITE_STATIC);
63075 SQLITE_UTF8, SQLITE_STATIC);
63889 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
64218 if( enc!=SQLITE_UTF8 ){
64223 sqlite3VdbeChangeEncoding(&utf8, SQLITE_UTF8);
65797 if( encoding!=SQLITE_UTF8 ){
65798 rc = sqlite3VdbeMemSetStr(pOut, pOp->p4.z, -1, SQLITE_UTF8, SQLITE_STATIC);
67480 pOut->enc = SQLITE_UTF8; /* In case the blob is ever converted to text */
69183 pOut->enc = SQLITE_UTF8; /* In case the blob is ever cast to text */
69934 sqlite3VdbeMemSetStr(pIn1, u.bz.z, -1, SQLITE_UTF8, sqlite3_free);
70547 pOut->enc = SQLITE_UTF8;
70928 testcase( u.cp.pName->enc==SQLITE_UTF8 );
70931 rc = sqlite3VdbeChangeEncoding(u.cp.pName, SQLITE_UTF8);
74993 int bOk = 0==sqlite3Atoi64(&z[1], &i, n-1, SQLITE_UTF8);
76379 sqlite3AtoF(z, &value, sqlite3Strlen30(z), SQLITE_UTF8);
76407 c = sqlite3Atoi64(z, &value, sqlite3Strlen30(z), SQLITE_UTF8);
79158 if( sqlite3ValueFromExpr(db, pDflt, SQLITE_UTF8, SQLITE_AFF_NONE, &pVal) ){
79569 SQLITE_UTF8, /* iPrefEnc */
79662 SQLITE_UTF8, /* iPrefEnc */
79704 SQLITE_UTF8, /* iPrefEnc */
80801 SQLITE_UTF8, /* iPrefEnc */
80823 SQLITE_UTF8, /* iPrefEnc */
85083 sqlite3ValueSetStr(pTmp, -1, zName, SQLITE_UTF8, SQLITE_STATIC);
85104 static const u8 aEnc[] = { SQLITE_UTF16BE, SQLITE_UTF16LE, SQLITE_UTF8 };
85211 pColl[0].enc = SQLITE_UTF8;
85262 assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 );
85263 assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE );
85387 assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE );
85502 p->enc = SQLITE_UTF8;
86455 sqlite3AtoF(zBuf, &r, sqlite3Strlen30(zBuf), SQLITE_UTF8);
87613 2, SQLITE_UTF8, 0);
87631 sqlite3CreateFunc(db, "like", 2, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0);
87632 sqlite3CreateFunc(db, "like", 3, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0);
87633 sqlite3CreateFunc(db, "glob", 2, SQLITE_UTF8,
87658 2, SQLITE_UTF8, 0);
87718 {-1,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"coalesce",0,0},
87721 {2,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"ifnull",0,0},
87749 {0,SQLITE_UTF8,SQLITE_FUNC_COUNT,0,0,0,countStep,countFinalize,"count",0,0},
92724 sqlite3Atoi64(zRight, &iLimit, 1000000, SQLITE_UTF8);
93387 { "UTF8", SQLITE_UTF8 },
93388 { "UTF-8", SQLITE_UTF8 }, /* Must be element [1] */
93403 assert( encnames[SQLITE_UTF8].enc==SQLITE_UTF8 );
93936 if( encoding==0 ) encoding = SQLITE_UTF8;
93938 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
103868 pColl = sqlite3FindCollSeq(db, SQLITE_UTF8, noCase ? "NOCASE" : "BINARY",0);
105099 assert( pColl->enc==SQLITE_UTF8 );
105101 pColl = sqlite3GetCollSeq(db, SQLITE_UTF8, 0, *pIdx->azColl);
105121 if( pColl->enc!=SQLITE_UTF8 ){
105210 return sqlite3ValueFromExpr(pParse->db, pExpr, SQLITE_UTF8, aff, pp);
112372 zSql8 = sqlite3ValueText(pVal, SQLITE_UTF8);
113584 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
113596 enc = SQLITE_UTF8;
113737 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
113738 rc = sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
114102 SQLITE_UTF8, SQLITE_STATIC);
114168 if( enc2<SQLITE_UTF8 || enc2>SQLITE_UTF16BE ){
114672 createCollation(db, "BINARY", SQLITE_UTF8, 0, binCollFunc, 0);
114675 createCollation(db, "RTRIM", SQLITE_UTF8, (void*)1, binCollFunc, 0);
114679 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
114683 createCollation(db, "NOCASE", SQLITE_UTF8, 0, nocaseCollatingFunc, 0);
114849 zFilename8 = sqlite3ValueText(pVal, SQLITE_UTF8);
115488 if( z && sqlite3Atoi64(z, &v, sqlite3Strlen30(z), SQLITE_UTF8)==SQLITE_OK ){
123340 db, "fts3_exprtest", -1, SQLITE_UTF8, 0, fts3ExprTest, 0, 0
133350 const int utf8 = SQLITE_UTF8;
133911 {"lower", 1, SQLITE_UTF8, 0, icuCaseFunc16},
133912 {"lower", 2, SQLITE_UTF8, 0, icuCaseFunc16},
133913 {"upper", 1, SQLITE_UTF8, (void*)1, icuCaseFunc16},
133914 {"upper", 2, SQLITE_UTF8, (void*)1, icuCaseFunc16},
133916 {"like", 2, SQLITE_UTF8, 0, icuLikeFunc},
133917 {"like", 3, SQLITE_UTF8, 0, icuLikeFunc},
133919 {"icu_load_collation", 2, SQLITE_UTF8, (void*)db, icuLoadCollation},