Home
last modified time | relevance | path

Searched refs:info1 (Results 1 – 25 of 49) sorted by relevance

12

/third_party/skia/tests/
DGrContextFactoryTest.cpp23 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST() local
24 if (!info1.directContext()) { in DEF_GPUTEST()
27 REPORTER_ASSERT(reporter, info1.testContext()); in DEF_GPUTEST()
29 info1.directContext()->ref(); in DEF_GPUTEST()
37 REPORTER_ASSERT(reporter, info1.directContext() != info2.directContext()); in DEF_GPUTEST()
40 info1.directContext()->unref(); in DEF_GPUTEST()
48 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST() local
49 if (!info1.directContext()) { in DEF_GPUTEST()
54 info1.directContext()->ref(); in DEF_GPUTEST()
58 ContextInfo info2 = testFactory.getSharedContextInfo(info1.directContext()); in DEF_GPUTEST()
[all …]
/third_party/flutter/skia/tests/
DGrContextFactoryTest.cpp22 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST() local
23 if (!info1.grContext()) { in DEF_GPUTEST()
26 REPORTER_ASSERT(reporter, info1.testContext()); in DEF_GPUTEST()
28 info1.grContext()->ref(); in DEF_GPUTEST()
36 REPORTER_ASSERT(reporter, info1.grContext() != info2.grContext()); in DEF_GPUTEST()
39 info1.grContext()->unref(); in DEF_GPUTEST()
47 ContextInfo info1 = testFactory.getContextInfo(ctxType); in DEF_GPUTEST() local
48 if (!info1.grContext()) { in DEF_GPUTEST()
53 info1.grContext()->ref(); in DEF_GPUTEST()
57 ContextInfo info2 = testFactory.getSharedContextInfo(info1.grContext()); in DEF_GPUTEST()
[all …]
/third_party/ltp/testcases/kernel/syscalls/mallinfo/
Dmallinfo01.c18 static struct mallinfo info1; variable
45 if (info2.uordblks >= info1.uordblks + total) in test_mallinfo()
55 if (info2.ordblks == info1.ordblks + 1) in test_mallinfo()
65 if (sizeof(info1.arena) != sizeof(int)) in setup()
68 info1 = mallinfo(); in setup()
69 print_mallinfo("Start", &info1); in setup()
/third_party/flutter/skia/docs/examples/
DImageInfo_notequal1_operator.cpp7 SkImageInfo info1 = SkImageInfo::Make(10, 20, kGray_8_SkColorType, kPremul_SkAlphaType); in draw() local
9 SkDebugf("info1 %c= info2\n", info1 != info2 ? '!' : '='); in draw()
11 SkDebugf("info1 %c= info2\n", info1 != info2 ? '!' : '='); in draw()
13 SkDebugf("info1 %c= info2\n", info1 != info2 ? '!' : '='); in draw()
15 SkDebugf("info1 %c= info2\n", info1 != info2 ? '!' : '='); in draw()
DImageInfo_equal1_operator.cpp7 SkImageInfo info1 = SkImageInfo::Make(10, 20, kGray_8_SkColorType, kPremul_SkAlphaType); in draw() local
9 SkDebugf("info1 %c= info2\n", info1 == info2 ? '=' : '!'); in draw()
11 SkDebugf("info1 %c= info2\n", info1 == info2 ? '=' : '!'); in draw()
13 SkDebugf("info1 %c= info2\n", info1 == info2 ? '=' : '!'); in draw()
15 SkDebugf("info1 %c= info2\n", info1 == info2 ? '=' : '!'); in draw()
DImageInfo_refColorSpace.cpp7 SkImageInfo info1 = SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType, in draw() local
10 info1.refColorSpace()); in draw()
/third_party/skia/docs/examples/
DImageInfo_equal1_operator.cpp7 SkImageInfo info1 = SkImageInfo::Make(10, 20, kGray_8_SkColorType, kPremul_SkAlphaType); in draw() local
9 SkDebugf("info1 %c= info2\n", info1 == info2 ? '=' : '!'); in draw()
11 SkDebugf("info1 %c= info2\n", info1 == info2 ? '=' : '!'); in draw()
13 SkDebugf("info1 %c= info2\n", info1 == info2 ? '=' : '!'); in draw()
15 SkDebugf("info1 %c= info2\n", info1 == info2 ? '=' : '!'); in draw()
DImageInfo_notequal1_operator.cpp7 SkImageInfo info1 = SkImageInfo::Make(10, 20, kGray_8_SkColorType, kPremul_SkAlphaType); in draw() local
9 SkDebugf("info1 %c= info2\n", info1 != info2 ? '!' : '='); in draw()
11 SkDebugf("info1 %c= info2\n", info1 != info2 ? '!' : '='); in draw()
13 SkDebugf("info1 %c= info2\n", info1 != info2 ? '!' : '='); in draw()
15 SkDebugf("info1 %c= info2\n", info1 != info2 ? '!' : '='); in draw()
DImageInfo_refColorSpace.cpp7 SkImageInfo info1 = SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType, in draw() local
10 info1.refColorSpace()); in draw()
/third_party/glib/gio/tests/
Ddesktop-app-info.c101 GAppInfo *info, *info1, *info2, *info3; in test_default() local
105 info1 = create_app_info ("Blah1"); in test_default()
109 g_app_info_set_as_default_for_type (info1, "application/x-test", &error); in test_default()
131 g_app_info_remove_supports_type (info1, "application/x-test", &error); in test_default()
146 g_app_info_delete (info1); in test_default()
150 g_object_unref (info1); in test_default()
158 GAppInfo *info1, *info2, *app = NULL; in test_fallback() local
163 info1 = create_app_info ("Test1"); in test_fallback()
172 g_app_info_add_supports_type (info1, "text/x-python", &error); in test_fallback()
188 if (g_app_info_equal (info1, app)) in test_fallback()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_info_test.cc201 CordzInfo* info1 = data.data.cordz_info(); in TEST() local
202 ASSERT_THAT(CordzInfo::Head(snapshot), Eq(info1)); in TEST()
203 EXPECT_THAT(info1->Next(snapshot), Eq(nullptr)); in TEST()
209 EXPECT_THAT(info2->Next(snapshot), Eq(info1)); in TEST()
210 EXPECT_THAT(info1->Next(snapshot), Eq(nullptr)); in TEST()
213 ASSERT_THAT(CordzInfo::Head(snapshot), Eq(info1)); in TEST()
214 EXPECT_THAT(info1->Next(snapshot), Eq(nullptr)); in TEST()
216 info1->Untrack(); in TEST()
226 CordzInfo* info1 = data.data.cordz_info(); in TEST() local
227 ASSERT_THAT(CordzInfo::Head(snapshot), Eq(info1)); in TEST()
[all …]
Dcordz_sample_token_test.cc85 CordzInfo* info1 = cord1.data.cordz_info(); in TEST() local
97 EXPECT_THAT(found, ElementsAre(info3, info2, info1)); in TEST()
99 info1->Untrack(); in TEST()
109 CordzInfo* info1 = cord1.data.cordz_info(); in TEST() local
138 info1->Untrack(); in TEST()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstmemory.c400 GstMapInfo info1, info2; in GST_START_TEST() local
405 fail_unless (gst_memory_map (mem, &info1, GST_MAP_READ)); in GST_START_TEST()
406 fail_unless (info1.data != NULL); in GST_START_TEST()
407 fail_unless (info1.size == 100); in GST_START_TEST()
410 fail_unless (info2.data == info1.data); in GST_START_TEST()
415 gst_memory_unmap (mem, &info1); in GST_START_TEST()
417 fail_unless (gst_memory_map (mem, &info1, GST_MAP_READ)); in GST_START_TEST()
423 gst_memory_unmap (mem, &info1); in GST_START_TEST()
425 fail_unless (gst_memory_map (mem, &info1, GST_MAP_WRITE)); in GST_START_TEST()
430 gst_memory_unmap (mem, &info1); in GST_START_TEST()
[all …]
/third_party/boost/libs/spirit/classic/test/
Drepeat_ast_tests.cpp78 tree_parse_info<> info1 = ast_parse(test.c_str(), g_fail, space_p); in main() local
79 BOOST_TEST(info1.full); in main()
93 BOOST_TEST(info1.trees.begin()->children.size() == 2); in main()
/third_party/boost/boost/poly_collection/detail/
Dtype_restitution.hpp159 const std::type_info& info1,Iterator1&& it1, in operator ()()
166 info2,std::forward<Iterator2>(it2),info1,std::forward<Iterator1>(it1)); in operator ()()
171 Iterator2&& it2,const std::type_info& info1,Iterator1&& it1) in operator ()()
177 info1,std::forward<Iterator1>(it1),std::forward<Iterator2>(it2)); in operator ()()
/third_party/gstreamer/gstplugins_bad/gst/debugutils/
Dgstcompare.c434 GstVideoInfo info1, info2; in gst_compare_ssim() local
442 if (!gst_video_info_from_caps (&info1, caps1)) in gst_compare_ssim()
451 if (GST_VIDEO_INFO_FORMAT (&info1) != GST_VIDEO_INFO_FORMAT (&info2) || in gst_compare_ssim()
452 GST_VIDEO_INFO_WIDTH (&info1) != GST_VIDEO_INFO_WIDTH (&info2) || in gst_compare_ssim()
453 GST_VIDEO_INFO_HEIGHT (&info1) != GST_VIDEO_INFO_HEIGHT (&info2)) in gst_compare_ssim()
456 comps = GST_VIDEO_INFO_N_COMPONENTS (&info1); in gst_compare_ssim()
461 if (GST_VIDEO_INFO_IS_YUV (&info1) && (comps > 1)) in gst_compare_ssim()
464 c[i] /= (GST_VIDEO_INFO_IS_YUV (&info1) && (comps > 1)) ? in gst_compare_ssim()
467 gst_video_frame_map (&frame1, &info1, buf1, GST_MAP_READ); in gst_compare_ssim()
474 if (GST_VIDEO_INFO_COMP_DEPTH (&info1, i) != 8) in gst_compare_ssim()
/third_party/ffmpeg/libavformat/
Dsegafilmenc.c51 uint32_t info1, info2; in film_write_packet() local
87 info1 = 0xFFFFFFFF; in film_write_packet()
90 info1 = pkt->pts; in film_write_packet()
94 info1 |= 1U << 31; in film_write_packet()
96 avio_wb32(pb, info1); in film_write_packet()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhashtablez_sampler_test.cc267 auto* info1 = Register(&sampler, 1); in TEST() local
272 info1->size.store(3); in TEST()
275 sampler.Unregister(info1); in TEST()
352 auto* info1 = Register(&sampler, 1); in TEST() local
365 expected = info1; in TEST()
366 sampler.Unregister(info1); in TEST()
/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler_test.cc261 auto* info1 = Register(&sampler, 1); in TEST() local
266 info1->size.store(3); in TEST()
269 sampler.Unregister(info1); in TEST()
346 auto* info1 = Register(&sampler, 1); in TEST() local
359 expected = info1; in TEST()
360 sampler.Unregister(info1); in TEST()
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshowfakesink.cpp55 VIDEOINFOHEADER *info1 = (VIDEOINFOHEADER*)pmt->pbFormat; in CheckMediaType() local
58 if (memcmp(&info1->bmiHeader, &info2->bmiHeader, sizeof(BITMAPINFOHEADER))) in CheckMediaType()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DChainUtilsTests.cpp33 const dawn_native::PrimitiveDepthClampingState* info1 = nullptr; in TEST() local
35 dawn_native::FindInChain(&chain1, &info1); in TEST()
38 ASSERT_NE(nullptr, info1); in TEST()
/third_party/mindspore/tests/st/debugger/
Dtest_sync_trans_true_read_tensor.py44info1 = d.TensorInfo(node_name="Default/network-WithLossCell/_backbone-AlexNet/conv2-Conv2d/conv2.…
53 tensor_info = [info1, info2, info3]
Dtest_sync_trans_false_read_tensors.py44info1 = d.TensorInfo(node_name="Default/network-WithLossCell/_backbone-AlexNet/conv2-Conv2d/conv2.…
53 tensor_info = [info1, info2, info3]
Dtest_async_sink_mode_true_read_tensors.py42info1 = d.TensorInfo(node_name="Default/network-TrainOneStepCell/network-WithLossCell/_backbone-Al…
50 tensor_info = [info1, info2]
/third_party/gstreamer/gstreamer/tests/check/elements/
Dfilesrc.c173 GstMapInfo info1, info2; in GST_START_TEST() local
221 fail_unless (gst_buffer_map (buffer1, &info1, GST_MAP_READ)); in GST_START_TEST()
223 fail_unless (memcmp (info1.data, info2.data, 50) == 0); in GST_START_TEST()
237 fail_unless (memcmp ((guint8 *) info1.data + 50, info2.data, 50) == 0); in GST_START_TEST()
240 gst_buffer_unmap (buffer1, &info1); in GST_START_TEST()

12