/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
DERObjectIdentifier.java | 166 out.write((int)(fieldValue >> 56) | 0x80); 168 out.write((int)(fieldValue >> 49) | 0x80); 170 out.write((int)(fieldValue >> 42) | 0x80); 172 out.write((int)(fieldValue >> 35) | 0x80); 174 out.write((int)(fieldValue >> 28) | 0x80); 176 out.write((int)(fieldValue >> 21) | 0x80); 178 out.write((int)(fieldValue >> 14) | 0x80); 180 out.write((int)(fieldValue >> 7) | 0x80); 182 out.write((int)fieldValue & 0x7f); 193 out.write(0) [all...] |
/dalvik/libcore/sql/src/main/java/SQLite/ |
Blob.java | 193 * Write blob data. 197 public void write(int v) throws IOException { method in class:BlobW 200 pos += blob.write(b, 0, pos, 1); 204 * Write blob data. 208 public void write(byte[] b) throws IOException { method in class:BlobW 210 pos += blob.write(b, 0, pos, b.length); 215 * Write blob data. 221 public void write(byte[] b, int off, int len) throws IOException { method in class:BlobW 229 pos += blob.write(b, off, pos, len); 283 * Internal blob write method 291 native int write(byte[] b, int off, int pos, int len) throws IOException; method in class:Blob [all...] |
/external/tcpdump/ |
smb.h | 24 #define SMBwrite 0x0B /* write to file */ 39 #define SMBsplwr 0xC1 /* write to print spool file */ 53 #define SMBwriteunlock 0x14 /* Unlock a range then write */ 55 #define SMBwritebraw 0x1d /* write a block of data with no smb header */ 56 #define SMBwritec 0x20 /* secondary write request */ 57 #define SMBwriteclose 0x2c /* write a file then close it */ 63 #define SMBwriteBraw 0x1D /* write block raw */ 64 #define SMBwriteBmpx 0x1E /* write block multiplexed */ 65 #define SMBwriteBs 0x1F /* write block (secondary request) */ 66 #define SMBwriteC 0x20 /* write complete response * [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptor_AutoCloseOutputStreamTest.java | 57 * 1. Write file data into test file. 67 method = "write", 72 method = "write", 77 method = "write", 89 outputStream.write(FILE_DATA[0]); 90 outputStream.write(FILE_DATA, 1, 5); 91 outputStream.write(FILE_DATA);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
DataOutputStream.java | 81 * the buffer to write to the target stream. 83 * the index of the first byte in {@code buffer} to write. 85 * the number of bytes from the {@code buffer} to write. 94 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:DataOutputStream 101 out.write(buffer, offset, count); 110 * the byte to write to the target stream. 116 public void write(int oneByte) throws IOException { method in class:DataOutputStream 117 out.write(oneByte); 125 * the boolean value to write to the target stream. 131 out.write(val ? 1 : 0) 347 write(buffer, 0, offset); method [all...] |
FileWriter.java | 22 * All write requests made by calling methods in this class are directly 25 * write requests are made, a FileWriter is often wrapped by a 37 * the non-null File to write bytes to. 51 * the non-null File to write bytes to. 65 * the non-null FileDescriptor to write bytes to. 75 * the non-null name of the file to write bytes to. 89 * the non-null name of the file to write bytes to.
|
CharArrayWriter.java | 101 * Resets this writer. The current write position is reset to the beginning 158 * the non-null array containing characters to write. 160 * the index of the first character in {@code buf} to write. 162 * maximum number of characters to write. 168 public void write(char[] c, int offset, int len) { method in class:CharArrayWriter 197 * the character to write. 200 public void write(int oneChar) { method in class:CharArrayWriter 212 * the non-null string containing the characters to write. 214 * the index of the first character in {@code str} to write. 216 * the number of characters to retrieve and write 225 public void write(String str, int offset, int len) { method in class:CharArrayWriter 327 write(output, 0, output.length()); method [all...] |
OutputStreamWriter.java | 52 * stream to write converted characters to. The default character encoding 56 * the non-null target stream to write converted bytes to. 71 * stream to write converted characters to and {@code enc} as the character 76 * the target stream to write converted bytes to. 102 * stream to write converted characters to and {@code cs} as the character 106 * the target stream to write converted bytes to. 120 * stream to write converted characters to and {@code enc} as the character 124 * the target stream to write converted bytes to. 175 out.write(bytes.array(), 0, position); 210 * the array containing characters to write 224 public void write(char[] buf, int offset, int count) throws IOException { method in class:OutputStreamWriter 272 public void write(int oneChar) throws IOException { method in class:OutputStreamWriter 301 public void write(String str, int offset, int count) throws IOException { method in class:OutputStreamWriter [all...] |
PipedWriter.java | 137 * Separate threads should be used to write to a {@code PipedWriter} and to 142 * the buffer to write. 144 * the index of the first character in {@code buffer} to write. 146 * the number of characters from {@code buffer} to write to this 153 * waiting for space to write data. This case is not currently 164 public void write(char[] buffer, int offset, int count) throws IOException { method in class:PipedWriter 177 * Separate threads should be used to write to a {@code PipedWriter} and to 182 * the character to write. 185 * waiting for space to write data. This case is not currently 194 public void write(int c) throws IOException method in class:PipedWriter [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
IElement.java | 51 out.write ('<'); 52 out.write (tagName); 56 out.write (' '); 60 out.write ('>'); 68 out.write ("</"); 69 out.write (tagName); 70 out.write ('>');
|
/external/proguard/src/proguard/classfile/io/ |
RuntimeDataOutput.java | 18 * with this program; if not, write to the Free Software Foundation, Inc., 44 public void write(byte[] b) method in class:RuntimeDataOutput 48 dataOutput.write(b); 57 public void write(byte[] b, int off, int len) method in class:RuntimeDataOutput 61 dataOutput.write(b, off, len); 70 public void write(int b) method in class:RuntimeDataOutput 74 dataOutput.write(b);
|
/external/clearsilver/python/examples/base/ |
SafeHtml.py | 56 def write (self, data): member in class:SafeHtml 57 # sys.stderr.write("write[%d] %s\n" % (self._stripping, data)) 59 # sys.stderr.write("write %s\n" % data) 60 PassSGMLParser.write(self, data) 89 # sys.stderr.write("Stripping tag %s: %d\n" % (tag, self._stripping)) 91 # sys.stderr.write("Skipping tag %s\n" % tag) 94 # sys.stderr.write("Matching tag %s\n" % tag) 101 # sys.stderr.write("Safe tag %s\n" % tag [all...] |
/external/zlib/contrib/ada/ |
zlib-streams.adb | 111 Ada.Streams.Write (Stream.Back.all, Buffer (1 .. Last)); 180 -- Write -- 183 procedure Write 188 procedure Write (Item : in Stream_Element_Array); 191 -- Write -- 194 procedure Write (Item : in Stream_Element_Array) is 196 Ada.Streams.Write (Stream.Back.all, Item); 197 end Write; 199 procedure Write is new ZLib.Write [all...] |
/external/zlib/examples/ |
gzlog.c | 94 /* write an unsigned long little-endian to byte buffer */ 105 /* write an off_t little-endian to byte buffer */ 158 /* if file is empty, write new gzip stream */ 160 if (write(log->fd, empty_gz, sizeof(empty_gz)) != sizeof(empty_gz)) { 216 /* set up to write over empty last block */ 225 /* write a block to a log object */ 237 /* write stored blocks until all of the input is written */ 242 if (write(log->fd, data, some) != some) 256 if (write(log->fd, temp, 5) != 5) 334 if (write(log->fd, out, len) != len) [all...] |
/external/emma/core/java12/com/vladium/emma/report/xml/ |
ReportGenerator.java | 112 m_out.write ("<?xml version=\"1.0\" encoding=\"" + m_settings.getOutEncoding () + "\"?>"); 126 m_out.write (label.toString ()); 263 super.write (IConstants.EOL, 0, IConstants.EOL.length ()); 266 public void write (final char [] cbuf, final int off, final int len) throws IOException method in class:ReportGenerator.IndentingWriter 269 super.write (cbuf, off, len); 272 public void write (int c) throws IOException method in class:ReportGenerator.IndentingWriter 275 super.write (c); 278 public void write (final String s, final int off, final int len) throws IOException method in class:ReportGenerator.IndentingWriter 281 super.write (s, off, len); 346 super.write (indent, 0, indent.length ()) [all...] |
/external/proguard/src/proguard/ |
ConfigurationWriter.java | 18 * with this program; if not, write to the Free Software Foundation, Inc., 93 public void write(Configuration configuration) throws IOException method in class:ConfigurationWriter 95 // Write the program class path (input and output entries). 101 // Write the library class path (output entries only). 107 // Write the other options. 154 // Write the "why are you keeping" options. 157 // Write the keep options. 160 // Write the "no side effect methods" options. 165 throw new IOException("Can't write configuration"); 372 // Write out the option with the proper class specification [all...] |
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
ZipOutputStream.java | 31 * {@code ZipOutputStream} is used to write {@code ZipEntries} to the underlying 35 * While {@code DeflaterOutputStream} can write a compressed <i>ZIP-archive</i> 36 * entry, this extension can write uncompressed entries as well. In this case 84 * the {@code OutputStream} to write the data to. 135 // Write the DataDescriptor 176 cDir.write(nameBytes); 179 cDir.write(currentEntry.extra); 183 cDir.write(c.getBytes()); 213 // Write Central Dir End 223 cDir.write(comment.getBytes()) 393 public void write(byte[] buffer, int off, int nbytes) method in class:ZipOutputStream [all...] |
DeflaterOutputStream.java | 55 * is the {@code OutputStream} where to write the compressed data 73 * is the OutputStream where to write the compressed data to. 84 * is the {@code OutputStream} where to write the compressed data 130 * Compress the data in the input buffer and write it to the underlying 140 out.write(buf, 0, x); 180 out.write(buf, 0, x); 186 public void write(int i) throws IOException { method in class:DeflaterOutputStream 189 write(b, 0, 1); method 206 public void write(byte[] buffer, int off, int nbytes) throws IOException { method in class:DeflaterOutputStream 235 out.write(buf, 0, count) [all...] |
/bionic/libc/kernel/tools/ |
find_headers.py | 70 sys.stderr.write( "error: directory '%s' does not exist\n" % kernel_root ) 74 sys.stderr.write( "error: '%s' is not a directory\n" % kernel_root ) 78 sys.stderr.write( "error: '%s' does not have a 'linux' directory\n" % kernel_root ) 82 sys.stderr.write( "error: file '%s' does not exist\n" % wanted_config ) 86 sys.stderr.write( "error: '%s' is not a file\n" % wanted_config ) 112 sys.stderr.write( "error: when parsing kernel_headers, 'arm' architecture only is supported at the moment\n" ) 119 sys.stderr.write( "error: the following requested architectures are not in the kernel tree: " ) 121 sys.stderr.write( " %s" % a ) 122 sys.stderr.write( "\n" ) 141 sys.stderr.write( "error: can't parse '%s'" % wanted_config [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/ |
Strings.java | 90 bOut.write(ch); 94 bOut.write(0xc0 | (ch >> 6)); 95 bOut.write(0x80 | (ch & 0x3f)); 116 bOut.write(0xf0 | (codePoint >> 18)); 117 bOut.write(0x80 | ((codePoint >> 12) & 0x3F)); 118 bOut.write(0x80 | ((codePoint >> 6) & 0x3F)); 119 bOut.write(0x80 | (codePoint & 0x3F)); 123 bOut.write(0xe0 | (ch >> 12)); 124 bOut.write(0x80 | ((ch >> 6) & 0x3F)); 125 bOut.write(0x80 | (ch & 0x3F)) [all...] |
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
Permissions2Test.java | 40 "read, write, execute,delete"); 77 "read,write"); 82 perm[6] = new FilePermission("hello.file", "write"); 126 "read,write"); 131 perm[6] = new FilePermission("hello.file", "write"); 162 perm[0] = new FilePermission("test1.file", "write"); 165 "read,write"); 170 perm[6] = new FilePermission("hello.file", "write"); 181 .implies(new FilePermission("*", "write"))); 187 + "test2.file", "write"))); [all...] |
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_StringWriter.java | 103 * the non-null array containing characters to write. 107 * maximum number of characters to write 113 public void write(char[] buf, int offset, int count) { method in class:Support_StringWriter 131 * The character to write 135 public void write(int oneChar) { method in class:Support_StringWriter 146 * the non-null String containing the characters to write. 150 public void write(String str) { method in class:Support_StringWriter 162 * the non-null String containing the characters to write. 166 * the number of characters to retrieve and write. 172 public void write(String str, int offset, int count) method in class:Support_StringWriter [all...] |
/development/host/windows/usb/winusb/ |
adb_winusb_endpoint_object.h | 80 /** \brief Common code for async read / write
82 @param[in] is_read Read or write selector.
83 @param[in,out] buffer Pointer to the buffer for read / write.
102 /** \brief Common code for sync read / write
104 @param[in] is_read Read or write selector.
105 @param[in,out] buffer Pointer to the buffer for read / write.
125 /** \brief Sets read / write operation timeout.
128 or write operation. Zero value passed in this parameters indicate
131 all read / write operations performed on this endpoint, untill
134 WinUsb framework will accept a timeout parameter in WinUsb_Read/Write
[all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthOutputStream.java | 57 * write operations will be ignored. 72 * the stream. Subsequent write operations will be ignored. 104 public void write(byte[] b, int off, int len) throws IOException { method in class:ContentLengthOutputStream 106 throw new IOException("Attempted write to closed stream."); 113 this.out.write(b, off, len); 118 public void write(byte[] b) throws IOException { method in class:ContentLengthOutputStream 119 write(b, 0, b.length); method 122 public void write(int b) throws IOException { method in class:ContentLengthOutputStream 124 throw new IOException("Attempted write to closed stream."); 127 this.out.write(b) [all...] |
/external/qemu/android/tools/ |
gen-hw-config.py | 107 out.write(targetHeader) 109 # write guards to prevent bad compiles 111 out.write("""\ 116 out.write("\n") 120 sys.stderr.write("ignoring config item with no type '%s'\n" % item.name) 124 sys.stderr.write("ignoring config item with unknown type '%s': '%s'\n" % \ 129 sys.stderr.write("ignoring config item with no default '%s' */" % item.name) 144 out.write("%s(\n %s,\n %s,\n %s,\n %s,\n %s)\n\n" % \ 149 out.write("#undef %s\n" % m) 151 out.write("/* end of auto-generated file */\n" [all...] |