/third_party/protobuf/benchmarks/php/ |
H A D | PhpBenchmark.php | 50 private $total_bytes; variable 53 public function __construct($benchmark_name, $args, $total_bytes, 58 $this->total_bytes = $total_bytes; variable 65 return $this->total_bytes * $times / 104 $total_bytes = 0; variable 110 $total_bytes += strlen($payloads->offsetGet($i)); 115 array($dataset, $message_name), $total_bytes); 118 $message_list, $total_bytes);
|
/third_party/protobuf/benchmarks/python/ |
H A D | py_benchmark.py | 47 total_bytes = 0 49 total_bytes += len(payload) 53 total_bytes=total_bytes) 68 global benchmark_dataset, message_class, message_list, counter, total_bytes 71 total_bytes = 0 93 total_bytes += len(one_payload) 110 setup_method=None, total_bytes=None, full_iteration = 1): 115 self.total_bytes = total_bytes [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_cat_benchmark.cc | 141 void BM_StrAppendImpl(benchmark::State& state, size_t total_bytes, in BM_StrAppendImpl() argument 145 while (result.size() < total_bytes) { in BM_StrAppendImpl() 153 const int total_bytes = state.range(0); in BM_StrAppend() local 159 return BM_StrAppendImpl(state, total_bytes, kChunk); in BM_StrAppend() 161 return BM_StrAppendImpl(state, total_bytes, kChunk, kChunk); in BM_StrAppend() 163 return BM_StrAppendImpl(state, total_bytes, kChunk, kChunk, kChunk, in BM_StrAppend() 166 return BM_StrAppendImpl(state, total_bytes, kChunk, kChunk, kChunk, in BM_StrAppend()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | allocate.c | 57 desc->total_bytes = 0; in drop_all_allocations() 108 desc->total_bytes += chunking; in allocate() 127 x->name, x->allocations, x->useful_bytes, x->total_bytes, in show_allocations() 128 100 * (double) x->useful_bytes / x->total_bytes, in show_allocations() 137 s->total_bytes = x->total_bytes; in get_allocator_stats()
|
H A D | stats.c | 20 x.name, x.allocations, x.useful_bytes, x.total_bytes, in show_stats() 21 100 * (double) x.useful_bytes / (x.total_bytes ? : 1), in show_stats() 26 tot->total_bytes += x.total_bytes; in show_stats()
|
H A D | allocate.h | 20 unsigned long total_bytes, useful_bytes; member 26 unsigned long total_bytes, useful_bytes; member
|
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
H A D | sched_tc6.c | 318 long total_bytes; in read_file() local 326 total_bytes = 0; in read_file() 334 total_bytes = total_bytes + bytes_read; in read_file() 340 printf("\r\ttotal bytes read = %ld", total_bytes); in read_file() 343 total_bytes = 0; in read_file()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv84_video_bsp.c | 94 unsigned total_bytes = 0; in nv84_decoder_bsp() local 193 assert(total_bytes + num_bytes[i] < dec->bitstream->size / 2 - 0x700); in nv84_decoder_bsp() 194 memcpy(dec->bitstream->map + 0x700 + total_bytes, data[i], num_bytes[i]); in nv84_decoder_bsp() 195 total_bytes += num_bytes[i]; in nv84_decoder_bsp() 197 memcpy(dec->bitstream->map + 0x700 + total_bytes, end, sizeof(end)); in nv84_decoder_bsp() 198 total_bytes += sizeof(end); in nv84_decoder_bsp() 199 more_params[1] = total_bytes; in nv84_decoder_bsp()
|
/third_party/ffmpeg/libavcodec/ |
H A D | libvorbisdec.c | 158 int samples, total_samples, total_bytes; in oggvorbis_decode_frame() local 186 total_bytes = 0 ; in oggvorbis_decode_frame() 189 conv(samples, pcm, (char*)output + total_bytes, context->vi.channels) ; in oggvorbis_decode_frame() 190 total_bytes += samples * 2 * context->vi.channels ; in oggvorbis_decode_frame()
|
H A D | opus.c | 203 int total_bytes = 0; in ff_opus_parse_packet() local 209 total_bytes += frame_bytes; in ff_opus_parse_packet() 214 if (len < 0 || len + total_bytes + padding > end - ptr) in ff_opus_parse_packet() 216 end = ptr + total_bytes + len + padding; in ff_opus_parse_packet() 221 if (total_bytes > frame_bytes) in ff_opus_parse_packet() 226 pkt->frame_size[pkt->frame_count-1] = frame_bytes - total_bytes; in ff_opus_parse_packet()
|
/third_party/cups-filters/backend/ |
H A D | parallel.c | 549 total_bytes, /* Total bytes written */ in run_loop() local 613 paperout = -1, total_bytes = 0;;) in run_loop() 645 else if (errno == EINTR && total_bytes == 0) in run_loop() 786 total_bytes += bytes; in run_loop() 795 return (total_bytes); in run_loop()
|
H A D | serial.c | 94 total_bytes, /* Total bytes written */ in main() local 503 total_bytes = 0; in main() 688 total_bytes += bytes; in main()
|
/third_party/python/Tools/peg_generator/scripts/ |
H A D | test_parse_directory.py | 86 total_bytes = 0 92 total_bytes += f.tell() 96 f"{total_bytes:,} bytes in {total_seconds:,.3f} seconds.", 101 f"or {total_bytes / total_seconds :,.0f} bytes/sec.",
|
/third_party/backends/backend/genesys/ |
H A D | low.cpp | 372 std::size_t total_bytes) in read_unshuffled_image_from_scanner() 386 if (total_bytes > max_bytes) { in read_unshuffled_image_from_scanner() 387 throw SaneException("Trying to read too much data %zu (max %zu)", total_bytes, max_bytes); in read_unshuffled_image_from_scanner() 389 if (total_bytes != max_bytes) { in read_unshuffled_image_from_scanner() 391 total_bytes, max_bytes); in read_unshuffled_image_from_scanner() 394 sanei_genesys_read_data_from_scanner(dev, image.get_row_ptr(0), total_bytes); in read_unshuffled_image_from_scanner() 447 std::size_t total_bytes = 0; in read_shuffled_image_from_scanner() local 466 total_bytes = session.output_total_bytes_raw; in read_shuffled_image_from_scanner() 468 total_bytes = session.params.channels * 2 * pixels_per_line * (session.params.lines + 1); in read_shuffled_image_from_scanner() 488 if (total_bytes > max_byte in read_shuffled_image_from_scanner() 371 read_unshuffled_image_from_scanner(Genesys_Device* dev, const ScanSession& session, std::size_t total_bytes) read_unshuffled_image_from_scanner() argument [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_nir_lower_esgs_io_to_mem.c | 61 unsigned total_bytes = num_components * bit_size / 8u; in emit_split_buffer_load() local 62 unsigned full_dwords = total_bytes / 4u; in emit_split_buffer_load() 63 unsigned remaining_bytes = total_bytes - full_dwords * 4u; in emit_split_buffer_load()
|
/third_party/backends/backend/ |
H A D | gt68xx.c | 2078 s->total_bytes = 0; in sane_start() 2164 *len, s->total_bytes); in sane_read() 2225 SANE_Int color = (s->total_bytes / 2) % 3; in sane_read() 2226 if ((s->total_bytes % 2) == 0) in sane_read() 2242 if (s->total_bytes % (inflate_x * 6) == (inflate_x * 6 - 1)) in sane_read() 2248 SANE_Int color = s->total_bytes % 3; in sane_read() 2250 if (s->total_bytes % (inflate_x * 3) == (inflate_x * 3 - 1)) in sane_read() 2266 if ((s->total_bytes % 2) == 0) in sane_read() 2281 if (s->total_bytes % (2 * inflate_x) == (2 * inflate_x - 1)) in sane_read() 2288 if (s->total_bytes in sane_read() [all...] |
H A D | ma1509.h | 161 SANE_Word total_bytes; /* bytes read from scanner */ member
|
H A D | epjitsu.h | 72 int total_bytes; member 227 int total_bytes; member
|
H A D | gt68xx_high.h | 263 SANE_Int total_bytes; /**< Bytes already transmitted */ member
|
H A D | mustek.h | 274 SANE_Word total_bytes; /* bytes transmitted by sane_read */ member
|
/third_party/protobuf/benchmarks/util/ |
H A D | result_parser.py | 222 total_bytes, _ = __get_data_size(full_filename) 231 "throughput": total_bytes / float(result_list[2]) * 1e9 / 2 ** 20,
|
/third_party/node/src/ |
H A D | stream_base.cc | 90 size_t total_bytes = 0; in Write() local 91 for (size_t i = 0; i < count; ++i) total_bytes += bufs[i].len; in Write() 92 bytes_written_ += total_bytes; in Write() 97 return StreamWriteResult{false, err, nullptr, total_bytes, {}}; in Write() 137 async, err, req_wrap, total_bytes, std::move(req_wrap_ptr)}; in Write()
|
/third_party/musl/porting/linux/user/src/gwp_asan/ |
H A D | gwp_asan.c | 425 size_t total_bytes;
in libc_gwp_asan_calloc() local 427 if (!__builtin_mul_overflow(nmemb, size, &total_bytes)) {
in libc_gwp_asan_calloc() 429 result = gwp_asan_malloc(total_bytes);
in libc_gwp_asan_calloc()
|
/third_party/musl/src/gwp_asan/linux/ |
H A D | gwp_asan.c | 425 size_t total_bytes;
in libc_gwp_asan_calloc() local 427 if (!__builtin_mul_overflow(nmemb, size, &total_bytes)) {
in libc_gwp_asan_calloc() 429 result = gwp_asan_malloc(total_bytes);
in libc_gwp_asan_calloc()
|
/third_party/python/Lib/http/ |
H A D | client.py | 602 total_bytes = 0 608 return total_bytes 613 return total_bytes + n 618 total_bytes += n 622 raise IncompleteRead(bytes(b[0:total_bytes]))
|