/external/guava/guava/src/com/google/common/hash/ |
HashCodes.java | 26 * Creates a 32-bit {@code HashCode}, of which the bytes will form the passed int, interpreted 62 * Creates a 64-bit {@code HashCode}, of which the bytes will form the passed long, interpreted 106 static HashCode fromBytes(byte[] bytes) { 107 return new BytesHashCode(bytes); 111 final byte[] bytes; field in class:HashCodes.BytesHashCode 113 BytesHashCode(byte[] bytes) { 114 this.bytes = bytes; 118 return bytes.length * 8; 122 return bytes.clone() [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
ReserializingTestCollectionGenerator.java | 55 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 56 ObjectOutputStream out = new ObjectOutputStream(bytes); 59 new ByteArrayInputStream(bytes.toByteArray()));
|
/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:__anon32655 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:__anon32656 258 ref.size = 1; ref.bytes[0] = 0x55; 261 ref.size = 3; ref.bytes[0] = ref.bytes[1] = ref.bytes[2] = 0x55 [all...] |
/external/openssl/crypto/rand/ |
rand.h | 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st 110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); 112 int RAND_egd_bytes(const char *path,int bytes);
|
/external/openssl/include/openssl/ |
rand.h | 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st 110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); 112 int RAND_egd_bytes(const char *path,int bytes);
|
/external/skia/bench/ |
MemoryBench.cpp | 64 const size_t bytes = num*sizeof(int); local 65 int* ints = (int*)sk_malloc_throw(bytes); 66 sk_bzero(ints, bytes);
|
/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/smack/src/org/xbill/DNS/ |
NSAPRecord.java | 32 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 46 bytes.write(current); 57 return bytes.toByteArray();
|
/external/valgrind/main/coregrind/ |
pub_core_aspacemgr.h | 286 also ensure that at least abs(EXTRA) extra free bytes will remain 296 mapping by DELTA bytes, taking the space from a reservation section 311 the mapping forwards only by DELTA bytes, and trashes whatever was 349 HChar bytes[VG_STACK_GUARD_SZB member in struct:__anon37294 364 /* Figure out how many bytes of the stack's active area have not been
|
/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);
|
/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++) {
|
/sdk/emulator/opengl/host/tools/emugen/ |
VarType.h | 23 VarConverter(size_t bytes) : m_bytes(bytes) {} 24 size_t bytes() const { return m_bytes; } function in class:VarConverter 67 size_t bytes() const { return m_converter->bytes(); } function in class:VarType
|
/frameworks/volley/src/com/android/volley/toolbox/ |
BasicNetwork.java | 211 PoolingByteArrayOutputStream bytes = local 222 bytes.write(buffer, 0, count); 224 return bytes.toByteArray(); 235 bytes.close();
|
/art/runtime/ |
thread-inl.h | 169 inline mirror::Object* Thread::AllocTlab(size_t bytes) { 170 DCHECK_GE(TlabSize(), bytes); local 173 tlsPtr_.thread_local_pos += bytes;
|
/art/test/004-NativeAllocations/src/ |
Main.java | 29 private int bytes; field in class:Main.NativeAllocation 31 NativeAllocation(int bytes) throws Exception { 32 this.bytes = bytes; 33 register_native_allocation.invoke(runtime, bytes); 35 nativeBytes += bytes; 44 nativeBytes -= bytes; 46 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_match bytes; member in struct:xt_set_info_match_v3
|
/bionic/tests/ |
wchar_test.cpp | 31 char bytes[] = { 'h', 'e', 'l', 'l', 'o', '\0' }; local 32 EXPECT_EQ(0U, mbrlen(&bytes[0], 0, NULL)); 33 EXPECT_EQ(1U, mbrlen(&bytes[0], 1, NULL)); 35 EXPECT_EQ(1U, mbrlen(&bytes[4], 1, NULL)); 36 EXPECT_EQ(0U, mbrlen(&bytes[5], 1, NULL)); 46 char bytes[MB_LEN_MAX]; local 49 EXPECT_EQ(1, wctomb(bytes, L'\0')); 50 EXPECT_EQ(1U, wcrtomb(bytes, L'\0', NULL)); 53 memset(bytes, 0, sizeof(bytes)); 117 char bytes[BUFSIZ]; local [all...] |
/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-L/include/linux/ |
gen_stats.h | 35 __u64 bytes; member in struct:gnet_stats_basic 40 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/development/ndk/platforms/android-L/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();
|