Searched refs:result (Results 51 - 75 of 151) sorted by relevance

1234567

/bionic/libc/bionic/
H A Dexec.cpp77 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 Dlegacy_32_bit_support.cpp62 // 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 Dsigaction.cpp64 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 Dwcstod.cpp79 float_type result = strtod_fn(ascii_str, &ascii_end); local
93 return result;
H A Dgrp_pwd.cpp73 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 Dpthread_barrier.cpp142 int result = 0; local
144 result = PTHREAD_BARRIER_SERIAL_THREAD;
165 return result;
H A Dnet_if.cpp135 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 Dpthread_mutex.cpp282 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 Diconv.cpp342 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 Dgrp_pwd_test.cpp90 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 Dnetdb_test.cpp200 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 Ddlfcn_symlink_support.cpp56 void create_dlfcn_test_symlink(const char* suffix, std::string* result) { argument
73 *result = link_path;
H A Dsys_ptrace_test.cpp66 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 Dsys_stat_test.cpp158 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 Dleak_test.cpp93 size_t result = 0; local
95 result += map.addr_end - map.addr_start;
98 return result;
H A Dgtest_main.cpp155 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 Ddlfcn.cpp137 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 Dlinker_config.cpp202 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 Datm_tcp.h39 int result; member in struct:atmtcp_control
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Datm_tcp.h39 int result; member in struct:atmtcp_control
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Datm_tcp.h39 int result; member in struct:atmtcp_control
/bionic/libc/arch-arm64/generic/bionic/
H A Dstrncmp.S39 /* 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 Dmemchr.S44 #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 Dcpp.py161 # 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 Dstrptime.c435 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;

Completed in 2012 milliseconds

1234567