Home
last modified time | relevance | path

Searched refs:carray (Results 1 – 7 of 7) sorted by relevance

/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstutils.c1088 guint8 carray[] = "ABCDEFGH"; /* 0x41 ... 0x48 */ in GST_START_TEST() local
1092 memcpy (uarray, carray, 8); in GST_START_TEST()
1093 cpointer = carray; in GST_START_TEST()
1114 fail_unless_equals_int_hex (GST_READ_UINT16_BE (carray), 0x4142); in GST_START_TEST()
1115 fail_unless_equals_int_hex (GST_READ_UINT16_BE (carray + 1), 0x4243); in GST_START_TEST()
1116 fail_unless_equals_int_hex (GST_READ_UINT16_BE (carray + 2), 0x4344); in GST_START_TEST()
1117 fail_unless_equals_int_hex (GST_READ_UINT16_BE (carray + 3), 0x4445); in GST_START_TEST()
1118 fail_unless_equals_int_hex (GST_READ_UINT16_BE (carray + 4), 0x4546); in GST_START_TEST()
1119 fail_unless_equals_int_hex (GST_READ_UINT16_BE (carray + 5), 0x4647); in GST_START_TEST()
1120 fail_unless_equals_int_hex (GST_READ_UINT16_BE (carray + 6), 0x4748); in GST_START_TEST()
[all …]
/third_party/glib/gobject/
Dgobject.c4263 CArray *carray; in object_remove_closure() local
4267 carray = g_object_get_qdata (object, quark_closure_array); in object_remove_closure()
4268 for (i = 0; i < carray->n_closures; i++) in object_remove_closure()
4269 if (carray->closures[i] == closure) in object_remove_closure()
4271 carray->n_closures--; in object_remove_closure()
4272 if (i < carray->n_closures) in object_remove_closure()
4273 carray->closures[i] = carray->closures[carray->n_closures]; in object_remove_closure()
4284 CArray *carray = data; in destroy_closure_array() local
4285 GObject *object = carray->object; in destroy_closure_array()
4286 guint i, n = carray->n_closures; in destroy_closure_array()
[all …]
/third_party/boost/libs/iostreams/test/detail/
Dutf8_codecvt_facet.cpp360 char carray[MB_LENGTH_MAX];
361 std::size_t count = wctomb(carray, w);
/third_party/boost/libs/type_erasure/test/
Dtest_construct.cpp41 const char carray[] = "Hello World!"; in BOOST_AUTO_TEST_CASE() local
45 any<common<> > z1(carray); in BOOST_AUTO_TEST_CASE()
48 BOOST_CHECK_EQUAL(any_cast<const char *>(z1), &carray[0]); in BOOST_AUTO_TEST_CASE()
52 …any<common<> > z2(carray, make_binding<boost::mpl::map<boost::mpl::pair<_self, const char *> > >()… in BOOST_AUTO_TEST_CASE()
55 BOOST_CHECK_EQUAL(any_cast<const char *>(z2), &carray[0]); in BOOST_AUTO_TEST_CASE()
62 any<common<> > z3(carray, bz3); in BOOST_AUTO_TEST_CASE()
65 BOOST_CHECK_EQUAL(any_cast<const char *>(z3), &carray[0]); in BOOST_AUTO_TEST_CASE()
/third_party/abseil-cpp/absl/types/
Dspan_test.cc446 const int carray[] = {0}; in TEST() local
448 const int* cptr = carray; in TEST()
458 CheckType<absl::Span<const int>>(absl::MakeConstSpan(carray)); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dspan_test.cc446 const int carray[] = {0}; in TEST() local
448 const int* cptr = carray; in TEST()
458 CheckType<absl::Span<const int>>(absl::MakeConstSpan(carray)); in TEST()
/third_party/python/Lib/test/
Dtest_buffer.py306 def carray(items, shape): function
1367 lst = carray(items, shape)
1573 lst = carray(items, shape)
1720 self.assertEqual(x.tolist(), carray(items, [3, 4]))
1733 lst = carray(items, shape)
1768 lst = carray(items, shape)
1857 lst = carray(items, shape)
2378 lst = carray(items, shape)
2447 lst = carray(items, shape)