Searched refs:output_size (Results 1 – 9 of 9) sorted by relevance
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
D | _speedups.c | 76 Py_ssize_t output_size; in ascii_escape_unicode() local 85 output_size = 2 + (MIN_EXPANSION * 4) + input_chars; in ascii_escape_unicode() 86 rval = PyString_FromStringAndSize(NULL, output_size); in ascii_escape_unicode() 100 if (output_size - chars < (1 + MAX_EXPANSION)) { in ascii_escape_unicode() 102 output_size *= 2; in ascii_escape_unicode() 104 if (output_size > 2 + (input_chars * MAX_EXPANSION)) { in ascii_escape_unicode() 105 output_size = 2 + (input_chars * MAX_EXPANSION); in ascii_escape_unicode() 107 if (_PyString_Resize(&rval, output_size) == -1) { in ascii_escape_unicode() 124 Py_ssize_t output_size; in ascii_escape_str() local 133 output_size = 2 + (MIN_EXPANSION * 4) + input_chars; in ascii_escape_str() [all …]
|
/external/chromium/sdch/open-vcdiff/src/ |
D | vcdiff_main.cc | 340 size_t output_size = output.size(); in CompareOutput() local 343 if (output_size > compare_buffer_.size()) { in CompareOutput() 344 compare_buffer_.resize(output_size); in CompareOutput() 348 output_size, in CompareOutput() 355 if (bytes_read < output_size) { in CompareOutput() 360 if (output.compare(0, output_size, &compare_buffer_[0], bytes_read) != 0) { in CompareOutput() 402 size_t output_size = 0; in Encode() local 414 output_size += output.size(); in Encode() 429 output_size += output.size(); in Encode() 433 << "\tCompressed size: " << output_size << " (" in Encode() [all …]
|
/external/chromium/base/ |
D | base64.cc | 17 int output_size= modp_b64_encode(&(temp[0]), input.data(), input_size); in Base64Encode() local 18 if (output_size < 0) in Base64Encode() 21 temp.resize(output_size); // strips off null byte in Base64Encode() 32 int output_size = modp_b64_decode(&(temp[0]), input.data(), input_size); in Base64Decode() local 33 if (output_size < 0) in Base64Decode() 36 temp.resize(output_size); in Base64Decode()
|
/external/webp/src/enc/ |
D | alpha.c | 31 uint8_t** output, size_t* output_size, in CompressAlpha() argument 38 *output_size = 0; in CompressAlpha() 56 size_t new_size = *output_size + size_out; in CompressAlpha() 62 memcpy(new_output + *output_size, chunk, size_out); in CompressAlpha() 63 *output_size = new_size; in CompressAlpha() 71 output_size = 0; in CompressAlpha()
|
D | picture.c | 603 size_t output_size = 0; in Encode() local 620 wrt.size = &output_size; in Encode() 630 return output_size; in Encode()
|
/external/chromium/crypto/ |
D | encryptor_mac.cc | 49 size_t output_size = input.size() + iv_.size(); in Crypt() local 56 WriteInto(output, output_size+1), in Crypt() 57 output_size, in Crypt() 58 &output_size); in Crypt() 64 output->resize(output_size); in Crypt()
|
D | encryptor_openssl.cc | 104 const size_t output_size = input.size() + (do_encrypt ? iv_.size() : 0); in Crypt() local 106 output_size + 1)); in Crypt() 120 DCHECK_LE(out_len, static_cast<int>(output_size)); in Crypt()
|
/external/webp/src/dec/ |
D | alpha.c | 38 const size_t output_size = stride * dec->pic_hdr_.height_; in VP8DecompressAlphaRows() local 49 strm.avail_out = output_size; in VP8DecompressAlphaRows()
|
/external/libpng/ |
D | pngrutil.c | 240 png_bytep output, png_size_t output_size) in png_inflate() argument 265 if (output != 0 && output_size > count) in png_inflate() 267 png_size_t copy = output_size - count; in png_inflate()
|