Home
last modified time | relevance | path

Searched refs:nested (Results 1 – 25 of 1062) sorted by relevance

12345678910>>...43

/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils.py151 def map_structure_with_atomic(is_atomic_fn, map_fn, nested): argument
167 if is_atomic_fn(nested):
168 return map_fn(nested)
171 if not nest.is_sequence(nested):
173 'Received non-atomic and non-sequence element: {}'.format(nested))
174 if nest._is_mapping(nested):
175 values = [nested[k] for k in nest._sorted(nested)]
177 values = nested
181 return nest._sequence_like(nested, mapped_values)
244 def convert_inner_node_data(nested, wrap=False): argument
[all …]
/external/llvm/test/Analysis/BasicAA/
Dnoalias-bugs.ll10 %nested = type { %nested.i64 }
11 %nested.i64 = type { i64 }
13 define i64 @testcase(%nested * noalias %p1, %nested * noalias %p2,
15 %ptr = getelementptr inbounds %nested, %nested* %p1, i64 -1, i32 0
16 %ptr.64 = getelementptr inbounds %nested.i64, %nested.i64* %ptr, i64 0, i32 0
17 %ptr2= getelementptr inbounds %nested, %nested* %p2, i64 0, i32 0
19 %either_ptr = select i1 %cmp, %nested.i64* %ptr2, %nested.i64* %ptr
20 %either_ptr.64 = getelementptr inbounds %nested.i64, %nested.i64* %either_ptr, i64 0, i32 0
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/BasicAA/
Dnoalias-bugs.ll10 %nested = type { %nested.i64 }
11 %nested.i64 = type { i64 }
13 define i64 @testcase(%nested * noalias %p1, %nested * noalias %p2,
15 %ptr = getelementptr inbounds %nested, %nested* %p1, i64 -1, i32 0
16 %ptr.64 = getelementptr inbounds %nested.i64, %nested.i64* %ptr, i64 0, i32 0
17 %ptr2= getelementptr inbounds %nested, %nested* %p2, i64 0, i32 0
19 %either_ptr = select i1 %cmp, %nested.i64* %ptr2, %nested.i64* %ptr
20 %either_ptr.64 = getelementptr inbounds %nested.i64, %nested.i64* %either_ptr, i64 0, i32 0
/external/protobuf/src/google/protobuf/compiler/cpp/
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, &message2_on_arena->optional_nested_message()); in TEST()
[all …]
/external/python/apitools/apitools/base/py/testing/
Dmock_test.py212 nested = messages.StringField(1) variable in _NestedMessage
220 nested = messages.MessageField(_NestedMessage, 1) variable in _NestedNestedMessage
228 nested=_NestedMessage(
229 nested='foo')),
231 nested=_NestedMessage(
232 nested='bar'))))
236 nested=_NestedMessage(
237 nested='foo')),
239 nested=_NestedMessage(
240 nested='foo'))))
[all …]
/external/python/pycparser/utils/internal/
Dmemprofiling.py23 nested = expand_decl(decl.type)
27 return ['Decl', decl.quals, decl.name, nested]
29 return ['Decl', decl.name, nested]
32 return ['Typename', decl.quals, nested]
34 return ['Typename', nested]
37 return ['ArrayDecl', dimval, nested]
39 return ['PtrDecl', nested]
41 return ['Typedef', decl.name, nested]
47 return ['FuncDecl', params, nested]
/external/tensorflow/tensorflow/python/util/
Dutil.cc475 explicit AttrsValueIterator(PyObject* nested) : nested_(nested) { in AttrsValueIterator() argument
476 Py_INCREF(nested); in AttrsValueIterator()
559 ValueIteratorPtr GetValueIterator(PyObject* nested) { in GetValueIterator() argument
560 if (PyDict_Check(nested)) { in GetValueIterator()
561 return absl::make_unique<DictValueIterator>(nested); in GetValueIterator()
562 } else if (IsMappingHelper(nested)) { in GetValueIterator()
563 return absl::make_unique<MappingValueIterator>(nested); in GetValueIterator()
564 } else if (IsAttrsHelper(nested)) { in GetValueIterator()
565 return absl::make_unique<AttrsValueIterator>(nested); in GetValueIterator()
567 return absl::make_unique<SequenceValueIterator>(nested); in GetValueIterator()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
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.FindFieldByName("nested_text"); in NestedMessageFieldComments()
155 var nested = outer.FindDescriptor<EnumDescriptor>("NestedCommentEnum"); in NestedEnumValueComments()
156 var value = nested.FindValueByName("ZERO_VALUE"); in NestedEnumValueComments()
/external/deqp/external/vulkancts/data/vulkan/amber/graphicsfuzz/
Dindex.txt5 { "break-in-do-while-with-nested-if.amber", "break-in-do-while-with-nested-if", "A fragment shade…
8 { "complex-nested-loops-and-call.amber", "complex-nested-loops-and-call", "A fragment shader wit…
10 { "continue-and-merge.amber", "continue-and-merge", "A fragment shader with two nested loo…
19 …tion.amber", "discard-in-loop-in-function", "A shader with a discard nested in a loop in a fun…
31 { "loop-call-discard.amber", "loop-call-discard", "A fragment shader with nested loops and…
33 { "loop-nested-ifs.amber", "loop-nested-ifs", "A fragment shader with a for loop containi…
35 …s-call.amber", "loops-ifs-continues-call", "A fragment shader with nested control flow and a…
44 { "nested-for-loops-with-return.amber", "nested-for-loops-with-return", "A fragment shader with…
45 { "nested-ifs-and-return-in-for-loop.amber", "nested-ifs-and-return-in-for-loop", "A fragment shad…
46 { "nested-loops-switch.amber", "nested-loops-switch", "A fragment shader with nested loops …
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-rc/
Dinclude-paths.test12 ; RUN: rm -f %t.nested-include.res
13 ; RUN: llvm-rc /FO %t.nested-include.res /I %p/Inputs/nested %p/Inputs/deep-include.rc
14 ; RUN: llvm-readobj %t.nested-include.res | FileCheck --check-prefix=FOUND %s
17 ; RUN: rm -f %t.nested-include.res
18 ; RUN: not llvm-rc /FO %t.nested-include.res %p/Inputs/deep-include.rc 2>&1 \
25 ; RUN: rm -f %t.nested-include.res
26 ; RUN: cd %p/Inputs/nested
27 ; RUN: llvm-rc /FO %t.nested-include.res %p/Inputs/include.rc
28 ; RUN: llvm-readobj %t.nested-include.res | FileCheck --check-prefix=FOUND %s
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/
DProfilerTest.java94 Profiler nested = profiler.startNested("subtask"); in testNestedProfiling() local
95 doSubtask(nested); in testNestedProfiling()
123 public void doSubtask(Profiler nested) { in doSubtask() argument
124 nested.start("n1"); in doSubtask()
127 nested.start("n2"); in doSubtask()
129 nested.stop(); in doSubtask()
/external/flatbuffers/lua/flatbuffers/
Dbuilder.lua54 nested = false,
73 assert(not self.nested)
83 self.nested = true
154 assert(self.nested)
155 self.nested = false
229 assert(not self.nested)
230 self.nested = true
237 assert(self.nested)
238 self.nested = false
244 assert(not self.nested)
[all …]
/external/python/cpython2/Lib/
Dsre_parse.py237 def _class_escape(source, escape, nested): argument
269 FutureWarning, stacklevel=nested + 6)
272 DeprecationWarning, stacklevel=nested + 6)
278 def _escape(source, escape, state, nested): argument
318 RuntimeWarning, stacklevel=nested + 6)
327 FutureWarning, stacklevel=nested + 6)
330 DeprecationWarning, stacklevel=nested + 6)
336 def _parse_sub(source, state, nested): argument
343 itemsappend(_parse(source, state, nested + 1))
346 if not nested:
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorTraits.h170 template<typename T, int n=1, typename PlainObject = void> struct nested
176 struct nested<Tensor<Scalar_, NumIndices_, Options_, IndexType_> >
182 struct nested<const Tensor<Scalar_, NumIndices_, Options_, IndexType_> >
188 struct nested<TensorFixedSize<Scalar_, Dimensions, Options, IndexType_> >
194 struct nested<const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_> >
201 struct nested<TensorMap<PlainObjectType, Options, MakePointer> >
207 struct nested<const TensorMap<PlainObjectType, Options, MakePointer> >
213 struct nested<TensorRef<PlainObjectType> >
219 struct nested<const TensorRef<PlainObjectType> >
/external/pcre/dist2/testdata/
Dtestoutput15211 # These three have infinitely nested recursions.
215 Failed: error -52: nested recursion at the same subject position
219 Failed: error -52: nested recursion at the same subject position
223 Failed: error -52: nested recursion at the same subject position
276 Failed: error -52: nested recursion at the same subject position
286 Failed: error -52: nested recursion at the same subject position
296 Failed: error -52: nested recursion at the same subject position
306 Failed: error -52: nested recursion at the same subject position
316 Failed: error -52: nested recursion at the same subject position
320 Failed: error -52: nested recursion at the same subject position
[all …]
/external/elfutils/tests/
Drun-allfcts.sh87 /home/mark/src/tests/nested/nested_funcs.c:2:foo
88 /home/mark/src/tests/nested/nested_funcs.c:4:bar
89 /home/mark/src/tests/nested/nested_funcs.c:13:main
90 /home/mark/src/tests/nested/class_func.cxx:6:bar
91 /home/mark/src/tests/nested/class_func.cxx:13:main
/external/python/cpython2/Lib/compiler/
Dsymbols.py28 self.nested = None
80 print >> sys.stderr, self.name, self.nested and "nested" or ""
98 if self.nested and (name in self.frees or name in self.uses):
100 if self.nested:
106 if not self.nested:
152 if self.nested:
232 if parent.nested or isinstance(parent, FunctionScope):
233 scope.nested = 1
241 if parent.nested or isinstance(parent, FunctionScope) \
243 scope.nested = 1
[all …]
/external/protobuf/src/google/protobuf/util/internal/
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.add_book(6); in TEST_P()
[all …]
/external/clang/test/CodeGen/
Dobject-size.c457 struct { struct DynStruct1 fst, snd; } *nested; in test30() local
460 gi = __builtin_object_size(nested->fst.snd, 0); in test30()
462 gi = __builtin_object_size(nested->fst.snd, 1); in test30()
464 gi = __builtin_object_size(nested->fst.snd, 2); in test30()
466 gi = __builtin_object_size(nested->fst.snd, 3); in test30()
469 gi = __builtin_object_size(nested->snd.snd, 0); in test30()
471 gi = __builtin_object_size(nested->snd.snd, 1); in test30()
473 gi = __builtin_object_size(nested->snd.snd, 2); in test30()
475 gi = __builtin_object_size(nested->snd.snd, 3); in test30()
/external/protobuf/js/binary/
Dmessage_test.js48 var nested = new proto.jspb.test.Deeply.Nested.Message();
49 nested.setCount(5);
50 msg.setDeeplyNestedMessage(nested);
/external/protobuf/src/google/protobuf/
Dproto3_arena_lite_unittest.cc138 TestAllTypes::NestedMessage* nested = new TestAllTypes::NestedMessage; in TEST() local
139 nested->set_bb(118); in TEST()
140 arena_message->set_allocated_optional_nested_message(nested); in TEST()
148 std::unique_ptr<TestAllTypes::NestedMessage> nested( in TEST() local
150 EXPECT_EQ(118, nested->bb()); in TEST()
/external/angle/third_party/glslang/src/Test/
Dhlsl.flattenSubset2.frag12 // Assignment of nested structs to nested structs
16 // Assignment of nested struct to standalone
/external/deqp-deps/glslang/Test/
Dhlsl.flattenSubset2.frag12 // Assignment of nested structs to nested structs
16 // Assignment of nested struct to standalone
/external/llvm/test/Transforms/LoadStoreVectorizer/X86/
Dpreserve-order64.ll6 %struct.nested.buffer = type { %struct.buffer_t, %struct.buffer_t }
35 define void @transitive_reorder(%struct.buffer_t* noalias %buff, %struct.nested.buffer* noalias %ne…
37 …%nest0_0 = getelementptr inbounds %struct.nested.buffer, %struct.nested.buffer* %nest, i64 0, i32 0
42 …%nest1_0 = getelementptr inbounds %struct.nested.buffer, %struct.nested.buffer* %nest, i64 0, i32 0
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoadStoreVectorizer/X86/
Dpreserve-order64.ll6 %struct.nested.buffer = type { %struct.buffer_t, %struct.buffer_t }
35 define void @transitive_reorder(%struct.buffer_t* noalias %buff, %struct.nested.buffer* noalias %ne…
37 …%nest0_0 = getelementptr inbounds %struct.nested.buffer, %struct.nested.buffer* %nest, i64 0, i32 0
42 …%nest1_0 = getelementptr inbounds %struct.nested.buffer, %struct.nested.buffer* %nest, i64 0, i32 0

12345678910>>...43