Home
last modified time | relevance | path

Searched refs:testData (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dadaptive_demux_common.c33 testData);
48 gst_adaptive_demux_test_case_init (GstAdaptiveDemuxTestCase * testData) in gst_adaptive_demux_test_case_init() argument
50 testData->output_streams = NULL; in gst_adaptive_demux_test_case_init()
51 testData->test_task = NULL; in gst_adaptive_demux_test_case_init()
52 g_rec_mutex_init (&testData->test_task_lock); in gst_adaptive_demux_test_case_init()
53 g_mutex_init (&testData->test_task_state_lock); in gst_adaptive_demux_test_case_init()
54 g_cond_init (&testData->test_task_state_cond); in gst_adaptive_demux_test_case_init()
55 gst_adaptive_demux_test_case_clear (testData); in gst_adaptive_demux_test_case_init()
59 gst_adaptive_demux_test_case_clear (GstAdaptiveDemuxTestCase * testData) in gst_adaptive_demux_test_case_clear() argument
61 if (testData->output_streams) { in gst_adaptive_demux_test_case_clear()
[all …]
Dmssdemux.c27 #define COPY_OUTPUT_TEST_DATA(outputTestData,testData) do { \ argument
30 …(testData)->output_streams = g_list_append ((testData)->output_streams, &(outputTestData)[otdPos])…
141 GstAdaptiveDemuxTestCase *testData; in GST_START_TEST() local
143 testData = gst_adaptive_demux_test_case_new (); in GST_START_TEST()
148 COPY_OUTPUT_TEST_DATA (outputTestData, testData); in GST_START_TEST()
155 &test_callbacks, testData); in GST_START_TEST()
156 g_object_unref (testData); in GST_START_TEST()
184 GstAdaptiveDemuxTestCase *testData; in GST_START_TEST() local
186 testData = gst_adaptive_demux_test_case_new (); in GST_START_TEST()
190 COPY_OUTPUT_TEST_DATA (outputTestData, testData); in GST_START_TEST()
[all …]
Ddash_demux.c26 #define COPY_OUTPUT_TEST_DATA(outputTestData,testData) do { \ argument
29 …GST_ADAPTIVE_DEMUX_TEST_CASE (testData)->output_streams = g_list_append (GST_ADAPTIVE_DEMUX_TEST_C…
119 GstDashDemuxTestCase *testData = GST_DASH_DEMUX_TEST_CASE (object); in gst_dash_demux_test_case_dispose() local
121 gst_dash_demux_test_case_clear (testData); in gst_dash_demux_test_case_dispose()
252 GstDashDemuxTestCase *testData; in GST_START_TEST() local
265 testData = gst_dash_demux_test_case_new (); in GST_START_TEST()
266 COPY_OUTPUT_TEST_DATA (outputTestData, testData); in GST_START_TEST()
269 &test_callbacks, testData); in GST_START_TEST()
271 g_object_unref (testData); in GST_START_TEST()
377 GstDashDemuxTestCase *testData; in GST_START_TEST() local
[all …]
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Darith_test.js184 var testData = [
198 for (var i = 0; i < testData.length; i++) {
199 var a = testData[i][0] >>> 0;
200 var b = testData[i][1] >>> 0;
201 var cLow = testData[i][2] >>> 0;
202 var cHigh = testData[i][3] >>> 0;
217 var testData = [
231 for (var i = 0; i < testData.length; i++) {
232 var a = new jspb.arith.UInt64(testData[i][0], testData[i][1]);
233 var prod = a.mul(testData[i][2]);
[all …]
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Darith_test.js184 var testData = [
198 for (var i = 0; i < testData.length; i++) {
199 var a = testData[i][0] >>> 0;
200 var b = testData[i][1] >>> 0;
201 var cLow = testData[i][2] >>> 0;
202 var cHigh = testData[i][3] >>> 0;
217 var testData = [
231 for (var i = 0; i < testData.length; i++) {
232 var a = new jspb.arith.UInt64(testData[i][0], testData[i][1]);
233 var prod = a.mul(testData[i][2]);
[all …]
/third_party/node/test/parallel/
Dtest-http-generic-streams.js9 const testData = 'Hello, World!\n'; constant
13 res.end(testData);
24 assert.strictEqual(data, testData);
33 const testData = 'Hello, World!\n'; constant
37 res.end(testData);
50 assert.strictEqual(data, testData);
65 const testData = 'Hello, World!\n'; constant
70 assert.strictEqual(data, testData);
75 res.write(testData);
92 assert.strictEqual(data, testData);
[all …]
Dtest-http2-generic-streams.js10 const testData = '<h1>Hello World</h1>'; constant
17 stream.end(testData);
38 assert.strictEqual(data, testData);
/third_party/protobuf/js/binary/
Darith_test.js183 var testData = [
197 for (var i = 0; i < testData.length; i++) {
198 var a = testData[i][0] >>> 0;
199 var b = testData[i][1] >>> 0;
200 var cLow = testData[i][2] >>> 0;
201 var cHigh = testData[i][3] >>> 0;
216 var testData = [
230 for (var i = 0; i < testData.length; i++) {
231 var a = new jspb.arith.UInt64(testData[i][0], testData[i][1]);
232 var prod = a.mul(testData[i][2]);
[all …]
/third_party/skia/tests/
DSkPathRangeIterTest.cpp44 } genData, testData; in DEF_TEST() local
47 if (genData.p() != testData.p() || genData.w() != testData.w()) { in DEF_TEST()
103 REPORTER_ASSERT(r, pathPts[0] == testData.p()); in DEF_TEST()
108 REPORTER_ASSERT(r, pathPts[1] == testData.p()); in DEF_TEST()
113 REPORTER_ASSERT(r, pathPts[1] == testData.p()); in DEF_TEST()
114 REPORTER_ASSERT(r, pathPts[2] == testData.p()); in DEF_TEST()
119 REPORTER_ASSERT(r, pathPts[1] == testData.p()); in DEF_TEST()
120 REPORTER_ASSERT(r, pathPts[2] == testData.p()); in DEF_TEST()
121 REPORTER_ASSERT(r, pathPts[3] == testData.p()); in DEF_TEST()
126 REPORTER_ASSERT(r, pathPts[1] == testData.p()); in DEF_TEST()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireQueueTests.cpp109 TestData* testData = reinterpret_cast<TestData*>(userdata); in ToMockQueueWorkDoneWithNewRequests() local
111 ASSERT_NE(testData, nullptr); in ToMockQueueWorkDoneWithNewRequests()
112 ASSERT_NE(testData->pTest, nullptr); in ToMockQueueWorkDoneWithNewRequests()
113 ASSERT_NE(testData->pTestQueue, nullptr); in ToMockQueueWorkDoneWithNewRequests()
114 mockQueueWorkDoneCallback->Call(status, testData->pTest); in ToMockQueueWorkDoneWithNewRequests()
117 for (size_t i = 0; i < testData->numRequests; i++) { in ToMockQueueWorkDoneWithNewRequests()
118 wgpuQueueOnSubmittedWorkDone(*(testData->pTestQueue), 0u, ToMockQueueWorkDone, in ToMockQueueWorkDoneWithNewRequests()
119 testData->pTest); in ToMockQueueWorkDoneWithNewRequests()
125 TestData testData = {this, &queue, 10}; in TEST_F() local
126 wgpuQueueOnSubmittedWorkDone(queue, 0u, ToMockQueueWorkDoneWithNewRequests, &testData); in TEST_F()
[all …]
DWireShaderModuleTests.cpp168 TestData* testData = reinterpret_cast<TestData*>(userdata); in ToMockBufferMapCallbackWithNewRequests() local
170 ASSERT_NE(testData, nullptr); in ToMockBufferMapCallbackWithNewRequests()
171 ASSERT_NE(testData->pTest, nullptr); in ToMockBufferMapCallbackWithNewRequests()
172 ASSERT_NE(testData->pTestShaderModule, nullptr); in ToMockBufferMapCallbackWithNewRequests()
174 mockCompilationInfoCallback->Call(status, info, testData->pTest); in ToMockBufferMapCallbackWithNewRequests()
177 for (size_t i = 0; i < testData->numRequests; i++) { in ToMockBufferMapCallbackWithNewRequests()
178 wgpuShaderModuleGetCompilationInfo(*(testData->pTestShaderModule), in ToMockBufferMapCallbackWithNewRequests()
185 TestData testData = {this, &shaderModule, 10}; in TEST_F() local
188 &testData); in TEST_F()
206 .Times(1 + testData.numRequests); in TEST_F()
[all …]
/third_party/node/test/fixtures/wpt/encoding/
DencodeInto.any.js44 ].forEach(testData => {
79 const bufferLength = testData.destinationLength + destinationData.bufferIncrease,
81 destinationLength = testData.destinationLength,
98 const result = encoder.encodeInto(testData.input, view);
105 assert_equals(result.read, testData.read);
106 assert_equals(result.written, testData.written.length);
108 if (i < destinationOffset || i >= (destinationOffset + testData.written.length)) {
111 assert_equals(fullView[i], testData.written[i - destinationOffset]);
114 …}, "encodeInto() with " + testData.input + " and destination length " + testData.destinationLength…
/third_party/typescript/tests/baselines/reference/
Dimport_unneeded-require-when-referenecing-aliased-type-throug-array.types6 var testData: ITest[];
7 >testData : ITest[]
9 var p = testData[0].name;
11 >testData[0].name : string
12 >testData[0] : ITest
13 >testData : ITest[]
Dimport_unneeded-require-when-referenecing-aliased-type-throug-array.symbols6 var testData: ITest[];
7 >testData : Symbol(testData, Decl(a.ts, 2, 3))
10 var p = testData[0].name;
12 >testData[0].name : Symbol(ITest.name, Decl(b.ts, 1, 20))
13 >testData : Symbol(testData, Decl(a.ts, 2, 3))
Dimport_unneeded-require-when-referenecing-aliased-type-throug-array.js14 var testData: ITest[]; variable
15 var p = testData[0].name;
23 var testData;
24 var p = testData[0].name;
/third_party/flutter/skia/src/gpu/effects/
DGrAlphaThresholdFragmentProcessor.fp63 @test(testData) {
64 sk_sp<GrTextureProxy> maskProxy = testData->textureProxy(GrProcessorUnitTest::kAlphaTextureIdx);
66 float innerThresh = testData->fRandom->nextUScalar1() * .99f + 0.005f;
67 float outerThresh = testData->fRandom->nextUScalar1() * .99f + 0.005f;
70 uint32_t width = testData->fRandom->nextULessThan(kMaxWidth);
71 uint32_t height = testData->fRandom->nextULessThan(kMaxHeight);
72 uint32_t x = testData->fRandom->nextULessThan(kMaxWidth - width);
73 uint32_t y = testData->fRandom->nextULessThan(kMaxHeight - height);
DGrSimpleTextureEffect.fp58 @test(testData) {
59 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx
62 GrTest::TestWrapModes(testData->fRandom, wrapModes);
63 if (!testData->caps()->npotTextureTileSupport()) {
70 GrSamplerState params(wrapModes, testData->fRandom->nextBool()
74 const SkMatrix& matrix = GrTest::TestMatrix(testData->fRandom);
75 return GrSimpleTextureEffect::Make(testData->textureProxy(texIdx), matrix, params);
/third_party/flutter/skia/src/gpu/effects/generated/
DGrSimpleTextureEffect.cpp70 GrProcessorTestData* testData) { in TestCreate() argument
71 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate()
74 GrTest::TestWrapModes(testData->fRandom, wrapModes); in TestCreate()
75 if (!testData->caps()->npotTextureTileSupport()) { in TestCreate()
82 GrSamplerState params(wrapModes, testData->fRandom->nextBool() in TestCreate()
86 const SkMatrix& matrix = GrTest::TestMatrix(testData->fRandom); in TestCreate()
87 return GrSimpleTextureEffect::Make(testData->textureProxy(texIdx), matrix, params); in TestCreate()
DGrAlphaThresholdFragmentProcessor.cpp109 GrProcessorTestData* testData) { in TestCreate() argument
110 sk_sp<GrTextureProxy> maskProxy = testData->textureProxy(GrProcessorUnitTest::kAlphaTextureIdx); in TestCreate()
112 float innerThresh = testData->fRandom->nextUScalar1() * .99f + 0.005f; in TestCreate()
113 float outerThresh = testData->fRandom->nextUScalar1() * .99f + 0.005f; in TestCreate()
116 uint32_t width = testData->fRandom->nextULessThan(kMaxWidth); in TestCreate()
117 uint32_t height = testData->fRandom->nextULessThan(kMaxHeight); in TestCreate()
118 uint32_t x = testData->fRandom->nextULessThan(kMaxWidth - width); in TestCreate()
119 uint32_t y = testData->fRandom->nextULessThan(kMaxHeight - height); in TestCreate()
DGrEllipseEffect.cpp134 std::unique_ptr<GrFragmentProcessor> GrEllipseEffect::TestCreate(GrProcessorTestData* testData) { in TestCreate() argument
136 center.fX = testData->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate()
137 center.fY = testData->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate()
138 SkScalar rx = testData->fRandom->nextRangeF(0.f, 1000.f); in TestCreate()
139 SkScalar ry = testData->fRandom->nextRangeF(0.f, 1000.f); in TestCreate()
142 et = (GrClipEdgeType)testData->fRandom->nextULessThan(kGrClipEdgeTypeCnt); in TestCreate()
145 *testData->caps()->shaderCaps()); in TestCreate()
DGrCircleEffect.cpp110 std::unique_ptr<GrFragmentProcessor> GrCircleEffect::TestCreate(GrProcessorTestData* testData) { in TestCreate() argument
112 center.fX = testData->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate()
113 center.fY = testData->fRandom->nextRangeScalar(0.f, 1000.f); in TestCreate()
114 SkScalar radius = testData->fRandom->nextRangeF(1.f, 1000.f); in TestCreate()
117 et = (GrClipEdgeType)testData->fRandom->nextULessThan(kGrClipEdgeTypeCnt); in TestCreate()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DRbnfTest.java278 String[][] testData = { in TestEnglishSpellout() local
301 doTest(formatter, testData, true); in TestEnglishSpellout()
311 String[][] testData = { in TestOrdinalAbbreviations() local
331 doTest(formatter, testData, false); in TestOrdinalAbbreviations()
341 String[][] testData = { in TestDurations() local
355 doTest(formatter, testData, true); in TestDurations()
365 String[][] testData = { in TestSpanishSpellout() local
390 doTest(formatter, testData, true); in TestSpanishSpellout()
400 String[][] testData = { in TestFrenchSpellout() local
430 doTest(formatter, testData, true); in TestFrenchSpellout()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ddadrfmt.cpp51 TestData *testData = driver->createTestData(index, status); in runIndexedTest() local
53 name = testData->getName(); in runIndexedTest()
54 if (testData->getInfo(info, status)) { in runIndexedTest()
62 processTest(testData); in runIndexedTest()
64 delete testData; in runIndexedTest()
95 void DataDrivenFormatTest::testConvertDate(TestData *testData, in testConvertDate() argument
114 while (testData->nextCase(currentCase, status)) { in testConvertDate()
329 void DataDrivenFormatTest::processTest(TestData *testData) { in processTest() argument
339 while (testData->nextSettings(settings, status)) { in processTest()
355 testConvertDate(testData, settings, true); in processTest()
[all …]
Ddadrcal.cpp49 TestData *testData = driver->createTestData(index, status); in runIndexedTest() local
51 name = testData->getName(); in runIndexedTest()
52 if (testData->getInfo(info, status)) { in runIndexedTest()
60 processTest(testData); in runIndexedTest()
62 delete testData; in runIndexedTest()
73 void DataDrivenCalendarTest::testOps(TestData *testData, in testOps() argument
99 while (testData->nextCase(currentCase, status)) { in testOps()
366 void DataDrivenCalendarTest::testConvert(TestData *testData, in testConvert() argument
394 while (testData->nextCase(currentCase, status)) { in testConvert()
447 void DataDrivenCalendarTest::processTest(TestData *testData) { in processTest() argument
[all …]
Ddadrcal.h41 void processTest(TestData *testData);
43 void testConvert(TestData *testData, const DataMap *settings, UBool fwd);
44 void testOps(TestData *testData, const DataMap *settings);

12345