/external/flac/libFLAC/ |
H A D | memory.c | 40 void *FLAC__memory_alloc_aligned(size_t bytes, void **aligned_address) argument 48 x = safe_malloc_add_2op_(bytes, /*+*/31); 68 x = safe_malloc_(bytes);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
H A D | ByteArrayFetcher.java | 13 private final byte[] bytes; field in class:ByteArrayFetcher 16 public ByteArrayFetcher(byte[] bytes, String id) { argument 17 this.bytes = bytes; 23 return new ByteArrayInputStream(bytes);
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
H A D | ByteArrayPool.java | 39 Log.d(TAG, "Created temp bytes"); 45 public boolean releaseBytes(byte[] bytes) { argument 46 if (bytes.length != TEMP_BYTES_SIZE) { 54 tempQueue.offer(bytes);
|
H A D | Util.java | 9 private static final char[] sha256Chars = new char[64]; //32 bytes from sha-256 -> 64 hex chars 11 public static String sha256BytesToHex(byte[] bytes) { argument 12 return bytesToHex(bytes, sha256Chars); 17 private static String bytesToHex(byte[] bytes, char[] hexChars) { argument 19 for ( int j = 0; j < bytes.length; j++ ) { 20 v = bytes[j] & 0xFF;
|
/external/google-tv-pairing-protocol/cpp/src/polo/util/ |
H A D | poloutil.cc | 22 const std::string PoloUtil::BytesToHexString(const uint8_t* bytes, argument 25 BIGNUM* bn = BN_bin2bn(bytes, length, NULL); 34 uint8_t*& bytes) { 39 bytes = new uint8_t[length]; 40 BN_bn2bin(bn, &bytes[0]); 46 uint8_t*& bytes) { 51 // Initialize the array to 0 so there will be leading null bytes if the 52 // number is less than 4 bytes long. 53 bytes = new uint8_t[4]; 55 bytes[ 33 HexStringToBytes(const std::string hex_string, uint8_t*& bytes) argument 45 IntToBigEndianBytes(uint32_t value, uint8_t*& bytes) argument 63 BigEndianBytesToInt( const uint8_t* bytes) argument [all...] |
/external/google-tv-pairing-protocol/cpp/tests/polo/util/ |
H A D | poloutiltest.cc | 22 uint8_t bytes[4] = {0xAA, 0xBB, 0xCC, 0xDD}; local 23 std::string result = PoloUtil::BytesToHexString(bytes, 4); 28 uint8_t bytes[4] = {0x00, 0xBB, 0xCC, 0xDD}; local 29 std::string result = PoloUtil::BytesToHexString(bytes, 4); 34 uint8_t* bytes; local 35 size_t length = PoloUtil::HexStringToBytes(std::string("AABBCCDD"), bytes); 37 ASSERT_EQ(0xAA, bytes[0]); 38 ASSERT_EQ(0xBB, bytes[1]); 39 ASSERT_EQ(0xCC, bytes[2]); 40 ASSERT_EQ(0xDD, bytes[ 45 uint8_t* bytes; local 55 uint8_t* bytes; local 65 uint8_t bytes[4] = {0xAA, 0xBB, 0xCC, 0xDD}; local 71 uint8_t bytes[4] = {0x00, 0xAA, 0xBB, 0x00}; local [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
H A D | PoloUtil.java | 70 * Converts an array of bytes to a string of hexadecimal characters. 71 * Leading null bytes are preserved in the output. 77 * @param bytes the bytes to convert 80 public static String bytesToHexString(byte[] bytes) { argument 81 if (bytes == null || bytes.length == 0) { 84 BigInteger bigint = new BigInteger(1, bytes); 85 int formatLen = bytes.length * 2; 121 * Converts a 4-byte array of bytes t [all...] |
/external/icu/icu4c/source/common/unicode/ |
H A D | bytestriebuilder.h | 57 * The bytes will be copied; the builder does not keep 176 char *bytes; member in class:BytesTrieBuilder
|
/external/lldb/source/Core/ |
H A D | InputReaderEZ.cpp | 19 const char *bytes, 24 bytes, 45 reader.GetUserInput().AppendString(bytes, bytes_len); 16 Callback_Impl(void *baton, InputReader &reader, lldb::InputReaderAction notification, const char *bytes, size_t bytes_len) argument
|
/external/llvm/include/llvm/Support/ |
H A D | StreamableMemoryObject.h | 45 /// getExtent - Returns the size of the region in bytes. (The region is 48 /// May block until all bytes in the stream have been read 54 /// May block until (address - base) bytes have been read 61 /// readBytes - Tries to read a contiguous range of bytes from the 63 /// May block until (address - base + size) bytes have 65 /// not do partial reads - if size bytes cannot be read, 70 /// @param size - The number of bytes to copy. 72 /// and large enough to hold size bytes. 81 /// May block until (address - base + size) bytes have been read 89 /// May block until (address - base) bytes hav 154 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/external/llvm/lib/Target/MSP430/ |
H A D | MSP430MachineFunctionInfo.h | 27 /// stack frame in bytes. 43 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; } argument
|
/external/ltrace/sysdeps/linux-gnu/ |
H A D | breakpoint.c | 63 unsigned char *bytes = (unsigned char *)&a; local 65 sbp->orig_value[i * sizeof(long) + j] = bytes[j]; 66 bytes[j] = break_insn[i * sizeof(long) + j]; 113 unsigned char *bytes = (unsigned char *)&a; local 115 bytes[j] = sbp->orig_value[i * sizeof(long) + j];
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | memory_pool.c | 71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) argument 73 if (bytes < POOL_LARGE_ALLOC) { 76 if (pool->head + bytes > pool->end) 79 assert(pool->head + bytes <= pool->end); 83 pool->head += bytes; 88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
H A D | 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...] |
H A D | ExtensionDescriptor.java | 36 byte[] bytes;
field in class:ExtensionDescriptor 60 bytes = new byte[sizeOfInstance];
61 bb.get(bytes);
69 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
|
H A D | ExtensionProfileLevelDescriptor.java | 33 byte[] bytes;
field in class:ExtensionProfileLevelDescriptor 38 bytes = new byte[getSize()];
39 bb.get(bytes);
47 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | Internal.java | 53 * To get around this, protoc instead embeds the UTF-8 bytes into the 59 * in each value. This is much less efficient than just embedding the bytes 62 * generates a string literal corresponding to the bytes. The easiest way 67 * So we have a string literal which represents a set of bytes which 72 public static String stringDefaultValue(String bytes) { argument 74 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8"); 84 * Helper called by generated code to construct default values for bytes 87 * This is a lot like {@link #stringDefaultValue}, but for bytes fields. 89 * embed raw bytes as a string literal with ISO-8859-1 encoding. 91 public static ByteString bytesDefaultValue(String bytes) { argument [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
H A D | InternalNano.java | 69 * To get around this, protoc instead embeds the UTF-8 bytes into the 75 * in each value. This is much less efficient than just embedding the bytes 78 * generates a string literal corresponding to the bytes. The easiest way 83 * So we have a string literal which represents a set of bytes which 88 public static String stringDefaultValue(String bytes) { argument 90 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8"); 100 * Helper called by generated code to construct default values for bytes 103 * This is a lot like {@link #stringDefaultValue}, but for bytes fields. 105 * embed raw bytes as a string literal with ISO-8859-1 encoding. 107 public static byte[] bytesDefaultValue(String bytes) { argument [all...] |
H A D | UnknownFieldData.java | 45 final byte[] bytes; field in class:UnknownFieldData 47 UnknownFieldData(int tag, byte[] bytes) { argument 49 this.bytes = bytes; 55 size += bytes.length; 61 output.writeRawBytes(bytes); 74 return tag == other.tag && Arrays.equals(bytes, other.bytes); 81 result = 31 * result + Arrays.hashCode(bytes);
|
/external/sfntly/cpp/src/test/ |
H A D | open_type_data_test.cc | 27 ByteVector bytes; local 29 bytes.push_back(TEST_OTF_DATA[i]); 31 ByteArrayPtr array = new MemoryByteArray(&(bytes[0]), bytes.size());
|
/external/skia/experimental/DrawingBoard/ |
H A D | SkNetPipeController.cpp | 38 void SkNetPipeController::notifyWritten(size_t bytes) { argument 39 SkASSERT(fBytesWritten + bytes <= fBlockSize); 42 fStatus = fReader.playback((const char*)fBlock + fBytesWritten, bytes); 46 fBytesWritten += bytes; 47 fTotalWritten += bytes;
|
/external/skia/include/core/ |
H A D | SkData.h | 20 * but the actual ptr that is returned (by data() or bytes()) is guaranteed 28 * Returns the number of bytes stored. 43 const uint8_t* bytes() const { function in class:SkData 49 * Returns the actual number of bytes copied, after clamping offset and 51 * only the computed number of bytes is returned. 74 * (a null-terminated array of bytes). The returned SkData will have size()
|
/external/skia/src/utils/mac/ |
H A D | SkStream_mac.cpp | 20 static size_t get_bytes_proc(void* info, void* buffer, size_t bytes) { argument 22 return ((SkStream*)info)->read(buffer, bytes); 25 static off_t skip_forward_proc(void* info, off_t bytes) { argument 26 return ((SkStream*)info)->skip((size_t) bytes);
|
/external/smali/util/src/main/java/org/jf/util/ |
H A D | RandomAccessFileInputStream.java | 54 @Override public int read(byte[] bytes) throws IOException { argument 56 int bytesRead = raf.read(bytes); 61 @Override public int read(byte[] bytes, int offset, int length) throws IOException { argument 63 int bytesRead = raf.read(bytes, offset, length);
|
/external/strace/ |
H A D | sock.c | 60 unsigned char *bytes; local 174 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data; 176 bytes[0], bytes[1], bytes[2], 177 bytes[3], bytes[4], bytes[5]);
|