Home
last modified time | relevance | path

Searched defs:result (Results 1 – 25 of 139) sorted by relevance

123456

/bionic/benchmarks/
Datomic_benchmark.cpp58 unsigned result = 0; in BM_atomic_load_relaxed() local
68 unsigned result = 0; in BM_atomic_load_acquire() local
96 unsigned result = 0; in BM_atomic_fetch_add_relaxed() local
106 unsigned result = 0; in BM_atomic_fetch_add_seq_cst() local
119 unsigned result = 0; in BM_atomic_acquire_fence() local
130 unsigned result = 0; in BM_atomic_seq_cst_fence() local
143 unsigned result = 0; in BM_atomic_fetch_add_cs() local
/bionic/tests/libs/
Ddlsym_from_this_functions.cpp25 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol")); in lookup_dlsym_symbol_using_RTLD_DEFAULT() local
35 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol2")); in lookup_dlsym_symbol2_using_RTLD_DEFAULT() local
45 int* result = static_cast<int*>(dlsym(RTLD_NEXT, "test_dlsym_symbol")); in lookup_dlsym_symbol_using_RTLD_NEXT() local
Delftls_dtv_resize_helper.cpp67 size_t result = 0; in highest_loaded_modid() local
69 size_t& result = *reinterpret_cast<size_t*>(data); in highest_loaded_modid() local
86 size_t result = 0; in highest_modid_in_dtv() local
/bionic/tools/versioner/src/
DSymbolDatabase.cpp41 std::unordered_set<std::string> result; in getSymbols() local
74 std::map<std::string, NdkSymbolType> result; in parsePlatform() local
107 NdkSymbolDatabase result; in parsePlatforms() local
/bionic/libc/bionic/
Dmalloc_common.cpp71 void* result = Malloc(calloc)(n_elements, elem_size); in calloc() local
138 void *result; in malloc() local
165 void* result = Malloc(memalign)(alignment, bytes); in memalign() local
174 int result; in posix_memalign() local
191 void* result = Malloc(aligned_alloc)(alignment, size); in aligned_alloc() local
204 void* result = Malloc(realloc)(old_mem, bytes); in realloc() local
228 void* result = Malloc(pvalloc)(bytes); in pvalloc() local
240 void* result = Malloc(valloc)(bytes); in valloc() local
Dfork.cpp41 int result = clone(nullptr, nullptr, (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD), in __clone_for_fork() local
59 int result = _Fork(); in fork() local
Dsys_statvfs.cpp34 int statvfs(const char* path, struct statvfs* result) { in statvfs()
41 int fstatvfs(int fd, struct statvfs* result) { in fstatvfs()
Dtime64.c64 # define LOCALTIME_R(clock, result) localtime_r(clock, result) argument
66 # define LOCALTIME_R(clock, result) fake_localtime_r(clock, result) argument
69 # define GMTIME_R(clock, result) gmtime_r(clock, result) argument
71 # define GMTIME_R(clock, result) fake_gmtime_r(clock, result) argument
427 struct tm * fake_localtime_r(const time_t *clock, struct tm *result) { in fake_localtime_r()
445 struct tm * fake_gmtime_r(const time_t *clock, struct tm *result) { in fake_gmtime_r()
753 char *asctime64_r( const struct TM* date, char *result ) { in asctime64_r()
784 char *ctime64_r( const Time64_T* time, char* result ) { in ctime64_r()
Datexit.cpp106 AtexitEntry result = array_[idx]; in extract_entry() local
168 bool AtexitArray::next_capacity(size_t capacity, size_t* result) { in next_capacity()
189 bool result = false; in expand_capacity() local
231 int result = -1; in __cxa_atexit() local
Dsys_statfs.cpp37 int fstatfs(int fd, struct statfs* result) { in fstatfs()
47 int statfs(const char* path, struct statfs* result) { in statfs()
Dsystem_property_set.cpp99 int result = TEMP_FAILURE_RETRY(recv(socket_.get(), value, sizeof(*value), MSG_WAITALL)); in RecvInt32() local
108 bool CheckSendRecvResult(int result, int expected_len) { in CheckSendRecvResult()
197 int result = -1; in send_prop_msg() local
318 int result = -1; in __system_property_set() local
Dbionic_allocator.cpp87 uint16_t result = 0; in log2() local
281 void* result = static_cast<char*>(map_ptr) + header_size; in alloc_mmap() local
361 void *result = alloc(size); in realloc() local
413 BionicSmallObjectAllocator* result = get_small_object_allocator_unchecked(pi->type); in get_small_object_allocator() local
Dsigaction.cpp64 int result = __rt_sigaction(signal, in sigaction() local
125 int result = __sigaction64(signal, bionic_new ? &kernel_new : nullptr, &kernel_old); in sigaction() local
Dgrp_pwd.cpp91 auto result = &__get_bionic_tls().group; in get_group_tls_buffer() local
104 auto result = &__get_bionic_tls().passwd; in get_passwd_tls_buffer() local
408 static bool result = [] { in device_launched_before_api_29() local
584 size_t buflen, struct passwd** result) { in getpasswd_r()
603 int getpwnam_r(const char* name, passwd* pwd, char* buf, size_t byte_count, passwd** result) { in getpwnam_r()
607 int getpwuid_r(uid_t uid, passwd* pwd, char* buf, size_t byte_count, passwd** result) { in getpwuid_r()
752 size_t buflen, struct group** result) { in getgroup_r()
771 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { in getgrgid_r()
776 struct group **result) { in getgrnam_r()
Dandroid_crash_detail.cpp51 auto populate_crash_detail = [&](crash_detail_t* result) { in android_crash_detail_register()
88 crash_detail_t* result = &page->crash_details[page->used]; in android_crash_detail_register() local
Dexec.cpp81 int result = __execl<ExecL>(name, arg, ap); in execl() local
89 int result = __execl<ExecLE>(name, arg, ap); in execle() local
97 int result = __execl<ExecLP>(name, arg, ap); in execlp() local
Dlibgen.cpp43 int result; in __basename_r() local
99 int result; in __dirname_r() local
Dgetpriority.cpp34 int result = __getpriority(which, who); in getpriority() local
Dstrtold.cpp36 long double result; in strtold() local
/bionic/tests/
Dbug_26110743_test.cpp54 void* result; in TEST() local
69 void* result; in TEST() local
99 void* result; in TEST() local
114 void* result; in TEST() local
Dgrp_pwd_test.cpp109 int result; in check_getpwuid_r() local
124 int result; in check_getpwnam_r() local
308 int result = getpwnam_r("root", &pwd_storage, buf + 1, sizeof(buf) - 1, &pwd); in TEST() local
321 int result = getpwuid_r(0, &pwd_storage, buf + 1, sizeof(buf) - 1, &pwd); in TEST() local
334 int result = getpwnam_r("root", &pwd_storage[0], buf[0], sizeof(buf[0]), &pwd[0]); in TEST() local
355 int result = getpwuid_r(0, &pwd_storage[0], buf[0], sizeof(buf[0]), &pwd[0]); in TEST() local
436 std::string result; in expect_ids() local
548 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp); in check_getgrgid_r() local
561 int result = getgrnam_r(group_name, &grp_storage, buf, sizeof(buf), &grp); in check_getgrnam_r() local
759 int result = getgrnam_r("root", &grp_storage, buf + 1, sizeof(buf) - 1, &grp); in TEST() local
[all …]
Dnetdb_test.cpp201 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); in TEST() local
223 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
252 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
281 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); in TEST() local
292 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
304 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
315 int result = gethostbyname_r("does.not.exist.google.com", &hent, buf, sizeof(buf), &hp, &err); in TEST() local
326 …int result = gethostbyname2_r("does.not.exist.google.com", AF_INET, &hent, buf, sizeof(buf), &hp, … in TEST() local
338 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
Dsemaphore_test.cpp95 void* result; in TEST() local
207 int result = sem_wait(sem); in SemWaitEINTRThreadFn() local
237 void* result; in TEST() local
260 void* result; in TEST() local
/bionic/libfdtrack/
Dfdtrack_test.cpp61 std::map<int, std::vector<FdtrackFrame>> result; in RunFdtrack() local
82 auto result = RunFdtrack([]() { fd = open("/dev/null", O_RDONLY | O_CLOEXEC); }); in TEST() local
94 auto result = RunFdtrack([]() { in TEST() local
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp535 TimedResult result; in InternalMalloc() local
590 TimedResult result = InternalMalloc(size); in debug_malloc() local
646 TimedResult result; in InternalFree() local
679 TimedResult result = InternalFree(pointer); in debug_free() local
706 TimedResult result; in debug_memalign() local
785 TimedResult result = InternalMalloc(bytes); in debug_realloc() local
799 TimedResult result = InternalFree(pointer); in debug_realloc() local
824 TimedResult result; in debug_realloc() local
941 TimedResult result; in debug_calloc() local

123456