Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 136) sorted by relevance

123456

/development/tools/axl/
Daxl.py35 def write(self, data): member in BaseProtocol
37 return self.transport.write(data)
50 self.write("HTTP/1.1 200 OK\r\n")
51 self.write("Content-Length: %d\r\n\r\n" % len(response))
53 self.write(response)
78 self.write("welcome to the jungle baby\r\n")
85 self.write("HTTP/1.1 200 OK\r\n")
86 self.write("Cache-Contr")
95 self.write("HTTP/1.1 200 OK\r\n")
96 self.write("Cache-Contr")
[all …]
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DMethodSourcer.java66 as.write(mAccess, AccessSourcer.IS_METHOD); in writeHeader()
77 mOutput.write(" %s", sigSourcer.formalsToString()); in writeHeader()
85 mOutput.write(" %s", Type.getReturnType(mDesc).getClassName()); in writeHeader()
88 mOutput.write(" %s", sigSourcer.getReturnType().toString()); in writeHeader()
93 mOutput.write(" %s(", mIsConstructor ? mClassName : mName); in writeHeader()
101 mOutput.write(", "); in writeHeader()
103 mOutput.write("%s arg%d", types[i].getClassName(), i); in writeHeader()
110 mOutput.write(", "); in writeHeader()
112 mOutput.write("%s arg%d", params.get(i).toString(), i); in writeHeader()
115 mOutput.write(")"); in writeHeader()
[all …]
DClassSourcer.java57 mOutput.write("package %s;\n", pkg); in visit()
60 mAccessSourcer.write(access & ~Opcodes.ACC_SUPER, AccessSourcer.IS_CLASS); in visit()
63 mOutput.write(" class %s", mClassName); in visit()
72 mOutput.write(sigSourcer.formalsToString()); in visit()
75 mOutput.write(" extends %s", sigSourcer.getSuperClass().toString()); in visit()
79 mOutput.write(" extends %s", superName.replace('/', '.')); in visit()
84 mOutput.write(" implements "); in visit()
88 mOutput.write(", "); in visit()
90 mOutput.write(i.replace('/', '.')); in visit()
96 mOutput.write(" {\n"); in visit()
[all …]
DOutput.java51 public void write(String format, Object... args) { in write() method in Output
53 mWriter.write(String.format(format, args)); in write()
64 public void write(char c) { in write() method in Output
65 write(Character.toString(c)); in write()
73 public void write(StringBuilder sb) { in write() method in Output
74 write(sb.toString()); in write()
DFieldSourcer.java49 mOutput.write("@%s", desc); in visitAnnotation()
55 mOutput.write("%s /* non-standard attribute */ ", attr.type); in visitAttribute()
63 as.write(mAccess, AccessSourcer.IS_FIELD); in visitEnd()
66 mOutput.write(" %s", Type.getType(mDesc).getClassName()); in visitEnd()
68 mOutput.write(" "); in visitEnd()
72 mOutput.write(sigSourcer.toString()); in visitEnd()
75 mOutput.write(" %s", mName); in visitEnd()
77 mOutput.write(";\n"); in visitEnd()
DAnnotationSourcer.java49 mOutput.write("%s=", name); in visit()
52 mOutput.write(name.toString()); in visit()
59 mOutput.write(mOpenChar); in startOpen()
66 mOutput.write(mCloseChar); in visitEnd()
68 mOutput.write("\n"); in visitEnd()
75 mOutput.write("@%s", name); in visitAnnotation()
87 mOutput.write("/* annotation enum not supported: %s */\n", name); in visitEnum()
DAccessSourcer.java96 public void write(int access, int filter) { in write() method in AccessSourcer
103 mOutput.write(" "); in write()
105 mOutput.write(f.toString()); in write()
/development/tools/cargo_embargo/src/
Dbp.rs62 pub fn write(&self, w: &mut impl std::fmt::Write) -> Result<()> { in write() method
65 self.props.write(w)?; in write()
103 pub fn write(&self, w: &mut impl std::fmt::Write) -> Result<()> { in write() method
155 v.write(w)?; in write()
169 pub fn write(&self, w: &mut impl std::fmt::Write) -> Result<()> { in write() method
171 BpValue::Object(p) => p.write(w)?, in write()
172 BpValue::Bool(b) => write!(w, "{b}")?, in write()
173 BpValue::String(s) => write!(w, "\"{s}\"")?, in write()
177 v.write(w)?; in write()
/development/tools/
Dmonkey36 sys.stdout.write("\n")
37 sys.stdout.write(BOLD)
38 sys.stdout.write(UNDERLINE)
39 sys.stdout.write(s)
40 sys.stdout.write(ENDCOLOR)
41 sys.stdout.write("\n")
47 sys.stdout.write(BOLD)
51 sys.stdout.write("%s=\"%s\" " % (k, v.replace("\"", "\\\"")))
53 sys.stdout.write("%s=%s " % (k, v))
54 sys.stdout.write(" ".join(cmd))
[all …]
/development/vndk/snapshot/
Dgen_buildfiles.py152 bpfile.write(self._gen_autogen_msg('/'))
153 bpfile.write('\n')
154 bpfile.write(self._gen_license_package())
155 bpfile.write('\n')
156 bpfile.write(self._gen_license())
157 bpfile.write('\n')
158 bpfile.write('\n'.join(prebuilt_buildrules))
159 bpfile.write('\n')
169 bpfile.write(self._gen_autogen_msg('/'))
170 bpfile.write('\n')
[all …]
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java200 writer.write(buffer, 0, count); in readFully()
432 writer.write(MAGIC); in rebuildJournal()
433 writer.write("\n"); in rebuildJournal()
434 writer.write(VERSION_1); in rebuildJournal()
435 writer.write("\n"); in rebuildJournal()
436 writer.write(Integer.toString(appVersion)); in rebuildJournal()
437 writer.write("\n"); in rebuildJournal()
438 writer.write(Integer.toString(valueCount)); in rebuildJournal()
439 writer.write("\n"); in rebuildJournal()
440 writer.write("\n"); in rebuildJournal()
[all …]
/development/scripts/
Dcargo2rulesmk.py214 def write(self, s): member in Crate
217 self.outf.write(s + "\n")
438 self.write("\n// Line " + str(self.line_num) + " " + self.line)
453 self.write("\n// IGNORED: " + kind + " " + self.main_src)
474 self.write(self.errors)
487 self.write(f"//{name:>12} = {value}")
495 self.write(fmt % v)
518 self.write("\nERROR: multiple crate types cannot include test type")
526 self.write("\nERROR: don't know how to handle crate types of "
538 self.write("MODULE_SRCS := \\")
[all …]
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScriptTest.kt67 writer.write("start data >>\n") in pinchZoom()
68 writer.write("PinchZoom(100,100,200,200,50,50,10,10,5)\n") in pinchZoom()
96 writer.write("start data >>\n") in pressAndHoldTwice()
97 writer.write("PressAndHold(100,100,10)\n") in pressAndHoldTwice()
98 writer.write("PressAndHold(200,200,10)\n") in pressAndHoldTwice()
/development/samples/Vault/src/com/example/android/vault/
DEncryptedDocument.java289 out.write(outbuf); in readSection()
298 out.write(outbuf); in readSection()
313 section.write(f); in writeSection()
332 f.write(outbuf); in writeSection()
339 f.write(outbuf); in writeSection()
349 section.write(f); in writeSection()
369 public void write(RandomAccessFile f) throws IOException { in write() method in EncryptedDocument.Section
371 f.write(iv); in write()
372 f.write(mac); in write()
DUtils.java52 out.write(data); in writeFully()
65 bytes.write(buffer, 0, count); in readFully()
/development/tools/repo_diff/service/repodiff/tools/
Denv_variable_load.py18 f.write("\n")
23 f.write("export %s=\"%s\"\n" % (key, value))
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DQuotedPrintable.java58 buffer.write((char) ((u << 4) + l)); in decodeQuotedPrintable()
63 buffer.write(b); in decodeQuotedPrintable()
/development/apps/Development/src/com/android/development/
DLogViewer.java88 this.socket.getOutputStream().write('\n'); in LogReader()
89 this.socket.getOutputStream().write('\n'); in LogReader()
96 logger.write("Reading message.\n".getBytes()); in run()
117 logger.write("Updating UI.\n".getBytes()); in run()
/development/tools/otagui/
Dweb_server.py69 self.wfile.write(
77 self.wfile.write(
87 self.wfile.write(
119 self.wfile.write(json.dumps(
152 output_file.write(chunk)
155 self.wfile.write(
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbSocket.java41 if (! message.write(mDevice)) { in open()
73 message.write(mDevice); in sendReady()
/development/tools/external_crates/crate_health/src/
Dpseudo_crate.rs16 fs::{create_dir, write},
79 write(&cargo_toml, tt.render("cargo_toml", &CargoToml { deps })?)?; in init()
82 write(self.path.join(&"src/lib.rs").abs(), "// Nothing") in init()
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DAccessSourcerTest.java48 mSourcer.write(Opcodes.ACC_ABSTRACT | Opcodes.ACC_PUBLIC, AccessSourcer.IS_CLASS); in testAbstractPublic()
56 mSourcer.write(Opcodes.ACC_PRIVATE | Opcodes.ACC_FINAL | Opcodes.ACC_STATIC, in testPrivateFinalStatic()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java76 public int write(float[] buffer, int offset, int length) { in write() method in SimpleAudioOutput
77 return mAudioTrack.write(buffer, offset, length, in write()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java76 public int write(float[] buffer, int offset, int length) { in write() method in SimpleAudioOutput
77 return mAudioTrack.write(buffer, offset, length, in write()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DChatManager.java69 public void write(String msg) { in write() method in ChatManager
74 oStream.write(buffer); in write()

123456