Home
last modified time | relevance | path

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

12345678910>>...38

/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils.py145 def map_structure_with_atomic(is_atomic_fn, map_fn, nested): argument
161 if is_atomic_fn(nested):
162 return map_fn(nested)
165 if not nest.is_sequence(nested):
167 'Received non-atomic and non-sequence element: {}'.format(nested))
168 if nest._is_mapping(nested):
169 values = [nested[k] for k in nest._sorted(nested)]
171 values = nested
175 return nest._sequence_like(nested, mapped_values)
238 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/python/apitools/apitools/base/py/testing/
Dmock_test.py168 nested = messages.StringField(1) variable in _NestedMessage
176 nested = messages.MessageField(_NestedMessage, 1) variable in _NestedNestedMessage
184 nested=_NestedMessage(
185 nested='foo')),
187 nested=_NestedMessage(
188 nested='bar'))))
192 nested=_NestedMessage(
193 nested='foo')),
195 nested=_NestedMessage(
196 nested='foo'))))
[all …]
/external/tensorflow/tensorflow/python/util/
Dutil.cc468 explicit AttrsValueIterator(PyObject* nested) : nested_(nested) { in AttrsValueIterator() argument
469 Py_INCREF(nested); in AttrsValueIterator()
542 ValueIteratorPtr GetValueIterator(PyObject* nested) { in GetValueIterator() argument
543 if (PyDict_Check(nested)) { in GetValueIterator()
544 return absl::make_unique<DictValueIterator>(nested); in GetValueIterator()
545 } else if (IsMappingHelper(nested)) { in GetValueIterator()
546 return absl::make_unique<MappingValueIterator>(nested); in GetValueIterator()
547 } else if (IsAttrsHelper(nested)) { in GetValueIterator()
548 return absl::make_unique<AttrsValueIterator>(nested); in GetValueIterator()
550 return absl::make_unique<SequenceValueIterator>(nested); in GetValueIterator()
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/ScalarRepl/
Dnonzero-first-index.ll6 %nested = type { i32, [4 x i32] }
14 %A = alloca %nested
15 %B = getelementptr %nested* %A, i32 0, i32 1, i32 0
25 %A = alloca %nested
26 %B = getelementptr %nested* %A, i32 0, i32 1, i32 0
37 %A = alloca %nested
38 %B = bitcast %nested* %A to i32*
48 %A = alloca %nested
49 %B = bitcast %nested* %A to i32*
/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/v8/tools/clang/rewrite_to_chrome_style/tests/
Dnamespaces-expected.cc11 namespace nested { namespace
28 namespace nested { namespace
48 blink::nested::Foo(); in G()
50 WTF::nested::Foo(); in G()
Dnamespaces-original.cc11 namespace nested { namespace
28 namespace nested { namespace
48 blink::nested::foo(); in G()
50 WTF::nested::foo(); in G()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource_test.cc428 NestedBook nested; in TEST_P() local
429 nested.set_allocated_book(book); in TEST_P()
440 DoTest(nested, BadNestedBook::descriptor()); in TEST_P()
444 BadNestedBook nested; in TEST_P() local
445 nested.add_book(1); in TEST_P()
446 nested.add_book(2); in TEST_P()
447 nested.add_book(3); in TEST_P()
448 nested.add_book(4); in TEST_P()
449 nested.add_book(5); in TEST_P()
450 nested.add_book(6); in TEST_P()
[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/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/guava/guava/src/com/google/common/util/concurrent/
DAsyncSettableFuture.java44 private final NestedFuture<V> nested = new NestedFuture<V>(); field in AsyncSettableFuture
45 private final ListenableFuture<V> dereferenced = Futures.dereference(nested);
58 return nested.setFuture(checkNotNull(future)); in setFuture()
88 return nested.isDone(); in isSet()
/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/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/src/google/protobuf/
Dproto3_arena_lite_unittest.cc147 TestAllTypes::NestedMessage* nested = new TestAllTypes::NestedMessage; in TEST() local
148 nested->set_bb(118); in TEST()
149 arena_message->set_allocated_optional_nested_message(nested); in TEST()
157 google::protobuf::scoped_ptr<TestAllTypes::NestedMessage> nested( in TEST() local
159 EXPECT_EQ(118, nested->bb()); in TEST()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAsyncSettableFutureTest.java80 SettableFuture<String> nested = SettableFuture.create(); in testSetFuture() local
81 assertTrue(future.setFuture(nested)); in testSetFuture()
94 nested.set("foo"); in testSetFuture()
102 SettableFuture<FooChild> nested = SettableFuture.create(); in testSetFuture_genericsHierarchy() local
103 assertTrue(future.setFuture(nested)); in testSetFuture_genericsHierarchy()
117 nested.set(value); in testSetFuture_genericsHierarchy()
/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
/external/python/cpython2/Lib/test/
Dtest_contextlib.py131 with nested(a(), b(), c()) as (x, y, z):
153 with nested(a(), b()) as (x, y):
172 with nested(a(), b()) as (x, y):
188 with nested(a(), b()):
200 with nested(a(), a()):
212 with nested(a(), a()):
225 with nested(a(), a()):
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java41 boolean nested = false; // Whether we are currently serializing a table. field in FlatBufferBuilder
145 nested = false; in init()
211 nested = false; in clear()
452 nested = true; in startVector()
463 if (!nested) in endVector()
465 nested = false; in endVector()
579 if (nested) in notNested()
640 nested = true; in startObject()
763 if (vtable == null || !nested) in endObject()
815 nested = false; in endObject()

12345678910>>...38