Home
last modified time | relevance | path

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

123456

/bionic/benchmarks/
Datomic_benchmark.cpp56 unsigned result = 0; in BM_atomic_load_relaxed() local
66 unsigned result = 0; in BM_atomic_load_acquire() local
94 unsigned result = 0; in BM_atomic_fetch_add_relaxed() local
104 unsigned result = 0; in BM_atomic_fetch_add_seq_cst() local
117 unsigned result = 0; in BM_atomic_acquire_fence() local
128 unsigned result = 0; in BM_atomic_seq_cst_fence() local
141 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
/bionic/libc/bionic/
Dmalloc_common.cpp69 void* result = Malloc(calloc)(n_elements, elem_size); in calloc() local
112 void *result; in malloc() local
139 void* result = Malloc(memalign)(alignment, bytes); in memalign() local
148 int result; in posix_memalign() local
165 void* result = Malloc(aligned_alloc)(alignment, size); in aligned_alloc() local
178 void* result = Malloc(realloc)(old_mem, bytes); in realloc() local
202 void* result = Malloc(pvalloc)(bytes); in pvalloc() local
214 void* result = Malloc(valloc)(bytes); in valloc() local
Dfork.cpp40 int result = clone(nullptr, nullptr, (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD), in __clone_for_fork() local
55 int result = __clone_for_fork(); in fork() local
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()
748 char *asctime64_r( const struct TM* date, char *result ) { in asctime64_r()
779 char *ctime64_r( const Time64_T* time, char* result ) { in ctime64_r()
Dsystem_property_set.cpp86 int result = TEMP_FAILURE_RETRY(recv(socket_.get(), value, sizeof(*value), MSG_WAITALL)); in RecvInt32() local
95 bool CheckSendRecvResult(int result, int expected_len) { in CheckSendRecvResult()
184 int result = -1; in send_prop_msg() local
292 int result = -1; in __system_property_set() local
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
Dgrp_pwd.cpp85 auto result = &__get_bionic_tls().group; in get_group_tls_buffer() local
98 auto result = &__get_bionic_tls().passwd; in get_passwd_tls_buffer() local
394 static bool result = [] { in device_launched_before_api_29() local
563 size_t buflen, struct passwd** result) { in getpasswd_r()
582 int getpwnam_r(const char* name, passwd* pwd, char* buf, size_t byte_count, passwd** result) { in getpwnam_r()
586 int getpwuid_r(uid_t uid, passwd* pwd, char* buf, size_t byte_count, passwd** result) { in getpwuid_r()
722 size_t buflen, struct group** result) { in getgroup_r()
741 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { in getgrgid_r()
746 struct group **result) { in getgrnam_r()
Dsys_statfs.cpp37 int fstatfs(int fd, struct statfs* result) { in fstatfs()
47 int statfs(const char* path, struct statfs* result) { in statfs()
Dsigaction.cpp65 int result = __rt_sigaction(signal, in sigaction() local
104 int result = sigaction64(signal, bionic_new ? &kernel_new : nullptr, &kernel_old); in sigaction() local
Dexec.cpp78 int result = __execl(name, arg, kIsExecL, ap); in execl() local
86 int result = __execl(name, arg, kIsExecLE, ap); in execle() local
94 int result = __execl(name, arg, kIsExecLP, ap); in execlp() local
Dlibgen.cpp43 int result; in __basename_r() local
99 int result; in __dirname_r() local
Dbionic_allocator.cpp87 uint16_t result = 0; in log2() local
285 void* result = static_cast<char*>(map_ptr) + header_size; in alloc_mmap() local
369 void *result = alloc(size); in realloc() local
Dsemaphore.cpp223 … int result = __futex_wait_ex(sem_count_ptr, shared, shared | SEMCOUNT_MINUS_ONE, false, nullptr); in sem_wait() local
244 int result = check_timespec(abs_timeout, false); in __sem_timedwait() local
259 int result = __futex_wait_ex(sem_count_ptr, shared, shared | SEMCOUNT_MINUS_ONE, in __sem_timedwait() local
Dpthread_create.cpp235 ThreadMapping result = {}; in __allocate_thread_mapping() local
347 void* result = thread->start_routine(thread->start_routine_arg); in __pthread_start() local
377 int result = __allocate_thread(&thread_attr, &tcb, &child_stack); in pthread_create() local
Dgetpriority.cpp34 int result = __getpriority(which, who); in getpriority() 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/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.cpp107 int result; in check_getpwuid_r() local
122 int result; in check_getpwnam_r() local
306 int result = getpwnam_r("root", &pwd_storage, buf + 1, sizeof(buf) - 1, &pwd); in TEST() local
319 int result = getpwuid_r(0, &pwd_storage, buf + 1, sizeof(buf) - 1, &pwd); in TEST() local
332 int result = getpwnam_r("root", &pwd_storage[0], buf[0], sizeof(buf[0]), &pwd[0]); in TEST() local
353 int result = getpwuid_r(0, &pwd_storage[0], buf[0], sizeof(buf[0]), &pwd[0]); in TEST() local
434 std::string result; in expect_ids() local
525 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp); in check_getgrgid_r() local
538 int result = getgrnam_r(group_name, &grp_storage, buf, sizeof(buf), &grp); in check_getgrnam_r() local
736 int result = getgrnam_r("root", &grp_storage, buf + 1, sizeof(buf) - 1, &grp); in TEST() local
[all …]
Dnetdb_test.cpp200 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); in TEST() local
222 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
251 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
273 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); in TEST() local
284 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
296 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
307 int result = gethostbyname_r("does.not.exist.google.com", &hent, buf, sizeof(buf), &hp, &err); in TEST() local
318 …int result = gethostbyname2_r("does.not.exist.google.com", AF_INET, &hent, buf, sizeof(buf), &hp, … in TEST() local
330 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() local
Dsemaphore_test.cpp89 void* result; in TEST() local
199 int result = sem_wait(sem); in SemWaitEINTRThreadFn() local
229 void* result; in TEST() local
252 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/linker/
Ddlfcn.cpp139 void* result = do_dlopen(filename, flags, extinfo, caller_addr); in dlopen_ext() local
161 void* result; in dlsym_impl() local
185 int result = do_dlclose(handle); in __loader_dlclose() local
239 android_namespace_t* result = create_namespace(caller_addr, in __loader_android_create_namespace() local
/bionic/libc/include/bits/fortify/
Dstdio.h65 int result = __builtin___vsprintf_chk(dest, 0, __bos(dest), format, va); in sprintf() local
76 int result = __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, va); in snprintf() local
/bionic/libc/async_safe/
Dasync_safe_log.cpp151 unsigned result = 0; in parse_decimal() local
447 int result = async_safe_format_fd_va_list(fd, format, args); in async_safe_format_fd() local
463 int result = TEMP_FAILURE_RETRY(writev(STDERR_FILENO, vec, 4)); in write_stderr() local
529 int result = TEMP_FAILURE_RETRY(writev(main_log_fd, vec, sizeof(vec) / sizeof(vec[0]))); in async_safe_write_log() local
545 int result = async_safe_format_log_va_list(priority, tag, format, args); in async_safe_format_log() local

123456