/external/chromium_org/third_party/leveldatabase/src/util/ |
arena_test.cc | 22 size_t bytes = 0; local 47 bytes += s; 49 ASSERT_GE(arena.MemoryUsage(), bytes); 51 ASSERT_LE(arena.MemoryUsage(), bytes * 1.10);
|
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/ |
glcpp.c | 50 size_t bytes; local 61 bytes = fread (text + total_read, 1, CHUNK, fp); 62 total_read += bytes; 64 if (bytes < CHUNK) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texcompress.c | 468 * \param srcRowStride stride in bytes between rows of blocks in the 480 GLuint bytes, bw, bh; local 482 bytes = _mesa_get_format_bytes(format); 492 texImage.RowStride = srcRowStride * bh / bytes;
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
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/chromium_org/third_party/skia/include/core/ |
SkData.h | 18 * but the actual ptr that is returned (by data() or bytes()) is guaranteed 26 * Returns the number of bytes stored. 41 const uint8_t* bytes() const { function in class:SkData 60 * Returns the actual number of bytes copied, after clamping offset and 62 * only the computed number of bytes is returned. 91 * (a null-terminated array of bytes). The returned SkData will have size() 142 * Attempt to read size bytes into a SkData. If the read succeeds, return the data,
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
central_freelist.cc | 64 int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); local 67 ASSERT(objs_to_move > 0 && bytes > 0); 74 (max)(1, (1024 * 1024) / (bytes * objs_to_move)));
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
central_freelist.cc | 64 int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); local 67 ASSERT(objs_to_move > 0 && bytes > 0); 74 (max)(1, (1024 * 1024) / (bytes * objs_to_move)));
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
byte_io_unittest.cc | 54 // Template arguments: Type T, read method RM(buffer), B bytes of data. 63 uint8_t bytes[B + kAlignments]; local 67 PopulateTestData(bytes + i, test_value, B, big_endian); 70 EXPECT_EQ(test_value, RM(bytes + i)); 76 // Template arguments: Type T, write method WM(buffer, value), B bytes of data 86 uint8_t bytes[B + kAlignments]; local 93 memset(bytes, 0, B + kAlignments); 94 WM(bytes + i, test_value); 98 EXPECT_EQ(expected_bytes[i + j], bytes[i + j]);
|
/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/dhcpcd/ |
signals.c | 70 ssize_t bytes; local 73 bytes = read(signal_pipe[0], buf, sizeof(buf)); 74 if (bytes >= 0 && (size_t)bytes >= sizeof(sig))
|
/external/elfutils/0.153/libcpu/ |
i386_parse.y | 101 struct bitvalue *bytes; 188 static void fillin_arg (struct bitvalue *bytes, struct argname *name, 235 %type <bit> bit byte bytes 283 instr: bytes ':' bitfieldopt kID bitfieldopt optargs 305 newp->bytes = $1; 388 bytes: bytes ',' byte label 770 fillin_arg (struct bitvalue *bytes, struct argname *name, 820 struct bitvalue *b = bytes; 1249 /* First count the number of bytes. * [all...] |
/external/elfutils/0.153/libdw/ |
dwarf_next_cfi.c | 84 const uint8_t *bytes = data->d_buf + off; local 90 uint64_t length = read_4ubyte_unaligned_inc (&dw, bytes); 96 if (unlikely (limit - bytes < 8)) 102 length = read_8ubyte_unaligned_inc (&dw, bytes); 104 if (unlikely ((uint64_t) (limit - bytes) < length) 114 limit = bytes + length; 116 const uint8_t *const cie_pointer_start = bytes; 118 entry->cie.CIE_id = read_8ubyte_unaligned_inc (&dw, bytes); 121 entry->cie.CIE_id = read_4ubyte_unaligned_inc (&dw, bytes); 146 uint8_t version = *bytes++ [all...] |
/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-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...] |
/external/icu/icu4c/source/common/unicode/ |
bytestriebuilder.h | 57 * The bytes will be copied; the builder does not keep 176 char *bytes; member in class:BytesTrieBuilder
|
/external/llvm/include/llvm/Support/ |
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 have been rea 154 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/external/ltrace/sysdeps/linux-gnu/arm/ |
breakpoint.c | 45 unsigned char *bytes = current.b; local 55 sbp->orig_value[i * sizeof(long) + j] = bytes[j]; 57 bytes[j] = break_insn[i * sizeof(long) + j]; 60 bytes[j] = thumb_break_insn[i * sizeof(long) + j]; 78 unsigned char *bytes = current.b; local 87 bytes[j] = sbp->orig_value[i * sizeof(long) + j];
|
/external/mesa3d/src/glsl/glcpp/ |
glcpp.c | 50 size_t bytes; local 61 bytes = fread (text + total_read, 1, CHUNK, fp); 62 total_read += bytes; 64 if (bytes < CHUNK) {
|
/external/mesa3d/src/mesa/main/ |
texcompress.c | 468 * \param srcRowStride stride in bytes between rows of blocks in the 480 GLuint bytes, bw, bh; local 482 bytes = _mesa_get_format_bytes(format); 492 texImage.RowStride = srcRowStride * bh / bytes;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
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));
|
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/nano/ |
UnknownFieldData.java | 45 final byte[] bytes; field in class:UnknownFieldData 47 UnknownFieldData(int tag, byte[] bytes) { 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/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macmouse.c | 56 int row, bytes; local 72 bytes = (w+7)/8; 75 SDL_memcpy(&cursor->curs.data[row], data, bytes); 76 data += bytes; 79 SDL_memcpy(&cursor->curs.mask[row], mask, bytes); 80 mask += bytes;
|
/external/sfntly/cpp/src/test/ |
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/include/core/ |
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()
|