/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
PrintStreamTest.java | 564 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 565 PrintStream printStream = new PrintStream(out); 568 assertEquals(String.valueOf(testChar), out.toString()); 577 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 578 PrintStream printStream = new PrintStream(out); 581 assertEquals(testString, out.toString()); 590 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 591 PrintStream printStream = new PrintStream(out); 594 assertEquals(testString.substring(1, 3), out.toString());
|
PrintWriterTest.java | 47 public MockPrintWriter(OutputStream out, boolean autoflush) { 48 super(out, autoflush); 682 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 683 PrintWriter printWriter = new PrintWriter(out); 686 assertEquals(String.valueOf(testChar), out.toString()); 696 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 697 PrintWriter printWriter = new PrintWriter(out); 700 assertEquals(testString, out.toString()); 710 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 711 PrintWriter printWriter = new PrintWriter(out); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetTest.java | 280 ByteBuffer out = cs.encode(s); local 281 byte[] bytes = new byte[out.remaining()]; 282 out.get(bytes); 288 CharBuffer out = cs.decode(in); local 289 assertEquals(s, out.toString()); 797 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 799 out.put((byte) in.get()); 800 // out.put((byte) '!'); 811 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 813 out.put((char) in.get()) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
MessageFormatTest.java | 53 ObjectOutputStream out = new ObjectOutputStream(ba); local 54 out.writeObject(format); 55 out.close(); [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldFileChannelTest.java | 642 File logFile = File.createTempFile("out", "tmp"); 644 FileOutputStream out = new FileOutputStream(logFile, true); local 645 FileChannel channel = out.getChannel(); 646 out.write(1); 648 out.close(); [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CRLTest.java | 151 PrintStream out = new PrintStream(errBuffer); local 172 out.append("Error encountered checking " + p.getName() + "\n"); 173 e.printStackTrace(out); 177 out.flush(); 373 System.out.println(Arrays.toString(dsaEntry.getExtensionValue("2.5.29.21")));
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 467 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 471 out.write(buff, 0, readlen); 474 return out.toByteArray(); 741 * 1. openssl genrsa -des3 -out test.key 1024 742 * 2. openssl req -new -key test.key -out test.csr 744 * 4. openssl rsa -in test.key.org -out test.key 745 * 5. openssl x509 -req -days 37273 -in test.csr -signkey test.key -out test.cert 771 * 1. openssl genrsa -des3 -out test.key 1024 772 * 2. openssl req -new -key test.key -out test.csr 774 * 4. openssl rsa -in test.key.org -out test.ke [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 137 ByteArrayOutputStream out = null; local 154 out = new ByteArrayOutputStream(); 155 keyTest.store(out, pssWord); 156 out.close(); 158 return out.toByteArray(); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessage.java | 321 * same as getLine(), but throws an exception, if we run out of lines. 798 StringBuilder out = new StringBuilder((pduData.length + scAddressData.length)*2); local 800 out.append(Integer.toString((scAddressData[i] >> 4) & 0x0f,16)); // MS-nibble firs [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
AttachmentProviderTests.java | 663 FileOutputStream out = new FileOutputStream(outFile); local 664 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 665 out.close();
|
/packages/apps/InCallUI/src/com/android/incallui/ |
InCallActivity.java | 120 // Have the WindowManager filter out touch events that are "too fat". 181 protected void onSaveInstanceState(Bundle out) { 182 out.putBoolean(SHOW_DIALPAD_EXTRA, mCallButtonFragment.isDialpadVisible()); 184 out.putString(DIALPAD_TEXT_EXTRA, mDialpadFragment.getDtmfText()); 186 super.onSaveInstanceState(out); 318 // BACK is also used to exit out of any "special modes" of the 652 // If the dialpad is already visible, don't animate in. If it's gone, don't animate out.
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
NotificationActionUtils.java | 581 public void writeToParcel(final Parcel out, final int flags) { 582 out.writeInt(mNotificationActionType.ordinal()); 583 out.writeParcelable(mAccount, 0); 584 out.writeParcelable(mConversation, 0); 585 out.writeParcelable(mMessage, 0); 586 out.writeParcelable(mFolder, 0); 587 out.writeLong(mConversationId); 588 out.writeString(mMessageId); 589 out.writeLong(mLocalMessageId); 590 out.writeLong(mWhen) 905 final Parcel out = Parcel.obtain(); local [all...] |
/sdk/attribute_stats/src/ |
Analyzer.java | 60 /** Separate out any attributes that constitute less than N percent of the total */ 168 System.out.println("Analyzed " + mFileVisitCount + " files..."); 227 System.out.println("Warning: found <item> tag in a layout file in " 360 System.out.println("Analyzed " + mLayoutFileCount 362 System.out.println("Top " + ATTRIBUTE_COUNT 364 System.out.println("\n"); 365 System.out.println(" Rank Count Share Attribute"); 366 System.out.println("========================================================="); 376 System.out.println("\n\n\nTop " + ATTRIBUTE_COUNT + " layout attributes (excluding " 378 System.out.println("\n") [all...] |
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
ebtables.h | 140 char out[IFNAMSIZ]; member in struct:ebt_entry
|
/bootable/recovery/applypatch/ |
imgdiff.c | 529 int TryReconstruction(ImageChunk* chunk, unsigned char* out) { 549 strm.next_out = out; 553 if (memcmp(out, chunk->deflate_data+p, have) != 0) { 562 // mismatch; ran out of data before we should have. 581 unsigned char* out = malloc(BUFFER_SIZE); local 591 if (TryReconstruction(chunk, out) == 0) { 592 free(out); 597 free(out); 713 int out = 0; local 733 printf("chunk %d is now %d\n", in_start, out); [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RectFTest.java | 514 Parcel out = Parcel.obtain(); local 515 rectOut.writeToParcel(out, 0); 516 out.setDataPosition(0); 518 rectIn.readFromParcel(out);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ScriptGroupTest.java | 211 Allocation in1, in2, out, resultAlloc; local 215 out = Allocation.createTyped(mRS, connect); 253 group.setOutput(node5.getKernelID_arith(), out); local 260 compare.forEach_compare(out);
|
/cts/tools/dasm/src/java_cup/ |
lalr_state.java | 138 /** List of transitions out of this state. */ 141 /** List of transitions out of this state. */ 157 * onto System.out. 167 System.out.println("NULL lalr_state"); 171 System.out.println("lalr_state [" + st.index() + "] {"); 176 System.out.print(" ["); 177 System.out.print(itm.the_production().lhs().the_symbol().name()); 178 System.out.print(" ::= "); 181 if (i == itm.dot_pos()) System.out.print("(*) "); 184 System.out.print("{action} ") [all...] |
/dalvik/dx/src/com/android/dx/ssa/back/ |
SsaToRop.java | 107 System.out.println("Printing reg map"); 108 System.out.println(((BasicRegisterMapper)mapper).toHuman()); 231 System.out.printf("Moving %d registers from 0 to %d\n", 301 // Filter out any reference to the SSA form's exit block.
|
/development/ndk/platforms/android-L/include/linux/netfilter_bridge/ |
ebtables.h | 140 char out[IFNAMSIZ]; member in struct:ebt_entry
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 68 // Entries push-out of hard reference cache are transferred to soft reference cache 77 // Soft cache for bitmap kicked out of hard cache 338 public void copy(InputStream in, OutputStream out) throws IOException { 342 out.write(b, 0, read);
|
/device/asus/fugu/libaudio/ |
audio_hal_thunks.cpp | 499 struct atv_stream_out *out = NULL; local 503 out = reinterpret_cast<struct atv_stream_out*>( 505 if (!out) { 510 out->stream.common.get_sample_rate = out_get_sample_rate; 511 out->stream.common.set_sample_rate = out_set_sample_rate; 512 out->stream.common.get_buffer_size = out_get_buffer_size; 513 out->stream.common.get_channels = out_get_channels; 514 out->stream.common.get_format = out_get_format; 515 out->stream.common.set_format = out_set_format; 516 out->stream.common.standby = out_standby [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
gUnitBaseTest.java | 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 60 private PrintStream console = System.out; 95 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 97 ps = new PrintStream(out); 118 if ( out.toString().length()>0 ) { 119 this.stdout = out.toString(); 121 if ( err.toString().length()==0 && out.toString().length()==0 ) { 145 System.setErr(consoleErr); // Reset standard err out 175 ByteArrayOutputStream out = null; local 204 out = new ByteArrayOutputStream() 351 ByteArrayOutputStream out = new ByteArrayOutputStream(); local [all...] |
/external/antlr/antlr-3.4/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/ |
GUnitExecuteMojo.java | 286 System.out.println(); 287 System.out.println( "-----------------------------------------------------------" ); 288 System.out.println( " G U N I T R E S U L T S" ); 289 System.out.println( "-----------------------------------------------------------" ); 293 System.out.println( "Executing script " + scriptPath ); 313 System.out.println( testResult.render() ); 328 System.out.println(); 329 System.out.println( "Summary :" ); 331 System.out.println( " Found " + failureNames.size() + " failures" ); 333 System.out.println( " - " + name ) [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3string.c | 31 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 529 pANTLR3_UINT16 out; local 532 out = (pANTLR3_UINT16)(string->chars); 537 *out++ = (ANTLR3_UINT16)(*ptr++); 658 // The one that follows the one we just deleted is also out 686 /* Assume we need as much as twice as much space to parse out the control characters 735 /* Assume we need as much as twice as much space to parse out the control characters [all...] |