Home
last modified time | relevance | path

Searched refs:total_length (Results 1 - 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djdicc.c81 unsigned int total_length; in GLOBAL() local
131 total_length = 0; in GLOBAL()
137 data_offset[seq_no] = total_length; in GLOBAL()
138 total_length += data_length[seq_no]; in GLOBAL()
141 if (total_length == 0) { in GLOBAL()
147 icc_data = (JOCTET *)malloc(total_length * sizeof(JOCTET)); in GLOBAL()
168 *icc_data_len = total_length; in GLOBAL()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A 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_standard/src/wps/
H A 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/node/deps/openssl/openssl/providers/implementations/rands/seeding/
H A 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() local
473 8 * total_length / ENTROPY_FACTOR); in data_collect_method()
/third_party/openssl/providers/implementations/rands/seeding/
H A 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() local
473 8 * total_length / ENTROPY_FACTOR); in data_collect_method()
/third_party/node/deps/brotli/c/enc/
H A 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/skia/third_party/externals/brotli/c/enc/
H A 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/v8/src/snapshot/
H A 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/libavcodec/
H A 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()
H A 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/ffmpeg/libavformat/
H A 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/
H A DPMurHash.h53 MH_UINT32 PMurHash32_Result(MH_UINT32 h1, MH_UINT32 carry, MH_UINT32 total_length);
H A DPMurHash.cpp279 /* Finalize a hash. To match the original Murmur3A the total_length must be provided */
280 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()
/third_party/mesa3d/src/broadcom/cle/
H A 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/mesa3d/src/intel/common/
H A 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/
H A Dfunction-body-decoder-impl.h1108 // Writes the total length of decoded locals in {total_length}.
1111 int DecodeLocals(const byte* pc, uint32_t* total_length, in DecodeLocals() argument
1114 *total_length = 0; in DecodeLocals()
1125 DecodeError(pc + *total_length, "invalid local decls count"); in DecodeLocals()
1128 *total_length += length; in DecodeLocals()
1139 read_u32v<validate>(pc + *total_length, &length, "local count"); in DecodeLocals()
1141 DecodeError(pc + *total_length, "invalid local count"); in DecodeLocals()
1146 DecodeError(pc + *total_length, "local count too large"); in DecodeLocals()
1149 *total_length += length; in DecodeLocals()
1152 this, pc + *total_length, in DecodeLocals()
[all...]
/third_party/node/deps/v8/src/diagnostics/
H A Dgdb-jit.cc1362 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>();
1463 total_length.set(static_cast<uint32_t>(w->position() - start));
/third_party/vixl/src/aarch64/
H A Dmacro-assembler-aarch64.cc2976 size_t total_length = preamble_length + list_length + padding_length; in Emit()
2979 ExactAssemblyScope guard_total(this, total_length); in Emit()
/third_party/pcre2/pcre2/src/
H A 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->has_then ? 1 : 0)), allocator_data); 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()

Completed in 40 milliseconds