Home
last modified time | relevance | path

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

/external/pigweed/pw_tokenizer/
Dbase64.cc25 const size_t encoded_size = Base64EncodedBufferSize(binary_size_bytes); in pw_tokenizer_PrefixedBase64Encode() local
27 if (output_buffer_size_bytes < encoded_size) { in pw_tokenizer_PrefixedBase64Encode()
39 output[encoded_size - 1] = '\0'; in pw_tokenizer_PrefixedBase64Encode()
40 return encoded_size - sizeof('\0'); // exclude the null terminator in pw_tokenizer_PrefixedBase64Encode()
/external/perfetto/src/protozero/
Dproto_utils_unittest.cc33 size_t encoded_size; member
121 ASSERT_EQ(exp.encoded_size, static_cast<size_t>(res - buf)); in TEST()
122 ASSERT_EQ(0, memcmp(buf, exp.encoded, exp.encoded_size)); in TEST()
127 ASSERT_EQ(exp.encoded_size, static_cast<size_t>(res_32 - buf)); in TEST()
128 ASSERT_EQ(0, memcmp(buf, exp.encoded, exp.encoded_size)); in TEST()
189 reinterpret_cast<const uint8_t*>(exp.encoded + exp.encoded_size), in TEST()
191 ASSERT_EQ(reinterpret_cast<const void*>(exp.encoded + exp.encoded_size), in TEST()
Dproto_decoder_unittest.cc204 size_t encoded_size; in TEST() member
235 reinterpret_cast<const uint8_t*>(exp.encoded), exp.encoded_size); in TEST()
/external/brotli/c/include/brotli/
Dencode.h315 size_t* encoded_size,
316 uint8_t encoded_buffer[BROTLI_ARRAY_PARAM(*encoded_size)]);
Ddecode.h203 size_t encoded_size,
204 const uint8_t encoded_buffer[BROTLI_ARRAY_PARAM(encoded_size)],
/external/vixl/src/aarch64/
Dregisters-aarch64.h454 static int DecodeSizeInBytesLog2(EncodedSize encoded_size) { in DecodeSizeInBytesLog2() argument
455 switch (encoded_size) { in DecodeSizeInBytesLog2()
475 static int DecodeSizeInBytes(EncodedSize encoded_size) { in DecodeSizeInBytes() argument
476 if (encoded_size == kEncodedUnknownSize) { in DecodeSizeInBytes()
479 return 1 << DecodeSizeInBytesLog2(encoded_size); in DecodeSizeInBytes()
482 static int DecodeSizeInBits(EncodedSize encoded_size) { in DecodeSizeInBits() argument
484 return DecodeSizeInBytes(encoded_size) * kBitsPerByte; in DecodeSizeInBits()
/external/openscreen/cast/standalone_sender/
Dstreaming_vp8_encoder.h128 int encoded_size; member
158 double space_utilization() const { return encoded_size / target_size; } in space_utilization()
Dstreaming_vp8_encoder.cc369 stats.encoded_size = work_unit->payload.size(); in ComputeFrameEncodeStats()
/external/pigweed/pw_metric/
Dmetric.cc36 int encoded_size = tokenizer::PrefixedBase64Encode(AsSpan(token), data); in Base64EncodedToken() local
37 data[encoded_size] = 0; in Base64EncodedToken()
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py187 def encoded_size(self): member in Enum
546 def encoded_size(self, dependencies): member in Field
558 encsize = submsg.encoded_size(dependencies)
578 encsize = enumtype.encoded_size()
629 def encoded_size(self, dependencies): member in ExtensionRange
759 def encoded_size(self, dependencies): member in OneOf
763 size = EncodedSize(f.encoded_size(dependencies))
910 def encoded_size(self, dependencies): member in Message
916 fsize = field.encoded_size(dependencies)
1147 msize = msg.encoded_size(self.dependencies)
[all …]
/external/brotli/c/enc/
Dencode.c1206 size_t* encoded_size, uint8_t* encoded_buffer) { in BrotliCompressBufferQuality10() argument
1214 const size_t max_out_size = *encoded_size; in BrotliCompressBufferQuality10()
1417 *encoded_size = total_out_size; in BrotliCompressBufferQuality10()
1473 const uint8_t* input_buffer, size_t* encoded_size, in BrotliEncoderCompress() argument
1476 size_t out_size = *encoded_size; in BrotliEncoderCompress()
1486 *encoded_size = 1; in BrotliEncoderCompress()
1495 encoded_size, encoded_buffer); in BrotliEncoderCompress()
1496 if (!ok || (max_out_size && *encoded_size > max_out_size)) { in BrotliEncoderCompress()
1508 size_t available_out = *encoded_size; in BrotliEncoderCompress()
1522 *encoded_size = total_out; in BrotliEncoderCompress()
[all …]
/external/nanopb-c/generator/
Dnanopb_generator.py202 def encoded_size(self): member in Enum
627 def encoded_size(self, dependencies): member in Field
639 encsize = submsg.encoded_size(dependencies)
659 encsize = enumtype.encoded_size()
715 def encoded_size(self, dependencies): member in ExtensionRange
846 def encoded_size(self, dependencies): member in OneOf
851 size = EncodedSize(f.encoded_size(dependencies))
1006 def encoded_size(self, dependencies): member in Message
1012 fsize = field.encoded_size(dependencies)
1243 msize = msg.encoded_size(self.dependencies)
[all …]
/external/webrtc/rtc_base/
Dnat_socket_factory.cc144 size_t encoded_size = size + addrlength; in SendTo() local
146 int result = socket_->SendTo(buf.get(), encoded_size, server_addr_); in SendTo()
148 RTC_DCHECK(result == static_cast<int>(encoded_size)); in SendTo()
/external/webrtc/video/
Dvideo_analyzer.cc905 size_t encoded_size = it == encoded_frame_sizes_.end() ? 0 : it->second; in AddFrameComparison() local
913 recv_time_ms, render_time_ms, encoded_size)); in AddFrameComparison()
917 render_time_ms, encoded_size)); in AddFrameComparison()
/external/python/cpython3/Modules/
D_lzmamodule.c1337 uint32_t encoded_size; in _lzma__encode_filter_properties_impl() local
1340 lzret = lzma_properties_size(&encoded_size, &filter); in _lzma__encode_filter_properties_impl()
1344 result = PyBytes_FromStringAndSize(NULL, encoded_size); in _lzma__encode_filter_properties_impl()
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_encoder.cc1142 size_t encoded_size = 0; in GetEncodedPartitions() local
1146 encoded_size += pkt->data.frame.sz; in GetEncodedPartitions()
1152 auto buffer = EncodedImageBuffer::Create(encoded_size); in GetEncodedPartitions()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2677 size_t encoded_size; in base64_encode() local
2679 if (!EVP_EncodedLength(&encoded_size, inlen)) { in base64_encode()
2682 res = vmalloc(encoded_size+1); in base64_encode()
2687 res->v[encoded_size] = 0; in base64_encode()
/external/libaom/libaom/av1/encoder/
Dlevel.c962 size_t encoded_size, int pic_size, in store_frame_record() argument
975 record->encoded_size_in_bytes = encoded_size; in store_frame_record()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc1239 size_t encoded_size; in CreateNodeDef() local
1255 encoded_size = (last_index + 1) * sizeof(FIELDTYPE); \ in CreateNodeDef()
1256 if (encoded_size < kint32max) { \ in CreateNodeDef()
1303 encoded_size = t->tensor_content().size(); in CreateNodeDef()
1307 if (encoded_size > original_size && encoded_size >= kMaxConstantSize) { in CreateNodeDef()
1310 encoded_size, " >= ", kMaxConstantSize, " bytes)")); in CreateNodeDef()
/external/mesa3d/src/gallium/drivers/iris/
Diris_program.c2092 unsigned encoded_size = ffs(per_thread_scratch) - 11; in iris_get_scratch_space() local
2093 assert(encoded_size < (1 << 16)); in iris_get_scratch_space()
2095 struct iris_bo **bop = &ice->shaders.scratch_bos[encoded_size][stage]; in iris_get_scratch_space()
/external/brotli/c/dec/
Ddecode.c2036 size_t encoded_size, const uint8_t* encoded_buffer, size_t* decoded_size, in BrotliDecoderDecompress() argument
2041 size_t available_in = encoded_size; in BrotliDecoderDecompress()