/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
tf_inherit_check.py | 3 # write to it -- if we succeed, something is wrong. 13 os.write(fd, "blat") 15 # Success -- could not write to fd. 19 sys.stderr.write("fd %d is open in child" % fd)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
tf_inherit_check.py | 3 # write to it -- if we succeed, something is wrong. 13 os.write(fd, "blat") 15 # Success -- could not write to fd. 19 sys.stderr.write("fd %d is open in child" % fd)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
tf_inherit_check.py | 3 # write to it -- if we succeed, something is wrong. 13 os.write(fd, "blat") 15 # Success -- could not write to fd. 19 sys.stderr.write("fd %d is open in child" % fd)
|
/compatibility/cdd/8_performance-and-power/ |
8_2_file-io-access-performance.md | 8 and write operations: 10 * **Sequential write performance**. Measured by writing a 256MB file using 11 10MB write buffer. 12 * **Random write performance**. Measured by writing a 256MB file using 4KB 13 write buffer. 15 10MB write buffer. 17 write buffer.
|
/external/ImageMagick/tests/ |
cli-pipe.tap | 27 ${MAGICK} ${SRCDIR}/rose.pnm -write null: null: && echo "ok" || echo "not ok" 28 ${MAGICK} ${SRCDIR}/rose.pnm -write info: null: && echo "ok" || echo "not ok" 29 ${MAGICK} ${SRCDIR}/rose.pnm -write miff:- null: | ${IDENTIFY} - && echo "ok" || echo "not ok" 30 ${MAGICK} ${SRCDIR}/rose.pnm -write - null: | ${IDENTIFY} - && echo "ok" || echo "not ok" 35 # -exit can be used insted of implicit write 36 ${MAGICK} ${SRCDIR}/rose.pnm -write info: -exit && echo "ok" || echo "not ok" 37 # null: does not require an image during write 38 ${MAGICK} -write null: -exit && echo "ok" || echo "not ok" 39 # implied write null: without image 40 ${MAGICK} ${SRCDIR}/rose.pnm -write info: +delete null: && echo "ok" || echo "not ok [all...] |
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
WebSocketReaderTest.java | 52 data.write(ByteString.decodeHex("0a00")); // Empty ping. 62 data.write(ByteString.decodeHex("9a00")); // Empty ping, flag 1 set. 70 data.write(ByteString.decodeHex("aa00")); // Empty ping, flag 2 set. 78 data.write(ByteString.decodeHex("ca00")); // Empty ping, flag 3 set. 88 data.write(ByteString.decodeHex("8100")); 98 data.write(ByteString.decodeHex("8180")); 108 data.write(ByteString.decodeHex("8a7e007e")); 118 data.write(ByteString.decodeHex("810548656c6c6f")); // Hello 124 data.write(ByteString.decodeHex("818537fa213d7f9f4d5158")); // Hello 130 data.write(ByteString.decodeHex("817E000548656c6c6f")); // Hell 236 data.write(ByteString.decodeHex("0264")).write(bytes, 0, 100); method 237 data.write(ByteString.decodeHex("8064")).write(bytes, 100, 100); method 244 data.write(ByteString.decodeHex("0264")).write(bytes, 0, 100); method 245 data.write(ByteString.decodeHex("8264")).write(bytes, 100, 100); method [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/parser/ |
unparse.py | 36 self.f.write("")
41 self.f.write("\n"+" "*self._indent + text)
43 def write(self, text):
member in class:Unparser 45 self.f.write(text)
49 self.write(":")
84 interleave(lambda: self.write(", "), self.dispatch, t.names)
92 self.write("." * t.level)
94 self.write(t.module)
95 self.write(" import ")
96 interleave(lambda: self.write(", "), self.dispatch, t.names) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
script.py | 15 script.write(data)
38 sys.stdout.write('Script started, file is %s\n' % filename)
39 script.write('Script started on %s\n' % time.ctime(time.time()))
41 script.write('Script done on %s\n' % time.ctime(time.time()))
42 sys.stdout.write('Script done, file is %s\n' % filename)
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mutexset.h | 30 bool write; member in struct:__tsan::MutexSet::Desc 35 void Add(u64 id, bool write, u64 epoch); 36 void Del(u64 id, bool write); 60 void MutexSet::Add(u64 id, bool write, u64 epoch) {} 61 void MutexSet::Del(u64 id, bool write) {}
|
/external/python/cpython2/Demo/parser/ |
unparse.py | 36 self.f.write("") 41 self.f.write("\n"+" "*self._indent + text) 43 def write(self, text): member in class:Unparser 45 self.f.write(text) 49 self.write(":") 84 interleave(lambda: self.write(", "), self.dispatch, t.names) 92 self.write("." * t.level) 94 self.write(t.module) 95 self.write(" import ") 96 interleave(lambda: self.write(", "), self.dispatch, t.names [all...] |
/external/python/cpython2/Demo/scripts/ |
script.py | 15 script.write(data) 38 sys.stdout.write('Script started, file is %s\n' % filename) 39 script.write('Script started on %s\n' % time.ctime(time.time())) 41 script.write('Script done on %s\n' % time.ctime(time.time())) 42 sys.stdout.write('Script done, file is %s\n' % filename)
|
/external/skia/experimental/tools/ |
generate-unicode-test-txt | 49 o.write(to_unicode(0xFEFF)) 60 o.write('\n' if row % 1024 else '\n\n') 61 o.write('U+%06x ' % row) 63 o.write(' ' + to_unicode(i)) 64 o.write('\n')
|
/external/skqp/experimental/tools/ |
generate-unicode-test-txt | 49 o.write(to_unicode(0xFEFF)) 60 o.write('\n' if row % 1024 else '\n\n') 61 o.write('U+%06x ' % row) 63 o.write(' ' + to_unicode(i)) 64 o.write('\n')
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Debug/ |
LocalFormatter.java | 60 writer.write("null"); 62 writer.write(':'); 64 writer.write(type); 66 writer.write("V"); 69 writer.write(", ");
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/ |
ArrayEncodedValueAdaptor.java | 44 writer.write('{'); 47 writer.write('}'); 51 writer.write('\n'); 56 writer.write(",\n"); 63 writer.write("\n}");
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaPlayerStressTest.java | 74 output.write("File Name: " + filename); 75 output.write(" Complete: " + CodecTest.onCompleteSuccess); 76 output.write(" Error: " + CodecTest.mPlaybackError); 77 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 78 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 79 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 80 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 81 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); 82 output.write(" Failed To Complete With No Error: " + 84 output.write("\n") [all...] |
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
GuardingProfile.java | 20 * A guarding profile will only write messages to a writer if the 39 mVerboseWriter.write(format(0, "GUARD", "START")); 45 mGuardWriter.write(format(totalMillis, "GUARD", lastMillis, reason)); 47 mVerboseWriter.write(format(totalMillis, "GUARD", lastMillis, reason)); 54 mGuardWriter.write(format(totalMillis, "GUARD", "STOP")); 56 mVerboseWriter.write(format(totalMillis, "GUARD", "STOP"));
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
TestUtil.java | 42 mOut.write("\n"); 48 mOut.write(reportTag); 49 mOut.write("No of loops :" + iteration + "\n"); 50 mOut.write("loop: "); 54 mOut.write(" ," + iteration);
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
TestUtil.java | 42 mOut.write("\n"); 48 mOut.write(reportTag); 49 mOut.write("No of loops :" + iteration + "\n"); 50 mOut.write("loop: "); 54 mOut.write(" ," + iteration);
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
FieldDefinition.java | 54 writer.write("# The value of this static final field might be set in the static constructor\n"); 56 // don't write out the default initial value for static final fields that get set in the static 62 writer.write(".field "); 64 writer.write(field.getName()); 65 writer.write(':'); 66 writer.write(field.getType()); 68 writer.write(" = "); 78 writer.write('\n'); 91 writer.write(".end field\n"); 97 writer.write(accessFlag.toString()) [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
_ast_util.py | 364 def write(self, x): member in class:SourceGenerator 386 self.write('else:') 393 self.write(', ') 402 self.write('=') 406 self.write('*' + arg_stringname(node.vararg)) 409 self.write('**' + arg_stringname(node.kwarg)) 414 self.write('@') 423 self.write(', ') 425 self.write(' = ') 431 self.write(BINOP_SYMBOLS[type(node.op)] + '=' [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
BufferedWriterTest.java | 42 sw.write("Hi"); 57 public void write(char[] buf, int off, int len) throws IOException { method in class:BufferedWriterTest.MockWriter 86 bw.write(testString); 91 assertTrue("Write after close", !sw.toString().equals(testString)); 96 bw.write('a'); 122 bw.write("This should not cause a flush"); 134 bw.write("Hello"); 136 bw.write("World"); 143 * java.io.BufferedWriter#write(char[], int, int) 147 bw.write(testCharArray, 500, 1000) [all...] |
/cts/libs/json/src/com/android/json/stream/ |
JsonWriter.java | 37 * <li>To write <strong>arrays</strong>, first call {@link #beginArray()}. 38 * Write each of the array's elements with the appropriate {@link #value} 41 * <li>To write <strong>objects</strong>, first call {@link #beginObject()}. 42 * Write each of the object's properties by alternating calls to 43 * {@link #name} with the property's value. Write property values with the 53 * "text": "How do I write JSON on Android?", 116 * <p>Each {@code JsonWriter} may be used to write a single JSON stream. 216 out.write(openBracket); 235 out.write(closeBracket); 290 out.write("null") [all...] |
/external/smali/util/src/main/java/org/jf/util/ |
IndentingWriter.java | 47 writer.write(' '); 52 public void write(int chr) throws IOException { method in class:IndentingWriter 54 writer.write(newLine); 61 writer.write(chr); 73 writer.write(chars, start, len); 85 writer.write(str, start, len); 89 public void write(char[] chars) throws IOException { method in class:IndentingWriter 90 write(chars, 0, chars.length); method 94 public void write(char[] chars, int start, int len) throws IOException { method in class:IndentingWriter 101 writer.write(newLine) 113 public void write(String s) throws IOException { method in class:IndentingWriter 114 write(s, 0, s.length()); method 118 public void write(String str, int start, int len) throws IOException { method in class:IndentingWriter [all...] |
/libcore/ojluni/src/main/java/java/io/ |
DataOutputStream.java | 18 * 2 along with this work; if not, write to the Free Software Foundation, 29 * A data output stream lets an application write primitive Java data 51 * Creates a new data output stream to write data to the specified 81 * Implements the <code>write</code> method of <code>OutputStream</code>. 87 public synchronized void write(int b) throws IOException { method in class:DataOutputStream 88 out.write(b); 100 * @param len the number of bytes to write. 104 public synchronized void write(byte b[], int off, int len) method in class:DataOutputStream 107 out.write(b, off, len); 139 out.write(v ? 1 : 0) [all...] |