/bionic/benchmarks/ |
D | atomic_benchmark.cpp | 56 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/ |
D | dlsym_from_this_functions.cpp | 25 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/ |
D | malloc_common.cpp | 69 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
|
D | fork.cpp | 40 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
|
D | time64.c | 64 # 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()
|
D | system_property_set.cpp | 86 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
|
D | atexit.cpp | 106 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
|
D | grp_pwd.cpp | 85 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()
|
D | sys_statfs.cpp | 37 int fstatfs(int fd, struct statfs* result) { in fstatfs() 47 int statfs(const char* path, struct statfs* result) { in statfs()
|
D | sigaction.cpp | 65 int result = __rt_sigaction(signal, in sigaction() local 104 int result = sigaction64(signal, bionic_new ? &kernel_new : nullptr, &kernel_old); in sigaction() local
|
D | exec.cpp | 78 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
|
D | libgen.cpp | 43 int result; in __basename_r() local 99 int result; in __dirname_r() local
|
D | bionic_allocator.cpp | 87 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
|
D | semaphore.cpp | 223 … 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
|
D | pthread_create.cpp | 235 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
|
D | getpriority.cpp | 34 int result = __getpriority(which, who); in getpriority() local
|
/bionic/tools/versioner/src/ |
D | SymbolDatabase.cpp | 41 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/ |
D | bug_26110743_test.cpp | 54 void* result; in TEST() local 69 void* result; in TEST() local 99 void* result; in TEST() local 114 void* result; in TEST() local
|
D | grp_pwd_test.cpp | 107 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 …]
|
D | netdb_test.cpp | 200 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
|
D | semaphore_test.cpp | 89 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/ |
D | fdtrack_test.cpp | 61 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/ |
D | dlfcn.cpp | 139 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/ |
D | stdio.h | 65 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/ |
D | async_safe_log.cpp | 151 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
|