Lines Matching refs:bufpt
29130 char *bufpt; /* Pointer to the conversion buffer */
29167 bufpt = 0;
29176 bufpt = (char *)fmt;
29182 sqlite3_str_append(pAccum, bufpt, (int)(fmt - bufpt));
29385 bufpt = &zOut[nOut-1];
29392 *(--bufpt) = zOrd[x*2+1];
29393 *(--bufpt) = zOrd[x*2];
29399 *(--bufpt) = cset[longvalue%base];
29403 length = (int)(&zOut[nOut-1]-bufpt);
29405 *(--bufpt) = '0'; /* Zero pad */
29411 bufpt -= nn;
29413 bufpt[idx] = bufpt[idx+nn];
29416 bufpt[++idx] = cThousand;
29422 if( prefix ) *(--bufpt) = prefix; /* Add sign */
29427 for(; (x=(*pre))!=0; pre++) *(--bufpt) = x;
29429 length = (int)(&zOut[nOut-1]-bufpt);
29471 bufpt = "NaN";
29484 bufpt = buf;
29491 bufpt = buf;
29520 bufpt = zExtra = printfTempBuf(pAccum, szBufNeeded);
29521 if( bufpt==0 ) return;
29524 zOut = bufpt;
29529 *(bufpt++) = prefix;
29533 *(bufpt++) = '0';
29536 *(bufpt++) = et_getdigit(&realvalue,&nsd);
29541 *(bufpt++) = '.';
29547 *(bufpt++) = '0';
29551 *(bufpt++) = et_getdigit(&realvalue,&nsd);
29555 while( bufpt[-1]=='0' ) *(--bufpt) = 0;
29556 assert( bufpt>zOut );
29557 if( bufpt[-1]=='.' ){
29559 *(bufpt++) = '0';
29561 *(--bufpt) = 0;
29567 *(bufpt++) = aDigits[infop->charset];
29569 *(bufpt++) = '-'; exp = -exp;
29571 *(bufpt++) = '+';
29574 *(bufpt++) = (char)((exp/100)+'0'); /* 100's digit */
29577 *(bufpt++) = (char)(exp/10+'0'); /* 10's digit */
29578 *(bufpt++) = (char)(exp%10+'0'); /* 1's digit */
29580 *bufpt = 0;
29585 length = (int)(bufpt-zOut);
29586 bufpt = zOut;
29594 bufpt[i] = bufpt[i-nPad];
29597 while( nPad-- ) bufpt[i++] = '0';
29610 bufpt = buf;
29615 bufpt = getTextArg(pArgList);
29617 if( bufpt ){
29618 buf[0] = c = *(bufpt++);
29620 while( length<4 && (bufpt[0]&0xc0)==0x80 ){
29621 buf[length++] = *(bufpt++);
29659 bufpt = buf;
29665 bufpt = getTextArg(pArgList);
29668 bufpt = va_arg(ap,char*);
29670 if( bufpt==0 ){
29671 bufpt = "";
29683 pAccum->zText = bufpt;
29684 pAccum->nAlloc = sqlite3DbMallocSize(pAccum->db, bufpt);
29685 pAccum->nChar = 0x7fffffff & (int)strlen(bufpt);
29690 zExtra = bufpt;
29696 unsigned char *z = (unsigned char*)bufpt;
29700 length = (int)(z - (unsigned char*)bufpt);
29702 for(length=0; length<precision && bufpt[length]; length++){}
29705 length = 0x7fffffff & (int)strlen(bufpt);
29711 while( ii>=0 ) if( (bufpt[ii--] & 0xc0)==0x80 ) width++;
29745 bufpt = zExtra = printfTempBuf(pAccum, n);
29746 if( bufpt==0 ) return;
29748 bufpt = buf;
29751 if( needQuote ) bufpt[j++] = q;
29754 bufpt[j++] = ch = escarg[i];
29755 if( ch==q ) bufpt[j++] = ch;
29757 if( needQuote ) bufpt[j++] = q;
29758 bufpt[j] = 0;
29810 sqlite3_str_append(pAccum, bufpt, length);
29813 sqlite3_str_append(pAccum, bufpt, length);