Lines Matching refs:pOut
4659 static char* toBase64( u8 *pIn, int nbIn, char *pOut ){ in toBase64() argument
4663 pOut[0] = BX_NUMERAL(pIn[0]>>2); in toBase64()
4664 pOut[1] = BX_NUMERAL(((pIn[0]<<4)|(pIn[1]>>4))&0x3f); in toBase64()
4665 pOut[2] = BX_NUMERAL(((pIn[1]&0xf)<<2)|(pIn[2]>>6)); in toBase64()
4666 pOut[3] = BX_NUMERAL(pIn[2]&0x3f); in toBase64()
4667 pOut += 4; in toBase64()
4671 *pOut++ = '\n'; in toBase64()
4686 pOut[nbe] = ce; in toBase64()
4688 pOut += 4; in toBase64()
4689 *pOut++ = '\n'; in toBase64()
4691 *pOut = 0; in toBase64()
4692 return pOut; in toBase64()
4703 static u8* fromBase64( char *pIn, int ncIn, u8 *pOut ){ in fromBase64() argument
4739 pOut[2] = (qv) & 0xff; in fromBase64()
4741 pOut[1] = (qv>>8) & 0xff; in fromBase64()
4743 pOut[0] = (qv>>16) & 0xff; in fromBase64()
4745 pOut += nbo; in fromBase64()
4747 return pOut; in fromBase64()
5013 static char* toBase85( u8 *pIn, int nbIn, char *pOut, char *pSep ){ in toBase85() argument
5023 pOut[--nco] = base85Numeral(dv); in toBase85()
5027 pOut += 5; in toBase85()
5029 pOut = putcs(pOut, pSep); in toBase85()
5044 pOut[--nco] = base85Numeral(dv); in toBase85()
5046 pOut += (nbIn+1); in toBase85()
5048 if( pSep && nCol>0 ) pOut = putcs(pOut, pSep); in toBase85()
5049 *pOut = 0; in toBase85()
5050 return pOut; in toBase85()
5054 static u8* fromBase85( char *pIn, int ncIn, u8 *pOut ){ in fromBase85() argument
5077 *pOut++ = (qv >> 24)&0xff; in fromBase85()
5079 *pOut++ = (qv >> 16)&0xff; in fromBase85()
5081 *pOut++ = (qv >> 8)&0xff; in fromBase85()
5083 *pOut++ = qv&0xff; in fromBase85()
5088 return pOut; in fromBase85()
11662 Bytef *pOut; in sqlarCompressFunc() local
11664 pOut = (Bytef*)sqlite3_malloc(nOut); in sqlarCompressFunc()
11665 if( pOut==0 ){ in sqlarCompressFunc()
11669 if( Z_OK!=compress(pOut, &nOut, pData, nData) ){ in sqlarCompressFunc()
11672 sqlite3_result_blob(context, pOut, nOut, SQLITE_TRANSIENT); in sqlarCompressFunc()
11676 sqlite3_free(pOut); in sqlarCompressFunc()
11709 Bytef *pOut = sqlite3_malloc(sz); in sqlarUncompressFunc() local
11710 if( pOut==0 ){ in sqlarUncompressFunc()
11712 }else if( Z_OK!=uncompress(pOut, &szf, pData, nData) ){ in sqlarUncompressFunc()
11715 sqlite3_result_blob(context, pOut, szf, SQLITE_TRANSIENT); in sqlarUncompressFunc()
11717 sqlite3_free(pOut); in sqlarUncompressFunc()