Home
last modified time | relevance | path

Searched refs:out_size (Results 1 – 25 of 46) 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/opencv3/3rdparty/libwebp/enc/
Dhistogram.c370 int out_size = in->size; in HistogramCombine() local
386 for (iter = 0; iter < outer_iters && out_size >= min_cluster_size; ++iter) { in HistogramCombine()
390 const int num_tries = (num_pairs < out_size) ? num_pairs : out_size; in HistogramCombine()
395 const uint32_t idx1 = MyRand(&seed) % out_size; in HistogramCombine()
397 const uint32_t diff = (tmp < 3) ? tmp : MyRand(&seed) % (out_size - 1); in HistogramCombine()
398 const uint32_t idx2 = (idx1 + diff + 1) % out_size; in HistogramCombine()
421 --out_size; in HistogramCombine()
422 if (best_idx2 != out_size) { in HistogramCombine()
423 out->histograms[best_idx2] = out->histograms[out_size]; in HistogramCombine()
424 out->histograms[out_size] = NULL; // just for sanity check. in HistogramCombine()
[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()
/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/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc137 int out_size; in WriteToOutput() local
140 if (!output->Next(&out, &out_size)) { in WriteToOutput()
143 EXPECT_GT(out_size, 0); in WriteToOutput()
145 if (in_size <= out_size) { in WriteToOutput()
147 output->BackUp(out_size - in_size); in WriteToOutput()
151 memcpy(out, in, out_size); in WriteToOutput()
152 in += out_size; in WriteToOutput()
153 in_size -= out_size; in WriteToOutput()
161 int out_size = size; in ReadFromInput() local
170 return size - out_size; in ReadFromInput()
[all …]
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
Dbase64.h43 int av_base64_decode(uint8_t *out, const char *in, int out_size);
55 char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size);
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc299 size_t out_size; in TestCBBFixed() local
303 !CBB_finish(&cbb, &out_buf, &out_size) || in TestCBBFixed()
305 out_size != 0) { in TestCBBFixed()
312 !CBB_finish(&cbb, &out_buf, &out_size) || in TestCBBFixed()
314 out_size != 1 || in TestCBBFixed()
325 size_t out_size; in TestCBBFinishChild() local
331 CBB_finish(&child, &out_buf, &out_size) || in TestCBBFinishChild()
332 !CBB_finish(&cbb, &out_buf, &out_size)) { in TestCBBFinishChild()
337 return out_size == 1 && out_buf[0] == 0; in TestCBBFinishChild()
/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.cc49 static void SubstituteBinaryName(const char *s, char *out, uptr out_size) { in SubstituteBinaryName() argument
50 char *out_end = out + out_size; in SubstituteBinaryName()
/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/lzw/
Dftzopen.c250 FT_ULong out_size ) in ft_lzwstate_io() argument
259 if ( out_size == 0 ) in ft_lzwstate_io()
300 if ( ++result >= out_size ) in ft_lzwstate_io()
374 if ( ++result == out_size ) in ft_lzwstate_io()
/external/boringssl/src/include/openssl/
Ddigest.h152 unsigned int *out_size);
157 unsigned int *out_size);
/external/wpa_supplicant_8/src/utils/
Dcommon.c1037 char *outp, size_t out_size) in utf8_unescape() argument
1054 if (res_size >= out_size) in utf8_unescape()
1076 if (res_size < out_size) in utf8_unescape()
1084 char *outp, size_t out_size) in utf8_escape() argument
1097 if (res_size++ >= out_size) in utf8_escape()
1103 if (res_size++ >= out_size) in utf8_escape()
1115 if (res_size < out_size) in utf8_escape()
/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/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/ceres-solver/internal/ceres/
Dsuitesparse.cc118 int out_size) { in CreateDenseVector() argument
119 CHECK_LE(in_size, out_size); in CreateDenseVector()
120 cholmod_dense* v = cholmod_zeros(out_size, 1, CHOLMOD_REAL, &cc_); in CreateDenseVector()
/external/libweave/src/
Ddata_encoding.cc36 size_t out_size = in Base64EncodeHelper() local
38 return std::string{buffer.begin(), buffer.begin() + out_size}; in Base64EncodeHelper()
/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/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/boringssl/src/crypto/digest/
Ddigest.c213 unsigned int *out_size, const EVP_MD *type, ENGINE *impl) { in EVP_Digest() argument
220 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()

12