Home
last modified time | relevance | path

Searched refs:result (Results 5176 - 5200 of 17801) sorted by relevance

1...<<201202203204205206207208209210>>...713

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
H A D9-1.c37 int fd, result; in main() local
69 result = shm_unlink(SHM_NAME); in main()
70 if (result == -1 && errno == EACCES) { in main()
76 } else if (result == -1) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/speculative/
H A D12-1.c77 int result; in main() local
94 result = mlock(ptr, BUFSIZE); in main()
96 if (result == -1 && errno == EPERM) { in main()
99 } else if (result == 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/
H A D12-1.c76 int result; in main() local
93 result = mlock(ptr, BUFSIZE); in main()
95 if (result == -1 && errno == EPERM) { in main()
98 } else if (result == 0) { in main()
/third_party/node/deps/v8/src/base/
H A Dsafe_conversions_arm_impl.h38 uint32_t>::type result; in Do() local
41 : [dst] "=r"(result) in Do()
47 : [dst] "=r"(result) in Do()
52 return static_cast<Dst>(result); in Do()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_query_acc_occlusion.c97 union pipe_query_result *result) in occlusion_result()
106 result->u64 = sum; in occlusion_result()
108 result->b = !!sum; in occlusion_result()
118 .result = occlusion_result,
96 occlusion_result(struct etna_acc_query *aq, void *buf, union pipe_query_result *result) occlusion_result() argument
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dadjtimex.c47 int result = adjtimex(&tx); in adjtimex_0100() local
48 EXPECT_NE("adjtimex_0100", result, NUM_NEG); in adjtimex_0100()
75 int result = __adjtimex_time64(&tx); in adjtimex_time64_0100() local
76 EXPECT_NE("adjtimex_time64_0100", result, NUM_NEG); in adjtimex_time64_0100()
/third_party/musl/Benchmark/musl/
H A Dlibc_pwd.cpp37 struct passwd *result; in Bm_function_Getpwnam_r() local
45 benchmark::DoNotOptimize(getpwnam_r("root", &pwd, buf, bufSize, &result)); in Bm_function_Getpwnam_r()
54 struct passwd *result; in Bm_function_Getpwuid_r() local
62 benchmark::DoNotOptimize(getpwuid_r(0, &pwd, buf, bufSize, &result)); in Bm_function_Getpwuid_r()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dwcsftime_l.c37 size_t result = wcsftime_l(buffer, 80, L"%I:%M%p", timeinfo, newlocale_); in wcsftime_l_0100() local
38 if (!result) { in wcsftime_l_0100()
64 size_t result = wcsftime_l(buff, sizeof buff, L"%A %c", &mtime, newlocale_); in wcsftime_l_0200() local
65 if (!result) { in wcsftime_l_0200()
69 t_error("%s wrong format result is %ls\n", __func__, buff); in wcsftime_l_0200()
/third_party/musl/libc-test/src/functionalext/time/
H A Ddifftime.c44 abs(test_difftime_data[i].result - returnVal) >= 0 && abs(test_difftime_data[i].result - returnVal) < 1); in difftime_0100()
70 abs(test_difftime_data[i].result - returnVal) >= 0 && abs(test_difftime_data[i].result - returnVal) < 1); in difftime64_0100()
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
H A DBitBuffer.java121 BitBuffer result = (BitBuffer)super.clone(); in clone()
122 result.data = (BitSet)result.data.clone(); in clone()
123 return result; in clone()
/third_party/python/Lib/test/test_asyncio/
H A Dtest_threads.py16 result = await asyncio.to_thread(sum, [40, 2])
17 self.assertEqual(result, 42)
58 result = await asyncio.to_thread(get_ctx)
60 self.assertEqual(result, 'parrot')
/third_party/python/Doc/includes/
H A Dmp_workers.py12 result = calculate(func, args)
13 output.put(result)
16 # Function used to calculate result
20 result = func(*args)
22 (current_process().name, func.__name__, args, result)
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkStrUtil.cpp72 std::string result; in operator <<()
73 result.resize(len + 1); in operator <<()
74 WideCharToMultiByte(CP_UTF8, 0, wstr.wstr, -1, &result[0], len, 0, 0); in operator <<()
76 return str << '"' << result << '"'; in operator <<()
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
H A Dsafe_conversions_arm_impl.h35 typename std::conditional<std::is_signed<Dst>::value, int32_t, uint32_t>::type result; in Do() local
39 : [dst] "=r"(result) in Do()
47 : [dst] "=r"(result) in Do()
52 return static_cast<Dst>(result); in Do()
/third_party/vk-gl-cts/android/package/src/com/drawelements/deqp/platformutil/
H A DDeqpPlatformCapabilityQueryInstrumentation.java89 final int result = nativeRenderConfigSupportedQuery(m_cmdLine); in doRenderConfigSupportedQuery()
91 if (result == CONFIGQUERYRESULT_SUPPORTED) in doRenderConfigSupportedQuery()
97 else if (result == CONFIGQUERYRESULT_NOT_SUPPORTED) in doRenderConfigSupportedQuery()
103 else if (result == CONFIGQUERYRESULT_GENERIC_ERROR) in doRenderConfigSupportedQuery()
106 throw new RuntimeException("platform query returned out-of-range result"); in doRenderConfigSupportedQuery()
/third_party/vk-gl-cts/execserver/
H A DxsPosixFileReader.cpp73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run() local
75 if (result == DE_FILERESULT_SUCCESS) in run()
89 else if (result == DE_FILERESULT_END_OF_FILE || in run()
90 result == DE_FILERESULT_WOULD_BLOCK) in run()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dshader_compiler.h23 #include "amber/result.h"
42 /// Returns a result code and a compilation of the given shader.
44 /// |shader_map|, then the compilation result is copied from that entry.
45 /// Otherwise a compiler is invoked to produce the compilation result.
61 Result ParseHex(const std::string& data, std::vector<uint32_t>* result) const;
62 Result CompileGlsl(const Shader* shader, std::vector<uint32_t>* result) const;
63 Result CompileHlsl(const Shader* shader, std::vector<uint32_t>* result) const;
68 std::vector<uint32_t>* result) const;
/third_party/skia/src/effects/
H A DSkBlenders.cpp54 auto result = SkRuntimeEffect::MakeForBlender(SkString(prog)); in Arithmetic()
55 SkASSERTF(result.effect, "SkBlenders::Arithmetic: %s", result.errorText.c_str()); in Arithmetic()
56 return result.effect.release(); in Arithmetic()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/conversion/eot/
H A DMagnitudeDependentWriterTest.java51 byte[] result = writer.toByteArray(); in testMagnitudeDependent()
54 assertEqualsByteArray(expected, result); in testMagnitudeDependent()
64 byte[] result = writer.toByteArray(); in testMagnitudeDependentValues()
66 assertEqualsByteArray(expected, result); in testMagnitudeDependentValues()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Ddata_descriptor.cpp24 protobufs::DataDescriptor result; in MakeDataDescriptor() local
25 result.set_object(object); in MakeDataDescriptor()
27 result.add_index(index); in MakeDataDescriptor()
29 return result; in MakeDataDescriptor()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Ddata_descriptor.cpp24 protobufs::DataDescriptor result; in MakeDataDescriptor() local
25 result.set_object(object); in MakeDataDescriptor()
27 result.add_index(index); in MakeDataDescriptor()
29 return result; in MakeDataDescriptor()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dremtrans.cpp52 RemoveTransliterator* result = new RemoveTransliterator(); in clone() local
53 if (result != NULL && getFilter() != 0) { in clone()
54 result->adoptFilter(getFilter()->clone()); in clone()
56 return result; in clone()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dasctime.c84 char result[MAX_ASCTIME_BUF_SIZE]; in asctime_r() local
106 (void) sprintf(result, in asctime_r()
112 if (strlen(result) < STD_ASCTIME_BUF_SIZE || buf == buf_asctime) in asctime_r()
113 return strcpy(buf, result); in asctime_r()
/third_party/skia/third_party/externals/oboe/include/oboe/
H A DResultWithValue.h27 * A ResultWithValue can store both the result of an operation (either OK or an error) and a value.
32 * For example, when reading from a stream the caller needs to know the result of the read operation
34 * as a boolean so it's simple to check whether the result is OK.
51 * Construct a ResultWithValue containing an error result.
60 * Construct a ResultWithValue containing an OK result and a value.
69 * Get the result.
71 * @return the result
95 * if (!result) { printf("Got error %s\n", convertToText(result.error())); }
106 * ResultWithValue result
143 operator <<(std::ostream &strm, const ResultWithValue<T> &result) operator <<() argument
[all...]
/third_party/skia/tests/
H A DEncodedInfoTest.cpp25 auto result = codec->getPixels(codec->getInfo(), bm.getPixels(), bm.rowBytes()); in DEF_TEST() local
26 REPORTER_ASSERT(r, result == SkCodec::kSuccess); in DEF_TEST()
38 result = codec->getPixels(bm2.pixmap()); in DEF_TEST()
39 REPORTER_ASSERT(r, result == SkCodec::kSuccess); in DEF_TEST()

Completed in 12 milliseconds

1...<<201202203204205206207208209210>>...713