Lines Matching refs:bufpt
28298 char *bufpt; /* Pointer to the conversion buffer */
28335 bufpt = 0;
28344 bufpt = (char *)fmt;
28350 sqlite3_str_append(pAccum, bufpt, (int)(fmt - bufpt));
28554 bufpt = &zOut[nOut-1];
28561 *(--bufpt) = zOrd[x*2+1];
28562 *(--bufpt) = zOrd[x*2];
28568 *(--bufpt) = cset[longvalue%base];
28572 length = (int)(&zOut[nOut-1]-bufpt);
28574 *(--bufpt) = '0'; /* Zero pad */
28580 bufpt -= nn;
28582 bufpt[idx] = bufpt[idx+nn];
28585 bufpt[++idx] = cThousand;
28591 if( prefix ) *(--bufpt) = prefix; /* Add sign */
28596 for(; (x=(*pre))!=0; pre++) *(--bufpt) = x;
28598 length = (int)(&zOut[nOut-1]-bufpt);
28640 bufpt = "NaN";
28653 bufpt = buf;
28660 bufpt = buf;
28689 bufpt = zExtra = printfTempBuf(pAccum, szBufNeeded);
28690 if( bufpt==0 ) return;
28693 zOut = bufpt;
28698 *(bufpt++) = prefix;
28702 *(bufpt++) = '0';
28705 *(bufpt++) = et_getdigit(&realvalue,&nsd);
28710 *(bufpt++) = '.';
28716 *(bufpt++) = '0';
28720 *(bufpt++) = et_getdigit(&realvalue,&nsd);
28724 while( bufpt[-1]=='0' ) *(--bufpt) = 0;
28725 assert( bufpt>zOut );
28726 if( bufpt[-1]=='.' ){
28728 *(bufpt++) = '0';
28730 *(--bufpt) = 0;
28736 *(bufpt++) = aDigits[infop->charset];
28738 *(bufpt++) = '-'; exp = -exp;
28740 *(bufpt++) = '+';
28743 *(bufpt++) = (char)((exp/100)+'0'); /* 100's digit */
28746 *(bufpt++) = (char)(exp/10+'0'); /* 10's digit */
28747 *(bufpt++) = (char)(exp%10+'0'); /* 1's digit */
28749 *bufpt = 0;
28754 length = (int)(bufpt-zOut);
28755 bufpt = zOut;
28763 bufpt[i] = bufpt[i-nPad];
28766 while( nPad-- ) bufpt[i++] = '0';
28779 bufpt = buf;
28784 bufpt = getTextArg(pArgList);
28786 if( bufpt ){
28787 buf[0] = c = *(bufpt++);
28789 while( length<4 && (bufpt[0]&0xc0)==0x80 ){
28790 buf[length++] = *(bufpt++);
28828 bufpt = buf;
28834 bufpt = getTextArg(pArgList);
28837 bufpt = va_arg(ap,char*);
28839 if( bufpt==0 ){
28840 bufpt = "";
28852 pAccum->zText = bufpt;
28853 pAccum->nAlloc = sqlite3DbMallocSize(pAccum->db, bufpt);
28854 pAccum->nChar = 0x7fffffff & (int)strlen(bufpt);
28859 zExtra = bufpt;
28865 unsigned char *z = (unsigned char*)bufpt;
28869 length = (int)(z - (unsigned char*)bufpt);
28871 for(length=0; length<precision && bufpt[length]; length++){}
28874 length = 0x7fffffff & (int)strlen(bufpt);
28880 while( ii>=0 ) if( (bufpt[ii--] & 0xc0)==0x80 ) width++;
28914 bufpt = zExtra = printfTempBuf(pAccum, n);
28915 if( bufpt==0 ) return;
28917 bufpt = buf;
28920 if( needQuote ) bufpt[j++] = q;
28923 bufpt[j++] = ch = escarg[i];
28924 if( ch==q ) bufpt[j++] = ch;
28926 if( needQuote ) bufpt[j++] = q;
28927 bufpt[j] = 0;
28976 sqlite3_str_append(pAccum, bufpt, length);
28979 sqlite3_str_append(pAccum, bufpt, length);