Home
last modified time | relevance | path

Searched defs:gen (Results 1 – 25 of 264) sorted by relevance

1234567891011

/external/catch2/projects/SelfTest/IntrospectiveTests/
DGeneratorsImpl.tests.cpp8 auto gen = value(123); variable
13 auto gen = values({ 1, 3, 5 }); variable
22 auto gen = makeGenerators(1, 5, values({ 2, 4 }), 0); variable
35 auto gen = makeGenerators(as<std::string>{}, "aa", "bb", "cc"); variable
48 auto gen = filter([] (int i) { return i != 2; }, values({ 2, 1, 2, 3, 2, 2 })); in __anon8726b07f0102() variable
59 auto gen = take(2, values({ 1, 2, 3 })); variable
66 auto gen = take(2, value(1)); variable
72 auto gen = map<double>([] (int i) {return 2.0 * i; }, values({ 1, 2, 3 })); in __anon8726b07f0302() variable
82 auto gen = repeat(1, value(3)); variable
87 auto gen = repeat(2, values({ 1, 2, 3 })); variable
[all …]
/external/python/cpython2/Objects/
Dgenobject.c11 gen_traverse(PyGenObject *gen, visitproc visit, void *arg) in gen_traverse()
19 gen_dealloc(PyGenObject *gen) in gen_dealloc()
45 gen_send_ex(PyGenObject *gen, PyObject *arg, int exc) in gen_send_ex()
120 gen_send(PyGenObject *gen, PyObject *arg) in gen_send()
129 gen_close(PyGenObject *gen, PyObject *args) in gen_close()
155 PyGenObject *gen = (PyGenObject *)self; in gen_del() local
218 gen_throw(PyGenObject *gen, PyObject *args) in gen_throw()
281 gen_iternext(PyGenObject *gen) in gen_iternext()
288 gen_repr(PyGenObject *gen) in gen_repr()
300 gen_get_name(PyGenObject *gen) in gen_get_name()
[all …]
/external/python/cpython3/Lib/test/
Dtest_asyncgen.py37 def to_list(gen): argument
135 async def gen(): function
147 async def gen(): function
173 async def gen(): function
183 async def gen(): function
203 async def gen(): function
212 async def gen(): function
294 async def gen(): function
301 async def gen(): function
332 async def to_list(self, gen): argument
[all …]
Dtest_generators.py52 def gen(): function
73 def gen(): function
207 def gen(): function
219 def gen(): function
246 def gen(): function
277 def gen(): function
1264 def gen(i): function
1289 def gen(i): function
/external/libcxx/benchmarks/
Dfilesystem.bench.cpp10 void BM_PathConstructString(benchmark::State &st, GenInputs gen) { in BM_PathConstructString()
28 void BM_PathConstructCStr(benchmark::State &st, GenInputs gen) { in BM_PathConstructCStr()
45 void BM_PathConstructIter(benchmark::State &st, GenInputs gen) { in BM_PathConstructIter()
64 void BM_PathConstructInputIter(benchmark::State &st, GenInputs gen) { in BM_PathConstructInputIter()
68 void BM_PathConstructForwardIter(benchmark::State &st, GenInputs gen) { in BM_PathConstructForwardIter()
78 void BM_PathIterateMultipleTimes(benchmark::State &st, GenInputs gen) { in BM_PathIterateMultipleTimes()
98 void BM_PathIterateOnce(benchmark::State &st, GenInputs gen) { in BM_PathIterateOnce()
118 void BM_PathIterateOnceBackwards(benchmark::State &st, GenInputs gen) { in BM_PathIterateOnceBackwards()
149 void BM_LexicallyNormal(benchmark::State &st, GenInput gen, size_t PathLen) { in BM_LexicallyNormal()
DContainerBenchmarks.hpp12 void BM_ConstructIterIter(benchmark::State& st, Container, GenInputs gen) { in BM_ConstructIterIter()
24 void BM_InsertValue(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertValue()
37 void BM_InsertValueRehash(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertValueRehash()
52 void BM_InsertDuplicate(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertDuplicate()
68 void BM_EmplaceDuplicate(benchmark::State& st, Container c, GenInputs gen) { in BM_EmplaceDuplicate()
83 static void BM_Find(benchmark::State& st, Container c, GenInputs gen) { in BM_Find()
97 static void BM_FindRehash(benchmark::State& st, Container c, GenInputs gen) { in BM_FindRehash()
/external/google-breakpad/src/testing/gtest/test/
Dgtest-param-test_test.cc190 const ParamGenerator<int> gen = Range(0, 10); in TEST() local
225 const ParamGenerator<int> gen = Range(0, 3); in TEST() local
233 const ParamGenerator<int> gen = Range(0, 1); in TEST() local
241 const ParamGenerator<int> gen = Range(0, 0); in TEST() local
248 const ParamGenerator<int> gen = Range(0, 9, 3); in TEST() local
258 const ParamGenerator<int> gen = Range(0, 4, 3); in TEST() local
290 const ParamGenerator<DogAdder> gen = in TEST() local
324 const ParamGenerator<IntWrapper> gen = Range(IntWrapper(0), IntWrapper(2)); in TEST() local
340 const ParamGenerator<int> gen = ValuesIn(array); in TEST() local
348 const ParamGenerator<int> gen = ValuesIn(array); in TEST() local
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_alt.c108 GENERAL_NAME *gen; in STACK_OF() local
194 int GENERAL_NAME_print(BIO *out, GENERAL_NAME *gen) in GENERAL_NAME_print()
272 GENERAL_NAME *gen; in v2i_issuer_alt() local
289 GENERAL_NAME *gen; in copy_issuer() local
346 GENERAL_NAME *gen; in v2i_subject_alt() local
367 GENERAL_NAME *gen = NULL; in copy_email() local
418 GENERAL_NAME *gen; in v2i_GENERAL_NAMES() local
450 GENERAL_NAME *gen = NULL; in a2i_GENERAL_NAME() local
575 static int do_othername(GENERAL_NAME *gen, char *value, X509V3_CTX *ctx) in do_othername()
602 static int do_dirname(GENERAL_NAME *gen, char *value, X509V3_CTX *ctx) in do_dirname()
Dv3_genn.c222 int GENERAL_NAME_set0_othername(GENERAL_NAME *gen, in GENERAL_NAME_set0_othername()
236 int GENERAL_NAME_get0_otherName(GENERAL_NAME *gen, in GENERAL_NAME_get0_otherName()
/external/openssh/
Ddh.c49 char *strsize, *gen, *prime; in parse_prime() local
289 dh_new_group_asc(const char *gen, const char *modulus) in dh_new_group_asc()
309 dh_new_group(BIGNUM *gen, BIGNUM *modulus) in dh_new_group()
325 static char *gen = "2", *group1 = in dh_new_group1() local
340 static char *gen = "2", *group14 = in dh_new_group14() local
360 static char *gen = "2", *group16 = in dh_new_group16() local
391 static char *gen = "2", *group16 = in dh_new_group18() local
/external/googletest/googletest/test/
Dgoogletest-param-test-test.cc137 const ParamGenerator<int> gen = Range(0, 10); in TEST() local
172 const ParamGenerator<int> gen = Range(0, 3); in TEST() local
180 const ParamGenerator<int> gen = Range(0, 1); in TEST() local
188 const ParamGenerator<int> gen = Range(0, 0); in TEST() local
195 const ParamGenerator<int> gen = Range(0, 9, 3); in TEST() local
205 const ParamGenerator<int> gen = Range(0, 4, 3); in TEST() local
237 const ParamGenerator<DogAdder> gen = in TEST() local
271 const ParamGenerator<IntWrapper> gen = Range(IntWrapper(0), IntWrapper(2)); in TEST() local
287 const ParamGenerator<int> gen = ValuesIn(array); in TEST() local
295 const ParamGenerator<int> gen = ValuesIn(array); in TEST() local
[all …]
/external/tensorflow/tensorflow/core/lib/random/
Dphilox_random_test.cc43 ResultType operator()(PhiloxRandom* gen) { return (*gen)(); } in operator ()()
55 PhiloxRandom gen(test_seed); in TEST() local
62 PhiloxRandom gen(test_seed); in TEST() local
/external/libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/
Drandom_shuffle.cxx1z.pass.cpp34 struct gen struct
47 gen r; in main() argument
Drandom_shuffle.depr_in_cxx14.fail.cpp35 struct gen struct
48 gen r; in main() argument
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
Drandom_shuffle_rand.pass.cpp25 struct gen struct
38 gen r; in main() argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetTestSuiteBuilder.java165 final OneSizeTestContainerGenerator<Collection<E>, E> gen; field in MultisetTestSuiteBuilder.ElementSetGenerator
167 ElementSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) { in ElementSetGenerator() argument
198 final OneSizeTestContainerGenerator<Collection<E>, E> gen; field in MultisetTestSuiteBuilder.EntrySetGenerator
200 private EntrySetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) { in EntrySetGenerator() argument
257 final OneSizeTestContainerGenerator<Collection<E>, E> gen; field in MultisetTestSuiteBuilder.ReserializedMultisetGenerator
259 private ReserializedMultisetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) { in ReserializedMultisetGenerator() argument
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpacket_buffer_unittest.cc90 PacketGenerator gen(17u, 4711u, 0, 10); in TEST() local
111 PacketGenerator gen(0, 0, 0, 10); in TEST() local
131 PacketGenerator gen(0, 0, 0, 10); in TEST() local
160 PacketGenerator gen(0, 0, 0, 10); in TEST() local
196 PacketGenerator gen(0, 0, 0, 10); in TEST() local
263 PacketGenerator gen(0, 0, 0, kFrameSize); in TEST() local
296 PacketGenerator gen(start_seq_no, start_ts, 0, ts_increment); in TEST() local
325 PacketGenerator gen(start_seq_no, start_ts, 0, ts_increment); in TEST() local
375 PacketGenerator gen(start_seq_no, start_ts, 0, ts_increment); in TEST() local
436 PacketGenerator gen(0, 0, 0, 10); in TEST() local
[all …]
/external/python/cpython3/Objects/
Dgenobject.c29 gen_traverse(PyGenObject *gen, visitproc visit, void *arg) in gen_traverse()
43 PyGenObject *gen = (PyGenObject *)self; in _PyGen_Finalize() local
116 gen_dealloc(PyGenObject *gen) in gen_dealloc()
152 gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing) in gen_send_ex()
289 _PyGen_Send(PyGenObject *gen, PyObject *arg) in _PyGen_Send()
330 _PyGen_yf(PyGenObject *gen) in _PyGen_yf()
357 gen_close(PyGenObject *gen, PyObject *args) in gen_close()
397 _gen_throw(PyGenObject *gen, int close_on_genexit, in _gen_throw()
525 gen_throw(PyGenObject *gen, PyObject *args) in gen_throw()
540 gen_iternext(PyGenObject *gen) in gen_iternext()
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_queues.py25 def gen(): function
113 def gen(): function
179 def gen(): function
221 def gen(): function
318 def gen(): function
353 def gen(): function
381 def gen(): function
412 def gen(): function
547 def gen(): function
/external/webrtc/webrtc/modules/video_coding/
Djitter_estimator_tests.cc65 ValueGenerator gen(10); in TEST_F() local
82 ValueGenerator gen(10); in TEST_F() local
99 ValueGenerator gen(10); in TEST_F() local
116 ValueGenerator gen(50); in TEST_F() local
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DPLSETestCase.java42 final ClassGen gen = new ClassGen(clazz); in testB208() local
58 final ClassGen gen = new ClassGen(clazz); in testB79() local
76 final ClassGen gen = new ClassGen(clazz); in testB262() local
/external/tensorflow/tensorflow/contrib/coder/kernels/
Drange_coder_test.cc28 void RangeEncodeDecodeTest(int precision, random::SimplePhilox* gen) { in RangeEncodeDecodeTest()
90 random::PhiloxRandom gen(random::New64(), random::New64()); in TEST() local
97 random::PhiloxRandom gen(random::New64(), random::New64()); in TEST() local
/external/tensorflow/tensorflow/core/kernels/
Drandom_poisson_op_test.cc39 std::mt19937 gen(0x12345); in VecLam32() local
50 std::mt19937 gen(0x12345); in VecLam64() local
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DCollectionTestSuiteBuilder.java68 final OneSizeTestContainerGenerator<Collection<E>, E> gen; field in CollectionTestSuiteBuilder.ReserializedCollectionGenerator
70 private ReserializedCollectionGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) { in ReserializedCollectionGenerator() argument
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtest_util.h66 auto gen = std::bind(dist, RandomEngine()); in FillRandom() local
80 auto gen = std::bind(dist, RandomEngine()); in FillRandom() local

1234567891011