Searched defs:res (Results 1 - 25 of 1101) sorted by relevance

1234567891011>>

/prebuilts/go/darwin-x86/misc/cgo/testcarchive/
H A Dmain.c16 int32_t res; local
38 res = FromPkg();
39 if (res != 1024) {
40 fprintf(stderr, "ERROR: FromPkg()=%d, want 1024\n", res);
/prebuilts/go/linux-x86/misc/cgo/testcarchive/
H A Dmain.c16 int32_t res; local
38 res = FromPkg();
39 if (res != 1024) {
40 fprintf(stderr, "ERROR: FromPkg()=%d, want 1024\n", res);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.general/
H A Dignore.pass.cpp25 auto& res = (std::ignore = 42); local
26 assert(&res == &std::ignore);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.general/
H A Dignore.pass.cpp25 auto& res = (std::ignore = 42); local
26 assert(&res == &std::ignore);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/memory/memory.resource.global/
H A Dglobal_memory_resource_lifetime.pass.cpp29 ex::memory_resource* res = nullptr; member in struct:POSType
33 POSType(ex::memory_resource* r, void* p, int s) : res(r), ptr(p), n(s) {}
36 if (!res) res = ex::get_default_resource();
37 res->deallocate(ptr, n);
43 std::swap(L.res, R.res);
H A Dnew_delete_resource_lifetime.pass.cpp29 ex::memory_resource* res = nullptr; member in struct:POSType
32 POSType() {res = ex::new_delete_resource(); ptr = res->allocate(42); n = 42; }
33 POSType(ex::memory_resource* r, void* p, int s) : res(r), ptr(p), n(s) {}
34 ~POSType() { if (ptr) res->deallocate(ptr, n); }
38 std::swap(L.res, R.res);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/libcxx/thread/thread.condition/
H A DPR30202_notify_from_pthread_created_thread.pass.cpp54 int res = pthread_create(&id, 0, &func, nullptr); local
55 assert(res == 0);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/
H A Dgcd.pass.cpp135 auto res = std::experimental::gcd((int64_t)1234, (int32_t)-2147483648); local
136 static_assert( std::is_same<decltype(res), std::common_type<int64_t, int32_t>::type>::value, "");
137 assert(res == 2);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/exclusive.scan/
H A Dexclusive_scan_init_op.pass.cpp74 std::vector<int> res; local
75 std::exclusive_scan(v.begin(), v.end(), std::back_inserter(res), 1, std::multiplies<>());
77 assert(res.size() == 10);
79 assert(res[0] == 1);
83 assert(res[i] == j);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/inclusive.scan/
H A Dinclusive_scan.pass.cpp85 std::vector<int> v, res; local
86 std::inclusive_scan(v.begin(), v.end(), std::back_inserter(res));
87 assert(res.empty());
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/numeric.ops.gcd/
H A Dgcd.pass.cpp141 auto res = std::gcd(static_cast<std::int64_t>(1234), INT32_MIN); local
142 static_assert(std::is_same_v<decltype(res), std::int64_t>, "");
143 assert(res == 2);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/reduce/
H A Dreduce_init_op.pass.cpp71 unsigned res = std::reduce(v.begin(), v.end(), 1U, std::multiplies<>()); local
72 assert(res == 40320); // 8! will not fit into a char
/prebuilts/ndk/current/sources/third_party/shaderc/third_party/spirv-tools/source/
H A Ddiagnostic.cpp109 std::string spvResultToString(spv_result_t res) { argument
111 switch (res) {
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/memory/memory.resource.global/
H A Dglobal_memory_resource_lifetime.pass.cpp29 ex::memory_resource* res = nullptr; member in struct:POSType
33 POSType(ex::memory_resource* r, void* p, int s) : res(r), ptr(p), n(s) {}
36 if (!res) res = ex::get_default_resource();
37 res->deallocate(ptr, n);
43 std::swap(L.res, R.res);
H A Dnew_delete_resource_lifetime.pass.cpp29 ex::memory_resource* res = nullptr; member in struct:POSType
32 POSType() {res = ex::new_delete_resource(); ptr = res->allocate(42); n = 42; }
33 POSType(ex::memory_resource* r, void* p, int s) : res(r), ptr(p), n(s) {}
34 ~POSType() { if (ptr) res->deallocate(ptr, n); }
38 std::swap(L.res, R.res);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/thread/thread.condition/
H A DPR30202_notify_from_pthread_created_thread.pass.cpp54 int res = pthread_create(&id, 0, &func, nullptr); local
55 assert(res == 0);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/
H A Dgcd.pass.cpp135 auto res = std::experimental::gcd((int64_t)1234, (int32_t)-2147483648); local
136 static_assert( std::is_same<decltype(res), std::common_type<int64_t, int32_t>::type>::value, "");
137 assert(res == 2);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/exclusive.scan/
H A Dexclusive_scan_init_op.pass.cpp74 std::vector<int> res; local
75 std::exclusive_scan(v.begin(), v.end(), std::back_inserter(res), 1, std::multiplies<>());
77 assert(res.size() == 10);
79 assert(res[0] == 1);
83 assert(res[i] == j);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/inclusive.scan/
H A Dinclusive_scan.pass.cpp85 std::vector<int> v, res; local
86 std::inclusive_scan(v.begin(), v.end(), std::back_inserter(res));
87 assert(res.empty());
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/numeric.ops.gcd/
H A Dgcd.pass.cpp141 auto res = std::gcd(static_cast<std::int64_t>(1234), INT32_MIN); local
142 static_assert(std::is_same_v<decltype(res), std::int64_t>, "");
143 assert(res == 2);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numeric.ops/reduce/
H A Dreduce_init_op.pass.cpp71 unsigned res = std::reduce(v.begin(), v.end(), 1U, std::multiplies<>()); local
72 assert(res == 40320); // 8! will not fit into a char
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/
H A Ddiagnostic.cpp109 std::string spvResultToString(spv_result_t res) { argument
111 switch (res) {
/prebuilts/misc/common/robolectric/3.4.2/lib/
H A Dresources-3.4.2.jar ... robolectric.res.TypedResource typedRes org.robolectric.res.ResName resName String value java.util.Map ...
/prebuilts/misc/common/robolectric/3.5.1/lib/
H A Dresources-3.5.1.jar ... robolectric.res.TypedResource typedRes org.robolectric.res.ResName resName String value java.util.Map ...
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/trie_policy/
H A Dorder_statistics_imp.hpp158 const size_type res = (num_children == 0) ? 1 : children_rank; local
159 const_cast<size_type&>(nd_it.get_metadata()) = res;

Completed in 327 milliseconds

1234567891011>>