/packages/apps/Email/src/com/android/email/mail/internet/ |
EmailHtmlUtil.java | 39 StringBuilder out = new StringBuilder(); local 43 out.append(text.substring(end, start)); 49 out.append(" "); 51 out.append(' '); 53 out.append("<br>"); 55 out.append("<"); 57 out.append(">"); 59 out.append("&"); 62 out.append(text.substring(end)); 63 text = out.toString() [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
GridOccupancy.java | 36 out: 40 if (!available) break out; local
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
DomainList.java | 67 StringBuffer out = new StringBuffer(); local 69 out.append("@"); 70 out.append(get(i)); 72 out.append(","); 74 return out.toString();
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/ |
DomainList.java | 67 StringBuffer out = new StringBuffer(); local 69 out.append("@"); 70 out.append(get(i)); 72 out.append(","); 74 return out.toString();
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
CaptureLoader.java | 44 BufferedWriter out = null; local 52 out = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())); 55 out.write("CAPTURE_LAYERS " + window.encode()); 56 out.newLine(); 57 out.flush(); 74 if (out != null) { 75 out.close(); 94 System.out.println("Found end of layers list"); 98 System.out.println("name = " + name); 132 BufferedWriter out = null local [all...] |
ViewHierarchyLoader.java | 44 BufferedWriter out = null; local 49 System.out.println("==> Starting client"); 55 out = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())); 58 System.out.println("==> DUMP"); 60 out.write("DUMP " + window.encode()); 61 out.newLine(); 62 out.flush(); 119 if (out != null) { 120 out.close(); 131 System.out.println("==> DONE") [all...] |
/system/core/libsparse/ |
img2simg.c | 49 int out; local 80 out = STDOUT_FILENO; 82 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 83 if (out < 0) { 105 ret = sparse_file_write(s, out, false, true, false); 112 close(out);
|
simg2simg.c | 45 int out; local 98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 99 if (out < 0) { 104 ret = sparse_file_write(out_s[i], out, false, true, false); 109 close(out);
|
/system/media/audio_utils/ |
channels.c | 48 uint8x3_t out; local 50 out.c[2] = in; 51 out.c[1] = in >> 8; 52 out.c[0] = in >> 16; 54 out.c[0] = in; 55 out.c[1] = in >> 8; 56 out.c[2] = in >> 16; 58 return out; 224 * The out and sums buffers must either be completely separate (non-overlapping), or 295 * The out and sums buffers must either be completely separate (non-overlapping), o [all...] |
limiter.c | 42 float out; local 47 out = crossover + atan_approximation((in_abs - crossover)*factor)*ratio; 48 if (out > 1.0) { 49 out = 1.0; 60 out = ((A*in_abs + B)*in_abs + C)*in_abs + D; 62 out = 1.0; 66 out = -out; 68 return out;
|
/system/tools/aidl/tests/ |
aidl_test_client_nullables.cpp | 51 bool ValuesEqual(const unique_ptr<T>& in, const unique_ptr<T>& out) { 52 return *in == *out; 58 const unique_ptr<vector<unique_ptr<String16>>>& out) { 60 return !out; 63 if (!out) { 67 if (in->size() != out->size()) { 73 const unique_ptr<String16>& b = (*out)[i]; 98 unique_ptr<T> out; local 100 status = (*s.*func)(in, &out); 107 if (!out) { [all...] |
/system/update_engine/payload_generator/ |
zip_unittest.cc | 71 bool DecompressWithWriter(const brillo::Blob& in, brillo::Blob* out) { 73 new W(brillo::make_unique_ptr(new MemoryExtentWriter(out)))); 86 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 87 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 95 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { 96 return BzipCompress(in, out); 98 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const { 99 return DecompressWithWriter<BzipExtentWriter>(in, out); 108 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { 109 return XzCompress(in, out); 134 brillo::Blob out; local 146 brillo::Blob out; local 157 brillo::Blob out; local 163 brillo::Blob out; local [all...] |
/frameworks/base/core/java/com/android/server/ |
BootReceiver.java | 396 XmlSerializer out = new FastXmlSerializer(); local 397 out.setOutput(stream, StandardCharsets.UTF_8.name()); 398 out.startDocument(null, true); 399 out.startTag(null, "log-files"); 404 out.startTag(null, "log"); 405 out.attribute(null, "filename", filename); 406 out.attribute(null, "timestamp", timestamps.get(filename).toString()); 407 out.endTag(null, "log"); 410 out.endTag(null, "log-files"); 411 out.endDocument() [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
CompatModePackages.java | 404 XmlSerializer out = new FastXmlSerializer(); local 405 out.setOutput(fos, StandardCharsets.UTF_8.name()); 406 out.startDocument(null, true); 407 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 408 out.startTag(null, "compat-packages"); 437 out.startTag(null, "pkg"); 438 out.attribute(null, "name", pkg); 439 out.attribute(null, "mode", Integer.toString(mode)); 440 out.endTag(null, "pkg"); 443 out.endTag(null, "compat-packages") [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
JarURLConnectionTest.java | 145 JarOutputStream out = new JarOutputStream(new FileOutputStream(jarFile)); local 146 out.putNextEntry(new ZipEntry("test")); 147 out.closeEntry(); 148 out.close(); 212 JarOutputStream out = new JarOutputStream(new BufferedOutputStream( local 215 out.putNextEntry(jarEntry); 216 out.write(new byte[] { 'a', 'b', 'c' }); 217 out.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetDecoderTest.java | 113 // Commented out since the comment is wrong since MAX_BYTES > 1 214 CharBuffer out = decoder.decode(ByteBuffer.allocate(0)); local 215 assertCharBufferValue("", out); 219 out = decoder.decode(in); 220 assertEquals(0, out.position()); 221 assertEquals(getString().length(), out.limit()); 222 assertEquals(getString().length(), out.remaining()); 223 assertCharBufferValue(getString(), out); local 227 out = decoder.decode(in); 228 assertEquals(out.position(), 0) 231 assertCharBufferValue(getString(), out); local 236 CharBuffer out; local 256 assertCharBufferValue(getString(), out); local 280 assertCharBufferValue(getString(), out); local 309 CharBuffer out = CharBuffer.allocate(100); local 333 assertCharBufferValue(getString(), out); local 346 assertCharBufferValue(getString(), out); local 360 assertCharBufferValue(getString() + getString() + getString(), out); local 409 CharBuffer out = CharBuffer.allocate(50); local 422 assertCharBufferValue(getString(), out); local 429 assertCharBufferValue(decoder.replacement() + getString(), out); local 463 CharBuffer out = CharBuffer.allocate(getString().length() * 3); local 475 assertCharBufferValue(getString(), out); local 482 assertCharBufferValue(decoder.replacement() + getString(), out); local 512 CharBuffer out = CharBuffer.allocate(50); local 572 CharBuffer out = CharBuffer.allocate(10); local 602 CharBuffer out = CharBuffer.allocate(5); local 668 CharBuffer out = CharBuffer.allocate(100); local 708 CharBuffer out = CharBuffer.allocate(5); local [all...] |