Home
last modified time | relevance | path

Searched refs:nested (Results 1 - 25 of 136) sorted by relevance

123456

/third_party/libuv/test/
H A Dtest-callback-stack.c39 static int nested = 0; variable
56 ASSERT(nested == 0 && "close_cb must be called from a fresh stack"); in close_cb()
64 ASSERT(nested == 0 && "shutdown_cb must be called from a fresh stack"); in shutdown_cb()
71 ASSERT(nested == 0 && "read_cb must be called from a fresh stack"); in read_cb()
82 nested++; in read_cb()
84 nested--; in read_cb()
95 nested++; in read_cb()
102 nested--; in read_cb()
109 ASSERT(nested == 0 && "timer_cb must be called from a fresh stack"); in timer_cb()
113 nested in timer_cb()
[all...]
/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_move_unittest.cc54 const auto* nested = &message1.optional_nested_message(); in TEST() local
61 EXPECT_EQ(nested, &message2.optional_nested_message()); in TEST()
62 EXPECT_NE(nested, &message1.optional_nested_message()); in TEST()
68 const auto* nested = &message1.optional_nested_message(); in TEST() local
76 EXPECT_EQ(nested, &message2.optional_nested_message()); in TEST()
77 EXPECT_NE(nested, &message1.optional_nested_message()); in TEST()
94 const auto* nested = &message1_on_arena->optional_nested_message(); in TEST() local
101 EXPECT_EQ(nested, &message2_on_arena->optional_nested_message()); in TEST()
110 const auto* nested = &message1_on_arena->optional_nested_message(); in TEST() local
117 EXPECT_NE(nested, in TEST()
128 const auto* nested = &message1_on_arena->optional_nested_message(); TEST() local
144 const auto* nested = &message1.optional_nested_message(); TEST() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DdestructuringParameterDeclaration8.js6 nested: { p = 'c' }
9 nested?: { p: 'a' | 'b' }
17 test({ method: 'x', nested: { p: 'a' } })
18 test({ method: 'z', nested: { p: 'b' } })
19 test({ method: 'one', nested: { p: 'a' } })
26 var _b = _a.method, method = _b === void 0 ? 'z' : _b, _c = _a.nested.p, p = _c === void 0 ? 'c' : _c;
31 test({ method: 'x', nested: { p: 'a' } });
32 test({ method: 'z', nested: { p: 'b' } });
33 test({ method: 'one', nested: { p: 'a' } });
H A DfilterNamespace_import.js8 export namespace nested {
23 let n: ns.nested.NestedClass = { a: '' };
38 var nested; variable
39 (function (nested) {
45 nested.NestedClass = NestedClass;
46 })(nested = ns.nested || (ns.nested = {}));
H A DdestructuringTypeGuardFlow.js5 nested: {
11 const aFoo: foo = { bar: 3, baz: "b", nested: { a: 1, b: "y" } };
13 if (aFoo.bar && aFoo.nested.b) {
14 const { bar, baz, nested: {a, b: text} } = aFoo;
29 if (bBar.elem2 && bBar.elem2.bar && bBar.elem2.nested.b) {
30 const { bar, baz, nested: {a, b: text} } = bBar.elem2;
40 var aFoo = { bar: 3, baz: "b", nested: { a: 1, b: "y" } };
41 if (aFoo.bar && aFoo.nested.b) {
42 var bar = aFoo.bar, baz = aFoo.baz, _a = aFoo.nested, a = _a.a, text = _a.b;
50 if (bBar.elem2 && bBar.elem2.bar && bBar.elem2.nested
[all...]
H A DintersectionTypeMembers.js31 nested: { doublyNested: { d: string; }, different: { e: number } };
34 nested: { doublyNested: { f: string; }, other: {g: number } };
37 nested: {
47 // Additional test case with >2 doubly nested members so fix for #31441 is tested w/ excess props
49 nested: { doublyNested: { g: string; } }
53 nested: { doublyNested: { h: string; } }
57 nested: {
85 nested: {
95 nested: {
H A DnewOperatorConformance.js60 var nested = new (new (new nestedCtor())())();
61 var n = new nested();
62 var n = new nested();
110 var nested = new (new (new nestedCtor())())();
111 var n = new nested();
112 var n = new nested();
H A DnestedFreshLiteral.js6 nested?: NestedSelector
13 nested: { prop: { colour: 'red' } }
18 nested: { prop: { colour: 'red' } }
H A DcontextuallyTypedBindingInitializer.js10 nested: Show
12 function ff({ nested = { show: v => v.toString() } }: Nested) {}
43 var _b = _a.nested, nested = _b === void 0 ? { show: function (v) { return v.toString(); } } : _b;
H A DobjectRestAssignment.js3 let nested: { ki };
7 ({x: { ka, ...nested }, y: other, ...rest} = complex);
31 let nested;
35 (_a = complex.x, { ka } = _a, nested = __rest(_a, ["ka"]), { y: other } = complex, rest = __rest(complex, ["x", "y"]));
H A DtypeFromPropertyAssignment29.js29 const nested = function (m: number) {
32 nested.total = n + 1_000_000;
33 return nested;
113 var nested = function (m) {
116 nested.total = n + 1000000;
117 return nested;
H A DnestedTypeVariableInfersLiteral.js4 declare function nested<A extends string>(a: { fields: A }): Record<A, string>
9 const nestedSingle = nested({fields: "z"})
25 var nestedSingle = nested({ fields: "z" });
H A DobjectRestParameter.js7 suddenly(({ x: { z = 12, ...nested }, ...rest } = { x: { z: 1, ka: 1 }, y: 'noo' }) => rest.y + nested.ka);
44 var _b = _a.x, { z = 12 } = _b, nested = __rest(_b, ["z"]), rest = __rest(_a, ["x"]);
45 return rest.y + nested.ka;
H A DobjectRestParameterES5.js7 suddenly(({ x: { z = 12, ...nested }, ...rest } = { x: { z: 1, ka: 1 }, y: 'noo' }) => rest.y + nested.ka);
45 var _b = _a.x, _c = _b.z, z = _c === void 0 ? 12 : _c, nested = __rest(_b, ["z"]), rest = __rest(_a, ["x"]);
46 return rest.y + nested.ka;
H A DcontextuallyTypedBindingInitializerNegative.js10 nested: Show
12 function ff({ nested: nestedRename = { show: v => v } }: Nested) {}
41 var _b = _a.nested, nestedRename = _b === void 0 ? { show: function (v) { return v; } } : _b;
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorDeclarationTest.cs108 var nested = outer.FindDescriptor<MessageDescriptor>("NestedCommentMessage"); in NestedMessageComments()
109 Assert.NotNull(nested.Declaration); in NestedMessageComments()
110 Assert.AreEqual(" Leading nested message comment\n", nested.Declaration.LeadingComments); in NestedMessageComments()
117 var nested = outer.FindDescriptor<EnumDescriptor>("NestedCommentEnum"); in NestedEnumComments()
118 Assert.NotNull(nested.Declaration); in NestedEnumComments()
119 Assert.AreEqual(" Leading nested enum comment\n", nested.Declaration.LeadingComments); in NestedEnumComments()
136 var nested = outer.FindDescriptor<MessageDescriptor>("NestedCommentMessage"); in NestedMessageFieldComments()
137 var field = nested in NestedMessageFieldComments()
[all...]
/third_party/ltp/tools/sparse/sparse-src/validation/
H A Dnested-functions.c21 inline int nested(int i) in test_inline() function
25 return nested(b); in test_inline()
30 inline int nested(int i) in test_inline_ko() function
34 return nested(b); in test_inline_ko()
38 * check-name: nested-functions
41 nested-functions.c:32:32: warning: unreplaced symbol 'a'
/third_party/rust/crates/syn/codegen/src/
H A Dparse.rs141 let nested = introspect_type(first_arg(&last.arguments), lookup); in introspect_type()
142 types::Type::Option(Box::new(nested)) in introspect_type()
145 let nested = introspect_type(first_arg(&last.arguments), lookup); in introspect_type()
152 element: Box::new(nested), in introspect_type()
157 let nested = introspect_type(first_arg(&last.arguments), lookup); in introspect_type()
158 types::Type::Vec(Box::new(nested)) in introspect_type()
161 let nested = introspect_type(first_arg(&last.arguments), lookup); in introspect_type()
162 types::Type::Box(Box::new(nested)) in introspect_type()
448 let nested; in parse_features()
449 parenthesized!(nested i in parse_features()
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dproto3_arena_lite_unittest.cc135 TestAllTypes::NestedMessage* nested = new TestAllTypes::NestedMessage; in TEST() local
136 nested->set_bb(118); in TEST()
137 arena_message->set_allocated_optional_nested_message(nested); in TEST()
145 std::unique_ptr<TestAllTypes::NestedMessage> nested( in TEST()
147 EXPECT_EQ(118, nested->bb()); in TEST()
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dprotostream_objectsource_test.cc443 NestedBook nested; in TEST_P() local
444 nested.set_allocated_book(book); in TEST_P()
455 DoTest(nested, BadNestedBook::descriptor()); in TEST_P()
459 BadNestedBook nested; in TEST_P() local
460 nested.add_book(1); in TEST_P()
461 nested.add_book(2); in TEST_P()
462 nested.add_book(3); in TEST_P()
463 nested.add_book(4); in TEST_P()
464 nested.add_book(5); in TEST_P()
465 nested in TEST_P()
712 MapOut* nested = out.add_map2()->mutable_value(); TEST_P() local
1049 NestedFieldMask* nested = out.add_nested_mask(); TEST_P() local
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dnested.rs7 nested: Vec<(&'a Ident, NamespaceEntries<'a>)>,
20 self.nested.iter().map(|(k, entries)| (*k, entries)) in new()
43 let nested = nested_namespaces in sort_by_inner_namespace()
48 NamespaceEntries { direct, nested } in sort_by_inner_namespace()
/third_party/rust/crates/cxx/gen/src/
H A Dnested.rs7 nested: Vec<(&'a Ident, NamespaceEntries<'a>)>,
20 self.nested.iter().map(|(k, entries)| (*k, entries)) in new()
43 let nested = nested_namespaces in sort_by_inner_namespace()
48 NamespaceEntries { direct, nested } in sort_by_inner_namespace()
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dnested.rs7 nested: Vec<(&'a Ident, NamespaceEntries<'a>)>,
20 self.nested.iter().map(|(k, entries)| (*k, entries)) in new()
43 let nested = nested_namespaces in sort_by_inner_namespace()
48 NamespaceEntries { direct, nested } in sort_by_inner_namespace()
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Dnested.rs7 nested: Vec<(&'a Ident, NamespaceEntries<'a>)>,
20 self.nested.iter().map(|(k, entries)| (*k, entries)) in new()
43 let nested = nested_namespaces in sort_by_inner_namespace()
48 NamespaceEntries { direct, nested } in sort_by_inner_namespace()
/third_party/python/Lib/re/
H A D_parser.py295 def checkgroupname(self, name, offset, nested):
304 DeprecationWarning, stacklevel=nested + 7
447 def _parse_sub(source, state, verbose, nested):
455 itemsappend(_parse(source, state, verbose, nested + 1,
456 not nested and not items))
459 if not nested:
507 def _parse(source, state, verbose, nested, first=False):
555 'Possible nested set at position %d' % source.tell(),
556 FutureWarning, stacklevel=nested + 6
579 FutureWarning, stacklevel=nested
[all...]

Completed in 10 milliseconds

123456