/external/chromium_org/third_party/icu/source/test/cintltst/ |
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 | 1160 const char *bytes; member in struct:__anon13513 [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
csdetest.cpp | 128 char *bytes = NULL; local 133 bytes = NEW_ARRAY(char, length + 1); 134 source.extract(0, sLength, bytes, codepage); 137 return bytes; 140 static void freeBytes(char *bytes) 142 DELETE_ARRAY(bytes); 160 char *bytes = extractBytes(testString, codepage, byteLength); local 162 if (bytes == NULL) { 169 ucsdet_setText(csd.getAlias(), bytes, byteLength, &status); 225 freeBytes(bytes); 277 char *bytes = extractBytes(s, "UTF-8", byteLength); local 377 char *bytes = extractBytes(s, "ISO-8859-1", byteLength); local 584 char *bytes = extractBytes(s1, "IBM424", bLength); local 668 char *bytes = extractBytes(s1, "IBM420", bLength); local [all...] |
/external/chromium_org/third_party/icu/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 UTF8_NEXT_CHAR_UNSAFE(bytes, i, cp); 705 // (The number of bytes read from file per loop iteration depends on external encoding. [all...] |
/external/chromium_org/third_party/icu/source/tools/makeconv/ |
gencnvex.c | 38 const uint8_t *bytes, int32_t length); 109 const uint8_t *bytes, int32_t length) { 283 /* return the number of bytes that should have been written */ 418 uint8_t *bytes; local 428 bytes=UCM_GET_BYTES(table, m); 429 low=bytes[unitIndex]; 435 bytes=UCM_GET_BYTES(table, m); 436 high=bytes[unitIndex]; 475 bytes=UCM_GET_BYTES(table, m); 476 high=bytes[unitIndex] 636 uint8_t *bytes, *resultBytes; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
stun_unittest.cc | 247 // The actual length in bytes of the invalid messages (including STUN header) 251 0x00, 0x01, 0x00, 0x00, // length of 0 (last 2 bytes) 338 0x3a, 0x68, 0x36, 0x76, // } Username (9 bytes) and padding (3 bytes) 411 0xaa, 0xe3, 0x83, 0x83, // } Username value (18 bytes) and padding (2 bytes) 424 0x70, 0x6c, 0x65, 0x2e, // } Realm value (11 bytes) and padding (1 byte) 455 0x3a, 0x68, 0x36, 0x76, // } Username (9 bytes) and padding (3 bytes) 928 std::string bytes; local 959 std::string bytes; local 990 std::string bytes; local 1021 std::string bytes; local 1383 const StunByteStringAttribute* bytes = msg.GetByteString(STUN_ATTR_USERNAME); local [all...] |
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/openssl/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/chromium_org/third_party/opus/src/src/ |
opus_decoder.c | 546 int i, bytes; local 585 bytes = parse_size(data, len, size); 586 len -= bytes; 589 data += bytes; 624 bytes = parse_size(data, len, size+i); 625 len -= bytes; 628 data += bytes; 629 last_size -= bytes+size[i]; 647 bytes = parse_size(data, len, size+count-1); 648 len -= bytes; [all...] |
/external/chromium_org/third_party/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 | 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/chromium_org/third_party/tcmalloc/chromium/src/ |
heap-profile-table.cc | 213 const void* ptr, size_t bytes, int stack_depth, 217 b->alloc_size += bytes; 219 total_.alloc_size += bytes; 223 v.bytes = bytes; 232 b->free_size += v.bytes; 234 total_.free_size += v.bytes; 240 if (alloc_value != NULL) *object_size = alloc_value->bytes; 248 info->object_size = alloc_value->bytes; 261 if (alloc_value != NULL) *object_size = alloc_value->bytes; 642 int bytes; member in struct:HeapProfileTable::Snapshot::Entry [all...] |
/external/dhcpcd/ |
dhcp.c | 496 ssize_t b, bytes = 0, ocets; local 517 bytes += ((4 * 4) * 2) + 4; 549 return bytes; 655 ssize_t b, bytes = 0; local 687 bytes += b; 689 bytes += 16 * 2 + 8 + 2 + 1 + 2; 704 bytes += b; 706 bytes += (4 * 4); 710 return bytes; 1118 ssize_t bytes = sizeof(*dhcp) local 1169 ssize_t bytes; local 1196 ssize_t bytes = 0; local 1266 ssize_t bytes = 0; local [all...] |
/external/eigen/Eigen/src/Core/util/ |
Memory.h | 89 * Fast, but wastes 16 additional bytes of memory. Does not throw any exception. 191 /** \internal Allocates \a size bytes. The returned pointer is guaranteed to have 16 bytes alignment. 278 /** \internal Allocates \a size bytes. If Align is true, then the returned ptr is 16-byte-aligned. 351 /** \internal Allocates \a size objects of type T. The returned pointer is guaranteed to have 16 bytes alignment. 440 * power of 2, the packet size in bytes is also a power of 2, and is a multiple of sizeof(Scalar). On the 637 * // Matrix4f requires 16 bytes alignment: 640 * // Vector3f does not require 16 bytes alignment, no need to use Eigen's allocator: 801 unsigned char * bytes = reinterpret_cast<unsigned char *>(abcd)+2; local 805 switch(bytes[i] [all...] |
/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/icu4c/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/icu4c/test/cintltst/ |
custrtrn.c | 873 static const uint8_t bytes[]={ 0xe0, 0xa5, 0x9c, 0 }; local 924 static const uint8_t bytes[]={ 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 | 1163 const char *bytes; member in struct:__anon20859 [all...] |
/external/icu4c/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); 289 char *bytes = extractBytes(s, "UTF-8", byteLength); local 389 char *bytes = extractBytes(s, "ISO-8859-1", byteLength); local 596 char *bytes = extractBytes(s1, "IBM424", bLength); local 680 char *bytes = extractBytes(s1, "IBM420", bLength); local [all...] |
/external/icu4c/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/icu4c/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/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
BinaryImporter.java | 161 int bytes = 4; local 190 bytes += (8 + aliasWidth + classLength); 203 bytes += (6 + fieldNameLength); 207 if (listener != null) listener.readBytes(bytes); 210 bytes = 4; 218 bytes += 8; 224 bytes += 8; 225 if (listener != null) listener.readBytes(bytes); 228 baos = new ByteArrayOutputStream(bytes);
|