/external/fio/ |
iolog.c | 333 unsigned int bytes; local 355 &bytes); 427 ipo->len = bytes; 428 if (rw != DDIR_INVAL && bytes > td->o.max_bs[rw]) 429 td->o.max_bs[rw] = bytes; 432 td->o.size += bytes;
|
/external/freetype/src/cff/ |
cfftypes.h | 51 /* off_size :: The size in bytes of object offsets in index. */ 54 /* bytes. */ 61 /* bytes :: If the index is loaded in memory, its bytes. */ 73 FT_Byte* bytes; member in struct:CFF_IndexRec_
|
/external/guava/guava-tests/test/com/google/common/io/ |
FilesTest.java | 26 import com.google.common.primitives.Bytes; 90 byte[] bytes = Files.readFile(in, asciiFile.length()); 91 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), bytes)); local 105 byte[] bytes = Files.readFile(in, 10); 106 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), bytes)); local 120 byte[] bytes = Files.readFile(in, 500); 121 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), bytes)); local 135 byte[] bytes = Files.readFile(in, 0); 136 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), bytes)); local 588 byte[] bytes = newPreFilledByteArray(size) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UCaseProps.java | 43 ByteBuffer bytes=ICUBinary.getRequiredData(DATA_FILE_NAME); local 44 readData(bytes); 47 private final void readData(ByteBuffer bytes) throws IOException { 49 ICUBinary.readHeader(bytes, FMT, new IsAcceptable()); 52 int count=bytes.getInt(); 60 indexes[i]=bytes.getInt(); 64 trie=Trie2_16.createFromSerialized(bytes); 68 throw new IOException(DATA_FILE_NAME+": not enough bytes for the trie"); 70 // skip padding after trie bytes 71 ICUBinary.skipBytes(bytes, expectedTrieLength-trieLength) [all...] |
/external/icu/icu4c/source/test/cintltst/ |
ncnvtst.c | 1859 uint8_t bytes[8]; \/* partial input bytes resulting in no output *\/ member in struct:__anon12965 [all...] |
/external/icu/icu4c/source/test/perf/collationperf/ |
collperf.cpp | 1328 unsigned char bytes[10]; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UCaseProps.java | 39 ByteBuffer bytes=ICUBinary.getRequiredData(DATA_FILE_NAME); local 40 readData(bytes); 43 private final void readData(ByteBuffer bytes) throws IOException { 45 ICUBinary.readHeader(bytes, FMT, new IsAcceptable()); 48 int count=bytes.getInt(); 56 indexes[i]=bytes.getInt(); 60 trie=Trie2_16.createFromSerialized(bytes); 64 throw new IOException(DATA_FILE_NAME+": not enough bytes for the trie"); 66 // skip padding after trie bytes 67 ICUBinary.skipBytes(bytes, expectedTrieLength-trieLength) [all...] |
/external/javassist/src/test/test/javassist/convert/ |
ArrayAccessReplaceTest.java | 281 private byte[] bytes; field in class:ArrayAccessReplaceTest.Simple 302 return bytes[pos]; 346 bytes[pos] = value;
|
/external/kernel-headers/original/uapi/linux/ |
rds.h | 216 uint64_t bytes; member in struct:rds_iovec
|
telephony.h | 202 * always pass full size frames, any unused bytes will be padded with zeros, 257 unsigned int bytes; member in union:telephony_exception
|
/external/libmtp/src/ |
libusb-glue.c | 403 /* Check if descriptor length is at least 10 bytes */ 714 printf(" IN endpoint maxpacket: %d bytes\n", ptp_usb->inep_maxpacket); 715 printf(" OUT endpoint maxpacket: %d bytes\n", ptp_usb->outep_maxpacket); 791 * 1. Send the command (0x0c bytes) if headers are split, else, send 792 * command plus sizeof(endpoint) - 0x0c bytes. 795 * 3. REPEAT send 0x10000 byte chunks UNTIL remaining bytes < 0x10000 797 * 4. Send remaining bytes MOD sizeof(endpoint) 798 * 5. Send remaining bytes. If this happens to be exactly sizeof(endpoint) 819 unsigned char *bytes; local 823 bytes = malloc(CONTEXT_BLOCK_SIZE) 942 unsigned char *bytes; local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
userial_linux.c | 203 long bytes; member in struct:__anon16034 220 t->bytes = 240 if (t->bytes) 241 ALOGD( "%s:%s, bytes=%ld, lapse=%ld (%d.%02d kbps) (bus data rate %d.%02d kbps) overhead %d(%d percent)\n", 243 t->label, t->bytes, t->lapse, 244 (int)(8 * t->bytes / t->lapse), (int)(800 * t->bytes / (t->lapse)) % 100, 245 (int)(9 * (t->bytes + t->count * t->overhead) / t->lapse), (int)(900 * (t->bytes + t->count * t->overhead) / (t->lapse)) % 100, 246 (int)(t->count * t->overhead), (int)(t->count * t->overhead * 100 / t->bytes) [all...] |
/external/libogg/src/ |
framing.c | 307 int bytes = 0, lacing_vals, i; local 312 for (i = 0; i < count; ++i) bytes += (int)iov[i].iov_len; 313 lacing_vals=bytes/255+1; 328 if(_os_body_expand(os,bytes) || _os_lacing_expand(os,lacing_vals)) 346 os->lacing_vals[os->lacing_fill+i]=bytes%255; 365 iov.iov_len = op->bytes; 376 int bytes=0; local 480 bytes+=os->header[i+27]=(unsigned char)(os->lacing_vals[i]&0xff); 486 og->body_len=bytes; 493 os->body_returned+=bytes; 639 long bytes=oy->fill-oy->returned; local 693 long bytes; local 960 int bytes=size; local [all...] |
/external/libvorbis/lib/ |
vorbisfile.c | 72 long bytes=(vf->callbacks.read_func)(buffer,1,READSIZE,vf->datasource); local 73 if(bytes>0)ogg_sync_wrote(&vf->oy,bytes); 74 if(bytes==0 && errno)return(-1); 75 return(bytes); 103 n) search for a new page beginning for n bytes 118 /* skipped n bytes */ 718 vf->bittrack+=op_ptr->bytes*8; 776 /* bitrate tracking; add the header's bytes here, the body bytes [all...] |
/external/lz4/programs/ |
fuzzer.c | 278 unsigned long long bytes = 0; local 435 // Test decoding with output size being 10 bytes too short => must fail 441 FUZ_CHECKTEST(ret>=0, "LZ4_decompress_safe should have failed, due to Output Size being 10 bytes too short"); 489 /* Test compression with missing bytes into output buffer => must fail */ 501 /* Test HC compression with missing bytes into output buffer => must fail */ 650 bytes += blockSize; 658 printf("compression ratio: %0.3f%%\n", (double)cbytes/bytes*100); 659 printf("HC compression ratio: %0.3f%%\n", (double)hcbytes/bytes*100); 660 printf("ratio with dict: %0.3f%%\n", (double)ccbytes/bytes*100); [all...] |
/external/mesa3d/src/mesa/main/ |
teximage.c | 1418 uint64_t bytes = _mesa_format_image_size64(format, width, height, depth); local [all...] |
/external/mksh/src/ |
histrap.c | 726 * Bytes 1, 2: 730 * <command byte><command number(4 octets, big endian)><bytes><NUL> 875 histload(Source *s, unsigned char *base, size_t bytes) 881 /* !bytes check as some systems (older FreeBSDs) have buggy memchr */ 882 if (!bytes || (cp = memchr(base, COMMAND, bytes)) == NULL) 885 bytes -= ++cp - base; 888 if (bytes < 5 || (cp = memchr(base + 4, '\0', bytes - 4)) == NULL) 909 bytes -= ++cp - base 927 size_t bytes; local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Cache.java | 627 Buffer bytes = new Buffer(); local 628 bytes.write(ByteString.decodeBase64(line)); 629 result.add(certificateFactory.generateCertificate(bytes.inputStream())); 643 byte[] bytes = certificates.get(i).getEncoded(); 644 String line = ByteString.of(bytes).base64();
|
/external/opencv3/3rdparty/libtiff/ |
tif_luv.c | 134 * scheme by separating the logL, u and v bytes for each row and applying 163 int pixel_size; /* bytes per pixel */ 1214 tmsize_t bytes = m1 * m2; local [all...] |
/external/opencv3/3rdparty/libwebp/enc/ |
picture.c | 33 uint8_t bytes[4]; member in union:__anon21057 35 #define ALPHA_IS_LAST (test_endian.bytes[3] == 0xff) 525 if (alpha[x] != 0xff) return 1; // TODO(skal): check 4/8 bytes at a time. 595 int step, // bytes per pixel 596 int rgb_stride, // bytes per scanline [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
cfftypes.h | 51 /* off_size :: The size in bytes of object offsets in index. */ 54 /* bytes. */ 61 /* bytes :: If the index is loaded in memory, its bytes. */ 73 FT_Byte* bytes; member in struct:CFF_IndexRec_
|
/external/pdfium/third_party/libtiff/ |
tif_luv.c | 134 * scheme by separating the logL, u and v bytes for each row and applying 163 int pixel_size; /* bytes per pixel */ 1228 tmsize_t bytes = m1 * m2; local 1230 if (m1 && bytes / m1 != m2) 1231 bytes = 0; 1233 return bytes; [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
RopeByteString.java | 210 * @return string formed by copying data bytes 216 byte[] bytes = new byte[leftSize + rightSize]; 217 left.copyTo(bytes, 0, 0, leftSize); 218 right.copyTo(bytes, 0, leftSize, rightSize); 219 return new LiteralByteString(bytes); // Constructor wraps bytes 785 private ByteIterator bytes; field in class:RopeByteString.RopeByteIterator 790 bytes = pieces.next().iterator(); 803 if (!bytes.hasNext()) { 804 bytes = pieces.next().iterator() [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
AbstractMessageTest.java | 234 ByteString bytes = builder.buildPartial().toByteString(); local 238 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); 240 abstractMessageBuilder.mergeFrom(bytes).build(); 250 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); 252 dynamicMessageBuilder.mergeFrom(bytes).build();
|
CodedInputStreamTest.java | 55 * Helper to construct a byte array from a bunch of bytes. The inputs are 59 private byte[] bytes(int... bytesAsInts) { method in class:CodedInputStreamTest 60 byte[] bytes = new byte[bytesAsInts.length]; 62 bytes[i] = (byte) bytesAsInts[i]; 64 return bytes; 68 * An InputStream which limits the number of bytes it reads at a time. 100 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 154 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 196 assertReadVarint(bytes(0x00), 0); 197 assertReadVarint(bytes(0x01), 1) [all...] |