/bionic/libc/bionic/ |
H A D | exec.cpp | 77 int result = __execl(name, arg, kIsExecL, ap); local 79 return result; 85 int result = __execl(name, arg, kIsExecLE, ap); local 87 return result; 93 int result = __execl(name, arg, kIsExecLP, ap); local 95 return result;
|
H A D | legacy_32_bit_support.cpp | 62 // returns the off64_t result via a pointer because 32-bit kernels can't return 64-bit results. 64 off64_t result; local 67 if (__llseek(fd, off_hi, off_lo, &result, whence) < 0) { 70 return result; 124 int result = prlimit64(pid, resource, local 127 if (result != -1 && o32 != nullptr) { 131 return result;
|
H A D | sigaction.cpp | 64 int result = __rt_sigaction(signal, local 78 return result; 102 int result = sigaction64(signal, bionic_new ? &kernel_new : nullptr, &kernel_old); local 112 return result;
|
H A D | wcstod.cpp | 79 float_type result = strtod_fn(ascii_str, &ascii_end); local 93 return result;
|
H A D | grp_pwd.cpp | 73 group_state_t* result = get_group_tls_buffer(); local 74 if (result != nullptr) { 75 init_group_state(result); 77 return result; 82 passwd** result) { 86 *result = NULL; 94 // Reporting success (0) but with *result NULL is glibc's behavior. 126 *result = dst; 131 char* buf, size_t byte_count, passwd** result) { 132 return do_getpw_r(1, name, -1, pwd, buf, byte_count, result); 80 do_getpw_r(int by_name, const char* name, uid_t uid, passwd* dst, char* buf, size_t byte_count, passwd** result) argument 130 getpwnam_r(const char* name, passwd* pwd, char* buf, size_t byte_count, passwd** result) argument 135 getpwuid_r(uid_t uid, passwd* pwd, char* buf, size_t byte_count, passwd** result) argument 685 getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument 705 getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument 709 getgrnam_r(const char* name, struct group* grp, char* buf, size_t buflen, struct group **result) argument [all...] |
H A D | pthread_barrier.cpp | 142 int result = 0; local 144 result = PTHREAD_BARRIER_SERIAL_THREAD; 165 return result;
|
H A D | net_if.cpp | 135 struct if_nameindex* result = new struct if_nameindex[interface_count + 1]; local 136 if (result) { 137 struct if_nameindex* out = result; 150 return result;
|
H A D | pthread_mutex.cpp | 282 int result = first_free_id; local 283 first_free_id = IdToNode(result).next_free_id; 284 return result; 310 int result = AllocIdLocked(); local 312 if (result != -1) { 313 memset(&IdToPIMutex(result), 0, sizeof(PIMutex)); 315 return result; 586 int result = check_timespec(abs_timeout_or_null, true); local 587 if (result != 0) { 588 return result; 769 int result = check_timespec(abs_timeout_or_null, true); local 989 int result = PIMutexDestroy(mutex->ToPIMutex()); local [all...] |
H A D | iconv.cpp | 342 iconv_t result = new __iconv_t; local 343 if (!__parse_encoding(__src_encoding, &result->src_encoding, nullptr) || 344 !__parse_encoding(__dst_encoding, &result->dst_encoding, &result->mode)) { 345 delete result; 349 return result;
|
/bionic/tests/ |
H A D | grp_pwd_test.cpp | 90 int result; local 94 result = getpwuid_r(uid, &pwd_storage, buf, sizeof(buf), &pwd); 95 ASSERT_EQ(0, result); 105 int result; local 109 result = getpwnam_r(username, &pwd_storage, buf, sizeof(buf), &pwd); 110 ASSERT_EQ(0, result); 244 std::string result; 246 result += "Missing ids from results: " + Join(missing_from_ids, " "); 249 if (!result.empty()) result 327 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp); local 340 int result = getgrnam_r(group_name, &grp_storage, buf, sizeof(buf), &grp); local 464 int result = getgrnam_r("root", &grp_storage[0], buf[0], sizeof(buf[0]), &grp[0]); local 484 int result = getgrgid_r(0, &grp_storage[0], buf[0], sizeof(buf[0]), &grp[0]); local [all...] |
H A D | netdb_test.cpp | 200 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); local 201 ASSERT_EQ(0, result); 210 result = gethostbyname_r("localhost", &hent2, buf2, sizeof(buf2), &hp2, &err); 211 ASSERT_EQ(0, result); 222 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); local 223 ASSERT_EQ(0, result); 232 result = gethostbyname2_r("localhost", AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); 233 ASSERT_EQ(0, result); 251 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); local 252 ASSERT_EQ(0, result); 273 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); local 284 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); local 296 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); local 307 int result = gethostbyname_r("does.not.exist.google.com", &hent, buf, sizeof(buf), &hp, &err); local 318 int result = gethostbyname2_r("does.not.exist.google.com", AF_INET, &hent, buf, sizeof(buf), &hp, &err); local 330 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); local [all...] |
H A D | dlfcn_symlink_support.cpp | 56 void create_dlfcn_test_symlink(const char* suffix, std::string* result) { argument 73 *result = link_path;
|
H A D | sys_ptrace_test.cpp | 66 long result = ptrace(PTRACE_GETHBPREGS, child, 0, &capabilities); local 67 if (result == -1) { 97 long result = ptrace(PTRACE_GETREGSET, child, 99 if (result == -1) { 446 int result; local 447 pid_t rc = TEMP_FAILURE_RETRY(waitpid(tracer, &result, 0)); 453 if (!WIFEXITED(result) && !WIFSIGNALED(result)) { 458 if (WIFEXITED(result)) { 459 if (WEXITSTATUS(result) ! 473 int result; local 527 int result; local [all...] |
H A D | sys_stat_test.cpp | 158 int result = fchmodat(AT_FDCWD, tf.filename, 0751, AT_SYMLINK_NOFOLLOW); local 161 ASSERT_EQ(0, result); 167 ASSERT_EQ(-1, result); 214 int result = fchmodat(AT_FDCWD, linkname, 0751, AT_SYMLINK_NOFOLLOW); local 216 if (result == 0) { 219 ASSERT_EQ(-1, result); 237 int result = fchmodat(AT_FDCWD, linkname, 0751, AT_SYMLINK_NOFOLLOW); local 239 if (result == 0) { 242 ASSERT_EQ(-1, result);
|
H A D | leak_test.cpp | 93 size_t result = 0; local 95 result += map.addr_end - map.addr_start; 98 return result;
|
H A D | gtest_main.cpp | 155 void SetResult(TestResult result) { argument 160 if (GetName().find("xfail") == 0) result = TEST_SUCCESS; 161 result_ = result; 209 void SetTestResult(size_t test_id, TestResult result) { argument 211 test_list_[test_id].SetResult(result); 252 virtual void OnTestPartResult(const testing::TestPartResult& result); 259 void TestResultPrinter::OnTestPartResult(const testing::TestPartResult& result) { argument 261 if (result.type() == testing::TestPartResult::kSuccess) 265 printf("%s:(%d) Failure in test %s.%s\n%s\n", result.file_name(), result 298 int result = posix_spawnp(&pid, argv[0], &fa, nullptr, const_cast<char**>(args.data()), nullptr); local 365 TestResult result = testcase.GetTestResult(test_id); local 382 TestResult result = testcase.GetTestResult(test_id); local 420 TestResult result = testcase.GetTestResult(i); local 666 int result = RUN_ALL_TESTS(); local 797 pid_t result; local 833 pid_t result = TEMP_FAILURE_RETRY(waitpid(pid, &exit_status, 0)); local [all...] |
/bionic/linker/ |
H A D | dlfcn.cpp | 137 void* result = do_dlopen(filename, flags, extinfo, caller_addr); local 138 if (result == nullptr) { 142 return result; 159 void* result; local 160 if (!do_dlsym(handle, symbol, version, caller_addr, &result)) { 165 return result; 183 int result = do_dlclose(handle); local 184 if (result != 0) { 187 return result; 242 android_namespace_t* result local [all...] |
H A D | linker_config.cpp | 202 int result = cp.next_token(&name, &value, &error); local 203 if (result == ConfigParser::kError) { 211 if (result == ConfigParser::kSection || result == ConfigParser::kEndOfFile) { 215 if (result == ConfigParser::kPropertyAssign) { 250 int result = cp.next_token(&name, &value, &error); local 252 if (result == ConfigParser::kSection && name == section_name) { 256 if (result == ConfigParser::kEndOfFile) { 270 int result = cp.next_token(&name, &value, &error); local 272 if (result 461 int result = strtol(content_str, &end, 10); local [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | atm_tcp.h | 39 int result; member in struct:atmtcp_control
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | atm_tcp.h | 39 int result; member in struct:atmtcp_control
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | atm_tcp.h | 39 int result; member in struct:atmtcp_control
|
/bionic/libc/arch-arm64/generic/bionic/ |
H A D | strncmp.S | 39 /* Parameters and result. */ 43 #define result x0 define 134 sub result, data1, data2, lsr #56 141 the result directly. We can't just subtract the bytes as the 145 cset result, ne 146 cneg result, result, lo 166 sub result, data1, data2, lsr #56 201 mov result, #0 215 sub result, data [all...] |
H A D | memchr.S | 44 #define result x0 define 118 /* If we're out of data we finish regardless of the result */ 155 /* Compute the potential result */ 156 add result, src, synd, lsr #1 157 /* Select result or NULL */ 158 csel result, xzr, result, eq 162 mov result, xzr
|
/bionic/libc/kernel/tools/ |
H A D | cpp.py | 161 # gives wrong result when dealing with single line range. 1053 result = [] 1060 result.append(strip_space(buf)) 1067 result.append(strip_space(buf)) 1077 result.append(' ' * indent + '}') 1081 result.append(strip_space(buf) + ';') 1086 result.append(strip_space(buf) + ',') 1098 result.append(strip_space(buf)) 1100 return result, indent 1124 result [all...] |
/bionic/libc/tzcode/ |
H A D | strptime.c | 435 int result = 0; local 443 result *= 10; 444 result += *(*buf)++ - '0'; 446 } while ((result * 10 <= ulim) && rulim && **buf >= '0' && **buf <= '9'); 448 if (result < llim || result > ulim) 451 *dest = result;
|