/third_party/node/test/common/ |
H A D | http2.js | 130 constructor(size) { 131 const buffers = [Buffer.alloc(size)]; 132 super(size, 10, 0, 0);
|
/third_party/nghttp2/src/ |
H A D | http3.h | 83 return {(uint8_t *)name, (uint8_t *)value.c_str(), N - 1, value.size(), in make_nv_ls() 89 return {(uint8_t *)name, (uint8_t *)value.c_str(), N - 1, value.size(), in make_nv_ls_nocopy() 95 return {(uint8_t *)name, (uint8_t *)value.c_str(), N - 1, value.size(), in make_nv_ls_nocopy()
|
/third_party/musl/porting/linux/user/src/passwd/ |
H A D | getspnam_r.c | 68 int getspnam_r(const char *name, struct spwd *sp, char *buf, size_t size, struct spwd **res) in getspnam_r() argument 85 /* Buffer size must at least be able to hold name, plus some.. */ in getspnam_r() 86 if (size < l+100) in getspnam_r() 115 while (fgets(buf, size, f) && (k=strlen(buf))>0) { in getspnam_r()
|
/third_party/musl/porting/linux/user/include/fortify/ |
H A D | fortify.h | 117 #define __DIAGNOSE_BOS_TRIVIALLY_GE_MUL(bos_val, size, count) \ 118 __DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL_AND(bos_val, >=, (size) * (count), \ 119 !__DIAGNOSE_UNSAFE_CHK_MUL_OVERFLOW(size, count)) 127 #define CALLED_WITH_SIZE_BIGGER_BUFFER "called with bigger size than the buffer" 129 #define SIZE_LARGER_THEN_DESTINATION_BUFFER "the size is greater than the target buffer"
|
/third_party/musl/src/passwd/ |
H A D | getspnam_r.c | 69 int getspnam_r(const char *name, struct spwd *sp, char *buf, size_t size, struct spwd **res) in getspnam_r() argument 86 /* Buffer size must at least be able to hold name, plus some.. */ in getspnam_r() 87 if (size < l+100) in getspnam_r() 116 while (fgets(buf, size, f) && (k=strlen(buf))>0) { in getspnam_r()
|
/third_party/node/benchmark/tls/ |
H A D | secure-pair.js | 6 size: [100, 1024, 1024 * 1024], 17 function main({ dur, size, securing }) { 18 const chunk = Buffer.alloc(size, 'b');
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | brktrans.cpp | 128 if (boundaries->size() != 0) { // if we found something, adjust in handleTransliterate() 129 delta = boundaries->size() * fInsertion.length(); in handleTransliterate() 134 while (boundaries->size() > 0) { in handleTransliterate()
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | gl_x86-64_asm.py | 114 size = 0 116 size += p.get_stack_size() 118 return size 143 print('\t.size\t_x86_64_get_dispatch, .-_x86_64_get_dispatch') 207 print('\t.size\tGL_PREFIX(%s), .-GL_PREFIX(%s)' % (name, name))
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | filestrm.cpp | 168 int32_t size = 0; in T_FileStream_size() local 173 size = (int32_t)ftell((FILE*)fileStream); in T_FileStream_size() 175 return size; in T_FileStream_size()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | aub_write.h | 128 void aub_map_ppgtt(struct aub_file *aub, uint64_t start, uint64_t size); 129 void aub_write_ggtt(struct aub_file *aub, uint64_t virt_addr, uint64_t size, const void *data); 132 uint32_t size, uint64_t gtt_offset);
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_texture.h | 73 * For 3D textures, this must be set to header size since 86 unsigned size; member 89 unsigned size; member 150 unsigned size; member 178 * Represents the block size of a single plane. For AFBC, this represents the 179 * superblock size. For u-interleaving, this represents the tile size.
|
/third_party/libdrm/radeon/ |
H A D | radeon_bo.c | 41 op, bo, bo->handle, boi->size, boi->cref); in radeon_bo_debug() 45 radeon_bo_open(struct radeon_bo_manager *bom, uint32_t handle, uint32_t size, in radeon_bo_open() argument 49 bo = bom->funcs->bo_open(bom, handle, size, alignment, domains, flags); in radeon_bo_open()
|
/third_party/libfuse/test/ |
H A D | test_ctests.py | 93 size = os.path.getsize(filename) 97 assert new_size > size 99 assert new_size == size
|
/third_party/ltp/testcases/kernel/mem/mtest06/ |
H A D | mmap3.c | 8 * manager by repeaded map/write/unmap of file/memory of random size (maximum 11 * Create a file of random size upto 1000 times 4096, map it, change the 33 static int mkfile(int *size) in mkfile() argument 46 *size = (1 + (int)(1000.0 * rand() / (RAND_MAX + 1.0))) * 4096; in mkfile() 48 while (index < *size) { in mkfile() 88 tst_res(TINFO, "Thread %4li, addr [%p], size %4ikB, iter %4d", in map_write_unmap()
|
/third_party/ltp/testcases/kernel/syscalls/clock_settime/ |
H A D | clock_settime01.c | 109 {&begin, .size = sizeof(*begin)}, 110 {&change, .size = sizeof(*change)}, 111 {&end, .size = sizeof(*end)},
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
H A D | memfd_create03.c | 19 * huge page size should return EINVAL error. 35 static void *check_huge_mmapable(int fd, unsigned long size) in check_huge_mmapable() argument 39 mem = SAFE_MMAP(NULL, size, PROT_WRITE, MAP_PRIVATE, fd, 0); in check_huge_mmapable() 45 NULL, size, PROT_WRITE, MAP_PRIVATE, fd, 0); in check_huge_mmapable()
|
/third_party/ltp/testcases/kernel/syscalls/clone3/ |
H A D | clone302.c | 27 size_t size; member 37 {"zero size", &valid_args, 0, 0, NULL, SIGCHLD, 0, 0, 0, EINVAL}, 38 {"short size", &valid_args, sizeof(struct clone_args_minimal) - 1, 0, NULL, SIGCHLD, 0, 0, 0, EINVAL}, 39 {"extra size", &valid_args, sizeof(*valid_args) + 1, 0, NULL, SIGCHLD, 0, 0, 0, EFAULT}, 45 {"zero-stack-size", &valid_args, sizeof(*valid_args), 0, NULL, SIGCHLD, (unsigned long)&stack, 0, 0, EINVAL}, 88 TEST(clone3(args, tc->size)); in run() 113 {&valid_args, .size = sizeof(*valid_args)},
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
H A D | shmctl04.c | 62 int shmid, size, rss, swap; in parse_proc_sysvipc() local 65 * Sum rss, swap and size for all elements listed, which should equal in parse_proc_sysvipc() 68 * Note that the size has to be rounded up to nearest multiple of page in parse_proc_sysvipc() 69 * size. in parse_proc_sysvipc() 72 &shmid, &size, &rss, &swap) > 0) { in parse_proc_sysvipc() 76 shm_tot += (size + page_size - 1) / page_size; in parse_proc_sysvipc()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | node-aux-data.h | 38 if (id >= aux_data_.size()) aux_data_.resize(id + 1, def(zone_)); in Set() 48 return (id < aux_data_.size()) ? aux_data_[id] : def(zone_); in Get() 105 aux_data_.size()); in end()
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-openbsd.cc | 110 long size = sysconf(_SC_PAGESIZE); // NOLINT: type more fit than uint64_t in SignalCodeMovingGC() local 117 mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE, fileno(f), 0); in SignalCodeMovingGC() 119 OS::Free(addr, size); in SignalCodeMovingGC()
|
H A D | platform-freebsd.cc | 114 size_t size; in GetStackStart() local 115 error = pthread_attr_getstack(&attr, &base, &size); in GetStackStart() 118 return reinterpret_cast<uint8_t*>(base) + size; in GetStackStart()
|
/third_party/node/deps/v8/src/base/ |
H A D | sys-info.cc | 76 size_t size = sizeof(pages); in AmountOfPhysicalMemory() 77 sysctlbyname("vm.stats.vm.v_page_count", &pages, &size, nullptr, 0); in AmountOfPhysicalMemory() 78 sysctlbyname("vm.stats.vm.v_page_size", &page_size, &size, nullptr, 0); in AmountOfPhysicalMemory()
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | basic-block-profiler.h | 36 DCHECK_EQ(block_ids_.size(), counts_.size()); in n_blocks() 37 return block_ids_.size(); in n_blocks()
|
/third_party/node/deps/v8/src/heap/ |
H A D | heap-allocator.h | 64 AllocateRawWith(int size, AllocationType allocation, 90 int size, AllocationType allocation, AllocationOrigin origin, 94 int size, AllocationType allocation, AllocationOrigin origin,
|
/third_party/node/deps/v8/src/profiler/ |
H A D | heap-profiler.h | 63 void ObjectMoveEvent(Address from, Address to, int size); 65 void AllocationEvent(Address addr, int size) override; 67 void UpdateObjectSizeEvent(Address addr, int size) override;
|