Home
last modified time | relevance | path

Searched refs:assign (Results 1 – 25 of 2503) sorted by relevance

12345678910>>...101

/third_party/typescript/tests/baselines/reference/
DrestTupleElements1.js18 declare function assign<T, S extends T>(): void;
20 assign<number[], [...number[]]>();
21 assign<number[], [number, ...number[]]>();
22 assign<[...number[]], number[]>();
24 assign<[number, ...number[]], number[]>(); // Error
25 assign<[number, ...number[]], []>(); // Error
26 assign<[number, ...number[]], [number]>();
27 assign<[number, ...number[]], [number, number]>();
28 assign<[number, ...number[]], [number, number, ...number[]]>();
30 assign<[number], [...number[]]>(); // Error
[all …]
DconstDeclarations-access2.errors.txt1 tests/cases/compiler/constDeclarations-access2.ts(4,1): error TS2588: Cannot assign to 'x' because …
2 tests/cases/compiler/constDeclarations-access2.ts(5,1): error TS2588: Cannot assign to 'x' because …
3 tests/cases/compiler/constDeclarations-access2.ts(6,1): error TS2588: Cannot assign to 'x' because …
4 tests/cases/compiler/constDeclarations-access2.ts(7,1): error TS2588: Cannot assign to 'x' because …
5 tests/cases/compiler/constDeclarations-access2.ts(8,1): error TS2588: Cannot assign to 'x' because …
6 tests/cases/compiler/constDeclarations-access2.ts(9,1): error TS2588: Cannot assign to 'x' because …
7 tests/cases/compiler/constDeclarations-access2.ts(10,1): error TS2588: Cannot assign to 'x' because…
8 tests/cases/compiler/constDeclarations-access2.ts(11,1): error TS2588: Cannot assign to 'x' because…
9 tests/cases/compiler/constDeclarations-access2.ts(12,1): error TS2588: Cannot assign to 'x' because…
10 tests/cases/compiler/constDeclarations-access2.ts(13,1): error TS2588: Cannot assign to 'x' because…
[all …]
DrestTupleElements1.types44 declare function assign<T, S extends T>(): void;
45 >assign : <T, S extends T>() => void
47 assign<number[], [...number[]]>();
48 >assign<number[], [...number[]]>() : void
49 >assign : <T, S extends T>() => void
51 assign<number[], [number, ...number[]]>();
52 >assign<number[], [number, ...number[]]>() : void
53 >assign : <T, S extends T>() => void
55 assign<[...number[]], number[]>();
56 >assign<[...number[]], number[]>() : void
[all …]
DconstDeclarations-access4.errors.txt1 tests/cases/compiler/constDeclarations-access4.ts(6,3): error TS2540: Cannot assign to 'x' because …
2 tests/cases/compiler/constDeclarations-access4.ts(7,3): error TS2540: Cannot assign to 'x' because …
3 tests/cases/compiler/constDeclarations-access4.ts(8,3): error TS2540: Cannot assign to 'x' because …
4 tests/cases/compiler/constDeclarations-access4.ts(9,3): error TS2540: Cannot assign to 'x' because …
5 tests/cases/compiler/constDeclarations-access4.ts(10,3): error TS2540: Cannot assign to 'x' because…
6 tests/cases/compiler/constDeclarations-access4.ts(11,3): error TS2540: Cannot assign to 'x' because…
7 tests/cases/compiler/constDeclarations-access4.ts(12,3): error TS2540: Cannot assign to 'x' because…
8 tests/cases/compiler/constDeclarations-access4.ts(13,3): error TS2540: Cannot assign to 'x' because…
9 tests/cases/compiler/constDeclarations-access4.ts(14,3): error TS2540: Cannot assign to 'x' because…
10 tests/cases/compiler/constDeclarations-access4.ts(15,3): error TS2540: Cannot assign to 'x' because…
[all …]
DconstDeclarations-access3.errors.txt1 tests/cases/compiler/constDeclarations-access3.ts(6,3): error TS2540: Cannot assign to 'x' because …
2 tests/cases/compiler/constDeclarations-access3.ts(7,3): error TS2540: Cannot assign to 'x' because …
3 tests/cases/compiler/constDeclarations-access3.ts(8,3): error TS2540: Cannot assign to 'x' because …
4 tests/cases/compiler/constDeclarations-access3.ts(9,3): error TS2540: Cannot assign to 'x' because …
5 tests/cases/compiler/constDeclarations-access3.ts(10,3): error TS2540: Cannot assign to 'x' because…
6 tests/cases/compiler/constDeclarations-access3.ts(11,3): error TS2540: Cannot assign to 'x' because…
7 tests/cases/compiler/constDeclarations-access3.ts(12,3): error TS2540: Cannot assign to 'x' because…
8 tests/cases/compiler/constDeclarations-access3.ts(13,3): error TS2540: Cannot assign to 'x' because…
9 tests/cases/compiler/constDeclarations-access3.ts(14,3): error TS2540: Cannot assign to 'x' because…
10 tests/cases/compiler/constDeclarations-access3.ts(15,3): error TS2540: Cannot assign to 'x' because…
[all …]
DconstDeclarations-access5.errors.txt1 tests/cases/compiler/constDeclarations_access_2.ts(4,3): error TS2540: Cannot assign to 'x' because…
2 tests/cases/compiler/constDeclarations_access_2.ts(5,3): error TS2540: Cannot assign to 'x' because…
3 tests/cases/compiler/constDeclarations_access_2.ts(6,3): error TS2540: Cannot assign to 'x' because…
4 tests/cases/compiler/constDeclarations_access_2.ts(7,3): error TS2540: Cannot assign to 'x' because…
5 tests/cases/compiler/constDeclarations_access_2.ts(8,3): error TS2540: Cannot assign to 'x' because…
6 tests/cases/compiler/constDeclarations_access_2.ts(9,3): error TS2540: Cannot assign to 'x' because…
7 tests/cases/compiler/constDeclarations_access_2.ts(10,3): error TS2540: Cannot assign to 'x' becaus…
8 tests/cases/compiler/constDeclarations_access_2.ts(11,3): error TS2540: Cannot assign to 'x' becaus…
9 tests/cases/compiler/constDeclarations_access_2.ts(12,3): error TS2540: Cannot assign to 'x' becaus…
10 tests/cases/compiler/constDeclarations_access_2.ts(13,3): error TS2540: Cannot assign to 'x' becaus…
[all …]
DarithAssignTyping.errors.txt1 tests/cases/compiler/arithAssignTyping.ts(3,1): error TS2539: Cannot assign to 'f' because it is no…
2 tests/cases/compiler/arithAssignTyping.ts(4,1): error TS2539: Cannot assign to 'f' because it is no…
3 tests/cases/compiler/arithAssignTyping.ts(5,1): error TS2539: Cannot assign to 'f' because it is no…
4 tests/cases/compiler/arithAssignTyping.ts(6,1): error TS2539: Cannot assign to 'f' because it is no…
5 tests/cases/compiler/arithAssignTyping.ts(7,1): error TS2539: Cannot assign to 'f' because it is no…
6 tests/cases/compiler/arithAssignTyping.ts(8,1): error TS2539: Cannot assign to 'f' because it is no…
7 tests/cases/compiler/arithAssignTyping.ts(9,1): error TS2539: Cannot assign to 'f' because it is no…
8 tests/cases/compiler/arithAssignTyping.ts(10,1): error TS2539: Cannot assign to 'f' because it is n…
9 tests/cases/compiler/arithAssignTyping.ts(11,1): error TS2539: Cannot assign to 'f' because it is n…
10 tests/cases/compiler/arithAssignTyping.ts(12,1): error TS2539: Cannot assign to 'f' because it is n…
[all …]
DrestTupleElements1.symbols45 declare function assign<T, S extends T>(): void;
46 >assign : Symbol(assign, Decl(restTupleElements1.ts, 14, 25))
51 assign<number[], [...number[]]>();
52 >assign : Symbol(assign, Decl(restTupleElements1.ts, 14, 25))
54 assign<number[], [number, ...number[]]>();
55 >assign : Symbol(assign, Decl(restTupleElements1.ts, 14, 25))
57 assign<[...number[]], number[]>();
58 >assign : Symbol(assign, Decl(restTupleElements1.ts, 14, 25))
60 assign<[number, ...number[]], number[]>(); // Error
61 >assign : Symbol(assign, Decl(restTupleElements1.ts, 14, 25))
[all …]
/third_party/typescript/tests/cases/conformance/types/tuple/
DrestTupleElements1.ts20 declare function assign<T, S extends T>(): void; function
22 assign<number[], [...number[]]>();
23 assign<number[], [number, ...number[]]>();
24 assign<[...number[]], number[]>();
26 assign<[number, ...number[]], number[]>(); // Error
27 assign<[number, ...number[]], []>(); // Error
28 assign<[number, ...number[]], [number]>();
29 assign<[number, ...number[]], [number, number]>();
30 assign<[number, ...number[]], [number, number, ...number[]]>();
32 assign<[number], [...number[]]>(); // Error
[all …]
/third_party/boost/boost/multi_index/detail/
Dhash_index_node.hpp274 default_assigner assign; in unlink() local
275 unlink(x,assign); in unlink()
281 static void unlink(pointer x,Assigner& assign) in unlink()
285 assign(x->prior()->next()->prior(),pointer(0)); in unlink()
286 assign(x->prior()->next(),x->next()); in unlink()
287 assign(x->next()->prior()->prior(),x->prior()); in unlink()
290 assign(x->prior()->next()->prior(),pointer_from(x->next())); in unlink()
291 assign(x->next()->prior(),x->prior()); in unlink()
295 assign(x->prior()->next(),x->next()); in unlink()
296 assign(x->next()->prior()->prior(),x->prior()); in unlink()
[all …]
/third_party/skia/resources/sksl/shared/
DAssignment.sksl14 /* assign to scalar */ int i; i = 0;
15 /* assign to vector */ int4 i4; i4 = int4(1,2,3,4);
16 /* assign to matrix */ float3x3 f3x3; f3x3 = float3x3(1,2,3,4,5,6,7,8,9);
17 /* assign to swizzle */ half4 x; x.w = 0; x.yx = half2(0);
18 /* assign to array of scalar */ int ai[1]; ai[0] = 0;
19 /* assign to array of vector */ int4 ai4[1]; ai4[0] = int4(1,2,3,4);
20 /* assign to array of matrix */ half3x3 ah2x4[1]; ah2x4[0] = half3x3(1,2,3,4,5,6,7,8,9);
21 /* assign to array swizzle */ float4 af4[1]; af4[0].x = 0; af4[0].ywxz = float4(1);
23 /* assign to struct variable */ S s; s.f = 0;
24 /* assign to struct array */ s.af[1] = 0;
[all …]
/third_party/boost/libs/assign/test/
DJamfile.v28 # For more information, see http://www.boost.org/libs/assign/
14 rule assign-test ( name )
30 local headers_path = [ path.make $(BOOST_ROOT)/libs/assign/include/boost/assign ] ;
31 for file in [ path.glob-tree $(headers_path) : *.hpp : assign ]
42 local tests_path = [ path.make $(BOOST_ROOT)/libs/assign/test/compile-fail ] ;
57 test-suite assign :
59 [ assign-test basic ]
60 [ assign-test std ]
61 [ assign-test array ]
62 [ assign-test list_of ]
[all …]
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_assign_test.cc28 auto* assign = Assign("var", 1.f); in TEST_F() local
30 WrapInFunction(assign); in TEST_F()
38 EXPECT_TRUE(b.GenerateAssignStatement(assign)) << b.error(); in TEST_F()
56 auto* assign = Assign("var", Expr(1.f)); in TEST_F() local
58 WrapInFunction(assign); in TEST_F()
65 EXPECT_FALSE(b.GenerateAssignStatement(assign)) << b.error(); in TEST_F()
76 auto* assign = Assign("var", val); in TEST_F() local
78 WrapInFunction(assign); in TEST_F()
86 EXPECT_TRUE(b.GenerateAssignStatement(assign)) << b.error(); in TEST_F()
106 auto* assign = Assign("var", init); in TEST_F() local
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DTokenizer.l144 yylval->assign(1, yytext[0]);
149 yylval->assign(yytext, yyleng);
154 yylval->assign(yytext, yyleng);
159 yylval->assign(yytext, yyleng);
166 yylval->assign(yytext, yyleng);
171 yylval->assign(yytext, yyleng);
175 yylval->assign(yytext, yyleng);
179 yylval->assign(yytext, yyleng);
183 yylval->assign(yytext, yyleng);
187 yylval->assign(yytext, yyleng);
[all …]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
DRangeTableTest.java82 table.assign(TYPE, MOBILE, ranges("1[234]xxxx"), OverwriteMode.ALWAYS); in testBasicAssign()
85 table.assign(TYPE, null, ranges("13xxxx"), OverwriteMode.ALWAYS); in testBasicAssign()
91 table.assign(fixedLine, ranges("14xxxx"), OverwriteMode.ALWAYS); in testBasicAssign()
96 table.assign(fixedLine, ranges("1[34]xxxx"), OverwriteMode.SAME); in testBasicAssign()
102 () -> table.assign(fixedLine, ranges("1[23]xxxx"), OverwriteMode.SAME)); in testBasicAssign()
105 table.assign(fixedLine, ranges("15xxxx"), OverwriteMode.NEVER); in testBasicAssign()
111 () -> table.assign(fixedLine, ranges("15xxxx"), OverwriteMode.NEVER)); in testBasicAssign()
116 () -> table.assign(TYPE, null, ranges("123"), OverwriteMode.SAME)); in testBasicAssign()
118 () -> table.assign(TYPE, null, ranges("123"), OverwriteMode.NEVER)); in testBasicAssign()
125 .apply(assign( in testApplyChanges()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dlower_packing_builtins.cpp215 factory.emit(assign(u, uvec2_rval)); in pack_uvec2_to_uint()
246 factory.emit(assign(u, uvec4_rval)); in pack_uvec4_to_uint()
257 factory.emit(assign(u, bit_and(uvec4_rval, constant(0xffu)))); in pack_uvec4_to_uint()
281 factory.emit(assign(u, uint_rval)); in unpack_uint_to_uvec2()
288 factory.emit(assign(u2, bit_and(u, constant(0xffffu)), WRITEMASK_X)); in unpack_uint_to_uvec2()
291 factory.emit(assign(u2, rshift(u, constant(16u)), WRITEMASK_Y)); in unpack_uint_to_uvec2()
315 factory.emit(assign(i, u2i(uint_rval))); in unpack_uint_to_ivec2()
321 factory.emit(assign(i2, bitfield_extract(i, constant(0), constant(16)), in unpack_uint_to_ivec2()
323 factory.emit(assign(i2, bitfield_extract(i, constant(16), constant(16)), in unpack_uint_to_ivec2()
344 factory.emit(assign(u, uint_rval)); in unpack_uint_to_uvec4()
[all …]
/third_party/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp81 body->emit(assign(var_c, add(var_a, var_b))); in TEST_F()
92 ir_assignment *const assign = ir->as_assignment(); in TEST_F() local
93 ASSERT_NE((void *)0, assign); in TEST_F()
95 EXPECT_EQ(var_c, assign->lhs->variable_referenced()); in TEST_F()
97 ir_expression *const expr = assign->rhs->as_expression(); in TEST_F()
114 body->emit(assign(var_c, add(var_a, neg(var_b)))); in TEST_F()
125 ir_assignment *const assign = ir->as_assignment(); in TEST_F() local
126 ASSERT_NE((void *)0, assign); in TEST_F()
128 EXPECT_EQ(var_c, assign->lhs->variable_referenced()); in TEST_F()
130 ir_expression *const expr = assign->rhs->as_expression(); in TEST_F()
[all …]
/third_party/ffmpeg/libavcodec/x86/
Dac3dsp_downmix.asm38 %assign in_channels %1
39 %assign out_channels %2
40 %assign stereo out_channels - 1
43 %assign matrix_elements in_channels * out_channels
45 %assign needed_mmregs 4
47 %assign needed_mmregs 3
49 %assign matrix_elements_mm num_mmregs - needed_mmregs
51 %assign matrix_elements_mm matrix_elements
53 %assign total_mmregs needed_mmregs+matrix_elements_mm
55 %assign matrix_elements_stack matrix_elements - matrix_elements_mm
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DTokenizer.l136 yylval->assign(1, yytext[0]);
141 yylval->assign(yytext, yyleng);
146 yylval->assign(yytext, yyleng);
151 yylval->assign(yytext, yyleng);
158 yylval->assign(yytext, yyleng);
163 yylval->assign(yytext, yyleng);
167 yylval->assign(yytext, yyleng);
171 yylval->assign(yytext, yyleng);
175 yylval->assign(yytext, yyleng);
179 yylval->assign(yytext, yyleng);
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
Dpreprocessor.l144 yylval->assign(1, yytext[0]);
149 yylval->assign(yytext, yyleng);
154 yylval->assign(yytext, yyleng);
159 yylval->assign(yytext, yyleng);
166 yylval->assign(yytext, yyleng);
171 yylval->assign(yytext, yyleng);
175 yylval->assign(yytext, yyleng);
179 yylval->assign(yytext, yyleng);
183 yylval->assign(yytext, yyleng);
187 yylval->assign(yytext, yyleng);
[all …]
/third_party/mindspore/tests/st/ops/cpu/
Dtest_assign_op.py33 self.assign = P.Assign()
36 self.assign(self.y, self.x)
46 assign = Assign(x, y)
47 output = assign()
60 assign = Assign(x, y)
61 output = assign()
74 assign = Assign(x, y)
75 output = assign()
88 assign = Assign(x, y)
89 output = assign()
[all …]
/third_party/node/deps/npm/node_modules/object-assign/
Dreadme.md1 …bject-assign [![Build Status](https://travis-ci.org/sindresorhus/object-assign.svg?branch=master)]…
3 > ES2015 [`Object.assign()`](http://www.2ality.com/2014/01/object-assign.html) [ponyfill](https://p…
9 support `Object.assign()` :tada:. If you target only those environments, then by all
10 means, use `Object.assign()` instead of this package.
16 $ npm install --save object-assign
23 const objectAssign = require('object-assign');
51 - [ES2015 spec - Object.assign](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.as…
56 - [deep-assign](https://github.com/sindresorhus/deep-assign) - Recursive `Object.assign()`
/third_party/boost/libs/multiprecision/test/
Dtest_generic_conv.cpp48 z.assign(-c); in main()
49 t.assign(-z); in main()
56 tom.assign(-c); in main()
57 t2.assign(-tom); in main()
67 df.assign(-c); in main()
75 mpf.assign(-c); in main()
84 mpfr.assign(-c); in main()
91 df.assign(c); in main()
95 mpf.assign(df); in main()
98 df.assign(mpf); in main()
[all …]
/third_party/boost/libs/assign/
DREADME.md16assign/tree/master) | [![Build Status](https://travis-ci.org/boostorg/assign.svg?branch=master)](h…
17assign/tree/develop) | [![Build Status](https://travis-ci.org/boostorg/assign.svg?branch=develop)]…
29 * [Ask questions](http://stackoverflow.com/questions/ask?tags=c%2B%2B,boost,boost-assign)
30 * [Report bugs](https://github.com/boostorg/assign/issues): Be sure to mention Boost version, platf…
32 …http://www.boost.org/community/policy.html) before posting and add the `[assign]` tag at the begin…
/third_party/boost/libs/function/test/
Dallocator_test.cpp80 f.assign( plus_int<disable_small_object_optimization>(), counting_allocator<int>() ); in main()
86 f.assign( plus_int<enable_small_object_optimization>(), counting_allocator<int>() ); in main()
90 f.assign( plus_int<disable_small_object_optimization>(), std::allocator<int>() ); in main()
92 f.assign( plus_int<enable_small_object_optimization>(), std::allocator<int>() ); in main()
97 f.assign( &do_minus, counting_allocator<int>() ); in main()
101 f.assign( &do_minus, std::allocator<int>() ); in main()
107 fv.assign( DoNothing<disable_small_object_optimization>(), counting_allocator<int>() ); in main()
113 fv.assign( DoNothing<enable_small_object_optimization>(), counting_allocator<int>() ); in main()
117 fv.assign( DoNothing<disable_small_object_optimization>(), std::allocator<int>() ); in main()
119 fv.assign( DoNothing<enable_small_object_optimization>(), std::allocator<int>() ); in main()
[all …]

12345678910>>...101