/bionic/libc/tzcode/ |
H A D | localtime.c | 219 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...] |
H A D | strptime.c | 414 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;
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
H A D | ev_timers.c | 285 int result=0; local 299 return (result); 313 int result=0; local 344 result = heap_increased(ctx->timers, timer->index); 347 result = 0; 350 result = heap_decreased(ctx->timers, timer->index); 359 return (result);
|
H A D | eventlib_p.h | 185 uint32_t result; /* 1 => revents, 0 => events */ member in struct:__anon1038 191 ctx->field.result = lastnext;
|
/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/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/libc/upstream-openbsd/lib/libc/locale/ |
H A D | _wcstod.h | 107 float_type result; local 131 result = STRTOD_FUNC(buf, &end); 144 return result;
|
/bionic/libm/ |
H A D | Android.mk | 511 # Workaround the GCC "(long)fn -> lfn" optimization bug which will result in
|
/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);
|
H A D | s_fmaf.c | 45 double xy, result; local 49 result = xy + z; 50 EXTRACT_WORDS(hr, lr, result); 51 /* Common case: The double precision result is fine. */ 54 result - xy == z || /* exact */ 56 return (result); 59 * If result is inexact, and exactly halfway between two float values, 66 if (result == adjusted_result)
|
/bionic/linker/ |
H A D | debugger.cpp | 119 * We could be here as a result of native heap corruption, or while a 199 bool result = (old_action.sa_flags & SA_SIGINFO) != 0; local 205 return result;
|
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...] |
H A D | linker.cpp | 1267 const ElfW(Sym)* result = nullptr; 1276 if (!current_soinfo->find_symbol_by_name(symbol_name, vi, &result)) { 1277 result = nullptr; 1281 if (result != nullptr) { 1289 return result; 2587 TRACE_TYPE(RELO, "Called ifunc_resolver@%p. The result is %p",
|
H A D | linker_allocator.cpp | 61 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/linker/tests/ |
H A D | linked_list_test.cpp | 207 bool result = list.visit([&](const char* c) { local 213 ASSERT_TRUE(result); 220 result = list.visit([&](const char* c) { 229 ASSERT_TRUE(!result);
|
/bionic/tests/ |
H A D | bug_26110743_test.cpp | 51 void* result; local 52 ASSERT_EQ(0, pthread_join(t, &result)); 53 ASSERT_EQ(NULL, result); 66 void* result; local 67 ASSERT_EQ(0, pthread_join(t, &result)); 68 ASSERT_EQ(NULL, result); 95 void* result; local 96 ASSERT_EQ(0, pthread_join(t, &result)); 97 ASSERT_EQ(NULL, result); 110 void* result; local [all...] |
H A D | dlfcn_test.cpp | 743 void* result; local 744 ASSERT_EQ(0, pthread_join(t, &result)); 745 char* child_thread_error = static_cast<char*>(result);
|
H A D | fenv_test.cpp | 35 volatile float result __attribute__((unused)) = 123.0f / zero; local
|
H A D | fortify_test.cpp | 129 int result; local 132 result = vsprintf(myfoo.a, fmt, va); // should crash here 134 return result; 152 int result; local 156 result = vsnprintf(myfoo.a, size, fmt, va); // should crash here 158 return result; 490 int result; local 493 result = vsprintf(buf, fmt, va); // should crash here 495 return result; 509 int result; local [all...] |
H A D | gtest_main.cpp | 135 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 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 | 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/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;
|
H A D | namespaces_root.cpp | 43 const char** result = static_cast<const char**>(dlsym(handle, "g_private_dlopened_string")); local 44 if (result == nullptr) { 50 return *result;
|