Home
last modified time | relevance | path

Searched refs:out_length (Results 1 – 23 of 23) sorted by relevance

/external/grpc-grpc/src/core/lib/gpr/
Dstring.cc219 const size_t out_length = str_length > length ? str_length : length; in gpr_leftpad() local
220 char* out = static_cast<char*>(gpr_malloc(out_length + 1)); in gpr_leftpad()
221 memset(out, flag, out_length - str_length); in gpr_leftpad()
222 memcpy(out + out_length - str_length, str, str_length); in gpr_leftpad()
223 out[out_length] = 0; in gpr_leftpad()
234 size_t out_length = 0; in gpr_strjoin_sep() local
238 out_length += strlen(strs[i]); in gpr_strjoin_sep()
240 out_length += 1; /* null terminator */ in gpr_strjoin_sep()
242 out_length += sep_len * (nstrs - 1); /* separators */ in gpr_strjoin_sep()
244 out = static_cast<char*>(gpr_malloc(out_length)); in gpr_strjoin_sep()
[all …]
/external/libaom/libaom/av1/common/
Dresize.c220 static const InterpKernel *choose_interp_filter(int in_length, int out_length) { in choose_interp_filter() argument
221 int out_length16 = out_length * 16; in choose_interp_filter()
235 uint8_t *output, int out_length, in interpolate_core() argument
238 (((uint32_t)in_length << RS_SCALE_SUBPEL_BITS) + out_length / 2) / in interpolate_core()
239 out_length; in interpolate_core()
241 in_length > out_length in interpolate_core()
242 ? (((int32_t)(in_length - out_length) << (RS_SCALE_SUBPEL_BITS - 1)) + in interpolate_core()
243 out_length / 2) / in interpolate_core()
244 out_length in interpolate_core()
245 : -(((int32_t)(out_length - in_length) in interpolate_core()
[all …]
Dresize.h109 int32_t av1_get_upscale_convolve_step(int in_length, int out_length);
/external/grpc-grpc/src/core/lib/slice/
Dpercent_encoding.cc94 size_t out_length = 0; in grpc_strict_percent_decode_slice() local
101 out_length++; in grpc_strict_percent_decode_slice()
105 out_length++; in grpc_strict_percent_decode_slice()
115 *slice_out = GRPC_SLICE_MALLOC(out_length); in grpc_strict_percent_decode_slice()
132 size_t out_length = 0; in grpc_permissive_percent_decode_slice() local
138 out_length++; in grpc_permissive_percent_decode_slice()
141 out_length++; in grpc_permissive_percent_decode_slice()
146 out_length++; in grpc_permissive_percent_decode_slice()
153 grpc_slice out = GRPC_SLICE_MALLOC(out_length); in grpc_permissive_percent_decode_slice()
/external/webrtc/webrtc/modules/audio_processing/transient/
Ddyadic_decimator.h27 size_t out_length = in_length / 2; in GetOutLengthToDyadicDecimate() local
30 ++out_length; in GetOutLengthToDyadicDecimate()
33 return out_length; in GetOutLengthToDyadicDecimate()
52 size_t out_length) { in DyadicDecimate() argument
55 if (!in || !out || in_length <= 0 || out_length < half_length) { in DyadicDecimate()
/external/bsdiff/
Dsuffix_array_index_unittest.cc27 size_t* out_length, in SearchPrefix() argument
30 pattern.size(), out_length, out_pos); in SearchPrefix()
32 EXPECT_LE(*out_length, pattern.size()); in SearchPrefix()
34 ASSERT_LE(*out_pos + *out_length, text_.size()); in SearchPrefix()
35 EXPECT_EQ(0, memcmp(text_.data() + *out_pos, pattern.data(), *out_length)); in SearchPrefix()
Dsuffix_array_index.cc64 size_t* out_length,
101 size_t* out_length, in SearchPrefix() argument
110 *out_length = length; in SearchPrefix()
137 *out_length = std::max(next_suffix_len, prev_suffix_len); in SearchPrefix()
138 if (!*out_length) { in SearchPrefix()
/external/webrtc/webrtc/common_audio/resampler/
Dresampler_unittest.cc102 size_t out_length = 0; in TEST_F() local
105 out_length)); in TEST_F()
106 EXPECT_EQ(static_cast<size_t>(kRates[j] / 100), out_length); in TEST_F()
124 size_t out_length = 0; in TEST_F() local
128 out_length)); in TEST_F()
129 EXPECT_EQ(static_cast<size_t>(kChannels * kRates[j] / 100), out_length); in TEST_F()
/external/grpc-grpc/src/php/ext/grpc/
Dbyte_buffer.c35 size_t *out_length) { in byte_buffer_to_string() argument
40 *out_length = 0; in byte_buffer_to_string()
51 *out_length = length; in byte_buffer_to_string()
Dbyte_buffer.h27 size_t *out_length);
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_resampler.cc51 int out_length = in Resample10Msec() local
53 if (out_length == -1) { in Resample10Msec()
59 return static_cast<int>(out_length / num_audio_channels); in Resample10Msec()
/external/webrtc/webrtc/voice_engine/
Dutility.cc63 int out_length = resampler->Resample(audio_ptr, src_length, dst_frame->data_, in RemixAndResample() local
65 if (out_length == -1) { in RemixAndResample()
71 dst_frame->samples_per_channel_ = out_length / audio_ptr_num_channels; in RemixAndResample()
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_nalu.cc281 size_t* out_length) { in ReadNalu() argument
283 RTC_DCHECK(out_length); in ReadNalu()
285 *out_length = 0; in ReadNalu()
292 *out_length = next_offset_ - data_offset; in ReadNalu()
Dh264_video_toolbox_nalu.h57 bool ReadNalu(const uint8_t** out_nalu, size_t* out_length);
/external/kernel-headers/original/uapi/linux/
Dndctl.h50 __u32 out_length; member
76 __u32 out_length; member
/external/bsdiff/include/bsdiff/
Dsuffix_array_index_interface.h28 size_t* out_length,
/external/python/cpython2/Modules/zlib/
Dtrees.c1040 ulg out_length = (ulg)s->last_lit*8L; local
1044 out_length += (ulg)s->dyn_dtree[dcode].Freq *
1047 out_length >>= 3;
1049 s->last_lit, in_length, out_length,
1050 100L - out_length*100L/in_length));
1051 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
/external/zlib/src/
Dtrees.c1040 ulg out_length = (ulg)s->last_lit*8L; local
1044 out_length += (ulg)s->dyn_dtree[dcode].Freq *
1047 out_length >>= 3;
1049 s->last_lit, in_length, out_length,
1050 100L - out_length*100L/in_length));
1051 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
/external/u-boot/lib/zlib/
Dtrees.c1052 ulg out_length = (ulg)s->last_lit*8L; local
1056 out_length += (ulg)s->dyn_dtree[dcode].Freq *
1059 out_length >>= 3;
1061 s->last_lit, in_length, out_length,
1062 100L - out_length*100L/in_length));
1063 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
/external/protobuf/ruby/ext/google/protobuf_c/
Dmap.c69 size_t* out_length) { in table_key() argument
77 *out_length = RSTRING_LEN(key); in table_key()
87 *out_length = native_slot_size(self->key_type); in table_key()
/external/harfbuzz_ng/src/
Dhb-ot-layout.h344 unsigned int *out_length /* OUT */);
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc2465 size_t out_length = out_cb.num_channels() * out_cb.num_frames(); in ProcessFormat() local
2467 ASSERT_EQ(out_length, in ProcessFormat()
2469 out_length, out_file)); in ProcessFormat()
2565 const size_t out_length = SamplesFromRate(out_rate) * out_num; in TEST_P() local
2569 rtc::scoped_ptr<float[]> out_data(new float[out_length]); in TEST_P()
2599 while (fread(out_data.get(), sizeof(out_data[0]), out_length, out_file) && in TEST_P()
2607 out_ptr, out_length, cmp_data.get(), ref_length))); in TEST_P()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c357 static int get_down2_steps(int in_length, int out_length) { in get_down2_steps() argument
360 while ((proj_in_length = get_down2_length(in_length, 1)) >= out_length) { in get_down2_steps()