Searched refs:overhead (Results 1 - 25 of 57) sorted by relevance

123

/external/iproute2/tc/
H A Dq_tbf.c30 fprintf(stderr, "[ overhead BYTES ] [ linklayer TYPE ]\n");
47 unsigned short overhead=0; local
134 } else if (matches(*argv, "overhead") == 0) {
136 if (overhead) {
137 fprintf(stderr, "Double \"overhead\" spec\n");
140 if (get_u16(&overhead, *argv, 10)) {
141 explain1("overhead"); return -1;
191 opt.rate.overhead = overhead;
200 opt.peakrate.overhead
[all...]
H A Dtc_stab.c34 " [ overhead BYTES ] [ linklayer TYPE ] ...\n"
38 " overhead : per-packet size overhead used in rate computations\n"
40 "Example: ... stab overhead 20 linklayer atm\n");
48 s->overhead != 0;
81 } else if (matches(*argv, "overhead") == 0) {
83 if (s.overhead)
84 duparg("overhead", *argv);
85 if (get_integer(&s.overhead, *argv, 10)) {
86 invarg("overhead", "invali
[all...]
H A Dm_police.c38 fprintf(stderr, " [ peakrate BPS ] [ avrate BPS ] [ overhead BYTES ]\n");
137 unsigned short overhead=0; local
240 } else if (matches(*argv, "overhead") == 0) {
242 if (get_u16(&overhead, *argv, 10)) {
243 explain1("overhead"); return -1;
279 p.rate.overhead = overhead;
289 p.peakrate.overhead = overhead;
362 fprintf(f, "overhead
[all...]
H A Dq_htb.c37 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n"
43 " overhead per-packet size overhead used in rate computations\n"
110 unsigned short overhead = 0; local
133 } else if (matches(*argv, "overhead") == 0) {
135 if (get_u16(&overhead, *argv, 10)) {
136 explain1("overhead"); return -1;
214 opt.ceil.overhead = overhead;
215 opt.rate.overhead
[all...]
H A Dq_cbq.c35 fprintf(stderr, " [ overhead BYTES ] [ linklayer TYPE ]\n");
56 unsigned short overhead=0; local
118 } else if (matches(*argv, "overhead") == 0) {
120 if (get_u16(&overhead, *argv, 10)) {
121 explain1("overhead"); return -1;
153 r.overhead = overhead;
195 unsigned short overhead=0; local
335 } else if (matches(*argv, "overhead") == 0) {
337 if (get_u16(&overhead, *arg
[all...]
/external/libnl/include/netlink/route/sch/
H A Dhtb.h34 extern void rtnl_htb_set_overhead(struct rtnl_class *, uint8_t overhead);
/external/strace/
H A Dcount.c132 static struct timeval overhead = { -1, -1 }; variable in typeref:struct:timeval
152 overhead.tv_sec = n / 1000000;
153 overhead.tv_usec = n % 1000000;
178 if (overhead.tv_sec == -1) {
179 tv_mul(&overhead, &shortest, 8);
180 tv_div(&overhead, &overhead, 10);
186 tv_mul(&dtv, &overhead, counts[i].calls);
/external/chromium_org/third_party/skia/bench/
H A Dnanobench.cpp58 DEFINE_int32(overheadLoops, 100000, "Loops to estimate timer overhead.");
60 "Loop until timer overhead is at most this fraction of our measurments.");
110 double overhead = 0; local
112 overhead += time(1, NULL, NULL, NULL);
114 return overhead / FLAGS_overheadLoops;
160 static int cpu_bench(const double overhead, Benchmark* bench, SkCanvas* canvas, double* samples) { argument
161 // First figure out approximately how many loops of bench it takes to make overhead negligible.
165 while (bench_plus_overhead < overhead) {
168 bench->getUniqueName(), HUMANIZE(bench_plus_overhead), HUMANIZE(overhead));
176 // We'll pick N to make timer overhead negligibl
600 const double overhead = estimate_timer_overhead(); local
[all...]
/external/nanohttpd/
H A DREADME.md18 * Supports file upload (since version 1.2, 2010) with minimal memory overhead.
22 * Very low memory overhead when processing even the largest of requests.
37 * File server serves also very long files without memory overhead.
/external/chromium_org/third_party/boringssl/src/crypto/cipher/
H A Daead.c29 size_t EVP_AEAD_max_overhead(const EVP_AEAD *aead) { return aead->overhead; }
73 size_t possible_out_len = in_len + ctx->aead->overhead;
H A Dinternal.h115 uint8_t overhead; member in struct:evp_aead_st
/external/libnl/lib/route/sch/
H A Dhtb.c223 nl_dump(p, " overhead %u", d->ch_overhead);
273 uint8_t overhead = 0, mpu = 0; local
325 overhead = d->ch_overhead;
330 opts.rate.mpu = mpu | (overhead << 8);
331 opts.ceil.mpu = mpu | (overhead << 8);
335 rtnl_tc_build_rate_table(rtable, mpu, overhead,
340 rtnl_tc_build_rate_table(ctable, mpu, overhead,
484 * Set per-packet size overhead used in rate computations of HTB class.
486 * @arg overhead Size in bytes.
488 void rtnl_htb_set_overhead(struct rtnl_class *class, uint8_t overhead) argument
[all...]
/external/chromium_org/net/quic/crypto/
H A Dcrypto_framer.cc99 const size_t overhead = kQuicTagSize + kCryptoEndOffsetSize; local
100 if (delta > overhead) {
101 pad_length = delta - overhead;
103 len += overhead + pad_length;
/external/chromium_org/third_party/boringssl/src/ssl/
H A Ds3_cbc.c115 const unsigned overhead = 1 /* padding length byte */ + mac_size; local
119 if (overhead > rec->length)
123 good = constant_time_ge(rec->length, padding_length+overhead);
149 const unsigned overhead = 1 /* padding length byte */ + mac_size; local
156 if (overhead + block_size > rec->length)
163 else if (overhead > rec->length)
168 good = constant_time_ge(rec->length, overhead+padding_length);
/external/e2fsprogs/lib/ext2fs/
H A Dinitialize.c91 unsigned int overhead = 0; local
378 overhead = (int) (3 + fs->inode_blocks_per_group +
382 if (overhead > super->s_blocks_per_group) {
390 * it. We need to recalculate the overhead for the last block
394 overhead = (int) (2 + fs->inode_blocks_per_group);
396 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks;
399 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) {
403 if (rem && (rem < overhead+50)) {
/external/iputils/
H A Dtracepath6.c63 int overhead; variable
343 if (sendto(fd, pktbuf, mtu-overhead, 0, (struct sockaddr *)&target, targetlen) > 0)
473 overhead = 48;
476 if (mtu <= overhead)
507 overhead = 28;
510 if (mtu <= overhead)
586 overhead, INT_MAX);
H A Dtracepath.c51 const int overhead = 28; variable
273 if (sendto(fd, pktbuf, mtu-overhead, 0, (struct sockaddr*)&target, sizeof(target)) > 0)
328 if ((mtu = atoi(optarg)) <= overhead) {
330 overhead, INT_MAX);
/external/openssl/ssl/
H A Ds3_cbc.c85 const unsigned overhead = 1 /* padding length byte */ + mac_size; local
89 if (overhead > rec->length)
93 good = constant_time_ge(rec->length, padding_length+overhead);
119 const unsigned overhead = 1 /* padding length byte */ + mac_size; local
126 if (overhead + block_size > rec->length)
133 else if (overhead > rec->length)
165 good = constant_time_ge(rec->length, overhead+padding_length);
736 * HMAC adds a constant overhead.
/external/chromium_org/net/quic/
H A Dquic_packet_creator_test.cc111 // Returns the number of bytes of overhead that will be added to a packet
471 const size_t overhead = GetPacketHeaderOverhead(NOT_IN_FEC_GROUP) local
473 size_t capacity = kDefaultMaxPacketSize - overhead;
629 const size_t overhead = GetPacketHeaderOverhead(NOT_IN_FEC_GROUP) local
631 for (size_t i = overhead; i < overhead + 100; ++i) {
633 const bool should_have_room = i > overhead + GetStreamFrameOverhead(
653 // Compute the total overhead for a single frame in packet.
654 const size_t overhead = GetPacketHeaderOverhead(NOT_IN_FEC_GROUP) local
656 size_t capacity = kDefaultMaxPacketSize - overhead;
[all...]
/external/e2fsprogs/resize/
H A Dresize2fs.c317 blk64_t overhead = 0; local
345 overhead = (int) (2 + fs->inode_blocks_per_group);
348 overhead += 1 + fs->desc_blocks +
358 if ((fs->group_desc_count == 1) && rem && (rem < overhead))
360 if ((fs->group_desc_count > 1) && rem && (rem < overhead+50)) {
2026 int overhead; local
2029 overhead = fs->inode_blocks_per_group + 2;
2034 overhead++;
2036 overhead += old_desc_blocks;
2038 overhead
2052 blk64_t overhead = 0; local
[all...]
H A Donline.c63 int fd, overhead; local
231 overhead = (int) (2 + new_fs->inode_blocks_per_group);
234 overhead += 1 + new_fs->desc_blocks +
/external/elfutils/0.153/libebl/
H A Deblstrtab.c140 size_t overhead = offsetof (struct memoryblock, memory); local
141 len += overhead + MALLOC_OVERHEAD;
153 st->left = len - overhead;
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtp_format_vp8.cc444 const int overhead = local
446 const uint32_t max_payload_len = max_payload_len_ - overhead;
457 remaining_partition, max_payload_len, overhead, min_size, max_size);
506 const int overhead =
508 const uint32_t max_payload_len = max_payload_len_ - overhead;
528 aggregator.FindOptimalConfiguration(max_payload_len, overhead);
/external/chromium_org/ppapi/proxy/
H A Dwebsocket_resource.cc34 uint64_t overhead = kBaseFramingOverhead + kMaskingKeyLength; local
36 overhead += 8;
38 overhead += 2;
39 return SaturateAdd(payload_size, overhead);
/external/qemu/distrib/libsparse/src/
H A Dsparse.c235 * overhead is sparse file header, initial skip chunk, split chunk, end
238 int overhead = sizeof(sparse_header_t) + 4 * sizeof(chunk_header_t) + local
240 len -= overhead;

Completed in 2289 milliseconds

123