| /third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
| D | ResultTests.cpp | 18 #include "common/Result.h" 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() 39 // Once the success is acquired, result has an empty in TestSuccess() [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/optimized-routines/math/test/testcases/directed/ |
| 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 …]
|
| 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 | logf.tst | 6 func=logf op1=7fc00001 result=7fc00001 errno=0 7 func=logf op1=ffc00001 result=7fc00001 errno=0 8 func=logf op1=7f800001 result=7fc00001 errno=0 status=i 9 func=logf op1=ff800001 result=7fc00001 errno=0 status=i 10 func=logf op1=ff810000 result=7fc00001 errno=0 status=i 11 func=logf op1=7f800000 result=7f800000 errno=0 12 func=logf op1=ff800000 result=7fc00001 errno=EDOM status=i 13 func=logf op1=3f800000 result=00000000 errno=0 14 func=logf op1=00000000 result=ff800000 errno=ERANGE status=z 15 func=logf op1=80000000 result=ff800000 errno=ERANGE status=z [all …]
|
| /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/vk-gl-cts/external/amber/src/src/vkscript/ |
| D | command_parser.h | 23 #include "amber/result.h" 46 Result Parse(); 62 Result ParseBooleanForTesting(const std::string& str, bool* result) { in ParseBooleanForTesting() argument 63 return ParseBoolean(str, result); in ParseBooleanForTesting() 66 Result ParseBlendFactorNameForTesting(const std::string& name, in ParseBlendFactorNameForTesting() 70 Result ParseBlendOpNameForTesting(const std::string& name, BlendOp* op) { in ParseBlendOpNameForTesting() 73 Result ParseCompareOpNameForTesting(const std::string& name, CompareOp* op) { in ParseCompareOpNameForTesting() 76 Result ParseStencilOpNameForTesting(const std::string& name, StencilOp* op) { in ParseStencilOpNameForTesting() 79 Result ParseComparatorForTesting(const std::string& name, in ParseComparatorForTesting() 89 Result TokenToFloat(Token* token, float* val) const; [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/node/deps/v8/tools/unittests/ |
| D | run_tests_test.py | 36 Result = collections.namedtuple( variable 37 'Result', ['stdout', 'stderr', 'returncode']) 39 Result.__str__ = lambda self: ( 107 return Result(stdout.getvalue(), stderr.getvalue(), code) 169 result = run_tests( 177 self.assertIn('sweet/bananas default: PASS', result.stdout, result) 179 # self.assertIn('Total time:', result.stderr, result) 180 # self.assertIn('sweet/bananas', result.stderr, result) 181 self.assertEqual(0, result.returncode, result) 186 result = run_tests( [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/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 …]
|
| D | mpsignal.c | 49 mpd_import_u16(mpd_t *result, const uint16_t *srcdata, size_t srclen, in mpd_import_u16() argument 53 mpd_qimport_u16(result, srcdata, srclen, srcsign, base, ctx, &status); in mpd_import_u16() 58 mpd_import_u32(mpd_t *result, const uint32_t *srcdata, size_t srclen, in mpd_import_u32() argument 62 mpd_qimport_u32(result, srcdata, srclen, srcsign, base, ctx, &status); in mpd_import_u32() 89 mpd_finalize(mpd_t *result, mpd_context_t *ctx) in mpd_finalize() argument 92 mpd_qfinalize(result, ctx, &status); in mpd_finalize() 97 mpd_check_nan(mpd_t *result, const mpd_t *a, mpd_context_t *ctx) in mpd_check_nan() argument 100 if (mpd_qcheck_nan(result, a, ctx, &status)) { in mpd_check_nan() 108 mpd_check_nans(mpd_t *result, const mpd_t *a, const mpd_t *b, mpd_context_t *ctx) in mpd_check_nans() argument 111 if (mpd_qcheck_nans(result, a, b, ctx, &status)) { in mpd_check_nans() [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 …]
|
| /third_party/node/deps/ada/ |
| D | ada_c.h | 52 void ada_free(ada_url result); 56 bool ada_is_valid(ada_url result); 59 // if ada_is_valid(result)) is false, an empty string is returned 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); [all …]
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/ |
| D | Args.java | 26 Map<String, Object> result = new HashMap<>(); in of() local 27 result.put(argName0, argValue0); in of() 28 return Collections.unmodifiableMap(result); in of() 34 Map<String, Object> result = new HashMap<>(); in of() local 35 result.put(argName0, argValue0); in of() 36 result.put(argName1, argValue1); in of() 37 return Collections.unmodifiableMap(result); in of() 44 Map<String, Object> result = new HashMap<>(); in of() local 45 result.put(argName0, argValue0); in of() 46 result.put(argName1, argValue1); in of() [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/skia/third_party/externals/dawn/src/common/ |
| D | Result.h | 27 // Result<T, E> is the following sum type (Haskell notation): 29 // data Result T E = Success T | Error E | Empty 32 // case is that a Result should never be discarded, only destructured (its error or success moved 33 // out) or moved into a different Result. The Empty case tags Results that have been moved out and 34 // Result's destructor should ASSERT on it being Empty. 40 class Result; variable 42 // The interface of Result<T, E> should look like the following. 44 // Result(T&& success); 45 // Result(std::unique_ptr<E> error); 47 // Result(Result<T, E>&& other); [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/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/third_party/externals/oboe/src/opensles/ |
| D | AudioOutputStreamOpenSLES.cpp | 112 Result AudioOutputStreamOpenSLES::open() { in open() 120 return Result::ErrorInvalidFormat; in open() 131 Result oboeResult = AudioStreamOpenSLES::open(); in open() 132 if (Result::OK != oboeResult) return oboeResult; in open() 134 SLresult result = OutputMixerOpenSL::getInstance().open(); in open() local 135 if (SL_RESULT_SUCCESS != result) { in open() 137 return Result::ErrorInternal; in open() 174 result = OutputMixerOpenSL::getInstance().createAudioPlayer(&mObjectInterface, in open() 176 if (SL_RESULT_SUCCESS != result) { in open() 177 LOGE("createAudioPlayer() result:%s", getSLErrStr(result)); in open() [all …]
|
| /third_party/vk-gl-cts/external/amber/src/src/amberscript/ |
| D | parser.h | 23 #include "amber/result.h" 42 Result Parse(const std::string& data) override; 46 Result ToShaderType(const std::string& str, ShaderType* type); 47 Result ToBufferType(const std::string& str, BufferType* type); 48 Result ToShaderFormat(const std::string& str, ShaderFormat* fmt); 49 Result ToPipelineType(const std::string& str, PipelineType* type); 50 Result ValidateEndOfStatement(const std::string& name); 52 Result ParseStruct(); 53 Result ParseBuffer(); 54 Result ParseImage(); [all …]
|
| /third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
| D | matrix_major_storage.inl | 13 tmat2x2<T, P> Result; local 14 Result[0][0] = v1.x; 15 Result[1][0] = v1.y; 16 Result[0][1] = v2.x; 17 Result[1][1] = v2.y; 18 return Result; 25 tmat2x2<T, P> Result; local 26 Result[0][0] = m[0][0]; 27 Result[0][1] = m[1][0]; 28 Result[1][0] = m[0][1]; [all …]
|
| /third_party/vk-gl-cts/data/gles3/shaders/ |
| D | qualification_order.test | 44 float result = (x0 + x1 + x2) / 3.0; 45 dEQP_FragColor = vec4(result, result, result, 1.0); 85 float result = (x0 + x1 + x2) / 3.0; 86 dEQP_FragColor = vec4(result, result, result, 1.0); 126 float result = (x0 + x1 + x2) / 3.0; 127 dEQP_FragColor = vec4(result, result, result, 1.0); 167 float result = (x0 + x1 + x2) / 3.0; 168 dEQP_FragColor = vec4(result, result, result, 1.0); 208 float result = (x0 + x1 + x2) / 3.0; 209 dEQP_FragColor = vec4(result, result, result, 1.0); [all …]
|