/external/skia/src/sksl/ |
SkSLGLSLCodeGenerator.cpp | 20 void GLSLCodeGenerator::write(const char* s) { function in class:SkSL::GLSLCodeGenerator 34 this->write(s); 39 void GLSLCodeGenerator::write(const String& s) { function in class:SkSL::GLSLCodeGenerator 40 this->write(s.c_str()); 43 void GLSLCodeGenerator::write(StringFragment s) { function in class:SkSL::GLSLCodeGenerator 52 fOut->write(s.fChars, s.fLength); 65 this->write("#extension "); 66 this->write(ext.fName); 152 this->write(type.fName); 157 this->write("struct ") [all...] |
/external/libxml2/ |
gentest.py | 337 string.find(function, "Write") != -1 or \ 419 test.write("#ifdef %s\n" % (modules_defines[module])) 421 test.write(""" 430 test.write("#endif\n\n") 486 test.write(line) 497 test.write("/* CUT HERE: everything below that line is generated */\n") 565 test.write("#ifdef %s\n" % (modules_defines[module])) 567 test.write("#define gen_nb_%s %d\n" % (name, len(vals))) 568 test.write("""static %s gen_%s(int no, int nr ATTRIBUTE_UNUSED) {\n""" % 572 test.write(" if (no == %d) return(%s);\n" % (i, value) [all...] |
/external/skqp/src/sksl/ |
SkSLGLSLCodeGenerator.cpp | 20 void GLSLCodeGenerator::write(const char* s) { function in class:SkSL::GLSLCodeGenerator 34 this->write(s); 39 void GLSLCodeGenerator::write(const String& s) { function in class:SkSL::GLSLCodeGenerator 40 this->write(s.c_str()); 43 void GLSLCodeGenerator::write(StringFragment s) { function in class:SkSL::GLSLCodeGenerator 52 fOut->write(s.fChars, s.fLength); 65 this->write("#extension "); 66 this->write(ext.fName); 152 this->write(type.fName); 157 this->write("struct ") [all...] |
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
ClassSourcer.java | 57 mOutput.write("package %s;\n", pkg); 60 mAccessSourcer.write(access & ~Opcodes.ACC_SUPER, AccessSourcer.IS_CLASS); 62 // write class name 63 mOutput.write(" class %s", mClassName); 66 // write template formal definition and super type 72 mOutput.write(sigSourcer.formalsToString()); 75 mOutput.write(" extends %s", sigSourcer.getSuperClass().toString()); 78 // write non-generic super type 79 mOutput.write(" extends %s", superName.replace('/', '.')); 82 // write interfaces defined, if an [all...] |
AnnotationSourcer.java | 49 mOutput.write("%s=", name); 52 mOutput.write(name.toString()); 59 mOutput.write(mOpenChar); 66 mOutput.write(mCloseChar); 68 mOutput.write("\n"); 75 mOutput.write("@%s", name); 87 mOutput.write("/* annotation enum not supported: %s */\n", name);
|
/frameworks/base/cmds/statsd/tests/external/ |
puller_util_test.cpp | 64 event->write(isolatedUid); 65 event->write(hostNonAdditiveData); 66 event->write(isolatedAdditiveData); 72 event->write(hostUid); 73 event->write(hostNonAdditiveData); 74 event->write(hostAdditiveData); 96 event->write(isolatedUid); 97 event->write(isolatedNonAdditiveData); 98 event->write(isolatedAdditiveData); 104 event->write(hostUid) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
DexDataWriter.java | 43 * The position within the file that we will write to next. This is only updated when the buffer is flushed to the 60 * @param output An OutputStream to write the data to. 61 * @param filePosition The position within the file that OutputStream will write to. 74 public void write(int b) throws IOException { method in class:DexDataWriter 76 super.write(b); 80 public void write(byte[] b) throws IOException { method in class:DexDataWriter 81 write(b, 0, b.length); method 85 public void write(byte[] b, int off, int len) throws IOException { method in class:DexDataWriter 87 super.write(b, off, len); 96 out.write(value) 180 write(tempBuf, 0, index); method 198 write(tempBuf, 0, index); method 208 write(tempBuf, 0, index); method 225 write(tempBuf, firstElement, encodedLength); method 242 write(tempBuf, firstElement, encodedLength); method 269 write(buf, 0, bufPos); method 275 write(zeroBuf, 0, zeros); method [all...] |
/build/make/tools/ |
java-layers.py | 8 sys.stderr.write("usage: java-layers.py DEPENDENCY_FILE SOURCE_DIRECTORIES...\n") 9 sys.stderr.write("\n") 10 sys.stderr.write("Enforces layering between java packages. Scans\n") 11 sys.stderr.write("DIRECTORY and prints errors when the packages violate\n") 12 sys.stderr.write("the rules defined in the DEPENDENCY_FILE.\n") 13 sys.stderr.write("\n") 14 sys.stderr.write("Prints a warning when an unknown package is encountered\n") 15 sys.stderr.write("on the assumption that it should fit somewhere into the\n") 16 sys.stderr.write("layering.\n") 17 sys.stderr.write("\n" [all...] |
/external/boringssl/src/util/ |
generate_build_files.py | 79 out.write('%s := \\\n' % name) 81 out.write(' %s\\\n' % f) 82 out.write('\n') 87 blueprint.write(self.header.replace('#', '//')) 89 blueprint.write('cc_defaults {\n') 90 blueprint.write(' name: "libcrypto_sources",\n') 91 blueprint.write(' srcs: [\n') 93 blueprint.write(' "%s",\n' % f) 94 blueprint.write(' ],\n') 95 blueprint.write(' target: {\n' [all...] |
/external/llvm/lib/Target/BPF/MCTargetDesc/ |
BPFMCCodeEmitter.cpp | 117 LE.write<uint8_t>(Value >> 56); 119 LE.write<uint8_t>((Value >> 48) & 0xff); 121 LE.write<uint8_t>(SwapBits((Value >> 48) & 0xff)); 122 LE.write<uint16_t>(0); 124 LE.write<uint32_t>(Value & 0xffffFFFF); 126 BE.write<uint32_t>(Value & 0xffffFFFF); 130 LE.write<uint8_t>(0); 131 LE.write<uint8_t>(0); 132 LE.write<uint16_t>(0); 134 LE.write<uint32_t>(Imm >> 32) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaPlayerStreamingStressTest.java | 78 output.write("URL: " + filename); 79 output.write(" Complete: " + CodecTest.onCompleteSuccess); 80 output.write(" Error: " + CodecTest.mPlaybackError); 81 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 82 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 83 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 84 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 85 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); 86 output.write("\n"); 90 output.write("Total Result:\n") [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
GraphExporter.java | 57 // Write beginning of DOT file 58 dotFile.write("digraph graphname {\n"); 59 dotFile.write(" node [shape=record];\n"); 64 // Iterate over all filters of the graph, write corresponding DOT node elements 67 dotFile.write(getDotName(" " + filter.getName()) + " [label=\"{"); 69 // Write upper part of element (i.e., input ports) 72 dotFile.write(" { "); 75 dotFile.write("<" + getDotName(p) + "_IN>" + p); 76 if(++counter != inputPorts.size()) dotFile.write(" | "); 78 dotFile.write(" } | "); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/ |
makeconfig.py | 4 # Write the config.c file
14 outfp.write(line)
21 outfp.write("#ifndef init%s\n"%mod)
22 outfp.write('extern void init%s(void);\n' % mod)
24 outfp.write("#endif\n")
30 outfp.write('\t{"%s", init%s},\n' %
33 sys.stderr.write('MARKER 1 never found\n')
35 sys.stderr.write('MARKER 2 never found\n')
|
/external/avb/test/ |
avbtool_signing_helper_with_files_test.py | 34 sys.stderr.write("Wrong number of arguments: {} <alg> <pub key> <file>\n".format(argv[0])) 40 sys.stderr.write("There is no input data\n") 47 signing_file.write('X'*256) 51 sys.stderr.write("env SIGNING_HELPER_TEST is not set or empty\n") 56 sys.stderr.write("no permission to write into {} file\n".format(test_file_name)) 69 signing_file.write(pout) 72 f.write("DONE")
|
/external/fonttools/MetaTools/ |
buildTableList.py | 34 file.write("# DON'T EDIT! This file is generated by MetaTools/buildTableList.py.\n") 35 file.write("def _moduleFinderHint():\n") 36 file.write('\t"""Dummy function to let modulefinder know what tables may be\n') 37 file.write('\tdynamically imported. Generated by MetaTools/buildTableList.py.\n') 38 file.write('\t"""\n') 40 file.write("\tfrom . import %s\n" % module) 55 open(docFile, "w").write(doc)
|
/external/libunwind/src/ppc64/ |
Gregs.c | 32 int write) 39 if (write) 51 if (write) 68 if (write) 76 int write) 83 if (write) 92 if (write)
|
/external/python/cpython2/Mac/Modules/launch/ |
launchscan.py | 40 self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n") 41 self.defsfile.write("from Carbon.Files import *\n") 42 self.defsfile.write("kLSRequestAllInfo = -1\n") 43 self.defsfile.write("kLSRolesAll = -1\n") 44 self.defsfile.write("kLSUnknownType = FOUR_CHAR_CODE('\\0\\0\\0\\0')\n") 45 self.defsfile.write("kLSUnknownCreator = FOUR_CHAR_CODE('\\0\\0\\0\\0')\n") 46 self.defsfile.write("kLSInvalidExtensionIndex = -1\n")
|
/external/python/cpython2/Tools/freeze/ |
makeconfig.py | 4 # Write the config.c file 14 outfp.write(line) 21 outfp.write("#ifndef init%s\n"%mod) 22 outfp.write('extern void init%s(void);\n' % mod) 24 outfp.write("#endif\n") 30 outfp.write('\t{"%s", init%s},\n' % 33 sys.stderr.write('MARKER 1 never found\n') 35 sys.stderr.write('MARKER 2 never found\n')
|
/external/python/cpython3/Tools/freeze/ |
makeconfig.py | 4 # Write the config.c file 13 outfp.write(line) 20 outfp.write("#ifndef PyInit_%s\n"%mod) 21 outfp.write('extern PyObject* PyInit_%s(void);\n' % mod) 23 outfp.write("#endif\n") 29 outfp.write('\t{"%s", PyInit_%s},\n' % 32 sys.stderr.write('MARKER 1 never found\n') 34 sys.stderr.write('MARKER 2 never found\n')
|
/external/skia/src/utils/ |
SkJSONWriter.h | 71 fStream->write(fBlock, fWrite - fBlock); 88 this->write(",", 1); 91 this->write("\"", 1); 92 this->write(name, strlen(name)); 93 this->write("\":", 2); 108 this->write("{", 1); 126 this->write("}", 1); 140 this->write("[", 1); 158 this->write("]", 1); 169 this->write("\"", 1) 303 void write(const char* buf, size_t length) { function in class:SkJSONWriter [all...] |
/external/skqp/src/utils/ |
SkJSONWriter.h | 71 fStream->write(fBlock, fWrite - fBlock); 88 this->write(",", 1); 91 this->write("\"", 1); 92 this->write(name, strlen(name)); 93 this->write("\":", 2); 108 this->write("{", 1); 126 this->write("}", 1); 140 this->write("[", 1); 158 this->write("]", 1); 169 this->write("\"", 1) 303 void write(const char* buf, size_t length) { function in class:SkJSONWriter [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
AnnotationFormatter.java | 49 writer.write('\n'); 59 writer.write(".annotation "); 60 writer.write(AnnotationVisibility.getVisibility(annotation.getVisibility())); 61 writer.write(' '); 62 writer.write(annotation.getType()); 63 writer.write('\n'); 67 writer.write(".end annotation\n");
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/ |
AnnotationEncodedValueAdaptor.java | 45 writer.write(".subannotation "); 46 writer.write(annotationEncodedValue.getType()); 47 writer.write('\n'); 50 writer.write(".end subannotation"); 58 writer.write(annotationElement.getName()); 59 writer.write(" = "); 61 writer.write('\n');
|
/frameworks/base/core/java/android/util/proto/ |
ProtoUtils.java | 23 * This class contains a list of helper functions to write common proto in 35 proto.write(AggStats.MIN, min); 36 proto.write(AggStats.AVERAGE, average); 37 proto.write(AggStats.MAX, max); 47 proto.write(Duration.START_MS, startMs); 48 proto.write(Duration.END_MS, endMs); 53 * Helper function to write bit-wise flags to proto as repeated enums 65 proto.write(fieldId, protoEnums[i]); 69 proto.write(fieldId, protoEnums[i]);
|
/libcore/ojluni/src/main/java/javax/crypto/ |
CipherOutputStream.java | 18 * 2 along with this work; if not, write to the Free Software Foundation, 32 * that write() methods first process the data before writing them out 119 public void write(int b) throws IOException { method in class:CipherOutputStream 123 output.write(obuffer); 132 * The <code>write</code> method of 133 * <code>CipherOutputStream</code> calls the <code>write</code> 140 * @see javax.crypto.CipherOutputStream#write(byte[], int, int) 143 public void write(byte b[]) throws IOException { method in class:CipherOutputStream 144 write(b, 0, b.length); method 153 * @param len the number of bytes to write 157 public void write(byte b[], int off, int len) throws IOException { method in class:CipherOutputStream [all...] |