/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 | 244 * @param out The bytes to write 488 int bytes; local 494 bytes = mmInStream.read(buffer); 496 // Send the obtained bytes to the UI Activity 497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 510 * @param buffer The bytes to write
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
fileio.c | 251 "encoder failed to return bytes");
545 "unbounded read returned more bytes "
608 PyObject *bytes;
local 626 bytes = PyBytes_FromStringAndSize(NULL, size);
627 if (bytes == NULL)
629 ptr = PyBytes_AS_STRING(bytes);
644 Py_DECREF(bytes);
652 if (_PyBytes_Resize(&bytes, n) < 0)
656 return (PyObject *) bytes;
959 "read(size: int) -> bytes. read at most size bytes, returned as bytes.\n" [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
fileio.c | 257 "encoder failed to return bytes");
555 "unbounded read returned more bytes "
609 PyObject *bytes;
local 623 bytes = PyBytes_FromStringAndSize(NULL, size);
624 if (bytes == NULL)
626 ptr = PyBytes_AS_STRING(bytes);
637 Py_DECREF(bytes);
645 if (_PyBytes_Resize(&bytes, n) < 0) {
646 Py_DECREF(bytes);
651 return (PyObject *) bytes;
[all...] |
/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/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/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...] |
/external/google-breakpad/src/client/mac/handler/ |
dynamic_images.cc | 83 // number of bytes from |address| to the end of the region. 159 // the memory! So, we'll try to read kMaxStringLength bytes 160 // (or as many bytes as we can until we reach the end of the vm region). 168 vector<uint8_t> bytes; local 169 if (ReadTaskMemory(target_task, address, (size_t)size_to_read, bytes) != 173 return string(reinterpret_cast<const char*>(&bytes[0])); 180 // Reads an address range from another task. The bytes read will be returned 181 // in bytes, which will be resized as necessary. 185 vector<uint8_t> &bytes) { 207 bytes.resize(length) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
LongsTest.java | 208 Longs.fromByteArray(new byte[Longs.BYTES - 1]); 225 byte[] b = new byte[Longs.BYTES]; 329 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local 336 assertTrue(Arrays.equals(array, Longs.toArray(bytes)));
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashCodeTest.java | 46 (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above 49 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes 65 // expectedHashCodes must contain at least one hash code with 4 bytes 68 if (expected.bytes.length == 4) { 75 // expectedHashCodes must contain at least one hash code with 8 bytes 78 if (expected.bytes.length == 8) { 87 HashCode fromBytes = HashCode.fromBytes(expected.bytes); 93 byte[] bytes = new byte[] { (byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00 }; 94 HashCode hashCode = HashCode.fromBytes(bytes); 101 bytes[0] = (byte) 0x00 386 final byte[] bytes; field in class:HashCodeTest.ExpectedHashCode [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSourceTest.java | 61 private static final byte[] bytes = newPreFilledByteArray(10000); field in class:ByteSourceTest 67 source = new TestByteSource(bytes); 81 assertArrayEquals(bytes, out.toByteArray()); 85 assertEquals(bytes.length, source.size()); 89 assertEquals(bytes.length, new TestByteSource(bytes, SKIP_THROWS).size()); 92 assertEquals(bytes.length, new TestByteSource(bytes, AVAILABLE_ALWAYS_ZERO).size()); 98 assertEquals(bytes.length, source.copyTo(out)); 101 assertArrayEquals(bytes, out.toByteArray()) [all...] |
ByteStreamsTest.java | 110 byte[] bytes = newPreFilledByteArray(100); 111 skipHelper(0, 0, new ByteArrayInputStream(bytes)); 112 skipHelper(50, 50, new ByteArrayInputStream(bytes)); 113 skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 1)); 114 skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 0)); 115 skipHelper(100, -1, new ByteArrayInputStream(bytes)); 117 skipHelper(101, 0, new ByteArrayInputStream(bytes)); 130 private static final byte[] bytes = field in class:ByteStreamsTest 144 ByteArrayDataInput in = ByteStreams.newDataInput(bytes); 155 ByteArrayDataInput in = ByteStreams.newDataInput(bytes); [all...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
DoublesTest.java | 351 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local 358 assertTrue(Arrays.equals(array, Doubles.toArray(bytes)));
|
FloatsTest.java | 342 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local 349 assertTrue(Arrays.equals(array, Floats.toArray(bytes)));
|
IntsTest.java | 237 Ints.fromByteArray(new byte[Ints.BYTES - 1]); 254 byte[] b = new byte[Ints.BYTES]; 368 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local 375 assertTrue(Arrays.equals(array, Ints.toArray(bytes)));
|
LongsTest.java | 219 Longs.fromByteArray(new byte[Longs.BYTES - 1]); 236 byte[] b = new byte[Longs.BYTES]; 351 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local 358 assertTrue(Arrays.equals(array, Longs.toArray(bytes)));
|
ShortsTest.java | 260 byte[] b = new byte[Shorts.BYTES]; 375 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local 382 assertTrue(Arrays.equals(array, Shorts.toArray(bytes)));
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
StringPrep.java | 198 // private static final int INDEX_TRIE_SIZE = 0; /* number of bytes in normalization trie */ 260 private StringPrep(ByteBuffer bytes) throws IOException { 261 StringPrepDataReader reader = new StringPrepDataReader(bytes); 266 sprepTrie = new CharTrie(bytes, null); 268 //indexes[INDEX_MAPPING_DATA_SIZE] store the size of mappingData in bytes 311 ByteBuffer bytes = ICUBinary.getRequiredData(PROFILE_NAMES[profile] + ".spp"); local 312 if (bytes != null) { 314 instance = new StringPrep(bytes);
|