/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;
|
/third_party/node/deps/v8/src/sandbox/ |
H A D | sandbox.h | 53 // base base + size 75 size_t size() const { return size_; } in size() function in v8::internal::Sandbox 132 // subspaces. The size must be a multiple of the allocation granularity of the 134 bool Initialize(v8::VirtualAddressSpace* vas, size_t size, 140 // it and be corrupted. The size and size_to_reserve parameters must be 143 size_t size, 154 // Base and size of the virtual memory reservation backing this sandbox. 155 // These can be different from the sandbox base and size due to guard regions
|
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ |
H A D | dl_iterate_phdr.c | 26 static int header_handler(struct dl_phdr_info *info, size_t size, void *data) in header_handler() argument 37 static int same_name_count_handler(struct dl_phdr_info *info, size_t size, void *data) in same_name_count_handler() argument 46 static int lock_recursive_handler(struct dl_phdr_info *info, size_t size, void *data) in lock_recursive_handler() argument
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
H A D | sfn_shaderfromstring_test.cpp | 118 ASSERT_EQ(eval.size(), expect.size()); in check() 120 for (unsigned i = 0; i < eval.size(); ++i) { in check()
|
/third_party/mesa3d/src/util/ |
H A D | os_file.c | 125 os_read_file(const char *filename, size_t *size) in os_read_file() argument 140 /* Pre-allocate a buffer at least the size of the file if we can read in os_read_file() 176 /* Final resize to actual size */ in os_read_file() 188 if (size) in os_read_file() 189 *size = offset; in os_read_file()
|
/third_party/musl/include/fortify/linux/ |
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/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_lds.h | 40 unsigned num_values() const { return m_dest_value.size();} in num_values() 76 auto src1() const { return m_srcs.size() > 1 ? m_srcs[1] : nullptr;} in src1() 81 PVirtualValue src1() { return m_srcs.size() > 1 ? m_srcs[1] : nullptr;} in src1()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_bufmgr.h | 40 uint32_t size; member 63 struct vc4_bo *vc4_bo_alloc(struct vc4_screen *screen, uint32_t size, 66 uint32_t size);
|
/third_party/mesa3d/src/gbm/backends/dri/ |
H A D | gbm_driint.h | 134 uint32_t handle, size; member 181 bo->map = mmap(NULL, bo->size, PROT_WRITE, in gbm_dri_bo_map_dumb() 194 munmap(bo->map, bo->size); in gbm_dri_bo_unmap_dumb()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_job.h | 228 panfrost_batch_create_bo(struct panfrost_batch *batch, size_t size, 249 panfrost_batch_get_scratchpad(struct panfrost_batch *batch, unsigned size, unsigned thread_tls_alloc, unsigned core_id_range); 252 panfrost_batch_get_shared_memory(struct panfrost_batch *batch, unsigned size, unsigned workgroup_count);
|