/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUBinaryTest.java | 80 ByteBuffer bytes = ByteBuffer.wrap(array); local 90 ICUBinary.readHeader(bytes, formatid, authenticate); 96 bytes.rewind(); 97 ICUBinary.readHeader(bytes, formatid, null); 104 bytes.rewind(); 105 ICUBinary.readHeader(bytes, formatid, authenticate); 112 bytes.rewind(); 113 ICUBinary.readHeader(bytes, formatid, authenticate);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUBinaryTest.java | 76 ByteBuffer bytes = ByteBuffer.wrap(array); local 86 ICUBinary.readHeader(bytes, formatid, authenticate); 92 bytes.rewind(); 93 ICUBinary.readHeader(bytes, formatid, null); 100 bytes.rewind(); 101 ICUBinary.readHeader(bytes, formatid, authenticate); 108 bytes.rewind(); 109 ICUBinary.readHeader(bytes, formatid, authenticate);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/development/samples/Vault/src/com/example/android/vault/ |
Utils.java | 61 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 65 bytes.write(buffer, 0, count); 67 return bytes.toByteArray();
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
ImageRequestTest.java | 154 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 158 bytes.write(buffer, 0, count); 161 return bytes.toByteArray();
|
/libcore/luni/src/test/etc/loading-test-jar/ |
TestMethods.java | 69 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 73 return bytes.toByteArray(); 75 bytes.write(buffer, 0, byteCount);
|
/art/test/102-concurrent-gc/src/ |
Main.java | 24 public byte[] bytes; field in class:Main.ByteContainer 37 l[index].bytes = new byte[bufferSize]; 57 byte[] temp = l[a].bytes; 58 l[a].bytes = l[b].bytes; 59 l[b].bytes = temp;
|
/bionic/libc/malloc_debug/ |
FreeTrackData.cpp | 76 size_t bytes = header->usable_size; local 77 bytes = (bytes < debug.config().fill_on_free_bytes) ? bytes : debug.config().fill_on_free_bytes; 78 while (bytes > 0) { 79 size_t bytes_to_cmp = (bytes < cmp_mem_.size()) ? bytes : cmp_mem_.size(); 84 bytes -= bytes_to_cmp;
|
/device/huawei/angler/vr/ |
vr.c | 84 int bytes = snprintf(buffer, sizeof(buffer), "%d", input); local 86 if (bytes < 0 || (size_t) bytes >= sizeof(buffer)) { 91 return write_string(buffer, (size_t) bytes, outFile);
|
/external/apache-http/android/src/com/android/internal/http/multipart/ |
ByteArrayPartSource.java | 50 private byte[] bytes; field in class:ByteArrayPartSource 55 * @param fileName the name of the file these bytes represent 56 * @param bytes the content of this part 58 public ByteArrayPartSource(String fileName, byte[] bytes) { 61 this.bytes = bytes; 69 return bytes.length; 83 return new ByteArrayInputStream(bytes);
|
/external/autotest/client/tests/ffsb/ |
ffsb.py | 28 bytes = {'K':1024 , 'k':1024, variable in class:ffsb 78 usrmaxflsz = int(usrmaxflsz[0:-1]) * self.bytes[usrmaxflsz[-1]]
|
/external/bison/lib/ |
bitsetv.c | 33 size_t bytes; local 37 /* Determine number of bytes for each set. */ 38 bytes = bitset_bytes (type, n_bits); 41 if (BITSET_SIZE_MAX / (sizeof (bitset) + bytes) <= n_vecs) 45 vector_bytes = (n_vecs + 1) * sizeof (bitset) + bytes - 1; 46 vector_bytes -= vector_bytes % bytes; 47 bsetv = xcalloc (1, vector_bytes + bytes * n_vecs); 51 bsetv[i] = (bitset) (void *) ((char *) bsetv + vector_bytes + i * bytes);
|
/external/boringssl/src/include/openssl/ |
des.h | 71 uint8_t bytes[8]; member in struct:DES_cblock_st 97 * single DES block (8 bytes) from in to out, using the key configured in 104 * bytes from |in| to |out| with DES in CBC mode. */ 111 * block (8 bytes) of data from |input| to |output| using 3DES. */ 120 * bytes from |in| to |out| with 3DES in CBC mode. 3DES uses three keys, thus 130 * bytes from |in| to |out| with 3DES in CBC mode. With this keying option, the
|
/external/clang/lib/Frontend/ |
TextDiagnostic.cpp | 70 int bytes = 0; local 74 ++bytes; 76 return bytes; 175 /// This function takes a raw source line and produces a mapping from the bytes 184 /// If a byte is the first in a sequence of bytes that together map to a single 186 /// column while the subsequent bytes will be -1. 195 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to 223 /// The last element in the array is the number of bytes in the source string 229 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to 269 int bytes() const { return m_columnToByte.back(); [all...] |
/external/dng_sdk/source/ |
dng_simple_image.cpp | 39 uint32 bytes = local 42 fMemory.Reset (allocator.Allocate (bytes));
|
/external/elfutils/libcpu/ |
i386_parse.y | 104 struct bitvalue *bytes; 191 static void fillin_arg (struct bitvalue *bytes, struct argname *name, 238 %type <bit> bit byte bytes 286 instr: bytes ':' bitfieldopt kID bitfieldopt optargs 308 newp->bytes = $1; 391 bytes: bytes ',' byte label 773 fillin_arg (struct bitvalue *bytes, struct argname *name, 823 struct bitvalue *b = bytes; 1252 /* First count the number of bytes. * [all...] |
/external/elfutils/libdw/ |
dwarf_next_cfi.c | 62 const uint8_t *bytes = data->d_buf + off; local 68 uint64_t length = read_4ubyte_unaligned_inc (&dw, bytes); 74 if (unlikely (limit - bytes < 8)) 80 length = read_8ubyte_unaligned_inc (&dw, bytes); 82 if (unlikely ((uint64_t) (limit - bytes) < length) 92 limit = bytes + length; 94 const uint8_t *const cie_pointer_start = bytes; 96 entry->cie.CIE_id = read_8ubyte_unaligned_inc (&dw, bytes); 99 entry->cie.CIE_id = read_4ubyte_unaligned_inc (&dw, bytes); 124 uint8_t version = *bytes++ [all...] |
dwarf_nextcu.c | 67 const unsigned char *bytes = data + off; local 90 4. A 1-byte unsigned integer representing the size in bytes of 94 uint64_t length = read_4ubyte_unaligned_inc (dwarf, bytes); 119 length = read_8ubyte_unaligned_inc (dwarf, bytes); 122 uint_fast16_t version = read_2ubyte_unaligned_inc (dwarf, bytes); 127 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, 132 uint8_t address_size = *bytes++; 136 uint64_t type_sig8 = read_8ubyte_unaligned_inc (dwarf, bytes); 139 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, 144 if (unlikely (type_offset < (size_t) (bytes - (data + off))) [all...] |
/external/flac/libFLAC/include/private/ |
md5.h | 15 * To compute the message digest of a chunk of bytes, declare an 17 * needed on buffers full of bytes, and then call MD5Final, which 40 FLAC__uint32 bytes[2]; member in struct:__anon12681
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
ByteArrayFetcher.java | 13 private final byte[] bytes; field in class:ByteArrayFetcher 16 public ByteArrayFetcher(byte[] bytes, String id) { 17 this.bytes = bytes; 23 return new ByteArrayInputStream(bytes);
|
/external/google-breakpad/src/processor/ |
microdump_processor_unittest.cc | 66 std::vector<char> bytes; local 69 bytes.resize(file_stream.tellg()); 72 file_stream.read(&bytes[0], bytes.size()); 74 *file_contents = string(&bytes[0], bytes.size());
|
microdump_stackwalk.cc | 74 std::vector<char> bytes; local 76 bytes.resize(file_stream.tellg()); 78 file_stream.read(&bytes[0], bytes.size()); 79 string microdump_content(&bytes[0], bytes.size());
|
/external/google-tv-pairing-protocol/cpp/tests/polo/util/ |
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[3]) 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...] |