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

12345

/bionic/libc/bionic/
H A Dpthread_rwlock.cpp297 int result = __pthread_rwlock_tryrdlock(rwlock); local
298 if (result == 0 || result == EAGAIN) {
299 return result;
301 result = check_timespec(abs_timeout_or_null, true);
302 if (result != 0) {
303 return result;
369 int result = __pthread_rwlock_trywrlock(rwlock); local
370 if (result == 0) {
371 return result;
[all...]
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 Dstubs.cpp76 group_state_t* result = g_group_tls_buffer.get(); local
77 if (result != nullptr) {
78 init_group_state(result);
80 return result;
85 passwd** result) {
89 *result = NULL;
97 // Reporting success (0) but with *result NULL is glibc's behavior.
129 *result = dst;
134 char* buf, size_t byte_count, passwd** result) {
135 return do_getpw_r(1, name, -1, pwd, buf, byte_count, result);
83 do_getpw_r(int by_name, const char* name, uid_t uid, passwd* dst, char* buf, size_t byte_count, passwd** result) argument
133 getpwnam_r(const char* name, passwd* pwd, char* buf, size_t byte_count, passwd** result) argument
138 getpwuid_r(uid_t uid, passwd* pwd, char* buf, size_t byte_count, passwd** result) argument
506 getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument
526 getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument
530 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 Dsigaction.cpp61 int result = __rt_sigaction(signal, local
75 return result;
H A Dpthread_create.cpp198 void* result = thread->start_routine(thread->start_routine_arg); local
199 pthread_exit(result);
228 int result = __allocate_thread(&thread_attr, &thread, &child_stack); local
229 if (result != 0) {
230 return result;
H A Ddirent.cpp125 int readdir_r(DIR* d, dirent* entry, dirent** result) { argument
128 *result = NULL;
140 *result = entry;
H A Dlibc_logging.cpp147 unsigned result = 0; local
157 result = result*10 + d;
161 return result;
450 int result = TEMP_FAILURE_RETRY(writev(fd, vec, 4)); local
452 return result;
580 int result = TEMP_FAILURE_RETRY(writev(main_log_fd, vec, sizeof(vec) / sizeof(vec[0]))); local
582 return result;
595 int result = __libc_format_log_va_list(priority, tag, format, args); local
597 return result;
628 int result = TEMP_FAILURE_RETRY(writev(event_log_fd, vec, sizeof(vec) / sizeof(vec[0]))); local
[all...]
H A Dpthread_cond.cpp175 int result = check_timespec(abs_timeout_or_null, true); local
176 if (result != 0) {
177 return result;
/bionic/libc/kernel/uapi/linux/
H A Datm_tcp.h44 int result; member in struct:atmtcp_control
/bionic/libc/private/
H A DUniquePtr.h70 T* result = mPtr; local
72 return result;
120 T* result = mPtr; local
122 return result;
/bionic/tests/
H A Dgtest_main.cpp135 void SetResult(TestResult result) { result_ = result; } argument
182 void SetTestResult(size_t test_id, TestResult result) { argument
184 test_list_[test_id].SetResult(result);
221 virtual void OnTestPartResult(const testing::TestPartResult& result);
228 void TestResultPrinter::OnTestPartResult(const testing::TestPartResult& result) { argument
230 if (result.type() == testing::TestPartResult::kSuccess)
234 printf("%s:(%d) Failure in test %s.%s\n%s\n", result.file_name(), result.line_number(),
235 pinfo_->test_case_name(), pinfo_->name(), result
286 int result = pclose(fp); local
322 TestResult result = testcase.GetTestResult(test_id); local
339 TestResult result = testcase.GetTestResult(test_id); local
376 TestResult result = testcase.GetTestResult(i); local
611 int result = RUN_ALL_TESTS(); local
742 pid_t result; local
778 pid_t result = TEMP_FAILURE_RETRY(waitpid(pid, &exit_status, 0)); 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 Dstdatomic_test.cpp235 void* result; local
243 ASSERT_EQ(0, pthread_join(t1, &result));
244 EXPECT_EQ(0, result);
245 ASSERT_EQ(0, pthread_join(t2, &result));
246 EXPECT_EQ(0, result);
/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.S45 #define result x0 define
119 /* If we're out of data we finish regardless of the result */
156 /* Compute the potential result */
157 add result, src, synd, lsr #1
158 /* Select result or NULL */
159 csel result, xzr, result, eq
163 mov result, xzr
H A Dmemcmp.S35 /* Parameters and result. */
39 #define result x0 define
111 sub result, data1, data2, lsr #56
140 mov result, #0
153 sub result, data1, data2
/bionic/libc/kernel/tools/
H A Dcpp.py160 # gives wrong result when dealing with single line range.
1052 result = []
1059 result.append(strip_space(buf))
1066 result.append(strip_space(buf))
1076 result.append(' ' * indent + '}')
1080 result.append(strip_space(buf) + ';')
1085 result.append(strip_space(buf) + ',')
1097 result.append(strip_space(buf))
1099 return result, indent
1132 result
[all...]
/bionic/libc/tzcode/
H A Dstrptime.c414 int result = 0; local
422 result *= 10;
423 result += *(*buf)++ - '0';
425 } while ((result * 10 <= ulim) && rulim && **buf >= '0' && **buf <= '9');
427 if (result < llim || result > ulim)
430 *dest = result;
H A Dlocaltime.c219 register int_fast32_t result; local
226 result = codep[0] & 0x7f;
228 result = (result << 8) | (codep[i] & 0xff);
232 If the result would be minval - 1, return minval. */
233 result -= !TWOS_COMPLEMENT(int_fast32_t) && result != 0;
234 result += minval;
236 return result;
242 register uint_fast64_t result; local
701 register bool result; local
1436 register struct tm * result; local
1554 register struct tm * result; local
1843 register int result; local
[all...]
/bionic/libc/upstream-openbsd/lib/libc/locale/
H A D_wcstod.h107 float_type result; local
131 result = STRTOD_FUNC(buf, &end);
144 return result;
/bionic/libc/include/sys/
H A Dcdefs.h460 #define __size_mul_overflow(a, b, result) __builtin_umull_overflow(a, b, result)
462 #define __size_mul_overflow(a, b, result) __builtin_umul_overflow(a, b, result)
466 int __size_mul_overflow(__SIZE_TYPE__ a, __SIZE_TYPE__ b, __SIZE_TYPE__ *result) { argument
467 *result = a * b;
/bionic/linker/
H A Dlinker_allocator.cpp61 uint16_t result = 0; local
65 result++;
69 return result;
303 void *result = alloc(size); local
304 memcpy(result, ptr, old_size);
306 return result;
/bionic/libc/stdio/
H A Dstdio.cpp431 off64_t result = (*fp->_seek)(fp->_cookie, offset, whence); local
434 if (result != -1) result &= 0xffffffff;
436 return result;
446 off64_t result = __seek_unlocked(fp, 0, SEEK_CUR); local
447 if (result == -1) {
455 result -= fp->_r;
456 if (HASUB(fp)) result -= fp->_ur;
461 result += fp->_p - fp->_bf._base;
463 return result;
525 off64_t result = ftello64(fp); local
[all...]

Completed in 265 milliseconds

12345