Home
last modified time | relevance | path

Searched refs:reserved_size (Results 1 – 17 of 17) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap18.c90 long reserved_size = 256 * page_size + stack_size; in allocate_stack() local
92 start = SAFE_MMAP(NULL, reserved_size, PROT_READ | PROT_WRITE, in allocate_stack()
94 SAFE_MUNMAP(start, reserved_size); in allocate_stack()
96 SAFE_MMAP((start + reserved_size - mapped_size), mapped_size, PROT_READ | PROT_WRITE, in allocate_stack()
100 stack_top = start + reserved_size; in allocate_stack()
101 stack_bottom = start + reserved_size - stack_size; in allocate_stack()
/third_party/freetype/src/gxvalid/
Dgxvfeat.c53 FT_UInt reserved_size; member
196 FT_UInt reserved_size = GXV_FEAT_DATA( reserved_size ); in gxv_feat_name_validate() local
220 if ( settingTable < reserved_size ) in gxv_feat_name_validate()
299 feat->reserved_size = 0; in gxv_feat_validate()
303 feat->reserved_size += 4 + 2 + 2 + 4; in gxv_feat_validate()
322 feat->reserved_size += featureNameCount * ( 2 + 2 + 4 + 2 + 2 ); in gxv_feat_validate()
/third_party/skia/third_party/externals/freetype/src/gxvalid/
Dgxvfeat.c53 FT_UInt reserved_size; member
196 FT_UInt reserved_size = GXV_FEAT_DATA( reserved_size ); in gxv_feat_name_validate() local
220 if ( settingTable < reserved_size ) in gxv_feat_name_validate()
299 feat->reserved_size = 0; in gxv_feat_validate()
303 feat->reserved_size += 4 + 2 + 2 + 4; in gxv_feat_validate()
322 feat->reserved_size += featureNameCount * ( 2 + 2 + 4 + 2 + 2 ); in gxv_feat_validate()
/third_party/flutter/skia/third_party/externals/freetype/src/gxvalid/
Dgxvfeat.c53 FT_UInt reserved_size; member
196 FT_UInt reserved_size = GXV_FEAT_DATA( reserved_size ); in gxv_feat_name_validate() local
220 if ( settingTable < reserved_size ) in gxv_feat_name_validate()
299 feat->reserved_size = 0; in gxv_feat_validate()
303 feat->reserved_size += 4 + 2 + 2 + 4; in gxv_feat_validate()
322 feat->reserved_size += featureNameCount * ( 2 + 2 + 4 + 2 + 2 ); in gxv_feat_validate()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cs.c334 tu_cs_reserve_space(struct tu_cs *cs, uint32_t reserved_size) in tu_cs_reserve_space() argument
336 if (tu_cs_get_space(cs) < reserved_size) { in tu_cs_reserve_space()
355 reserved_size += 3; in tu_cs_reserve_space()
359 uint32_t new_size = MAX2(cs->next_bo_size, reserved_size); in tu_cs_reserve_space()
366 cs->reserved_end = cs->cur + reserved_size; in tu_cs_reserve_space()
385 assert(tu_cs_get_space(cs) >= reserved_size); in tu_cs_reserve_space()
386 cs->reserved_end = cs->cur + reserved_size; in tu_cs_reserve_space()
Dtu_cs.h74 tu_cs_reserve_space(struct tu_cs *cs, uint32_t reserved_size);
184 tu_cs_reserve(struct tu_cs *cs, uint32_t reserved_size) in tu_cs_reserve() argument
187 assert(tu_cs_get_space(cs) >= reserved_size); in tu_cs_reserve()
192 if (tu_cs_get_space(cs) >= reserved_size && in tu_cs_reserve()
194 cs->reserved_end = cs->cur + reserved_size; in tu_cs_reserve()
198 ASSERTED VkResult result = tu_cs_reserve_space(cs, reserved_size); in tu_cs_reserve()
/third_party/musl/libc-test/src/functionalext/relro/
Ddlopen_ext_relro_test.c95 .reserved_size = map_size, in test_write_relro_file_ext()
428 .reserved_size = map_size, in dlopen_ext_relro_1600()
465 .reserved_size = map_size, in dlopen_ext_relro_1700()
501 .reserved_size = map_size in dlopen_ext_relro_1800()
538 .reserved_size = map_size}; in dlopen_ext_relro_1900()
574 .reserved_size = map_size, in dlopen_ext_relro_2000()
611 .reserved_size = map_size, in dlopen_ext_relro_2100()
650 .reserved_size = map_size, in dlopen_ext_relro_2200()
689 .reserved_size = map_size, in dlopen_ext_relro_2300()
727 .reserved_size = map_size, in dlopen_ext_relro_2400()
/third_party/glib/glib/
Dgarray.h80 guint reserved_size);
151 GPtrArray* g_ptr_array_sized_new (guint reserved_size);
153 GPtrArray* g_ptr_array_new_full (guint reserved_size,
240 GByteArray* g_byte_array_sized_new (guint reserved_size);
Dgarray.c259 guint reserved_size) in g_array_sized_new() argument
277 if (array->zero_terminated || reserved_size != 0) in g_array_sized_new()
279 g_array_maybe_expand (array, reserved_size); in g_array_sized_new()
1081 ptr_array_new (guint reserved_size, in ptr_array_new() argument
1095 if (reserved_size != 0) in ptr_array_new()
1096 g_ptr_array_maybe_expand (array, reserved_size); in ptr_array_new()
1253 g_ptr_array_sized_new (guint reserved_size) in g_ptr_array_sized_new() argument
1255 return ptr_array_new (reserved_size, NULL); in g_ptr_array_sized_new()
1328 g_ptr_array_new_full (guint reserved_size, in g_ptr_array_new_full() argument
1331 return ptr_array_new (reserved_size, element_free_func); in g_ptr_array_new_full()
[all …]
/third_party/spirv-tools/source/util/
Dbit_vector.h36 BitVector(uint32_t reserved_size = kInitialNumBits)
37 : bits_((reserved_size - 1) / kBitContainerSize + 1, 0) {}
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dbit_vector.h36 BitVector(uint32_t reserved_size = kInitialNumBits)
37 : bits_((reserved_size - 1) / kBitContainerSize + 1, 0) {}
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dbit_vector.h36 BitVector(uint32_t reserved_size = kInitialNumBits)
37 : bits_((reserved_size - 1) / kBitContainerSize + 1, 0) {}
/third_party/musl/porting/linux/user/include/
Ddlfcn_ext.h42 size_t reserved_size; member
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.c181 reserve_vma(uintptr_t start, uint64_t reserved_size) in reserve_vma() argument
183 void *reserved = os_mmap((void*)start, reserved_size, PROT_NONE, in reserve_vma()
/third_party/f2fs-tools/fsck/
Ddir.c50 int reserved_size = INLINE_RESERVED_SIZE(node_blk); in make_dentry_ptr() local
56 ((char *)src + bitmap_size + reserved_size); in make_dentry_ptr()
58 bitmap_size + reserved_size + in make_dentry_ptr()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c85 size_t reserved_size; member
1406 if (map_len > reserved_params->reserved_size) { in map_library()
1425 if (reserved_params && map_len < reserved_params->reserved_size) { in map_library()
1426 reserved_params->reserved_size -= (map_len + (start_addr - (size_t)reserved_params->start_addr)); in map_library()
3060 reserved_params.reserved_size = extinfo->reserved_size; in dlopen_impl()
3066 reserved_params.reserved_size = extinfo->reserved_size; in dlopen_impl()
4411 if (map_len > reserved_params->reserved_size) { in task_map_library()
4432 if (reserved_params && map_len < reserved_params->reserved_size) { in task_map_library()
4433 reserved_params->reserved_size -= (map_len + (start_addr - (size_t)reserved_params->start_addr)); in task_map_library()
/third_party/ffmpeg/libavformat/
Dmatroskaenc.c89 int reserved_size; member
476 mkv->seekhead.reserved_size = MAX_SEEKHEAD_ENTRIES * MAX_SEEKENTRY_SIZE + 14; in mkv_start_seekhead()
477 put_ebml_void(pb, mkv->seekhead.reserved_size); in mkv_start_seekhead()
522 remaining = seekhead->filepos + seekhead->reserved_size - avio_tell(pb); in mkv_write_seekhead()