| /external/dhcpcd-6.8.2/compat/ |
| getline.c | 44 size_t bytes, newlen; local 54 bytes = 0; 58 if (*buf == NULL || bytes != 0 || *buflen < BUFSIZ) { 66 p = *buf + bytes; 70 bytes += strlen(p); 71 } while (bytes == 0 || *(*buf + (bytes - 1)) != '\n'); 72 if (bytes == 0) 74 return bytes;
|
| /external/dtc/tests/ |
| appendprop1.c | 45 uint8_t bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04}; local 60 CHECK(fdt_appendprop(fdt, 0, "prop-bytes", bytes, sizeof(bytes)));
|
| appendprop2.c | 45 uint8_t bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04}; local 54 CHECK(fdt_appendprop(fdt, 0, "prop-bytes", bytes, sizeof(bytes)));
|
| /external/google-tv-pairing-protocol/cpp/src/polo/encoding/ |
| hexadecimalencoder.cc | 34 uint8_t* bytes; local 35 size_t length = polo::util::PoloUtil::HexStringToBytes(secret, bytes); 36 std::vector<uint8_t> decoded(bytes, bytes + length); 37 delete[] bytes;
|
| /external/kmod/shared/ |
| scratchbuf.h | 12 char *bytes; member in struct:scratchbuf 24 return buf->bytes; 28 .bytes = buf_, \
|
| /external/libvpx/libvpx/ |
| md5_utils.h | 12 * To compute the message digest of a chunk of bytes, declare an 14 * needed on buffers full of bytes, and then call MD5Final, which 36 UWORD32 bytes[2]; member in struct:MD5Context
|
| /external/mesa3d/src/gallium/drivers/radeon/ |
| loader.cpp | 23 unsigned char * bytes; local 34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
|
| /external/syslinux/com32/lib/ |
| asprintf.c | 13 int bytes; local 19 bytes = vsnprintf(NULL, 0, format, ap1) + 1; 22 *bufp = p = malloc(bytes); 26 rv = vsnprintf(p, bytes, format, ap);
|
| /external/syslinux/com32/lib/sys/vesa/ |
| screencpy.c | 71 size_t bytes = npixels * __vesacon_bytes_per_pixel; local 72 char rowbuf[bytes + 4] __aligned(4); 76 firmware->vesa->screencpy(dst, s, bytes, &wi);
|
| /external/valgrind/helgrind/tests/ |
| tc16_byterace.c | 7 char bytes[10]; variable 13 bytes[2*i + 0] ++; /* child accesses: 0 2 4 6 8 */ 28 bytes accessed */ 30 bytes[2*i + 1] ++; /* accesses: 1 3 5 7 9 */ 32 /* Unprotected relative to child, but harmful; same bytes */ 34 bytes[3*i + 1] ++; /* accesses: 1 4(race!) 7 */
|
| /external/webrtc/webrtc/base/ |
| bufferqueue_unittest.cc | 20 size_t bytes; local 26 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes)); 29 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes)); 30 EXPECT_EQ(kSize, bytes); 34 EXPECT_FALSE(queue1.WriteBack(in, kSize, &bytes)); 38 EXPECT_TRUE(queue1.ReadFront(out, kSize, &bytes)); 39 EXPECT_EQ(kSize, bytes); 43 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes)); 47 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes)); 48 EXPECT_EQ(kSize, bytes); [all...] |
| /frameworks/rs/rsov/compiler/spirit/ |
| instructions_test.cpp | 34 uint8_t bytes[] = {0x0a, 0x00, 0x03, 0x00, 0x41, 0x42, local 36 std::vector<uint32_t> words((uint32_t *)bytes, 37 (uint32_t *)(bytes + sizeof(bytes))); 44 uint8_t bytes[] = {0x0b, 0x00, 0x06, 0x00, 0x01, 0x00, 0x00, 0x00, local 47 std::vector<uint32_t> words((uint32_t *)bytes, 48 (uint32_t *)(bytes + sizeof(bytes)));
|
| word_stream_test.cpp | 30 const std::vector<uint8_t> bytes((uint8_t *)words.data(), 34 EXPECT_EQ(bytesExpected, bytes); 41 const std::vector<uint8_t> bytes((uint8_t *)words.data(), 46 EXPECT_EQ(bytesExpected, bytes); 50 uint8_t bytes[] = {0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x00}; local 51 std::vector<uint32_t> words((uint32_t *)bytes, 52 (uint32_t *)(bytes + sizeof(bytes))); 60 uint8_t bytes[] = {0x47, 0x4c, 0x53, 0x4c, 0x2e, 0x73, 0x74, 0x64, local 62 std::vector<uint32_t> words((uint32_t *)bytes, [all...] |
| /external/conscrypt/testing/src/main/java/libcore/io/ |
| Streams.java | 42 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 46 bytes.write(buffer, 0, count); 48 return bytes.toByteArray(); 52 * Copies all of the bytes from {@code in} to {@code out}. Neither stream is closed. 53 * Returns the total number of bytes transferred.
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bytes/ |
| BytesResource.java | 1 package com.bumptech.glide.load.resource.bytes; 9 private final byte[] bytes; field in class:BytesResource 11 public BytesResource(byte[] bytes) { 12 if (bytes == null) { 13 throw new NullPointerException("Bytes must not be null"); 15 this.bytes = bytes; 20 return bytes; 25 return bytes.length;
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
| ICUBinaryTest.java | 72 ByteBuffer bytes = ByteBuffer.wrap(array); local 82 ICUBinary.readHeader(bytes, formatid, authenticate); 88 bytes.rewind(); 89 ICUBinary.readHeader(bytes, formatid, null); 96 bytes.rewind(); 97 ICUBinary.readHeader(bytes, formatid, authenticate); 104 bytes.rewind(); 105 ICUBinary.readHeader(bytes, formatid, authenticate);
|
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
| ICUBinaryTest.java | 71 ByteBuffer bytes = ByteBuffer.wrap(array); local 81 ICUBinary.readHeader(bytes, formatid, authenticate); 87 bytes.rewind(); 88 ICUBinary.readHeader(bytes, formatid, null); 95 bytes.rewind(); 96 ICUBinary.readHeader(bytes, formatid, authenticate); 103 bytes.rewind(); 104 ICUBinary.readHeader(bytes, formatid, authenticate);
|
| /dalvik/dx/src/com/android/dex/util/ |
| ByteArrayByteInput.java | 21 private final byte[] bytes; field in class:ByteArrayByteInput 24 public ByteArrayByteInput(byte... bytes) { 25 this.bytes = bytes; 29 return bytes[position++];
|
| /external/bison/lib/ |
| mbswidth.c | 101 size_t bytes; local 104 bytes = mbrtowc (&wc, p, plimit - p, &mbstate); 106 if (bytes == (size_t) -1) 119 if (bytes == (size_t) -2) 132 if (bytes == 0) 134 bytes = 1; 158 p += bytes;
|
| /external/boringssl/src/include/openssl/ |
| rand.h | 28 /* RAND_bytes writes |len| bytes of random data to |buf| and returns one. */ 104 int (*bytes) (uint8_t *buf, size_t num); member in struct:rand_meth_st
|
| /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
| CMSProcessableByteArray.java | 19 private final byte[] bytes; field in class:CMSProcessableByteArray 22 byte[] bytes) 24 this(new ASN1ObjectIdentifier(CMSObjectIdentifiers.data.getId()), bytes); 29 byte[] bytes) 32 this.bytes = bytes; 37 return new ByteArrayInputStream(bytes); 43 zOut.write(bytes); 48 return Arrays.clone(bytes);
|
| /external/curl/docs/examples/ |
| sampleconv.c | 48 size_t bytes = length; local 51 rc = platform_a2e(&tempptrin, &bytes, &tempptrout, &bytes); 63 size_t bytes = length; local 66 rc = platform_e2a(&tempptrin, &bytes, &tempptrout, &bytes); 78 size_t bytes = length; local 81 rc = platform_u2e(&tempptrin, &bytes, &tempptrout, &bytes);
|
| /external/guava/guava-testlib/src/com/google/common/testing/ |
| Platform.java | 42 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 44 ObjectOutputStream out = new ObjectOutputStream(bytes); 47 new ByteArrayInputStream(bytes.toByteArray()));
|
| /external/libavc/test/encoder/ |
| output.c | 51 WORD32 bytes; local 53 bytes = fwrite(pu1_buf, sizeof(UWORD8), num_bytes, fp); 54 if(bytes != num_bytes)
|
| /external/libchrome/base/ |
| guid_unittest.cc | 30 uint64_t bytes[] = {0, 0}; local 31 std::string clientid = RandomDataToGUIDString(bytes); 36 uint64_t bytes[] = {0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL}; local 37 std::string clientid = RandomDataToGUIDString(bytes);
|