Home
last modified time | relevance | path

Searched +full:write +full:- +full:output (Results 1 – 25 of 1143) sorted by relevance

12345678910>>...46

/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/BinaryFormat/
DMsgPackWriter.h1 //===- MsgPackWriter.h - Simple MsgPack writer ------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 /// raw_ostream output = GetOutputStream();
18 /// msgpack::Writer MPWriter(output);
20 /// MPWriter.write(false);
21 /// MPWriter.write("string");
26 //===----------------------------------------------------------------------===//
40 /// Writes MessagePack objects to an output stream, one at a time.
46 /// When in \p Compatible mode, the writer will write \c Str16 formats
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMsgPackWriter.h1 //===- MsgPackWriter.h - Simple MsgPack writer ------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 /// raw_ostream output = GetOutputStream();
18 /// msgpack::Writer MPWriter(output);
20 /// MPWriter.write(false);
21 /// MPWriter.write("string");
26 //===----------------------------------------------------------------------===//
39 /// Writes MessagePack objects to an output stream, one at a time.
45 /// When in \p Compatible mode, the writer will write \c Str16 formats
[all …]
/external/mesa3d/.gitlab-ci/bare-metal/
Dmkbootimg.py9 # http://www.apache.org/licenses/LICENSE-2.0
54 # Names with special meaning, mustn't be specified in --ramdisk_name.
56 PARSER_ARGUMENT_VENDOR_RAMDISK_FRAGMENT = '--vendor_ramdisk_fragment'
72 pad = (padding - (f.tell() & (padding - 1))) & (padding - 1)
73 f.write(pack(str(pad) + 'x'))
76 return (image_size + page_size - 1) // page_size
92 args.output.write(pack(f'{BOOT_MAGIC_SIZE}s', BOOT_MAGIC.encode()))
94 args.output.write(pack('I', filesize(args.kernel)))
96 args.output.write(pack('I', filesize(args.ramdisk)))
98 args.output.write(pack('I', (args.os_version << 11) | args.os_patch_level))
[all …]
/external/libxml2/
DgenUnicode.py4 # the character-validation range routines, and updated to the
16 webpage = "http://www.unicode.org/Public/4.0-Update1/UCD-4.0.1.html"
17 sources = "Blocks-4.0.1.txt UnicodeData-4.0.1.txt"
20 # blockAliases is a small hack - it is used for mapping block names which
26 blockAliases.append("PrivateUse:PrivateUseArea,SupplementaryPrivateUseArea-A," +
27 "SupplementaryPrivateUseArea-B")
89 # a dictionary with index category-name, with each entry containing
91 # names comprise two parts - the general category, and the "subclass"
93 # the first character of the 2-character category-name) and the full
94 # (2-character) name are entered into this dictionary.
[all …]
DgenChRanges.py6 # I, however, take full credit for any bugs, errors or difficulties :-)
24 # to generate single-byte lookup tables, or inline comparisons
40 ret.append((pos, e-1)) # append range tuple to list
47 # before a 256-byte lookup table is produced. If there are less than this
51 # dictionary of functions, key=name, element contains char-map and range-list
63 # The lines in the .def file have three types:-
77 # split line into space-separated fields, then split on type
95 print("name '%s' already present - may give" \
142 # split the range into it's first-val, last-val
160 # common path - 'currange' has the range, now take care of it
[all …]
/external/cronet/third_party/libxml/src/
DgenUnicode.py4 # the character-validation range routines, and updated to the
16 webpage = "http://www.unicode.org/Public/4.0-Update1/UCD-4.0.1.html"
17 sources = "Blocks-4.0.1.txt UnicodeData-4.0.1.txt"
20 # blockAliases is a small hack - it is used for mapping block names which
26 blockAliases.append("PrivateUse:PrivateUseArea,SupplementaryPrivateUseArea-A," +
27 "SupplementaryPrivateUseArea-B")
89 # a dictionary with index category-name, with each entry containing
91 # names comprise two parts - the general category, and the "subclass"
93 # the first character of the 2-character category-name) and the full
94 # (2-character) name are entered into this dictionary.
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/propagation/
DTagContextDeserializationTest.java2 * Copyright 2016-17, OpenCensus Authors
8 * http://www.apache.org/licenses/LICENSE-2.0
83 ByteArrayDataOutput output = ByteStreams.newDataOutput(); in testDeserializeTooLargeByteArrayThrowException() local
84 output.write(BinarySerializationUtils.VERSION_ID); in testDeserializeTooLargeByteArrayThrowException()
85 for (int i = 0; i < BinarySerializationUtils.TAGCONTEXT_SERIALIZED_SIZE_LIMIT / 8 - 1; i++) { in testDeserializeTooLargeByteArrayThrowException()
97 encodeTagToOutput(str, str, output); in testDeserializeTooLargeByteArrayThrowException()
101 encodeTagToOutput("last", "last1", output); in testDeserializeTooLargeByteArrayThrowException()
103 byte[] bytes = output.toByteArray(); in testDeserializeTooLargeByteArrayThrowException()
114 ByteArrayDataOutput output = ByteStreams.newDataOutput(); in testDeserializeTooLargeByteArrayThrowException_WithDuplicateTagKeys() local
115 output.write(BinarySerializationUtils.VERSION_ID); in testDeserializeTooLargeByteArrayThrowException_WithDuplicateTagKeys()
[all …]
/external/skia/gn/
Dgn_to_cmake.py5 # Use of this source code is governed by a BSD-style license that can be
12 gn gen out/config --ide=json --json-ide-script=../../gn/gn_to_cmake.py
16 gn gen out/config --ide=json
19 The first is recommended, as it will auto-update.
49 CMP0037 in CMake 3.0 restricts target names to "^[A-Za-z0-9_.:+-]+$"
53 if c in string.ascii_letters or c in string.digits or c in '_.+-':
62 out.write('set("')
63 out.write(CMakeStringEscape(variable_name))
64 out.write('" "')
65 out.write(CMakeStringEscape(value))
[all …]
/external/python/cpython2/Demo/zlib/
Dminigzip.py6 # implementation of gzip-format files.
12 def write32(output, value): argument
13 output.write(chr(value & 255)) ; value=value // 256
14 output.write(chr(value & 255)) ; value=value // 256
15 output.write(chr(value & 255)) ; value=value // 256
16 output.write(chr(value & 255))
25 def compress (filename, input, output): argument
26 output.write('\037\213\010') # Write the header, ...
27 output.write(chr(FNAME)) # ... flag byte ...
31 write32(output, mtime)
[all …]
/external/pcre/vms/
Dconfigure.com2 $! (c) Alexey Chupahin 11-APR-2024
8 $WRITE SYS$OUTPUT " "
9 $WRITE SYS$OUTPUT "Configuring PCRE2 library for OpenVMS "
10 $WRITE SYS$OUTPUT "(c) Alexey Chupahin CHAPG"
11 $WRITE SYS$OUTPUT " "
18 $WRITE SYS$OUTPUT "Checking architecture ... ", CPU
26 $IF (DECC) THEN $WRITE SYS$OUTPUT "Compiler ... DEC C"
27 $IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT
32 $ WRITE SYS$OUTPUT "Install MMS or MMK"
36 $!WRITE SYS$OUTPUT "Install PERL"
[all …]
/external/curl/packages/vms/
Dconfig_h.com43 $! SPDX-License-Identifier: ISC
56 $!----------------------------------------------------------
70 $!----------------------
74 $!-------------------------
79 $ write sys$output "Found existing custom file ''file'."
82 $ write sys$output "Creating new sys$disk:[]config_vms.h for you."
100 $! Write out the header
101 $!----------------------
108 $!------------------------------------------------------------------
153 $ write sys$output "Can not find sys$disk:config.h.in"
[all …]
Dgenerate_config_vms_h_curl.com8 $! know how to do everything, so there is also a [-.lib]config-vms.h file
14 $! and the [.lib]config-vms.h file do two different tasks and that the
31 $! SPDX-License-Identifier: ISC
65 $!---------------------------------------
71 $!----------------------------------------
82 $!------------------------------------
92 $!----------------------------------------------------------
100 $!----------------------------------------------------------------
109 $!------------------------------------------------------
112 $ write sys$output "NOTICE: A LIBIDN port has been detected."
[all …]
Dmake_pcsi_curl_kit_name.com23 $! SPDX-License-Identifier: ISC
31 $ set def [--]
47 $ write sys$output "The logical name GNV_PCSI_PRODUCER needs to be defined."
48 $ write sys$output "This should be set to the common abbreviation or name of"
49 $ write sys$output "the entity creating this kit. If you are an individual"
50 $ write sys$output "then use your initials."
56 $ write sys$output "The logical name GNV_PCSI_PRODUCER_FULL_NAME needs to"
57 $ write sys$output "be defined. This should be set to the full name of"
58 $ write sys$output "the entity creating this kit. If you are an individual"
59 $ write sys$output "then use your name."
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFileWriter.java2 * Javassist, a Java-bytecode translator toolkit.
3 * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.
24 * A quick class-file writer. This is useful when a generated
76 private ByteStream output; field in ClassFileWriter
89 output = new ByteStream(512); in ClassFileWriter()
90 output.writeInt(0xCAFEBABE); // magic in ClassFileWriter()
91 output.writeShort(minor); in ClassFileWriter()
92 output.writeShort(major); in ClassFileWriter()
93 constPool = new ConstPoolWriter(output); in ClassFileWriter()
130 output.writeShort(accessFlags); in end()
[all …]
/external/javassist/sample/preproc/
DCompiler.java2 * Javassist, a Java-bytecode translator toolkit.
3 * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.
34 * import <i>class-name</i> by <i>assistant-name</i> [(<i>arg1, arg2, ...</i>)]
45 * specified by <i>assistant-name</i> is executed so that it produces
47 * specified by <i>assistant-name</i> must implement
55 protected BufferedWriter output; field in Compiler
77 output = new BufferedWriter(new FileWriter(outputname)); in Compiler()
91 CommentSkipper reader = new CommentSkipper(input, output); in process()
92 while ((c = reader.read()) != -1) { in process()
93 output.write(c); in process()
[all …]
/external/python/cpython2/Lib/
Dquopri.py3 """Conversions to/from quoted-printable transport encoding as per RFC 1521."""
25 quoted. Note that line-ending tabs and spaces are always encoded, as per
42 def encode(input, output, quotetabs, header = 0): argument
43 """Read 'input', apply quoted-printable encoding, and write to 'output'.
45 'input' and 'output' are files with readline() and write() methods.
47 quoted. Note that line-ending tabs and spaces are always encoded, as per
56 output.write(odata)
59 def write(s, output=output, lineEnd='\n'): argument
62 if s and s[-1:] in ' \t':
63 output.write(s[:-1] + quote(s[-1]) + lineEnd)
[all …]
/external/python/cpython3/Tools/scripts/
Dgprof2html.py3 """Transform gprof(1) output into useful HTML."""
14 <title>gprof output (%s)</title>
27 with open(filename, encoding="utf-8") as fp:
31 def gprof2html(input, output, filename): argument
32 output.write(header % filename)
34 output.write(line)
41 output.write(line)
45 output.write('%s<a name="flat:%s" href="#call:%s">%s</a>\n' %
48 output.write(line)
54 output.write(line)
[all …]
/external/python/asn1crypto/asn1crypto/
Dpem.py1 # coding: utf-8
6 - armor()
7 - detect()
8 - unarmor()
29 Detect if a byte string seems to contain a PEM-encoded block
35 A boolean, indicating if a PEM-encoded block is contained in the byte
47 return byte_string.find(b'-----BEGIN') != -1 or byte_string.find(b'---- BEGIN') != -1
52 Armors a DER-encoded byte string in PEM
57 will appear as "-----BEGIN CERTIFICATE-----" and
58 "-----END CERTIFICATE-----".
[all …]
/external/apache-http/android/src/com/android/internal/http/multipart/
DPart.java2 …* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/…
4 * $Date: 2006-11-29 06:56:49 +0100 (Wed, 29 Nov 2006) $
15 * http://www.apache.org/licenses/LICENSE-2.0
61 protected static final String BOUNDARY = "----------------314159265358979323846";
89 protected static final String EXTRA = "--";
96 protected static final String CONTENT_DISPOSITION = "Content-Disposition: form-data; name=";
103 protected static final String CONTENT_TYPE = "Content-Type: ";
117 protected static final String CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding: ";
199 * Write the start to the specified output stream
200 * @param out The output stream
[all …]
/external/rust/crates/flate2/src/deflate/
Dwrite.rs9 /// This structure implements a [`Write`] interface and takes a stream of
12 /// [`Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
19 /// use flate2::write::DeflateEncoder;
21 /// // Vec<u8> implements Write to print the compressed bytes of sample string
30 pub struct DeflateEncoder<W: Write> {
34 impl<W: Write> DeflateEncoder<W> {
35 /// Creates a new encoder which will write compressed data to the stream
40 pub fn new(w: W, level: crate::Compression) -> DeflateEncoder<W> { in new()
47 pub fn get_ref(&self) -> &W { in get_ref()
53 /// Note that mutating the output/input state of the stream may corrupt this
[all …]
/external/rust/crates/flate2/src/zlib/
Dwrite.rs9 /// This structure implements a [`Write`] interface and takes a stream of
12 /// [`Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
19 /// use flate2::write::ZlibEncoder;
21 /// // Vec<u8> implements Write, assigning the compressed bytes of sample string
23 /// # fn zlib_encoding() -> std::io::Result<()> {
31 pub struct ZlibEncoder<W: Write> {
35 impl<W: Write> ZlibEncoder<W> {
36 /// Creates a new encoder which will write compressed data to the stream
41 pub fn new(w: W, level: crate::Compression) -> ZlibEncoder<W> { in new()
47 /// Creates a new encoder which will write compressed data to the stream
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/
DNullWriter.java9 * http://www.apache.org/licenses/LICENSE-2.0
17 package org.apache.commons.io.output;
54 * Does nothing - output to {@code /dev/null}.
55 * @param c The character to write
66 * Does nothing - output to {@code /dev/null}.
67 * @param csq The character sequence to write
78 * Does nothing - output to {@code /dev/null}.
79 * @param csq The character sequence to write
80 * @param start The index of the first character to write
81 * @param end The index of the first character to write (exclusive)
[all …]
/external/python/cpython3/Lib/
Dquopri.py3 """Conversions to/from quoted-printable transport encoding as per RFC 1521."""
25 quoted. Note that line-ending tabs and spaces are always encoded, as per
44 def encode(input, output, quotetabs, header=False): argument
45 """Read 'input', apply quoted-printable encoding, and write to 'output'.
47 'input' and 'output' are binary file objects. The 'quotetabs' flag
49 line-ending tabs and spaces are always encoded, as per RFC 1521.
56 output.write(odata)
59 def write(s, output=output, lineEnd=b'\n'): argument
62 if s and s[-1:] in b' \t':
63 output.write(s[:-1] + quote(s[-1:]) + lineEnd)
[all …]
/external/python/cpython2/Lib/plat-mac/
Dgensuitemodule.py2 gensuitemodule - Generate an AE suite module from an aete/aeut resource
31 DEFAULT_STANDARD_PACKAGEFOLDER=os.path.join(_MAC_LIB_FOLDER, 'lib-scriptpackages')
35 sys.stderr.write("Usage: %s [opts] application-or-resource-file\n" % sys.argv[0])
36 sys.stderr.write("""Options:
37 --output pkgdir Pathname of the output package (short: -o)
38 --resource Parse resource file in stead of launching application (-r)
39 --base package Use another base package in stead of default StdSuites (-b)
40 --edit old=new Edit suite names, use empty new to skip a suite (-e)
41 --creator code Set creator code for package (-c)
42 --dump Dump aete resource to stdout in stead of creating module (-d)
[all …]
/external/pigweed/pw_kvs/
Dalignment_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
37 // The output function checks that the data is properly aligned and matches
50 // Write values smaller than the alignment. in TEST()
51 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(0, 1)).status()); in TEST()
52 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(1, 9)).status()); in TEST()
54 // Write values larger than the alignment but smaller than the buffer. in TEST()
55 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(10, 11)).status()); in TEST()
58 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(21, 11)).status()); in TEST()
61 EXPECT_EQ(OkStatus(), writer.Write(kBytes.subspan(32, 66)).status()); in TEST()
63 // Write nothing. in TEST()
[all …]

12345678910>>...46