/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/python/cpython2/Modules/_ctypes/libffi_arm_wince/ |
prep_cif.c | 92 unsigned bytes = 0; local 126 bytes = STACK_ARG_SIZE(sizeof(void*)); 146 bytes += sizeof(void*); 162 if (((*ptr)->alignment - 1) & bytes) 163 bytes = ALIGN(bytes, (*ptr)->alignment); 166 bytes += STACK_ARG_SIZE((*ptr)->size); 171 cif->bytes = bytes;
|
/external/python/cpython2/Modules/_ctypes/libffi_msvc/ |
prep_cif.c | 92 unsigned bytes = 0; local 126 bytes = STACK_ARG_SIZE(sizeof(void*)); 146 bytes += sizeof(void*); 150 bytes += sizeof(void*); 166 if (((*ptr)->alignment - 1) & bytes) 167 bytes = ALIGN(bytes, (*ptr)->alignment); 170 bytes += STACK_ARG_SIZE((*ptr)->size); 176 /* Function call needs at least 40 bytes stack size, on win64 AMD64 */ 177 if (bytes < 40 [all...] |
/external/python/cpython3/Modules/_ctypes/libffi_msvc/ |
prep_cif.c | 92 unsigned bytes = 0; local 126 bytes = STACK_ARG_SIZE(sizeof(void*)); 146 bytes += sizeof(void*); 150 bytes += sizeof(void*); 166 if (((*ptr)->alignment - 1) & bytes) 167 bytes = ALIGN(bytes, (*ptr)->alignment); 170 bytes += STACK_ARG_SIZE((*ptr)->size); 176 /* Function call needs at least 40 bytes stack size, on win64 AMD64 */ 177 if (bytes < 40 [all...] |
/external/skia/fuzz/oss_fuzz/ |
FuzzImage.cpp | 14 void FuzzImage(sk_sp<SkData> bytes) { 15 auto img = SkImage::MakeFromEncoded(bytes); 33 auto bytes = SkData::MakeWithoutCopy(data, size); local 34 FuzzImage(bytes);
|
FuzzImageFilterDeserialize.cpp | 15 void FuzzImageFilterDeserialize(sk_sp<SkData> bytes) { 22 auto flattenable = SkImageFilter::Deserialize(bytes->data(), bytes->size()); 42 auto bytes = SkData::MakeWithoutCopy(data, size); local 43 FuzzImageFilterDeserialize(bytes);
|
FuzzRegionDeserialize.cpp | 14 bool FuzzRegionDeserialize(sk_sp<SkData> bytes) { 16 if (!region.readFromMemory(bytes->data(), bytes->size())) { 39 auto bytes = SkData::MakeWithoutCopy(data, size); local 40 FuzzRegionDeserialize(bytes);
|
/external/skqp/fuzz/oss_fuzz/ |
FuzzRegionDeserialize.cpp | 14 bool FuzzRegionDeserialize(sk_sp<SkData> bytes) { 16 if (!region.readFromMemory(bytes->data(), bytes->size())) { 39 auto bytes = SkData::MakeWithoutCopy(data, size); local 40 FuzzRegionDeserialize(bytes);
|
/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/base/libs/services/include/android/os/ |
StatsLogEventWrapper.h | 40 std::vector<uint8_t> bytes; member in class:android::os::StatsLogEventWrapper
|
/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...] |
/prebuilts/go/darwin-x86/src/bytes/ |
bytes_amd64.go | 5 package bytes package 52 // IndexByte skips 16/32 bytes per iteration,
|
bytes_s390x.go | 5 package bytes package 53 // IndexByte skips 16/32 bytes per iteration,
|
/prebuilts/go/linux-x86/src/bytes/ |
bytes_amd64.go | 5 package bytes package 52 // IndexByte skips 16/32 bytes per iteration,
|
bytes_s390x.go | 5 package bytes package 53 // IndexByte skips 16/32 bytes per iteration,
|
/external/conscrypt/libcore-stub/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.
|