Home
last modified time | relevance | path

Searched refs:construct (Results 1 – 25 of 782) sorted by relevance

12345678910>>...32

/third_party/json/include/nlohmann/detail/conversions/
Dto_json.hpp38 static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept in construct() function
51 static void construct(BasicJsonType& j, const typename BasicJsonType::string_t& s) in construct() function
60 static void construct(BasicJsonType& j, typename BasicJsonType::string_t&& s) in construct() function
71 static void construct(BasicJsonType& j, const CompatibleStringType& str) in construct() function
84 static void construct(BasicJsonType& j, const typename BasicJsonType::binary_t& b) in construct() function
93 static void construct(BasicJsonType& j, typename BasicJsonType::binary_t&& b) in construct() function
106 static void construct(BasicJsonType& j, typename BasicJsonType::number_float_t val) noexcept in construct() function
119 static void construct(BasicJsonType& j, typename BasicJsonType::number_unsigned_t val) noexcept in construct() function
132 static void construct(BasicJsonType& j, typename BasicJsonType::number_integer_t val) noexcept in construct() function
145 static void construct(BasicJsonType& j, const typename BasicJsonType::array_t& arr) in construct() function
[all …]
/third_party/typescript/tests/baselines/reference/
DjsDeclarationsFunctionClassesCjsExportAssignment.types96 this.state = this.construct(input);
97 >this.state = this.construct(input) : State
99 >this : this & { construct(input: Input, handle?: import("tests/cases/conformance/jsdoc/declaration…
101 >this.construct(input) : State
102 >this.construct : (input: Input, handle?: import("tests/cases/conformance/jsdoc/declarations/hook")…
103 >this : this & { construct(input: Input, handle?: import("tests/cases/conformance/jsdoc/declaration…
104 >construct : (input: Input, handle?: import("tests/cases/conformance/jsdoc/declarations/hook").Hook…
108 …e * @returns {State} */ construct(input, handle = () => void 0) { return input; …
109 >Context.prototype : { construct(input: Input, handle?: HookHandler | undefined): State; }
111 >prototype : { construct(input: Input, handle?: import("tests/cases/conformance/jsdoc/declarations/…
[all …]
DnewOperatorErrorCases_noImplicitAny.errors.txt1 …plicitAny.ts(2,1): error TS7009: 'new' expression, whose target lacks a construct signature, impli…
2 …plicitAny.ts(5,1): error TS7009: 'new' expression, whose target lacks a construct signature, impli…
3 …plicitAny.ts(8,1): error TS7009: 'new' expression, whose target lacks a construct signature, impli…
10 !!! error TS7009: 'new' expression, whose target lacks a construct signature, implicitly has an 'an…
15 !!! error TS7009: 'new' expression, whose target lacks a construct signature, implicitly has an 'an…
20 !!! error TS7009: 'new' expression, whose target lacks a construct signature, implicitly has an 'an…
DtsxElementResolution8.errors.txt1 …x/file.tsx(8,2): error TS2604: JSX element type 'Div' does not have any construct or call signatur…
2 …file.tsx(34,2): error TS2604: JSX element type 'Obj3' does not have any construct or call signatur…
15 !!! error TS2604: JSX element type 'Div' does not have any construct or call signatures.
30 <Obj1 />; // OK, prefer construct signatures
43 !!! error TS2604: JSX element type 'Obj3' does not have any construct or call signatures.
DjsDeclarationsFunctionClassesCjsExportAssignment.js59 this.state = this.construct(input);
67 construct(input, handle = () => void 0) { method in Context
114 this.state = this.construct(input);
122 construct: function (input, handle) { method in Context
219 construct(input: Input, handle?: HookHandler | undefined): State;
DjsDeclarationsFunctionClassesCjsExportAssignment.symbols88 this.state = this.construct(input);
91 >this.construct : Symbol(construct, Decl(context.js, 37, 21), Decl(context.js, 37, 21))
92 >construct : Symbol(construct, Decl(context.js, 37, 21), Decl(context.js, 37, 21))
105 construct(input, handle = () => void 0) {
106 >construct : Symbol(construct, Decl(context.js, 37, 21))
DnewOperator.errors.txt3 Type 'Number' has no construct signatures.
5 Type 'String' has no construct signatures.
13 Type 'Date' has no construct signatures.
18 Type '{ a: string; }' has no construct signatures.
20 …w <T extends number>(a: T) => void) | (new <T>(a: string) => void)' has construct signatures, but …
39 !!! error TS2351: Type 'Number' has no construct signatures.
43 !!! error TS2351: Type 'String' has no construct signatures.
78 !!! error TS2351: Type 'Date' has no construct signatures.
96 !!! error TS2351: Type '{ a: string; }' has no construct signatures.
103 …w <T extends number>(a: T) => void) | (new <T>(a: string) => void)' has construct signatures, but …
DclassSideInheritance3.errors.txt2 Types of construct signatures are incompatible.
5 Types of construct signatures are incompatible.
28 !!! error TS2322: Types of construct signatures are incompatible.
33 !!! error TS2322: Types of construct signatures are incompatible.
Darguments.symbols32 construct: new (args: typeof arguments) => void;
33 >construct : Symbol(I.construct, Decl(arguments.ts, 11, 39))
DintTypeCheck.errors.txt7 Type 'i1' has no construct signatures.
14 Type '{}' has no construct signatures.
27 Type '{}' has no construct signatures.
41 Type '{}' has no construct signatures.
43 Type 'i4' has no construct signatures.
48 Type '{}' has no construct signatures.
53 Type 'i5' has no construct signatures.
60 Type '{}' has no construct signatures.
75 Type '{}' has no construct signatures.
89 Type '{}' has no construct signatures.
[all …]
DparserRealSource7.types267 type.construct = new SignatureGroup();
268 >type.construct = new SignatureGroup() : any
269 >type.construct : any
271 >construct : any
275 type.construct.addSignature(signature);
276 >type.construct.addSignature(signature) : any
277 >type.construct.addSignature : any
278 >type.construct : any
280 >construct : any
290 child.construct = new SignatureGroup();
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dreflect-construct.js16 Reflect.construct ();
23 Reflect.construct (Date);
29 var d = Reflect.construct (Date, [1776, 6, 4]);
39 var object2 = Reflect.construct (func1, args);
52 var obj1 = Reflect.construct (CatClass, args, DogClass);
58 Reflect.construct (func1, 5, 5);
65 Reflect.construct (5, 5);
76 Reflect.construct (func2, {});
Dnew-target-for-containers.js19 Reflect.construct (Map, [], o);
26 Reflect.construct (Set, [], o);
33 Reflect.construct (WeakMap, [], o);
40 Reflect.construct (WeakSet, [], o);
47 Reflect.construct (Map);
54 Reflect.construct (Set);
61 Reflect.construct (WeakMap);
68 Reflect.construct (WeakSet);
Dproxy_construct.js20 var handler = { construct (target) { method
91 construct(t, c, args) { method
104 construct(target, args, new_target) { method
108 return Reflect.construct(target, args, new_target);
120 var instance2 = Reflect.construct(proxy, ['a1', 'b1'], Array);
128 construct: function(target, argumentsList, newTarget) { method
142 construct: function(target, argumentsList, newTarget) { method
155 construct: function(target, argumentsList, newTarget) { method
Dnew-target-for-date-object.js17 Reflect.construct (Date,);
24 Reflect.construct (Date, "2015-01-01");
31 Reflect.construct (Date, 1420070400000);
Darray-new-target-support.js16 var obj = Reflect.construct (Array, [], F);
21 Reflect.construct (Array, [-1], F);
29 Reflect.construct (Array, [], o)
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhash_policy_traits_test.cc41 static std::function<void(void*, Slot*, Slot)> construct; member
50 std::function<void(void*, Slot*, Slot)> PolicyWithoutOptionalOps::construct; member in absl::container_internal::__anon7602e1710111::PolicyWithoutOptionalOps
65 PolicyWithoutOptionalOps::construct = [&](void* a1, Slot* a2, Slot a3) { in Test()
66 construct.Call(a1, a2, std::move(a3)); in Test()
90 MockFunction<void(void*, Slot*, Slot)> construct; member
100 TEST_F(Test, construct) { in TEST_F() argument
101 EXPECT_CALL(construct, Call(&alloc, &a, 53)); in TEST_F()
102 hash_policy_traits<PolicyWithoutOptionalOps>::construct(&alloc, &a, 53); in TEST_F()
130 EXPECT_CALL(construct, Call(&alloc, &a, b)); in TEST_F()
Dcontainer_memory.h94 absl::allocator_traits<Alloc>::construct( in ConstructFromTupleImpl()
381 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) {
384 absl::allocator_traits<Allocator>::construct(*alloc, &slot->mutable_value,
387 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value,
394 static void construct(Allocator* alloc, slot_type* slot, slot_type* other) {
397 absl::allocator_traits<Allocator>::construct(
400 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value,
419 absl::allocator_traits<Allocator>::construct(
422 absl::allocator_traits<Allocator>::construct(*alloc, &new_slot->value,
436 absl::allocator_traits<Allocator>::construct(*alloc, &a->value,
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_cfg.cpp110 for (auto construct : constructs) { in UpdateContinueConstructExitBlocks() local
111 if (is_this_header(construct)) { in UpdateContinueConstructExitBlocks()
113 construct.corresponding_constructs().back(); in UpdateContinueConstructExitBlocks()
156 string ConstructErrorString(const Construct& construct, in ConstructErrorString() argument
162 ConstructNames(construct.type()); in ConstructErrorString()
206 for (const Construct& construct : function.constructs()) { in StructuredControlFlowChecks() local
207 auto header = construct.entry_block(); in StructuredControlFlowChecks()
208 auto merge = construct.exit_block(); in StructuredControlFlowChecks()
213 ConstructNames(construct.type()); in StructuredControlFlowChecks()
225 construct, _.getIdName(header->id()), in StructuredControlFlowChecks()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction_cfg_test.cc2952 EXPECT_EQ(fe.GetBlockInfo(10)->construct, c.get()); in TEST_F()
2979 EXPECT_EQ(fe.GetBlockInfo(10)->construct, c.get()); in TEST_F()
2980 EXPECT_EQ(fe.GetBlockInfo(5)->construct, c.get()); in TEST_F()
3017 EXPECT_EQ(fe.GetBlockInfo(10)->construct, constructs[1].get()); in TEST_F()
3018 EXPECT_EQ(fe.GetBlockInfo(20)->construct, constructs[1].get()); in TEST_F()
3019 EXPECT_EQ(fe.GetBlockInfo(30)->construct, constructs[1].get()); in TEST_F()
3020 EXPECT_EQ(fe.GetBlockInfo(99)->construct, constructs[0].get()); in TEST_F()
3064 EXPECT_EQ(fe.GetBlockInfo(5)->construct, constructs[0].get()); in TEST_F()
3065 EXPECT_EQ(fe.GetBlockInfo(10)->construct, constructs[1].get()); in TEST_F()
3066 EXPECT_EQ(fe.GetBlockInfo(20)->construct, constructs[1].get()); in TEST_F()
[all …]
Dfunction.cc779 const Construct* construct, in StatementBlock() argument
782 : construct_(construct), in StatementBlock()
813 void FunctionEmitter::PushNewStatementBlock(const Construct* construct, in PushNewStatementBlock() argument
816 statements_stack_.emplace_back(StatementBlock{construct, end_id, action}); in PushNewStatementBlock()
1856 block_info->construct = top; in LabelControlFlowConstructs()
1878 for (auto& construct : constructs_) { in FindSwitchCaseHeaders() local
1879 if (construct->kind != Construct::kSwitchSelection) { in FindSwitchCaseHeaders()
1883 GetBlockInfo(construct->begin_id)->basic_block->terminator(); in FindSwitchCaseHeaders()
1889 if (construct->begin_pos >= default_block->pos) { in FindSwitchCaseHeaders()
1894 return Fail() << "Switch branch from block " << construct->begin_id in FindSwitchCaseHeaders()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_cfg.cpp395 for (auto construct : constructs) { in UpdateContinueConstructExitBlocks() local
396 if (is_this_header(construct)) { in UpdateContinueConstructExitBlocks()
398 construct.corresponding_constructs().back(); in UpdateContinueConstructExitBlocks()
443 std::string ConstructErrorString(const Construct& construct, in ConstructErrorString() argument
449 ConstructNames(construct.type()); in ConstructErrorString()
722 for (const Construct& construct : function->constructs()) { in StructuredControlFlowChecks() local
723 auto header = construct.entry_block(); in StructuredControlFlowChecks()
724 auto merge = construct.exit_block(); in StructuredControlFlowChecks()
729 ConstructNames(construct.type()); in StructuredControlFlowChecks()
741 << ConstructErrorString(construct, _.getIdName(header->id()), in StructuredControlFlowChecks()
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_cfg.cpp383 for (auto construct : constructs) { in UpdateContinueConstructExitBlocks() local
384 if (is_this_header(construct)) { in UpdateContinueConstructExitBlocks()
386 construct.corresponding_constructs().back(); in UpdateContinueConstructExitBlocks()
431 std::string ConstructErrorString(const Construct& construct, in ConstructErrorString() argument
437 ConstructNames(construct.type()); in ConstructErrorString()
710 for (const Construct& construct : function->constructs()) { in StructuredControlFlowChecks() local
711 auto header = construct.entry_block(); in StructuredControlFlowChecks()
712 auto merge = construct.exit_block(); in StructuredControlFlowChecks()
717 ConstructNames(construct.type()); in StructuredControlFlowChecks()
729 << ConstructErrorString(construct, _.getIdName(header->id()), in StructuredControlFlowChecks()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_cfg.cpp395 for (auto construct : constructs) { in UpdateContinueConstructExitBlocks() local
396 if (is_this_header(construct)) { in UpdateContinueConstructExitBlocks()
398 construct.corresponding_constructs().back(); in UpdateContinueConstructExitBlocks()
443 std::string ConstructErrorString(const Construct& construct, in ConstructErrorString() argument
449 ConstructNames(construct.type()); in ConstructErrorString()
722 for (const Construct& construct : function->constructs()) { in StructuredControlFlowChecks() local
723 auto header = construct.entry_block(); in StructuredControlFlowChecks()
724 auto merge = construct.exit_block(); in StructuredControlFlowChecks()
729 ConstructNames(construct.type()); in StructuredControlFlowChecks()
741 << ConstructErrorString(construct, _.getIdName(header->id()), in StructuredControlFlowChecks()
[all …]
/third_party/node/test/js-native-api/test_typedarray/
Dtest.js48 const template = Reflect.construct(currentType, buffer);
60 const template = Reflect.construct(currentType, buffer);
70 const template = Reflect.construct(currentType, buffer);
80 const buffer = Reflect.construct(currentType, [8]);

12345678910>>...32