/hardware/libhardware_legacy/audio/ |
A2dpAudioInterface.cpp | 81 A2dpAudioStreamOut* out = new A2dpAudioStreamOut(); local 82 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { 83 mOutput = out; 87 delete out; 95 void A2dpAudioInterface::closeOutputStream(AudioStreamOut* out) { 96 if (mOutput == 0 || mOutput != out) { 97 mHardwareInterface->closeOutputStream(out);
|
AudioHardwareGeneric.cpp | 81 AudioStreamOutGeneric* out = new AudioStreamOutGeneric(); local 82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); 87 mOutput = out; 89 delete out; 94 void AudioHardwareGeneric::closeOutputStream(AudioStreamOut* out) { 95 if (mOutput && out == mOutput) {
|
/libcore/dex/src/main/java/com/android/dex/ |
TableOfContents.java | 29 * TODO: factor out ID constants. 166 public void writeHeader(Dex.Section out) throws IOException { 167 out.write(DexFormat.apiToMagic(DexFormat.API_NO_EXTENDED_OPCODES).getBytes("UTF-8")); 168 out.writeInt(checksum); 169 out.write(signature); 170 out.writeInt(fileSize); 171 out.writeInt(SizeOf.HEADER_ITEM); 172 out.writeInt(DexFormat.ENDIAN_TAG); 173 out.writeInt(linkSize); 174 out.writeInt(linkOff) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileWriterTest.java | 72 char[] out = new char[first.length() + second.length() + 10]; local 73 int length = fileReader.read(out); 75 assertEquals(first + second, new String(out, 0, length)); 88 out = new char[first.length() + second.length() + 10]; 89 length = fileReader.read(out); 91 assertEquals(second, new String(out, 0, length));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
ASCIICharsetEncoderTest.java | 85 ByteBuffer out = ByteBuffer.allocate(10); local 87 encoder.encode(CharBuffer.wrap("\ud800"), out, true)); 88 assertTrue(encoder.flush(out).isMalformed()); 91 out = ByteBuffer.allocate(10); 94 assertSame(CoderResult.UNDERFLOW, encoder.encode(buffer1, out, false)); 99 assertTrue(encoder.encode(buffer2, out, true).isUnmappable()); 140 ByteBuffer out = ByteBuffer.allocate(0x10); local 144 encoder.encode(in, out, false); 146 encoder.encode(in, out, true); 147 encoder.flush(out); 162 ByteBuffer out = ByteBuffer.allocate(0x10); local 170 ByteBuffer out = ByteBuffer.allocate(0x10); local 177 ByteBuffer out = ByteBuffer.allocate(0x10); local 189 ByteBuffer out = ByteBuffer.allocate(0x10); local 196 ByteBuffer out = ByteBuffer.allocate(0x10); local 204 ByteBuffer out = ByteBuffer.allocate(0x10); local 214 ByteBuffer out = ByteBuffer.allocate(0x10); local 228 ByteBuffer out = ByteBuffer.allocate(0x10); local 247 ByteBuffer out = ByteBuffer.allocate(0x10); local 254 ByteBuffer out = ByteBuffer.allocate(0x10); local 263 ByteBuffer out = ByteBuffer.allocate(0x10); local 273 ByteBuffer out = ByteBuffer.allocate(0x10); local 283 ByteBuffer out = ByteBuffer.allocate(0x10); local 301 ByteBuffer out = ByteBuffer.allocate(0x10); local 315 ByteBuffer out = ByteBuffer.allocate(0x10); local 330 ByteBuffer out = ByteBuffer.allocate(0x10); local 345 ByteBuffer out = ByteBuffer.allocate(0x10); local 354 ByteBuffer out = ByteBuffer.allocate(0x10); local 380 ByteBuffer out = ByteBuffer.allocate(0x10); local 390 ByteBuffer out = ByteBuffer.allocate(0x10); local 400 ByteBuffer out = ByteBuffer.allocate(0x10); local 422 ByteBuffer out = ByteBuffer.allocate(0x10); local 434 ByteBuffer out = ByteBuffer.allocate(0x10); local 443 ByteBuffer out = newEncoder.encode(in); local [all...] |
/libcore/luni/src/main/java/java/lang/ |
StringBuffer.java | 731 private synchronized void writeObject(ObjectOutputStream out) 733 ObjectOutputStream.PutField fields = out.putFields(); 737 out.writeFields();
|
StringBuilder.java | 688 * @param out 696 private void writeObject(ObjectOutputStream out) throws IOException { 697 out.defaultWriteObject(); 698 out.writeInt(length()); 699 out.writeObject(getValue());
|
Throwable.java | 433 private void writeObject(ObjectOutputStream out) throws IOException { 436 out.defaultWriteObject();
|
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetDecoderICU.java | 102 @Override protected final CoderResult implFlush(CharBuffer out) { 109 data[OUTPUT_OFFSET] = getArray(out); 124 setPosition(out); 129 @Override protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 135 data[OUTPUT_OFFSET]= getArray(out); 154 setPosition(out); 167 private int getArray(CharBuffer out) { 168 if (out.hasArray()) { 169 output = out.array(); 170 outEnd = out.arrayOffset() + out.limit() [all...] |
CharsetEncoderICU.java | 130 @Override protected CoderResult implFlush(ByteBuffer out) { 137 data[OUTPUT_OFFSET] = getArray(out); 152 setPosition(out); 157 @Override protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 163 data[OUTPUT_OFFSET]= getArray(out); 183 setPosition(out); 196 private int getArray(ByteBuffer out) { 197 if (out.hasArray()) { 198 output = out.array(); 199 outEnd = out.arrayOffset() + out.limit() [all...] |
/libcore/luni/src/main/java/java/util/ |
PriorityQueue.java | 316 private void writeObject(ObjectOutputStream out) throws IOException { 317 out.defaultWriteObject(); 318 out.writeInt(elements.length); 320 out.writeObject(elements[i]);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldRuntimeTest.java | 475 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 478 Runtime.getRuntime().getLocalizedOutputStream(out); 483 byte[] returned = out.toByteArray();
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 181 System.out.println("Expected exception was thrown: " + e.getMessage()); 610 System.out.println("Got expected IOException: " + e.getMessage()); 650 System.out.println("Expected exception was thrown: " + e.getMessage()); 660 System.out.println(); 661 System.out.println("------------------------"); 662 System.out.println("------ " + getName()); 663 System.out.println("------------------------"); 670 FileOutputStream out = new FileOutputStream(store); local 675 out.write(buf, 0, read); 678 out.close() [all...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 474 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 475 putObjectToStream(initial, out); 476 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
|
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_wlocale_win32.c | 38 WORD out[2];
local 40 GetStringTypeW(CT_CTYPE1, buf, -1, out);
42 return (_Locale_mask_t)(MapCtypeMask(out[0]) & which_bits);
|
/ndk/sources/cxx-stl/stlport/src/ |
ios.cpp | 76 const ios_base::openmode ios_base::out; member in class:ios_base
|
/ndk/sources/host-tools/make-3.81/ |
ansi2knr.c | 65 lpd 2000-04-12 backs out Eggert's changes because of bugs: 234 FILE *out = stdout; local 280 out = fopen(output_name, "w"); 281 if ( out == NULL ) { 301 fprintf(out, "#line 1 \"%s\"\n", filename); 315 convert1(buf, out, 1, convert_varargs); 328 convert1(buf, out, 0, convert_varargs); 329 fputs(more, out); 339 fputs(buf, out); 350 wl: fputs(buf, out); [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
ImageUtils.cpp | 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) 31 ImageType yimg = out; 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) 76 ImageType yimg = out; 121 ImageType out = ImageUtils::allocateImage(width, height, 1); local 122 ImageType outCopy = out; 143 return out; 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) 149 ImageType gray = out; 151 ImageType outCopy = out; [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
StructuredNameEditorView.java | 252 public void writeToParcel(Parcel out, int flags) { 253 out.writeParcelable(mSuperState, 0); 255 out.writeInt(mChanged ? 1 : 0); 256 out.writeParcelable(mSnapshot, 0);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
Rfc822Output.java | 62 /** A less-than-perfect pattern to pull out <body> content */ 117 * @param message the message to write out 118 * @param out the output stream to write the message to 123 public static void writeTo(Context context, Message message, OutputStream out, 131 final OutputStream stream = new BufferedOutputStream(out, 1024); 196 // Write out the attachments until we run out 208 out.flush(); 214 private static void writeOneAttachment(Context context, Writer writer, OutputStream out, 232 // Set up input stream and write it out via base6 [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
ImageUtils.cpp | 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) 31 ImageType yimg = out; 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) 76 ImageType yimg = out; 121 ImageType out = ImageUtils::allocateImage(width, height, 1); local 122 ImageType outCopy = out; 143 return out; 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) 149 ImageType gray = out; 151 ImageType outCopy = out; [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 98 StringBuilder out = new StringBuilder("ComponentInfo: "); local 99 out.append(resolveInfo); 100 out.append(", techs: "); 102 out.append(tech); 103 out.append(", "); 105 return out.toString();
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileSystemUtils.java | 401 OutputStream out = null; local 407 out = proc.getOutputStream(); 438 IOUtils.closeQuietly(out);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
Builder.java | 194 StringBuffer out = new StringBuffer(); local 197 out.append(head.image); 200 addSpecials(out, head.specialToken); 202 out.append(tail.image); 204 return out.toString(); 207 private void addSpecials(StringBuffer out, Token specialToken) { 209 addSpecials(out, specialToken.specialToken); 210 out.append(specialToken.image);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
MoreKeySpec.java | 179 ArrayList<String> out = null; local 183 if (out == null) { 184 out = CollectionUtils.arrayAsList(array, 0, i); 186 } else if (out != null) { 187 out.add(entry); 190 if (out == null) { 193 return out.toArray(new String[out.size()]); 202 ArrayList<String> out = null; local 210 if (out != null) [all...] |