/external/libevent/ |
event_iocp.c | 76 DWORD bytes=0; local 77 int ok = GetQueuedCompletionStatus(p, &bytes, &key, 90 handle_entry(overlapped, key, bytes, ok); 116 DWORD bytes=0; local 120 &bytes, NULL, NULL);
|
/external/libjpeg-turbo/simd/powerpc/ |
jcgryext-altivec.c | 73 /* Load 16 pixels == 48 or 64 bytes */ 77 int bytes = num_cols + offset; local 79 if (bytes < (RGB_PIXELSIZE + 1) * 16 && (bytes & 15)) { 83 * boundary. It could also occur on other rows if the bytes per row 97 if (bytes > 16) 99 if (bytes > 32) 101 if (bytes > 48) 104 if (bytes > 64)
|
/external/libopus/src/ |
opus.c | 199 int i, bytes; local 241 bytes = parse_size(data, len, size); 242 len -= bytes; 245 data += bytes; 283 bytes = parse_size(data, len, size+i); 284 len -= bytes; 287 data += bytes; 288 last_size -= bytes+size[i]; 306 bytes = parse_size(data, len, size+count-1); 307 len -= bytes; [all...] |
/external/libpng/contrib/gregbook/ |
wpng.c | 705 ulg bytes; local 729 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); 730 if (bytes != image_bytes) { 731 fprintf(stderr, PROGNAME ": expected %lu bytes, got %lu bytes\n", 732 image_bytes, bytes); 745 ulg bytes; 756 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); 757 if (bytes != rowbytes) { 759 ": expected %lu bytes, got %lu bytes (row %ld)\n", rowbytes [all...] |
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_sockmap_kern.h | 184 int *bytes, zero = 0, one = 1, two = 2, three = 3; local 187 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); 188 if (bytes) 189 bpf_msg_apply_bytes(msg, *bytes); 190 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); 191 if (bytes) 192 bpf_msg_cork_bytes(msg, *bytes); 209 int *bytes, len1, len2 = 0, len3; local 212 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); 213 if (bytes) 259 int *bytes, *start, *end, *start_push, *end_push, *f; local 296 int *bytes, *start, *end, *start_push, *end_push, *f; local 359 int ret = 0, *bytes, zero = 0; local 376 int ret = 0, *bytes, zero = 0; local 392 int *bytes, *start, *end, *start_push, *end_push; local [all...] |
/external/linux-kselftest/tools/testing/selftests/net/ |
udpgso_bench_rx.c | 39 static unsigned long packets, bytes; variable 116 /* Flush all outstanding bytes for the tcp receive queue */ 122 /* MSG_TRUNC flushes up to len bytes */ 134 bytes += ret; 167 /* Flush all outstanding datagrams. Verify first few bytes of each. */ 189 bytes += ret; 245 bytes >> 20, packets); 246 bytes = packets = 0;
|
/external/mesa3d/src/compiler/ |
blob.c | 81 * bytes. 131 const void *bytes, 138 VG(VALGRIND_CHECK_MEM_IS_DEFINED(bytes, to_write)); 141 memcpy(blob->data + offset, bytes, to_write); 147 blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write) 152 VG(VALGRIND_CHECK_MEM_IS_DEFINED(bytes, to_write)); 155 memcpy(blob->data + blob->size, bytes, to_write); 285 const void *bytes; local 287 bytes = blob_read_bytes(blob, size); 288 if (bytes == NULL [all...] |
/external/mesa3d/src/compiler/glsl/ |
standalone.cpp | 363 size_t bytes = fread(text + total_read, local 365 if (bytes < size - total_read) { 371 if (bytes == 0) { 375 total_read += bytes;
|
/external/mesa3d/src/compiler/glsl/tests/ |
blob_test.c | 115 * verifying that we read out everything we wrote, that every bytes is 196 uint8_t bytes[] = "ABCDEFGHIJKLMNOP"; local 212 * 1. Write an unaligned number of bytes 218 blob_write_bytes(&blob, bytes, num_bytes); 220 expect_unequal(delta, blob.size - last, "unaligned write of bytes"); 239 expect_equal_bytes(bytes, blob_read_bytes(&reader, num_bytes), 240 num_bytes, "unaligned read of bytes"); 306 "number of bytes read reading large objects");
|
/external/mesa3d/src/gallium/drivers/r600/ |
radeon_video.c | 93 unsigned bytes = MIN2(new_buf->res->buf->size, new_size); local 108 memcpy(dst, src, bytes); 109 if (new_size > bytes) { 110 new_size -= bytes; 111 dst += bytes;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_dma.c | 216 aligned to next 16 bytes. */ 267 int bytes, int alignment) 270 fprintf(stderr, "%s %d\n", __func__, bytes); 281 || rmesa->dma.current_used + bytes > first_elem(&rmesa->dma.reserved)->bo->size) 282 radeonRefillCurrentDmaRegion(rmesa, bytes); 288 /* Always align to at least 16 bytes */ 289 rmesa->dma.current_used = (rmesa->dma.current_used + bytes + 15) & ~15; 454 GLuint bytes = vsize * nverts; local 460 ||rmesa->dma.current_vertexptr + bytes > first_elem(&rmesa->dma.reserved)->bo->size) { 465 radeonRefillCurrentDmaRegion(rmesa, bytes); [all...] |
/external/mesa3d/src/util/ |
hash_table.h | 119 const uint8_t *bytes = (const uint8_t *)data; local 122 hash ^= *bytes; 124 bytes++;
|
/external/nos/test/system-test-harness/src/ |
transport_tests.cc | 57 const uint8_t *bytes = reinterpret_cast<const uint8_t *>(buf); local 59 crc = crc16_table[((crc >> 8) ^ *bytes++) & 0xFF] ^ (crc << 8); 737 * added after the COMMAND_INFO_MAX_LENGTH bytes currently reserved for the
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
TraceId.java | 35 * The size in bytes of the {@code TraceId}. 44 * The invalid {@code TraceId}. All bytes are '\0'. 51 private final byte[] bytes; field in class:TraceId 53 private TraceId(byte[] bytes) { 54 this.bytes = bytes; 94 byte[] bytes = new byte[SIZE]; 95 System.arraycopy(src, srcOffset, bytes, 0, SIZE); 96 return new TraceId(bytes); 123 byte[] bytes = new byte[SIZE] [all...] |
/external/pdfium/third_party/libtiff/ |
tif_aux.c | 39 uint32 bytes = first * second; local 41 if (second && bytes / second != first) { 43 bytes = 0; 46 return bytes; 52 uint64 bytes = first * second; local 54 if (second && bytes / second != first) { 56 bytes = 0; 59 return bytes; 67 tmsize_t bytes = nmemb * elem_size; local 73 cp = _TIFFrealloc(buffer, bytes); [all...] |
/external/perfetto/src/traced/probes/ftrace/ |
cpu_reader_unittest.cc | 344 size_t bytes = CpuReader::ParsePage( local 346 EXPECT_EQ(bytes, 60ul); [all...] |
/external/protobuf/csharp/src/Google.Protobuf/ |
ByteString.cs | 42 /// Immutable array of bytes.
48 private readonly byte[] bytes;
field in class:Google.Protobuf.ByteString 59 internal static ByteString FromBytes(byte[] bytes)
61 return new ByteString(bytes);
65 /// Provides direct, unrestricted access to the bytes contained in this instance.
68 internal static byte[] GetBuffer(ByteString bytes)
70 return bytes.bytes;
77 internal static ByteString AttachBytes(byte[] bytes)
79 return new ByteString(bytes);
[all...] |
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
CodedOutputStreamTest.java | 89 private final byte[] bytes; field in class:CodedOutputStreamTest.ArrayCoder 92 bytes = new byte[size]; 93 stream = CodedOutputStream.newInstance(bytes); 103 return Arrays.copyOf(bytes, stream.getTotalBytesWritten()); 139 byte[] bytes = new byte[dup.remaining()]; 140 dup.get(bytes); 141 return bytes; 177 byte[] bytes = new byte[dup.remaining()]; 178 dup.get(bytes); 179 return bytes; [all...] |
LazyFieldTest.java | 106 ByteString bytes = message.toByteString(); local 108 TestUtil.getExtensionRegistry(), bytes);
|
LazyStringEndToEndTest.java | 73 ByteString bytes = tV2.toByteString(); local 74 assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes); 77 bytes = tV2.toByteString(); 78 assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes);
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.cc | 238 int bytes = local 240 if (bytes <= 0) { 244 skipped += bytes; 304 << " Can't back up over more bytes than were returned by the last call" 320 // First skip any bytes left over from a previous BackUp(). 394 << " Can't back up over more bytes than were returned by the last call"
|
/external/puffin/src/ |
puffin_stream.cc | 211 auto bytes = static_cast<uint8_t*>(buffer); local 216 // Reading between two deflates. We also read bytes that have at least one 226 TEST_AND_RETURN_FALSE(stream_->Read(bytes + bytes_read, bytes_to_read)); 231 bytes[bytes_read + bytes_to_read - 1] &= 242 bytes[bytes_read] >>= deflate_bit_pos_ & 7; 245 // Pass |deflate_bit_pos_| for all the read bytes. 257 // Reading the deflate itself. We read all bytes including the first and 260 // |skip_bytes_| shows how many bytes in the puff we have copied till now. 280 ? bytes + bytes_read 301 memcpy(bytes + bytes_read, puff_buffer_->data() + skip_bytes_ 329 auto bytes = static_cast<const uint8_t*>(buffer); local [all...] |
/external/python/cpython3/Modules/_ctypes/libffi_msvc/ |
ffi.c | 127 /* On Win64, if a single argument takes more than 8 bytes, 141 if (argp >= stack && (unsigned)(argp - stack) > ecif->cif->bytes) 180 otherwise, put the 4- or 8-bytes integer type. */ 252 return ffi_call_x86(ffi_prep_args, &ecif, cif->bytes, 257 /* If a single argument takes more than 8 bytes, 268 return ffi_call_AMD64(ffi_prep_args, &ecif, cif->bytes, 426 /* On Win64, if a single argument takes more than 8 bytes, 453 short bytes; local 461 bytes = 0; 464 bytes = cif->bytes [all...] |
/external/rmi4utils/rmihidtool/ |
main.cpp | 76 fprintf(stdout, "r address size: read size bytes from address\n"); 77 fprintf(stdout, "w address { values }: write bytes to address\n"); 173 unsigned int bytes = 256; local 176 report, &bytes); 177 print_buffer(report, bytes); 344 unsigned int bytes = 256; local 347 report, &bytes); 349 print_buffer(report, bytes);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowEventLogTest.java | 120 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1); local 121 assertThat(bytes).isEqualTo(Integer.BYTES + TEST_STRING1.length()); 132 int bytes = EventLog.writeEvent(TEST_TAG, (String) null); local 133 assertThat(bytes).isEqualTo(Integer.BYTES + NULL_PLACE_HOLDER.length()); 144 int bytes = EventLog.writeEvent(TEST_TAG, TEST_INT); local 145 assertThat(bytes).isEqualTo(Integer.BYTES + Integer.BYTES); 157 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1, TEST_STRING2); local 172 int bytes = EventLog.writeEvent(TEST_TAG, (Object[]) null); local 185 int bytes = EventLog.writeEvent(TEST_TAG, TEST_FLOAT); local 197 int bytes = EventLog.writeEvent(TEST_TAG, TEST_LONG); local [all...] |