Home
last modified time | relevance | path

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

/external/perfetto/src/protozero/
Dproto_utils_unittest.cc33 size_t encoded_size; member
113 ASSERT_EQ(exp.encoded_size, static_cast<size_t>(res - buf)); in TEST()
114 ASSERT_EQ(0, memcmp(buf, exp.encoded, exp.encoded_size)); in TEST()
119 ASSERT_EQ(exp.encoded_size, static_cast<size_t>(res_32 - buf)); in TEST()
120 ASSERT_EQ(0, memcmp(buf, exp.encoded, exp.encoded_size)); in TEST()
181 reinterpret_cast<const uint8_t*>(exp.encoded + exp.encoded_size), in TEST()
183 ASSERT_EQ(reinterpret_cast<const void*>(exp.encoded + exp.encoded_size), in TEST()
Dproto_decoder_unittest.cc173 size_t encoded_size; in TEST() member
204 reinterpret_cast<const uint8_t*>(exp.encoded), exp.encoded_size); in TEST()
/external/v8/src/
Deh-frame.cc408 int* encoded_size) { in DecodeULeb128() argument
419 DCHECK_NOT_NULL(encoded_size); in DecodeULeb128()
420 *encoded_size = static_cast<int>(current - encoded); in DecodeULeb128()
426 int32_t EhFrameIterator::DecodeSLeb128(const byte* encoded, int* encoded_size) { in DecodeSLeb128() argument
444 DCHECK_NOT_NULL(encoded_size); in DecodeSLeb128()
445 *encoded_size = static_cast<int>(current - encoded); in DecodeSLeb128()
Deh-frame.h260 static uint32_t DecodeULeb128(const byte* encoded, int* encoded_size);
261 static int32_t DecodeSLeb128(const byte* encoded, int* encoded_size);
/external/brotli/c/include/brotli/
Dencode.h294 size_t* encoded_size,
295 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/webrtc/webrtc/modules/video_coding/
Dqm_select_unittest.cc48 void UpdateQmEncodedFrame(size_t* encoded_size, size_t num_updates);
317 size_t encoded_size[] = {200, 100, 50, 30, 60, 40, 20, 30, 20, 40}; in TEST_F() local
318 UpdateQmEncodedFrame(encoded_size, GTEST_ARRAY_SIZE_(encoded_size)); in TEST_F()
361 size_t encoded_size[] = {40, 10, 10, 16, 18, 20, 17, 20, 16, 15}; in TEST_F() local
362 UpdateQmEncodedFrame(encoded_size, GTEST_ARRAY_SIZE_(encoded_size)); in TEST_F()
1262 void QmSelectTest::UpdateQmEncodedFrame(size_t* encoded_size, in UpdateQmEncodedFrame() argument
1266 size_t encoded_size_update = 1000 * encoded_size[i] / 8; in UpdateQmEncodedFrame()
Dqm_select.h202 void UpdateEncodedSize(size_t encoded_size);
Dqm_select.cc240 void VCMQmResolution::UpdateEncodedSize(size_t encoded_size) { in UpdateEncodedSize() argument
243 float encoded_size_kbits = 8.0f * static_cast<float>(encoded_size) / 1000.0f; in UpdateEncodedSize()
/external/brotli/c/enc/
Dencode.c1165 size_t* encoded_size, uint8_t* encoded_buffer) { in BrotliCompressBufferQuality10() argument
1173 const size_t max_out_size = *encoded_size; in BrotliCompressBufferQuality10()
1377 *encoded_size = total_out_size; in BrotliCompressBufferQuality10()
1433 const uint8_t* input_buffer, size_t* encoded_size, in BrotliEncoderCompress() argument
1436 size_t out_size = *encoded_size; in BrotliEncoderCompress()
1446 *encoded_size = 1; in BrotliEncoderCompress()
1455 encoded_size, encoded_buffer); in BrotliEncoderCompress()
1456 if (!ok || (max_out_size && *encoded_size > max_out_size)) { in BrotliEncoderCompress()
1468 size_t available_out = *encoded_size; in BrotliEncoderCompress()
1482 *encoded_size = total_out; in BrotliEncoderCompress()
[all …]
/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/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/webrtc/base/
Dnatsocketfactory.cc148 size_t encoded_size = size + addrlength; in SendTo() local
150 int result = socket_->SendTo(buf.get(), encoded_size, server_addr_); in SendTo()
152 ASSERT(result == static_cast<int>(encoded_size)); in SendTo()
/external/v8/src/wasm/
Dfunction-body-decoder.h72 uint32_t encoded_size = 0; // size of encoded declarations member
Dfunction-body-decoder.cc818 decls->encoded_size = decoder.pc_offset(); in DecodeLocalDecls()
829 pc_ += decls->encoded_size; in BytecodeIterator()
Dwasm-objects.cc160 DCHECK_LT(0, locals.encoded_size); in IsBreakablePosition()
594 DCHECK_LT(0u, locals.encoded_size); in GetPossibleBreakpoints()
Dwasm-interpreter.cc1305 return code->locals.encoded_size; in InitLocals()
3131 if (pc < code->locals.encoded_size || pc >= size) return false; in SetBreakpoint()
3151 if (pc < code->locals.encoded_size || pc >= size) return false; in GetBreakpoint()
/external/python/cpython3/Modules/
D_lzmamodule.c1343 uint32_t encoded_size; in _lzma__encode_filter_properties_impl() local
1346 lzret = lzma_properties_size(&encoded_size, &filter); in _lzma__encode_filter_properties_impl()
1350 result = PyBytes_FromStringAndSize(NULL, encoded_size); in _lzma__encode_filter_properties_impl()
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc451 const size_t encoded_size = in Java_org_tensorflow_Tensor_allocateNonScalarBytes() local
455 8 * num_elements + encoded_size); in Java_org_tensorflow_Tensor_allocateNonScalarBytes()
/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/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc1079 size_t encoded_size; in CreateNodeDef() local
1097 encoded_size = (last_index + 1) * sizeof(NAME); \ in CreateNodeDef()
1143 encoded_size = t->tensor_content().size(); in CreateNodeDef()
1147 if (encoded_size > original_size && encoded_size >= 10 * 1024 * 1024) { in CreateNodeDef()
1150 encoded_size, " >= ", 10 * 1024 * 1024, " bytes)")); in CreateNodeDef()
/external/webrtc/webrtc/video/
Dvideo_quality_test.cc341 size_t encoded_size = it == encoded_frame_sizes_.end() ? 0 : it->second; in AddFrameComparison() local
353 render_time_ms, encoded_size)); in AddFrameComparison()
/external/v8/src/compiler/
Dwasm-compiler.cc2026 uint32_t encoded_size = 0; in GetExceptionEncodedSize() local
2032 encoded_size += byte_size / kBytesPerExceptionValuesArrayElement; in GetExceptionEncodedSize()
2034 return encoded_size; in GetExceptionEncodedSize()
2041 uint32_t encoded_size = GetExceptionEncodedSize(exception); in Throw() local
2044 BuildChangeUint31ToSmi(Uint32Constant(encoded_size))}; in Throw()
2075 DCHECK_EQ(encoded_size, index); in Throw()
2137 uint32_t encoded_size = GetExceptionEncodedSize(except_decl); in GetExceptionValues() local
2138 Node** values = Buffer(encoded_size); in GetExceptionValues()
2139 for (uint32_t i = 0; i < encoded_size; ++i) { in GetExceptionValues()
2175 DCHECK_EQ(index, encoded_size); in GetExceptionValues()
/external/brotli/c/dec/
Ddecode.c1954 size_t encoded_size, const uint8_t* encoded_buffer, size_t* decoded_size, in BrotliDecoderDecompress() argument
1959 size_t available_in = encoded_size; in BrotliDecoderDecompress()