Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 5665) sorted by relevance

12345678910>>...227

/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstqueuearray.c43 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/pulseaudio/src/pulsecore/
Ddynarray.c39 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/protobuf/objectivec/Tests/
DGPBArrayTests.m101 //% 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/glslang/Test/baseResults/
D430AofA.frag.out2 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 …]
DmixedArrayDecls.frag.out8 …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 …]
D310AofA.vert.out2 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 …]
Dstructure.frag.out18 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…
20array 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…
38array 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 …]
DruntimeArray.vert.out2 …[]' : assuming binding count of one for compile-time checking of binding numbers for unsized array
3 …[]' : assuming binding count of one for compile-time checking of binding numbers for unsized array
4 …[]' : assuming binding count of one for compile-time checking of binding numbers for unsized array
5 …[]' : assuming binding count of one for compile-time checking of binding numbers for unsized array
6 …[]' : assuming binding count of one for compile-time checking of binding numbers for unsized array
7 …[]' : assuming binding count of one for compile-time checking of binding numbers for unsized array
8 ERROR: 0:61: '[' : array must be redeclared with a size before being indexed with a variable
9 ERROR: 0:62: '[' : array must be redeclared with a size before being indexed with a variable
10 ERROR: 0:63: '[' : array must be redeclared with a size before being indexed with a variable
11 ERROR: 0:66: 'length' : array must be declared with a size before using this method
[all …]
Dglsl.460.subgroup.mesh.out358array of float ClipDistance gl_ClipDistance, out unsized 3-element array of float CullDistance gl…
359array of block{ out 4-component vector of float Position gl_Position, out float PointSize gl_Poin…
370array of float ClipDistance gl_ClipDistance, out unsized 3-element array of float CullDistance gl…
371array of block{ out 4-component vector of float Position gl_Position, out float PointSize gl_Poin…
379 0:127 gl_ClipDistance: direct index for structure ( out unsized 4-element array of float C…
380array of float ClipDistance gl_ClipDistance, out unsized 3-element array of float CullDistance gl…
381array of block{ out 4-component vector of float Position gl_Position, out float PointSize gl_Poin…
391 0:128 gl_CullDistance: direct index for structure ( out unsized 3-element array of float C…
392array of float ClipDistance gl_ClipDistance, out unsized 3-element array of float CullDistance gl…
393array of block{ out 4-component vector of float Position gl_Position, out float PointSize gl_Poin…
[all …]
Ddecls.frag.out48 0:14 move second child to first child ( temp 4-element array of int)
49 0:14 'ii4' ( global 4-element array of int)
56 0:15 move second child to first child ( temp 5-element array of int)
57 0:15 'ik5' ( global 5-element array of int)
65 0:16 move second child to first child ( temp 2-element array of int)
66 0:16 'im2' ( global 2-element array of int)
70 0:16 move second child to first child ( temp 3-element array of int)
71 0:16 'im3' ( global 3-element array of int)
77 0:17 move second child to first child ( temp 4-element array of int)
78 0:17 'in8' ( global 4-element array of int)
[all …]
Dhlsl.clipdistance-2.geom.out10 0:11 'pos' ( in 3-element array of 4-component vector of float)
11 0:11 'VertexID' ( in 3-element array of uint)
12 …m' ( out structure{ temp 4-component vector of float pos, temp 2-element array of 2-component vec…
13 0:11 'clip' ( in 3-element array of 2-element array of 2-component vector of float)
17 0:14 's' ( temp structure{ temp 4-component vector of float pos, temp 2-element array of …
21 0:14 'pos' ( in 3-element array of 4-component vector of float)
26 0:15 clip: direct index for structure ( temp 2-element array of 2-component vector of floa…
27 0:15 's' ( temp structure{ temp 4-component vector of float pos, temp 2-element array o…
33 0:15 direct index ( temp 2-element array of 2-component vector of float)
34 0:15 'clip' ( in 3-element array of 2-element array of 2-component vector of float)
[all …]
Darray.frag.out1 array.frag
2 ERROR: 0:21: '[' : array index out of range '2'
3 ERROR: 0:27: '[' : array must be redeclared with a size before being indexed with a variable
4 …30: 'assign' : cannot convert from ' global 4-element array of float' to ' global 5-element array
5 …: 'assign' : cannot convert from ' global 4-element array of float' to ' global runtime-sized arr…
7 ERROR: 0:42: '[' : array index out of range '5'
8 ERROR: 0:45: '[' : array index out of range '1000'
10 ERROR: 0:52: '[' : array index out of range '2'
12 ERROR: 0:56: '=' : cannot convert from ' const 2-element array of int' to ' temp 3-element array o…
16 ERROR: 0:61: '' : array size required
[all …]
Dprecise_struct_block.vert.out86array of structure{ temp 3-element array of float t1_array, temp float t1_scalar} t1a, temp 6-el…
87array of structure{ temp float f, temp structure{ temp 5-element array of structure{ temp 3-eleme…
98array of structure{ temp 3-element array of float t1_array, temp float t1_scalar} t1a, temp 6-el…
99array of structure{ temp float f, temp structure{ temp 5-element array of structure{ temp 3-eleme…
111array of structure{ temp 3-element array of float t1_array, temp float t1_scalar} t1a, temp 6-el…
112array of structure{ temp float f, temp structure{ temp 5-element array of structure{ temp 3-eleme…
150 0:49 t1_array: direct index for structure ( temp 3-element array of floa…
151 0:49 indirect index ( temp structure{ temp 3-element array of float t1…
152 … t1a: direct index for structure ( temp 5-element array of structure{ temp 3-element array o…
153array of structure{ temp 3-element array of float t1_array, temp float t1_scalar} t1a, temp 6-el…
[all …]
/third_party/skia/third_party/externals/tint/test/array/
Dtype_constructor.wgsl.expected.wgsl4 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>();
8array<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 …]
Dtype_constructor.wgsl6 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/
Dqueuearray.c37 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/python/Lib/test/
Dtest_array.py16 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/mesa3d/src/egl/main/
Deglarray.c41 _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/jerryscript/tests/jerry/
Darray-prototype-splice.js22 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/jerryscript/tests/jerry/es2015/
Darray-prototype-copywithin.js18 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/
DUSerializedSet.java34 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUSerializedSet.java32 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/mesa3d/src/compiler/glsl/
Dast_array_index.cpp83 deref_array = deref_array->array->as_dereference_array(); in update_max_array_access()
86 deref_var = deref_array_prev->array->as_dereference_variable(); in update_max_array_access()
117 ir_rvalue *array) in get_implicit_array_size() argument
119 ir_variable *var = array->variable_referenced(); in get_implicit_array_size()
145 ir_rvalue *array, ir_rvalue *idx, in _mesa_ast_array_index_to_hir() argument
148 if (!array->type->is_error() in _mesa_ast_array_index_to_hir()
149 && !array->type->is_array() in _mesa_ast_array_index_to_hir()
150 && !array->type->is_matrix() in _mesa_ast_array_index_to_hir()
151 && !array->type->is_vector()) { in _mesa_ast_array_index_to_hir()
184 if (array->type->is_matrix()) { in _mesa_ast_array_index_to_hir()
[all …]
/third_party/python/Doc/library/
Darray.rst1 :mod:`array` --- Efficient arrays of numeric values
4 .. module:: array
11 This module defines an object type which can compactly represent an array of
54 ``array('u')`` now uses ``wchar_t`` as C type instead of deprecated
68 .. class:: array(typecode[, initializer])
70 A new array whose items are restricted by *typecode*, and initialized
75 If given a list or string, the initializer is passed to the new array's
77 to add initial items to the array. Otherwise, the iterable initializer is
80 .. audit-event:: array.__new__ typecode,initializer array.array
88 value must be an array object with the same type code; in all other cases,
[all …]
/third_party/vk-gl-cts/framework/delibs/depool/
DdePoolHeap.h63 TYPENAME##Array* array; \
80 heap->array = TYPENAME##Array_create(pool); \
81 if (!heap->array) \
88 return TYPENAME##Array_getNumElements(heap->array); \
93 return TYPENAME##Array_reserve(heap->array, capacity); \
98 TYPENAME##Array_setSize(heap->array, 0); \
103 TYPENAME##Array* array = heap->array; \
104 int numElements = TYPENAME##Array_getNumElements(array); \
111 …int childCmpRes = CMPFUNC(TYPENAME##Array_get(array, childNdx0), TYPENAME##Array_get(array, childN…
113 … int cmpRes = CMPFUNC(TYPENAME##Array_get(array, ndx), TYPENAME##Array_get(array, minChildNdx)); \
[all …]

12345678910>>...227