Home
last modified time | relevance | path

Searched refs:total_length (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/libjpeg-turbo/
Djdicc.c81 unsigned int total_length; in jpeg_read_icc_profile() local
131 total_length = 0; in jpeg_read_icc_profile()
137 data_offset[seq_no] = total_length; in jpeg_read_icc_profile()
138 total_length += data_length[seq_no]; in jpeg_read_icc_profile()
141 if (total_length == 0) { in jpeg_read_icc_profile()
147 icc_data = (JOCTET *)malloc(total_length * sizeof(JOCTET)); in jpeg_read_icc_profile()
168 *icc_data_len = total_length; in jpeg_read_icc_profile()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dndef.c29 u32 total_length; member
75 record->total_length = pos - data; in ndef_parse_record()
76 if (record->total_length > size || in ndef_parse_record()
77 record->total_length < record->payload_length) in ndef_parse_record()
98 data += record.total_length; in ndef_parse_records()
99 len -= record.total_length; in ndef_parse_records()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dndef.c29 u32 total_length; member
75 record->total_length = pos - data; in ndef_parse_record()
76 if (record->total_length > size || in ndef_parse_record()
77 record->total_length < record->payload_length) in ndef_parse_record()
98 data += record.total_length; in ndef_parse_records()
99 len -= record.total_length; in ndef_parse_records()
/third_party/openssl/providers/implementations/rands/seeding/
Drand_vms.c364 size_t total_length = 0; in data_collect_method() local
384 total_length = total_elems * sizeof(data.buffer[0]); in data_collect_method()
458 if (!ossl_assert(total_length >= bytes_needed)) { in data_collect_method()
461 bytes_needed, total_length); in data_collect_method()
468 if (total_length > bytes_remaining) in data_collect_method()
469 total_length = bytes_remaining; in data_collect_method()
472 ossl_rand_pool_add(pool, (unsigned char *)data.buffer, total_length, in data_collect_method()
473 8 * total_length / ENTROPY_FACTOR); in data_collect_method()
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/
Drand_vms.c364 size_t total_length = 0; in data_collect_method() local
384 total_length = total_elems * sizeof(data.buffer[0]); in data_collect_method()
458 if (!ossl_assert(total_length >= bytes_needed)) { in data_collect_method()
461 bytes_needed, total_length); in data_collect_method()
468 if (total_length > bytes_remaining) in data_collect_method()
469 total_length = bytes_remaining; in data_collect_method()
472 ossl_rand_pool_add(pool, (unsigned char *)data.buffer, total_length, in data_collect_method()
473 8 * total_length / ENTROPY_FACTOR); in data_collect_method()
/third_party/skia/third_party/externals/brotli/c/enc/
Dblock_splitter.c42 size_t total_length = 0; in CountLiterals() local
45 total_length += cmds[i].insert_len_; in CountLiterals()
47 return total_length; in CountLiterals()
/third_party/node/deps/brotli/c/enc/
Dblock_splitter.c42 size_t total_length = 0; in CountLiterals() local
45 total_length += cmds[i].insert_len_; in CountLiterals()
47 return total_length; in CountLiterals()
/third_party/ffmpeg/libavcodec/
Davpacket.c317 size_t total_length = 0; in av_packet_pack_dictionary() local
325 memcpy(data + total_length, str, len); in av_packet_pack_dictionary()
326 else if (len > SIZE_MAX - total_length) in av_packet_pack_dictionary()
328 total_length += len; in av_packet_pack_dictionary()
333 data = av_malloc(total_length); in av_packet_pack_dictionary()
336 *size = total_length; in av_packet_pack_dictionary()
Dmlpenc.c1130 int total_length; in write_access_unit() local
1152 total_length = buf - buf0; in write_access_unit()
1154 write_frame_headers(ctx, buf0, buf1, total_length / 2, restart_frame, substream_data_len); in write_access_unit()
1156 return total_length; in write_access_unit()
/third_party/node/deps/v8/src/snapshot/
Dsnapshot.cc502 uint32_t total_length = startup_snapshot_offset; in CreateSnapshotBlob() local
503 total_length += static_cast<uint32_t>(startup_snapshot->RawData().length()); in CreateSnapshotBlob()
504 total_length += static_cast<uint32_t>(read_only_snapshot->RawData().length()); in CreateSnapshotBlob()
505 total_length += in CreateSnapshotBlob()
508 total_length += static_cast<uint32_t>(context_snapshot->RawData().length()); in CreateSnapshotBlob()
511 char* data = new char[total_length]; in CreateSnapshotBlob()
583 DCHECK_EQ(total_length, payload_offset); in CreateSnapshotBlob()
584 v8::StartupData result = {data, static_cast<int>(total_length)}; in CreateSnapshotBlob()
/third_party/ffmpeg/libavformat/
Drtpdec_h264.c212 int total_length = 0; in ff_h264_handle_aggregated_packet() local
231 total_length += sizeof(start_sequence) + nal_size; in ff_h264_handle_aggregated_packet()
255 if ((ret = av_new_packet(pkt, total_length)) < 0) in ff_h264_handle_aggregated_packet()
/third_party/skia/third_party/externals/angle2/src/common/third_party/smhasher/src/
DPMurHash.cpp280 uint32_t PMurHash32_Result(uint32_t h, uint32_t carry, uint32_t total_length) in PMurHash32_Result() argument
292 h ^= total_length; in PMurHash32_Result()
DPMurHash.h53 MH_UINT32 PMurHash32_Result(MH_UINT32 h1, MH_UINT32 carry, MH_UINT32 total_length);
/third_party/mesa3d/src/broadcom/cle/
Dv3d_decoder.c628 ASSERTED uint32_t total_length; in v3d_spec_load() local
663 total_length = zlib_inflate(compress_genxmls, in v3d_spec_load()
666 assert(text_offset + text_length <= total_length); in v3d_spec_load()
/third_party/mbedtls/tests/suites/
Dtest_suite_asn1parse.function649 int total_length,
671 TEST_EQUAL(p - input->x, total_length);
679 TEST_EQUAL(p - input->x, total_length);
/third_party/mesa3d/src/intel/common/
Dintel_decoder.c597 ASSERTED uint32_t total_length; in intel_spec_load() local
630 total_length = zlib_inflate(compress_genxmls, in intel_spec_load()
633 assert(text_offset + text_length <= total_length); in intel_spec_load()
/third_party/node/deps/v8/src/wasm/
Dfunction-body-decoder-impl.h1111 int DecodeLocals(const byte* pc, uint32_t* total_length,
1114 *total_length = 0;
1125 DecodeError(pc + *total_length, "invalid local decls count");
1128 *total_length += length;
1139 read_u32v<validate>(pc + *total_length, &length, "local count");
1141 DecodeError(pc + *total_length, "invalid local count");
1146 DecodeError(pc + *total_length, "local count too large");
1149 *total_length += length;
1152 this, pc + *total_length, &length, this->module_, enabled_);
1154 *total_length += length;
/third_party/node/deps/v8/src/diagnostics/
Dgdb-jit.cc1362 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal() local
1463 total_length.set(static_cast<uint32_t>(w->position() - start)); in WriteBodyInternal()
/third_party/vixl/src/aarch64/
Dmacro-assembler-aarch64.cc2909 size_t total_length = preamble_length + list_length + padding_length; in Emit() local
2912 ExactAssemblyScope guard_total(this, total_length); in Emit()
/third_party/pcre2/pcre2/src/
Dpcre2_jit_compile.c13705 sljit_uw total_length; in jit_compile() local
13883 total_length = ccend - common->start; in jit_compile()
13884 common->private_data_ptrs = (sljit_s32*)SLJIT_MALLOC(total_length * (sizeof(sljit_s32) + (common->h… in jit_compile()
13890 memset(common->private_data_ptrs, 0, total_length * sizeof(sljit_s32)); in jit_compile()
13910 common->then_offsets = (sljit_u8 *)(common->private_data_ptrs + total_length); in jit_compile()
13911 memset(common->then_offsets, 0, total_length); in jit_compile()