Home
last modified time | relevance | path

Searched refs:golden (Results 1 – 25 of 57) sorted by relevance

123

/third_party/skia/tests/
DSkGaussFilterTest.cpp32 double sigma; std::vector<double> golden; in DEF_TEST() local
33 std::tie(sigma, golden) = test; in DEF_TEST()
40 REPORTER_ASSERT(r, static_cast<size_t>(n) == golden.size()); in DEF_TEST()
43 for (size_t i = 0; i < golden.size(); i++) { in DEF_TEST()
44 REPORTER_ASSERT(r, std::abs(golden[i] - result[i]) < kEpsilon); in DEF_TEST()
DRecordingXfermodeTest.cpp142 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); in DEF_TEST() local
154 const SkBitmap& goldenBM = golden.recordAndReplay(drawer, clip, mode); in DEF_TEST()
/third_party/skia/experimental/lowp-basic/
Dlerp-study.cpp21 void log(int16_t golden, int16_t candidate) { in log()
22 int diff = candidate - golden; in log()
25 diff_8_bits += candidate != golden; in log()
91 int16_t golden = floor(l + 0.5f); in check_lerp() local
93 stats.log(golden, candidate); in check_lerp()
Dbilerp-study.cpp21 void log(int16_t golden, int16_t candidate) { in log()
22 int64_t diff = candidate - golden; in log()
25 diff_8_bits += candidate != golden; in log()
106 int16_t golden = floor(l + 0.5); in check_bilerp() local
110 stats.log(golden, candidate); in check_bilerp()
/third_party/googletest/googlemock/test/
Dgmock_output_test.py160 golden = golden_file.read().decode('utf-8')
164 golden = ToUnixLineEnding(golden)
167 self.assertEqual(golden, output)
/third_party/node/tools/gyp/tools/emacs/
Dgyp-tests.el48 (let ((golden (read-golden-sample sample))
50 (should (equal golden fontified))
51 (should (equal (text-face-properties golden)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/emacs/
Dgyp-tests.el48 (let ((golden (read-golden-sample sample))
50 (should (equal golden fontified))
51 (should (equal (text-face-properties golden)
/third_party/skia/third_party/externals/angle2/src/common/
Dmatrix_utils_unittest.cpp61 void CheckMatrixCloseToGolden(float *golden, const Mat4 &m) in CheckMatrixCloseToGolden() argument
67 EXPECT_NEAR(golden[i], checkElts[i], floatFaultTolarance); in CheckMatrixCloseToGolden()
71 void CheckMatrixCloseToGolden(const std::vector<float> &golden, const Mat4 &m) in CheckMatrixCloseToGolden() argument
75 for (size_t i = 0; i < golden.size(); i++) in CheckMatrixCloseToGolden()
77 EXPECT_NEAR(golden[i], checkElts[i], floatFaultTolarance); in CheckMatrixCloseToGolden()
276 Mat4 golden(elementsExpected); in TEST() local
279 CheckMat4ExactlyEq(r, golden); in TEST()
730 Mat4 golden(elementsExpected); in TEST() local
733 CheckMat4ExactlyEq(r, golden); in TEST()
774 Mat4 golden(elementsExpected); in TEST() local
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc569 std::string golden; in TEST_F() local
570 GOOGLE_CHECK_OK(File::GetContents(golden_filename, &golden, true)); in TEST_F()
573 std::string gzip_compressed = Compress(golden, options); in TEST_F()
576 std::string not_compressed = Compress(golden, options); in TEST_F()
581 std::string zlib_compressed = Compress(golden, options); in TEST_F()
585 EXPECT_GT(not_compressed.size(), golden.size()); in TEST_F()
594 EXPECT_TRUE(Uncompress(not_compressed) == golden); in TEST_F()
595 EXPECT_TRUE(Uncompress(gzip_compressed) == golden); in TEST_F()
596 EXPECT_TRUE(Uncompress(zlib_compressed) == golden); in TEST_F()
663 std::string golden = "abcdefghijklmnopqrstuvwxyz"; in TEST_F() local
[all …]
/third_party/libphonenumber/tools/java/java-build/test/com/google/i18n/phonenumbers/
DBuildShortNumberMetadataJsonFromXmlGoldenTest.java38 File golden = new File(srcDir, GOLDEN_FILE_NAME); in testBuildMetadataJsonFromXmlGolden() local
46 new BufferedReader(new InputStreamReader(new FileInputStream(golden), "UTF-8")); in testBuildMetadataJsonFromXmlGolden()
DBuildMetadataJsonFromXmlGoldenTest.java38 File golden = new File(srcDir, GOLDEN_FILE_NAME); in testBuildMetadataJsonFromXmlGolden() local
45 new BufferedReader(new InputStreamReader(new FileInputStream(golden), "UTF-8")); in testBuildMetadataJsonFromXmlGolden()
/third_party/glslang/gtests/
DREADME.md22 line option, which, if supplied, will overwrite the golden files under
24 This serves as an easy way to update golden files.
/third_party/typescript/tests/baselines/reference/
DsignatureHelpJSDocCallbackTag.baseline84 "text": "- Silence is golden",
266 "text": "- Silence is golden",
448 "text": "- Silence is golden",
/third_party/googletest/googletest/test/
Dgoogletest-output-test.py289 golden = ToUnixLineEnding(golden_file.read().decode())
297 normalized_golden = RemoveTypeInfoDetails(golden)
Dgoogletest-output-test_.cc106 const char* golden = kGoldenString; in TEST() local
107 EXPECT_EQ(golden, actual); in TEST()
/third_party/ffmpeg/libavcodec/
Dvp8.h275 uint8_t golden; member
Dvaapi_vp8.c80 .prob_gf = s->prob->golden, in vaapi_vp8_start_frame()
/third_party/protobuf/objectivec/Tests/
DGPBUtilitiesTests.m116 // Not kGPBDefaultRepeatCount because we are comparing to golden master file
175 // Not kGPBDefaultRepeatCount because we are comparing to golden master file
DGPBCodedOuputStreamTests.m342 // Not kGPBDefaultRepeatCount because we are comparing to a golden master file
365 // Not kGPBDefaultRepeatCount because we are comparing to a golden master file
/third_party/skia/third_party/externals/angle2/infra/
DREADME.md76 …* Maybe run `./scripts/slave/recipes.py test train` to update checked-in golden files. This might …
/third_party/protobuf/python/google/protobuf/internal/
Dtext_format_test.py1204 golden = ''.join(('map_string_string {\n key: "%c"\n value: "dummy"\n}\n'
1206 self.CompareToGoldenText(text_format.MessageToString(message), golden)
1433 golden = 'message_set {\n}\n'
1434 self.CompareToGoldenText(text_format.MessageToString(message), golden)
Dwell_known_types_test.py1008 golden = (b'\n4type.googleapis.com/google.protobuf.internal.TestAny\x12F'
1013 self.assertEqual(golden, serialized)
/third_party/icu/docs/processes/
Dunicode-update.md156 "golden files" that are used to detect unanticipated side effects of revisions
/third_party/gstreamer/gstreamer/
DREADME.md87 at the end of the day they're a black sheep. Without a golden-haired angel
/third_party/gstreamer/gstplugins_base/
DREADME.md87 at the end of the day they're a black sheep. Without a golden-haired angel

123