/bionic/libc/bionic/ |
H A D | getpriority.c | 34 int result = __getpriority(which, who); local 36 return ( result < 0 ) ? result : 20-result;
|
H A D | sigpending.cpp | 37 int result = __rt_sigpending(&set, sizeof(set)); local 38 if (result != -1) { 41 return result;
|
H A D | sigwait.cpp | 43 int result = __rt_sigtimedwait(sigset.get(), NULL, NULL, sizeof(sigset)); local 44 if (result >= 0) { 45 *sig = result;
|
H A D | strerror.cpp | 38 char* result = const_cast<char*>(__strerror_lookup(error_number)); local 39 if (result != nullptr) { 40 return result; 43 result = g_strerror_tls_buffer.get(); 44 strerror_r(error_number, result, g_strerror_tls_buffer.size()); 45 return result;
|
H A D | strsignal.cpp | 39 char* result = const_cast<char*>(__strsignal_lookup(signal_number)); local 40 if (result != NULL) { 41 return result;
|
H A D | strtold.cpp | 36 long double result; local 37 __strtorQ(s, end_ptr, FLT_ROUNDS, &result); 38 return result;
|
H A D | fork.cpp | 45 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, &(self->tid), NULL); local 47 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, NULL, &(self->tid)); local 49 if (result == 0) { 56 return result;
|
H A D | pthread_getcpuclockid.cpp | 40 clockid_t result = ~static_cast<clockid_t>(thread->tid) << 3; local 42 result |= 2; 44 result |= (1 << 2); 46 *clockid = result;
|
H A D | clock_getcpuclockid.cpp | 38 clockid_t result = ~static_cast<clockid_t>(pid) << 3; local 40 result |= 2; 44 if (clock_getres(result, &ts) == -1) { 48 *clockid = result;
|
H A D | fchmod.cpp | 40 int result = ___fchmod(fd, mode); local 42 if ((result == 0) || (errno != EBADF)) { 43 return result; 63 result = chmod(buf, mode); 64 if ((result == -1) && (errno == ELOOP)) { 71 return result;
|
H A D | pthread_sigmask.cpp | 37 int result = sigprocmask(how, new_set, old_set); local 38 return (result == -1) ? errno : 0;
|
H A D | sigaction.cpp | 61 int result = __rt_sigaction(signal, local 75 return result;
|
H A D | __vsnprintf_chk.cpp | 71 int result = __vsnprintf_chk(dest, supplied_size, flags, dest_len_from_compiler, format, va); local 73 return result;
|
H A D | __vsprintf_chk.cpp | 49 int result = vsnprintf(dest, dest_len_from_compiler, format, va); local 50 if ((size_t) result >= dest_len_from_compiler) { 53 return result; 71 int result = __vsprintf_chk(dest, flags, dest_len_from_compiler, format, va); local 73 return result;
|
H A D | fchmodat.cpp | 60 int result = fchmod(fd, mode); local 63 return result;
|
H A D | fgetxattr.cpp | 40 ssize_t result = ___fgetxattr(fd, name, value, size); local 42 if ((result != -1) || (errno != EBADF)) { 43 return result;
|
H A D | flistxattr.cpp | 40 ssize_t result = ___flistxattr(fd, list, size); local 42 if ((result != -1) || (errno != EBADF)) { 43 return result;
|
H A D | fsetxattr.cpp | 40 int result = ___fsetxattr(fd, name, value, size, flags); local 42 if ((result == 0) || (errno != EBADF)) { 43 return result;
|
H A D | ptrace.cpp | 50 long result = __ptrace(req, pid, addr, data); local 51 if (is_peek && result == 0) { 54 return result;
|
/bionic/tests/libs/ |
H A D | dlsym_from_this_functions.cpp | 25 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol")); local 27 if (result == nullptr) { 30 return result; 35 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol2")); local 37 if (result == nullptr) { 40 return result; 45 int* result = static_cast<int*>(dlsym(RTLD_NEXT, "test_dlsym_symbol")); local 47 if (result == nullptr) { 50 return result;
|
/bionic/libc/private/ |
H A D | ThreadLocalBuffer.h | 47 T* result = reinterpret_cast<T*>(pthread_getspecific(key_)); local 48 if (result == nullptr) { 49 result = reinterpret_cast<T*>(calloc(1, Size)); 50 pthread_setspecific(key_, result); 52 return result;
|
/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
H A D | reallocarr.c | 59 int saved_errno, result; local 87 result = errno; 89 result = 0; 93 return result;
|
/bionic/tests/ |
H A D | sstream_test.cpp | 28 T result = T(0); local 29 ss >> result; local 30 EXPECT_FALSE(ss.bad()) << value << ' ' << int64_t(result); 31 EXPECT_EQ(should_overflow, ss.fail()) << value << ' ' << int64_t(result); 33 ASSERT_EQ(expected, result) << value;
|
H A D | sys_xattr_test.cpp | 108 ssize_t result = flistxattr(tf.fd, buf, sizeof(buf)); local 109 ASSERT_TRUE(result >= 9);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | s_csqrt.c | 51 double complex result; local 97 result = CMPLX(t, b / (2 * t)); 100 result = CMPLX(fabs(b) / (2 * t), copysign(t, b)); 105 return (result * 2); 107 return (result);
|