Home
last modified time | relevance | path

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

12345678910>>...26

/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 __anon948305420102() 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 __anon948305420302() variable
81 auto gen = map([] (int i) {return 2.0 * i; }, values({ 1, 2, 3 })); in __anon948305420402() variable
91 auto gen = repeat(1, value(3)); variable
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DPrettyPrinter.java60 void writeRootValueSeparator(JsonGenerator gen) throws IOException; in writeRootValueSeparator()
74 void writeStartObject(JsonGenerator gen) throws IOException; in writeStartObject()
89 void writeEndObject(JsonGenerator gen, int nrOfEntries) throws IOException; in writeEndObject()
100 void writeObjectEntrySeparator(JsonGenerator gen) throws IOException; in writeObjectEntrySeparator()
111 void writeObjectFieldValueSeparator(JsonGenerator gen) throws IOException; in writeObjectFieldValueSeparator()
125 void writeStartArray(JsonGenerator gen) throws IOException; in writeStartArray()
140 void writeEndArray(JsonGenerator gen, int nrOfValues) throws IOException; in writeEndArray()
151 void writeArrayValueSeparator(JsonGenerator gen) throws IOException; in writeArrayValueSeparator()
169 void beforeArrayValues(JsonGenerator gen) throws IOException; in beforeArrayValues()
180 void beforeObjectEntries(JsonGenerator gen) throws IOException; in beforeObjectEntries()
/external/libbpf/src/
Dgen_loader.c45 static int blob_fd_array_off(struct bpf_gen *gen, int index) in blob_fd_array_off()
50 static int realloc_insn_buf(struct bpf_gen *gen, __u32 size) in realloc_insn_buf()
73 static int realloc_data_buf(struct bpf_gen *gen, __u32 size) in realloc_data_buf()
96 static void emit(struct bpf_gen *gen, struct bpf_insn insn) in emit()
104 static void emit2(struct bpf_gen *gen, struct bpf_insn insn1, struct bpf_insn insn2) in emit2()
113 void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps) in bpf_gen__init()
156 static int add_data(struct bpf_gen *gen, const void *data, __u32 size) in add_data()
178 static int add_map_fd(struct bpf_gen *gen) in add_map_fd()
188 static int add_kfunc_btf_fd(struct bpf_gen *gen) in add_kfunc_btf_fd()
211 static void emit_rel_store(struct bpf_gen *gen, int off, int data) in emit_rel_store()
[all …]
/external/libtextclassifier/abseil-cpp/absl/random/
Dmocking_bit_gen_test.cc33 absl::MockingBitGen gen; in TEST() local
76 absl::MockingBitGen gen; in TEST() local
119 absl::MockingBitGen gen; in TEST() local
128 absl::MockingBitGen gen; in TEST() local
140 absl::MockingBitGen gen; in TEST() local
177 absl::MockingBitGen gen; in TEST() local
187 absl::MockingBitGen gen; in TEST() local
196 absl::MockingBitGen gen; in TEST() local
206 absl::MockingBitGen gen; in TEST() local
220 absl::MockingBitGen gen; in TEST() local
[all …]
Dgenerators_test.cc27 void TestUniform(URBG* gen) { in TestUniform()
91 void TestExponential(URBG* gen) { in TestExponential()
98 void TestPoisson(URBG* gen) { in TestPoisson()
113 void TestBernoulli(URBG* gen) { in TestBernoulli()
119 void TestZipf(URBG* gen) { in TestZipf()
132 void TestGaussian(URBG* gen) { in TestGaussian()
139 void TestLogNormal(URBG* gen) { in TestLogNormal()
153 URBG gen; in CompatibilityTest() local
Ddistributions_test.cc203 absl::InsecureBitGen gen; in TEST_F() local
216 absl::InsecureBitGen gen; in TEST_F() local
227 absl::InsecureBitGen gen; in TEST_F() local
280 absl::InsecureBitGen gen; in TEST_F() local
296 absl::InsecureBitGen gen; in TEST_F() local
328 absl::InsecureBitGen gen; in TEST_F() local
344 absl::InsecureBitGen gen; in TEST_F() local
361 absl::InsecureBitGen gen; in TEST_F() local
378 absl::InsecureBitGen gen; in TEST_F() local
393 absl::InsecureBitGen gen; in TEST_F() local
[all …]
/external/openscreen/third_party/abseil/src/absl/random/
Dmocking_bit_gen_test.cc33 absl::MockingBitGen gen; in TEST() local
76 absl::MockingBitGen gen; in TEST() local
119 absl::MockingBitGen gen; in TEST() local
128 absl::MockingBitGen gen; in TEST() local
140 absl::MockingBitGen gen; in TEST() local
177 absl::MockingBitGen gen; in TEST() local
187 absl::MockingBitGen gen; in TEST() local
196 absl::MockingBitGen gen; in TEST() local
206 absl::MockingBitGen gen; in TEST() local
220 absl::MockingBitGen gen; in TEST() local
[all …]
Dgenerators_test.cc27 void TestUniform(URBG* gen) { in TestUniform()
91 void TestExponential(URBG* gen) { in TestExponential()
98 void TestPoisson(URBG* gen) { in TestPoisson()
113 void TestBernoulli(URBG* gen) { in TestBernoulli()
119 void TestZipf(URBG* gen) { in TestZipf()
132 void TestGaussian(URBG* gen) { in TestGaussian()
139 void TestLogNormal(URBG* gen) { in TestLogNormal()
153 URBG gen; in CompatibilityTest() local
Ddistributions_test.cc203 absl::InsecureBitGen gen; in TEST_F() local
216 absl::InsecureBitGen gen; in TEST_F() local
227 absl::InsecureBitGen gen; in TEST_F() local
280 absl::InsecureBitGen gen; in TEST_F() local
296 absl::InsecureBitGen gen; in TEST_F() local
328 absl::InsecureBitGen gen; in TEST_F() local
344 absl::InsecureBitGen gen; in TEST_F() local
361 absl::InsecureBitGen gen; in TEST_F() local
378 absl::InsecureBitGen gen; in TEST_F() local
393 absl::InsecureBitGen gen; in TEST_F() local
[all …]
/external/webrtc/third_party/abseil-cpp/absl/random/
Dmocking_bit_gen_test.cc36 absl::MockingBitGen gen; in TEST() local
79 absl::MockingBitGen gen; in TEST() local
122 absl::MockingBitGen gen; in TEST() local
131 absl::MockingBitGen gen; in TEST() local
143 absl::MockingBitGen gen; in TEST() local
180 absl::MockingBitGen gen; in TEST() local
190 absl::MockingBitGen gen; in TEST() local
199 absl::MockingBitGen gen; in TEST() local
209 absl::MockingBitGen gen; in TEST() local
223 absl::MockingBitGen gen; in TEST() local
[all …]
Dgenerators_test.cc27 void TestUniform(URBG* gen) { in TestUniform()
91 void TestExponential(URBG* gen) { in TestExponential()
98 void TestPoisson(URBG* gen) { in TestPoisson()
113 void TestBernoulli(URBG* gen) { in TestBernoulli()
119 void TestZipf(URBG* gen) { in TestZipf()
132 void TestGaussian(URBG* gen) { in TestGaussian()
139 void TestLogNormal(URBG* gen) { in TestLogNormal()
153 URBG gen; in CompatibilityTest() local
Ddistributions_test.cc204 absl::InsecureBitGen gen; in TEST_F() local
217 absl::InsecureBitGen gen; in TEST_F() local
237 absl::InsecureBitGen gen; in TEST_F() local
290 absl::InsecureBitGen gen; in TEST_F() local
306 absl::InsecureBitGen gen; in TEST_F() local
338 absl::InsecureBitGen gen; in TEST_F() local
354 absl::InsecureBitGen gen; in TEST_F() local
371 absl::InsecureBitGen gen; in TEST_F() local
388 absl::InsecureBitGen gen; in TEST_F() local
403 absl::InsecureBitGen gen; in TEST_F() local
[all …]
/external/angle/third_party/abseil-cpp/absl/random/
Dmocking_bit_gen_test.cc36 absl::MockingBitGen gen; in TEST() local
79 absl::MockingBitGen gen; in TEST() local
122 absl::MockingBitGen gen; in TEST() local
131 absl::MockingBitGen gen; in TEST() local
143 absl::MockingBitGen gen; in TEST() local
180 absl::MockingBitGen gen; in TEST() local
190 absl::MockingBitGen gen; in TEST() local
199 absl::MockingBitGen gen; in TEST() local
209 absl::MockingBitGen gen; in TEST() local
223 absl::MockingBitGen gen; in TEST() local
[all …]
Dgenerators_test.cc27 void TestUniform(URBG* gen) { in TestUniform()
91 void TestExponential(URBG* gen) { in TestExponential()
98 void TestPoisson(URBG* gen) { in TestPoisson()
115 void TestBernoulli(URBG* gen) { in TestBernoulli()
121 void TestZipf(URBG* gen) { in TestZipf()
136 void TestGaussian(URBG* gen) { in TestGaussian()
143 void TestLogNormal(URBG* gen) { in TestLogNormal()
159 URBG gen; in CompatibilityTest() local
Ddistributions_test.cc204 absl::InsecureBitGen gen; in TEST_F() local
217 absl::InsecureBitGen gen; in TEST_F() local
238 absl::InsecureBitGen gen; in TEST_F() local
291 absl::InsecureBitGen gen; in TEST_F() local
307 absl::InsecureBitGen gen; in TEST_F() local
339 absl::InsecureBitGen gen; in TEST_F() local
355 absl::InsecureBitGen gen; in TEST_F() local
372 absl::InsecureBitGen gen; in TEST_F() local
389 absl::InsecureBitGen gen; in TEST_F() local
404 absl::InsecureBitGen gen; in TEST_F() local
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dmocking_bit_gen_test.cc35 absl::MockingBitGen gen; in TEST() local
78 absl::MockingBitGen gen; in TEST() local
121 absl::MockingBitGen gen; in TEST() local
130 absl::MockingBitGen gen; in TEST() local
142 absl::MockingBitGen gen; in TEST() local
179 absl::MockingBitGen gen; in TEST() local
189 absl::MockingBitGen gen; in TEST() local
198 absl::MockingBitGen gen; in TEST() local
208 absl::MockingBitGen gen; in TEST() local
222 absl::MockingBitGen gen; in TEST() local
[all …]
Dgenerators_test.cc27 void TestUniform(URBG* gen) { in TestUniform()
91 void TestExponential(URBG* gen) { in TestExponential()
98 void TestPoisson(URBG* gen) { in TestPoisson()
113 void TestBernoulli(URBG* gen) { in TestBernoulli()
119 void TestZipf(URBG* gen) { in TestZipf()
132 void TestGaussian(URBG* gen) { in TestGaussian()
139 void TestLogNormal(URBG* gen) { in TestLogNormal()
153 URBG gen; in CompatibilityTest() local
Ddistributions_test.cc203 absl::InsecureBitGen gen; in TEST_F() local
216 absl::InsecureBitGen gen; in TEST_F() local
227 absl::InsecureBitGen gen; in TEST_F() local
280 absl::InsecureBitGen gen; in TEST_F() local
296 absl::InsecureBitGen gen; in TEST_F() local
328 absl::InsecureBitGen gen; in TEST_F() local
344 absl::InsecureBitGen gen; in TEST_F() local
361 absl::InsecureBitGen gen; in TEST_F() local
378 absl::InsecureBitGen gen; in TEST_F() local
393 absl::InsecureBitGen gen; in TEST_F() local
[all …]
/external/abseil-cpp/absl/random/
Dmocking_bit_gen_test.cc36 absl::MockingBitGen gen; in TEST() local
79 absl::MockingBitGen gen; in TEST() local
122 absl::MockingBitGen gen; in TEST() local
131 absl::MockingBitGen gen; in TEST() local
143 absl::MockingBitGen gen; in TEST() local
180 absl::MockingBitGen gen; in TEST() local
190 absl::MockingBitGen gen; in TEST() local
199 absl::MockingBitGen gen; in TEST() local
209 absl::MockingBitGen gen; in TEST() local
223 absl::MockingBitGen gen; in TEST() local
[all …]
Dgenerators_test.cc27 void TestUniform(URBG* gen) { in TestUniform()
91 void TestExponential(URBG* gen) { in TestExponential()
98 void TestPoisson(URBG* gen) { in TestPoisson()
113 void TestBernoulli(URBG* gen) { in TestBernoulli()
119 void TestZipf(URBG* gen) { in TestZipf()
132 void TestGaussian(URBG* gen) { in TestGaussian()
139 void TestLogNormal(URBG* gen) { in TestLogNormal()
153 URBG gen; in CompatibilityTest() local
/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/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DPrettyPrinterTest.java53 JsonGenerator gen = useBytes ? JSON_F.createGenerator(bytes) in testObjectCount() local
78 JsonGenerator gen = useBytes ? JSON_F.createGenerator(bytes) in testArrayCount() local
99 JsonGenerator gen = JSON_F.createGenerator(sw); in testSimpleDocWithDefault() local
109 JsonGenerator gen = JSON_F.createGenerator(sw); in testSimpleDocWithMinimal() local
151 JsonGenerator gen = f.createGenerator(sw); in testCustomRootSeparatorWithFactory() local
162 JsonGenerator gen = JSON_F.createGenerator(sw); in testCustomSeparatorsWithMinimal() local
190 JsonGenerator gen = new JsonFactory().createGenerator(sw); in testCustomSeparatorsWithPP() local
208 JsonGenerator gen = new JsonFactory().createGenerator(sw); in testCustomSeparatorsWithPPWithoutSpaces() local
230 private String _verifyPrettyPrinter(JsonGenerator gen, StringWriter sw) throws Exception in _verifyPrettyPrinter()
264 private void _writeTestDocument(JsonGenerator gen) throws IOException { in _writeTestDocument()
[all …]
DGeneratorBasicTest.java27 JsonGenerator gen; in testStringWrite() local
84 JsonGenerator gen = JSON_F.createGenerator(sw); in testBooleanWrite() local
109 JsonGenerator gen = JSON_F.createGenerator(sw); in testNullWrite() local
139 JsonGenerator gen; in _testRootIntsWrite() local
179 JsonGenerator gen; in _testFieldValueWrites() local
210 JsonGenerator gen = JSON_F.createGenerator(sw); in testOutputContext() local
278 JsonGenerator gen = JSON_F.createGenerator(out); in testGetOutputTarget() local
292 JsonGenerator gen = JSON_F.createGenerator(out); in testGetOutputBufferd() local
302 private void _testOutputBuffered(JsonGenerator gen) throws IOException in _testOutputBuffered()
339 JsonGenerator gen = JSON_F.createGenerator(bytes); in doTestIntValueWrite() local
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/filter/
DBasicGeneratorFilteringTest.java110 JsonGenerator gen = _createGenerator(w); in testNonFiltering() local
121 JsonGenerator gen = new FilteringGeneratorDelegate(_createGenerator(w), in testSingleMatchFilteringWithoutPath() local
142 FilteringGeneratorDelegate gen = new FilteringGeneratorDelegate(origGen, in testSingleMatchFilteringWithPath() local
164 FilteringGeneratorDelegate gen = new FilteringGeneratorDelegate(origGen, in testSingleMatchFilteringWithPathSkippedArray() local
193 FilteringGeneratorDelegate gen = new FilteringGeneratorDelegate(_createGenerator(w), in _testSingleMatchFilteringWithPathAlternate1() local
240 FilteringGeneratorDelegate gen = new FilteringGeneratorDelegate(_createGenerator(w), in testSingleMatchFilteringWithPathRawBinary() local
291 FilteringGeneratorDelegate gen = new FilteringGeneratorDelegate(_createGenerator(w), in testMultipleMatchFilteringWithPath1() local
319 FilteringGeneratorDelegate gen = new FilteringGeneratorDelegate(_createGenerator(w), in testMultipleMatchFilteringWithPath2() local
332 FilteringGeneratorDelegate gen = new FilteringGeneratorDelegate(_createGenerator(w), in testMultipleMatchFilteringWithPath3() local
344 FilteringGeneratorDelegate gen = new FilteringGeneratorDelegate(_createGenerator(w), in testMultipleMatchFilteringWithPath4() local
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DJsonValueSerializer.java163 … public void serialize(Object bean, JsonGenerator gen, SerializerProvider prov) throws IOException in serialize()
188 public void serializeWithType(Object bean, JsonGenerator gen, SerializerProvider provider, in serializeWithType()
395 public void writeTypePrefixForScalar(Object value, JsonGenerator gen) throws IOException { in writeTypePrefixForScalar()
401 public void writeTypePrefixForObject(Object value, JsonGenerator gen) throws IOException { in writeTypePrefixForObject()
407 public void writeTypePrefixForArray(Object value, JsonGenerator gen) throws IOException { in writeTypePrefixForArray()
413 public void writeTypeSuffixForScalar(Object value, JsonGenerator gen) throws IOException { in writeTypeSuffixForScalar()
419 public void writeTypeSuffixForObject(Object value, JsonGenerator gen) throws IOException { in writeTypeSuffixForObject()
425 public void writeTypeSuffixForArray(Object value, JsonGenerator gen) throws IOException { in writeTypeSuffixForArray()
431 …public void writeTypePrefixForScalar(Object value, JsonGenerator gen, Class<?> type) throws IOExce… in writeTypePrefixForScalar()
437 …public void writeTypePrefixForObject(Object value, JsonGenerator gen, Class<?> type) throws IOExce… in writeTypePrefixForObject()
[all …]

12345678910>>...26