/external/icu/android_icu4j/src/main/java/android/icu/util/ |
BytesTrie.java | 36 * The BytesTrie object will not read more bytes than 42 * @param trieBytes Bytes array that contains the serialized trie. 80 private byte[] bytes; field in class:BytesTrie.State 93 state.bytes=bytes_; 110 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { 157 * @return true if the input bytes/units so far are part of a matching string/byte sequence. 163 * @return true if there is a value for the input bytes/units so far. 298 // No further matching bytes. 305 // Match length+1 bytes. 315 // No further matching bytes [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
TrieMap.java | 37 BYTES, CHARS 64 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>() 75 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>() 117 private byte[] bytes = new byte[3]; field in class:TrieMap.BytesTrieMap 136 int limit = ByteConverter.getBytes(c, bytes, 0); 137 result = limit == 1 ? bytesTrie.next(bytes[0]) : bytesTrie.next(bytes, 0, limit); 147 // byte[] bytes = new byte[3]; 150 // int limit = ByteConverter.getBytes(c, bytes, 0); 152 // result = bytesTrie.next(bytes[j]&0xFF) 215 private byte[] bytes = new byte[3]; field in class:TrieMap.BytesTrieMap.BytesMatcher 278 byte[] bytes = new byte[200]; field in class:TrieMap.BytesBuilder [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 1207 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 | 1441 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 | 1201 const char *bytes; member in struct:__anon20168 [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 636 char *bytes = extractBytes(s1, "IBM424", bLength); local 726 char *bytes = extractBytes(s1, "IBM420", bLength); local [all...] |
/external/icu/icu4c/source/test/perf/ubrkperf/ |
ubrkperfold.cpp | 592 // Figure out the lenght of the char and read the rest of the bytes 604 unsigned char bytes[10]; local 605 bytes[0] = (unsigned char)ch; 608 bytes[i] = fgetc(fFile); 609 if (bytes[i] < 0x80 || bytes[i] >= 0xc0) { 610 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); 616 // Convert the bytes from the temp array to a Unicode char. 619 U8_NEXT_UNSAFE(bytes, i, cp); 710 // (The number of bytes read from file per loop iteration depends on external encoding. [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
StringPrep.java | 213 // private static final int INDEX_TRIE_SIZE = 0; /* number of bytes in normalization trie */ 276 private StringPrep(ByteBuffer bytes) throws IOException { 277 StringPrepDataReader reader = new StringPrepDataReader(bytes); 282 sprepTrie = new CharTrie(bytes, null); 284 //indexes[INDEX_MAPPING_DATA_SIZE] store the size of mappingData in bytes 328 ByteBuffer bytes = ICUBinary.getRequiredData(PROFILE_NAMES[profile] + ".spp"); local 329 if (bytes != null) { 331 instance = new StringPrep(bytes);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BytesTrie.java | 35 * The BytesTrie object will not read more bytes than 41 * @param trieBytes Bytes array that contains the serialized trie. 84 private byte[] bytes; field in class:BytesTrie.State 98 state.bytes=bytes_; 116 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { 168 * @return true if the input bytes/units so far are part of a matching string/byte sequence. 175 * @return true if there is a value for the input bytes/units so far. 316 // No further matching bytes. 323 // Match length+1 bytes. 333 // No further matching bytes [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
BytesTrieTest.java | 56 bytes=new byte[s.length()]; 57 for(int i=0; i<bytes.length; ++i) { 58 bytes[i]=(byte)s.charAt(i); 64 public byte[] bytes; field in class:BytesTrieTest.StringAndValue 136 // more than 256 bytes 502 builder_.add(item.bytes, item.bytes.length, item.value); 548 builder_.add(data[index].bytes, data[index].bytes.length, data[index].value); 559 logln("serialized trie size: "+trieBytes.remaining()+" bytes\n") [all...] |
TrieMap.java | 36 BYTES, CHARS 63 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>() 74 Builder<V> result = style == Style.BYTES ? new BytesTrieMap.BytesBuilder<V>() 116 private byte[] bytes = new byte[3]; field in class:TrieMap.BytesTrieMap 135 int limit = ByteConverter.getBytes(c, bytes, 0); 136 result = limit == 1 ? bytesTrie.next(bytes[0]) : bytesTrie.next(bytes, 0, limit); 146 // byte[] bytes = new byte[3]; 149 // int limit = ByteConverter.getBytes(c, bytes, 0); 151 // result = bytesTrie.next(bytes[j]&0xFF) 214 private byte[] bytes = new byte[3]; field in class:TrieMap.BytesTrieMap.BytesMatcher 277 byte[] bytes = new byte[200]; field in class:TrieMap.BytesBuilder [all...] |
/external/kernel-headers/original/uapi/linux/ |
blktrace_api.h | 103 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
|
/external/kmod/tools/ |
modprobe.c | 790 size_t bytes = sizeof(char *) * (n_config_paths + 2); local 791 void *tmp = realloc(config_paths, bytes);
|
/external/libcups/cups/ |
http-support.c | 450 int bytes; /* Bytes in formatted string */ local 470 bytes = vsnprintf(resource, sizeof(resource), resourcef, ap); 473 if ((size_t)bytes >= sizeof(resource)) 491 * The buffer needs to be at least 46 bytes in size. 599 * Convert from base-64 to bytes... 716 * Convert bytes to base-64... [all...] |
tls-darwin.c | 1072 * '_httpTLSPending()' - Return the number of pending TLS-encrypted bytes. 1078 size_t bytes; /* Bytes that are available */ local 1081 if (!SSLGetBufferedReadSize(http->tls, &bytes)) 1082 return (bytes); 1092 int /* O - Bytes read */ 1099 size_t processed; /* Number of bytes processed */ 2052 ssize_t bytes; \/* Number of bytes read *\/ local 2151 ssize_t bytes; \/* Number of bytes read *\/ local [all...] |
tls-gnutls.c | 75 size_t bytes; /* Number of bytes of data */ local 114 bytes = sizeof(buffer); 116 if ((result = gnutls_x509_privkey_export(key, GNUTLS_X509_FMT_PEM, buffer, &bytes)) < 0) 126 cupsFileWrite(fp, (char *)buffer, bytes); 180 bytes = sizeof(buffer); 181 if (gnutls_x509_crt_get_key_id(crt, 0, buffer, &bytes) >= 0) 182 gnutls_x509_crt_set_subject_key_id(crt, buffer, bytes); 190 bytes = sizeof(buffer); 191 if ((result = gnutls_x509_crt_export(crt, GNUTLS_X509_FMT_PEM, buffer, &bytes)) < 0 1090 ssize_t bytes; \/* Bytes read *\/ local 1129 ssize_t bytes; \/* Bytes written *\/ local [all...] |
/external/libjpeg-turbo/ |
jchuff.c | 310 /* Outputting bytes to the file */ 342 * bytes can be stored in a 64-bit bit buffer before it has to be emptied. 425 * theoretically store 16 bits (for a maximum of 2048 bits or 256 bytes per 429 * larger than 200 bytes. 443 bytes = buffer - _buffer; \ 445 while (bytes > 0) { \ 446 bytestocopy = min(bytes, state->free_in_buffer); \ 453 bytes -= bytestocopy; \ 468 size_t bytes, bytestocopy; int localbuf = 0; local 493 size_t bytes, bytestocopy; int localbuf = 0 local 515 size_t bytes, bytestocopy; int localbuf = 0; local [all...] |
/external/libjpeg-turbo/simd/ |
jdmrgext-altivec.c | 226 int bytes = num_cols + offset; local 228 if (bytes < (RGB_PIXELSIZE + 1) * 16 && (bytes & 15)) { 232 * 16-byte boundary. It could also occur on other rows if the bytes 260 if (bytes > 16) 262 if (bytes > 32) 264 if (bytes > 48) 267 if (bytes > 64)
|
/external/libnetfilter_conntrack/src/conntrack/ |
api.c | 108 * nf_sizeof - return the size in bytes of a certain conntrack object 120 * nfct_maxsize - return the maximum size in bytes of a conntrack object 366 * \param length of attribute value (in bytes) 1614 unsigned int bytes, words; local 1639 unsigned int bytes = b->words * sizeof(b->bits[0]); local 1724 unsigned int bytes = b->words * sizeof(b->bits[0]); local [all...] |
/external/linux-kselftest/tools/testing/selftests/net/ |
psock_tpacket.c | 144 "small: %zu bytes!\n", len); 291 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); 457 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, got); 483 static void __v3_test_block_len(struct block_desc *pbd, uint32_t bytes, int block_num) 485 if (pbd->h1.num_pkts && bytes != pbd->h1.blk_len) { 488 pbd->h1.num_pkts, bytes, pbd->h1.blk_len); 506 unsigned long bytes = 0, bytes_with_padding = ALIGN_8(sizeof(*pbd)); local 515 bytes += ppd->tp_snaplen; 532 total_bytes += bytes; 580 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1) [all...] |
/external/ltp/testcases/network/tcp_fastopen/ |
tcp_fastopen.c | 386 char bytes[2]; member in union:net_size_field 397 client_msg[1] = net_size.bytes[0]; 398 client_msg[2] = net_size.bytes[1]; 406 net_size.bytes[0] = msg[1]; 407 net_size.bytes[1] = msg[2];
|
/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...] |