/bionic/libc/bionic/ |
H A D | libgen.cpp | 43 int result; local 74 result = len; 76 return result; 80 result = -1; 88 return result; 99 int result; local 133 result = len; 139 return result; 144 result = -1; 152 return result; [all...] |
H A D | sys_shm.cpp | 39 void* result = nullptr; 40 if (syscall(SYS_ipc, SHMAT, id, flags, &result, address, 0) == -1) { 43 return result;
|
H A D | fchmodat.cpp | 60 int result = fchmod(fd, mode); local 63 return result;
|
H A D | mmap.cpp | 61 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT); local 63 if (result != MAP_FAILED && kernel_has_MADV_MERGEABLE && 66 int rc = madvise(result, size, MADV_MERGEABLE); 72 return result;
|
H A D | semaphore.cpp | 224 int result = __futex_wait_ex(sem_count_ptr, shared, shared | SEMCOUNT_MINUS_ONE, false, nullptr); local 226 if (result ==-EINTR) { 245 int result = check_timespec(abs_timeout, false); local 246 if (result != 0) { 247 errno = result; 260 int result = __futex_wait_ex(sem_count_ptr, shared, shared | SEMCOUNT_MINUS_ONE, local 264 if (result == -ETIMEDOUT || result == -EINTR) { 265 errno = -result;
|
H A D | system_property_set.cpp | 84 int result = TEMP_FAILURE_RETRY(recv(socket_, value, sizeof(*value), MSG_WAITALL)); local 85 return CheckSendRecvResult(result, sizeof(*value)); 99 bool CheckSendRecvResult(int result, int expected_len) { argument 100 if (result == -1) { 102 } else if (result != expected_len) { 188 int result = -1; 205 result = 0; 220 result = 0; 224 return result; 296 int result [all...] |
H A D | sysinfo.cpp | 54 int result = 0; local 58 ++result; 61 return result;
|
H A D | time64.c | 64 # define LOCALTIME_R(clock, result) localtime_r(clock, result) 66 # define LOCALTIME_R(clock, result) fake_localtime_r(clock, result) 69 # define GMTIME_R(clock, result) gmtime_r(clock, result) 71 # define GMTIME_R(clock, result) fake_gmtime_r(clock, result) 427 struct tm * fake_localtime_r(const time_t *clock, struct tm *result) { argument 430 assert(result ! 445 fake_gmtime_r(const time_t *clock, struct tm *result) argument [all...] |
H A D | pthread_rwlock.cpp | 296 int result = __pthread_rwlock_tryrdlock(rwlock); local 297 if (result == 0 || result == EAGAIN) { 298 return result; 300 result = check_timespec(abs_timeout_or_null, true); 301 if (result != 0) { 302 return result; 367 int result = __pthread_rwlock_trywrlock(rwlock); local 368 if (result == 0) { 369 return result; [all...] |
/bionic/tools/versioner/src/ |
H A D | Utils.h | 81 std::string result; local 84 result.append(to_string(item)); 85 result.append(delimiter); 87 if (!result.empty()) { 88 result.resize(result.length() - delimiter.length()); 90 return result;
|
H A D | SymbolDatabase.cpp | 39 std::unordered_set<std::string> result; local 59 result.insert(symbolNameOrError.get().str()); 62 return result;
|
/bionic/libc/tzcode/ |
H A D | asctime.c | 84 char result[MAX_ASCTIME_BUF_SIZE]; local 106 snprintf(result, sizeof(result), /* Android change: use snprintf. */ 112 if (strlen(result) < STD_ASCTIME_BUF_SIZE || buf == buf_asctime) 113 return strcpy(buf, result);
|
/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);
|
H A D | s_csqrtl.c | 51 long double complex result; local 97 result = CMPLXL(t, b / (2 * t)); 100 result = CMPLXL(fabsl(b) / (2 * t), copysignl(t, b)); 105 return (result * 2); 107 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 | dlfcn_symlink_support.h | 22 void create_dlfcn_test_symlink(const char* suffix, std::string* result);
|
H A D | semaphore_test.cpp | 89 void* result; local 90 ASSERT_EQ(0, pthread_join(t1, &result)); 91 ASSERT_EQ(0, pthread_join(t2, &result)); 92 ASSERT_EQ(0, pthread_join(t3, &result)); 187 int result = sem_wait(sem); local 188 if (result == 0) { 191 if (result == -1) { 217 void* result; local 218 ASSERT_EQ(0, pthread_join(thread, &result)); 219 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(result)); 240 void* result; local [all...] |
H A D | stack_protector_test.cpp | 82 void* result; local 83 ASSERT_EQ(0, pthread_join(t, &result)); 84 ASSERT_EQ(NULL, result);
|
H A D | ifaddrs_test.cpp | 195 std::string result; local 196 if ((flags & IFF_UP) != 0) result += " UP"; 197 if ((flags & IFF_BROADCAST) != 0) result += " BROADCAST"; 198 if ((flags & IFF_DEBUG) != 0) result += " DEBUG"; 199 if ((flags & IFF_LOOPBACK) != 0) result += " LOOPBACK"; 200 if ((flags & IFF_POINTOPOINT) != 0) result += " POINTOPOINT"; 201 if ((flags & IFF_NOTRAILERS) != 0) result += " NOTRAILERS"; 202 if ((flags & IFF_RUNNING) != 0) result += " RUNNING"; 203 if ((flags & IFF_NOARP) != 0) result += " NOARP"; 204 if ((flags & IFF_PROMISC) != 0) result [all...] |
/bionic/libc/tools/ |
H A D | gensyscalls.py | 324 result = syscall_stub_header % syscall 332 result += " pushl %%%s\n" % register 334 result += " .cfi_def_cfa_offset 8\n" 335 result += " .cfi_rel_offset %s, 0\n" % register 338 result += " .cfi_adjust_cfa_offset 4\n" 339 result += " .cfi_rel_offset %s, 0\n" % register 343 result += x86_call_prepare 344 result += mov_result 345 result += x86_call % syscall 348 result [all...] |
/bionic/libc/private/ |
H A D | bionic_futex.h | 45 int result = syscall(__NR_futex, ftx, op, value, timeout, NULL, bitset); local 46 if (__predict_false(result == -1)) { 47 result = -errno; 50 return result;
|
/bionic/tools/bionicbb/ |
H A D | bionicbb.py | 38 result = json.loads(request.data) 40 name = result['name'] 41 number = result['build']['number'] 42 status = result['build']['status'] 43 go_url = 'http://go/bionicbb/' + result['build']['url'] 44 full_url = result['build']['full_url'] 45 params = result['build']['parameters']
|
/bionic/libc/arch-arm64/generic/bionic/ |
H A D | memcmp.S | 36 /* Parameters and result. */ 40 #define result w0 define 104 cset result, ne 105 cneg result, result, lo 127 sub result, data1w, data2w
|
H A D | strcmp.S | 39 /* Parameters and result. */ 42 #define result x0 define 96 sub result, data1, data2, lsr #56 103 the result directly. We can't just subtract the bytes as the 107 cset result, ne 108 cneg result, result, lo 128 sub result, data1, data2, lsr #56 161 sub result, data1, data2
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
H A D | fnmatch.c | 151 int result = FNM_NOMATCH; local 174 return (result ^ negate); 192 result = 0; 217 result = 0; 225 result = 0; 233 result = 0; 238 result = 0; 244 * and reset result to test '[' literal 247 result = FNM_NOMATCH; 253 result [all...] |