Home
last modified time | relevance | path

Searched refs:result (Results 1676 - 1700 of 11286) sorted by relevance

1...<<61626364656667686970>>...452

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/
H A D13-2.c21 int result; in main() local
23 result = mlockall(~(MCL_CURRENT | MCL_FUTURE)); in main()
25 if (result == -1 && errno == EINVAL) { in main()
28 } else if (result != -1) { in main()
29 printf("mlockall() return %i instead of -1.\n", result); in main()
H A D13-1.c21 int result; in main() local
23 result = mlockall(0); in main()
25 if (result == -1 && errno == EINVAL) { in main()
28 } else if (result != -1) { in main()
29 printf("mlockall() return %i instead of -1.\n", result); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/speculative/
H A D7-1.c24 int result = -1; in main() local
26 result = sched_getparam(0, NULL); in main()
28 if (result == -1 && errno == EFAULT) { in main()
33 if (result == -1 && errno == EINVAL) { in main()
40 result, errno); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/speculative/
H A D5-1.c25 int result = -2; in main() local
27 result = sched_rr_get_interval(0, NULL); in main()
29 if (result == -1 && errno == EFAULT) { in main()
34 if (result == -1 && errno == EINVAL) { in main()
41 result, errno); in main()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dctermid.c26 char *result = ctermid(buf); in ctermid_0100() local
27 EXPECT_EQ("ctermid_0100", buf, result); in ctermid_0100()
28 EXPECT_STREQ("ctermid_0100", result, "/dev/tty"); in ctermid_0100()
39 char *result = ctermid(NULL); in ctermid_0200() local
40 EXPECT_STREQ("ctermid_0200", result, "/dev/tty"); in ctermid_0200()
/third_party/elfutils/tests/
H A Ddwelfgnucompressed.c40 int result = 0; in main() local
53 result = 1; in main()
62 result = 1; in main()
75 result = 1; in main()
83 result = 1; in main()
94 result = 1; in main()
105 return result; in main()
/third_party/elfutils/libelf/
H A Dgelf_getehdr.c46 GElf_Ehdr *result = NULL; in __gelf_getehdr_rdlock() local
88 result = dest; in __gelf_getehdr_rdlock()
91 result = memcpy (dest, elf->state.elf64.ehdr, sizeof (*dest)); in __gelf_getehdr_rdlock()
93 return result; in __gelf_getehdr_rdlock()
99 GElf_Ehdr *result; in gelf_getehdr() local
104 result = __gelf_getehdr_rdlock (elf, dest); in gelf_getehdr()
107 return result; in gelf_getehdr()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DLongNameMultiplexer.java51 LongNameMultiplexer result = new LongNameMultiplexer(parent); in forMeasureUnits()
55 result.fMeasureUnits = new ArrayList<>(); in forMeasureUnits()
56 result.fHandlers = new ArrayList<>(); in forMeasureUnits()
61 result.fMeasureUnits.add(unit); in forMeasureUnits()
65 result.fHandlers.add(mlnh); in forMeasureUnits()
68 result.fHandlers.add(lnh); in forMeasureUnits()
72 return result; in forMeasureUnits()
/third_party/libunwind/libunwind/tests/
H A DGtest-exc.c111 int result = 99; in a() local
133 result = 0; in a()
136 return result; in a()
154 int result; in main() local
168 result = a (depth); in main()
169 if (result != 0 || !got_here || nerrors > 0) in main()
172 "FAILURE: test failed: result=%d got_here=%d nerrors=%d\n", in main()
173 result, got_here, nerrors); in main()
/third_party/json/include/nlohmann/detail/iterators/
H A Dprimitive_iterator.hpp82 auto result = *this; variable
83 result += n;
84 return result;
100 auto result = *this; variable
102 return result;
113 auto result = *this; variable
115 return result;
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/
H A Daes_gcm_vectors.js12 // result - the expected result (usually just ciphertext, sometimes with added authentication)
33 var result = new Uint8Array(ciphertext[keyLength].byteLength + byteCount);
34 result.set(ciphertext[keyLength], 0);
35 result.set(tag[keyLength].slice(0, byteCount), ciphertext[keyLength].byteLength);
42 result: result
54 result: noadresult
70 result: ciphertext[keyLength]
/third_party/node/benchmark/napi/ref/
H A Daddon.c16 napi_value result; in GetCount() local
20 NAPI_CALL(env, napi_create_uint32(env, *count, &result)); in GetCount()
22 return result; in GetCount()
45 napi_value result; in NewWeak() local
48 NAPI_CALL(env, napi_create_object(env, &result)); in NewWeak()
51 result, in NewWeak()
57 return result; in NewWeak()
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_renderer_util.c14 VkResult result = in vn_renderer_submit_simple_sync() local
16 if (result != VK_SUCCESS) in vn_renderer_submit_simple_sync()
17 return result; in vn_renderer_submit_simple_sync()
38 result = vn_renderer_submit(renderer, &submit); in vn_renderer_submit_simple_sync()
39 if (result == VK_SUCCESS) in vn_renderer_submit_simple_sync()
40 result = vn_renderer_wait(renderer, &wait); in vn_renderer_submit_simple_sync()
44 return result; in vn_renderer_submit_simple_sync()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/
H A Dtirpc_svc_4.c90 static int result = 0; in simplePing() local
91 result = *in; in simplePing()
92 return (char *)&result; in simplePing()
105 char *result; in exm_proc() local
126 result = (char *)(*proc) ((char *)&argument); in exm_proc()
128 if ((result != NULL) in exm_proc()
129 && (svc_sendreply(transp, xdr_result, result) == FALSE)) { in exm_proc()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/
H A Drpc_svc_freeargs_svc.c55 //0 : launch by shell script as test case, only one printf -> result status in main()
89 static int result; in simplePing() local
90 result = inVar; in simplePing()
91 return (char *)&result; in simplePing()
99 char *result; in rcp_service() local
122 result = (char *)(*proc) (argument, transp); in rcp_service()
124 if ((result != NULL) in rcp_service()
125 && (svc_sendreply(transp, xdr_result, result) == FALSE)) { in rcp_service()
136 //This last printf gives the result status to the tests suite in rcp_service()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/
H A Drpc_svc_getargs.c55 //0 : launch by shell script as test case, only one printf -> result status in main()
89 static int result; in simplePing() local
90 result = inVar; in simplePing()
91 return (char *)&result; in simplePing()
99 char *result; in rcp_service() local
125 result = (char *)(*proc) (argument, transp); in rcp_service()
127 if ((result != NULL) in rcp_service()
128 && (svc_sendreply(transp, xdr_result, result) == FALSE)) { in rcp_service()
134 //This last printf gives the result status to the tests suite in rcp_service()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/
H A Drpc_svc_2.c103 static double result = 0; in calcProc() local
104 result = dt->a + (dt->b * dt->c); in calcProc()
106 return (char *)&result; in calcProc()
116 char *result; in rcp_service() local
145 result = (char *)(*proc) ((struct datas *)&argument, transp); in rcp_service()
147 if ((result != NULL) in rcp_service()
148 && (svc_sendreply(transp, xdr_result, result) == FALSE)) { in rcp_service()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/
H A Dtirpc_svc_11.c89 static int result = 0; in simplePing() local
90 result = *in; in simplePing()
91 return (char *)&result; in simplePing()
104 char *result; in exm_proc() local
143 result = (char *)(*proc) ((char *)&argument); in exm_proc()
145 if ((result != NULL) in exm_proc()
146 && (svc_sendreply(transp, xdr_result, (char *)result) == FALSE)) { in exm_proc()
/third_party/node/deps/v8/src/utils/
H A Dutils-inl.h20 explicit TimedScope(double* result) in TimedScope() argument
21 : start_(TimestampMs()), result_(result) {} in TimedScope()
70 index_t result = d; in StringToIndex() local
74 if (sizeof(result) == 8) { in StringToIndex()
76 if (!TryAddIntegerIndexChar(reinterpret_cast<uint64_t*>(&result), in StringToIndex()
82 if (!TryAddArrayIndexChar(reinterpret_cast<uint32_t*>(&result), in StringToIndex()
88 *index = result; in StringToIndex()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DTrim11.cpp30 bool result = true; in Trim11() local
31 result = registerForRendererTrimRequest(); in Trim11()
32 ASSERT(result); in Trim11()
62 HRESULT result = GetActivationFactory( in registerForRendererTrimRequest() local
65 if (SUCCEEDED(result)) in registerForRendererTrimRequest()
72 result = in registerForRendererTrimRequest()
77 if (FAILED(result)) in registerForRendererTrimRequest()
/third_party/skia/src/core/
H A DSkYUVPlanesCache.cpp61 YUVValue* result = static_cast<YUVValue*>(contextData); in Visitor() local
69 result->fData = tmpData; in Visitor()
70 result->fPixmaps = rec.fValue.fPixmaps; in Visitor()
79 YUVValue result; in FindAndRef() local
81 if (!CHECK_LOCAL(localCache, find, Find, key, YUVPlanesRec::Visitor, &result)) { in FindAndRef()
85 *pixmaps = result.fPixmaps; in FindAndRef()
86 return result.fData; in FindAndRef()
/third_party/openssl/demos/pkey/
H A DEVP_PKEY_EC_keygen.c87 int result = 0; in get_key_values() local
125 result = 1; in get_key_values()
129 return result; in get_key_values()
134 int result = 0; in main() local
148 result = 1; in main()
150 if (result != 1) in main()
154 return result == 0; in main()
/third_party/openssl/demos/digest/
H A DEVP_MD_stdin.c37 int result = 0; in demonstrate_digest() local
106 result = 1; in demonstrate_digest()
113 if (result != 1) in demonstrate_digest()
121 return result; in demonstrate_digest()
126 int result = 1; in main() local
130 result = demonstrate_digest(input); in main()
133 return result; in main()
/third_party/skia/tests/
H A DSkGaussFilterTest.cpp35 double result[SkGaussFilter::kGaussArrayMax]; in DEF_TEST()
38 result[n++] = d; in DEF_TEST()
41 double sum = careful_add(n, result); in DEF_TEST()
44 REPORTER_ASSERT(r, std::abs(golden[i] - result[i]) < kEpsilon); in DEF_TEST()
68 double result[SkGaussFilter::kGaussArrayMax]; in DEF_TEST()
71 result[n++] = d; in DEF_TEST()
74 double sum = careful_add(n, result); in DEF_TEST()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DAsyncTaskTests.cpp36 void AddResult(std::unique_ptr<SimpleTaskResult> result) { in AddResult() argument
38 mTaskResults.push_back(std::move(result)); in AddResult()
56 std::unique_ptr<SimpleTaskResult> result = std::make_unique<SimpleTaskResult>(); in DoTask() local
57 result->id = id; in DoTask()
58 resultQueue->AddResult(std::move(result)); in DoTask()
85 for (std::unique_ptr<SimpleTaskResult>& result : results) { in TEST_F()
86 idset.erase(result->id); in TEST_F()

Completed in 8 milliseconds

1...<<61626364656667686970>>...452