Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 8450) sorted by relevance

12345678910>>...338

/third_party/skia/third_party/externals/angle2/util/
Dgeometry_utils.cpp25 void CreateSphereGeometry(size_t sliceCount, float radius, SphereGeometry *result) in CreateSphereGeometry() argument
32 result->positions.resize(vertexCount); in CreateSphereGeometry()
33 result->normals.resize(vertexCount); in CreateSphereGeometry()
42 result->positions[vertexIdx] = direction * radius; in CreateSphereGeometry()
43 result->normals[vertexIdx] = direction; in CreateSphereGeometry()
47 result->indices.clear(); in CreateSphereGeometry()
48 result->indices.reserve(indexCount); in CreateSphereGeometry()
53 result->indices.push_back(static_cast<unsigned short>(i * (sliceCount + 1) + j)); in CreateSphereGeometry()
54 result->indices.push_back(static_cast<unsigned short>((i + 1) * (sliceCount + 1) + j)); in CreateSphereGeometry()
55 result->indices.push_back( in CreateSphereGeometry()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/
Dgeometry_utils.cpp25 void CreateSphereGeometry(size_t sliceCount, float radius, SphereGeometry *result) in CreateSphereGeometry() argument
32 result->positions.resize(vertexCount); in CreateSphereGeometry()
33 result->normals.resize(vertexCount); in CreateSphereGeometry()
42 result->positions[vertexIdx] = direction * radius; in CreateSphereGeometry()
43 result->normals[vertexIdx] = direction; in CreateSphereGeometry()
47 result->indices.clear(); in CreateSphereGeometry()
48 result->indices.reserve(indexCount); in CreateSphereGeometry()
53 result->indices.push_back(static_cast<unsigned short>(i * (sliceCount + 1) + j)); in CreateSphereGeometry()
54 result->indices.push_back(static_cast<unsigned short>((i + 1) * (sliceCount + 1) + j)); in CreateSphereGeometry()
55 result->indices.push_back( in CreateSphereGeometry()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLUtil.h217 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Default() local
218 result->fVersionDeclString = "#version 400"; in Default()
219 result->fShaderDerivativeSupport = true; in Default()
220 return result; in Default()
224 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version450Core() local
225 result->fVersionDeclString = "#version 450 core"; in Version450Core()
226 return result; in Version450Core()
230 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version110() local
231 result->fVersionDeclString = "#version 110"; in Version110()
232 result->fGLSLGeneration = GrGLSLGeneration::k110_GrGLSLGeneration; in Version110()
[all …]
DSkSLASTNode.cpp22 String result = "{\n"; in description() local
24 result += c.description(); in description()
25 result += "\n"; in description()
27 result += "}"; in description()
28 return result; in description()
36 String result = iter->description(); in description() local
37 result += "("; in description()
40 result += separator; in description()
41 result += (iter++)->description(); in description()
44 result += ")"; in description()
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/
D1-1.c27 int result; in main() local
35 result = strftime(text, sizeof(text), "%a", local_t); in main()
36 printf("a Bytes %i %s ", result, text); in main()
37 if (result != 3) { in main()
44 result = strftime(text, sizeof(text), "%A", local_t); in main()
45 printf("A Bytes %i %s ", result, text); in main()
46 if (result <= 5) { in main()
53 result = strftime(text, sizeof(text), "%b", local_t); in main()
54 printf("b Bytes %i %s ", result, text); in main()
55 if (result != 3) { in main()
[all …]
/third_party/elfutils/libdw/
Ddwarf_begin_elf.c74 scn_dwarf_type (Dwarf *result, size_t shstrndx, Elf_Scn *scn) in scn_dwarf_type() argument
81 const char *scnname = elf_strptr (result->elf, shstrndx, in scn_dwarf_type()
99 check_section (Dwarf *result, size_t shstrndx, Elf_Scn *scn, bool inscngrp) in check_section() argument
115 return result; in check_section()
124 return result; in check_section()
129 const char *scnname = elf_strptr (result->elf, shstrndx, in check_section()
136 Dwarf_Sig8_Hash_free (&result->sig8_hash); in check_section()
138 free (result); in check_section()
160 if (result->type == TYPE_PLAIN) in check_section()
163 else if (result->type == TYPE_DWO) in check_section()
[all …]
/third_party/cmsis/CMSIS/Core/Include/
Dcmsis_gcc.h297 uint32_t result; in __REV()
299 __ASM ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REV()
300 return result; in __REV()
313 uint32_t result; in __REV16() local
315 __ASM ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REV16()
316 return result; in __REV16()
331 int16_t result; in __REVSH()
333 __ASM ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REVSH()
334 return result; in __REVSH()
375 uint32_t result; in __RBIT() local
[all …]
Dcmsis_armclang_ltm.h421 uint32_t result; in __RRX() local
423 __ASM volatile ("rrx %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __RRX()
424 return(result); in __RRX()
436 uint32_t result; in __LDRBT() local
438 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
439 return ((uint8_t) result); /* Add explicit type cast here */ in __LDRBT()
451 uint32_t result; in __LDRHT() local
453 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
454 return ((uint16_t) result); /* Add explicit type cast here */ in __LDRHT()
466 uint32_t result; in __LDRT() local
[all …]
/third_party/skia/src/sksl/
DSkSLUtil.h295 ShaderCapsPointer result = MakeShaderCaps(); in Default() local
296 result->fVersionDeclString = "#version 400"; in Default()
297 result->fShaderDerivativeSupport = true; in Default()
298 result->fBuiltinDeterminantSupport = true; in Default()
299 result->fCanUseDoLoops = true; in Default()
300 return result; in Default()
308 ShaderCapsPointer result = MakeShaderCaps(); in AddAndTrueToLoopCondition() local
309 result->fVersionDeclString = "#version 400"; in AddAndTrueToLoopCondition()
310 result->fAddAndTrueToLoopCondition = true; in AddAndTrueToLoopCondition()
311 return result; in AddAndTrueToLoopCondition()
[all …]
/third_party/openssl/crypto/bn/
Drsaz_exp.c64 unsigned char *a_inv, *m, *result;
72 result = p_str;
77 result = p_str + 320;
89 rsaz_1024_mul_avx2(result, R2, one, m, k0);
93 rsaz_1024_scatter5_avx2(table_s, result, 0);
97 rsaz_1024_sqr_avx2(result, a_inv, m, k0, 1);
98 rsaz_1024_scatter5_avx2(table_s, result, 2);
102 rsaz_1024_mul_avx2(result, result, a_inv, m, k0);
103 rsaz_1024_scatter5_avx2(table_s, result, index);
107 rsaz_1024_sqr_avx2(result, result, m, k0, 1);
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/signal/
Dsigset.c35 int result = sigaction(sig, &act, &old_act); in prepare() local
36 if (result != 0) { in prepare()
37 return result; in prepare()
44 result = raise(sig); in prepare()
45 if (result != 0) { in prepare()
46 return result; in prepare()
53 result = sigemptyset(set); in prepare()
54 if (result != 0) { in prepare()
55 return result; in prepare()
58 result = sigaddset(set, sig); in prepare()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_cat_test.cc108 std::string result; in TEST() local
131 result = absl::StrCat(false, true, 2, 3); in TEST()
132 EXPECT_EQ(result, "0123"); in TEST()
134 result = absl::StrCat(-1); in TEST()
135 EXPECT_EQ(result, "-1"); in TEST()
137 result = absl::StrCat(absl::SixDigits(0.5)); in TEST()
138 EXPECT_EQ(result, "0.5"); in TEST()
140 result = absl::StrCat(strs[1], pieces[2]); in TEST()
141 EXPECT_EQ(result, "CruelWorld"); in TEST()
143 result = absl::StrCat(stdstrs[1], " ", stdstrs[2]); in TEST()
[all …]
/third_party/flutter/engine/flutter/third_party/txt/tests/
DHyphenatorTest.cpp58 std::vector<HyphenationType> result; in TEST_F() local
59 hyphenator->hyphenate(&result, word, NELEM(word), usLocale); in TEST_F()
60 EXPECT_EQ((size_t)5, result.size()); in TEST_F()
61 EXPECT_EQ(HyphenationType::DONT_BREAK, result[0]); in TEST_F()
62 EXPECT_EQ(HyphenationType::DONT_BREAK, result[1]); in TEST_F()
63 EXPECT_EQ(HyphenationType::BREAK_AND_INSERT_HYPHEN, result[2]); in TEST_F()
64 EXPECT_EQ(HyphenationType::DONT_BREAK, result[3]); in TEST_F()
65 EXPECT_EQ(HyphenationType::DONT_BREAK, result[4]); in TEST_F()
72 std::vector<HyphenationType> result; in TEST_F() local
73 hyphenator->hyphenate(&result, word, NELEM(word), catalanLocale); in TEST_F()
[all …]
/third_party/selinux/libselinux/src/
Dselinuxswig_python_exception.i4 if (result < 0) {
12 if (result < 0) {
20 if (result < 0) {
28 if (result < 0) {
36 if (result < 0) {
44 if (result < 0) {
52 if (result < 0) {
60 if (result < 0) {
68 if (result < 0) {
76 if (result < 0) {
[all …]
/third_party/python/Modules/_decimal/libmpdec/
Dmpalloc.c156 mpd_t *result; in mpd_qnew_size() local
160 result = mpd_alloc(1, sizeof *result); in mpd_qnew_size()
161 if (result == NULL) { in mpd_qnew_size()
165 result->data = mpd_alloc(nwords, sizeof *result->data); in mpd_qnew_size()
166 if (result->data == NULL) { in mpd_qnew_size()
167 mpd_free(result); in mpd_qnew_size()
171 result->flags = 0; in mpd_qnew_size()
172 result->exp = 0; in mpd_qnew_size()
173 result->digits = 0; in mpd_qnew_size()
174 result->len = 0; in mpd_qnew_size()
[all …]
/third_party/typescript/src/testRunner/unittests/evaluation/
DoptionalCall.ts3 const result = evaluator.evaluateTypeScript(` constant
11 assert.strictEqual(result.output[0], 1);
12 assert.isUndefined(result.output[1]);
15 const result = evaluator.evaluateTypeScript(` constant
25 assert.strictEqual(result.output[0], 1);
26 assert.strictEqual(result.output[1], result.o);
29 const result = evaluator.evaluateTypeScript(` constant
41 assert.strictEqual(result.output[0], 1);
42 assert.strictEqual(result.output[1], result.o.x);
45 const result = evaluator.evaluateTypeScript(` constant
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/ctype/
Dwcwidth.c33 int result = wcwidth(0); in wcwidth_0100() local
34 if (result != 0) { in wcwidth_0100()
35 t_error("%s wcwidth get result is %d are not want 0\n", __func__, result); in wcwidth_0100()
46 int result = wcwidth(INPUT_VALUE[0]); in wcwidth_0200() local
47 if (result != 0) { in wcwidth_0200()
48 t_error("%s wcwidth get result is %d are not want 0\n", __func__, result); in wcwidth_0200()
59 int result = wcwidth(INPUT_VALUE[1]); in wcwidth_0300() local
60 if (result != 0) { in wcwidth_0300()
61 t_error("%s wcwidth get result is %d are not want 0\n", __func__, result); in wcwidth_0300()
72 int result = wcwidth(INPUT_VALUE[2]); in wcwidth_0400() local
[all …]
/third_party/optimized-routines/math/test/testcases/directed/
Dpow.tst6 func=pow op1=00000000.00000000 op2=00000000.00000000 result=3ff00000.00000000 errno=0
7 func=pow op1=00000000.00000000 op2=00000000.00000001 result=00000000.00000000 errno=0
8 func=pow op1=00000000.00000000 op2=00100000.00000000 result=00000000.00000000 errno=0
9 func=pow op1=00000000.00000000 op2=1fffffff.ffffffff result=00000000.00000000 errno=0
10 func=pow op1=00000000.00000000 op2=3bdfffff.ffffffff result=00000000.00000000 errno=0
11 func=pow op1=00000000.00000000 op2=3be00000.00000000 result=00000000.00000000 errno=0
12 func=pow op1=00000000.00000000 op2=3fe00000.00000000 result=00000000.00000000 errno=0
13 func=pow op1=00000000.00000000 op2=3ff00000.00000000 result=00000000.00000000 errno=0
14 func=pow op1=00000000.00000000 op2=40000000.00000000 result=00000000.00000000 errno=0
15 func=pow op1=00000000.00000000 op2=40080000.00000000 result=00000000.00000000 errno=0
[all …]
Dpowf.tst6 func=powf op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i
7 func=powf op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i
8 func=powf op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i
9 func=powf op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i
10 func=powf op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i
11 func=powf op1=7f800001 op2=40800000 result=7fc00001 errno=0 status=i
12 func=powf op1=7f800001 op2=40400000 result=7fc00001 errno=0 status=i
13 func=powf op1=7f800001 op2=3f000000 result=7fc00001 errno=0 status=i
14 func=powf op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i
15 func=powf op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_arith_ll.ll5 %result = add i32 %a, %b
7 ret i32 %result
13 %result.trunc = add i8 %a.trunc, %b.trunc
14 %result = zext i8 %result.trunc to i32
15 ret i32 %result
21 %result.trunc = add i16 %a.trunc, %b.trunc
22 %result = zext i16 %result.trunc to i32
23 ret i32 %result
29 %result = add i32 %a, %b
31 ret i32 %result
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DResultTests.cpp23 void TestError(Result<T, E>* result, E expectedError) { in TestError() argument
24 EXPECT_TRUE(result->IsError()); in TestError()
25 EXPECT_FALSE(result->IsSuccess()); in TestError()
27 std::unique_ptr<E> storedError = result->AcquireError(); in TestError()
32 void TestSuccess(Result<T, E>* result, T expectedSuccess) { in TestSuccess() argument
33 EXPECT_FALSE(result->IsError()); in TestSuccess()
34 EXPECT_TRUE(result->IsSuccess()); in TestSuccess()
36 const T storedSuccess = result->AcquireSuccess(); in TestSuccess()
41 EXPECT_FALSE(result->IsError()); in TestSuccess()
42 EXPECT_FALSE(result->IsSuccess()); in TestSuccess()
[all …]
/third_party/skia/third_party/externals/tint/src/inspector/
Dinspector_test.cc159 auto result = inspector.GetEntryPoints(); in TEST_F() local
162 EXPECT_EQ(0u, result.size()); in TEST_F()
168 auto result = inspector.GetEntryPoints(); in TEST_F() local
171 EXPECT_EQ(0u, result.size()); in TEST_F()
183 auto result = inspector.GetEntryPoints(); in TEST_F() local
186 ASSERT_EQ(1u, result.size()); in TEST_F()
187 EXPECT_EQ("foo", result[0].name); in TEST_F()
188 EXPECT_EQ("foo", result[0].remapped_name); in TEST_F()
189 EXPECT_EQ(ast::PipelineStage::kFragment, result[0].stage); in TEST_F()
205 auto result = inspector.GetEntryPoints(); in TEST_F() local
[all …]
/third_party/python/Lib/unittest/test/
Dtest_skipping.py15 result = LoggingResult(events)
17 self.assertIs(test.run(result), result)
19 self.assertEqual(result.skipped, [(test, "skip")])
22 result = test.run()
25 self.assertEqual(result.skipped, [(test, "skip")])
26 self.assertEqual(result.testsRun, 1)
36 result = LoggingResult(events)
38 self.assertIs(test.run(result), result)
40 self.assertEqual(result.skipped, [(test, "testing")])
41 self.assertEqual(result.testsRun, 1)
[all …]
/third_party/skia/third_party/externals/tint/src/
Dintrinsic_table_test.cc44 auto* result = table->Lookup(IntrinsicType::kCos, {f32}, Source{}); in TEST_F() local
45 ASSERT_NE(result, nullptr) << Diagnostics().str(); in TEST_F()
47 EXPECT_EQ(result->Type(), IntrinsicType::kCos); in TEST_F()
48 EXPECT_EQ(result->ReturnType(), f32); in TEST_F()
49 ASSERT_EQ(result->Parameters().size(), 1u); in TEST_F()
50 EXPECT_EQ(result->Parameters()[0]->Type(), f32); in TEST_F()
55 auto* result = table->Lookup(IntrinsicType::kCos, {i32}, Source{}); in TEST_F() local
56 ASSERT_EQ(result, nullptr); in TEST_F()
64 auto* result = in TEST_F() local
66 ASSERT_NE(result, nullptr) << Diagnostics().str(); in TEST_F()
[all …]
/third_party/elfutils/libasm/
Dasm_begin.c46 prepare_text_output (AsmCtx_t *result) in prepare_text_output() argument
48 if (result->fd == -1) in prepare_text_output()
49 result->out.file = stdout; in prepare_text_output()
52 result->out.file = fdopen (result->fd, "a"); in prepare_text_output()
53 if (result->out.file == NULL) in prepare_text_output()
55 close (result->fd); in prepare_text_output()
56 free (result); in prepare_text_output()
57 result = NULL; in prepare_text_output()
60 __fsetlocking (result->out.file, FSETLOCKING_BYCALLER); in prepare_text_output()
63 return result; in prepare_text_output()
[all …]

12345678910>>...338