/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...] |
CharsetEncoderTest.java | 139 // Commented out since the comment is wrong since MAX_BYTES > 1 213 // Commented out since the comment is wrong since MAX_BYTES > 1 283 ByteBuffer out = ByteBuffer.allocate(5); local 288 encoder.flush(out); 295 encoder.encode(in, out, true); 296 out.rewind(); 297 CoderResult result = encoder.flush(out); 300 encoder.flush(out); 304 encoder.encode(in, out, false); 306 encoder.flush(out); 313 ByteBuffer out = ByteBuffer.allocate(5); local 373 ByteBuffer out = ByteBuffer.allocate(5); local 423 ByteBuffer out = ByteBuffer.allocate(5); local 575 ByteBuffer out = encoder.encode(CharBuffer.wrap("")); local 627 ByteBuffer out; local 707 ByteBuffer out = ByteBuffer.allocate(200); local 830 ByteBuffer out = ByteBuffer.allocate(100); local 916 ByteBuffer out = ByteBuffer.allocate(6); local [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
CodeItem.java | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 73 @Override public void annotateSection(@Nonnull AnnotatedBytes out) { 75 super.annotateSection(out); 87 public void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) { 89 DexReader reader = dexFile.readerAt(out.getCursor()); 92 out.annotate(2, "registers_size = %d", registers); 95 out.annotate(2, "ins_size = %d", inSize); 98 out.annotate(2, "outs_size = %d", outSize); 101 out.annotate(2, "tries_size = %d", triesCount); 104 out.annotate(4, "debug_info_off = 0x%x", debugInfoOffset) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarSerializerFoo.java | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 46 protected DataOutputStream out; field in class:GrammarSerializerFoo 62 out = new DataOutputStream(bos); 63 writeString(out, SerializedGrammar.COOKIE); 64 out.writeByte(SerializedGrammar.FORMAT_VERSION); 68 if ( out!=null ) out.close(); 69 out = null; 79 case ANTLRParser.LEXER_GRAMMAR : out.writeByte('l'); break; 80 case ANTLRParser.PARSER_GRAMMAR : out.writeByte('p'); break [all...] |
/external/doclava/src/com/google/doclava/ |
Proofread.java | 27 static Writer out = null; field in class:Proofread 34 out = new BufferedWriter(new FileWriter(filename)); 35 out.write("javadoc proofread file: " + filename + "\n"); 37 if (out != null) { 39 out.close(); 41 out = null; 48 if (out == null) { 53 out.close(); 58 if (out == null) { 62 out.write(s) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
GenerateExcludeListTask.java | 122 BufferedWriter out = new BufferedWriter(new FileWriter(outputFile)); local 126 out.write("plugins/" + s + ","); 128 out.write("plugins/" + s); 131 out.close();
|
/external/guava/guava/src/com/google/common/io/ |
LittleEndianDataOutputStream.java | 49 * @param out the stream to delegate to 51 public LittleEndianDataOutputStream(OutputStream out) { 52 super(new DataOutputStream(Preconditions.checkNotNull(out))); 57 out.write(b, off, len); 61 ((DataOutputStream) out).writeBoolean(v); 65 ((DataOutputStream) out).writeByte(v); 75 ((DataOutputStream) out).writeBytes(s); 131 out.write(0xFF & v); 132 out.write(0xFF & (v >> 8)); 133 out.write(0xFF & (v >> 16)) [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractByteHasherTest.java | 115 private final ByteArrayOutputStream out = new ByteArrayOutputStream(); field in class:AbstractByteHasherTest.TestHasher 119 out.write(b); 124 out.write(b, off, len); 128 return out.toByteArray();
|
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSinkTester.java | 88 OutputStream out = sink.openStream(); local 90 ByteStreams.copy(new ByteArrayInputStream(data), out); 92 out.close(); 99 OutputStream out = sink.openBufferedStream(); local 101 ByteStreams.copy(new ByteArrayInputStream(data), out); 103 out.close();
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
SimpleBITest.java | 219 StringBuffer out = new StringBuffer(); local 223 out.append(c); 225 out.append("\\u"); 227 out.append(zeros.substring(0, 4 - temp.length())); 228 out.append(temp); 231 logln(out.toString()); 235 StringBuffer out = new StringBuffer(); 239 out.append("<" + ((int)c - 0x100) + ">"); 241 out.append(c); 243 logln(out.toString()) [all...] |