/third_party/libuv/test/ |
H A D | test-callback-stack.c | 39 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 D | cpp_move_unittest.cc | 54 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 D | destructuringParameterDeclaration8.js | 6 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 D | filterNamespace_import.js | 8 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 D | destructuringTypeGuardFlow.js | 5 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 D | intersectionTypeMembers.js | 31 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 D | newOperatorConformance.js | 60 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 D | nestedFreshLiteral.js | 6 nested?: NestedSelector 13 nested: { prop: { colour: 'red' } } 18 nested: { prop: { colour: 'red' } }
|
H A D | contextuallyTypedBindingInitializer.js | 10 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 D | objectRestAssignment.js | 3 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 D | typeFromPropertyAssignment29.js | 29 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 D | nestedTypeVariableInfersLiteral.js | 4 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 D | objectRestParameter.js | 7 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 D | objectRestParameterES5.js | 7 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 D | contextuallyTypedBindingInitializerNegative.js | 10 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 D | DescriptorDeclarationTest.cs | 108 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 D | nested-functions.c | 21 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 D | parse.rs | 141 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 D | proto3_arena_lite_unittest.cc | 135 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 D | protostream_objectsource_test.cc | 443 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 D | nested.rs | 7 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 D | nested.rs | 7 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 D | nested.rs | 7 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 D | nested.rs | 7 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.py | 295 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...] |