Lines Matching refs:bufpt

31320   char *bufpt;               /* Pointer to the conversion buffer */  in sqlite3_str_vappendf()  local
31354 bufpt = 0; in sqlite3_str_vappendf()
31363 bufpt = (char *)fmt; in sqlite3_str_vappendf()
31369 sqlite3_str_append(pAccum, bufpt, (int)(fmt - bufpt)); in sqlite3_str_vappendf()
31572 bufpt = &zOut[nOut-1]; in sqlite3_str_vappendf()
31579 *(--bufpt) = zOrd[x*2+1]; in sqlite3_str_vappendf()
31580 *(--bufpt) = zOrd[x*2]; in sqlite3_str_vappendf()
31586 *(--bufpt) = cset[longvalue%base]; in sqlite3_str_vappendf()
31590 length = (int)(&zOut[nOut-1]-bufpt); in sqlite3_str_vappendf()
31592 *(--bufpt) = '0'; /* Zero pad */ in sqlite3_str_vappendf()
31598 bufpt -= nn; in sqlite3_str_vappendf()
31600 bufpt[idx] = bufpt[idx+nn]; in sqlite3_str_vappendf()
31603 bufpt[++idx] = cThousand; in sqlite3_str_vappendf()
31609 if( prefix ) *(--bufpt) = prefix; /* Add sign */ in sqlite3_str_vappendf()
31614 for(; (x=(*pre))!=0; pre++) *(--bufpt) = x; in sqlite3_str_vappendf()
31616 length = (int)(&zOut[nOut-1]-bufpt); in sqlite3_str_vappendf()
31647 bufpt = flag_zeropad ? "null" : "NaN"; in sqlite3_str_vappendf()
31648 length = sqlite3Strlen30(bufpt); in sqlite3_str_vappendf()
31656 bufpt = buf; in sqlite3_str_vappendf()
31662 bufpt++; in sqlite3_str_vappendf()
31664 length = sqlite3Strlen30(bufpt); in sqlite3_str_vappendf()
31698 bufpt = buf; in sqlite3_str_vappendf()
31704 bufpt = zExtra = printfTempBuf(pAccum, szBufNeeded); in sqlite3_str_vappendf()
31705 if( bufpt==0 ) return; in sqlite3_str_vappendf()
31708 zOut = bufpt; in sqlite3_str_vappendf()
31712 *(bufpt++) = prefix; in sqlite3_str_vappendf()
31717 *(bufpt++) = '0'; in sqlite3_str_vappendf()
31720 *(bufpt++) = j<s.n ? s.z[j++] : '0'; in sqlite3_str_vappendf()
31721 if( cThousand && (e2%3)==0 && e2>1 ) *(bufpt++) = ','; in sqlite3_str_vappendf()
31726 *(bufpt++) = '.'; in sqlite3_str_vappendf()
31731 *(bufpt++) = '0'; in sqlite3_str_vappendf()
31735 *(bufpt++) = j<s.n ? s.z[j++] : '0'; in sqlite3_str_vappendf()
31739 while( bufpt[-1]=='0' ) *(--bufpt) = 0; in sqlite3_str_vappendf()
31740 assert( bufpt>zOut ); in sqlite3_str_vappendf()
31741 if( bufpt[-1]=='.' ){ in sqlite3_str_vappendf()
31743 *(bufpt++) = '0'; in sqlite3_str_vappendf()
31745 *(--bufpt) = 0; in sqlite3_str_vappendf()
31752 *(bufpt++) = aDigits[infop->charset]; in sqlite3_str_vappendf()
31754 *(bufpt++) = '-'; exp = -exp; in sqlite3_str_vappendf()
31756 *(bufpt++) = '+'; in sqlite3_str_vappendf()
31759 *(bufpt++) = (char)((exp/100)+'0'); /* 100's digit */ in sqlite3_str_vappendf()
31762 *(bufpt++) = (char)(exp/10+'0'); /* 10's digit */ in sqlite3_str_vappendf()
31763 *(bufpt++) = (char)(exp%10+'0'); /* 1's digit */ in sqlite3_str_vappendf()
31765 *bufpt = 0; in sqlite3_str_vappendf()
31770 length = (int)(bufpt-zOut); in sqlite3_str_vappendf()
31771 bufpt = zOut; in sqlite3_str_vappendf()
31779 bufpt[i] = bufpt[i-nPad]; in sqlite3_str_vappendf()
31782 while( nPad-- ) bufpt[i++] = '0'; in sqlite3_str_vappendf()
31795 bufpt = buf; in sqlite3_str_vappendf()
31800 bufpt = getTextArg(pArgList); in sqlite3_str_vappendf()
31802 if( bufpt ){ in sqlite3_str_vappendf()
31803 buf[0] = c = *(bufpt++); in sqlite3_str_vappendf()
31805 while( length<4 && (bufpt[0]&0xc0)==0x80 ){ in sqlite3_str_vappendf()
31806 buf[length++] = *(bufpt++); in sqlite3_str_vappendf()
31857 bufpt = buf; in sqlite3_str_vappendf()
31863 bufpt = getTextArg(pArgList); in sqlite3_str_vappendf()
31866 bufpt = va_arg(ap,char*); in sqlite3_str_vappendf()
31868 if( bufpt==0 ){ in sqlite3_str_vappendf()
31869 bufpt = ""; in sqlite3_str_vappendf()
31881 pAccum->zText = bufpt; in sqlite3_str_vappendf()
31882 pAccum->nAlloc = sqlite3DbMallocSize(pAccum->db, bufpt); in sqlite3_str_vappendf()
31883 pAccum->nChar = 0x7fffffff & (int)strlen(bufpt); in sqlite3_str_vappendf()
31888 zExtra = bufpt; in sqlite3_str_vappendf()
31894 unsigned char *z = (unsigned char*)bufpt; in sqlite3_str_vappendf()
31898 length = (int)(z - (unsigned char*)bufpt); in sqlite3_str_vappendf()
31900 for(length=0; length<precision && bufpt[length]; length++){} in sqlite3_str_vappendf()
31903 length = 0x7fffffff & (int)strlen(bufpt); in sqlite3_str_vappendf()
31909 while( ii>=0 ) if( (bufpt[ii--] & 0xc0)==0x80 ) width++; in sqlite3_str_vappendf()
31943 bufpt = zExtra = printfTempBuf(pAccum, n); in sqlite3_str_vappendf()
31944 if( bufpt==0 ) return; in sqlite3_str_vappendf()
31946 bufpt = buf; in sqlite3_str_vappendf()
31949 if( needQuote ) bufpt[j++] = q; in sqlite3_str_vappendf()
31952 bufpt[j++] = ch = escarg[i]; in sqlite3_str_vappendf()
31953 if( ch==q ) bufpt[j++] = ch; in sqlite3_str_vappendf()
31955 if( needQuote ) bufpt[j++] = q; in sqlite3_str_vappendf()
31956 bufpt[j] = 0; in sqlite3_str_vappendf()
32028 sqlite3_str_append(pAccum, bufpt, length); in sqlite3_str_vappendf()
32031 sqlite3_str_append(pAccum, bufpt, length); in sqlite3_str_vappendf()