/external/e2fsprogs/resize/ |
online.c | 34 int fd, overhead; local 127 overhead = (int) (2 + new_fs->inode_blocks_per_group); 130 overhead += 1 + new_fs->desc_blocks +
|
resize2fs.c | 298 int overhead = 0; local 321 * Overhead is the number of bookkeeping blocks per group. It 326 overhead = (int) (2 + fs->inode_blocks_per_group); 329 overhead += 1 + fs->desc_blocks + 339 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) 341 if (rem && (rem < overhead+50)) { 1895 int overhead = 0, num_of_superblocks = 0; local [all...] |
/frameworks/ex/variablespeed/jni/ |
ring_buffer.cc | 65 int RingBuffer::overhead() const { function in class:video_editing::RingBuffer 91 int overhead = size_ - head_; local 93 num_channels_ * overhead * sizeof(samples[0])); 94 head_ = num_frames - overhead; 95 memcpy(samples_, samples + overhead * num_channels_,
|
/external/e2fsprogs/lib/ext2fs/ |
initialize.c | 101 unsigned int overhead = 0; local 322 overhead = (int) (3 + fs->inode_blocks_per_group + 326 if (overhead > super->s_blocks_per_group) { 334 * it. We need to recalculate the overhead for the last block 338 overhead = (int) (2 + fs->inode_blocks_per_group); 340 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; 343 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) { 347 if (rem && (rem < overhead+50)) {
|
/external/iproute2/tc/ |
q_htb.c | 37 "... 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 = overhead [all...] |
q_tbf.c | 30 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 = overhead [all...] |
m_police.c | 38 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 %ub ", p->rate.overhead) [all...] |
q_cbq.c | 35 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, *argv, 10)) [all...] |
/external/chromium_org/net/quic/crypto/ |
crypto_framer.cc | 101 const size_t overhead = kQuicTagSize + kCryptoEndOffsetSize; local 102 if (delta > overhead) { 103 pad_length = delta - overhead; 105 len += overhead + pad_length;
|
/external/strace/ |
count.c | 131 static struct timeval overhead = { -1, -1 }; variable in typeref:struct:timeval 153 overhead.tv_sec = n / 1000000; 154 overhead.tv_usec = n % 1000000; 175 if (overhead.tv_sec == -1) 177 tv_mul(&overhead, &shortest, 8); 178 tv_div(&overhead, &overhead, 10); 185 tv_mul(&dtv, &overhead, counts[i].calls);
|
/system/core/libsparse/ |
sparse.c | 234 * overhead is sparse file header, initial skip chunk, split chunk, end 237 int overhead = sizeof(sparse_header_t) + 4 * sizeof(chunk_header_t) + local 239 len -= overhead; 281 unsigned int overhead; local
|
/external/chromium_org/net/quic/ |
quic_packet_creator_test.cc | 75 // Returns the number of bytes of overhead that will be added to a packet 330 const size_t overhead = GetPacketHeaderOverhead() + GetEncryptionOverhead(); local 331 for (size_t i = overhead; i < overhead + 100; ++i) { 333 const bool should_have_room = i > overhead + GetStreamFrameOverhead(); 351 // Compute the total overhead for a single frame in packet. 352 const size_t overhead = GetPacketHeaderOverhead() + GetEncryptionOverhead() local 354 size_t capacity = kDefaultMaxPacketSize - overhead; 377 // Compute the total overhead for a single frame in packet. 378 const size_t overhead = GetPacketHeaderOverhead() + GetEncryptionOverhead( [all...] |
/external/chromium_org/ppapi/proxy/ |
websocket_resource.cc | 35 uint64_t overhead = kBaseFramingOverhead + kMaskingKeyLength; local 37 overhead += 8; 39 overhead += 2; 40 return SaturateAdd(payload_size, overhead);
|
/external/iputils/ |
tracepath.c | 51 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);
|
tracepath6.c | 63 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);
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
Part.java | 330 ByteArrayOutputStream overhead = new ByteArrayOutputStream(); local 331 sendStart(overhead); 332 sendDispositionHeader(overhead); 333 sendContentTypeHeader(overhead); 334 sendTransferEncodingHeader(overhead); 335 sendEndOfHeader(overhead); 336 sendEnd(overhead); 337 return overhead.size() + lengthOfData();
|
/system/core/libcutils/tests/memset_mips/ |
test_memset.c | 39 uint32_t overhead; variable 49 if (overhead == 0 || delta < overhead) 50 overhead = delta; 52 printf("overhead is %d"UNITS"\n", overhead); 62 delta = stop - start - overhead;
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocket.cpp | 684 size_t overhead = hybiBaseFramingOverhead + hybiMaskingKeyLength; local 686 overhead += 8; 688 overhead += 2; 689 return overhead;
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
s3_cbc.c | 115 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) 195 good = constant_time_ge(rec->length, overhead+padding_length); 771 * HMAC adds a constant overhead.
|
/external/openssl/ssl/ |
s3_cbc.c | 115 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) 195 good = constant_time_ge(rec->length, overhead+padding_length); 771 * HMAC adds a constant overhead.
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
evp_locl.h | 355 unsigned char overhead; member in struct:evp_aead_st
|
/dalvik/vm/alloc/ |
HeapSource.cpp | 72 * including any overhead. This value is NOT exact, and 442 size_t overhead = base - hs->heaps[0].base; local 445 if (overhead + hs->minFree >= hs->maximumSize) { 447 "(%zd overhead, %zd max)", 448 overhead, hs->maximumSize); 452 heap.maximumSize = hs->growthLimit - overhead; 467 hs->heaps[0].maximumSize = overhead; 469 mspace_set_footprint_limit(hs->heaps[0].msp, overhead); 1208 size_t overhead = oldHeapOverhead(gHs, false); local 1293 size_t overhead = getSoftFootprint(false); local 1404 size_t overhead = getSoftFootprint(false); local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
userial_linux.c | 175 long overhead; member in struct:__anon23150 211 ALOGD( "%s:%s, bytes=%ld, lapse=%ld (%d.%02d kbps) (bus data rate %d.%02d kbps) overhead %d(%d percent)\n", 215 (int)(9 * (t->bytes + t->count * t->overhead) / t->lapse), (int)(900 * (t->bytes + t->count * t->overhead) / (t->lapse)) % 100, 216 (int)(t->count * t->overhead), (int)(t->count * t->overhead * 100 / t->bytes) [all...] |
/external/libppp/src/ |
bundle.c | 1884 int sp, overhead, maxoverhead; local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
DropBoxTest.java | 341 // Use random fill (so it doesn't compress), subtract a little for gzip overhead 343 final int overhead = 64; local 348 addRandomEntry(dropbox, "DropBoxTest0", blockSize - overhead); 349 addRandomEntry(dropbox, "DropBoxTest0", blockSize - overhead); 351 addRandomEntry(dropbox, "DropBoxTest1", blockSize - overhead); 352 addRandomEntry(dropbox, "DropBoxTest1", blockSize - overhead); 353 addRandomEntry(dropbox, "DropBoxTest1", blockSize * 2 - overhead); 354 addRandomEntry(dropbox, "DropBoxTest1", blockSize - overhead); 355 addRandomEntry(dropbox, "DropBoxTest1", blockSize * 20 - overhead); 357 addRandomEntry(dropbox, "DropBoxTest2", blockSize * 4 - overhead); [all...] |