/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...] |
/system/core/fastboot/ |
socket_test.cpp | 72 ssize_t bytes = sock->ReceiveAll(&received[0], received.length(), kTestTimeoutMs); local 73 return static_cast<size_t>(bytes) == received.length() && received == message; 165 ssize_t bytes = server->Receive(buffer, 5, kTestTimeoutMs); local 166 if (bytes == 5) { 169 EXPECT_EQ(-1, bytes); 242 // number of bytes indicated by the next entry in |test|. 254 // Count the bytes we've sent to find where the next buffer should start and how many 255 // bytes should be left in it. 356 EXPECT_NONFATAL_FAILURE(mock->Receive(&c, 1, 0), "not enough bytes (1) for foo");
|
/system/update_engine/payload_consumer/ |
extent_writer_unittest.cc | 74 const string bytes = "1234"; local 78 EXPECT_TRUE(direct_writer.Write(bytes.data(), bytes.size())); 81 EXPECT_EQ(static_cast<off_t>(kBlockSize + bytes.size()), 89 bytes.data(), bytes.data() + bytes.size());
|
/toolchain/binutils/binutils-2.25/bfd/ |
i386dynix.c | 62 struct external_exec *bytes = (struct external_exec *)raw_bytes; local 69 /* Now fill in fields in the execp, from the bytes in the raw data. */ 70 execp->a_info = H_GET_32 (abfd, bytes->e_info); 71 execp->a_text = GET_WORD (abfd, bytes->e_text); 72 execp->a_data = GET_WORD (abfd, bytes->e_data); 73 execp->a_bss = GET_WORD (abfd, bytes->e_bss); 74 execp->a_syms = GET_WORD (abfd, bytes->e_syms); 75 execp->a_entry = GET_WORD (abfd, bytes->e_entry); 76 execp->a_trsize = GET_WORD (abfd, bytes->e_trsize); 77 execp->a_drsize = GET_WORD (abfd, bytes->e_drsize) [all...] |
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
BasicNetwork.java | 228 PoolingByteArrayOutputStream bytes = local 239 bytes.write(buffer, 0, count); 241 return bytes.toByteArray(); 252 bytes.close();
|
/art/test/004-NativeAllocations/src/ |
Main.java | 31 private int bytes; field in class:Main.NativeAllocation 33 NativeAllocation(int bytes, boolean testingDeadlock) throws Exception { 34 this.bytes = bytes; 35 register_native_allocation.invoke(runtime, bytes); 38 nativeBytes += bytes; 48 nativeBytes -= bytes; 50 register_native_free.invoke(runtime, bytes);
|
/bionic/libc/kernel/uapi/linux/ |
gen_stats.h | 36 __u64 bytes; member in struct:gnet_stats_basic 41 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_set.h | 76 struct ip_set_counter_match0 bytes; member in struct:xt_set_info_match_v3 92 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v4
|
/bootable/recovery/ |
recovery-persist.cpp | 72 size_t bytes; local 73 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) { 74 fwrite(buf, 1, bytes, dest_fp);
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
AttributeFactory.java | 56 * Parses and makes an attribute based on the bytes at the 64 * @param offset offset into {@code dcf}'s {@code bytes} 82 ByteArray bytes = cf.getBytes(); local 84 int nameIdx = bytes.getUnsignedShort(offset); 85 int length = bytes.getInt(offset + 2); 90 observer.parsed(bytes, offset, 2, 92 observer.parsed(bytes, offset + 2, 4, 115 * @param offset offset into {@code bytes} to start parsing at; this 124 ByteArray bytes = cf.getBytes(); local 126 Attribute result = new RawAttribute(name, bytes, offset, length, pool) [all...] |
/development/ndk/platforms/android-21/include/linux/ |
gen_stats.h | 36 __u64 bytes; member in struct:gnet_stats_basic 41 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/development/ndk/platforms/android-21/include/linux/netfilter/ |
xt_set.h | 76 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v3
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
ChatManager.java | 37 int bytes; local 44 bytes = iStream.read(buffer); 45 if (bytes == -1) { 49 // Send the obtained bytes to the UI Activity 52 bytes, -1, buffer).sendToTarget();
|