/external/chromium_org/third_party/sqlite/ |
D | misalignment.patch | 6 nChar = nInput+1; 9 - nChar * sizeof(UChar) + /* IcuCursor.aChar[] */ 10 - (nChar+1) * sizeof(int) /* IcuCursor.aOffset[] */ 11 + (nChar+1) * sizeof(int) + /* IcuCursor.aOffset[] */ 12 + nChar * sizeof(UChar) /* IcuCursor.aChar[] */ 19 - pCsr->aOffset = (int *)&pCsr->aChar[nChar]; 21 + pCsr->aChar = (UChar *)&pCsr->aOffset[nChar+1]; 30 nChar = nInput+1; 33 - nChar * sizeof(UChar) + /* IcuCursor.aChar[] */ 34 - (nChar+1) * sizeof(int) /* IcuCursor.aOffset[] */ [all …]
|
D | fts3.patch | 64 - U8_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c); 65 + U16_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c);
|
D | fts2.patch | 1927 - U8_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c); 1928 + U16_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c);
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2_icu.c | 41 int nChar; /* Number of UChar elements in pInput */ member 107 int nChar; in icuOpen() local 118 nChar = nInput+1; in icuOpen() 121 (nChar+1) * sizeof(int) + /* IcuCursor.aOffset[] */ in icuOpen() 122 nChar * sizeof(UChar) /* IcuCursor.aChar[] */ in icuOpen() 129 pCsr->aChar = (UChar *)&pCsr->aOffset[nChar+1]; in icuOpen() 136 U16_APPEND(pCsr->aChar, iOut, nChar, c, isError); in icuOpen() 155 pCsr->nChar = iOut; in icuOpen() 201 U16_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c); in icuNext()
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
D | fts3_icu.c | 41 int nChar; /* Number of UChar elements in pInput */ member 107 int nChar; in icuOpen() local 118 nChar = nInput+1; in icuOpen() 121 (nChar+1) * sizeof(int) + /* IcuCursor.aOffset[] */ in icuOpen() 122 nChar * sizeof(UChar) /* IcuCursor.aChar[] */ in icuOpen() 129 pCsr->aChar = (UChar *)&pCsr->aOffset[nChar+1]; in icuOpen() 136 U16_APPEND(pCsr->aChar, iOut, nChar, c, isError); in icuOpen() 155 pCsr->nChar = iOut; in icuOpen() 201 U16_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c); in icuNext()
|
/external/chromium_org/third_party/sqlite/src/tool/ |
D | mkkeywordhash.c | 345 int nChar; in main() local 413 nChar = 0; in main() 417 p->offset = nChar; in main() 418 nChar += p->len; in main() 426 p->offset = nChar - k; in main() 427 nChar = p->offset + p->len; in main() 478 totalLen + nKeyword, nChar+1 ); in main() 498 printf(" static const char zText[%d] = {\n", nChar); in main() 499 zText[nChar] = 0; in main()
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | printf.c | 618 *(va_arg(ap,int*)) = pAccum->nChar; in sqlite3VXPrintf() 761 if( p->nChar+N >= p->nAlloc ){ in sqlite3StrAccumAppend() 765 N = p->nAlloc - p->nChar - 1; in sqlite3StrAccumAppend() 771 i64 szNew = p->nChar; in sqlite3StrAccumAppend() 786 if( zOld==0 ) memcpy(zNew, p->zText, p->nChar); in sqlite3StrAccumAppend() 795 memcpy(&p->zText[p->nChar], z, N); in sqlite3StrAccumAppend() 796 p->nChar += N; in sqlite3StrAccumAppend() 806 p->zText[p->nChar] = 0; in sqlite3StrAccumFinish() 809 p->zText = sqlite3DbMallocRaw(p->db, p->nChar+1 ); in sqlite3StrAccumFinish() 811 p->zText = sqlite3_malloc(p->nChar+1); in sqlite3StrAccumFinish() [all …]
|
D | func.c | 1055 int nChar; /* Number of characters in zCharSet */ in trimFunc() local 1067 nChar = 1; in trimFunc() 1075 for(z=zCharSet, nChar=0; *z; nChar++){ in trimFunc() 1078 if( nChar>0 ){ in trimFunc() 1079 azChar = contextMalloc(context, ((i64)nChar)*(sizeof(char*)+1)); in trimFunc() 1083 aLen = (unsigned char*)&azChar[nChar]; in trimFunc() 1084 for(z=zCharSet, nChar=0; *z; nChar++){ in trimFunc() 1085 azChar[nChar] = (unsigned char *)z; in trimFunc() 1087 aLen[nChar] = (u8)(z - azChar[nChar]); in trimFunc() 1091 if( nChar>0 ){ in trimFunc() [all …]
|
D | utf.c | 488 int sqlite3Utf16ByteLen(const void *zIn, int nChar){ in sqlite3Utf16ByteLen() argument 494 while( n<nChar ){ in sqlite3Utf16ByteLen() 499 while( n<nChar ){ in sqlite3Utf16ByteLen()
|
D | os_win.c | 178 int nChar; in utf8ToUnicode() local 181 nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, NULL, 0); in utf8ToUnicode() 182 zWideFilename = malloc( nChar*sizeof(zWideFilename[0]) ); in utf8ToUnicode() 186 nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, zWideFilename, nChar); in utf8ToUnicode() 187 if( nChar==0 ){ in utf8ToUnicode()
|
D | sqliteInt.h | 2395 int nChar; /* Length of the string so far */ member 2884 int sqlite3Utf16ByteLen(const void *pData, int nChar);
|
D | select.c | 131 u8 nChar; /* Length of the keyword in characters */ in sqlite3JoinType() member 149 if( p->n==aKeyword[j].nChar in sqlite3JoinType()
|
D | btree.c | 7415 if( pCheck->errMsg.nChar ){ in checkAppendMsg()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | savepoint6.test | 53 set nChar [expr int(rand()*250) + 250] 54 set str " $nChar [string repeat $x. $nChar]" 55 string range $str 1 $nChar
|
/external/tinyxml2/ |
D | tinyxml2.h | 369 inline static bool StringEqual( const char* p, const char* q, int nChar=INT_MAX ) { 374 while( *p && *q && *p == *q && n<nChar ) { 377 if ( (n == nChar) || ( *p == 0 && *q == 0 ) ) {
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 11311 int nChar; /* Length of the string so far */ member 11821 SQLITE_PRIVATE int sqlite3Utf16ByteLen(const void *pData, int nChar); 19924 *(va_arg(ap,int*)) = pAccum->nChar; in sqlite3VXPrintf() 20059 assert( p->zText!=0 || p->nChar==0 ); in sqlite3StrAccumAppend() 20066 if( p->nChar+N >= p->nAlloc ){ in sqlite3StrAccumAppend() 20070 N = p->nAlloc - p->nChar - 1; in sqlite3StrAccumAppend() 20076 i64 szNew = p->nChar; in sqlite3StrAccumAppend() 20091 if( zOld==0 && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar); in sqlite3StrAccumAppend() 20101 memcpy(&p->zText[p->nChar], z, N); in sqlite3StrAccumAppend() 20102 p->nChar += N; in sqlite3StrAccumAppend() [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 11311 int nChar; /* Length of the string so far */ member 11821 SQLITE_PRIVATE int sqlite3Utf16ByteLen(const void *pData, int nChar); 19924 *(va_arg(ap,int*)) = pAccum->nChar; in sqlite3VXPrintf() 20059 assert( p->zText!=0 || p->nChar==0 ); in sqlite3StrAccumAppend() 20066 if( p->nChar+N >= p->nAlloc ){ in sqlite3StrAccumAppend() 20070 N = p->nAlloc - p->nChar - 1; in sqlite3StrAccumAppend() 20076 i64 szNew = p->nChar; in sqlite3StrAccumAppend() 20091 if( zOld==0 && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar); in sqlite3StrAccumAppend() 20101 memcpy(&p->zText[p->nChar], z, N); in sqlite3StrAccumAppend() 20102 p->nChar += N; in sqlite3StrAccumAppend() [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 10755 int nChar; /* Length of the string so far */ member 11244 SQLITE_PRIVATE int sqlite3Utf16ByteLen(const void *pData, int nChar); 19116 *(va_arg(ap,int*)) = pAccum->nChar; in sqlite3VXPrintf() 19259 if( p->nChar+N >= p->nAlloc ){ in sqlite3StrAccumAppend() 19263 N = p->nAlloc - p->nChar - 1; in sqlite3StrAccumAppend() 19269 i64 szNew = p->nChar; in sqlite3StrAccumAppend() 19284 if( zOld==0 ) memcpy(zNew, p->zText, p->nChar); in sqlite3StrAccumAppend() 19293 memcpy(&p->zText[p->nChar], z, N); in sqlite3StrAccumAppend() 19294 p->nChar += N; in sqlite3StrAccumAppend() 19304 p->zText[p->nChar] = 0; in sqlite3StrAccumFinish() [all …]
|