Home
last modified time | relevance | path

Searched refs:out_size (Results 1 – 25 of 42) sorted by relevance

12

/external/libxml2/doc/tutorial/
Dincludeconvert.c10 int ret,size,out_size,temp;
14 out_size = size*2-1;
15 out = malloc((size_t)out_size);
27 ret = handler->input(out, &out_size, in, &temp);
37 out = realloc(out,out_size+1);
38 out[out_size]=0; /*null terminating out*/
/external/webrtc/talk/media/base/
Dvideoframe_unittest.h189 size_t out_size = cricket::VideoFrame::SizeOf(frame.GetWidth(), in DumpFrame() local
191 rtc::scoped_ptr<uint8_t[]> out(new uint8_t[out_size]); in DumpFrame()
192 frame.CopyToBuffer(out.get(), out_size); in DumpFrame()
193 return DumpSample(filename, out.get(), out_size); in DumpFrame()
770 size_t out_size = kWidth * kHeight * 2; in ConstructRGB565() local
771 rtc::scoped_ptr<uint8_t[]> outbuf(new uint8_t[out_size + kAlignment]); in ConstructRGB565()
775 EXPECT_EQ(out_size, frame1.ConvertToRgbBuffer(cricket::FOURCC_RGBP, in ConstructRGB565()
777 out_size, kWidth * 2)); in ConstructRGB565()
778 EXPECT_TRUE(LoadFrame(out, out_size, cricket::FOURCC_RGBP, in ConstructRGB565()
786 size_t out_size = kWidth * kHeight * 2; in ConstructARGB1555() local
[all …]
/external/lzma/xz-embedded/
Dxz_dec_bcj.c53 size_t out_size; member
403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
449 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
478 if (b->out_pos + s->temp.size < b->out_size) in xz_dec_bcj_run()
490 if (b->out_pos < b->out_size) { in xz_dec_bcj_run()
494 s->out_size = b->out_size; in xz_dec_bcj_run()
497 b->out_size = sizeof(s->temp.buf); in xz_dec_bcj_run()
504 b->out_size = s->out_size; in xz_dec_bcj_run()
Dxz_dec_test.c55 .out_size = sizeof(buffer_out)
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
Dxz.h147 size_t out_size; member
Dxz_dec_lzma2.c290 dict->end = b->out_size - b->out_pos; in dict_reset()
380 && b->out_pos < b->out_size) { in dict_uncompressed()
382 b->out_size - b->out_pos); in dict_uncompressed()
1067 b->out_size - b->out_pos, in xz_dec_lzma2_run()
1082 } else if (b->out_pos == b->out_size in xz_dec_lzma2_run()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc142 int out_size; in WriteToOutput() local
145 if (!output->Next(&out, &out_size)) { in WriteToOutput()
148 EXPECT_GT(out_size, 0); in WriteToOutput()
150 if (in_size <= out_size) { in WriteToOutput()
152 output->BackUp(out_size - in_size); in WriteToOutput()
156 memcpy(out, in, out_size); in WriteToOutput()
157 in += out_size; in WriteToOutput()
158 in_size -= out_size; in WriteToOutput()
166 int out_size = size; in ReadFromInput() local
175 return size - out_size; in ReadFromInput()
[all …]
/external/libchrome/base/strings/
Dsys_string_conversions_mac.mm32 CFIndex out_size;
40 &out_size);
41 if (converted == 0 || out_size == 0)
44 // out_size is the number of UInt8-sized units needed in the destination.
47 // proper value_type, and convert out_size by figuring the number of
50 out_size * sizeof(UInt8) / sizeof(typename StringType::value_type) + 1;
59 out_size,
/external/google-breakpad/src/client/
Dminidump_file_writer.cc123 size_t out_size = sizeof(uint16_t) * out_count; in CopyStringToMDString() local
124 result = mdstring->CopyIndexAfterObject(out_idx, out, out_size); in CopyStringToMDString()
150 size_t out_size = sizeof(uint16_t) * out_count; in CopyStringToMDString() local
151 result = mdstring->CopyIndexAfterObject(out_idx, out, out_size); in CopyStringToMDString()
/external/elfutils/libelf/
Delf_compress.c102 size_t out_size = 2 * block; in __libelf_compress() local
103 void *out_buf = malloc (out_size); in __libelf_compress()
164 z.avail_out = out_size - used; in __libelf_compress()
172 used += (out_size - used) - z.avail_out; in __libelf_compress()
182 void *bigger = realloc (out_buf, out_size + block); in __libelf_compress()
189 out_size += block; in __libelf_compress()
/external/vulkan-validation-layers/windowsRuntimeInstaller/
Dconfigure_runtime.c624 int out_size = snprintf(NULL, 0, outPattern, path, name, abi_major, extension) + 1; in update_system_file() local
625 if(out_size < 0) { in update_system_file()
629 output_filename = malloc(out_size); in update_system_file()
630 snprintf(output_filename, out_size, outPattern, path, name, abi_major, extension); in update_system_file()
633 int out_size = snprintf(NULL, 0, outPattern, path, name, extension) + 1; in update_system_file() local
634 if(out_size < 0) { in update_system_file()
638 output_filename = malloc(out_size); in update_system_file()
639 snprintf(output_filename, out_size, outPattern, path, name, extension); in update_system_file()
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc323 size_t out_size; in TestCBBFixed() local
326 !CBB_finish(cbb.get(), &out_buf, &out_size) || in TestCBBFixed()
328 out_size != 0) { in TestCBBFixed()
335 !CBB_finish(cbb.get(), &out_buf, &out_size) || in TestCBBFixed()
337 out_size != 1 || in TestCBBFixed()
355 size_t out_size; in TestCBBFinishChild() local
361 CBB_finish(&child, &out_buf, &out_size) || in TestCBBFinishChild()
362 !CBB_finish(&cbb, &out_buf, &out_size)) { in TestCBBFinishChild()
367 return out_size == 1 && out_buf[0] == 0; in TestCBBFinishChild()
/external/libxml2/doc/examples/
DtestWriter.c1149 int out_size; in ConvertInput() local
1165 out_size = size * 2 - 1; in ConvertInput()
1166 out = (unsigned char *) xmlMalloc((size_t) out_size); in ConvertInput()
1170 ret = handler->input(out, &out_size, (const xmlChar *) in, &temp); in ConvertInput()
1183 out = (unsigned char *) xmlRealloc(out, out_size + 1); in ConvertInput()
1184 out[out_size] = 0; /*null terminating out */ in ConvertInput()
/external/libvncserver/client_examples/
Dvnc2mpg.c173 int out_size, ret; in write_video_frame() local
207 out_size = avcodec_encode_video(c, video_outbuf, video_outbuf_size, picture_ptr); in write_video_frame()
209 if (out_size != 0) { in write_video_frame()
218 pkt.size= out_size; in write_video_frame()
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dbitmaptools.cc125 int out_size = row_size * box.height(); in WriteCroppedPixels() local
126 unsigned char* out = new unsigned char[out_size]; in WriteCroppedPixels()
135 WriteResponse(out, out_size); in WriteCroppedPixels()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.cc51 void SubstituteForFlagValue(const char *s, char *out, uptr out_size) { in SubstituteForFlagValue() argument
52 char *out_end = out + out_size; in SubstituteForFlagValue()
Dsanitizer_flags.h49 void SubstituteForFlagValue(const char *s, char *out, uptr out_size);
/external/boringssl/src/include/openssl/
Ddigest.h158 unsigned int *out_size);
163 unsigned int *out_size);
/external/wpa_supplicant_8/src/utils/
Dcommon.c1060 char *outp, size_t out_size) in utf8_unescape() argument
1077 if (res_size >= out_size) in utf8_unescape()
1099 if (res_size < out_size) in utf8_unescape()
1107 char *outp, size_t out_size) in utf8_escape() argument
1120 if (res_size++ >= out_size) in utf8_escape()
1126 if (res_size++ >= out_size) in utf8_escape()
1138 if (res_size < out_size) in utf8_escape()
/external/vboot_reference/firmware/lib/cryptolib/
Drsa_utility.c15 uint64_t RSAProcessedKeySize(uint64_t algorithm, uint64_t* out_size) { in RSAProcessedKeySize() argument
23 *out_size = (2 * key_len + sizeof(uint32_t) + sizeof(uint32_t)); in RSAProcessedKeySize()
/external/toybox/toys/pending/
Dxzcat.c97 size_t out_size; member
233 b.out_size = BUFSIZ; in do_xzcat()
453 size_t out_size; member
820 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
866 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
895 if (b->out_pos + s->temp.size < b->out_size) in xz_dec_bcj_run()
907 if (b->out_pos < b->out_size) { in xz_dec_bcj_run()
911 s->out_size = b->out_size; in xz_dec_bcj_run()
914 b->out_size = sizeof(s->temp.buf); in xz_dec_bcj_run()
921 b->out_size = s->out_size; in xz_dec_bcj_run()
[all …]
/external/libbrillo/brillo/
Ddata_encoding.cc33 size_t out_size = modp_b64_encode(buffer.data(), in Base64EncodeHelper() local
36 return std::string{buffer.begin(), buffer.begin() + out_size}; in Base64EncodeHelper()
/external/boringssl/src/crypto/digest/
Ddigest.c216 unsigned int *out_size, const EVP_MD *type, ENGINE *impl) { in EVP_Digest() argument
223 EVP_DigestFinal_ex(&ctx, out_md, out_size); in EVP_Digest()
/external/vboot_reference/tests/
Dvboot_region_tests.c166 void *outbuf, uint32_t *out_size) in VbExDecompress() argument
168 *out_size = ORIGINAL_SIZE; in VbExDecompress()
/external/vboot_reference/firmware/lib/cryptolib/include/
Drsa.h78 uint64_t RSAProcessedKeySize(uint64_t algorithm, uint64_t* out_size);

12