Searched defs:result (Results 1 - 25 of 105) sorted by relevance

12345

/bionic/libc/bionic/
H A Dgetpriority.c34 int result = __getpriority(which, who); local
36 return ( result < 0 ) ? result : 20-result;
H A Dsigpending.cpp37 int result = __rt_sigpending(&set, sizeof(set)); local
38 if (result != -1) {
41 return result;
H A Dsigwait.cpp43 int result = __rt_sigtimedwait(sigset.get(), NULL, NULL, sizeof(sigset)); local
44 if (result >= 0) {
45 *sig = result;
H A Dstrerror.cpp38 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 Dstrsignal.cpp39 char* result = const_cast<char*>(__strsignal_lookup(signal_number)); local
40 if (result != NULL) {
41 return result;
H A Dstrtold.cpp36 long double result; local
37 __strtorQ(s, end_ptr, FLT_ROUNDS, &result);
38 return result;
H A Dfork.cpp45 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 Dpthread_getcpuclockid.cpp40 clockid_t result = ~static_cast<clockid_t>(thread->tid) << 3; local
42 result |= 2;
44 result |= (1 << 2);
46 *clockid = result;
H A Dclock_getcpuclockid.cpp38 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 Dfchmod.cpp40 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 Dpthread_sigmask.cpp37 int result = sigprocmask(how, new_set, old_set); local
38 return (result == -1) ? errno : 0;
H A Dsigaction.cpp61 int result = __rt_sigaction(signal, local
75 return result;
H A D__vsnprintf_chk.cpp71 int result = __vsnprintf_chk(dest, supplied_size, flags, dest_len_from_compiler, format, va); local
73 return result;
H A D__vsprintf_chk.cpp49 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 Dfchmodat.cpp60 int result = fchmod(fd, mode); local
63 return result;
H A Dfgetxattr.cpp40 ssize_t result = ___fgetxattr(fd, name, value, size); local
42 if ((result != -1) || (errno != EBADF)) {
43 return result;
H A Dflistxattr.cpp40 ssize_t result = ___flistxattr(fd, list, size); local
42 if ((result != -1) || (errno != EBADF)) {
43 return result;
H A Dfsetxattr.cpp40 int result = ___fsetxattr(fd, name, value, size, flags); local
42 if ((result == 0) || (errno != EBADF)) {
43 return result;
H A Dptrace.cpp50 long result = __ptrace(req, pid, addr, data); local
51 if (is_peek && result == 0) {
54 return result;
/bionic/tests/libs/
H A Ddlsym_from_this_functions.cpp25 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 DThreadLocalBuffer.h47 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 Dreallocarr.c59 int saved_errno, result; local
87 result = errno;
89 result = 0;
93 return result;
/bionic/tests/
H A Dsstream_test.cpp28 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 Dsys_xattr_test.cpp108 ssize_t result = flistxattr(tf.fd, buf, sizeof(buf)); local
109 ASSERT_TRUE(result >= 9);
/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_csqrt.c51 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);

Completed in 3858 milliseconds

12345