| /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 | 71 void* result = Malloc(calloc)(n_elements, elem_size); in calloc() local 123 void *result; in malloc() local 150 void* result = Malloc(memalign)(alignment, bytes); in memalign() local 159 int result; in posix_memalign() local 176 void* result = Malloc(aligned_alloc)(alignment, size); in aligned_alloc() local 189 void* result = Malloc(realloc)(old_mem, bytes); in realloc() local 213 void* result = Malloc(pvalloc)(bytes); in pvalloc() local 225 void* result = Malloc(valloc)(bytes); in valloc() local
|
| D | fork.cpp | 41 int result = clone(nullptr, nullptr, (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD), in __clone_for_fork() local 56 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() 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()
|
| D | sys_statvfs.cpp | 34 int statvfs(const char* path, struct statvfs* result) { in statvfs() 41 int fstatvfs(int fd, struct statvfs* result) { in fstatvfs()
|
| 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 | 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 291 int result = -1; in __system_property_set() local
|
| 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 | grp_pwd.cpp | 91 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() 744 size_t buflen, struct group** result) { in getgroup_r() 763 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { in getgrgid_r() 768 struct group **result) { in getgrnam_r()
|
| D | sigaction.cpp | 65 int result = __rt_sigaction(signal, in sigaction() local 126 int result = __sigaction64(signal, bionic_new ? &kernel_new : nullptr, &kernel_old); in sigaction() local
|
| D | exec.cpp | 81 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
|
| 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 | legacy_32_bit_support.cpp | 52 off64_t result; in lseek64() local 95 int result = prlimit64(pid, resource, in prlimit() 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
|
| /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 529 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp); in check_getgrgid_r() local 542 int result = getgrnam_r(group_name, &grp_storage, buf, sizeof(buf), &grp); in check_getgrnam_r() local 740 int result = getgrnam_r("root", &grp_storage, buf + 1, sizeof(buf) - 1, &grp); in TEST() local [all …]
|
| D | netdb_test.cpp | 201 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
|
| D | semaphore_test.cpp | 93 void* result; in TEST() local 205 int result = sem_wait(sem); in SemWaitEINTRThreadFn() local 235 void* result; in TEST() local 258 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/libc/malloc_debug/ |
| D | malloc_debug.cpp | 530 TimedResult result; in InternalMalloc() local 585 TimedResult result = InternalMalloc(size); in debug_malloc() local 637 TimedResult result; in InternalFree() local 670 TimedResult result = InternalFree(pointer); in debug_free() local 697 TimedResult result; in debug_memalign() local 776 TimedResult result = InternalMalloc(bytes); in debug_realloc() local 790 TimedResult result = InternalFree(pointer); in debug_realloc() local 815 TimedResult result; in debug_realloc() local 932 TimedResult result; in debug_calloc() local
|
| /bionic/linker/ |
| D | dlfcn.cpp | 142 void* result = do_dlopen(filename, flags, extinfo, caller_addr); in dlopen_ext() local 164 void* result; in dlsym_impl() local 188 int result = do_dlclose(handle); in __loader_dlclose() local 242 android_namespace_t* result = create_namespace(caller_addr, in __loader_android_create_namespace() local
|
| /bionic/libc/include/bits/fortify/ |
| D | stdio.h | 66 int result = __builtin___vsprintf_chk(dest, 0, __bos(dest), format, va); in sprintf() local 78 int result = __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, va); in snprintf() local
|