/third_party/skia/third_party/externals/angle2/util/ |
D | geometry_utils.cpp | 25 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/node/deps/v8/tools/unittests/ |
D | run_tests_test.py | 169 result = run_tests( 177 self.assertIn('sweet/bananas default: PASS', result.stdout, result) 181 self.assertEqual(0, result.returncode, result) 186 result = run_tests( 193 self.assertIn('7 tests ran', result.stdout, result) 194 self.assertEqual(0, result.returncode, result) 199 result = run_tests( 210 self.assertIn('2 tests ran', result.stdout, result) 212 self.assertIn('sweet/raspberries default', result.stdout, result) 213 self.assertIn('sweet/raspberries stress', result.stdout, result) [all …]
|
/third_party/elfutils/libdw/ |
D | dwarf_begin_elf.c | 74 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/ |
D | 1-1.c | 27 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/skia/src/sksl/ |
D | SkSLUtil.h | 295 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/ |
D | rsaz_exp.c | 64 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/node/deps/openssl/openssl/crypto/bn/ |
D | rsaz_exp.c | 64 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/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | str_cat_test.cc | 108 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/musl/libc-test/src/functionalext/supplement/signal/ |
D | sigset.c | 35 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/selinux/libselinux/src/ |
D | selinuxswig_python_exception.i | 4 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/ |
D | mpalloc.c | 156 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/optimized-routines/math/test/testcases/directed/ |
D | pow.tst | 6 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 …]
|
D | powf.tst | 6 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/typescript/src/testRunner/unittests/evaluation/ |
D | optionalCall.ts | 3 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/skia/third_party/externals/tint/src/inspector/ |
D | inspector_test.cc | 159 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/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
D | test_arith_ll.ll | 5 %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/python/Lib/unittest/test/ |
D | test_skipping.py | 15 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 …]
|
D | test_result.py | 17 result = ['A traceback'] 19 result.append('locals') 20 return result 23 unittest.result.traceback = traceback 38 self.result = '' 45 self.result += self.buffer 49 return self.result 63 result = unittest.TestResult() 65 self.assertTrue(result.wasSuccessful()) 66 self.assertEqual(len(result.errors), 0) [all …]
|
/third_party/node/deps/ada/ |
D | ada_c.h | 52 void ada_free(ada_url result); 56 bool ada_is_valid(ada_url result); 60 ada_owned_string ada_get_origin(ada_url result); 61 ada_string ada_get_href(ada_url result); 62 ada_string ada_get_username(ada_url result); 63 ada_string ada_get_password(ada_url result); 64 ada_string ada_get_port(ada_url result); 65 ada_string ada_get_hash(ada_url result); 66 ada_string ada_get_host(ada_url result); 67 ada_string ada_get_hostname(ada_url result); [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ResultTests.cpp | 23 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/ |
D | intrinsic_table_test.cc | 44 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/musl/libc-test/src/functionalext/supplement/ctype/ |
D | wcwidth.c | 33 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/cmsis/CMSIS/Core/Include/a-profile/ |
D | cmsis_cp15.h | 37 uint32_t result; in __get_ACTLR() local 38 __get_CP(15, 0, result, 1, 0, 1); in __get_ACTLR() 39 return(result); in __get_ACTLR() 55 uint32_t result; in __get_CPACR() local 56 __get_CP(15, 0, result, 1, 0, 2); in __get_CPACR() 57 return result; in __get_CPACR() 73 uint32_t result; in __get_DFSR() local 74 __get_CP(15, 0, result, 5, 0, 0); in __get_DFSR() 75 return result; in __get_DFSR() 91 uint32_t result; in __get_IFSR() local [all …]
|
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/ |
D | utils_test.js | 82 var result = 84 assertEquals('10000000000000000001', result); 86 result = jspb.utils.joinUnsignedDecimalString(0xacd05f15, 0x1b69b4b); 87 assertEquals('123456789123456789', result); 89 result = jspb.utils.joinUnsignedDecimalString(0xeb1f0ad2, 0xab54a98c); 90 assertEquals('12345678901234567890', result); 92 result = jspb.utils.joinUnsignedDecimalString(0xe3b70cb1, 0x891087b8); 93 assertEquals('9876543210987654321', result); 96 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00000000); 97 assertEquals('0', result); [all …]
|
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/ |
D | utils_test.js | 82 var result = 84 assertEquals('10000000000000000001', result); 86 result = jspb.utils.joinUnsignedDecimalString(0xacd05f15, 0x1b69b4b); 87 assertEquals('123456789123456789', result); 89 result = jspb.utils.joinUnsignedDecimalString(0xeb1f0ad2, 0xab54a98c); 90 assertEquals('12345678901234567890', result); 92 result = jspb.utils.joinUnsignedDecimalString(0xe3b70cb1, 0x891087b8); 93 assertEquals('9876543210987654321', result); 96 result = jspb.utils.joinUnsignedDecimalString(0x00000000, 0x00000000); 97 assertEquals('0', result); [all …]
|