| /external/libchrome/base/ |
| pickle_unittest.cc | 386 int bytes = sizeof(int) * 2; local 391 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes)); 392 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes + 1)); 490 // Check we can write zero bytes of data and 'data' can be NULL. 544 // Checks that claimed bytes are zero-initialized. 548 const char* bytes = static_cast<const char*>(pickle.ClaimBytes(kChunkSize)); local 550 EXPECT_EQ(0, bytes[i]); 560 void* bytes = pickle.ClaimBytes(data.size()); local 562 memcpy(bytes, data.data(), data.size());
|
| /external/libchrome/base/strings/ |
| string_util_unittest.cc | 353 EXPECT_FALSE(IsStringUTF8("\xf8\xa0\xbf\x80\xbf")); // 5 bytes 354 EXPECT_FALSE(IsStringUTF8("\xfc\x9c\xbf\x80\xbf\x80")); // 6 bytes 554 int64_t bytes; member in struct:base::__anon14378 559 // sense (zero or bytes). 561 // the display of file sizes or bytes consistently around three 583 FormatBytesUnlocalized(cases[i].bytes)); [all...] |
| /external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/ |
| OggInputStream.java | 78 /** The number of bytes read */
79 int bytes = 0;
field in class:OggInputStream 91 /** The total number of bytes */
126 /** Get the number of bytes on the stream
128 * @return The number of the bytes on the stream */
177 bytes = input.read(buffer, index, BUFFER_SIZE);
181 syncState.wrote(bytes);
186 if (bytes < BUFFER_SIZE) return false;
262 bytes = input.read(buffer, index, BUFFER_SIZE);
266 if (bytes == 0 && i < 2) { [all...] |
| /external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/ |
| OggInputStream.java | 78 /** The number of bytes read */
79 int bytes = 0;
field in class:OggInputStream 91 /** The total number of bytes */
126 /** Get the number of bytes on the stream
128 * @return The number of the bytes on the stream */
177 bytes = input.read(buffer, index, BUFFER_SIZE);
181 syncState.wrote(bytes);
186 if (bytes < BUFFER_SIZE) return false;
262 bytes = input.read(buffer, index, BUFFER_SIZE);
266 if (bytes == 0 && i < 2) { [all...] |
| /external/libnl/lib/ |
| addr.c | 531 int bytes = len / 8; local 533 d = memcmp(a->a_addr, b->a_addr, bytes); 537 d = (a->a_addr[bytes] & mask) - 538 (b->a_addr[bytes] & mask);
|
| /external/libogg/src/ |
| bitwise.c | 60 long bytes=bits>>3; local 62 bits-=bytes*8; 63 b->ptr=b->buffer+bytes; 65 b->endbyte=bytes; 71 long bytes=bits>>3; local 73 bits-=bytes*8; 74 b->ptr=b->buffer+bytes; 76 b->endbyte=bytes; 184 long bytes=bits/8; local 185 bits-=bytes*8 512 long bytes,i; local 547 long bytes,i; local 583 long bytes,i; local [all...] |
| /external/opencv3/3rdparty/libtiff/ |
| tif_dir.c | 49 tmsize_t bytes = (tmsize_t)(nmemb * elem_size); local 50 if (elem_size && bytes / elem_size == nmemb) 51 *vpp = (void*) _TIFFmalloc(bytes); 53 _TIFFmemcpy(*vpp, vp, bytes); [all...] |
| /external/pdfium/third_party/libtiff/ |
| tif_dir.c | 49 tmsize_t bytes = (tmsize_t)(nmemb * elem_size); local 50 if (elem_size && bytes / elem_size == nmemb) 51 *vpp = (void*) _TIFFmalloc(bytes); 53 _TIFFmemcpy(*vpp, vp, bytes); [all...] |
| /external/piex/src/ |
| piex.cc | 628 const size_t bytes = BytesRequiredForIsRaw(); local 633 // Read required number of bytes into a vector. 634 std::vector<std::uint8_t> file_header(bytes); 646 const size_t bytes = BytesRequiredForIsRaw(); local 647 if (data == nullptr || bytes == 0) { 651 std::vector<std::uint8_t> file_header(bytes);
|
| tiff_parser.cc | 116 std::vector<std::uint8_t> bytes; local 117 if (!gps_directory.Get(kGpsTagAltitudeRef, &bytes) || bytes.empty() || 122 preview_image_data->gps.altitude_ref = bytes[0] != 0; 268 length /= 4; // length in bytes divided by 4 gives number of IFDs.
|
| /external/protobuf/src/google/protobuf/io/ |
| coded_stream.cc | 78 GOOGLE_LOG(WARNING) << "The total number of bytes read was " << total_bytes_read_; 182 << " bytes). To increase the limit (or to disable these " 289 uint8 bytes[sizeof(*value)]; local 293 // Fast path: Enough bytes in the buffer to read directly. 298 if (!ReadRaw(bytes, sizeof(*value))) return false; 299 ptr = bytes; 306 uint8 bytes[sizeof(*value)]; local 310 // Fast path: Enough bytes in the buffer to read directly. 315 if (!ReadRaw(bytes, sizeof(*value))) return false; 316 ptr = bytes; 663 uint8 bytes[sizeof(value)]; local 678 uint8 bytes[sizeof(value)]; local 733 uint8 bytes[kMaxVarint32Bytes]; local 833 uint8 bytes[kMaxVarintBytes]; local [all...] |
| /external/regex-re2/re2/testing/ |
| re2_test.cc | 1003 // Both should match in either mode, bytes or UTF-8 1110 int bytes = 15 * 1024; \/\/ enough to crash PCRE local [all...] |
| /external/skia/src/codec/ |
| SkPngCodec.cpp | 37 const size_t bytes = stream->read(data, length); local 38 if (bytes != length) { 253 // byte into separate bytes (useful for paletted and grayscale images). 482 // bytes), and if we can't fill the buffer, we immediately fail. 483 // For example, if we try to read 8192 bytes, and the image (incorrectly) only contains
|
| /external/skia/src/ports/ |
| SkImageDecoder_WIC.cpp | 327 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel(); local 329 SkPMColor* src = reinterpret_cast<SkPMColor*>(bytes); 330 SkColor* dst = reinterpret_cast<SkColor*>(bytes);
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
| PrimitiveArrayTest.java | 32 private final byte[] bytes = new byte[] { 1, 2, 3 }; field in class:PrimitiveArrayTest 42 String testInput = "- " + pkg + ".ByteArr [ " + Arrays.toString(bytes) + " ]\n" + "- " 54 Assert.assertArrayEquals(bytes, ((ByteArr) wrappers.get(0)).getBytes()); 157 ByteArr byteArr = new ByteArr(bytes);
|
| /external/squashfs-tools/squashfs-tools/ |
| mksquashfs.h | 83 long long bytes; member in struct:file_info
|
| /external/tremolo/Tremolo/ |
| ogg.h | 152 long bytes; member in struct:__anon23508 192 extern int ogg_sync_wrote(ogg_sync_state *oy, long bytes);
|
| /external/v8/test/unittests/interpreter/ |
| interpreter-assembler-unittest.cc | 138 Matcher<Node*> bytes[2]; local 139 for (int i = 0; i < static_cast<int>(arraysize(bytes)); i++) { 140 bytes[i] = IsLoad( 148 return IsWord32Or(IsWord32Shl(bytes[0], IsInt32Constant(kBitsPerByte)), 149 bytes[1]); 175 Matcher<Node*> bytes[2]; local 176 for (int i = 0; i < static_cast<int>(arraysize(bytes)); i++) { 177 bytes[i] = IsLoad( 186 IsWord32Shl(bytes[0], IsInt32Constant(kBitsPerByte)), bytes[1]) 216 Matcher<Node*> bytes[4]; local 257 Matcher<Node*> bytes[4]; local [all...] |
| /external/webrtc/webrtc/modules/pacing/ |
| paced_sender.cc | 54 bytes(length_in_bytes), 63 size_t bytes; member in struct:webrtc::paced_sender::Packet 111 bytes_ += packet.bytes; 124 bytes_ -= packet.bytes; 191 // Total number of bytes in the queue. 214 int64_t bytes = target_rate_kbps_ * delta_time_ms / 8; local 217 bytes_remaining_ = bytes_remaining_ + bytes; 220 bytes_remaining_ = bytes; 224 void UseBudget(size_t bytes) { 225 bytes_remaining_ = std::max(bytes_remaining_ - static_cast<int>(bytes), [all...] |
| /external/wpa_supplicant_8/wpa_supplicant/ |
| ctrl_iface_named_pipe.c | 89 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes, 96 static VOID WINAPI global_iface_read_completed(DWORD err, DWORD bytes, 254 static VOID WINAPI ctrl_iface_write_completed(DWORD err, DWORD bytes, 259 "err=%d bytes=%d", dst, (int) err, (int) bytes); 346 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes, 351 "bytes=%d", dst, (int) err, (int) bytes); 352 if (err == 0 && bytes > 0) 353 wpa_supplicant_ctrl_iface_rx(dst, bytes); 361 DWORD bytes; local 779 DWORD bytes; local [all...] |
| /hardware/libhardware/tests/camera2/ |
| CameraStreamFixture.h | 321 size_t bytes; local 324 bytes = fwrite( 327 if (bytes != img.width) { 345 bytes = fwrite(reinterpret_cast<const char*>(px), 347 if (bytes != img.width / 2) {
|
| /hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
| hw_primary.cpp | 524 int32_t bytes = snprintf(buffer, MAX_SYSFS_COMMAND_LENGTH, "%d\n", level); local 525 if (bytes < 0) { 531 ssize_t ret = Sys::pwrite_(fd, buffer, static_cast<size_t>(bytes), 0); 570 ssize_t bytes = snprintf(buffer, kWriteLength, "%d", enable); local 576 if (HWDevice::SysFsWrite(kAutoRefreshNode, buffer, bytes) <= 0) { // Returns bytes written
|
| /hardware/qcom/display/msmcobalt/sdm/libs/core/fb/ |
| hw_primary.cpp | 511 int32_t bytes = snprintf(buffer, kMaxSysfsCommandLength, "%d\n", level); local 512 if (bytes < 0) { 518 ssize_t ret = Sys::pwrite_(fd, buffer, static_cast<size_t>(bytes), 0); 557 ssize_t bytes = snprintf(buffer, kWriteLength, "%d", enable); local 563 if (HWDevice::SysFsWrite(kAutoRefreshNode, buffer, bytes) <= 0) { // Returns bytes written
|
| /hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
| OMX_G711Decoder.c | 80 extern int bytes[500] = {0}; variable [all...] |
| /hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
| OMX_G726Enc_Utils.c | 90 extern int bytes[500] = {0}; variable 114 bytes[e]=size; 116 printf("__ Allocating %d bytes on address %p, line %d file %s\n", size, p, line, s); 129 printf("__ Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); [all...] |