Lines Matching refs:pOut

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()
5215 pOut += 4; in toBase64()
5219 *pOut++ = '\n'; in toBase64()
5234 pOut[nbe] = ce; in toBase64()
5236 pOut += 4; in toBase64()
5237 *pOut++ = '\n'; in toBase64()
5239 *pOut = 0; in toBase64()
5240 return pOut; in toBase64()
5251 static u8* fromBase64( char *pIn, int ncIn, u8 *pOut ){ in fromBase64() argument
5287 pOut[2] = (qv) & 0xff; in fromBase64()
5290 pOut[1] = (qv>>8) & 0xff; in fromBase64()
5293 pOut[0] = (qv>>16) & 0xff; in fromBase64()
5296 pOut += nbo; in fromBase64()
5298 return pOut; in fromBase64()
5564 static char* toBase85( u8 *pIn, int nbIn, char *pOut, char *pSep ){ in toBase85() argument
5574 pOut[--nco] = base85Numeral(dv); in toBase85()
5578 pOut += 5; in toBase85()
5580 pOut = putcs(pOut, pSep); in toBase85()
5595 pOut[--nco] = base85Numeral(dv); in toBase85()
5597 pOut += (nbIn+1); in toBase85()
5599 if( pSep && nCol>0 ) pOut = putcs(pOut, pSep); in toBase85()
5600 *pOut = 0; in toBase85()
5601 return pOut; in toBase85()
5605 static u8* fromBase85( char *pIn, int ncIn, u8 *pOut ){ in fromBase85() argument
5628 *pOut++ = (qv >> 24)&0xff; in fromBase85()
5631 *pOut++ = (qv >> 16)&0xff; in fromBase85()
5634 *pOut++ = (qv >> 8)&0xff; in fromBase85()
5637 *pOut++ = qv&0xff; in fromBase85()
5643 return pOut; in fromBase85()
12501 Bytef *pOut; in sqlarCompressFunc() local
12503 pOut = (Bytef*)sqlite3_malloc(nOut); in sqlarCompressFunc()
12504 if( pOut==0 ){ in sqlarCompressFunc()
12508 if( Z_OK!=compress(pOut, &nOut, pData, nData) ){ in sqlarCompressFunc()
12511 sqlite3_result_blob(context, pOut, nOut, SQLITE_TRANSIENT); in sqlarCompressFunc()
12515 sqlite3_free(pOut); in sqlarCompressFunc()
12548 Bytef *pOut = sqlite3_malloc(sz); in sqlarUncompressFunc() local
12549 if( pOut==0 ){ in sqlarUncompressFunc()
12551 }else if( Z_OK!=uncompress(pOut, &szf, pData, nData) ){ in sqlarUncompressFunc()
12554 sqlite3_result_blob(context, pOut, szf, SQLITE_TRANSIENT); in sqlarUncompressFunc()
12556 sqlite3_free(pOut); in sqlarUncompressFunc()