/bionic/libc/bionic/ |
H A D | libgen.cpp | 46 int result; local 77 result = len; 79 return result; 83 result = -1; 91 return result; 102 int result; local 136 result = len; 142 return result; 147 result = -1; 155 return result; [all...] |
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 | fsetxattr.cpp | 40 int result = ___fsetxattr(fd, name, value, size, flags); local 42 if ((result == 0) || (errno != EBADF)) { 43 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 | 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, true, abs_timeout); local 263 if (result == -ETIMEDOUT || result == -EINTR) { 264 errno = -result;
|
H A D | bionic_systrace.cpp | 43 bool result = false; local 69 result = ((g_tags & ATRACE_TAG_BIONIC) != 0); 72 return result;
|
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...] |
/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 | ifaddrs_test.cpp | 193 std::string result; local 194 if ((flags & IFF_UP) != 0) result += " UP"; 195 if ((flags & IFF_BROADCAST) != 0) result += " BROADCAST"; 196 if ((flags & IFF_DEBUG) != 0) result += " DEBUG"; 197 if ((flags & IFF_LOOPBACK) != 0) result += " LOOPBACK"; 198 if ((flags & IFF_POINTOPOINT) != 0) result += " POINTOPOINT"; 199 if ((flags & IFF_NOTRAILERS) != 0) result += " NOTRAILERS"; 200 if ((flags & IFF_RUNNING) != 0) result += " RUNNING"; 201 if ((flags & IFF_NOARP) != 0) result += " NOARP"; 202 if ((flags & IFF_PROMISC) != 0) result [all...] |
H A D | stubs_test.cpp | 73 int result; local 77 result = getpwuid_r(uid, &pwd_storage, buf, sizeof(buf), &pwd); 78 ASSERT_EQ(0, result); 87 int result; local 91 result = getpwnam_r(username, &pwd_storage, buf, sizeof(buf), &pwd); 92 ASSERT_EQ(0, result); 207 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp); local 208 ASSERT_EQ(0, result); 220 int result = getgrnam_r(group_name, &grp_storage, buf, sizeof(buf), &grp); local 221 ASSERT_EQ(0, result); 316 int result = getgrnam_r("root", &grp_storage[0], buf[0], sizeof(buf[0]), &grp[0]); local 336 int result = getgrgid_r(0, &grp_storage[0], buf[0], sizeof(buf[0]), &grp[0]); local [all...] |
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)); 173 int result = sem_wait(sem); local 174 if (result == 0) { 177 if (result == -1) { 203 void* result; local 204 ASSERT_EQ(0, pthread_join(thread, &result)); 205 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(result)); 226 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 | netdb_test.cpp | 200 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 283 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); local 294 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); local [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 | 48 int result = syscall(__NR_futex, ftx, op, value, timeout, NULL, bitset); local 49 if (__predict_false(result == -1)) { 50 result = -errno; 53 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/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...] |
/bionic/linker/ |
H A D | dlfcn.cpp | 72 void* result = do_dlopen(filename, flags, extinfo, caller_addr); local 73 if (result == nullptr) { 77 return result; 92 void* result; local 93 if (!do_dlsym(handle, symbol, version, caller_addr, &result)) { 98 return result; 118 int result = do_dlclose(handle); local 119 if (result != 0) { 122 return result; 165 android_namespace_t* result local [all...] |
/bionic/libc/arch-arm64/generic/bionic/ |
H A D | strcmp.S | 39 /* Parameters and result. */ 42 #define result x0 define 95 sub result, data1, data2, lsr #56 102 the result directly. We can't just subtract the bytes as the 106 cset result, ne 107 cneg result, result, lo 127 sub result, data1, data2, lsr #56 160 sub result, data1, data2
|