Home
last modified time | relevance | path

Searched refs:in_size (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/src/fxge/Microsoft SDK/include/
DGdiPlusBase.h25 void* (operator new)(size_t in_size)
27 return DllExports::GdipAlloc(in_size);
33 void* (operator new[])(size_t in_size)
35 return DllExports::GdipAlloc(in_size);
/external/chromium_org/third_party/brotli/src/brotli/enc/
Dcluster.h195 void HistogramRemap(const Histogram<kSize>* in, int in_size, in HistogramRemap() argument
198 for (int i = 0; i < in_size; ++i) { in HistogramRemap()
201 for (int i = 0; i < in_size; ++i) { in HistogramRemap()
220 for (int i = 0; i < in_size; ++i) { in HistogramRemap()
255 const int in_size = num_contexts * num_blocks; in ClusterHistograms() local
256 std::vector<int> cluster_size(in_size, 1); in ClusterHistograms()
257 out->resize(in_size); in ClusterHistograms()
258 histogram_symbols->resize(in_size); in ClusterHistograms()
259 for (int i = 0; i < in_size; ++i) { in ClusterHistograms()
276 &(*histogram_symbols)[0], in_size, in ClusterHistograms()
[all …]
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc133 int in_size = size; in WriteToOutput() local
144 if (in_size <= out_size) { in WriteToOutput()
145 memcpy(out, in, in_size); in WriteToOutput()
146 output->BackUp(out_size - in_size); in WriteToOutput()
152 in_size -= out_size; in WriteToOutput()
163 int in_size = 0; in ReadFromInput() local
168 if (!input->Next(&in, &in_size)) { in ReadFromInput()
171 EXPECT_GT(in_size, -1); in ReadFromInput()
172 if (in_size == 0) { in ReadFromInput()
179 if (out_size <= in_size) { in ReadFromInput()
[all …]
Dgzip_stream.cc81 int in_size; in Inflate() local
83 bool ok = sub_stream_->Next(&in, &in_size); in Inflate()
90 zcontext_.avail_in = in_size; in Inflate()
/external/chromium_org/remoting/base/
Dcompound_buffer_unittest.cc115 int in_size = 0; in ReadFromInput() local
118 if (!input->Next(&in, &in_size)) { in ReadFromInput()
121 EXPECT_GT(in_size, -1); in ReadFromInput()
123 if (out_size <= in_size) { in ReadFromInput()
125 if (in_size > out_size) { in ReadFromInput()
126 input->BackUp(in_size - out_size); in ReadFromInput()
131 memcpy(out, in, in_size); in ReadFromInput()
132 out += in_size; in ReadFromInput()
133 out_size -= in_size; in ReadFromInput()
Dutil.cc178 const webrtc::DesktopSize& in_size, in ScaleRect() argument
180 int left = (rect.left() * out_size.width()) / in_size.width(); in ScaleRect()
181 int top = (rect.top() * out_size.height()) / in_size.height(); in ScaleRect()
182 int right = (rect.right() * out_size.width() + in_size.width() - 1) / in ScaleRect()
183 in_size.width(); in ScaleRect()
184 int bottom = (rect.bottom() * out_size.height() + in_size.height() - 1) / in ScaleRect()
185 in_size.height(); in ScaleRect()
Dutil.h62 const webrtc::DesktopSize& in_size,
/external/chromium_org/media/base/
Daudio_fifo.cc21 int pos, int max_size, int in_size, int* size, int* wrap_size) { in GetSizes() argument
22 if (pos + in_size > max_size) { in GetSizes()
25 *wrap_size = in_size - *size; in GetSizes()
28 *size = in_size; in GetSizes()
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc134 int in_size = size; in WriteToOutput() local
145 if (in_size <= out_size) { in WriteToOutput()
146 memcpy(out, in, in_size); in WriteToOutput()
147 output->BackUp(out_size - in_size); in WriteToOutput()
153 in_size -= out_size; in WriteToOutput()
164 int in_size = 0; in ReadFromInput() local
169 if (!input->Next(&in, &in_size)) { in ReadFromInput()
172 EXPECT_GT(in_size, -1); in ReadFromInput()
173 if (in_size == 0) { in ReadFromInput()
180 if (out_size <= in_size) { in ReadFromInput()
[all …]
Dgzip_stream.cc92 int in_size; in Inflate() local
94 bool ok = sub_stream_->Next(&in, &in_size); in Inflate()
101 zcontext_.avail_in = in_size; in Inflate()
/external/lzma/xz-embedded/
Dxz_dec_stream.c171 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
187 size_t *in_pos, size_t in_size) in dec_vli() argument
194 while (*in_pos < in_size) { in dec_vli()
319 ret = dec_vli(s, b->in, &b->in_pos, b->in_size); in dec_index()
369 if (b->in_pos == b->in_size) in crc_validate()
393 if (b->in_pos == b->in_size) in check_skip()
609 if (b->in_pos == b->in_size) in dec_main()
656 if (b->in_pos == b->in_size) in dec_main()
697 if (b->in_pos == b->in_size) { in dec_main()
775 ret = b->in_pos == b->in_size in xz_dec_run()
Dxz_dec_lzma2.c379 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed()
381 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()
452 if (b->in_pos == b->in_size) in rc_read_init()
851 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
893 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
901 s->rc.in_limit = b->in_size - LZMA_IN_REQUIRED; in lzma2_lzma()
914 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
936 while (b->in_pos < b->in_size || s->lzma2.sequence == SEQ_LZMA_RUN) { in xz_dec_lzma2_run()
1083 || (b->in_pos == b->in_size in xz_dec_lzma2_run()
Dxz.h143 size_t in_size; member
/external/ceres-solver/internal/ceres/
Dsuitesparse.cc117 int in_size, in CreateDenseVector() argument
119 CHECK_LE(in_size, out_size); in CreateDenseVector()
122 memcpy(v->x, x, in_size*sizeof(*x)); in CreateDenseVector()
Dsuitesparse.h106 cholmod_dense* CreateDenseVector(const double* x, int in_size, int out_size);
/external/qemu/android/
Dhw-qemud.c232 int in_size; member
260 qemu_put_be32(f, s->in_size); in qemud_serial_save()
279 s->in_size = qemu_get_be32(f); in qemud_serial_load()
375 s->in_size = hex2int( s->data0 + LEGACY_LENGTH_OFFSET, LENGTH_SIZE ); in qemud_serial_read()
378 s->in_size = hex2int( s->data0 + LENGTH_OFFSET, LENGTH_SIZE ); in qemud_serial_read()
383 s->in_size = hex2int( s->data0 + LENGTH_OFFSET, LENGTH_SIZE ); in qemud_serial_read()
388 if (s->in_size <= 0 || s->in_channel < 0) { in qemud_serial_read()
393 if (s->in_size > MAX_SERIAL_PAYLOAD) { in qemud_serial_read()
395 __FUNCTION__, s->in_size, s->in_channel); in qemud_serial_read()
396 s->overflow = s->in_size; in qemud_serial_read()
[all …]
/external/kernel-headers/original/uapi/linux/
Dhdreg.h67 unsigned long in_size; member
Dcoda.h718 u_short in_size; /* Size of input buffer <= 2K */ member
Dfuse.h607 uint32_t in_size; member
/external/chromium_org/third_party/brotli/src/woff2/
Dwoff2_dec.cc128 bool TripletDecode(const uint8_t* flags_in, const uint8_t* in, size_t in_size, in TripletDecode() argument
134 if (n_points > in_size) { in TripletDecode()
153 if (triplet_index + n_data_bytes > in_size || in TripletDecode()
/external/chromium_org/third_party/ots/src/
Dwoff2.cc231 bool TripletDecode(const uint8_t* flags_in, const uint8_t* in, size_t in_size, in TripletDecode() argument
238 if (n_points > in_size) { in TripletDecode()
257 if (triplet_index + n_data_bytes > in_size || in TripletDecode()