| /art/runtime/ |
| dex_file_verifier_test.cc | 74 // the final = symbols are read and used to trim the remaining bytes 337 // Unroll this, as we only have three bytes, anyways. 376 // Figure out how many bytes the code_off is. 379 size_t bytes = tmp - ptr; local 382 for (size_t i = 1; i < bytes; ++i) { [all...] |
| /art/runtime/gc/space/ |
| region_space.h | 411 size_t bytes = static_cast<size_t>(top_ - begin_); local 412 DCHECK_LE(bytes, kRegionSize); 413 return bytes; 473 size_t live_bytes_; // The live bytes. Used to compute the live percent.
|
| /bionic/libc/kernel/uapi/linux/ |
| blktrace_api.h | 114 __u32 bytes; member in struct:blk_io_trace
|
| /bionic/tools/relocation_packer/src/ |
| elf_file.cc | 42 // Alignment to preserve, in bytes. This must be at least as large as the 572 size_t bytes = dynamics.size() * sizeof(dynamics[0]); local 573 RewriteSectionData(dynamic_section, section_data, bytes); 732 VLOG(1) << "Unpacked : " << initial_bytes << " bytes"; 739 VLOG(1) << "Packed (no padding): " << packed_bytes_estimate << " bytes"; 755 VLOG(1) << "Compaction : " << hole_size << " bytes"; 787 const size_t bytes = packed.size() * sizeof(packed[0]); local 788 ResizeSection(elf_, relocations_section_, bytes, 790 RewriteSectionData(relocations_section_, packed_data, bytes); 838 // Convert data to a vector of bytes [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
| BluetoothChatService.java | 229 * @param out The bytes to write 455 int bytes; local 461 bytes = mmInStream.read(buffer); 463 // Send the obtained bytes to the UI Activity 464 mHandler.obtainMessage(MESSAGE_READ, bytes, -1, buffer) 476 * @param buffer The bytes to write
|
| /cts/tests/tests/media/src/android/media/cts/ |
| AudioHelper.java | 352 int bytes = super.read(audioBuffer, sizeInBytes); local 358 copy.position(0).limit(bytes); // read places data at the start of the buffer. 359 Assert.assertEquals(bytes, mTrack.write(copy, bytes, AudioTrack.WRITE_BLOCKING)); 360 mPosition += bytes / 364 return bytes; 369 int bytes = super.read(audioBuffer, sizeInBytes, readMode); local 375 copy.position(0).limit(bytes); // read places data at the start of the buffer. 376 Assert.assertEquals(bytes, mTrack.write(copy, bytes, AudioTrack.WRITE_BLOCKING)) [all...] |
| /dalvik/dx/src/com/android/dx/cf/code/ |
| BytecodeArray.java | 42 /** {@code non-null;} underlying bytes */ 43 private final ByteArray bytes; field in class:BytecodeArray 54 * @param bytes {@code non-null;} underlying bytes 58 public BytecodeArray(ByteArray bytes, ConstantPool pool) { 59 if (bytes == null) { 60 throw new NullPointerException("bytes == null"); 67 this.bytes = bytes; 77 return bytes; [all...] |
| /developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
| BluetoothChatService.java | 240 * @param out The bytes to write 473 int bytes; local 479 bytes = mmInStream.read(buffer); 481 // Send the obtained bytes to the UI Activity 482 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 497 * @param buffer The bytes to write
|
| /developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
| BluetoothChatService.java | 240 * @param out The bytes to write 473 int bytes; local 479 bytes = mmInStream.read(buffer); 481 // Send the obtained bytes to the UI Activity 482 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 497 * @param buffer The bytes to write
|
| /development/ndk/platforms/android-21/include/linux/ |
| blktrace_api.h | 114 __u32 bytes; member in struct:blk_io_trace
|
| /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
| BluetoothChatService.java | 215 * @param out The bytes to write 448 int bytes; local 454 bytes = mmInStream.read(buffer); 456 // Send the obtained bytes to the UI Activity 457 mHandler.obtainMessage(BluetoothChat.MESSAGE_READ, bytes, -1, buffer) 471 * @param buffer The bytes to write
|
| /development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
| BluetoothChatService.java | 240 * @param out The bytes to write 473 int bytes; local 479 bytes = mmInStream.read(buffer); 481 // Send the obtained bytes to the UI Activity 482 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 497 * @param buffer The bytes to write
|
| /external/ImageMagick/MagickCore/ |
| string.c | 1092 bytes, local [all...] |
| /external/bison/lib/ |
| bitset_stats.c | 679 size_t bytes; local 699 bytes = abitset_bytes (n_bits); 700 sbset = xcalloc (1, bytes); 705 bytes = lbitset_bytes (n_bits); 706 sbset = xcalloc (1, bytes); 711 bytes = ebitset_bytes (n_bits); 712 sbset = xcalloc (1, bytes); 717 bytes = vbitset_bytes (n_bits); 718 sbset = xcalloc (1, bytes);
|
| quotearg.c | 470 be the first bytes of multibyte characters, which means 543 size_t bytes = mbrtowc (&w, &arg[i + m], local 545 if (bytes == 0) 547 else if (bytes == (size_t) -1) 552 else if (bytes == (size_t) -2) 569 for (j = 1; j < bytes; j++) 583 m += bytes; 692 embedded null bytes only if ARGSIZE is not SIZE_MAX, SIZE is not 701 /* Elide embedded null bytes if we can't return a size. */ 795 /* Elide embedded null bytes since we don't return a size. * [all...] |
| /external/blktrace/ |
| blktrace_api.h | 100 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
|
| /external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/ |
| serialutil.py | 10 bytes 15 # strings anyway, only later versions have a true bytes type. 16 bytes = str variable 18 # bytes 20 # for bytes(bytearray()) usage 49 # ``memoryview`` was introduced in Python 2.7 and ``bytes(some_memoryview)`` 64 # so a simple ``bytes(sequence)`` doesn't work for all versions 66 """convert a sequence to a bytes type""" 67 if isinstance(seq, bytes): 70 return bytes(seq [all...] |
| /external/dbus/dbus/ |
| dbus-spawn.c | 71 size_t bytes = 0; local 83 to_read = sizeof (int) * n_ints_in_buf - bytes; 91 ((char*)buf) + bytes, 113 bytes += chunk; 116 *n_ints_read = (int)(bytes / sizeof(int)); 126 size_t bytes = 0; local 138 to_read = sizeof (pid_t) - bytes; 146 ((char*)buf) + bytes, 167 bytes += chunk; [all...] |
| /external/dbus/tools/ |
| dbus-launch.c | 231 size_t bytes = 0; local 245 to_read = maxlen - bytes; 251 buf + bytes, 267 bytes += chunk; 271 bytes > 0) 276 bytes > 0 && 277 buf[bytes-1] == '\n') 278 buf[bytes-1] = '\0'; 287 size_t bytes = 0; local 298 to_read = sizeof (pid_t) - bytes; [all...] |
| /external/eigen/Eigen/src/Core/util/ |
| Memory.h | 102 * Fast, but wastes 16 additional bytes of memory. Does not throw any exception. 209 /** \internal Allocates \a size bytes. The returned pointer is guaranteed to have 16 bytes alignment. 296 /** \internal Allocates \a size bytes. If Align is true, then the returned ptr is 16-byte-aligned. 369 /** \internal Allocates \a size objects of type T. The returned pointer is guaranteed to have 16 bytes alignment. 460 * power of 2, the packet size in bytes is also a power of 2, and is a multiple of sizeof(Scalar). On the 663 * // Matrix4f requires 16 bytes alignment: 666 * // Vector3f does not require 16 bytes alignment, no need to use Eigen's allocator: 823 unsigned char * bytes = reinterpret_cast<unsigned char *>(abcd)+2; local 827 switch(bytes[i] [all...] |
| /external/fio/ |
| blktrace_api.h | 99 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
|
| filesetup.c | 287 unsigned long long bytes = 0; local 296 r = blockdev_size(f, &bytes); 302 if (!bytes) { 307 f->real_file_size = bytes; 318 unsigned long long bytes = 0; local 327 r = chardev_size(f, &bytes); 333 if (!bytes) { 338 f->real_file_size = bytes; 672 * Get free number of bytes for each file on each unique mount.
|
| /external/fio/t/ |
| dedupe.c | 87 unsigned long long bytes; local 89 if (blockdev_size(f, &bytes)) { 93 ret = bytes;
|
| /external/freetype/src/cff/ |
| cffload.c | 281 if ( FT_FRAME_EXTRACT( size, idx->bytes ) ) 309 if ( idx->bytes ) 310 FT_FRAME_RELEASE( idx->bytes ); 413 FT_Byte* org_bytes = idx->bytes; 544 if ( idx->bytes ) 547 *pbytes = idx->bytes + off1 - 1; 576 if ( idx->bytes == 0 ) 593 FT_Byte* bytes; local 599 error = cff_index_access_element( idx, element, &bytes, &byte_len ); 606 FT_MEM_COPY( name, bytes, byte_len ) [all...] |
| /external/google-breakpad/src/client/linux/handler/ |
| exception_handler_unittest.cc | 498 const uint32_t kMemorySize = 256; // bytes 520 // bytes on either side of the instruction pointer. 565 const uint8_t* bytes = region->GetMemory(); local 566 ASSERT_TRUE(bytes); 572 EXPECT_TRUE(memcmp(bytes, prefix_bytes, sizeof(prefix_bytes)) == 0); 573 EXPECT_TRUE(memcmp(bytes + kOffset, kIllegalInstruction, 575 EXPECT_TRUE(memcmp(bytes + kOffset + sizeof(kIllegalInstruction), 590 const uint32_t kMemorySize = 256; // bytes 612 // bytes on either side of the instruction pointer. 657 const uint8_t* bytes = region->GetMemory() local 748 const uint8_t* bytes = region->GetMemory(); local [all...] |