Home
last modified time | relevance | path

Searched refs:golden (Results 1 - 18 of 18) sorted by relevance

/third_party/skia/tests/
H A DSkGaussFilterTest.cpp32 double sigma; std::vector<double> golden; in DEF_TEST()
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()
H A DRecordingXfermodeTest.cpp142 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); in DEF_TEST()
154 const SkBitmap& goldenBM = golden.recordAndReplay(drawer, clip, mode); in DEF_TEST()
/third_party/skia/experimental/lowp-basic/
H A 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()
H A 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/
H A Dgmock_output_test.py34 To update the golden file:
49 # The flag for generating the golden file
160 golden = golden_file.read().decode('utf-8')
164 golden = ToUnixLineEnding(golden)
166 # The normalized output should match the golden file.
167 self.assertEqual(golden, output)
/third_party/node/tools/gyp/tools/emacs/
H A Dgyp-tests.el15 "List of golden samples to check")
24 (defun read-golden-sample (filename)
45 (ert-deftest test-golden-samples ()
46 "Check that fontification produces the same results as the golden samples"
48 (let ((golden (read-golden-sample sample))
50 (should (equal golden fontified))
51 (should (equal (text-face-properties golden)
54 (defun create-golden-sample (filename)
55 "Create a golden sampl
[all...]
/third_party/protobuf/src/google/protobuf/io/
H A 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 in TEST_F() local
[all...]
/third_party/libphonenumber/tools/java/java-build/test/com/google/i18n/phonenumbers/
H A DBuildShortNumberMetadataJsonFromXmlGoldenTest.java38 File golden = new File(srcDir, GOLDEN_FILE_NAME); in testBuildMetadataJsonFromXmlGolden()
46 new BufferedReader(new InputStreamReader(new FileInputStream(golden), "UTF-8")); in testBuildMetadataJsonFromXmlGolden()
H A DBuildMetadataJsonFromXmlGoldenTest.java38 File golden = new File(srcDir, GOLDEN_FILE_NAME); in testBuildMetadataJsonFromXmlGolden()
45 new BufferedReader(new InputStreamReader(new FileInputStream(golden), "UTF-8")); in testBuildMetadataJsonFromXmlGolden()
/third_party/googletest/googletest/test/
H A Dgoogletest-output-test.py34 To update the golden file:
48 # The flag for generating the golden file
58 GOLDEN_NAME = 'googletest-output-test-golden-lin.txt'
286 # sequences when we read the golden file irrespective of an operating
289 golden = ToUnixLineEnding(golden_file.read().decode())
297 normalized_golden = RemoveTypeInfoDetails(golden)
304 'golden', 'actual')))
311 # This code is very handy when debugging golden file differences:
338 """Unable to write a golden file when compiled in an environment
341 Please build this test and generate the golden fil
[all...]
H A Dgoogletest-output-test_.cc106 const char* golden = kGoldenString; in TEST() local
107 EXPECT_EQ(golden, actual); in TEST()
489 // golden file to check that Google Test generates the right error message.
495 // Expected to fail. We rely on the golden file to check that Google Test
511 // Expected to fail. We rely on the golden file to check that Google Test
519 // Expected to fail. We rely on the golden file to check that Google Test
780 // We rely on the golden file to verify that tests whose test case
785 // We rely on the golden file to verify that typed tests whose test
796 // We rely on the golden file to verify that type-parameterized tests
1013 // with the "golden" fil
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A 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()
279 CheckMat4ExactlyEq(r, golden); in TEST()
730 Mat4 golden(elementsExpected); in TEST()
733 CheckMat4ExactlyEq(r, golden); in TEST()
774 Mat4 golden(elementsExpecte in TEST()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dvp8.h275 uint8_t golden; member
H A Dvaapi_vp8.c80 .prob_gf = s->prob->golden, in vaapi_vp8_start_frame()
H A Dvp8.c398 * Determine which buffers golden and altref should be updated with after this frame.
403 * If the update (golden|altref) flag is set, it's updated with the current frame
408 * 2: update golden with altref, or update altref with golden
530 /* preserve the golden frame, write a new previous frame */ in vp7_fade_frame()
839 s->prob->golden = vp8_rac_get_uint(c, 8); in vp8_decode_frame_header()
1255 "partial-golden-update", in decode_mb_mode()
1303 (!is_vp7 && vp56_rac_get_prob(c, s->prob->golden)) ? VP56_FRAME_GOLDEN2 /* altref */ in decode_mb_mode()
2708 // check if golden and altref are swapped in vp78_decode_frame()
/third_party/protobuf/python/google/protobuf/internal/
H A Dtext_format_test.py97 # these zeros in order to match the golden file.
1204 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)
H A Dwell_known_types_test.py1008 golden = (b'\n4type.googleapis.com/google.protobuf.internal.TestAny\x12F'
1013 self.assertEqual(golden, serialized)
/third_party/protobuf/src/google/protobuf/
H A Dmap_test.cc3325 std::string golden; in TEST() local
3328 &golden, true)); in TEST()
3329 t.ParseFromString(golden); in TEST()

Completed in 22 milliseconds