Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/Email/src/org/apache/commons/io/
DIOUtils.java38 import org.apache.commons.io.output.ByteArrayOutputStream;
157 public static void closeQuietly(Writer output) { in closeQuietly() argument
159 if (output != null) { in closeQuietly()
160 output.close(); in closeQuietly()
193 public static void closeQuietly(OutputStream output) { in closeQuietly() argument
195 if (output != null) { in closeQuietly()
196 output.close(); in closeQuietly()
217 ByteArrayOutputStream output = new ByteArrayOutputStream(); in toByteArray() local
218 copy(input, output); in toByteArray()
219 return output.toByteArray(); in toByteArray()
[all …]
DCopyUtils.java136 public static void copy(byte[] input, OutputStream output) in copy() argument
138 output.write(input); in copy()
153 public static void copy(byte[] input, Writer output) in copy() argument
156 copy(in, output); in copy()
172 Writer output, in copy() argument
176 copy(in, output, encoding); in copy()
194 OutputStream output) in copy() argument
200 output.write(buffer, 0, n); in copy()
219 Writer output) in copy() argument
225 output.write(buffer, 0, n); in copy()
[all …]
DEndianUtils.java284 public static void writeSwappedShort(OutputStream output, short value) in writeSwappedShort() argument
287 output.write( (byte)( ( value >> 0 ) & 0xff ) ); in writeSwappedShort()
288 output.write( (byte)( ( value >> 8 ) & 0xff ) ); in writeSwappedShort()
329 public static void writeSwappedInteger(OutputStream output, int value) in writeSwappedInteger() argument
332 output.write( (byte)( ( value >> 0 ) & 0xff ) ); in writeSwappedInteger()
333 output.write( (byte)( ( value >> 8 ) & 0xff ) ); in writeSwappedInteger()
334 output.write( (byte)( ( value >> 16 ) & 0xff ) ); in writeSwappedInteger()
335 output.write( (byte)( ( value >> 24 ) & 0xff ) ); in writeSwappedInteger()
390 public static void writeSwappedLong(OutputStream output, long value) in writeSwappedLong() argument
393 output.write( (byte)( ( value >> 0 ) & 0xff ) ); in writeSwappedLong()
[all …]
/packages/apps/Email/src/org/apache/commons/io/output/
DDemuxOutputStream.java17 package org.apache.commons.io.output;
40 public OutputStream bindStream( OutputStream output ) in bindStream() argument
43 m_streams.set( output ); in bindStream()
56 OutputStream output = getStream(); in close() local
57 if( null != output ) in close()
59 output.close(); in close()
72 OutputStream output = getStream(); in flush() local
73 if( null != output ) in flush()
75 output.flush(); in flush()
89 OutputStream output = getStream(); in write() local
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/android/inputmethod/latin/dicttool/
DCompress.java39 public static void copy(final InputStream input, final OutputStream output) throws IOException { in copy() argument
42 output.write(buffer, 0, readBytes); in copy()
44 output.close(); in copy()
67 final OutputStream output = outFilename.equals(STDIN_OR_STDOUT) ? System.out in run() local
69 copy(input, new GZIPOutputStream(output)); in run()
93 final OutputStream output = outFilename.equals(STDIN_OR_STDOUT) ? System.out in run() local
95 copy(new GZIPInputStream(input), output); in run()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java130 DataOutputStream output = new DataOutputStream(buffer); in toByteArray() local
131 output.writeByte(mVersion); in toByteArray()
132 output.writeByte(mField); in toByteArray()
134 output.writeInt(bytes.length + 4); in toByteArray()
135 output.writeInt(mAcceptableLength); in toByteArray()
137 output.writeInt(bytes.length); in toByteArray()
139 output.write(bytes); in toByteArray()
/packages/apps/Camera/tests/src/com/android/camera/stress/
DShotToShotLatency.java125 BufferedWriter output = null; in testShotToShotLatency() local
127 output = new BufferedWriter(new FileWriter(outFile, true)); in testShotToShotLatency()
128 output.write("Shot to shot latency - mean: " + mean + "\n"); in testShotToShotLatency()
129 output.write("Shot to shot latency - standard deviation: " + standardDeviation + "\n"); in testShotToShotLatency()
135 if (output != null) { in testShotToShotLatency()
136 output.close(); in testShotToShotLatency()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushProtocol.java150 DataOutputStream output = new DataOutputStream(buffer); in toByteArray() local
153 output.writeByte(VERSION); in toByteArray()
154 output.writeInt(mNumMessages); in toByteArray()
156 output.writeByte(mActions[i]); in toByteArray()
158 output.writeInt(bytes.length); in toByteArray()
159 output.write(bytes); in toByteArray()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java40 int flags, String output) { in DateTest() argument
62 expectedOutput = output; in DateTest()
67 int flags, String output) { in DateTest() argument
70 flags, output); in DateTest()
188 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll() local
189 if (!dateTest.expectedOutput.equals(output)) { in testAll()
192 + " actual: " + output); in testAll()
194 assertEquals(dateTest.expectedOutput, output); in testAll()
DWeekNumberTest.java213 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll() local
215 + " date: " + output in testAll()
225 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll() local
227 + " date: " + output in testAll()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h35 #define SHORTS_TO_CHARS(input, length, output) do { \ argument
36 shortArrayToCharArray(input, length, output); } while (0)
95 const unsigned short *input, const int length, char *output) { in shortArrayToCharArray() argument
103 output[i] = static_cast<char>(c); in shortArrayToCharArray()
105 output[i] = 0; in shortArrayToCharArray()
144 #define SHORTS_TO_CHARS(input, length, output) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java78 final String output = (mCode == Keyboard.CODE_OUTPUT_TEXT ? mOutputText in toString() local
81 return output; in toString()
83 return label + "|" + output; in toString()
/packages/apps/Mms/src/com/android/mms/util/
DImageCacheService.java148 int output = 0; in getBytes() local
150 result[output++] = (byte) (ch & 0xFF); in getBytes()
151 result[output++] = (byte) (ch >> 8); in getBytes()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCropImage.java450 File output = saveMedia(jc, cropped, DOWNLOAD_BUCKET, filename, exifData); in savePicasaImage() local
451 if (output == null) return null; in savePicasaImage()
456 values.put(Images.Media.DISPLAY_NAME, output.getName()); in savePicasaImage()
462 values.put(Images.Media.DATA, output.getAbsolutePath()); in savePicasaImage()
463 values.put(Images.Media.SIZE, output.length()); in savePicasaImage()
485 File output = null; in saveLocalImage() local
494 output = saveMedia(jc, cropped, directory, filename, exifData); in saveLocalImage()
495 if (output == null) return null; in saveLocalImage()
500 values.put(Images.Media.DISPLAY_NAME, output.getName()); in saveLocalImage()
506 values.put(Images.Media.DATA, output.getAbsolutePath()); in saveLocalImage()
[all …]
/packages/apps/Browser/tests/src/com/android/browser/
DPopularUrlsTest.java373 FileWriter output = null; in write() local
378 output = new FileWriter(mFile); in write()
379 output.write(iteration + newLine); in write()
380 output.write(page + newLine); in write()
381 output.write(url + newLine); in write()
383 if (output != null) { in write()
384 output.close(); in write()
/packages/apps/Camera/perftests/panorama/
DREADME.txt6 Sample output:
27 4) diff panorama.ppm output/golden.ppm
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java43 private void verifyTokenizeResult(String input, String... output) { in verifyTokenizeResult() argument
45 assertEquals(output.length, tokens.length); in verifyTokenizeResult()
46 for (int i=0; i<output.length; ++i) { in verifyTokenizeResult()
47 assertEquals(output[i], tokens[i].toString()); in verifyTokenizeResult()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadUtils.java66 public static boolean download(JobContext jc, URL url, OutputStream output) { in download() argument
70 dump(jc, input, output); in download()
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile44 # 4096 sub-directories (in 2 levels) under the output directory of each output
54 # information to generate all constant output in the proper language.
195 # sources only. Doxygen will then generate output that is more tailored for C.
202 # sources only. Doxygen will then generate output that is more tailored for
209 # sources only. Doxygen will then generate output that is more tailored for
215 # sources. Doxygen will then generate output that is tailored for
513 # provided by doxygen. Whatever the program writes to standard output
519 # doxygen. The layout file controls the global structure of the generated output files
520 # in an output format independent way. The create the layout file that represents
573 # and error messages should be written. If left blank the output is written
[all …]
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile44 # 4096 sub-directories (in 2 levels) under the output directory of each output
54 # information to generate all constant output in the proper language.
195 # sources only. Doxygen will then generate output that is more tailored for C.
202 # sources only. Doxygen will then generate output that is more tailored for
209 # sources only. Doxygen will then generate output that is more tailored for
215 # sources. Doxygen will then generate output that is tailored for
513 # provided by doxygen. Whatever the program writes to standard output
519 # doxygen. The layout file controls the global structure of the generated output files
520 # in an output format independent way. The create the layout file that represents
573 # and error messages should be written. If left blank the output is written
[all …]
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile44 # 4096 sub-directories (in 2 levels) under the output directory of each output
54 # information to generate all constant output in the proper language.
195 # sources only. Doxygen will then generate output that is more tailored for C.
202 # sources only. Doxygen will then generate output that is more tailored for
209 # sources only. Doxygen will then generate output that is more tailored for
215 # sources. Doxygen will then generate output that is tailored for
513 # provided by doxygen. Whatever the program writes to standard output
519 # doxygen. The layout file controls the global structure of the generated output files
520 # in an output format independent way. The create the layout file that represents
573 # and error messages should be written. If left blank the output is written
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile44 # 4096 sub-directories (in 2 levels) under the output directory of each output
54 # information to generate all constant output in the proper language.
195 # sources only. Doxygen will then generate output that is more tailored for C.
202 # sources only. Doxygen will then generate output that is more tailored for
209 # sources only. Doxygen will then generate output that is more tailored for
215 # sources. Doxygen will then generate output that is tailored for
513 # provided by doxygen. Whatever the program writes to standard output
519 # doxygen. The layout file controls the global structure of the generated output files
520 # in an output format independent way. The create the layout file that represents
573 # and error messages should be written. If left blank the output is written
[all …]
/packages/providers/CalendarProvider/tests/
DEMMA_README38 output=/sdcard/calendar-provider.ec
44 adb pull $output coverage.ec
45 adb shell rm $output
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java59 byte[] output = new byte[BD_ADDR_LEN]; in getBytesFromAddress()
63 output[j] = (byte) Integer.parseInt(address.substring(i, i+2), 16); in getBytesFromAddress()
69 return output; in getBytesFromAddress()
/packages/apps/LegacyCamera/res/raw/
Dbackdropper.graph67 // Display output
74 // Recording output

123