Home
last modified time | relevance | path

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

12345678910>>...45

/external/libxml2/doc/examples/
Dindex.py1 #!/usr/bin/python -u
31 print "loading ../libxml2-api.xml"
32 api_doc = libxml2.parseFile("../libxml2-api.xml")
34 print "failed to parse ../libxml2-api.xml"
92 def parse(filename, output): argument
100 output.write(" <example filename='%s'>\n" % filename)
103 output.write(" <synopsis>%s</synopsis>\n" % escape(synopsis));
108 output.write(" <purpose>%s</purpose>\n" % escape(purpose));
113 output.write(" <usage>%s</usage>\n" % escape(usage));
118 output.write(" <test>%s</test>\n" % escape(test));
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/Inputs/shtest-shell/
Dvalid-shell.txt4 # RUN: rm -f %t.write
5 # RUN: %{python} %S/check_path.py file %t.write > %t.out
6 # RUN: FileCheck --check-prefix=REMOVE-FILE < %t.out %s
7 # RUN: echo "create a temp file" > %t.write
8 # RUN: %{python} %S/check_path.py file %t.write > %t.out
9 # RUN: FileCheck --check-prefix=FILE-EXIST < %t.out %s
10 # RUN: rm -f %t.write
11 # RUN: %{python} %S/check_path.py file %t.write > %t.out
12 # RUN: FileCheck --check-prefix=REMOVE-FILE < %t.out %s
14 # REMOVE-FILE: False
[all …]
/external/libxml2/
DgenUnicode.py1 #!/usr/bin/python -u
4 # 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
[all …]
DgenChRanges.py1 #!/usr/bin/python -u
6 # I, however, take full credit for any bugs, errors or difficulties :-)
25 # to generate single-byte lookup tables, or inline comparisons
41 ret.append((pos, e-1)) # append range tuple to list
48 # before a 256-byte lookup table is produced. If there are less than this
52 # dictionary of functions, key=name, element contains char-map and range-list
64 # The lines in the .def file have three types:-
78 # split line into space-separated fields, then split on type
96 print "name '%s' already present - may give" \
143 # split the range into it's first-val, last-val
[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
81 ByteArrayDataOutput output = ByteStreams.newDataOutput(); in testDeserializeTooLargeByteArrayThrowException() local
82 output.write(SerializationUtils.VERSION_ID); in testDeserializeTooLargeByteArrayThrowException()
83 for (int i = 0; i < SerializationUtils.TAGCONTEXT_SERIALIZED_SIZE_LIMIT / 8 - 1; i++) { in testDeserializeTooLargeByteArrayThrowException()
95 encodeTagToOutput(str, str, output); in testDeserializeTooLargeByteArrayThrowException()
99 encodeTagToOutput("last", "last1", output); in testDeserializeTooLargeByteArrayThrowException()
101 byte[] bytes = output.toByteArray(); in testDeserializeTooLargeByteArrayThrowException()
112 ByteArrayDataOutput output = ByteStreams.newDataOutput(); in testDeserializeTooLargeByteArrayThrowException_WithDuplicateTagKeys() local
113 output.write(SerializationUtils.VERSION_ID); in testDeserializeTooLargeByteArrayThrowException_WithDuplicateTagKeys()
[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/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/skqp/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/ImageMagick/
DMake.com38 $ write sys$error "Unknown option \", option, "\"
65 $write sys$output "Making in [.magickcore]"
68 $set default [-]
69 $write sys$output "Making in [.coders]"
72 $set default [-]
76 $ write sys$output "Making shareable image"
77 $ link/share/exe=magickshr.exe [.magickcore]libMagick.olb/lib, -
78 [.coders]libCoders.olb/lib,[.magickcore]libMagick.olb/lib, -
79 []magickshr.opt/opt, -
80 sys$library:freetype.olb/lib, -
[all …]
/external/perf_data_converter/src/quipper/
Dbuffer_writer_test.cc2 // Use of this source code is governed by a BSD-style license that can be
22 // Move the write cursor around. in TEST()
31 // write operations there. in TEST()
38 // Make sure that the writer can handle a write size of zero.
40 std::vector<uint8_t> output(10); in TEST() local
41 BufferWriter writer(output.data(), output.size()); in TEST()
44 // Make sure the write pointer hasn't moved. in TEST()
48 // Write a chunk of data to the output buffer.
51 std::vector<uint8_t> output(kInputData.size()); in TEST() local
52 BufferWriter writer(output.data(), output.size()); in TEST()
[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/u-boot/test/py/
Dmultiplexed_log.py1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
5 # Generate an HTML-formatted log file containing multiple streams of data,
6 # each represented in a well-delineated/-structured fashion.
17 """A file-like object used to write a single logical stream of data into
27 chained_file: The file-like object to which all stream data should be
39 """Dummy function so that this class is "file-like".
50 def write(self, data, implicit=False): member in LogfileStream
51 """Write data to the log stream.
54 data: The data to write tot he file.
[all …]
/external/curl/packages/vms/
Dmake_pcsi_curl_kit_name.com25 $! 11-Jun-2009 J. Malmberg
33 $ set def [--]
49 $ write sys$output "The logical name GNV_PCSI_PRODUCER needs to be defined."
50 $ write sys$output "This should be set to the common abbreviation or name of"
51 $ write sys$output "the entity creating this kit. If you are an individual"
52 $ write sys$output "then use your initials."
58 $ write sys$output "The logical name GNV_PCSI_PRODUCER_FULL_NAME needs to"
59 $ write sys$output "be defined. This should be set to the full name of"
60 $ write sys$output "the entity creating this kit. If you are an individual"
61 $ write sys$output "then use your name."
[all …]
Dconfig_h.com45 $! 15-Jan-2001 J. Malmberg Original
46 $! 29-Apr-2001 J. Malmberg Also look for config.*in* in a [.include]
48 $! 30-Apr-2001 J. Malmberg Update for SAMBA checks
49 $! 09-Apr-2005 J. Malmberg Update for RSYNC and large file.
50 $! 29-Sep-2011 J. Malmberg Update for Bash 4.2
51 $! 01-Mar-2012 J. Malmberg Warn about getcwd(0,0)
52 $! 21-Dec-2012 J. Malmberg Update for gawk
53 $! 29-Dec-2012 J. Malmberg Update for curl
65 $!----------------------------------------------------------
79 $!----------------------
[all …]
Dgenerate_config_vms_h_curl.com10 $! know how to do everything, so there is also a [-.lib]config-vms.h file
16 $! and the [.lib]config-vms.h file do two different tasks and that the
35 $! 06-Jan-2013 J. Malmberg
69 $!---------------------------------------
75 $!----------------------------------------
86 $!------------------------------------
96 $!----------------------------------------------------------
104 $!----------------------------------------------------------------
113 $!------------------------------------------------------
116 $ write sys$output "NOTICE: A LIBIDN port has been detected."
[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/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/libxml2/vms/
Dbuild_libxml.com7 $! "DEBUG" - build everything in debug
16 $! --------------
19 $! - added module schematron.c (prevent xmllint errors)
20 $! - added /DEF and /INCLUDE options to cc_opts to tell
30 $!- configuration -------------------------------------------------------------
32 $!- compile command. If p1="nowarn" suppress the expected warning types
45 $!- list of sources to be built into the LIBXML library. Compare this list
59 $!- list of main modules to compile and link. Compare this list to the
64 $!- list of test modules to compile and link. Compare this list to the
67 $ check_PROGRAMS = "testSchemas testRelax testSAX testHTML testXPath testURI " -
[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/libxml2/doc/
Dapibuild.py1 #!/usr/bin/python -u
391 while line[-1] == '\\':
392 line = line[:-1]
465 line = line[:i-1]
512 (" \t(){}:;,+-*/%&!|[]=><".find(line[i])) == -1:
518 if "(){}:;,[]".find(line[i]) != -1:
525 if "+-*><=/%&!|.".find(line[i]) != -1:
526 # if line[i] == '+' or line[i] == '-' or line[i] == '*' or \
538 "+-*><=/%&!|".find(line[j]) != -1):
539 # line[j] == '+' or line[j] == '-' or line[j] == '*' or \
[all …]
/external/python/cpython2/Modules/zlib/
Dmake_vms.com5 $! zinser@zinser.no-ip.info(preferred) or
10 $!------------------------------------------------------------------------------
21 $! 0.08 20120219 Make it work on VAX again, pre-load missing symbols to shared
23 $! 0.09 20120305 SMS. P1 sets builder ("MMK", "MMS", " " (built-in)).
24 $! "" -> automatic, preference: MMK, MMS, built-in.
60 $! 2012-03-05 SMS.
67 $ mydir = f$parse(whoami,,,"DIRECTORY") - "]["
82 $ open/write topt tmp.opt
83 $ open/write optf 'optfile'
107 $! 2012-03-05 SMS.
[all …]
/external/zlib/src/
Dmake_vms.com5 $! zinser@zinser.no-ip.info(preferred) or
10 $!------------------------------------------------------------------------------
21 $! 0.08 20120219 Make it work on VAX again, pre-load missing symbols to shared
23 $! 0.09 20120305 SMS. P1 sets builder ("MMK", "MMS", " " (built-in)).
24 $! "" -> automatic, preference: MMK, MMS, built-in.
60 $! 2012-03-05 SMS.
67 $ mydir = f$parse(whoami,,,"DIRECTORY") - "]["
82 $ open/write topt tmp.opt
83 $ open/write optf 'optfile'
107 $! 2012-03-05 SMS.
[all …]
/external/freetype/
Dvms_make.com3 $! Copyright 2003-2018 by
20 $! * DEBUG - Compile modules with /noopt/debug and link shareable image
22 $! * LOPTS - Options to be passed to the link command
23 $! * CCOPT - Options to be passed to the C compiler
26 $! zinser@zinser.no-ip.info (preferred) or
27 $! zinser@sysdev.deutsche-boerse.com (work)
31 $!------------------------------------------------------------------------------
62 $ mydir = f$parse(whoami,,,"DIRECTORY") - "]["
76 $ open/write optf 'optfile'
81 $ open/write libsf libs.opt
[all …]
/external/turbine/javatests/com/google/turbine/main/
DMainTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
59 jos.write("class Test { public static final String CONST = \"ONE\"; }".getBytes(UTF_8)); in sourceJarClash()
64 jos.write("class Test { public static final String CONST = \"TWO\"; }".getBytes(UTF_8)); in sourceJarClash()
66 Path output = temporaryFolder.newFile("output.jar").toPath(); in sourceJarClash() local
72 .setOutput(output.toString()) in sourceJarClash()
82 Path src = temporaryFolder.newFile("package-info.jar").toPath(); in packageInfo()
83 MoreFiles.asCharSink(src, UTF_8).write("@Deprecated package test;"); in packageInfo()
85 Path output = temporaryFolder.newFile("output.jar").toPath(); in packageInfo() local
91 .setOutput(output.toString()) in packageInfo()
95 Map<String, byte[]> data = readJar(output); in packageInfo()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstrument_pass.h9 // http://www.apache.org/licenses/LICENSE-2.0
26 #include "spirv-tools/instrument.hpp"
43 // Chief among the helper functions are output code generation functions,
44 // used to generate code in the shader which writes data to output buffers
48 // its output buffer.
50 // A validation pass may read or write multiple buffers. All such buffers
61 // its output buffers.
83 // for debug input and output buffers and writes |shader_id| into debug
84 // output records.
112 // increment the size of the debug output buffer stream of the current
[all …]

12345678910>>...45