/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstqueuearray.c | 43 guint8 *array; member 68 GstQueueArray *array; in gst_queue_array_new_for_struct() local 72 array = g_slice_new (GstQueueArray); in gst_queue_array_new_for_struct() 73 array->elt_size = struct_size; in gst_queue_array_new_for_struct() 74 array->size = initial_size; in gst_queue_array_new_for_struct() 75 array->array = g_malloc0 (struct_size * initial_size); in gst_queue_array_new_for_struct() 76 array->head = 0; in gst_queue_array_new_for_struct() 77 array->tail = 0; in gst_queue_array_new_for_struct() 78 array->length = 0; in gst_queue_array_new_for_struct() 79 array->struct_array = TRUE; in gst_queue_array_new_for_struct() [all …]
|
/third_party/glib/glib/ |
D | garray.c | 153 #define g_array_elt_len(array,i) ((array)->elt_size * (i)) argument 154 #define g_array_elt_pos(array,i) ((array)->data + g_array_elt_len((array),(i))) argument 155 #define g_array_elt_zero(array, pos, len) \ argument 156 (memset (g_array_elt_pos ((array), pos), 0, g_array_elt_len ((array), len))) 157 #define g_array_zero_terminate(array) G_STMT_START{ \ argument 158 if ((array)->zero_terminated) \ 159 g_array_elt_zero ((array), (array)->len, 1); \ 163 static void g_array_maybe_expand (GRealArray *array, 219 g_array_steal (GArray *array, in g_array_steal() argument 225 g_return_val_if_fail (array != NULL, NULL); in g_array_steal() [all …]
|
D | garray.h | 74 gpointer g_array_steal (GArray *array, 82 GArray* g_array_copy (GArray *array); 84 gchar* g_array_free (GArray *array, 87 GArray *g_array_ref (GArray *array); 89 void g_array_unref (GArray *array); 91 guint g_array_get_element_size (GArray *array); 93 GArray* g_array_append_vals (GArray *array, 97 GArray* g_array_prepend_vals (GArray *array, 101 GArray* g_array_insert_vals (GArray *array, 106 GArray* g_array_set_size (GArray *array, [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | dynarray.c | 39 pa_dynarray *array; in pa_dynarray_new() local 41 array = pa_xnew0(pa_dynarray, 1); in pa_dynarray_new() 42 array->free_cb = free_cb; in pa_dynarray_new() 44 return array; in pa_dynarray_new() 47 void pa_dynarray_free(pa_dynarray *array) { in pa_dynarray_free() argument 49 pa_assert(array); in pa_dynarray_free() 51 if (array->free_cb) in pa_dynarray_free() 52 for (i = 0; i < array->n_entries; i++) in pa_dynarray_free() 53 array->free_cb(array->data[i]); in pa_dynarray_free() 55 pa_xfree(array->data); in pa_dynarray_free() [all …]
|
/third_party/skia/third_party/externals/tint/test/array/ |
D | type_constructor.wgsl.expected.wgsl | 4 let empty : array<i32, 4> = array<i32, 4>(); 5 let nonempty : array<i32, 4> = array<i32, 4>(1, 2, 3, 4); 6 let nonempty_with_expr : array<i32, 4> = array<i32, 4>(1, x, (x + 1), nonempty[3]); 7 let nested_empty : array<array<array<i32, 4>, 3>, 2> = array<array<array<i32, 4>, 3>, 2>(); 8 …array<array<array<i32, 4>, 3>, 2> = array<array<array<i32, 4>, 3>, 2>(array<array<i32, 4>, 3>(arra… 9 …th_expr : array<array<array<i32, 4>, 3>, 2> = array<array<array<i32, 4>, 3>, 2>(array<array<i32, 4… 10 let subexpr_empty : i32 = array<i32, 4>()[1]; 11 let subexpr_nonempty : i32 = array<i32, 4>(1, 2, 3, 4)[2]; 12 let subexpr_nonempty_with_expr : i32 = array<i32, 4>(1, x, (x + 1), nonempty[3])[2]; 13 let subexpr_nested_empty : array<i32, 4> = array<array<i32, 4>, 2>()[1]; [all …]
|
D | type_constructor.wgsl | 6 let empty : array<i32, 4> = array<i32, 4>(); 7 let nonempty : array<i32, 4> = array<i32, 4>(1, 2, 3, 4); 8 let nonempty_with_expr : array<i32, 4> = 9 array<i32, 4>(1, x, x + 1, nonempty[3]); 12 let nested_empty : array<array<array<i32, 4>, 3>, 2> = 13 array<array<array<i32, 4>, 3>, 2>(); 14 let nested_nonempty : array<array<array<i32, 4>, 3>, 2> = 15 array<array<array<i32, 4>, 3>, 2>( 16 array<array<i32, 4>, 3>( 17 array<i32, 4>(1, 2, 3, 4), [all …]
|
/third_party/gstreamer/gstreamer/tests/check/libs/ |
D | queuearray.c | 37 GstQueueArray *array; in GST_START_TEST() local 41 array = gst_queue_array_new (10); in GST_START_TEST() 45 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() 47 fail_unless_equals_int (gst_queue_array_get_length (array), 5); in GST_START_TEST() 51 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_pop_head (array)), in GST_START_TEST() 55 fail_unless_equals_int (gst_queue_array_get_length (array), 0); in GST_START_TEST() 57 gst_queue_array_free (array); in GST_START_TEST() 64 GstQueueArray *array; in GST_START_TEST() local 68 array = gst_queue_array_new (10); in GST_START_TEST() 72 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() [all …]
|
/third_party/glslang/Test/baseResults/ |
D | 430AofA.frag.out | 2 ERROR: 0:6: '[]' : only outermost dimension of an array of arrays can be implicitly sized 3 ERROR: 0:14: 'constructor' : constructing non-array constituent from array argument 4 ERROR: 0:15: 'constructor' : array constructor argument not correct type to construct array element 5 ERROR: 0:28: '[' : array index out of range '4' 6 …t convert parameter 2 from ' const 3-element array of 4-component vector of float' to ' temp 2-ele… 7 …t convert parameter 2 from ' const 2-element array of 4-component vector of float' to ' temp 3-ele… 8 …rt from ' const 3-element array of 2-element array of 4-component vector of float' to ' temp 4-ele… 9 …not convert from ' global 4-element array of 7-element array of float' to ' global 5-element array… 10 …convert from ' global 4-element array of 7-element array of float' to ' global unsized 1-element a… 12 …ype ' global 4-element array of 7-element array of float' and a right operand of type ' global 5-e… [all …]
|
D | mixedArrayDecls.frag.out | 8 …on Definition: foo(i1[14][15][6]; ( global 14-element array of 15-element array of 6-element array… 10 0:16 'p' ( in 14-element array of 15-element array of 6-element array of int) 13 0:16 'p' ( in 14-element array of 15-element array of 6-element array of int) 17 0:20 direct index ( temp 14-element array of int) 18 0:20 'g' ( global unsized 4-element array of 14-element array of int) 21 0:21 direct index ( temp 14-element array of int) 22 0:21 'h' ( global unsized 3-element array of 14-element array of int) 25 0:24 Function Definition: bar( ( global 4-element array of 3-element array of 2-element array of f… 29 0:24 'a' ( temp 4-element array of 3-element array of 2-element array of float) 31 … ( global structure{ global 2-element array of 3-element array of int a, global 5-element array o… [all …]
|
D | 310AofA.vert.out | 2 ERROR: 0:17: '' : array size required 3 ERROR: 0:23: '' : array size required 4 ERROR: 0:28: '[]' : only outermost dimension of an array of arrays can be implicitly sized 5 ERROR: 0:40: '' : array size required 6 ERROR: 0:48: 'constructor' : constructing non-array constituent from array argument 7 ERROR: 0:49: 'constructor' : array constructor argument not correct type to construct array element 8 ERROR: 0:62: '[' : array index out of range '4' 9 … convert from ' global 4-element array of 7-element array of highp float' to ' global 5-element ar… 10 …vert from ' global 4-element array of 7-element array of highp float' to ' global unsized 1-elemen… 12 … ' global 4-element array of 7-element array of highp float' and a right operand of type ' global … [all …]
|
D | structure.frag.out | 18 0:24 i: direct index for structure ( global 5-element array of int) 19 …ent array of int i, global float f, global 7-element array of structure{ global int i, global 4… 20 …array of structure{ global 5-element array of int i, global float f, global 7-element array of s… 34 0:25 color: direct index for structure ( global 5-element array of 4-component vector … 35 …index ( temp structure{ global int i, global 4-element array of float f, global 5-element array … 36 … structure ( global 7-element array of structure{ global int i, global 4-element array of float f… 37 …ent array of int i, global float f, global 7-element array of structure{ global int i, global 4… 38 …array of structure{ global 5-element array of int i, global float f, global 7-element array of s… 55 0:27 f: direct index for structure ( global 4-element array of float) 56 …index ( temp structure{ global int i, global 4-element array of float f, global 5-element array … [all …]
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBArrayTests.m | 101 //% GPB##NAME##Array *array = [[GPB##NAME##Array alloc] init]; 102 //% XCTAssertNotNil(array); 103 //% XCTAssertEqual(array.count, 0U); 104 //% XCTAssertThrowsSpecificNamed([array valueAtIndex:0], NSException, NSRangeException); 105 //% [array enumerateValuesWithBlock:^(TYPE value, NSUInteger idx, BOOL *stop) { 109 //% [array enumerateValuesWithOptions:NSEnumerationReverse 114 //% [array release]; 118 //% GPB##NAME##Array *array = [GPB##NAME##Array arrayWithValue:VAL1]; 119 //% XCTAssertNotNil(array); 120 //% XCTAssertEqual(array.count, 1U); [all …]
|
/third_party/boost/libs/phoenix/test/algorithm/ |
D | transformation2.cpp | 30 int array[] = {1,2,3}; in rotate_test() local 31 rotate(arg1, array + 1)(array); in rotate_test() 32 std::cout << array[0] << array[1] << array[2] << std::endl; in rotate_test() 33 BOOST_TEST(array[0] == 2); in rotate_test() 34 BOOST_TEST(array[1] == 3); in rotate_test() 35 BOOST_TEST(array[2] == 1); in rotate_test() 45 int array[] = {1,2,3}; in rotate_copy_test() local 47 rotate_copy(arg1, array + 1, arg2)(array, array2); in rotate_copy_test() 60 int array[] = {1,2,3}; in random_shuffle_test() local 61 random_shuffle(arg1)(array); in random_shuffle_test() [all …]
|
D | transformation1.cpp | 58 int array[] = {1,2,3}; in copy_test() local 61 copy(arg1, arg2)(array, output) == output + 3); in copy_test() 73 int array[] = {1,2,3}; in copy_backward_test() local 77 copy_backward(arg1, arg2)(array, output_end) == output); in copy_backward_test() 99 int array[] = {1,2,3}; in transform_test() local 101 transform(arg1, arg2, increment())(array, array) == in transform_test() 102 array + 3); in transform_test() 103 BOOST_TEST(array[0] == 2); in transform_test() 104 BOOST_TEST(array[1] == 3); in transform_test() 105 BOOST_TEST(array[2] == 4); in transform_test() [all …]
|
D | querying.cpp | 51 int array[] = {1,2,3}; in find_test() local 52 BOOST_TEST(boost::phoenix::find(arg1,2)(array) == array + 1); in find_test() 54 std::set<int> s(array, array + 3); in find_test() 64 BOOST_PHOENIX_HASH_NAMESPACE::hash_set<int> hs(array, array + 3); in find_test() 79 int array[] = {1,2,3}; in find_if_test() local 80 BOOST_TEST(boost::phoenix::find_if(arg1, even())(array) == array + 1); in find_if_test() 88 int array[] = {1,2,3,1,2,3,1}; in find_end_test() local 90 BOOST_TEST(boost::phoenix::find_end(arg1, arg2)(array, pattern) == array + 3); in find_end_test() 92 …BOOST_TEST(boost::phoenix::find_end(arg1, arg2, mod_2_comparison())(array, pattern2) == array + 3); in find_end_test() 100 int array[] = {1,2,3}; in find_first_of_test() local [all …]
|
/third_party/mesa3d/src/egl/main/ |
D | eglarray.c | 41 _eglGrowArray(_EGLArray *array) in _eglGrowArray() argument 46 new_size = array->MaxSize; in _eglGrowArray() 47 while (new_size <= array->Size) in _eglGrowArray() 50 elems = realloc(array->Elements, new_size * sizeof(array->Elements[0])); in _eglGrowArray() 53 array->Name, new_size); in _eglGrowArray() 57 array->Elements = elems; in _eglGrowArray() 58 array->MaxSize = new_size; in _eglGrowArray() 70 _EGLArray *array; in _eglCreateArray() local 72 array = calloc(1, sizeof(*array)); in _eglCreateArray() 73 if (array) { in _eglCreateArray() [all …]
|
/third_party/python/Lib/test/ |
D | test_array.py | 16 import array 17 from array import _array_reconstructor as array_reconstructor 19 sizeof_wchar = array.array('u').itemsize 22 class ArraySubclass(array.array): 25 class ArraySubclassWithKwargs(array.array): 27 array.array.__init__(self) 34 self.assertIsInstance(array.array("B"), collections.abc.MutableSequence) 35 self.assertIsInstance(array.array("B"), collections.abc.Reversible) 38 self.assertRaises(TypeError, array.array) 39 self.assertRaises(TypeError, array.array, spam=42) [all …]
|
/third_party/jerryscript/tests/jerry/ |
D | array-prototype-splice.js | 22 var array = setDefaultValues(); variable 23 var array1 = array.splice(); 25 assert (array.length == 4); 26 assert (array[0] == 54); 27 assert (array[1] == undefined); 28 assert (array[2] == -127); 29 assert (array[3] == "sunshine"); 33 array = setDefaultValues(); // 54, undefined, -127, "sunshine" 34 var array2 = array.splice(2); 36 assert (array.length == 2); [all …]
|
/third_party/boost/boost/math/quadrature/ |
D | gauss.hpp | 81 static std::array<T, 4> const & abscissa() in abscissa() 83 static const std::array<T, 4> data = { in abscissa() 91 static std::array<T, 4> const & weights() in weights() 93 static const std::array<T, 4> data = { in weights() 107 static std::array<T, 4> const & abscissa() in abscissa() 109 static const std::array<T, 4> data = { in abscissa() 117 static std::array<T, 4> const & weights() in weights() 119 static const std::array<T, 4> data = { in weights() 133 static std::array<T, 4> const & abscissa() in abscissa() 135 static const std::array<T, 4> data = { in abscissa() [all …]
|
/third_party/boost/libs/hana/test/ext/std/array/ |
D | iterable.cpp | 24 constexpr auto array() { return std::array<int, sizeof...(i)>{{i...}}; } in array() function 29 BOOST_HANA_CONSTANT_CHECK(hana::is_empty(array<>())); in main() 30 BOOST_HANA_CONSTANT_CHECK(hana::not_(hana::is_empty(array<0>()))); in main() 31 BOOST_HANA_CONSTANT_CHECK(hana::not_(hana::is_empty(array<0, 1>()))); in main() 36 BOOST_HANA_CONSTEXPR_CHECK(hana::front(array<0>()) == 0); in main() 37 BOOST_HANA_CONSTEXPR_CHECK(hana::front(array<0, 1>()) == 0); in main() 38 BOOST_HANA_CONSTEXPR_CHECK(hana::front(array<0, 1, 2>()) == 0); in main() 44 hana::drop_front_exactly(array<0>()), in main() 45 array<>() in main() 48 hana::drop_front_exactly(array<0, 1>()), in main() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | USerializedSet.java | 32 array=null; in getSet() 53 array = new char[length]; in getSet() 54 System.arraycopy(src,srcStart,array,0,length); in getSet() 70 array[0]=(char)c; in setToOne() 71 array[1]=(char)(c+1); in setToOne() 75 array[0]=0xffff; in setToOne() 76 array[1]=1; in setToOne() 77 array[2]=0; in setToOne() 81 array[0]=(char)(c>>16); in setToOne() 82 array[1]=(char)c; in setToOne() [all …]
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | array-prototype-copywithin.js | 18 var array = ["foo", 1, "bar", obj, 2, "baz"]; variable 19 assert(array.copyWithin(2,0,6).toString() === "foo,1,foo,1,bar,[object Object]"); 20 assert(array.copyWithin(0,1,3).toString() === "1,foo,foo,1,bar,[object Object]"); 21 assert(array.copyWithin(3,0,4).toString() === "1,foo,foo,1,foo,foo"); 24 var array = ["foo", 1, "bar", obj, 2, "baz"]; variable 25 assert(array.copyWithin().toString() === "foo,1,bar,[object Object],2,baz"); 26 assert(array.copyWithin(2).toString() === "foo,1,foo,1,bar,[object Object]"); 27 assert(array.copyWithin(1,4).toString() === "foo,bar,[object Object],1,bar,[object Object]"); 30 var array = ["foo", 1, "bar", obj, 2, "baz"]; variable 31 assert(array.copyWithin(12,3,-3).toString() === "foo,1,bar,[object Object],2,baz"); [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | USerializedSet.java | 34 array=null; in getSet() 55 array = new char[length]; in getSet() 56 System.arraycopy(src,srcStart,array,0,length); in getSet() 72 array[0]=(char)c; in setToOne() 73 array[1]=(char)(c+1); in setToOne() 77 array[0]=0xffff; in setToOne() 78 array[1]=1; in setToOne() 79 array[2]=0; in setToOne() 83 array[0]=(char)(c>>16); in setToOne() 84 array[1]=(char)c; in setToOne() [all …]
|
/third_party/boost/libs/compute/test/ |
D | test_array.cpp | 24 BOOST_CONCEPT_ASSERT((boost::Container<boost::compute::array<int, 3> >)); in BOOST_AUTO_TEST_CASE() 26 BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<boost::compute::array<int, 3>::iterator>)); in BOOST_AUTO_TEST_CASE() 27 …BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<boost::compute::array<int, 3>::const_iterator>)); in BOOST_AUTO_TEST_CASE() 32 boost::compute::array<int, 0> empty_array(context); in BOOST_AUTO_TEST_CASE() 35 boost::compute::array<int, 10> array10(context); in BOOST_AUTO_TEST_CASE() 41 boost::compute::array<int, 3> array(context); in BOOST_AUTO_TEST_CASE() local 42 array[0] = 3; in BOOST_AUTO_TEST_CASE() 43 array[1] = -2; in BOOST_AUTO_TEST_CASE() 44 array[2] = 5; in BOOST_AUTO_TEST_CASE() 45 BOOST_CHECK_EQUAL(array.at(0), 3); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/iowow/src/utils/ |
D | iwarr.c | 188 list->array = malloc(unit_size * initial_length); in iwulist_init() 189 if (!list->array) { in iwulist_init() 209 free(list->array); in iwulist_clear() 217 free(list->array); in iwulist_destroy_keep() 245 nlist->array = malloc(anum * list->usize); in iwulist_clone() 246 if (!nlist->array) { in iwulist_clone() 250 memcpy(nlist->array, list->array + list->start, list->num * list->usize); in iwulist_clone() 265 return list->array + index * list->usize; in iwulist_at() 273 return list->array + index * list->usize; in iwulist_at2() 280 void *nptr = realloc(list->array, anum * list->usize); in iwulist_push() [all …]
|