Lines Matching refs:SQLITE_UTF8
3672 ** [SQLITE_UTF8 | text encoding] this SQL function prefers for
3746 #define SQLITE_UTF8 1
4093 ** ^The third argument may be one of the constants [SQLITE_UTF8],
4168 ** connection. The third argument is one of [SQLITE_UTF8], [SQLITE_UTF16BE],
8475 u8 iPrefEnc; /* Preferred text encoding (SQLITE_UTF8, 16LE, 16BE) */
8523 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
8526 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
8529 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0}
8531 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
11290 }else if( sqlite3IsNumber(zDate, &isRealNum, SQLITE_UTF8) ){
17669 u8 enc; /* SQLITE_UTF8, SQLITE_UTF16BE, SQLITE_UTF16LE */
18125 if( pMem->enc!=SQLITE_UTF8 && desiredEnc!=SQLITE_UTF8 ){
18146 if( desiredEnc==SQLITE_UTF8 ){
18177 if( pMem->enc==SQLITE_UTF8 ){
18197 assert( desiredEnc==SQLITE_UTF8 );
18214 assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len );
18340 sqlite3VdbeChangeEncoding(&m, SQLITE_UTF8);
18365 sqlite3VdbeMemSetStr(&m, z, n, SQLITE_UTF8, SQLITE_STATIC);
18578 sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
18580 sqlite3ValueSetStr(db->pErr, 0, 0, SQLITE_UTF8, SQLITE_STATIC);
18700 int incr = (enc==SQLITE_UTF8?1:2);
46340 ** 'desiredEnc', one of SQLITE_UTF8, SQLITE_UTF16LE or SQLITE_UTF16BE.
46353 assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE
46540 pMem->enc = SQLITE_UTF8;
46674 if( sqlite3VdbeChangeEncoding(pMem, SQLITE_UTF8)
46703 if( sqlite3VdbeChangeEncoding(pMem, SQLITE_UTF8)
46820 pMem->enc = SQLITE_UTF8;
47000 if( enc==SQLITE_UTF8 ){
47015 nAlloc += (enc==SQLITE_UTF8?1:2);
47037 pMem->enc = (enc==0 ? SQLITE_UTF8 : enc);
47041 if( pMem->enc!=SQLITE_UTF8 && sqlite3VdbeMemHandleBom(pMem) ){
47126 assert( pMem1->enc==SQLITE_UTF8 ||
47235 ** SQLITE_UTF8.
47328 sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
47332 sqlite3ValueApplyAffinity(pVal, SQLITE_AFF_NUMERIC, SQLITE_UTF8);
47334 sqlite3ValueApplyAffinity(pVal, affinity, SQLITE_UTF8);
47336 if( enc!=SQLITE_UTF8 ){
48560 pMem->enc = SQLITE_UTF8;
48607 sqlite3VdbeMemSetStr(pMem, z, -1, SQLITE_UTF8, 0);
48611 pMem->enc = SQLITE_UTF8;
48625 pMem->enc = SQLITE_UTF8;
48633 pMem->enc = SQLITE_UTF8;
49025 rc = sqlite3VdbeMemSetStr(pColName, zName, -1, SQLITE_UTF8, xDel);
49640 sqlite3ValueSetStr(db->pErr,-1,p->zErrMsg,SQLITE_UTF8,SQLITE_TRANSIENT);
49657 sqlite3ValueSetStr(db->pErr, -1, p->zErrMsg, SQLITE_UTF8, SQLITE_TRANSIENT);
50503 sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8);
50675 return sqlite3ValueBytes(pVal, SQLITE_UTF8);
50690 return (const unsigned char *)sqlite3ValueText(pVal, SQLITE_UTF8);
50743 sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF8, SQLITE_TRANSIENT);
50771 setResultStrOrError(pCtx, z, n, SQLITE_UTF8, xDel);
50814 SQLITE_UTF8, SQLITE_STATIC);
50823 SQLITE_UTF8, SQLITE_STATIC);
51568 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
51896 if( enc!=SQLITE_UTF8 ){
51901 sqlite3VdbeChangeEncoding(&utf8, SQLITE_UTF8);
52170 sqlite3VdbeChangeEncoding(pRec, SQLITE_UTF8);
53326 if( encoding!=SQLITE_UTF8 ){
53327 rc = sqlite3VdbeMemSetStr(pOut, pOp->p4.z, -1, SQLITE_UTF8, SQLITE_STATIC);
54912 pOut->enc = SQLITE_UTF8; /* In case the blob is ever converted to text */
56482 pOut->enc = SQLITE_UTF8; /* In case the blob is ever cast to text */
57205 sqlite3VdbeMemSetStr(pIn1, u.bv.z, -1, SQLITE_UTF8, sqlite3_free);
64470 sqlite3CreateFunc(db, "sqlite_rename_table", 2, SQLITE_UTF8, 0,
64473 sqlite3CreateFunc(db, "sqlite_rename_trigger", 2, SQLITE_UTF8, 0,
64477 sqlite3CreateFunc(db, "sqlite_rename_parent", 3, SQLITE_UTF8, 0,
64903 if( sqlite3ValueFromExpr(db, pDflt, SQLITE_UTF8, SQLITE_AFF_NONE, &pVal) ){
66043 SQLITE_UTF8, /* iPrefEnc */
66064 SQLITE_UTF8, /* iPrefEnc */
70212 sqlite3ValueSetStr(pTmp, -1, zName, SQLITE_UTF8, SQLITE_STATIC);
70233 static const u8 aEnc[] = { SQLITE_UTF16BE, SQLITE_UTF16LE, SQLITE_UTF8 };
70340 pColl[0].enc = SQLITE_UTF8;
70391 assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 );
70392 assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE );
70516 assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE );
70624 p->enc = SQLITE_UTF8;
72636 2, SQLITE_UTF8, 0);
72681 2, SQLITE_UTF8, 0);
72741 {-1,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"coalesce",0},
72744 {2,SQLITE_UTF8,SQLITE_FUNC_COALESCE,0,0,ifnullFunc,0,0,"ifnull",0},
72767 {0,SQLITE_UTF8,SQLITE_FUNC_COUNT,0,0,0,countStep,countFinalize,"count",0},
78159 { "UTF8", SQLITE_UTF8 },
78160 { "UTF-8", SQLITE_UTF8 }, /* Must be element [1] */
78175 assert( encnames[SQLITE_UTF8].enc==SQLITE_UTF8 );
78631 if( encoding==0 ) encoding = SQLITE_UTF8;
78633 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
88721 assert( pColl->enc==SQLITE_UTF8 );
88723 pColl = sqlite3GetCollSeq(db, SQLITE_UTF8, 0, *pIdx->azColl);
88743 if( pColl->enc!=SQLITE_UTF8 ){
88802 return sqlite3ValueFromExpr(pParse->db, pExpr, SQLITE_UTF8, aff, pp);
95343 zSql8 = sqlite3ValueText(pVal, SQLITE_UTF8);
96409 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
96421 enc = SQLITE_UTF8;
96521 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
96522 sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
96773 SQLITE_UTF8, SQLITE_STATIC);
96840 if( enc2<SQLITE_UTF8 || enc2>SQLITE_UTF16BE ){
97076 createCollation(db, "BINARY", SQLITE_UTF8, SQLITE_COLL_BINARY, 0,
97082 createCollation(db, "RTRIM", SQLITE_UTF8, SQLITE_COLL_USER, (void*)1,
97087 db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, "BINARY", 0);
97091 createCollation(db, "NOCASE", SQLITE_UTF8, SQLITE_COLL_NOCASE, 0,
97243 zFilename8 = sqlite3ValueText(pVal, SQLITE_UTF8);
102081 db, "fts3_exprtest", -1, SQLITE_UTF8, 0, fts3ExprTest, 0, 0
110333 int utf8 = SQLITE_UTF8;
110337 int utf8 = SQLITE_UTF8;
110827 {"lower", 1, SQLITE_UTF8, 0, icuCaseFunc16},
110828 {"lower", 2, SQLITE_UTF8, 0, icuCaseFunc16},
110829 {"upper", 1, SQLITE_UTF8, (void*)1, icuCaseFunc16},
110830 {"upper", 2, SQLITE_UTF8, (void*)1, icuCaseFunc16},
110832 {"like", 2, SQLITE_UTF8, 0, icuLikeFunc},
110833 {"like", 3, SQLITE_UTF8, 0, icuLikeFunc},
110835 {"icu_load_collation", 2, SQLITE_UTF8, (void*)db, icuLoadCollation},