/external/fio/ |
filesetup.c | 294 unsigned long long bytes = 0; local 303 r = blockdev_size(f, &bytes); 309 if (!bytes) { 314 f->real_file_size = bytes; 325 unsigned long long bytes = 0; local 334 r = chardev_size(f, &bytes); 340 if (!bytes) { 345 f->real_file_size = bytes; 677 * Get free number of bytes for each file on each unique mount.
|
/external/freetype/src/cff/ |
cffload.c | 281 if ( FT_FRAME_EXTRACT( size, idx->bytes ) ) 309 if ( idx->bytes ) 310 FT_FRAME_RELEASE( idx->bytes ); 410 FT_Byte* org_bytes = idx->bytes; 539 if ( idx->bytes ) 542 *pbytes = idx->bytes + off1 - 1; 571 if ( idx->bytes == 0 ) 588 FT_Byte* bytes; local 594 error = cff_index_access_element( idx, element, &bytes, &byte_len ); 600 FT_MEM_COPY( name, bytes, byte_len ) [all...] |
/external/icu/icu4c/source/common/ |
ucnv_lmb.c | 72 based, in that the bytes from 0x20 - 0x7F are almost exactly the 76 bytes from 0x20-0x7F are represented by the same single-byte values in LMBCS. 78 The general LMBCS code unit is from 1-3 bytes. We can describe the 3 bytes as 84 data bytes. The maximum size of a LMBCS chjaracter is 3 bytes: 88 The single-byte values from 0x20 to 0x7F are examples of single D1 bytes. 103 which national character standard is being used for the 'D' bytes. 123 character is one of those 12 values, you can interpret the remaining bytes of 125 ANSI bytes already are represented in single bytes, using one of the character 1206 char bytes[2]; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
custrtrn.c | 886 static const uint8_t bytes[]={ 0xe0, 0xa5, 0x9c, 0 }; local 937 static const uint8_t bytes[]={ local [all...] |
custrtst.c | 1440 char bytes[40]; local [all...] |
trie2test.c | 376 uint32_t value, bytes; local 386 /* first a couple of trail bytes in lead position */ 435 bytes=0; 438 bytes=(bytes<<8)|s[prev8++]; 443 testName, (unsigned long)bytes, (long)c, (long)value, (long)values[i]); 447 testName, (unsigned long)bytes, (long)c, (long)(p-s), (long)i8); 465 bytes=0; 469 bytes=(bytes<<8)|s[k++] [all...] |
udatatst.c | 1195 const char *bytes; member in struct:__anon26693 [all...] |
/external/icu/icu4c/source/test/intltest/ |
csdetest.cpp | 140 char *bytes = NULL; local 145 bytes = NEW_ARRAY(char, length + 1); 146 source.extract(0, sLength, bytes, codepage); 149 return bytes; 152 static void freeBytes(char *bytes) 154 DELETE_ARRAY(bytes); 172 char *bytes = extractBytes(testString, codepage, byteLength); local 174 if (bytes == NULL) { 181 ucsdet_setText(csd.getAlias(), bytes, byteLength, &status); 237 freeBytes(bytes); 328 char *bytes = extractBytes(s, "UTF-8", byteLength); local 428 char *bytes = extractBytes(s, "ISO-8859-1", byteLength); local 635 char *bytes = extractBytes(s1, "IBM424", bLength); local 723 char *bytes = extractBytes(s1, "IBM420", bLength); local [all...] |
/external/icu/icu4c/source/test/perf/ubrkperf/ |
ubrkperfold.cpp | 587 // Figure out the lenght of the char and read the rest of the bytes 599 unsigned char bytes[10]; local 600 bytes[0] = (unsigned char)ch; 603 bytes[i] = fgetc(fFile); 604 if (bytes[i] < 0x80 || bytes[i] >= 0xc0) { 605 fprintf(stderr, "utf-8 encoded file %s contains corrupt data at offset %d. Expected %d bytes, byte %d is invalid. First byte is %02X\n", fName, ftell(fFile), nBytes, i, ch); 611 // Convert the bytes from the temp array to a Unicode char. 614 U8_NEXT_UNSAFE(bytes, i, cp); 705 // (The number of bytes read from file per loop iteration depends on external encoding. [all...] |
/external/icu/icu4c/source/tools/makeconv/ |
gencnvex.c | 38 const uint8_t *bytes, int32_t length); 110 const uint8_t *bytes, int32_t length) { 284 /* return the number of bytes that should have been written */ 419 uint8_t *bytes; local 429 bytes=UCM_GET_BYTES(table, m); 430 low=bytes[unitIndex]; 436 bytes=UCM_GET_BYTES(table, m); 437 high=bytes[unitIndex]; 476 bytes=UCM_GET_BYTES(table, m); 477 high=bytes[unitIndex] 637 uint8_t *bytes, *resultBytes; local [all...] |
/external/kernel-headers/original/uapi/linux/ |
blktrace_api.h | 103 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
|
/external/lldb/source/Plugins/Disassembler/llvm/ |
DisassemblerLLVMC.cpp | 345 const uint8_t *bytes = data.PeekData(offset, inst_size); local 346 if (bytes == NULL) 349 m_opcode.SetOpcodeBytes(bytes, inst_size); 350 mnemonic_strm.Printf("0x%2.2x", bytes[0]); 352 mnemonic_strm.Printf(" 0x%2.2x", bytes[i]); 504 LLDBDisasmMemoryObject(const uint8_t *bytes, uint64_t size, uint64_t basePC) : 505 m_bytes(bytes), m_size(size), m_base_PC(basePC) {}
|
/external/llvm/lib/Target/AArch64/Disassembler/ |
AArch64Disassembler.cpp | 209 uint8_t bytes[4]; local 212 // We want to read exactly 4 bytes of data. 213 if (Region.readBytes(Address, 4, (uint8_t *)bytes) == -1) 219 (bytes[3] << 24) | (bytes[2] << 16) | (bytes[1] << 8) | (bytes[0] << 0); [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
platform_x11.c | 165 uint32_t bytes = xcb_get_image_data_length(reply); local 167 memcpy(data, idata, bytes); [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_texture.c | 283 const uint bytes = w * h * d * bpp; local 284 lpr->data = align_malloc(bytes, 16); 287 memset(lpr->data, 0, bytes); 760 unsigned bytes, 775 buffer->base.width0 = bytes; 787 * Compute size (in bytes) need to store a texture image / mipmap level, 819 * Compute size (in bytes) need to store a texture image / mipmap level, [all...] |
/external/mesa3d/src/mesa/main/ |
pack.c | 64 * \param n number of bytes. 66 * \todo try this trick to flip bytes someday: 78 b = (GLuint) p[i]; /* words are often faster than bytes */ 152 GLint bytes, row, width_in_bytes; local 159 bytes = ((width + 7) / 8 * height); 160 buffer = (GLubyte *) malloc( bytes ); [all...] |
/external/nanopb-c/ |
pb.h | 24 /* Add support for tag numbers > 255 and fields larger than 255 bytes. */ 27 /* Add support for tag numbers > 65536 and fields larger than 65536 bytes. */ 203 * larger than 256 bytes or field tags larger than 256. 215 pb_size_t data_size; /* Data size in bytes for a single item */ 240 /* This structure is used for 'bytes' arrays. 241 * It has the number of bytes in the beginning, and after that an array. 242 * Note that actual structs used will have a different length of bytes array. 244 #define PB_BYTES_ARRAY_T(n) struct { size_t size; uint8_t bytes[n]; } 245 #define PB_BYTES_ARRAY_T_ALLOCSIZE(n) ((size_t)n + offsetof(pb_bytes_array_t, bytes)) 249 uint8_t bytes[1] member in struct:_pb_bytes_array_t [all...] |
pb_decode.c | 99 /* Skip input bytes */ 878 /* Check the whole bytes */ 941 /* Release entries in repeated string or bytes array */ 995 uint8_t *bytes = (uint8_t*)dest; local 1001 bytes[0] = lebytes[3]; 1002 bytes[1] = lebytes[2]; 1003 bytes[2] = lebytes[1]; 1004 bytes[3] = lebytes[0]; 1014 uint8_t *bytes = (uint8_t*)dest; local 1020 bytes[0] = lebytes[7] [all...] |
/external/nanopb-c/tests/backwards_compatibility/ |
alltypes_legacy.h | 33 uint8_t bytes[16]; member in struct:__anon32652 38 uint8_t bytes[16]; member in struct:__anon32653 43 uint8_t bytes[16]; member in struct:__anon32654
|
/external/openssl/crypto/engine/ |
eng_cryptodev.c | 929 ssize_t bytes, bits; local 936 bytes = (bits + 7) / 8; 938 b = malloc(bytes); 941 memset(b, 0, bytes); 948 if ((j + k) >= bytes) 962 int i, bytes; local 964 bytes = (crp->crp_nbits + 7) / 8; 966 if (bytes == 0) 969 if ((pd = (u_int8_t *) malloc(bytes)) == NULL) 972 for (i = 0; i < bytes; i++ [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
cffload.c | 281 if ( FT_FRAME_EXTRACT( size, idx->bytes ) ) 309 if ( idx->bytes ) 310 FT_FRAME_RELEASE( idx->bytes ); 410 FT_Byte* org_bytes = idx->bytes; 539 if ( idx->bytes ) 542 *pbytes = idx->bytes + off1 - 1; 571 if ( idx->bytes == 0 ) 588 FT_Byte* bytes; local 594 error = cff_index_access_element( idx, element, &bytes, &byte_len ); 600 FT_MEM_COPY( name, bytes, byte_len ) [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.java | 50 * Helper to construct a byte array from a bunch of bytes. The inputs are 54 private byte[] bytes(int... bytesAsInts) { method in class:CodedInputStreamTest 55 byte[] bytes = new byte[bytesAsInts.length]; 57 bytes[i] = (byte) bytesAsInts[i]; 59 return bytes; 63 * An InputStream which limits the number of bytes it reads at a time. 89 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 123 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 157 assertReadVarint(bytes(0x00), 0); 158 assertReadVarint(bytes(0x01), 1) [all...] |
/external/qemu/audio/ |
ossaudio.c | 403 oss_logerr (errno, "failed to write %d bytes\n", 435 int bytes, pos; local 444 bytes = audio_ring_dist (cntinfo.ptr, pos, bufsize); 445 decr = audio_MIN (bytes >> hw->info.shift, live); 454 if (abinfo.bytes > bufsize) { 458 abinfo.bytes, bufsize); 460 abinfo.bytes = bufsize; 463 if (abinfo.bytes < 0) { 466 abinfo.bytes, bufsize); 471 decr = audio_MIN (abinfo.bytes >> hw->info.shift, live) [all...] |
/external/qemu/hw/android/goldfish/ |
fb.c | 142 uint8_t bytes; member in struct:__anon34254 171 printf(" bytes/pixel: %d\n", pf->bytes_per_pixel); 188 pf->bytes_per_pixel == fbc->bytes &&
|
/external/qemu/hw/core/ |
loader.c | 168 uint32_t a_text; /* length of text, in bytes */ 169 uint32_t a_data; /* length of data, in bytes */ 170 uint32_t a_bss; /* length of uninitialized data area, in bytes */ 171 uint32_t a_syms; /* length of symbol table data in file, in bytes */ 173 uint32_t a_trsize; /* length of relocation info for text, in bytes */ 174 uint32_t a_drsize; /* length of relocation info for data, in bytes */ 307 /* return < 0 if error, otherwise the number of bytes loaded in memory */ 516 ssize_t bytes; local 522 bytes = gunzip(data, max_bytes, compressed_data, hdr->ih_size); 524 if (bytes < 0) [all...] |