Lines Matching refs:pIn
3879 sqlite3_value *pIn, /* Construct the decimal object from this */ in decimal_new() argument
3883 int eType = sqlite3_value_type(pIn); in decimal_new()
3890 const char *zIn = (const char*)sqlite3_value_text(pIn); in decimal_new()
3891 int n = sqlite3_value_bytes(pIn); in decimal_new()
3898 p = decimalFromDouble(sqlite3_value_double(pIn)); in decimal_new()
3908 if( sqlite3_value_bytes(pIn)!=sizeof(r) ) break; in decimal_new()
3909 x = sqlite3_value_blob(pIn); in decimal_new()
5207 static char* toBase64( u8 *pIn, int nbIn, char *pOut ){ in toBase64() argument
5211 pOut[0] = BX_NUMERAL(pIn[0]>>2); in toBase64()
5212 pOut[1] = BX_NUMERAL(((pIn[0]<<4)|(pIn[1]>>4))&0x3f); in toBase64()
5213 pOut[2] = BX_NUMERAL(((pIn[1]&0xf)<<2)|(pIn[2]>>6)); in toBase64()
5214 pOut[3] = BX_NUMERAL(pIn[2]&0x3f); in toBase64()
5217 pIn += 3; in toBase64()
5226 unsigned long qv = *pIn++; in toBase64()
5229 if( nbe<nbIn ) qv |= *pIn++; in toBase64()
5251 static u8* fromBase64( char *pIn, int ncIn, u8 *pOut ){ in fromBase64() argument
5252 if( ncIn>0 && pIn[ncIn-1]=='\n' ) --ncIn; in fromBase64()
5253 while( ncIn>0 && *pIn!=PAD_CHAR ){ in fromBase64()
5255 char *pUse = skipNonB64(pIn, ncIn); in fromBase64()
5258 ncIn -= (pUse - pIn); in fromBase64()
5259 pIn = pUse; in fromBase64()
5265 char c = (nac<nti)? *pIn++ : b64Numerals[0]; in fromBase64()
5564 static char* toBase85( u8 *pIn, int nbIn, char *pOut, char *pSep ){ in toBase85() argument
5568 unsigned long qbv = (((unsigned long)pIn[0])<<24) | in toBase85()
5569 (pIn[1]<<16) | (pIn[2]<<8) | pIn[3]; in toBase85()
5577 pIn += 4; in toBase85()
5586 unsigned long qv = *pIn++; in toBase85()
5589 qv = (qv<<8) | *pIn++; in toBase85()
5605 static u8* fromBase85( char *pIn, int ncIn, u8 *pOut ){ in fromBase85() argument
5606 if( ncIn>0 && pIn[ncIn-1]=='\n' ) --ncIn; in fromBase85()
5609 char *pUse = skipNonB85(pIn, ncIn); in fromBase85()
5612 ncIn -= (pUse - pIn); in fromBase85()
5613 pIn = pUse; in fromBase85()
5618 char c = *pIn++; in fromBase85()