Lines Matching defs:nChar
11311 int nChar; /* Length of the string so far */
11821 SQLITE_PRIVATE int sqlite3Utf16ByteLen(const void *pData, int nChar);
19924 *(va_arg(ap,int*)) = pAccum->nChar;
20059 assert( p->zText!=0 || p->nChar==0 );
20066 if( p->nChar+N >= p->nAlloc ){
20070 N = p->nAlloc - p->nChar - 1;
20076 i64 szNew = p->nChar;
20091 if( zOld==0 && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar);
20101 memcpy(&p->zText[p->nChar], z, N);
20102 p->nChar += N;
20112 p->zText[p->nChar] = 0;
20115 p->zText = sqlite3DbMallocRaw(p->db, p->nChar+1 );
20117 p->zText = sqlite3_malloc(p->nChar+1);
20120 memcpy(p->zText, p->zBase, p->nChar+1);
20149 p->nChar = 0;
20967 ** zIn is a UTF-16 encoded unicode string at least nChar characters long.
20968 ** Return the number of bytes in the first nChar unicode characters
20969 ** in pZ. nChar must be non-negative.
20971 SQLITE_PRIVATE int sqlite3Utf16ByteLen(const void *zIn, int nChar){
20977 while( n<nChar ){
20982 while( n<nChar ){
33055 int nChar;
33058 nChar = osMultiByteToWideChar(CP_UTF8, 0, zFilename, -1, NULL, 0);
33059 if( nChar==0 ){
33062 zWideFilename = sqlite3_malloc( nChar*sizeof(zWideFilename[0]) );
33066 nChar = osMultiByteToWideChar(CP_UTF8, 0, zFilename, -1, zWideFilename,
33067 nChar);
33068 if( nChar==0 ){
56932 if( pCheck->errMsg.nChar ){
64280 return p && p->str.zText && p->str.nChar
64281 && p->str.zText[p->str.nChar-1]=='\n';
64321 int i = p->str.nChar-1;
64324 x = (p->str.nChar - 1) - i;
87235 int nChar; /* Number of characters in zCharSet */
87247 nChar = 1;
87255 for(z=zCharSet, nChar=0; *z; nChar++){
87258 if( nChar>0 ){
87259 azChar = contextMalloc(context, ((i64)nChar)*(sizeof(char*)+1));
87263 aLen = (unsigned char*)&azChar[nChar];
87264 for(z=zCharSet, nChar=0; *z; nChar++){
87265 azChar[nChar] = (unsigned char *)z;
87267 aLen[nChar] = (u8)(z - azChar[nChar]);
87271 if( nChar>0 ){
87276 for(i=0; i<nChar; i++){
87280 if( i>=nChar ) break;
87288 for(i=0; i<nChar; i++){
87292 if( i>=nChar ) break;
94673 u8 nChar; /* Length of the keyword in characters */
94691 if( p->n==aKeyword[j].nChar
133988 int nChar; /* Number of UChar elements in pInput */
134054 int nChar;
134065 nChar = nInput+1;
134068 nChar * sizeof(UChar) + /* IcuCursor.aChar[] */
134069 (nChar+1) * sizeof(int) /* IcuCursor.aOffset[] */
134076 pCsr->aOffset = (int *)&pCsr->aChar[nChar];
134083 U16_APPEND(pCsr->aChar, iOut, nChar, c, isError);
134102 pCsr->nChar = iOut;
134148 U8_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c);