Home
last modified time | relevance | path

Searched refs:bout (Results 1 – 25 of 36) sorted by relevance

12

/external/oss-fuzz/projects/unbound/
Dfuzz_3.c13 uint8_t *bout; in LLVMFuzzerTestOneInput() local
22 bout = malloc(len); in LLVMFuzzerTestOneInput()
27 len2 = len; sldns_str2wire_dname_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
28 len2 = len; sldns_str2wire_int8_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
29 len2 = len; sldns_str2wire_int16_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
30 len2 = len; sldns_str2wire_int32_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
31 len2 = len; sldns_str2wire_a_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
32 len2 = len; sldns_str2wire_aaaa_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
33 len2 = len; sldns_str2wire_str_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
34 len2 = len; sldns_str2wire_apl_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
[all …]
Dfuzz_2.c7 char *bout; in LLVMFuzzerTestOneInput() local
16 bout = malloc(len); in LLVMFuzzerTestOneInput()
19 b = bout; bl = len; sldns_wire2str_edns_subnet_print(&b, &bl, bin, nr); in LLVMFuzzerTestOneInput()
20 b = bout; bl = len; sldns_wire2str_edns_n3u_print(&b, &bl, bin, nr); in LLVMFuzzerTestOneInput()
21 b = bout; bl = len; sldns_wire2str_edns_dhu_print(&b, &bl, bin, nr); in LLVMFuzzerTestOneInput()
22 b = bout; bl = len; sldns_wire2str_edns_dau_print(&b, &bl, bin, nr); in LLVMFuzzerTestOneInput()
23 b = bout; bl = len; sldns_wire2str_edns_nsid_print(&b, &bl, bin, nr); in LLVMFuzzerTestOneInput()
24 b = bout; bl = len; sldns_wire2str_edns_ul_print(&b, &bl, bin, nr); in LLVMFuzzerTestOneInput()
25 b = bout; bl = len; sldns_wire2str_edns_llq_print(&b, &bl, bin, nr); in LLVMFuzzerTestOneInput()
27 a = bin; al = nr; b = bout; bl = len; sldns_wire2str_tsigerror_scan(&a, &al, &b, &bl); in LLVMFuzzerTestOneInput()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DGeneratorFailTest.java50 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in _testDupFieldNameWrites() local
52 gen = f.createGenerator(new OutputStreamWriter(bout, "UTF-8")); in _testDupFieldNameWrites()
54 gen = f.createGenerator(bout, JsonEncoding.UTF8); in _testDupFieldNameWrites()
62 String json = bout.toString("UTF-8"); in _testDupFieldNameWrites()
73 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in _testFailOnWritingStringNotFieldName() local
75 gen = f.createGenerator(new OutputStreamWriter(bout, "UTF-8")); in _testFailOnWritingStringNotFieldName()
77 gen = f.createGenerator(bout, JsonEncoding.UTF8); in _testFailOnWritingStringNotFieldName()
84 String json = bout.toString("UTF-8"); in _testFailOnWritingStringNotFieldName()
96 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in _testFailOnWritingFieldNameInRoot() local
98 gen = f.createGenerator(new OutputStreamWriter(bout, "UTF-8")); in _testFailOnWritingFieldNameInRoot()
[all …]
DGeneratorFailFromReaderTest.java49 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in _testFailOnWritingStringNotFieldName() local
51 gen = f.createGenerator(new OutputStreamWriter(bout, "UTF-8")); in _testFailOnWritingStringNotFieldName()
53 gen = f.createGenerator(bout, JsonEncoding.UTF8); in _testFailOnWritingStringNotFieldName()
61 String json = bout.toString("UTF-8"); in _testFailOnWritingStringNotFieldName()
71 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in _testFailOnWritingStringFromReaderWithTooFewCharacters() local
73 gen = f.createGenerator(new OutputStreamWriter(bout, "UTF-8")); in _testFailOnWritingStringFromReaderWithTooFewCharacters()
75 gen = f.createGenerator(bout, JsonEncoding.UTF8); in _testFailOnWritingStringFromReaderWithTooFewCharacters()
85 String json = bout.toString("UTF-8"); in _testFailOnWritingStringFromReaderWithTooFewCharacters()
95 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in _testFailOnWritingStringFromNullReader() local
97 gen = f.createGenerator(new OutputStreamWriter(bout, "UTF-8")); in _testFailOnWritingStringFromNullReader()
[all …]
/external/python/cffi/cffi/
Dpkgconfig.py37 bout, berr = pc.communicate()
45 if sys.version_info >= (3,) and not isinstance(bout, str): # Python 3.x
47 bout = bout.decode(encoding)
51 (flag, libname, encoding, bout))
53 if os.altsep != '\\' and '\\' in bout:
56 (flag, libname, bout))
57 return bout
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DGZipTestCase.java149 final ByteArrayOutputStream bout = new ByteArrayOutputStream(); in testInteroperabilityWithGzipCompressorInputStream() local
157 final GzipCompressorOutputStream out = new GzipCompressorOutputStream(bout, parameters); in testInteroperabilityWithGzipCompressorInputStream()
162 …ressorInputStream in = new GzipCompressorInputStream(new ByteArrayInputStream(bout.toByteArray())); in testInteroperabilityWithGzipCompressorInputStream()
175 final ByteArrayOutputStream bout = new ByteArrayOutputStream(); in testInteroperabilityWithGZIPInputStream() local
183 final GzipCompressorOutputStream out = new GzipCompressorOutputStream(bout, parameters); in testInteroperabilityWithGZIPInputStream()
188 … final GZIPInputStream in = new GZIPInputStream(new ByteArrayInputStream(bout.toByteArray())); in testInteroperabilityWithGZIPInputStream()
218 final ByteArrayOutputStream bout = new ByteArrayOutputStream(); in testExtraFlags() local
222 final GzipCompressorOutputStream out = new GzipCompressorOutputStream(bout, parameters); in testExtraFlags()
227 assertEquals("extra flags (XFL)", flag, bout.toByteArray()[8]); in testExtraFlags()
259 final ByteArrayOutputStream bout = new ByteArrayOutputStream(); in testMetadataRoundTrip() local
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DExplodeSupportTest.java46 final ByteArrayOutputStream bout = new ByteArrayOutputStream(); in testArchiveWithImplodeCompression() local
47 final CheckedOutputStream out = new CheckedOutputStream(bout, new CRC32()); in testArchiveWithImplodeCompression()
80 final ByteArrayOutputStream bout = new ByteArrayOutputStream(); in testZipStreamWithImplodeCompression() local
81 final CheckedOutputStream out = new CheckedOutputStream(bout, new CRC32()); in testZipStreamWithImplodeCompression()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/base64/
DBase64GenerationTest.java127 ByteArrayOutputStream bout = new ByteArrayOutputStream(200); in _testSimpleBinaryWrite() local
129 gen = jf.createGenerator(new OutputStreamWriter(bout, "UTF-8")); in _testSimpleBinaryWrite()
131 gen = jf.createGenerator(bout, JsonEncoding.UTF8); in _testSimpleBinaryWrite()
152 JsonParser jp = jf.createParser(new ByteArrayInputStream(bout.toByteArray())); in _testSimpleBinaryWrite()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DUTF8NamesParseTest.java200 ByteArrayOutputStream bout = new ByteArrayOutputStream(len + (len >> 2)); in _testUtf8StringValue() local
201 OutputStreamWriter out = new OutputStreamWriter(bout, "UTF-8"); in _testUtf8StringValue()
207 JsonParser p = createParser(mode, bout.toByteArray()); in _testUtf8StringValue()
217 bout = new ByteArrayOutputStream(len + (len >> 2)); in _testUtf8StringValue()
218 out = new OutputStreamWriter(bout, "UTF-8"); in _testUtf8StringValue()
224 p = createParser(mode, bout.toByteArray()); in _testUtf8StringValue()
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DB21465217.input4 BufferedOutputStream bout = new BufferedOutputStream(out2);
5 OutputStreamWriter writer = new OutputStreamWriter(bout, UTF_8___________________________)) {
DB21465217.output4 BufferedOutputStream bout = new BufferedOutputStream(out2);
6 new OutputStreamWriter(bout, UTF_8___________________________)) {}
/external/jline/src/src/test/java/jline/
DJLineTestCase.java67 private final ByteArrayOutputStream bout = new ByteArrayOutputStream(); field in JLineTestCase.Buffer
77 return bout.toByteArray(); in getBytes()
135 bout.write(b); in append()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DGeneratorMiscTest.java162 ByteArrayOutputStream bout = new ByteArrayOutputStream(200); in _testLongerObjects() local
166 g = jf.createGenerator(new OutputStreamWriter(bout, "UTF-8")); in _testLongerObjects()
169 g = jf.createGenerator(bout, JsonEncoding.UTF8); in _testLongerObjects()
173 DataOutputStream dout = new DataOutputStream(bout); in _testLongerObjects()
205 byte[] json = bout.toByteArray(); in _testLongerObjects()
DGeneratorBasicTest.java28 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in testStringWrite() local
30 gen = JSON_F.createGenerator(new OutputStreamWriter(bout, "UTF-8")); in testStringWrite()
32 gen = JSON_F.createGenerator(bout, JsonEncoding.UTF8); in testStringWrite()
45 … JsonParser jp = JSON_F.createParser(new ByteArrayInputStream(bout.toByteArray())); in testStringWrite()
48 assertNotNull("Document \""+bout.toString("UTF-8")+"\" yielded no tokens", t); in testStringWrite()
/external/jline/src/src/main/java/jline/
DUnixTerminal.java290 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in exec() local
302 bout.write(c); in exec()
308 bout.write(c); in exec()
320 String result = new String(bout.toByteArray()); in exec()
/external/python/cffi/testing/cffi1/
Dtest_pkgconfig.py55 bout, berr, rc = mock_subprocess.RESULT
57 return bout, berr
/external/javassist/src/main/javassist/
DSerialVersionUID.java85 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in calculateDefault() local
86 DataOutputStream out = new DataOutputStream(bout); in calculateDefault()
193 byte[] digested = digest.digest(bout.toByteArray()); in calculateDefault()
/external/emma/core/java12/com/vladium/jcd/cls/
DClassDef.java272 final ByteArrayOStream bout = new ByteArrayOStream (1024); // TODO: reuse these in computeSUID() local
273 final DataOutputStream dout = new DataOutputStream (bout); in computeSUID()
450 byte [] dump = bout.copyByteArray (); in computeSUID()
459 md.update (bout.getByteArray (), 0, bout.size ()); in computeSUID()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsOutputStreamTest.java172 BufferedOutputStream bout = new BufferedOutputStream(out2); in testClosedOutputStream_doesNotThrowOnFlush()
173 OutputStreamWriter writer = new OutputStreamWriter(bout, UTF_8)) { in testClosedOutputStream_doesNotThrowOnFlush()
/external/llvm-project/lldb/test/API/macosx/lc-note/firmware-corefile/
DMakefile12 $(MAKE) VPATH=$(SRCDIR)/$* -I $(SRCDIR) -f $(SRCDIR)/bout.mk
/external/openssh/
Dclientloop.c580 client_suspend_self(struct sshbuf *bin, struct sshbuf *bout, struct sshbuf *berr) in client_suspend_self() argument
583 if (sshbuf_len(bout) > 0) in client_suspend_self()
584 atomicio(vwrite, fileno(stdout), sshbuf_mutable_ptr(bout), in client_suspend_self()
585 sshbuf_len(bout)); in client_suspend_self()
593 sshbuf_reset(bout); in client_suspend_self()
938 struct sshbuf *bin, struct sshbuf *bout, struct sshbuf *berr, in process_escapes() argument
1012 client_suspend_self(bin, bout, berr); in process_escapes()
/external/javassist/src/main/javassist/bytecode/
DConstPool.java1419 ByteArrayOutputStream bout = new ByteArrayOutputStream(); in toString() local
1420 PrintWriter out = new PrintWriter(bout); in toString()
1422 return bout.toString(); in toString()
/external/llvm-project/libcxx/src/filesystem/
Doperations.cpp701 OutIt bout(out);
702 copy(bin, ein, bout);
/external/libcxx/src/filesystem/
Doperations.cpp707 OutIt bout(out); in copy_file_impl_default() local
708 copy(bin, ein, bout); in copy_file_impl_default()
/external/deqp-deps/glslang/Test/
D310.frag110 out bool bout; // ERROR

12