Home
last modified time | relevance | path

Searched refs:take (Results 1 – 25 of 1690) sorted by relevance

12345678910>>...68

/external/clang/test/Sema/
Dblock-args.c3 void take(void*);
6 take(^(int x){}); in test()
7 take(^(int x, int y){}); in test()
8 take(^(int x, int y){}); in test()
9 take(^(int x, // expected-note {{previous declaration is here}} in test()
13 take(^(int x) { return x+1; }); in test()
16 take(CP); in test()
/external/volley/src/test/java/com/android/volley/
DCacheDispatcherTest.java77 Request request = mNetworkQueue.take(); in cacheMiss()
100 Request request = mNetworkQueue.take(); in softExpiredCacheHit()
112 Request request = mNetworkQueue.take(); in expiredCacheHit()
141 Request request = mNetworkQueue.take(); in tripleCacheMiss_networkErrorOnFirst()
145 request = mNetworkQueue.take(); in tripleCacheMiss_networkErrorOnFirst()
150 request = mNetworkQueue.take(); in tripleCacheMiss_networkErrorOnFirst()
169 Request request = mNetworkQueue.take(); in duplicateSoftExpiredCacheHit_failedRequest()
173 request = mNetworkQueue.take(); in duplicateSoftExpiredCacheHit_failedRequest()
192 Request request = mNetworkQueue.take(); in duplicateSoftExpiredCacheHit_successfulRequest()
/external/eigen/unsupported/test/
Dcxx11_meta.cpp24 using Eigen::internal::take;
164 VERIFY((is_same<typename take<0, tl>::type, type_list<>>::value)); in test_slice()
165 VERIFY((is_same<typename take<1, tl>::type, type_list<dummy_a>>::value)); in test_slice()
166 VERIFY((is_same<typename take<2, tl>::type, type_list<dummy_a, dummy_a>>::value)); in test_slice()
167 VERIFY((is_same<typename take<3, tl>::type, type_list<dummy_a, dummy_a, dummy_b>>::value)); in test_slice()
168 …VERIFY((is_same<typename take<4, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b>>::value)… in test_slice()
169 …VERIFY((is_same<typename take<5, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b, dummy_c>… in test_slice()
170 …VERIFY((is_same<typename take<6, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b, dummy_c,… in test_slice()
172 VERIFY((is_same<typename take<0, il>::type, numeric_list<int>>::value)); in test_slice()
173 VERIFY((is_same<typename take<1, il>::type, numeric_list<int, 0>>::value)); in test_slice()
[all …]
/external/clang/test/CXX/temp/temp.param/
Dp15-cxx0x.cpp83 typedef types<typename Take<_>::type...> take; typedef
88 template<unsigned N, typename...Ts> struct take { struct
90 …template inner<wrap<Ts>::template inner...>::take; // expected-error {{too few template arguments}}
97 using T1 = take<3, int, char, double, long>::type; // expected-note {{previous}}
104 using T2 = take<4, int, char, double, long>::type; // expected-note {{previous}}
112 using T3 = take<5, int, char, double, long>::type; // expected-note {{in instantiation of}}
/external/swiftshader/third_party/LLVM/lib/Object/
DBinary.cpp55 OwningPtr<Binary> ret(new Archive(scopedSource.take(), ec)); in createBinary()
65 ObjectFile::createELFObjectFile(scopedSource.take())); in createBinary()
81 ObjectFile::createMachOObjectFile(scopedSource.take())); in createBinary()
88 OwningPtr<Binary> ret(new COFFObjectFile(scopedSource.take(), ec)); in createBinary()
102 return createBinary(File.take(), Result); in createBinary()
/external/python/cpython3/Lib/test/
Dtest_itertools.py55 def take(n, seq): function
81 def pickletest(self, protocol, it, stop=4, take=1, compare=None): argument
109 for i in range(take):
163 self.assertEqual(take(4, c('abc', 'def')), list('abcd'))
170 self.assertEqual(take(4, chain.from_iterable(['abc', 'def'])), list('abcd'))
181 self.assertEqual(take(4, oper(chain('abc', 'def'))), list('abcd'))
521 self.assertEqual(take(2, lzip('abc',count(3))), [('a', 3), ('b', 4)])
522 self.assertEqual(take(2, zip('abc',count(-1))), [('a', -1), ('b', 0)])
523 self.assertEqual(take(2, zip('abc',count(-3))), [('a', -3), ('b', -2)])
526 self.assertEqual(take(10, count(maxsize-5)),
[all …]
/external/e2fsprogs/tests/t_dangerous/
Dexpect37 Enabling checksums could take some time.
41 Resizing inodes could take some time.
45 Setting UUID on a checksummed filesystem could take some time.
58 Enabling checksums could take some time.
74 Resizing inodes could take some time.
78 Setting UUID on a checksummed filesystem could take some time.
/external/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelMatcherOpt.cpp36 Scope->resetChild(i, Child.take()); in ContractNodes()
57 New->setNext(MatcherPtr.take()); in ContractNodes()
80 Matcher *EmitNode = MatcherPtr.take(); in ContractNodes()
160 Matcher *CheckType = MatcherPtr.take(); in ContractNodes()
194 Scope->resetChild(i, Child.take()); in SinkPatternPredicates()
213 MatcherPtr.take(); // Don't delete CPPM. in SinkPatternPredicates()
268 if (Matcher *N = Child.take()) in FactorNodes()
512 return MatcherPtr.take(); in OptimizeMatcher()
/external/volley/src/test/java/com/android/volley/mock/
DWaitableQueue.java44 public Request<?> take() throws InterruptedException { in take() method in WaitableQueue
45 Request<?> item = super.take(); in take()
48 return take(); in take()
/external/python/cpython2/Lib/test/
Dtest_itertools.py44 def take(n, seq): function
68 self.assertEqual(take(4, c('abc', 'def')), list('abcd'))
75 self.assertEqual(take(4, chain.from_iterable(['abc', 'def'])), list('abcd'))
349 self.assertEqual(take(2, zip('abc',count(3))), [('a', 3), ('b', 4)])
350 self.assertEqual(take(2, zip('abc',count(-1))), [('a', -1), ('b', 0)])
351 self.assertEqual(take(2, zip('abc',count(-3))), [('a', -3), ('b', -2)])
354 self.assertEqual(take(10, count(maxsize-5)), range(maxsize-5, maxsize+5))
355 self.assertEqual(take(10, count(-maxsize-5)), range(-maxsize-5, -maxsize+5))
356 self.assertEqual(take(3, count(3.25)), [3.25, 4.25, 5.25])
357 self.assertEqual(take(3, count(3.25-4j)), [3.25-4j, 4.25-4j, 5.25-4j])
[all …]
/external/testng/src/main/java/org/testng/internal/
DPoolService.java48 Future<FutureType> take = m_completionService.take(); in submitTasksAndWait() local
49 result.add(take.get()); in submitTasksAndWait()
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/
Dscan_dataset_op_test.py43 take = array_ops.placeholder(dtypes.int64, shape=[])
44 iterator = self._count(start, step).take(take).make_initializable_iterator()
53 feed_dict={start: start_val, step: step_val, take: take_val})
/external/clang/include/clang/Basic/
DTokenKinds.def692 // The lexer produces these so that they only take effect when the parser
697 // The lexer produces these so that they only take effect when the parser
702 // The lexer produces these so that they only take effect when the parser
707 // The lexer produces these so that they only take effect when the parser
717 // The lexer produces these so that they only take effect when the parser
722 // The lexer produces these so that they only take effect when the parser
727 // The lexer produces these so that they only take effect when the parser
732 // The lexer produces these so that they only take effect when the parser
737 // The lexer produces these so that they only take effect when the parser
742 // The lexer produces these so that they only take effect when the parser
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/util/
DCXX11Meta.h81 template<int n, typename x> struct take;
82 …e<int n, typename a, typename... as> struct take<n, type_list<a, as...>> : concat<type_list<a>, ty…
83 template<int n> struct take<n, type_list<>> { typedef type_list…
84 template<typename a, typename... as> struct take<0, type_list<a, as...>> { typedef type_list…
85 template<> struct take<0, type_list<>> { typedef type_list…
87 …pename T, int n, T a, T... as> struct take<n, numeric_list<T, a, as...>> : concat<numeric_list<T, …
88 template<typename T, int n> struct take<n, numeric_list<T>> { typedef numer…
89 template<typename T, T a, T... as> struct take<0, numeric_list<T, a, as...>> { typedef numer…
90 template<typename T> struct take<0, numeric_list<T>> { typedef numer…
114 template<int start, int count, typename a> struct slice : take<count, typename skip<start, a>::type…
/external/autotest/server/site_tests/sequences/
Dcontrol.power21 # Run power tests that don't take a long time
62 # test. Charging the battery from empty to full can take up to 4 hours.
66 # Turn off power and run power_LoadTest. The power_LoadTest can take
Dcontrol.power_daily16 take a long time (several hours) to run and are run only once a day.
31 # test. Charging the battery from empty to full can take up to 4 hours.
45 # test. Charging the battery from empty to full can take up to 4 hours.
/external/tensorflow/tensorflow/compiler/tests/
Dgather_test.py68 expected = np.take(params_np, 2, axis=axis)
83 expected = np.take(params_np, [0, 1, 0, 2], axis=axis)
106 expected = np.take(params_np, [0, 1, 0, 2], axis=axis)
122 gather_np = np.take(params, indices, axis=axis)
/external/tensorflow/tensorflow/docs_src/api_guides/python/
Dstring_ops.md3 Note: Functions taking `Tensor` arguments can also take anything accepted by
10 String hashing ops take a string input tensor and map each element to an
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DParser.cpp40 return M2.take(); in ParseAssembly()
52 return ParseAssembly(File.take(), 0, Err, Context); in ParseAssemblyFile()
/external/guava/guava/src/com/google/common/util/concurrent/
DForwardingBlockingQueue.java71 @Override public E take() throws InterruptedException { in take() method in ForwardingBlockingQueue
72 return delegate().take(); in take()
/external/swiftshader/third_party/LLVM/tools/llvm-cov/
Dllvm-cov.cpp52 GCOVBuffer GCNO_GB(GCNO_Buff.take()); in main()
64 GCOVBuffer GCDA_GB(GCDA_Buff.take()); in main()
/external/swiftshader/third_party/LLVM/tools/llvm-mc/
Dllvm-mc.cpp239 MemoryBuffer *Buffer = BufferPtr.take(); in AsLexInput()
352 MemoryBuffer *Buffer = BufferPtr.take(); in AssembleInput()
425 Str.reset(createLoggingStreamer(Str.take(), errs())); in AssembleInput()
466 Disassembler::disassembleEnhanced(TripleName, *Buffer.take(), Out->os()); in DisassembleInput()
478 *Buffer.take(), Out->os()); in DisassembleInput()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DIRReader.h68 return getLazyIRModule(File.take(), Err, Context); in getLazyIRFileModule()
105 return ParseIR(File.take(), Err, Context); in ParseIRFile()
/external/lisa/libs/utils/android/workloads/
Didle_resume.py102 System.wakelock(self._target, take=True)
118 System.wakelock(self._target, take=False)
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DOwningPtr.h50 T *take() { in take() function
104 T *take() { in take() function

12345678910>>...68