/external/chromium_org/third_party/brotli/src/woff2/ |
H A D | buffer.h | 72 bool Skip(size_t n_bytes) { argument 73 return Read(NULL, n_bytes); 76 bool Read(uint8_t *buffer, size_t n_bytes) { argument 77 if (n_bytes > 1024 * 1024 * 1024) { 80 if ((offset_ + n_bytes > length_) || 81 (offset_ > length_ - n_bytes)) { 85 std::memcpy(buffer, buffer_ + offset_, n_bytes); 87 offset_ += n_bytes;
|
/external/chromium_org/third_party/boringssl/src/crypto/bio/ |
H A D | hexdump.c | 148 const unsigned n_bytes = ctx->used; local 152 if (n_bytes == 0) { 171 ctx->right_chars[n_bytes] = '|'; 172 ctx->right_chars[n_bytes + 1] = '\n'; 173 if (BIO_write(ctx->bio, ctx->right_chars, n_bytes + 2) < 0) {
|
/external/chromium_org/third_party/ots/src/ |
H A D | ots.h | 70 bool Skip(size_t n_bytes) { argument 71 return Read(NULL, n_bytes); 74 bool Read(uint8_t *buffer, size_t n_bytes) { argument 75 if (n_bytes > 1024 * 1024 * 1024) { 78 if ((offset_ + n_bytes > length_) || 79 (offset_ > length_ - n_bytes)) { 83 std::memcpy(buffer, buffer_ + offset_, n_bytes); 85 offset_ += n_bytes;
|
/external/valgrind/main/coregrind/ |
H A D | launcher-linux.c | 129 ssize_t n_bytes; local 145 n_bytes = read(fd, header, sizeof(header)); 147 if (n_bytes < 2) { 152 (long int)n_bytes, clientname); 160 if (i == n_bytes) return NULL; 168 if (i == n_bytes) break; 172 if (i == n_bytes) return NULL; 177 } else if (n_bytes >= SELFMAG && memcmp(header, ELFMAG, SELFMAG) == 0) { 179 if (n_bytes >= sizeof(Elf32_Ehdr) && header[EI_CLASS] == ELFCLASS32) { 215 } else if (n_bytes > [all...] |
/external/pixman/test/ |
H A D | pixel-test.c | 105 int n_bytes = pixman_image_get_stride (image) * pixman_image_get_height (image); local 111 for (i = 0; i < n_bytes / 4; ++i) 117 for (i = 0; i < n_bytes / 2; ++i) 123 for (i = 0; i < n_bytes; ++i)
|
H A D | utils.c | 336 int n_bytes; member in struct:__anon28875 352 uint32_t n_bytes = local 364 addr = mmap (NULL, n_bytes, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, 369 printf ("mmap failed on %lld %u\n", (long long int)len, n_bytes); 381 ((info_t *)initial_page)->n_bytes = n_bytes; 388 munmap (addr, n_bytes); 404 munmap (info->addr, info->n_bytes); 424 make_random_bytes (int n_bytes) argument 426 uint8_t *bytes = fence_malloc (n_bytes); [all...] |
H A D | utils.h | 89 /* Generate n_bytes random bytes in fence_malloced memory */ 91 make_random_bytes (int n_bytes);
|
/external/pixman/pixman/ |
H A D | pixman-mips-dspr2.h | 43 pixman_mips_fast_memcpy (void *dst, void *src, uint32_t n_bytes); 45 pixman_fill_buff16_mips (void *dst, uint32_t n_bytes, uint16_t value); 47 pixman_fill_buff32_mips (void *dst, uint32_t n_bytes, uint32_t value);
|
H A D | pixman-fast-path.c | 1165 uint32_t n_bytes = width * bpp; local 1178 memcpy (dst, src, n_bytes);
|
/external/kernel-headers/original/uapi/linux/ |
H A D | openvswitch.h | 264 __u64 n_bytes; /* Number of matched bytes. */ member in struct:ovs_flow_stats
|
/external/svox/pico/lib/ |
H A D | picosig.c | 738 picoos_uint32 n_start, n_fram, n_bytes; local 1197 n_bytes = (picoos_uint32) sig_subObj->outBuf[(sig_subObj->outReadPos) 1203 n_bytes / 2, 1205 PICODBG_DEBUG(("Nframe:%d - Nbytes %d\n", n_fram, n_bytes)); 1206 numoutb = n_bytes + 4;
|
/external/lldb/examples/darwin/heap_find/heap/ |
H A D | heap_find.cpp | 362 safe_malloc(size_t n_bytes) argument 364 if (n_bytes > 0) 367 const mach_vm_size_t vm_size = ((n_bytes + k_page_size - 1)/k_page_size) * k_page_size;
|