/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
CollationRoot.java | 49 ByteBuffer bytes = ICUBinary.getRequiredData("coll/ucadata.icu"); typedefs 51 CollationDataReader.read(null, bytes, t2);
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
CollationRoot.java | 47 ByteBuffer bytes = ICUBinary.getRequiredData("coll/ucadata.icu"); typedefs 49 CollationDataReader.read(null, bytes, t2);
|
/external/libcap/libcap/ |
cap_extint.c | 25 __u8 bytes[CAP_SET_SIZE][NUMBER_OF_CAP_SETS]; member in struct:cap_ext_struct 66 result->bytes[j++][i] = val & 0xFF; 67 result->bytes[j++][i] = (val >>= 8) & 0xFF; 68 result->bytes[j++][i] = (val >>= 8) & 0xFF; 69 result->bytes[j++][i] = (val >> 8) & 0xFF; 108 val = export->bytes[bno++][set]; 110 val |= export->bytes[bno++][set] << 8; 112 val |= export->bytes[bno++][set] << 16; 114 val |= export->bytes[bno++][set] << 24;
|
/external/libchrome/base/memory/ |
ref_counted_memory.cc | 43 RefCountedBytes* bytes = new RefCountedBytes; local 44 bytes->data_.swap(*to_destroy); 45 return bytes;
|
/external/libchrome/base/metrics/ |
bucket_ranges.cc | 13 // Static table of checksums for all possible 8 bit bytes. 84 unsigned char bytes[sizeof(HistogramBase::Sample)]; member in union:base::__anon15755 88 sum = kCrcTable[(sum & 0xff) ^ converter.bytes[i]] ^ (sum >> 8); 92 // and we don't care about edge cases since we have an even number of bytes.
|
/external/libvorbis/doc/ |
02-bitpacking.tex | 19 \subsubsection{octets, bytes and words} 23 seven, ten, eleven and sixteen bit 'bytes' have been used. For 29 bytes as the fundamental atom of storage). A 'word' is an integer 34 bytes (16, 32 or 64 bits). Note however that the Vorbis bitpacking 52 Words are native groupings of multiple bytes. Several byte orderings 63 Logically, bytes are always coded and decoded in order from byte zero 78 coded. When packing the bits into bytes, the encoder begins by 149 byte n [ ] bytestream length == 2 bytes 166 byte n [ ] bytestream length == 4 bytes 185 byte 3 [0 0 0 0 0 1 1 0] bytestream length == 4 bytes [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
DecoderSpecificInfo.java | 34 byte[] bytes;
field in class:DecoderSpecificInfo 39 bytes = new byte[sizeOfInstance];
40 bb.get(bytes);
45 return bytes.length;
49 ByteBuffer out = ByteBuffer.wrap(bytes);
58 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
74 if (!Arrays.equals(bytes, that.bytes)) {
[all...] |
/external/nanopb-c/tests/decode_unittests/ |
decode_unittests.c | 33 if (byte != ref->bytes[i]) 171 struct { size_t size; uint8_t bytes[5]; } d; member in struct:__anon21339 176 TEST((s = S("\x01\xFF"), pb_dec_bytes(&s, &f, &d) && d.size == 1 && d.bytes[0] == 0xFF)) 180 /* Note: the size limit on bytes-fields is not strictly obeyed, as 185 * 6 bytes should error out. 252 struct { size_t size; uint8_t bytes[10]; } ref; member in struct:__anon21340 258 ref.size = 1; ref.bytes[0] = 0x55; 261 ref.size = 3; ref.bytes[0] = ref.bytes[1] = ref.bytes[2] = 0x55 [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
ResponseBody.java | 37 * Returns the number of bytes in that will returned by {@link #bytes}, or 48 public final byte[] bytes() throws IOException { method in class:ResponseBody 55 byte[] bytes; 57 bytes = source.readByteArray(); 61 if (contentLength != -1 && contentLength != bytes.length) { 64 return bytes; 83 return new String(bytes(), charset().name());
|
/external/opencv3/3rdparty/libwebp/webp/ |
mux_types.h | 51 const uint8_t* bytes; member in struct:WebPData 66 free((void*)webp_data->bytes); 76 if (src->bytes != NULL && src->size != 0) { 77 dst->bytes = (uint8_t*)malloc(src->size); 78 if (dst->bytes == NULL) return 0; 79 memcpy((void*)dst->bytes, src->bytes, src->size);
|
/external/skia/include/core/ |
SkData.h | 19 * but the actual ptr that is returned (by data() or bytes()) is guaranteed 25 * Returns the number of bytes stored. 40 const uint8_t* bytes() const { function in class:SkData 59 * Returns the actual number of bytes copied, after clamping offset and 61 * only the computed number of bytes is returned. 90 * (a null-terminated array of bytes). The returned SkData will have size() 141 * Attempt to read size bytes into a SkData. If the read succeeds, return the data,
|
/external/skia/src/images/ |
SkJpegUtility.cpp | 53 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); local 56 if (bytes == 0) { 61 src->current_offset += bytes; 64 src->bytes_in_buffer = bytes; 74 size_t bytes = src->fStream->skip(bytesToSkip); local 75 if (bytes <= 0 || bytes > bytesToSkip) { 76 // SkDebugf("xxxxxxxxxxxxxx failure to skip request %d returned %d\n", bytesToSkip, bytes); 81 src->current_offset += bytes; 83 bytesToSkip -= bytes; [all...] |
/external/skia/src/utils/ |
SkBase64.cpp | 45 unsigned char bytes[4]; local 56 bytes[byte] = decoded; 80 int one = (uint8_t) (bytes[0] << 2); 81 two = bytes[1]; 84 three = bytes[2]; 87 three |= bytes[3];
|
/external/squashfs-tools/kernel/fs/squashfs/ |
block.c | 44 * bytes of the metadata block. 77 * filesystem), otherwise the length is obtained from the first two bytes of 89 int bytes, compressed, b = 0, k = 0, page = 0, avail; local 101 bytes = -offset; 114 for (b = 0; bytes < length; b++, cur_index++) { 118 bytes += msblk->devblksize; 133 bytes = msblk->devblksize - offset; 146 for (; bytes < length; b++) { 150 bytes += msblk->devblksize; 167 bytes = length [all...] |
/external/toybox/toys/other/ |
nsenter.c | 82 int bytes = sprintf(toybuf, "0 %u 1", eugid), fd = xopen(map, O_WRONLY); local 84 xwrite(fd, toybuf, bytes);
|
/external/v8/src/arm64/ |
utils-arm64.h | 76 uint8_t bytes[8]; local 79 bytes[i] = (static_cast<uint64_t>(value) & mask) >> (i * 8); 94 result |= bytes[permute_table[block_bytes_log2 - 1][i]];
|
/external/webp/include/webp/ |
mux_types.h | 59 const uint8_t* bytes; member in struct:WebPData 74 free((void*)webp_data->bytes); 84 if (src->bytes != NULL && src->size != 0) { 85 dst->bytes = (uint8_t*)malloc(src->size); 86 if (dst->bytes == NULL) return 0; 87 memcpy((void*)dst->bytes, src->bytes, src->size);
|
/external/webp/src/webp/ |
mux_types.h | 59 const uint8_t* bytes; member in struct:WebPData 74 free((void*)webp_data->bytes); 84 if (src->bytes != NULL && src->size != 0) { 85 dst->bytes = (uint8_t*)malloc(src->size); 86 if (dst->bytes == NULL) return 0; 87 memcpy((void*)dst->bytes, src->bytes, src->size);
|
/external/webrtc/webrtc/base/ |
bitbuffer_unittest.cc | 20 const uint8_t bytes[64] = {0}; local 21 BitBuffer buffer(bytes, 32); 42 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, 0x45, 0x67, 0x89}; local 46 BitBuffer buffer(bytes, 8); 58 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, local 63 BitBuffer buffer(bytes, 9); 91 // The bytes. It almost looks like counting down by two at a time, except the 93 const uint8_t bytes[] = {0x1F, 0xDB, 0x97, 0x53, 0x0E, 0xCA, 0x86, 0x42}; local 98 BitBuffer buffer(bytes, 8); 115 const uint8_t bytes[] = {0x4D, 0x32} local 141 uint8_t bytes[4] = {0}; local 230 const uint8_t bytes[] = {0x00, 0xFF, 0xFF}; local 248 uint8_t bytes[16] = {0}; local 280 uint8_t bytes[16] = {0}; local 303 uint8_t bytes[64] = {0}; local 318 uint8_t bytes[] = {0xFF, 0xFF}; local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
BitwiseInputStream.java | 96 int bytes = (bits >>> 3) + ((bits & 0x07) > 0 ? 1 : 0); // &7==%8 local 97 byte[] arr = new byte[bytes]; 98 for (int i = 0; i < bytes; i++) {
|
/frameworks/base/libs/hwui/renderstate/ |
TextureState.cpp | 76 unsigned char bytes[SHADOW_LUT_SIZE]; local 79 bytes[i] = computeShadowOpacity(inputRatio) * 255; 81 mShadowLutTexture->upload(GL_ALPHA, SHADOW_LUT_SIZE, 1, GL_ALPHA, GL_UNSIGNED_BYTE, &bytes);
|
/frameworks/rs/ |
rsThreadIO.h | 70 uint32_t bytes; member in struct:android::renderscript::ThreadIO::CoreCmdHeaderRec 74 uint32_t bytes; member in struct:android::renderscript::ThreadIO::ClientCmdHeaderRec
|
/libcore/ojluni/src/main/native/ |
ObjectOutputStream.c | 60 jbyte *bytes; local 83 bytes = (*env)->GetPrimitiveArrayCritical(env, dst, NULL); 84 if (bytes == NULL) { /* exception thrown */ 99 bytes[dstpos++] = (ival >> 24) & 0xFF; 100 bytes[dstpos++] = (ival >> 16) & 0xFF; 101 bytes[dstpos++] = (ival >> 8) & 0xFF; 102 bytes[dstpos++] = (ival >> 0) & 0xFF; 106 (*env)->ReleasePrimitiveArrayCritical(env, dst, bytes, 0); 132 jbyte *bytes; local 155 bytes = (*env)->GetPrimitiveArrayCritical(env, dst, NULL) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
DictionaryStats.java | 63 BigDecimal bytes = new BigDecimal(mDictFileSize); local 64 BigDecimal kb = bytes.divide(new BigDecimal(1024), 2, BigDecimal.ROUND_HALF_UP); 66 return bytes.toString() + " bytes";
|
/system/bt/service/common/bluetooth/ |
uuid.cpp | 42 UUID128Bit bytes; local 43 base::RandBytes(bytes.data(), bytes.size()); 44 return UUID(bytes); 49 UUID128Bit bytes; local 50 bytes.fill(0); 51 return UUID(bytes); 56 UUID128Bit bytes; local 57 bytes.fill(1); 58 return UUID(bytes); [all...] |