/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | context.cpp | 34 while (_destroy_notify.size()) { in ~context() 66 context::add_svm_allocation(const void *ptr, size_t size) { in add_svm_allocation() argument 67 svm_ptrs.emplace(ptr, size); in add_svm_allocation()
|
/third_party/nghttp2/lib/ |
H A D | nghttp2_rcbuf.c | 33 int nghttp2_rcbuf_new(nghttp2_rcbuf **rcbuf_ptr, size_t size, in nghttp2_rcbuf_new() argument 37 p = nghttp2_mem_malloc(mem, sizeof(nghttp2_rcbuf) + size); in nghttp2_rcbuf_new() 47 (*rcbuf_ptr)->len = size; in nghttp2_rcbuf_new()
|
/third_party/musl/porting/liteos_a_newlib/kernel/src/ |
H A D | malloc.c | 82 void *__wrap__calloc_r(struct _reent *reent, size_t nitems, size_t size) in __wrap__calloc_r() argument 87 if (nitems == 0 || size == 0) { in __wrap__calloc_r() 91 real_size = (size_t)(nitems * size); in __wrap__calloc_r()
|
/third_party/nghttp2/src/ |
H A D | HtmlParser.h | 63 int parse_chunk(const char *chunk, size_t size, int fin); 68 int parse_chunk_internal(const char *chunk, size_t size, int fin); 80 int parse_chunk(const char *chunk, size_t size, int fin) { return 0; } in parse_chunk() argument
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ustack.cpp | 39 int32_t n = size() - 1; in pop() 48 int32_t n = size() - 1; in popi() 59 return (i >= 0) ? size() - i : i; in search()
|
/third_party/node/deps/googletest/src/ |
H A D | gtest-test-part.cc | 71 if (index < 0 || index >= size()) { in GetTestPartResult() 80 int TestPartResultArray::size() const { in size() function in testing::TestPartResultArray 81 return static_cast<int>(array_.size()); in size()
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_ringbuf.h | 43 /* size is the size of each element. */ 44 size_t size; member 53 * elements that can be stored in this buffer. |size| is the size of 54 * each element. |size| must be power of 2. 62 int ngtcp2_ringbuf_init(ngtcp2_ringbuf *rb, size_t nmemb, size_t size, 67 * size. 69 void ngtcp2_ringbuf_buf_init(ngtcp2_ringbuf *rb, size_t nmemb, size_t size, 119 usage that does not change buffer size wit [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_rcbuf.c | 33 int nghttp2_rcbuf_new(nghttp2_rcbuf **rcbuf_ptr, size_t size, in nghttp2_rcbuf_new() argument 37 p = nghttp2_mem_malloc(mem, sizeof(nghttp2_rcbuf) + size); in nghttp2_rcbuf_new() 47 (*rcbuf_ptr)->len = size; in nghttp2_rcbuf_new()
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_rcbuf.c | 33 int nghttp3_rcbuf_new(nghttp3_rcbuf **rcbuf_ptr, size_t size, in nghttp3_rcbuf_new() argument 37 p = nghttp3_mem_malloc(mem, sizeof(nghttp3_rcbuf) + size); in nghttp3_rcbuf_new() 46 (*rcbuf_ptr)->len = size; in nghttp3_rcbuf_new()
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_framebuffer.c | 40 size_t size = sizeof(*framebuffer); in vk_common_CreateFramebuffer() local 48 size += sizeof(VkImageView) * pCreateInfo->attachmentCount; in vk_common_CreateFramebuffer() 50 framebuffer = vk_object_alloc(device, pAllocator, size, in vk_common_CreateFramebuffer()
|
/third_party/libinput/src/ |
H A D | util-bits.h | 90 long_any_bit_set(unsigned long *array, size_t size) in long_any_bit_set() argument 94 assert(size > 0); in long_any_bit_set() 96 for (i = 0; i < size; i++) in long_any_bit_set()
|
/third_party/ltp/testcases/kernel/syscalls/capget/ |
H A D | capget02.c | 82 {&header, .size = sizeof(*header)}, 83 {&data, .size = 2 * sizeof(*data)}, 84 {&bad_data, .size = 2 * sizeof(*data)},
|
/third_party/ltp/testcases/kernel/syscalls/removexattr/ |
H A D | removexattr01.c | 71 int size = 64; in verify_removexattr() local 72 char buf[size]; in verify_removexattr() 90 n = getxattr("testfile", USER_KEY, buf, size); in verify_removexattr()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
H A D | hugeshmat05.c | 8 * with EINVAL if its size is not in the range [ N*HUGE_PAGE_SIZE - 4095, 9 * N*HUGE_PAGE_SIZE ]. This is a problem in the memory segment size round 10 * up algorithm. The requested size is rounded up to PAGE_SIZE (4096), but 18 * invalid hugepage size) 19 * af73e4d9506d (hugetlbfs: fix mmap failure in unaligned size request) 42 void shm_test(int size) in shm_test() argument 47 shmid = shmget(IPC_PRIVATE, size, 0600 | IPC_CREAT | SHM_HUGETLB); in shm_test() 59 tst_res(TINFO, "allocated %d huge bytes", size); in shm_test()
|
/third_party/ltp/testcases/kernel/syscalls/bpf/ |
H A D | bpf_prog01.c | 106 {&log, .size = BUFSIZ}, 107 {&attr, .size = sizeof(*attr)}, 108 {&msg, .size = sizeof(MSG)},
|
/third_party/ltp/testcases/kernel/syscalls/flistxattr/ |
H A D | flistxattr02.c | 11 * 1) flistxattr(2) fails if the size of the list buffer is too small 41 size_t size; member 51 char buf[t->size]; in verify_flistxattr() 53 TEST(flistxattr(*t->fd, buf, t->size)); in verify_flistxattr()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 6-6.c | 39 size_t size = 1024; in main() local 50 if (ftruncate(fd, size) == -1) { in main() 65 pa = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0); in main()
|
H A D | 6-1.c | 48 size_t size = 1024; in main() local 68 if (ftruncate(fd, size) == -1) { in main() 73 pa = mmap(NULL, size, PROT_READ, MAP_SHARED, fd, 0); in main()
|
H A D | 6-4.c | 40 size_t size = 1024; in main() local 52 if (ftruncate(fd, size) == -1) { in main() 66 pa = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0); in main()
|
/third_party/ltp/testcases/realtime/include/ |
H A D | libstats.h | 58 long size; member 80 * size: number of records to allocate 83 int stats_container_init(stats_container_t *data, long size); 87 * size: new number of records 89 int stats_container_resize(stats_container_t *data, long size); 144 /* stats_hist - calculate a histogram with hist->size divisions from data
|
/third_party/node/deps/v8/src/heap/ |
H A D | memory-chunk-layout.cc | 71 int size = static_cast<int>(AllocatableMemoryInCodePage() / 2); in MaxRegularCodeObjectSize() local 72 DCHECK_LE(size, kMaxRegularHeapObjectSize); in MaxRegularCodeObjectSize() 73 return size; in MaxRegularCodeObjectSize()
|
/third_party/node/deps/v8/src/objects/ |
H A D | free-space-inl.h | 24 RELAXED_SMI_ACCESSORS(FreeSpace, size, kSizeOffset) 26 int FreeSpace::Size() { return size(kRelaxedLoad); } in Size() 56 CHECK_LE(kNextOffset + kTaggedSize, size(kRelaxedLoad)); in IsValid()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | signalfd.c | 56 ssize_t size = read(fd, &sfd_si, sizeof(sfd_si)); in signalfd_0100() local 57 if (size <= 0) { in signalfd_0100() 58 t_error("%s failed: size = %ld\n", __func__, size); in signalfd_0100()
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_bufmgr.h | 72 pb_size size, 93 * with the size of the heap, and then using the old mm memory manager to manage 98 pb_size size, pb_size align2); 107 pb_size size, pb_size align2); 120 * Allow a range of buffer size, by aggregating multiple slabs sub-allocators
|
/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bss_null.c | 16 static int null_read(BIO *h, char *buf, int size); 18 static int null_gets(BIO *h, char *str, int size); 75 static int null_gets(BIO *bp, char *buf, int size) in null_gets() argument
|