Home
last modified time | relevance | path

Searched refs:array (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/arch-common/bionic/
Dcrtbegin.c40 structors_array_t array; in _start_main() local
41 array.preinit_array = &__PREINIT_ARRAY__; in _start_main()
42 array.init_array = &__INIT_ARRAY__; in _start_main()
43 array.fini_array = &__FINI_ARRAY__; in _start_main()
45 __libc_init(raw_args, NULL, &main, &array); in _start_main()
/bionic/tests/
Dbionic_allocator_test.cpp78 uint32_t* array = reinterpret_cast<uint32_t*>(allocator.alloc(512)); in TEST() local
90 memcpy(array, model, array_size); in TEST()
92 uint32_t* reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 1024)); in TEST()
95 ASSERT_TRUE(reallocated_ptr != array); in TEST()
99 array = reallocated_ptr; in TEST()
101 memcpy(array, model, 2*array_size); in TEST()
103 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 62)); in TEST()
105 ASSERT_TRUE(reallocated_ptr == array); in TEST()
107 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 4000)); in TEST()
110 ASSERT_TRUE(reallocated_ptr != array); in TEST()
[all …]
Dsys_sem_test.cpp110 arg.array = a; in TEST()
Dpthread_test.cpp2748 size_t* array; member
2756 arg->array[arg->id] = i; in BarrierOrderingTestHelper()
2760 ASSERT_EQ(i, arg->array[j]); in BarrierOrderingTestHelper()
2771 size_t array[THREAD_COUNT]; in TEST() local
2776 args[i].array = array; in TEST()
/bionic/libc/platform/bionic/
Dmacros.h74 char (&ArraySizeHelper(T (&array)[N]))[N]; // NOLINT(readability/casting)
76 #define arraysize(array) (sizeof(ArraySizeHelper(array))) argument
/bionic/libc/bionic/
Dnet_if.cpp143 void if_freenameindex(struct if_nameindex* array) { in if_freenameindex() argument
144 if (array == nullptr) return; in if_freenameindex()
146 struct if_nameindex* ptr = array; in if_freenameindex()
152 delete[] array; in if_freenameindex()
Dlibc_init_common.cpp372 void __libc_fini(void* array) { in __libc_fini() argument
374 Dtor* fini_array = reinterpret_cast<Dtor*>(array); in __libc_fini()
378 if (array == nullptr || fini_array[0] != minus1) return; in __libc_fini()
/bionic/libc/include/sys/
Dsem.h49 unsigned short* array; member
/bionic/libc/kernel/uapi/linux/
Dsem.h52 unsigned short __user * array; member
Dio_uring.h151 __u32 array; member
Dkvm.h950 __u64 array; member
/bionic/linker/
Dlinked_list.h232 size_t copy_to_array(T* array[], size_t array_length) const { in copy_to_array() argument
235 array[sz++] = e->element; in copy_to_array()
/bionic/libfdtrack/
Dfdtrack.cpp70 static std::array<FdEntry, kFdTableSize> stack_traces [[clang::no_destroy]];
208 std::array<StackInfo, 128> data; in fdtrack_dump_impl()
/bionic/tools/versioner/src/
DArch.h79 std::array<T, size_t(Arch::x86_64) + 1> data_ = {};
/bionic/libc/kernel/uapi/sound/
Dasoc.h161 struct snd_soc_tplg_vendor_array array[0]; member