Lines Matching refs:SQLITE_UTF8
4207 ** [SQLITE_UTF8 | text encoding] this SQL function prefers for
4298 #define SQLITE_UTF8 1
4648 ** <li> [SQLITE_UTF8],
4753 ** connection. The third argument is one of [SQLITE_UTF8], [SQLITE_UTF16BE],
9627 u8 iPrefEnc; /* Preferred text encoding (SQLITE_UTF8, 16LE, 16BE) */
9696 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9699 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9702 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0, 0}
9704 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
12700 u8 enc; /* SQLITE_UTF8, SQLITE_UTF16BE, SQLITE_UTF16LE */
13536 }else if( sqlite3AtoF(zDate, &r, sqlite3Strlen30(zDate), SQLITE_UTF8) ){
13807 && sqlite3AtoF(&z[8], &r, sqlite3Strlen30(&z[8]), SQLITE_UTF8)
13864 if( !sqlite3AtoF(z, &r, n, SQLITE_UTF8) ){
20283 if( pMem->enc!=SQLITE_UTF8 && desiredEnc!=SQLITE_UTF8 ){
20304 if( desiredEnc==SQLITE_UTF8 ){
20335 if( pMem->enc==SQLITE_UTF8 ){
20355 assert( desiredEnc==SQLITE_UTF8 );
20372 assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len );
20498 sqlite3VdbeChangeEncoding(&m, SQLITE_UTF8);
20525 sqlite3VdbeMemSetStr(&m, z, n, SQLITE_UTF8, SQLITE_STATIC);
20741 sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
20743 sqlite3ValueSetStr(db->pErr, 0, 0, SQLITE_UTF8, SQLITE_STATIC);
20879 int incr = (enc==SQLITE_UTF8?1:2);
21076 int incr = (enc==SQLITE_UTF8?1:2);
57181 ** 'desiredEnc', one of SQLITE_UTF8, SQLITE_UTF16LE or SQLITE_UTF16BE.
57194 assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE
57384 pMem->enc = SQLITE_UTF8;
57657 pMem->enc = SQLITE_UTF8;
57861 if( enc==SQLITE_UTF8 ){
57876 nAlloc += (enc==SQLITE_UTF8?1:2);
57898 pMem->enc = (enc==0 ? SQLITE_UTF8 : enc);
57902 if( pMem->enc!=SQLITE_UTF8 && sqlite3VdbeMemHandleBom(pMem) ){
57987 assert( pMem1->enc==SQLITE_UTF8 ||
58096 ** SQLITE_UTF8.
58209 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
58213 sqlite3ValueApplyAffinity(pVal, SQLITE_AFF_NUMERIC, SQLITE_UTF8);
58215 sqlite3ValueApplyAffinity(pVal, affinity, SQLITE_UTF8);
58218 if( enc!=SQLITE_UTF8 ){
59533 pMem->enc = SQLITE_UTF8;
59578 sqlite3VdbeMemSetStr(pMem, z, -1, SQLITE_UTF8, 0);
59582 pMem->enc = SQLITE_UTF8;
59596 pMem->enc = SQLITE_UTF8;
59604 pMem->enc = SQLITE_UTF8;
60025 rc = sqlite3VdbeMemSetStr(pColName, zName, -1, SQLITE_UTF8, xDel);
60646 sqlite3ValueSetStr(db->pErr,-1,p->zErrMsg,SQLITE_UTF8,SQLITE_TRANSIENT);
60663 sqlite3ValueSetStr(db->pErr, -1, p->zErrMsg, SQLITE_UTF8, SQLITE_TRANSIENT);
61522 sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8);
61696 return sqlite3ValueBytes(pVal, SQLITE_UTF8);
61711 return (const unsigned char *)sqlite3ValueText(pVal, SQLITE_UTF8);
61764 sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF8, SQLITE_TRANSIENT);
61792 setResultStrOrError(pCtx, z, n, SQLITE_UTF8, xDel);
61835 SQLITE_UTF8, SQLITE_STATIC);
61844 SQLITE_UTF8, SQLITE_STATIC);
62658 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
62977 if( enc!=SQLITE_UTF8 ){
62982 sqlite3VdbeChangeEncoding(&utf8, SQLITE_UTF8);
64443 if( encoding!=SQLITE_UTF8 ){
64444 rc = sqlite3VdbeMemSetStr(pOut, pOp->p4.z, -1, SQLITE_UTF8, SQLITE_STATIC);
66104 pOut->enc = SQLITE_UTF8; /* In case the blob is ever converted to text */
67805 pOut->enc = SQLITE_UTF8; /* In case the blob is ever cast to text */
68556 sqlite3VdbeMemSetStr(pIn1, u.by.z, -1, SQLITE_UTF8, sqlite3_free);
69158 pOut->enc = SQLITE_UTF8;
73585 int bOk = 0==sqlite3Atoi64(&z[1], &i, n-1, SQLITE_UTF8);
74951 sqlite3AtoF(z, &value, sqlite3Strlen30(z), SQLITE_UTF8);
74979 c = sqlite3Atoi64(z, &value, sqlite3Strlen30(z), SQLITE_UTF8);
77468 if( sqlite3ValueFromExpr(db, pDflt, SQLITE_UTF8, SQLITE_AFF_NONE, &pVal) ){
78705 SQLITE_UTF8, /* iPrefEnc */
78727 SQLITE_UTF8, /* iPrefEnc */
82974 sqlite3ValueSetStr(pTmp, -1, zName, SQLITE_UTF8, SQLITE_STATIC);
82995 static const u8 aEnc[] = { SQLITE_UTF16BE, SQLITE_UTF16LE, SQLITE_UTF8 };
83102 pColl[0].enc = SQLITE_UTF8;
83153 assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 );
83154 assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE );
83278 assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE );
83393 p->enc = SQLITE_UTF8;
84339 sqlite3AtoF(zBuf, &r, sqlite3Strlen30(zBuf), SQLITE_UTF8);
85496 2, SQLITE_UTF8, 0);
85514 sqlite3CreateFunc(db, "like", 2, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0);
85515 sqlite3CreateFunc(db, "like", 3, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0);
85516 sqlite3CreateFunc(db, "glob", 2, SQLITE_UTF8,
85541 2, SQLITE_UTF8, 0);
85601 {-1,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"coalesce",0,0},
85604 {2,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"ifnull",0,0},
85632 {0,SQLITE_UTF8,SQLITE_FUNC_COUNT,0,0,0,countStep,countFinalize,"count",0,0},
90544 sqlite3Atoi64(zRight, &iLimit, 1000000, SQLITE_UTF8);
91211 { "UTF8", SQLITE_UTF8 },
91212 { "UTF-8", SQLITE_UTF8 }, /* Must be element [1] */
91227 assert( encnames[SQLITE_UTF8].enc==SQLITE_UTF8 );
91750 if( encoding==0 ) encoding = SQLITE_UTF8;
91752 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
101629 pColl = sqlite3FindCollSeq(db, SQLITE_UTF8, noCase ? "NOCASE" : "BINARY",0);
102839 assert( pColl->enc==SQLITE_UTF8 );
102841 pColl = sqlite3GetCollSeq(db, SQLITE_UTF8, 0, *pIdx->azColl);
102861 if( pColl->enc!=SQLITE_UTF8 ){
102919 return sqlite3ValueFromExpr(pParse->db, pExpr, SQLITE_UTF8, aff, pp);
110044 zSql8 = sqlite3ValueText(pVal, SQLITE_UTF8);
111210 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
111222 enc = SQLITE_UTF8;
111363 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
111364 sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
111729 SQLITE_UTF8, SQLITE_STATIC);
111796 if( enc2<SQLITE_UTF8 || enc2>SQLITE_UTF16BE ){
112301 createCollation(db, "BINARY", SQLITE_UTF8, SQLITE_COLL_BINARY, 0,
112307 createCollation(db, "RTRIM", SQLITE_UTF8, SQLITE_COLL_USER, (void*)1,
112312 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
112316 createCollation(db, "NOCASE", SQLITE_UTF8, SQLITE_COLL_NOCASE, 0,
112479 zFilename8 = sqlite3ValueText(pVal, SQLITE_UTF8);
120497 db, "fts3_exprtest", -1, SQLITE_UTF8, 0, fts3ExprTest, 0, 0
130215 const int utf8 = SQLITE_UTF8;
130776 {"lower", 1, SQLITE_UTF8, 0, icuCaseFunc16},
130777 {"lower", 2, SQLITE_UTF8, 0, icuCaseFunc16},
130778 {"upper", 1, SQLITE_UTF8, (void*)1, icuCaseFunc16},
130779 {"upper", 2, SQLITE_UTF8, (void*)1, icuCaseFunc16},
130781 {"like", 2, SQLITE_UTF8, 0, icuLikeFunc},
130782 {"like", 3, SQLITE_UTF8, 0, icuLikeFunc},
130784 {"icu_load_collation", 2, SQLITE_UTF8, (void*)db, icuLoadCollation},