/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.cc | 195 int bytes = Read(junk, min(count - skipped, local 197 if (bytes <= 0) { 201 skipped += bytes; 261 << " Can't back up over more bytes than were returned by the last call" 277 // First skip any bytes left over from a previous BackUp(). 351 << " Can't back up over more bytes than were returned by the last call"
|
/external/chromium_org/third_party/skia/gm/ |
gm_expectations.cpp | 229 const char *bytes = reinterpret_cast<const char *>(dataRef.get()->data()); local 232 if (!reader.parse(bytes, bytes+size, *jsonRoot)) {
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrFontScaler.cpp | 155 uint8_t* bytes = reinterpret_cast<uint8_t*>(dst); local 156 expand_bits(bytes, bits, width, height, dstRB, srcRB);
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_ktx.cpp | 276 const uint8_t *bytes = data->bytes(); local 277 if (etc1_pkm_is_valid(bytes)) { 282 if (SkKTXFile::is_ktx(bytes)) { 283 return stream->write(bytes, data->size()); 294 const uint8_t* bytes = data->bytes(); local 295 SkASSERT(etc1_pkm_is_valid(bytes)); 297 etc1_uint32 width = etc1_pkm_get_width(bytes); 298 etc1_uint32 height = etc1_pkm_get_height(bytes); [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkTSet.h | 155 /** Return the number of bytes in the set: count * sizeof(T). 157 size_t bytes() const { function in class:SkTSet 159 return fOrderedArray->bytes(); 292 SkAutoMalloc sortedArray(fOrderedArray->bytes());
|
/external/chromium_org/third_party/skia/tests/ |
RecordDrawTest.cpp | 158 const size_t bytes = SK_ARRAY_COUNT(text); local 161 recorder.drawPosTextH(text, bytes, xpos, 30, SkPaint()); 164 recorder.drawPosText(text, bytes, pos, SkPaint());
|
/external/chromium_org/third_party/webrtc/base/ |
helpers.cc | 155 char* bytes = reinterpret_cast<char*>(buf); local 157 bytes[i] = static_cast<char>(rand()); 249 scoped_ptr<uint8[]> bytes(new uint8[len]); 250 if (!Rng().Generate(bytes.get(), len)) { 256 str->push_back(table[bytes[i] % table_size]);
|
stream_unittest.cc | 77 size_t bytes; local 81 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); 82 EXPECT_EQ(bytes, kBufSize); 84 EXPECT_TRUE(stream->GetPosition(&bytes)); 85 EXPECT_EQ(13U, bytes); 89 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); 90 EXPECT_EQ(bytes, kBufSize); 92 EXPECT_TRUE(stream->GetPosition(&bytes)); 93 EXPECT_EQ(20U, bytes); 109 size_t bytes; local 167 size_t bytes; local 446 char bytes[100]; local [all...] |
/external/chromium_org/tools/relocation_packer/src/ |
elf_file_unittest.cc | 60 size_t bytes; local 62 bytes = fread(buffer, 1, sizeof(buffer), testfile); 63 ASSERT_EQ(bytes, fwrite(buffer, 1, bytes, temporary)); 64 } while (bytes > 0);
|
/external/chromium_org/v8/src/heap/ |
gc-tracer.cc | 210 void GCTracer::AddIncrementalMarkingStep(double duration, intptr_t bytes) { 212 cumulative_incremental_marking_bytes_ += bytes; 217 if (bytes > 0) { 417 intptr_t bytes = 0; local 421 bytes += iter->incremental_marking_bytes; 428 return static_cast<intptr_t>(bytes / durations); 433 intptr_t bytes = 0; local 437 bytes += iter->new_space_object_size; 444 return static_cast<intptr_t>(bytes / durations); 449 intptr_t bytes = 0 local 466 intptr_t bytes = 0; local [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
ByteArray.java | 31 private final byte[] bytes; field in class:ByteArray 36 /** {@code >= 0, <= bytes.length}; size computed as 43 * @param bytes {@code non-null;} the underlying array 45 * @param end {@code >= start, <= bytes.length;} end index of 48 public ByteArray(byte[] bytes, int start, int end) { 49 if (bytes == null) { 50 throw new NullPointerException("bytes == null"); 61 if (end > bytes.length) { 62 throw new IllegalArgumentException("end > bytes.length"); 65 this.bytes = bytes [all...] |
/external/dhcpcd/ |
common.c | 88 ssize_t bytes; local 98 bytes = getline(&lbuf, &lbuf_len, fp); 99 if (bytes == -1) 104 if (lbuf[--bytes] == '\n') 105 lbuf[bytes] = '\0'; 261 syslog(LOG_ERR, "memory exhausted (xalloc %zu bytes)", s); 282 syslog(LOG_ERR, "memory exhausted (xrealloc %zu bytes)", s);
|
/external/e2fsprogs/debugfs/ |
dump.c | 218 unsigned bytes = inode->i_size; local 227 retval = ext2fs_file_read(e2_file, p, bytes, &got); 232 bytes -= got; 234 if (got == 0 || bytes == 0)
|
/external/elfutils/0.153/lib/ |
md5.c | 41 /* This array contains the bytes used to pad the buffer to the next 61 /* Put result from CTX in first 16 bytes following RESBUF. The result 89 /* Process the remaining bytes in the internal buffer and the usual 99 /* Take yet unprocessed bytes into account. */ 100 md5_uint32 bytes = ctx->buflen; local 103 /* Now count remaining bytes. */ 104 ctx->total[0] += bytes; 105 if (ctx->total[0] < bytes) 108 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes [all...] |
sha1.c | 41 /* This array contains the bytes used to pad the buffer to the next 61 /* Put result from CTX in first 20 bytes following RESBUF. The result 87 /* Process the remaining bytes in the internal buffer and the usual 97 /* Take yet unprocessed bytes into account. */ 98 sha1_uint32 bytes = ctx->buflen; local 101 /* Now count remaining bytes. */ 102 ctx->total[0] += bytes; 103 if (ctx->total[0] < bytes) 106 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
HashCodesTest.java | 27 (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above 30 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes 46 // expectedHashCodes must contain at least one hash code with 4 bytes 49 if (expected.bytes.length == 4) { 56 // expectedHashCodes must contain at least one hash code with 8 bytes 59 if (expected.bytes.length == 8) { 68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes); 74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes())); 77 assertTrue(Arrays.equals(expected.bytes, bb)); 104 for (int bytes = 0; bytes < totalBytes; bytes++) 113 final byte[] bytes; field in class:HashCodesTest.ExpectedHashCode [all...] |
/external/icu/icu4c/source/io/ |
ufmt_cmn.c | 170 uint8_t bytes[sizeof(void*)]; member in union:__anon26566 214 result.bytes[resultIdx] = byte;
|
/external/icu/icu4c/source/test/intltest/ |
convtest.h | 38 const uint8_t *bytes; member in struct:ConversionCase
|
/external/iptables/include/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/external/libedit/src/ |
read.c | 196 /* FIONREAD attempts to buffer up multiple bytes, and to make that work 319 int bytes = 0; local 356 if ((bytes = ct_mbtowc(cp, cbuf, cbp)) == -1) { 369 (bytes = ct_mbtowc(cp, cbuf, cbp)) != 1) 373 if ((el->el_flags & IGNORE_EXTCHARS) && bytes > 1) {
|
/external/libopus/src/ |
opus.c | 174 int i, bytes; local 214 bytes = parse_size(data, len, size); 215 len -= bytes; 218 data += bytes; 256 bytes = parse_size(data, len, size+i); 257 len -= bytes; 260 data += bytes; 261 last_size -= bytes+size[i]; 279 bytes = parse_size(data, len, size+count-1); 280 len -= bytes; [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_debug.cpp | 141 const uint8_t *Bytes; 144 BufferMemoryObject(const uint8_t *bytes, uint64_t length) : 145 Bytes(bytes), Length(length) 163 *byte = Bytes[addr]; 183 const uint8_t *bytes = (const uint8_t *)func; local 290 BufferMemoryObject memoryObject((const uint8_t *)bytes, extent); 317 * Output the bytes in hexidecimal format. 323 debug_printf("%02x ", ((const uint8_t*)bytes)[pc + i]); 423 debug_printf("disassemble %p %p\n", bytes, bytes + pc) [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_transfer.c | 227 unsigned bytes = MIN2(size, 1 << 17); local 236 PUSH_DATA (push, bytes); 241 srcoff += bytes; 242 dstoff += bytes; 243 size -= bytes;
|
/external/mesa3d/src/glsl/ |
main.cpp | 83 size_t bytes = fread(text + total_read, local 85 if (bytes < size - total_read) { 91 if (bytes == 0) { 95 total_read += bytes;
|