Home
last modified time | relevance | path

Searched refs:size (Results 10351 - 10375 of 36996) sorted by relevance

1...<<411412413414415416417418419420>>...1480

/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dcontext.cpp34 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 Dnghttp2_rcbuf.c33 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 Dmalloc.c82 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 DHtmlParser.h63 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 Dustack.cpp39 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 Dgtest-test-part.cc71 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 Dngtcp2_ringbuf.h43 /* 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 Dnghttp2_rcbuf.c33 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 Dnghttp3_rcbuf.c33 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 Dvk_framebuffer.c40 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 Dutil-bits.h90 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 Dcapget02.c82 {&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 Dremovexattr01.c71 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 Dhugeshmat05.c8 * 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 Dbpf_prog01.c106 {&log, .size = BUFSIZ},
107 {&attr, .size = sizeof(*attr)},
108 {&msg, .size = sizeof(MSG)},
/third_party/ltp/testcases/kernel/syscalls/flistxattr/
H A Dflistxattr02.c11 * 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 D6-6.c39 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 D6-1.c48 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 D6-4.c40 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 Dlibstats.h58 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 Dmemory-chunk-layout.cc71 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 Dfree-space-inl.h24 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 Dsignalfd.c56 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 Dpb_bufmgr.h72 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 Dbss_null.c16 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

Completed in 16 milliseconds

1...<<411412413414415416417418419420>>...1480