/external/icu/icu4c/source/test/intltest/ |
convtest.h | 40 const uint8_t *bytes; member in struct:ConversionCase
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BreakIteratorFactory.java | 131 ByteBuffer bytes = null; local 144 bytes = ICUBinary.getData(rulesFileName); 154 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes);
|
DictionaryData.java | 50 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); local 51 ICUBinary.readHeader(bytes, DATA_FORMAT_ID, null); 55 indexes[i] = bytes.getInt(); 61 ICUBinary.skipBytes(bytes, diff); 69 bytes.get(data); 73 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);
|
Normalizer2.java | 55 * (to process only the substring for which sort key bytes are computed). 194 ByteBuffer bytes = null; local 197 bytes = ICUBinary.getByteBufferFromInputStreamAndCloseStream(data); 202 Norm2AllModes all2Modes=Norm2AllModes.getInstance(bytes, name);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BytesTrieBuilder.java | 32 // Used in add() to wrap the bytes into a CharSequence for StringTrieBuilder.addImpl(). 49 * Bytes 0..length-1 will be copied; the builder does not keep 79 return new BytesTrie(bytes, bytes.length-bytesLength); 91 * <em>Do not modify the bytes in the buffer!</em> 103 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength); 108 if(bytes==null) { 109 bytes=new byte[1024]; 122 bytes=null 309 private byte[] bytes; field in class:BytesTrieBuilder [all...] |
/external/iptables/include/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_sctp.h | 39 #define bytes(type) (sizeof(type) * 8) macro 43 (chunkmap)[type / bytes(__u32)] |= \ 44 1 << (type % bytes(__u32)); \ 49 (chunkmap)[type / bytes(__u32)] &= \ 50 ~(1 << (type % bytes(__u32))); \ 55 ((chunkmap)[type / bytes (__u32)] & \ 56 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/external/libbackup/src/com/google/android/libraries/backup/shadow/ |
FileBackupHelperSimulator.java | 80 private final byte[] bytes; field in class:FileBackupHelperSimulator.FileBackupContents 82 public FileBackupContents(byte[] bytes) { 83 this.bytes = Preconditions.checkNotNull(bytes); 89 && Arrays.equals(bytes, ((FileBackupContents) obj).bytes); 94 return Arrays.hashCode(bytes); 102 writeBytesToFile(file, bytes); 113 public static void writeBytesToFile(File file, byte[] bytes) { 115 Files.write(bytes, file) [all...] |
/external/libchrome/dbus/ |
property.cc | 550 const uint8_t* bytes = NULL; local 552 if (!variant_reader.PopArrayOfBytes(&bytes, &length)) 554 value_.assign(bytes, bytes + length); 633 const uint8_t* bytes = NULL; local 635 if (!struct_reader.PopArrayOfBytes(&bytes, &length)) 637 entry.first.assign(bytes, bytes + length); 690 const uint8_t* bytes = nullptr; local 692 if (!value_varient_reader.PopArrayOfBytes(&bytes, &length) 754 const uint8_t* bytes = nullptr; local [all...] |
/external/libcups/cups/ |
debug.c | 93 ssize_t bytes; /* Number of bytes in buffer */ local 143 bytes = _cups_safe_vsnprintf(buffer + 19, sizeof(buffer) - 20, format, ap) + 19; 146 if ((size_t)bytes >= (sizeof(buffer) - 1)) 149 bytes = sizeof(buffer) - 1; 151 else if (buffer[bytes - 1] != '\n') 153 buffer[bytes++] = '\n'; 154 buffer[bytes] = '\0'; 162 write(_cups_debug_fd, buffer, (size_t)bytes); 176 ssize_t bytes; /* Number of bytes in buffer * local 346 ssize_t bytes; \/* Total number of bytes needed *\/ local [all...] |
request.c | 111 ssize_t bytes; /* Number of bytes read/written */ local 223 while ((bytes = read(infile, buffer, sizeof(buffer))) > 0) 225 if ((status = cupsWriteRequestData(http, buffer, (size_t)bytes)) 257 while ((bytes = httpRead2(http, buffer, sizeof(buffer))) > 0) 258 if (write(outfile, buffer, (size_t)bytes) < bytes) 534 ssize_t /* O - Bytes read, 0 on EOF, -1 on error */ 538 size_t length) /* I - Number of bytes to read */ 894 const char *buffer, /* I - Bytes to write * [all...] |
testcups.c | 196 ssize_t bytes; /* Bytes read/written */ local 221 while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) 223 printf("Writing %d bytes...\n", (int)bytes); 225 if (cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer, (size_t)bytes) != HTTP_STATUS_CONTINUE) 227 puts("Unable to write bytes!");
|
/external/libcups/filter/ |
rastertohp.c | 429 unsigned length, /* I - Number of bytes */ 437 unsigned count; /* Count of bytes for output */ 562 bytes, /* Bytes to write */ local 563 count; /* Bytes to convert */ 585 bytes = (header->cupsWidth + 7) / 8; 594 CompressData(Planes[plane], bytes, plane < (NumPlanes - 1) ? 'V' : 'W', 622 bit_ptr[bytes] = bit1; 629 CompressData(BitBuffer, bytes, 'V', header->cupsCompression); 630 CompressData(BitBuffer + bytes, bytes, plane < (NumPlanes - 1) ? 'V' : 'W' [all...] |
/external/libedit/src/ |
read.c | 196 /* FIONREAD attempts to buffer up multiple bytes, and to make that work 319 int bytes = 0; local 356 if ((bytes = ct_mbtowc(cp, cbuf, cbp)) == -1) { 369 (bytes = ct_mbtowc(cp, cbuf, cbp)) != 1) 373 if ((el->el_flags & IGNORE_EXTCHARS) && bytes > 1) {
|
/external/libevent/ |
event_iocp.c | 76 DWORD bytes=0; local 77 int ok = GetQueuedCompletionStatus(p, &bytes, &key, 90 handle_entry(overlapped, key, bytes, ok); 116 DWORD bytes=0; local 120 &bytes, NULL, NULL);
|
/external/libjpeg-turbo/simd/ |
jcgryext-altivec.c | 72 /* Load 16 pixels == 48 or 64 bytes */ 76 int bytes = num_cols + offset; local 78 if (bytes < (RGB_PIXELSIZE + 1) * 16 && (bytes & 15)) { 82 * boundary. It could also occur on other rows if the bytes per row 96 if (bytes > 16) 98 if (bytes > 32) 100 if (bytes > 48) 103 if (bytes > 64)
|
/external/libmojo/base/android/ |
jni_array.cc | 29 const uint8_t* bytes, 36 byte_array, 0, len, reinterpret_cast<const jbyte*>(bytes)); 44 const std::vector<uint8_t>& bytes) { 45 return ToJavaByteArray(env, bytes.data(), bytes.size()); 261 jbyte* bytes = env->GetByteArrayElements(bytes_array.obj(), nullptr); local 262 (*out)[i].assign(reinterpret_cast<const char*>(bytes), bytes_len); 263 env->ReleaseByteArrayElements(bytes_array.obj(), bytes, JNI_ABORT);
|
/external/libopus/src/ |
opus.c | 199 int i, bytes; local 241 bytes = parse_size(data, len, size); 242 len -= bytes; 245 data += bytes; 283 bytes = parse_size(data, len, size+i); 284 len -= bytes; 287 data += bytes; 288 last_size -= bytes+size[i]; 306 bytes = parse_size(data, len, size+count-1); 307 len -= bytes; [all...] |
/external/libpng/contrib/gregbook/ |
wpng.c | 705 ulg bytes; local 729 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); 730 if (bytes != image_bytes) { 731 fprintf(stderr, PROGNAME ": expected %lu bytes, got %lu bytes\n", 732 image_bytes, bytes); 745 ulg bytes; 756 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); 757 if (bytes != rowbytes) { 759 ": expected %lu bytes, got %lu bytes (row %ld)\n", rowbytes [all...] |
/external/libvncserver/common/ |
md5.c | 59 /* This array contains the bytes used to pad the buffer to the next 79 /* Put result from CTX in first 16 bytes following RESBUF. The result 97 /* Process the remaining bytes in the internal buffer and the usual 107 /* Take yet unprocessed bytes into account. */ 108 md5_uint32 bytes = ctx->buflen; local 111 /* Now count remaining bytes. */ 112 ctx->total[0] += bytes; 113 if (ctx->total[0] < bytes) 116 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes [all...] |
/external/libvncserver/libvncserver/ |
stats.c | 278 int bytes=0; local 281 bytes += ptr->bytesSent; 283 bytes += ptr->bytesSent; 284 return bytes; 290 int bytes=0; local 293 bytes += ptr->bytesSentIfRaw; 295 bytes += ptr->bytesSentIfRaw; 296 return bytes; 302 int bytes=0; local 305 bytes += ptr->bytesRcvd 314 int bytes=0; local 389 int bytes=0; local [all...] |
/external/mesa3d/src/compiler/glsl/ |
blob.c | 64 * bytes. 106 const void *bytes, 113 memcpy(blob->data + offset, bytes, to_write); 119 blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write) 124 memcpy(blob->data + blob->size, bytes, to_write); 224 uint8_t *bytes; local 226 bytes = blob_read_bytes(blob, size); 227 if (bytes == NULL) 230 memcpy(dest, bytes, size);
|
standalone.cpp | 353 size_t bytes = fread(text + total_read, local 355 if (bytes < size - total_read) { 361 if (bytes == 0) { 365 total_read += bytes;
|
/external/mesa3d/src/compiler/glsl/tests/ |
blob_test.c | 115 * verifying that we read out everything we wrote, that every bytes is 198 uint8_t bytes[] = "ABCDEFGHIJKLMNOP"; local 214 * 1. Write an unaligned number of bytes 220 blob_write_bytes(blob, bytes, num_bytes); 222 expect_unequal(delta, blob->size - last, "unaligned write of bytes"); 241 expect_equal_bytes(bytes, blob_read_bytes(&reader, num_bytes), 242 num_bytes, "unaligned read of bytes"); 309 "number of bytes read reading large objects");
|
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_video.c | 93 unsigned bytes = MIN2(new_buf->res->buf->size, new_size); local 108 memcpy(dst, src, bytes); 109 if (new_size > bytes) { 110 new_size -= bytes; 111 dst += bytes;
|