/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
D | count_instructions.c | 30 u64 overhead, bool report) in do_count_loop() argument 45 expected = instructions + overhead; in do_count_loop() 53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop() 76 u64 current, overhead; in determine_overhead() local 80 overhead = events[0].result.value; in determine_overhead() 85 if (current < overhead) { in determine_overhead() 86 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead() 87 overhead = current; in determine_overhead() 91 return overhead; in determine_overhead() 97 u64 overhead; in test_body() local [all …]
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
D | instruction_count_test.c | 26 uint64_t overhead, bool report) in do_count_loop() argument 46 expected = instructions + overhead; in do_count_loop() 51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); in do_count_loop() 72 uint64_t current, overhead; in determine_overhead() local 76 overhead = event->result.value; in determine_overhead() 81 if (current < overhead) { in determine_overhead() 82 printf("Replacing overhead %lu with %lu\n", overhead, current); in determine_overhead() 83 overhead = current; in determine_overhead() 87 return overhead; in determine_overhead() 112 uint64_t overhead; in instruction_count() local [all …]
|
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | tmmb_item.cc | 19 TmmbItem::TmmbItem(uint32_t ssrc, uint64_t bitrate_bps, uint16_t overhead) in TmmbItem() argument 20 : ssrc_(ssrc), bitrate_bps_(bitrate_bps), packet_overhead_(overhead) { in TmmbItem() 21 RTC_DCHECK_LE(overhead, 0x1ffu); in TmmbItem() 38 uint16_t overhead = compact & 0x1ff; // 9 bits. in Parse() local 48 packet_overhead_ = overhead; in Parse() 66 void TmmbItem::set_packet_overhead(uint16_t overhead) { in set_packet_overhead() argument 67 RTC_DCHECK_LE(overhead, 0x1ffu); in set_packet_overhead() 68 packet_overhead_ = overhead; in set_packet_overhead()
|
D | tmmb_item.h | 27 TmmbItem(uint32_t ssrc, uint64_t bitrate_bps, uint16_t overhead); 34 void set_packet_overhead(uint16_t overhead);
|
/external/e2fsprogs/tests/f_badsymlinks2/ |
D | mkimage.sh | 41 local overhead=0 45 overhead=2 63 symlink $((59 - overhead)) $dir/fast_max > /dev/null 65 symlink $((60 - overhead)) $dir/slow_min > /dev/null 73 symlink $((BLOCKSIZE - 1 - overhead)) $dir/slow_max > /dev/null 75 ino=$(symlink $((BLOCKSIZE - 1 - overhead)) $dir/one_too_long) 79 set_encrypted_symlink_len $ino $((BLOCKSIZE - overhead)) 82 ino=$(symlink $((BLOCKSIZE - 1 - overhead)) $dir/too_long) 86 set_encrypted_symlink_len $ino $((BLOCKSIZE + 1000 - overhead))
|
/external/apache-http/android/src/com/android/internal/http/multipart/ |
D | Part.java | 330 ByteArrayOutputStream overhead = new ByteArrayOutputStream(); in length() local 331 sendStart(overhead); in length() 332 sendDispositionHeader(overhead); in length() 333 sendContentTypeHeader(overhead); in length() 334 sendTransferEncodingHeader(overhead); in length() 335 sendEndOfHeader(overhead); in length() 336 sendEnd(overhead); in length() 337 return overhead.size() + lengthOfData(); in length()
|
/external/libchrome/base/trace_event/ |
D | trace_buffer.cc | 107 TraceEventMemoryOverhead* overhead) override { in EstimateTraceMemoryOverhead() argument 108 overhead->Add(TraceEventMemoryOverhead::kTraceBuffer, sizeof(*this)); in EstimateTraceMemoryOverhead() 114 chunks_[chunk_index]->EstimateTraceMemoryOverhead(overhead); in EstimateTraceMemoryOverhead() 219 TraceEventMemoryOverhead* overhead) override { in EstimateTraceMemoryOverhead() argument 224 overhead->Add(TraceEventMemoryOverhead::kTraceBuffer, in EstimateTraceMemoryOverhead() 232 chunk->EstimateTraceMemoryOverhead(overhead); in EstimateTraceMemoryOverhead() 266 TraceEventMemoryOverhead* overhead) { in EstimateTraceMemoryOverhead() argument 282 overhead->Update(*cached_overhead_estimate_); in EstimateTraceMemoryOverhead() 296 overhead->Add(TraceEventMemoryOverhead::kUnusedTraceEvent, in EstimateTraceMemoryOverhead() 300 overhead->Update(*cached_overhead_estimate_); in EstimateTraceMemoryOverhead()
|
/external/iproute2/tc/ |
D | q_tbf.c | 47 unsigned short overhead = 0; in tbf_parse_opt() local 147 if (overhead) { in tbf_parse_opt() 151 if (get_u16(&overhead, *argv, 10)) { in tbf_parse_opt() 217 opt.rate.overhead = overhead; in tbf_parse_opt() 226 opt.peakrate.overhead = overhead; in tbf_parse_opt() 320 if (qopt->rate.overhead) { in tbf_print_opt() 321 fprintf(f, "overhead %d", qopt->rate.overhead); in tbf_print_opt()
|
D | tc_stab.c | 48 s->overhead != 0; in check_size_table_opts() 77 if (s.overhead) in parse_size_table() 79 if (get_integer(&s.overhead, *argv, 10)) in parse_size_table() 125 if (s.overhead) in print_size_table() 126 fprintf(fp, "overhead %d ", s.overhead); in print_size_table()
|
D | q_htb.c | 121 unsigned short overhead = 0; in htb_parse_class_opt() local 145 if (get_u16(&overhead, *argv, 10)) { in htb_parse_class_opt() 230 opt.ceil.overhead = overhead; in htb_parse_class_opt() 231 opt.rate.overhead = overhead; in htb_parse_class_opt() 304 if (hopt->rate.overhead) in htb_print_opt() 305 fprintf(f, "overhead %u ", hopt->rate.overhead); in htb_print_opt()
|
D | m_police.c | 67 unsigned short overhead = 0; in act_parse_police() local 165 if (get_u16(&overhead, *argv, 10)) { in act_parse_police() 213 p.rate.overhead = overhead; in act_parse_police() 224 p.peakrate.overhead = overhead; in act_parse_police() 308 fprintf(f, "overhead %ub ", p->rate.overhead); in print_police()
|
D | q_cbq.c | 56 unsigned short overhead = 0; in cbq_parse_opt() local 118 if (get_u16(&overhead, *argv, 10)) { in cbq_parse_opt() 151 r.overhead = overhead; in cbq_parse_opt() 193 unsigned short overhead = 0; in cbq_parse_class_opt() local 332 if (get_u16(&overhead, *argv, 10)) { in cbq_parse_class_opt() 360 r.overhead = overhead; in cbq_parse_class_opt() 497 if (r->overhead) in cbq_print_opt() 498 fprintf(f, "overhead %ub ", r->overhead); in cbq_print_opt()
|
/external/ltp/testcases/kernel/sched/tool/ |
D | time-schedule.c | 102 signed long overhead, total_diffs; in main() local 204 overhead = 1000000 * (after.tv_sec - before.tv_sec); in main() 205 overhead += after.tv_usec - before.tv_usec; in main() 250 (double)overhead / 20.0); in main() 255 (double)min_diff / 20.0, (double)(min_diff - overhead) / 20.0); in main() 258 (double)median / 20.0, (double)(median - overhead) / 20.0); in main() 261 (double)(total_diffs - overhead * MAX_ITERATIONS) / in main() 264 (double)max_diff / 20.0, (double)(max_diff - overhead) / 20.0); in main()
|
/external/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 96 unsigned int overhead = 0; in ext2fs_initialize() local 406 overhead = (int) (3 + fs->inode_blocks_per_group + in ext2fs_initialize() 410 overhead++; in ext2fs_initialize() 412 overhead += fs->desc_blocks; in ext2fs_initialize() 415 if (overhead > super->s_blocks_per_group) { in ext2fs_initialize() 427 overhead = (int) (2 + fs->inode_blocks_per_group); in ext2fs_initialize() 441 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; in ext2fs_initialize() 444 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) { in ext2fs_initialize() 448 if (rem && (rem < overhead+50)) { in ext2fs_initialize()
|
/external/pdfium/core/fxcrt/ |
D | string_data_template.h | 24 int overhead = offsetof(StringDataTemplate, m_String) + sizeof(CharType); in Create() local 27 nSize += overhead; in Create() 36 size_t usableLen = (totalSize - overhead) / sizeof(CharType); in Create()
|
/external/webrtc/logging/rtc_event_log/events/ |
D | rtc_event_route_change.h | 22 RtcEventRouteChange(bool connected, uint32_t overhead); 32 uint32_t overhead() const { return overhead_; } in overhead() function
|
D | rtc_event_route_change.cc | 17 RtcEventRouteChange::RtcEventRouteChange(bool connected, uint32_t overhead) in RtcEventRouteChange() argument 18 : connected_(connected), overhead_(overhead) {} in RtcEventRouteChange()
|
/external/strace/ |
D | count.c | 49 static struct timespec overhead; variable 121 overhead.tv_sec = n / 1000000; in set_overhead() 122 overhead.tv_nsec = n % 1000000 * 1000; in set_overhead() 151 ts_mul(&dtv, &overhead, counts[i].calls); in call_summary_pers()
|
/external/iputils/ |
D | tracepath6.c | 63 int overhead; variable 343 if (sendto(fd, pktbuf, mtu-overhead, 0, (struct sockaddr *)&target, targetlen) > 0) in probe_ttl() 473 overhead = 48; in main() 476 if (mtu <= overhead) in main() 507 overhead = 28; in main() 510 if (mtu <= overhead) in main() 586 overhead, INT_MAX); in main()
|
/external/e2fsprogs/contrib/ |
D | dir2fs | 32 overhead="$(( sb_overhead + (per_grp_overhead * nr_groups) ))" 63 overhead="$((blocks - dir_blocks))"
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 694 blk64_t overhead = 0; in adjust_fs_info() local 722 overhead = (int) (2 + fs->inode_blocks_per_group); in adjust_fs_info() 737 overhead += 1 + fs->desc_blocks + in adjust_fs_info() 747 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) in adjust_fs_info() 749 if ((fs->group_desc_count > 1) && rem && (rem < overhead+50)) { in adjust_fs_info() 2872 int overhead; in calc_group_overhead() local 2875 overhead = fs->inode_blocks_per_group + 2; in calc_group_overhead() 2880 overhead++; in calc_group_overhead() 2882 overhead += old_desc_blocks; in calc_group_overhead() 2884 overhead++; in calc_group_overhead() [all …]
|
/external/skia/src/core/ |
D | SkArenaAlloc.cpp | 72 constexpr uint32_t overhead = headerSize + sizeof(Footer); in ensureSpace() local 73 AssertRelease(size <= maxSize - overhead); in ensureSpace() 74 uint32_t objSizeAndOverhead = size + overhead; in ensureSpace()
|
/external/skqp/src/core/ |
D | SkArenaAlloc.cpp | 104 constexpr uint32_t overhead = headerSize + sizeof(Footer); in ensureSpace() local 105 AssertRelease(size <= maxSize - overhead); in ensureSpace() 106 uint32_t objSizeAndOverhead = size + overhead; in ensureSpace()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/ |
D | PerfOutputWriter.java | 73 double overhead = 100 * (subject - reference) / reference; in writeResult() local 77 Double.valueOf(overhead)); in writeResult()
|
/external/webrtc/modules/audio_coding/audio_network_adaptor/ |
D | config.proto | 98 // Offset to apply to the per-packet overhead when increasing frame length. 101 // Offset to apply to the per-packet overhead when decreasing frame length. 123 // bitrate and subtracting the overhead bitrate to obtain the remaining 153 // Offset to apply to per-packet overhead when the frame length is increased. 155 // Offset to apply to per-packet overhead when the frame length is decreased.
|