/libcore/luni/src/main/java/java/util/logging/ |
SimpleFormatter.java | 59 StringWriter sw = new StringWriter(); local 60 pw = new PrintWriter(sw); 62 sb.append(sw.toString());
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCertPathValidatorSpi.java | 38 private int sw = 0; field in class:MyCertPathValidatorSpi 42 ++sw; 44 if ((sw % 2) == 0) { 49 if ((sw % 3) == 0) {
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldStringWriterTest.java | 25 StringWriter sw; field in class:OldStringWriterTest 45 sw = new StringWriter();
|
OldBufferedWriterTest.java | 29 Support_StringWriter sw; field in class:OldBufferedWriterTest 36 bw = new BufferedWriter(sw); 39 assertTrue("Test 1: Buffering failed.", sw.toString().equals("")); 41 assertEquals("Test 2: Incorrect value;", "Hi", sw.toString()); 49 bw = new BufferedWriter(sw, 0); 55 bw = new BufferedWriter(sw, 10); 58 assertTrue("Test 2: Buffering failed.", sw.toString().equals("")); 60 assertEquals("Test 3: Incorrect value;", "Hi", sw.toString()); 75 assertFalse("Test 2: Write after close.", sw.toString().equals(testString)); 89 sw.toString().equals("")) [all...] |
OldCharArrayWriterTest.java | 76 StringWriter sw = new StringWriter(); local 78 cw.writeTo(sw); 80 "HelloWorld", sw.toString());
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertPathValidatorSpi.java | 39 private int sw = 0; field in class:MyCertPathValidatorSpi 43 ++sw; 45 if ((sw % 2) == 0) { 50 if ((sw % 3) == 0) {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
SystemTest.java | 43 StringWriter sw = new StringWriter(); local 44 BufferedWriter bw = new BufferedWriter(sw); 47 assertEquals(System.lineSeparator(), sw.toString()); 57 sw = new StringWriter(); 58 new PrintWriter(sw).println(); 59 assertEquals(System.lineSeparator(), sw.toString());
|
/development/tools/mkstubs/tests/com/android/mkstubs/ |
SourceGeneratorTest.java | 49 StringWriter sw = new StringWriter(); local 52 mGen.visitClassSource(sw, cr, new Filter()); 54 String s = sw.toString();
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
ClassSourcerTest.java | 48 StringWriter sw = new StringWriter(); local 51 ClassSourcer jw = new ClassSourcer(new Output(sw)); 73 sw.toString()); 78 StringWriter sw = new StringWriter(); local 81 ClassSourcer jw = new ClassSourcer(new Output(sw)); 101 sw.toString()); 106 StringWriter sw = new StringWriter(); local 109 ClassSourcer jw = new ClassSourcer(new Output(sw)); 136 sw.toString());
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StringWriterTest.java | 25 StringWriter sw; field in class:StringWriterTest 41 sw.close(); 52 sw.flush(); 53 sw.write('c'); 54 assertEquals("Failed to flush char", "c", sw.toString()); 64 sw.write("This is a test string"); 65 StringBuffer sb = sw.getBuffer(); 75 sw.write("This is a test string"); 77 "This is a test string", sw.toString()); 87 sw.write(c, 0, 21) [all...] |
/frameworks/base/core/jni/android/opengl/ |
poly.h | 35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon14488
|
poly_clip.cpp | 49 * copying the portion satisfying sign*s[index] < k*sw into q, 72 tu = sign*COORD(u, index) - u->sw*k; 76 tv = sign*COORD(v, index) - v->sw*k; 95 * using the homogeneous screen coordinates (sx, sy, sz, sw) of each vertex, 96 * testing if v->sx/v->sw > box->x0 and v->sx/v->sw < box->x1, 116 float sw = v->sw; local 117 if (v->sx < -sw) x0out++; /* out on left */ 118 if (v->sx > sw) x1out++; /* out on right * [all...] |
/external/qemu/hw/ |
android_arm.c | 163 void *sw; local 164 sw = goldfish_switch_add("test", NULL, NULL, 0); 165 goldfish_switch_set_state(sw, 1); 166 goldfish_switch_add("test2", switch_test_write, sw, 1);
|
/external/skia/samplecode/ |
SampleStrokeText.cpp | 33 SkScalar sw = -original.getStrokeWidth(); local 34 bounds.inset(sw, sw); 79 SkScalar sw = -original.getStrokeWidth(); local 80 bounds.inset(sw, sw);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
Log.java | 47 StringWriter sw = new StringWriter(); local 48 PrintWriter pw = new PrintWriter(sw); 51 error(format + "\n" + sw.toString(), args);
|
/sdk/sdklauncher/app/src/com/android/sdklauncher/ |
Main.java | 125 StringWriter sw = new StringWriter(); local 126 PrintWriter pw = new PrintWriter(sw); 128 sw.flush(); 130 showAwtDialog(sw.toString());
|
/external/qemu/audio/ |
audio_template.h | 30 #define SW SWVoiceOut 35 #define SW SWVoiceIn 93 static void glue (audio_pcm_sw_free_resources_, TYPE) (SW *sw) 95 if (sw->buf) { 96 qemu_free (sw->buf); 99 if (sw->rate) { 100 st_rate_stop (sw->rate); 103 sw->buf = NULL; 104 sw->rate = NULL 347 SW *sw; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
TwoColumnOutput.java | 65 StringWriter sw = new StringWriter((len1 + len2) * 3); local 67 new TwoColumnOutput(sw, width1, width2, spacer); 77 return sw.toString();
|
/dalvik/dx/src/com/android/dx/util/ |
TwoColumnOutput.java | 65 StringWriter sw = new StringWriter((len1 + len2) * 3); local 67 new TwoColumnOutput(sw, width1, width2, spacer); 77 return sw.toString();
|
/external/chromium/base/synchronization/ |
waitable_event_posix.cc | 172 SyncWaiter sw; local 173 sw.lock()->Acquire(); 175 Enqueue(&sw); 184 if (sw.fired() || (finite_time && current_time >= end_time)) { 185 const bool return_value = sw.fired(); 189 // and @sw would accept it, however we will still return false, so the 191 // Disable which makes sw::Fire return false. 192 sw.Disable(); 193 sw.lock()->Release(); 196 kernel_->Dequeue(&sw, &sw) 244 SyncWaiter sw; local [all...] |
/external/qemu/android/skin/ |
scaler.c | 90 int sw = srect->size.w; local 101 drect->size.w = (int)(ceil((sx + sw) * scale + scaler->xdisp)) - drect->pos.x; 111 int sw, 133 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x;
|
/frameworks/base/core/java/android/util/ |
Log.java | 317 StringWriter sw = new StringWriter(); local 318 PrintWriter pw = new PrintWriter(sw); 320 return sw.toString();
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
SimpleLog.java | 319 java.io.StringWriter sw= new java.io.StringWriter(1024); local 320 java.io.PrintWriter pw= new java.io.PrintWriter(sw); 323 buf.append(sw.toString());
|
/external/emma/core/java12/com/vladium/logging/ |
Logger.java | 532 final StringWriter sw = new StringWriter (); local 533 final PrintWriter pw = new PrintWriter (sw); 538 buf.append (sw.toString ());
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
DelegateClassAdapterTest.java | 442 StringWriter sw = new StringWriter(); local 443 PrintWriter pw = new PrintWriter(sw); 451 .append(sw.toString());
|