Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 146) sorted by relevance

123456

/packages/apps/Email/src/com/beetstra/jutf7/
DUTF7StyleCharsetDecoder.java64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop() argument
65 while (in.hasRemaining()) { in decodeLoop()
66 byte b = in.get(); in decodeLoop()
70 return malformed(in); in decodeLoop()
73 return overflow(in); in decodeLoop()
80 return overflow(in); in decodeLoop()
81 CoderResult result = handleBase64(in, out, b); in decodeLoop()
90 return malformed(in); in decodeLoop()
95 return overflow(in); in decodeLoop()
103 private CoderResult overflow(ByteBuffer in) { in overflow() argument
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/
DEOLConvertingInputStream.java42 private PushbackInputStream in = null; field in EOLConvertingInputStream
53 public EOLConvertingInputStream(InputStream in) { in EOLConvertingInputStream() argument
54 this(in, CONVERT_BOTH); in EOLConvertingInputStream()
64 public EOLConvertingInputStream(InputStream in, int flags) { in EOLConvertingInputStream() argument
67 this.in = new PushbackInputStream(in, 2); in EOLConvertingInputStream()
77 in.close(); in close()
84 int b = in.read(); in read()
91 int c = in.read(); in read()
93 in.unread(c); in read()
96 in.unread('\n'); in read()
[all …]
/packages/apps/Email/src/org/apache/commons/io/input/
DProxyReader.java53 return in.read(); in read()
63 return in.read(chr); in read()
75 return in.read(chr, st, end); in read()
85 return in.skip(ln); in skip()
94 return in.ready(); in ready()
102 in.close(); in close()
111 in.mark(idx); in mark()
119 in.reset(); in reset()
127 return in.markSupported(); in markSupported()
DProxyInputStream.java53 return in.read(); in read()
63 return in.read(bts); in read()
75 return in.read(bts, st, end); in read()
85 return in.skip(ln); in skip()
94 return in.available(); in available()
102 in.close(); in close()
110 in.mark(idx); in mark()
118 in.reset(); in reset()
126 return in.markSupported(); in markSupported()
DAutoCloseInputStream.java44 public AutoCloseInputStream(InputStream in) { in AutoCloseInputStream() argument
45 super(in); in AutoCloseInputStream()
62 in.close(); in close()
63 in = new ClosedInputStream(); in close()
75 int n = in.read(); in read()
92 int n = in.read(b); in read()
111 int n = in.read(b, off, len); in read()
DSwappedDataInputStream.java71 return (byte)in.read(); in readByte()
95 return EndianUtils.readSwappedDouble( in ); in readDouble()
107 return EndianUtils.readSwappedFloat( in ); in readFloat()
161 return EndianUtils.readSwappedInteger( in ); in readInt()
186 return EndianUtils.readSwappedLong( in ); in readLong()
198 return EndianUtils.readSwappedShort( in ); in readShort()
210 return in.read(); in readUnsignedByte()
222 return EndianUtils.readSwappedUnsignedShort( in ); in readUnsignedShort()
248 return (int)in.skip( count ); in skipBytes()
DCloseShieldInputStream.java39 public CloseShieldInputStream(InputStream in) { in CloseShieldInputStream() argument
40 super(in); in CloseShieldInputStream()
49 in = new ClosedInputStream(); in close()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
Dnj_dic.h51 #define NJ_INT16_READ(in) \ argument
52 (((((NJ_INT16)((in)[0])) << 8) & 0xff00U) + ((in)[1] & 0xffU))
54 #define NJ_INT32_READ(in) \ argument
55 (((((NJ_INT32)((in)[0])) << 24) & 0xff000000) | \
56 ((((NJ_INT32)((in)[1])) << 16) & 0xff0000) | \
57 ((((NJ_INT32)((in)[2])) << 8) & 0xff00) | \
58 ((((NJ_INT32)((in)[3])) ) & 0xff))
/packages/apps/Email/src/org/apache/commons/io/
DCopyUtils.java155 ByteArrayInputStream in = new ByteArrayInputStream(input); in copy() local
156 copy(in, output); in copy()
175 ByteArrayInputStream in = new ByteArrayInputStream(input); in copy() local
176 copy(in, output, encoding); in copy()
247 InputStreamReader in = new InputStreamReader(input); in copy() local
248 copy(in, output); in copy()
266 InputStreamReader in = new InputStreamReader(input, encoding); in copy() local
267 copy(in, output); in copy()
309 StringReader in = new StringReader(input); in copy() local
311 copy(in, out); in copy()
/packages/apps/IM/src/com/android/im/
DIChatListener.aidl29 void onIncomingMessage(IChatSession ses, in Message msg); in onIncomingMessage()
34 void onSendMessageError(IChatSession ses, in Message msg, in ImErrorInfo error); in onSendMessageError()
44 void onContactJoined(IChatSession ses, in Contact contact); in onContactJoined()
49 void onContactLeft(IChatSession ses, in Contact contact); in onContactLeft()
55 void onInviteError(IChatSession ses, in ImErrorInfo error); in onInviteError()
DIConnectionListener.aidl25 void onStateChanged(in IImConnection connection, int state, in onStateChanged()
26 in ImErrorInfo error); in onStateChanged()
28 void onUserPresenceUpdated(in IImConnection connection); in onUserPresenceUpdated()
30 void onUpdatePresenceError(in IImConnection connection, in onUpdatePresenceError()
31 in ImErrorInfo error); in onUpdatePresenceError()
DIContactListListener.aidl35 void onContactChange(int type, IContactList list, in Contact contact); in onContactChange()
49 void onContactsPresenceUpdate(in Contact[] contacts); in onContactsPresenceUpdate()
56 void onContactError(int errorType, in ImErrorInfo error, String listName, in Contact contact); in onContactError()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapReceiver.java51 Intent in = new Intent(); in onReceive() local
52 in.putExtras(intent); in onReceive()
53 in.setClass(context, BluetoothPbapService.class); in onReceive()
55 in.putExtra("action", action); in onReceive()
59 in.putExtra(BluetoothAdapter.EXTRA_STATE, state); in onReceive()
66 context.startService(in); in onReceive()
/packages/apps/Browser/src/com/android/browser/
DBrowserBackupAgent.java79 DataInputStream in = new DataInputStream( in onBackup() local
82 savedFileSize = in.readLong(); in onBackup()
83 savedCrc = in.readLong(); in onBackup()
84 savedVersion = in.readInt(); in onBackup()
129 DataInputStream in = new DataInputStream(infstream); in onRestore() local
132 int count = in.readInt(); in onRestore()
139 mark.url = in.readUTF(); in onRestore()
140 mark.visits = in.readInt(); in onRestore()
141 mark.date = in.readLong(); in onRestore()
142 mark.created = in.readLong(); in onRestore()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java102 Intent in = new Intent(this, BluetoothOppBtErrorActivity.class); in onCreate() local
103 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onCreate()
104 in.putExtra("title", this.getString(R.string.airplane_error_title)); in onCreate()
105 in.putExtra("content", this.getString(R.string.airplane_error_msg)); in onCreate()
106 this.startActivity(in); in onCreate()
117 Intent in = new Intent(this, BluetoothOppBtEnableActivity.class); in onCreate() local
118 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onCreate()
119 this.startActivity(in); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/
DAttachImage.java90 private static long[] toPrimativeArray(Long[] in) { in toPrimativeArray() argument
91 if (in == null) { in toPrimativeArray()
94 long[] out = new long[in.length]; in toPrimativeArray()
95 for (int i = 0; i < in.length; i++) { in toPrimativeArray()
96 out[i] = in[i]; in toPrimativeArray()
101 private static Long[] toClassArray(long[] in) { in toClassArray() argument
102 if (in == null) { in toClassArray()
105 Long[] out = new Long[in.length]; in toClassArray()
106 for (int i = 0; i < in.length; i++) { in toClassArray()
107 out[i] = in[i]; in toClassArray()
/packages/apps/Email/src/com/android/exchange/
DIEmailService.aidl23 int validate(in String protocol, in String host, in String userName, in String password, in validate()
/packages/inputmethods/PinyinIME/lib/com/android/inputmethod/pinyin/
DIPinyinDecoderService.aidl23 int imSearch(in byte[] pyBuf, int pyLen); in imSearch()
38 int imGetPredictsNum(in String fixedStr); in imGetPredictsNum()
42 String syncUserDict(in String tomerge); in syncUserDict()
45 int syncPutLemmas(in String tomerge); in syncPutLemmas()
/packages/apps/Calculator/src/com/android/calculator2/
DPersist.java45 DataInputStream in = new DataInputStream(is); in load() local
46 int version = in.readInt(); in load()
50 history = new History(version, in); in load()
51 in.close(); in load()
/packages/apps/Email/src/com/android/email/mail/internet/
DMimeUtility.java255 InputStream in = part.getBody().getInputStream(); in getTextFromPart() local
263 IOUtils.copy(in, out); in getTextFromPart()
264 in.close(); in getTextFromPart()
265 in = null; // we want all of our memory back, and close might not release in getTextFromPart()
345 public static Body decodeBody(InputStream in, String contentTransferEncoding) in decodeBody() argument
354 in = new QuotedPrintableInputStream(in); in decodeBody()
357 in = new Base64InputStream(in); in decodeBody()
363 IOUtils.copy(in, out); in decodeBody()
/packages/wallpapers/MusicVisualization/
DNOTICE5 you may not use this file except in compliance with the License.
7 Unless required by applicable law or agreed to in writing, software
48 "Work" shall mean the work of authorship, whether in Source or
50 copyright notice that is included in or attached to the work
51 (an example is provided in the Appendix below).
53 "Derivative Works" shall mean any work, whether in Source or Object
64 submitted to Licensor for inclusion in the Work by the copyright owner
73 designated in writing by the copyright owner as "Not a Contribution."
84 Work and such Derivative Works in Source or Object form.
89 (except as stated in this section) patent license to make, have made,
[all …]
/packages/providers/UserDictionaryProvider/
DNOTICE5 you may not use this file except in compliance with the License.
7 Unless required by applicable law or agreed to in writing, software
48 "Work" shall mean the work of authorship, whether in Source or
50 copyright notice that is included in or attached to the work
51 (an example is provided in the Appendix below).
53 "Derivative Works" shall mean any work, whether in Source or Object
64 submitted to Licensor for inclusion in the Work by the copyright owner
73 designated in writing by the copyright owner as "Not a Contribution."
84 Work and such Derivative Works in Source or Object form.
89 (except as stated in this section) patent license to make, have made,
[all …]
/packages/apps/Launcher/
DNOTICE5 you may not use this file except in compliance with the License.
7 Unless required by applicable law or agreed to in writing, software
48 "Work" shall mean the work of authorship, whether in Source or
50 copyright notice that is included in or attached to the work
51 (an example is provided in the Appendix below).
53 "Derivative Works" shall mean any work, whether in Source or Object
64 submitted to Licensor for inclusion in the Work by the copyright owner
73 designated in writing by the copyright owner as "Not a Contribution."
84 Work and such Derivative Works in Source or Object form.
89 (except as stated in this section) patent license to make, have made,
[all …]
/packages/providers/ApplicationsProvider/
DNOTICE5 you may not use this file except in compliance with the License.
7 Unless required by applicable law or agreed to in writing, software
48 "Work" shall mean the work of authorship, whether in Source or
50 copyright notice that is included in or attached to the work
51 (an example is provided in the Appendix below).
53 "Derivative Works" shall mean any work, whether in Source or Object
64 submitted to Licensor for inclusion in the Work by the copyright owner
73 designated in writing by the copyright owner as "Not a Contribution."
84 Work and such Derivative Works in Source or Object form.
89 (except as stated in this section) patent license to make, have made,
[all …]
/packages/inputmethods/OpenWnn/
DNOTICE5 you may not use this file except in compliance with the License.
7 Unless required by applicable law or agreed to in writing, software
48 "Work" shall mean the work of authorship, whether in Source or
50 copyright notice that is included in or attached to the work
51 (an example is provided in the Appendix below).
53 "Derivative Works" shall mean any work, whether in Source or Object
64 submitted to Licensor for inclusion in the Work by the copyright owner
73 designated in writing by the copyright owner as "Not a Contribution."
84 Work and such Derivative Works in Source or Object form.
89 (except as stated in this section) patent license to make, have made,
[all …]

123456