Home
last modified time | relevance | path

Searched refs:Array (Results 1 – 25 of 1440) sorted by relevance

12345678910>>...58

/third_party/vk-gl-cts/modules/gles3/functional/
Des3fVertexArrayTest.cpp41 SingleVertexArrayUsageGroup (Context& context, Array::Usage usage);
50 Array::Usage m_usage;
53 SingleVertexArrayUsageGroup::SingleVertexArrayUsageGroup (Context& context, Array::Usage usage) in SingleVertexArrayUsageGroup()
54 …: TestCaseGroup (context, Array::usageTypeToString(usage).c_str(), Array::usageTypeToString(usage)… in SingleVertexArrayUsageGroup()
75Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init()
83 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 … in init()
84 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init()
85 …const std::string name = "stride" + typeToString(stride) + "_" + Array::inputTypeToString(inputTyp… in init()
88 Array::OUTPUTTYPE_VEC2, in init()
89 Array::STORAGE_BUFFER, in init()
[all …]
/third_party/vk-gl-cts/modules/gles3/stress/
Des3sVertexArrayTests.cpp44 SingleVertexArrayUsageGroup (Context& context, Array::Usage usage);
53 Array::Usage m_usage;
56 SingleVertexArrayUsageGroup::SingleVertexArrayUsageGroup (Context& context, Array::Usage usage) in SingleVertexArrayUsageGroup()
57 …: TestCaseGroup (context, Array::usageTypeToString(usage).c_str(), Array::usageTypeToString(usage)… in SingleVertexArrayUsageGroup()
78Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init()
86 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 … in init()
87 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init()
88 …const std::string name = "stride" + typeToString(stride) + "_" + Array::inputTypeToString(inputTyp… in init()
91 Array::OUTPUTTYPE_VEC2, in init()
92 Array::STORAGE_BUFFER, in init()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fVertexArrayTest.cpp72Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMI… in init()
75Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init()
86 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init()
87 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init()
89 Array::OUTPUTTYPE_VEC2, in init()
90 Array::STORAGE_BUFFER, in init()
100 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
140Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_… in init()
141 Array::Storage storages[] = {Array::STORAGE_USER, Array::STORAGE_BUFFER}; in init()
155 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init()
[all …]
/third_party/typescript/tests/baselines/reference/
DrestParametersWithArrayTypeAnnotations.types73 function foo2(...x: Array<string>) { }
74 >foo2 : (...x: Array<string>) => void
77 var f3 = function foo(...x: Array<string>) { }
78 >f3 : (...x: Array<string>) => void
79 >function foo(...x: Array<string>) { } : (...x: Array<string>) => void
80 >foo : (...x: Array<string>) => void
83 var f4 = (...x: Array<string>, ...y: Array<string>) => { }
84 >f4 : (...x: Array<string>, ...y: Array<string>) => void
85 >(...x: Array<string>, ...y: Array<string>) => { } : (...x: Array<string>, ...y: Array<string>) => …
92 foo(...x: Array<string>) { }
[all …]
DarrayConstructors1.types5 x = new Array(1);
6 >x = new Array(1) : any[]
8 >new Array(1) : any[]
9 >Array : ArrayConstructor
12 x = new Array('hi', 'bye');
13 >x = new Array('hi', 'bye') : string[]
15 >new Array('hi', 'bye') : string[]
16 >Array : ArrayConstructor
20 x = new Array<string>('hi', 'bye');
21 >x = new Array<string>('hi', 'bye') : string[]
[all …]
DpropertyAccessExpressionInnerComments.types2 /*1*/Array/*2*/./*3*/toString/*4*/
3 >Array/*2*/./*3*/toString : () => string
4 >Array : ArrayConstructor
7 /*1*/Array
8 >Array/*2*/./*3*/ // Single-line comment toString : () => string
9 >Array : ArrayConstructor
16 /*1*/Array/*2*/./*3*/
17 >Array/*2*/./*3*/ // Single-line comment toString : () => string
18 >Array : ArrayConstructor
24 /*1*/Array
[all …]
DpropertyAccessExpressionInnerComments.symbols2 /*1*/Array/*2*/./*3*/toString/*4*/
3 >Array/*2*/./*3*/toString : Symbol(Function.toString, Decl(lib.es5.d.ts, --, --))
4 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
7 /*1*/Array
8 >Array/*2*/./*3*/ // Single-line comment toString : Symbol(Function.toString, Decl(lib.es5.d.…
9 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
16 /*1*/Array/*2*/./*3*/
17 >Array/*2*/./*3*/ // Single-line comment toString : Symbol(Function.toString, Decl(lib.es5.d.…
18 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
24 /*1*/Array
[all …]
Dlibrary_ArraySlice.symbols2 // Array.prototype.slice can have zero, one, or two arguments
3 Array.prototype.slice();
4 >Array.prototype.slice : Symbol(Array.slice, Decl(lib.es5.d.ts, --, --))
5 >Array.prototype : Symbol(ArrayConstructor.prototype, Decl(lib.es5.d.ts, --, --))
6 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
8 >slice : Symbol(Array.slice, Decl(lib.es5.d.ts, --, --))
10 Array.prototype.slice(0);
11 >Array.prototype.slice : Symbol(Array.slice, Decl(lib.es5.d.ts, --, --))
12 >Array.prototype : Symbol(ArrayConstructor.prototype, Decl(lib.es5.d.ts, --, --))
13 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
[all …]
DrestParametersWithArrayTypeAnnotations.symbols70 function foo2(...x: Array<string>) { }
73 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
75 var f3 = function foo(...x: Array<string>) { }
79 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
81 var f4 = (...x: Array<string>, ...y: Array<string>) => { }
84 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
86 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
91 foo(...x: Array<string>) { }
94 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
100 (...x: Array<string>);
[all …]
DdeeplyDependentLargeArrayMutation.symbols11 >arr.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
13 >length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
17 >arr.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
19 >length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
23 >arr.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
25 >length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
29 >arr.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
31 >length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
35 >arr.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
37 >length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
[all …]
Dlibrary_ArraySlice.types2 // Array.prototype.slice can have zero, one, or two arguments
3 Array.prototype.slice();
4 >Array.prototype.slice() : any[]
5 >Array.prototype.slice : (start?: number, end?: number) => any[]
6 >Array.prototype : any[]
7 >Array : ArrayConstructor
11 Array.prototype.slice(0);
12 >Array.prototype.slice(0) : any[]
13 >Array.prototype.slice : (start?: number, end?: number) => any[]
14 >Array.prototype : any[]
[all …]
DarrayConstructors1.symbols5 x = new Array(1);
7 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
9 x = new Array('hi', 'bye');
11 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
13 x = new Array<string>('hi', 'bye');
15 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
20 y = new Array(1);
22 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
24 y = new Array(1,2);
26 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
[all …]
DcontrolFlowArrays.symbols31 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
33 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
36 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
38 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
41 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
43 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
59 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
61 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
77 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
79 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
[all …]
DkeywordExpressionInternalComments.types2 /*1*/ new /*2*/ Array /*3*/;
3 >new /*2*/ Array : any[]
4 >Array : ArrayConstructor
6 /*1*/ typeof /*2*/ Array /*3*/;
7 >typeof /*2*/ Array : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object…
8 >Array : ArrayConstructor
10 /*1*/ void /*2*/ Array /*3*/;
11 >void /*2*/ Array : undefined
12 >Array : ArrayConstructor
14 /*1*/ delete /*2*/ Array.toString /*3*/;
[all …]
DkeywordExpressionInternalComments.symbols2 /*1*/ new /*2*/ Array /*3*/;
3 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
5 /*1*/ typeof /*2*/ Array /*3*/;
6 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
8 /*1*/ void /*2*/ Array /*3*/;
9 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
11 /*1*/ delete /*2*/ Array.toString /*3*/;
12 >Array.toString : Symbol(Function.toString, Decl(lib.es5.d.ts, --, --))
13 >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
DinstanceOfAssignability.types44 function fn1(x: Array<number>|Array<string>|boolean) {
45 >fn1 : (x: Array<number> | Array<string> | boolean) => void
48 if(x instanceof Array) {
49 >x instanceof Array : boolean
51 >Array : ArrayConstructor
53 // 1.5: y: Array<number>|Array<string>
54 // Want: y: Array<number>|Array<string>
146 function fn7(x: Array<number>|Array<string>) {
147 >fn7 : (x: Array<number> | Array<string>) => void
150 if(x instanceof Array) {
[all …]
DarrayLiteral.types8 var x = new Array(1);
10 >new Array(1) : any[]
11 >Array : ArrayConstructor
25 var y = new Array<number>();
27 >new Array<number>() : number[]
28 >Array : ArrayConstructor
34 var x2: number[] = new Array(1);
36 >new Array(1) : any[]
37 >Array : ArrayConstructor
51 var y2: number[] = new Array<number>();
[all …]
DprototypePropertyAssignmentMergeWithInterfaceMethod.types5 attach(query: query.Builder): Promise<Array<Object>>
6 >attach : (query: any) => Promise<Array<Object>>
10 begin(scope: Array<schema.Table>): Promise<void>
11 >begin : (scope: Array<schema.Table>) => Promise<void>
18 exec(queries: Array<query.Builder>): Promise<Array<Array<Object>>>
19 >exec : (queries: Array<query.Builder>) => Promise<Array<Array<Object>>>
39 * @param {!Array<!lf.schema.Table>} scope
43 >lf.Transaction.prototype.begin = function(scope) {} : (scope: Array<any>) => any
51 >function(scope) {} : (scope: Array<any>) => any
DarrayFrom.types2 // Tests fix for #20432, ensures Array.from accepts all valid inputs
41 const result1: A[] = Array.from(inputA);
43 >Array.from(inputA) : A[]
44 >Array.from : { <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k:…
45 >Array : ArrayConstructor
49 const result2: A[] = Array.from(inputA.values());
51 >Array.from(inputA.values()) : A[]
52 >Array.from : { <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k:…
53 >Array : ArrayConstructor
60 const result3: B[] = Array.from(inputA.values()); // expect error
[all …]
/third_party/vk-gl-cts/modules/gles2/stress/
Des2sVertexArrayTests.cpp73Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMI… in init()
76Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init()
87 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init()
88 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init()
90 Array::OUTPUTTYPE_VEC2, in init()
91 Array::STORAGE_BUFFER, in init()
101 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
141Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_… in init()
142 Array::Storage storages[] = {Array::STORAGE_BUFFER}; in init()
156 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsVertexArrayTests.cpp67 std::string Array::targetToString(Target target) in targetToString()
75 return de::getSizedArrayElement<Array::TARGET_LAST>(targets, (int)target); in targetToString()
78 std::string Array::inputTypeToString(InputType type) in inputTypeToString()
99 return de::getSizedArrayElement<Array::INPUTTYPE_LAST>(types, (int)type); in inputTypeToString()
102 std::string Array::outputTypeToString(OutputType type) in outputTypeToString()
123 return de::getSizedArrayElement<Array::OUTPUTTYPE_LAST>(types, (int)type); in outputTypeToString()
126 std::string Array::usageTypeToString(Usage usage) in usageTypeToString()
144 return de::getSizedArrayElement<Array::USAGE_LAST>(usages, (int)usage); in usageTypeToString()
147 std::string Array::storageToString (Storage storage) in storageToString()
155 return de::getSizedArrayElement<Array::STORAGE_LAST>(storages, (int)storage); in storageToString()
[all …]
DglsVertexArrayTests.hpp53 class Array class
151 virtual ~Array (void) {} in ~Array()
169 class ContextArray : public Array
177 virtual void bindIndexArray (Array::Target storage);
182 virtual Array::Target getTarget (void) const { return m_target; } in getTarget()
183 virtual Array::InputType getInputType (void) const { return m_inputType; } in getInputType()
184 virtual Array::OutputType getOutputType (void) const { return m_outputType; } in getOutputType()
185 virtual Array::Storage getStorageType (void) const { return m_storage; } in getStorageType()
192 static deUint32 targetToGL (Array::Target target);
193 static deUint32 usageToGL (Array::Usage usage);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryStreamArray.h157 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, in VarStreamArrayIterator() argument
159 : IterRef(Array.Stream.drop_front(Offset)), Extract(E), in VarStreamArrayIterator()
160 Array(&Array), AbsOffset(Offset), HadError(HadError) { in VarStreamArrayIterator()
177 if (Array && R.Array) {
179 assert(Array == R.Array);
184 if (!Array && !R.Array)
192 assert(Array && !HasError);
197 assert(Array && !HasError);
231 Array = nullptr; in moveToEnd()
244 const ArrayType *Array{nullptr};
[all …]
/third_party/skia/third_party/externals/tint/src/ast/
Darray.cc21 TINT_INSTANTIATE_TYPEINFO(tint::ast::Array);
42 Array::Array(ProgramID pid, in Array() function in tint::ast::Array
49 Array::Array(Array&&) = default;
51 Array::~Array() = default;
53 std::string Array::FriendlyName(const SymbolTable& symbols) const { in FriendlyName()
68 const Array* Array::Clone(CloneContext* ctx) const { in Clone()
74 return ctx->dst->create<Array>(src, ty, cnt, decos); in Clone()
/third_party/spirv-tools/test/opt/
Dtypes_test.cpp84 TestMultipleInstancesOfTheSameTypeQualified(Array, LenConstant, u32_t_.get(), in TestMultipleInstancesOfTheSameType()
85 Array::LengthInfo{42, in TestMultipleInstancesOfTheSameType()
91 TestMultipleInstancesOfTheSameTypeQualified(Array, LenSpecId, u32_t_.get(),
92 Array::LengthInfo{42, {1, 99}})
94 TestMultipleInstancesOfTheSameTypeQualified(Array, LenDefiningId, u32_t_.get(),
95 Array::LengthInfo{42, {2, 42}})
178 types.emplace_back(new Array(f32, Array::LengthInfo{99u, {0, 42u}}));
181 types.emplace_back(new Array(f32, Array::LengthInfo{99u, {0, 44u}}));
183 types.emplace_back(new Array(u64, Array::LengthInfo{100u, {0, 42u, 0u}}));
185 types.emplace_back(new Array(u64, Array::LengthInfo{100u, {0, 44u, 0u}}));
[all …]

12345678910>>...58