/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
Process2Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 52 InputStream is = process.getErrorStream(); local 55 int c = is.read(); 71 InputStream is = erProcess.getErrorStream(); local 74 int c = is.read();
|
/libcore/luni/src/main/java/java/util/zip/ |
InflaterInputStream.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 68 * This is the most basic constructor. You only need to pass the {@code 69 * InputStream} from which the compressed data is to be read from. Default 73 * @param is 76 public InflaterInputStream(InputStream is) { 77 this(is, new Inflater(), BUF_SIZE); 84 * @param is 89 public InflaterInputStream(InputStream is, Inflater inflater) { 90 this(is, inflater, BUF_SIZE) 191 ZipFile.RAFStream is = (ZipFile.RAFStream) in; local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 84 InputStream is = new ByteArrayInputStream(myMessage); local 85 InputStream dis = new DigestInputStream(is, md); 117 InputStream is = new ByteArrayInputStream(myMessage); local 118 DigestInputStream dis = new DigestInputStream(is, md); 150 InputStream is = new ByteArrayInputStream(myMessage); local 151 DigestInputStream dis = new DigestInputStream(is, md); 175 * Assertion: <code>read()</code> must not update digest if it is off<br> 185 InputStream is = new ByteArrayInputStream(myMessage) local 246 InputStream is = new ByteArrayInputStream(myMessage); local 271 InputStream is = new ByteArrayInputStream(myMessage); local 296 InputStream is = new ByteArrayInputStream(myMessage); local 333 InputStream is = new ByteArrayInputStream(myMessage); local 373 InputStream is = new ByteArrayInputStream(myMessage); local 417 InputStream is = new ByteArrayInputStream(myMessage); local 456 InputStream is = new ByteArrayInputStream(myMessage); local 527 InputStream is = new ByteArrayInputStream(myMessage); local 566 InputStream is = new ByteArrayInputStream(myMessage); local [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_ctype.h | 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 15 * modified is included with the above copyright notice. 18 // WARNING: This is an internal header file, included by other C++ 78 bool is(mask __m, char __c) const function in class:ctype 81 const char* is(const char* __low, const char* __high, mask* __vec) const { function in class:ctype 183 bool is(mask __m, wchar_t __c) cons function in class:ctype 186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppSendFileInfo.java | 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 145 FileInputStream is = null; local 155 Log.e(TAG, "Content provider length is wrong (" + Long.toString(length) + 162 // is closed. 163 is = fd.createInputStream(); 175 if (is == null) { 177 is = (FileInputStream) contentResolver.openInputStream(uri); 186 length = is.available(); 187 if (V) Log.v(TAG, "file length is " + length) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapUtils.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 60 // For vcard 2.0: VERSION,N,TEL is mandatory 61 // For vcard 3.0, VERSION,N,FN,TEL is mandatory 63 // NICKNAME is set 65 // Check that an explicit filter is not set. If not, this means 84 // Check byte 6 is not set 89 // Check if bit#3-6 is set. Return false if so. 187 FileInputStream is = null; local 198 is = fd.createInputStream() [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapList.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 67 * Return true if the element at {@code index} exists, is string, and equals to {@code s}. 70 public final boolean is(int index, String s) { method in class:ImapList 71 return is(index, s, false); 75 * Same as {@link #is(int, String)}, but does the prefix match if {@code prefixMatch}. 77 public final boolean is(int index, String s, boolean prefixMatch) { method in class:ImapList 79 return getStringOrEmpty(index).is(s); 87 * If {@code index} is out of range, returns {@link ImapElement#NONE}. 95 * If {@code index} is out of range or not a list, returns {@link ImapList#EMPTY} [all...] |
ImapString.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 30 * Class represents an IMAP "element" that is not a list. 58 // This is used only for parsing IMAP's FETCH ENVELOPE command, in which 59 // en_US-like date format is used like "01-Jan-2009 11:20:39 -0800", so this should be 79 * @return true if and only if the length of the string is larger than 0. 81 * Note: IMAP NIL is considered an empty string. See {@link ImapResponseParser 83 * On the other hand, a quoted/literal string with value NIL (i.e. "NIL" and {3}\r\nNIL) is 152 public final boolean is(String s) { method in class:ImapString
|
/packages/apps/Exchange/src/com/android/exchange/ |
EasResponse.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 43 // Why is this a 4xx instead of 3xx? Because EAS considers this a "Device misconfigured" error. 56 * If this is set, it is essentially a 403 whereby the failure was due 148 InputStream is = null; local 151 is = mEntity.getContent(); 157 is = new GZIPInputStream(is); 163 mInputStream = is; [all...] |
/packages/apps/Gallery2/jni/filters/ |
hsv.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 87 int H,X,ih,is,iv; local 108 is=(int)cs; 112 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 115 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
XmpPresets.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 62 InputStream is = null; local 65 is = context.getContentResolver().openInputStream(srcUri); 66 xmpMeta = XmpUtilHelper.extractXMPMeta(is); 70 Utils.closeSilently(is); 95 InputStream is = null; local 98 is = context.getContentResolver().openInputStream(uriToEdit); 99 xmpMeta = XmpUtilHelper.extractXMPMeta(is); 102 Utils.closeSilently(is); [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
CharMatcher.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 33 * character" is used to mean "any character {@code c} for which {@code 49 // Excludes 2000-2000a, which is handled as a range 53 // Excludes 2007, which is handled as a gap in a pair of ranges 58 * Determines whether a character is whitespace according to the latest 61 * This is not the same definition used by other Java APIs. See a comparison 73 * Determines whether a character is a breaking whitespace (that is, 86 * Determines whether a character is ASCII, meaning that its code point i 379 public static CharMatcher is(final char match) { method in class:CharMatcher [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 13 * software distributed under the License is distributed on an * 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * 54 QuotedPrintableInputStream is = new QuotedPrintableInputStream( local 58 while ((b = is.read()) != -1) { 83 Base64InputStream is = new Base64InputStream( local 87 while ((b = is.read()) != -1) { 148 * =?charset?enc?Encoded word?= where enc is either 'Q' or 'q' for 216 // return null on error. Begin is index of '=?' in body.
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/ |
ImapList.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 67 * Return true if the element at {@code index} exists, is string, and equals to {@code s}. 70 public final boolean is(int index, String s) { method in class:ImapList 71 return is(index, s, false); 75 * Same as {@link #is(int, String)}, but does the prefix match if {@code prefixMatch}. 77 public final boolean is(int index, String s, boolean prefixMatch) { method in class:ImapList 79 return getStringOrEmpty(index).is(s); 87 * If {@code index} is out of range, returns {@link ImapElement#NONE}. 95 * If {@code index} is out of range or not a list, returns {@link ImapList#EMPTY} [all...] |
ImapString.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 29 * Class represents an IMAP "element" that is not a list. 57 // This is used only for parsing IMAP's FETCH ENVELOPE command, in which 58 // en_US-like date format is used like "01-Jan-2009 11:20:39 -0800", so this should be 78 * @return true if and only if the length of the string is larger than 0. 80 * Note: IMAP NIL is considered an empty string. See {@link ImapResponseParser 82 * On the other hand, a quoted/literal string with value NIL (i.e. "NIL" and {3}\r\nNIL) is 151 public final boolean is(String s) { method in class:ImapString
|
/packages/services/Telephony/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 13 * software distributed under the License is distributed on an * 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * 54 QuotedPrintableInputStream is = new QuotedPrintableInputStream( local 58 while ((b = is.read()) != -1) { 83 Base64InputStream is = new Base64InputStream( local 87 while ((b = is.read()) != -1) { 148 * =?charset?enc?Encoded word?= where enc is either 'Q' or 'q' for 216 // return null on error. Begin is index of '=?' in body.
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_ctype.h | 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 15 * modified is included with the above copyright notice. 18 // WARNING: This is an internal header file, included by other C++ 78 bool is(mask __m, char __c) const function in class:ctype 81 const char* is(const char* __low, const char* __high, mask* __vec) const { function in class:ctype 183 bool is(mask __m, wchar_t __c) cons function in class:ctype 186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype [all...] |
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_ctype.h | 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 15 * modified is included with the above copyright notice. 18 // WARNING: This is an internal header file, included by other C++ 78 bool is(mask __m, char __c) const function in class:ctype 81 const char* is(const char* __low, const char* __high, mask* __vec) const { function in class:ctype 183 bool is(mask __m, wchar_t __c) cons function in class:ctype 186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype [all...] |
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_ctype.h | 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 15 * modified is included with the above copyright notice. 18 // WARNING: This is an internal header file, included by other C++ 78 bool is(mask __m, char __c) const function in class:ctype 81 const char* is(const char* __low, const char* __high, mask* __vec) const { function in class:ctype 183 bool is(mask __m, wchar_t __c) cons function in class:ctype 186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype [all...] |
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_ctype.h | 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 15 * modified is included with the above copyright notice. 18 // WARNING: This is an internal header file, included by other C++ 78 bool is(mask __m, char __c) const function in class:ctype 81 const char* is(const char* __low, const char* __high, mask* __vec) const { function in class:ctype 183 bool is(mask __m, wchar_t __c) cons function in class:ctype 186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype [all...] |
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
_ctype.h | 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 15 * modified is included with the above copyright notice. 18 // WARNING: This is an internal header file, included by other C++ 78 bool is(mask __m, char __c) const function in class:ctype 81 const char* is(const char* __low, const char* __high, mask* __vec) const { function in class:ctype 183 bool is(mask __m, wchar_t __c) cons function in class:ctype 186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Socket.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 54 if (DEBUG) Log.d(TAG, "Socket is constructed for " + mChannelName); 60 * @return true if socket is connected, or false if socket is not connected. 87 * @param data Data to send. Data size is defined by the length of the 97 // Same technique is used everywhere in this class where mSocket member 98 // is touched. 133 final InputStream is = socket.getInputStream(); local 136 final int chunk = is.read(data, received, len - received) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
CreateFileChange.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 84 InputStream is = null; local 96 is = supplier.getInput(); 97 file.create(is, false, new SubProgressMonitor(pm, 1)); 102 Closeables.closeQuietly(is);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
CAInstallNotificationVerifierActivity.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 209 InputStream is = null; local 213 is = getAssets().open(CERT_ASSET_NAME); 217 while ((length = is.read(buffer)) > 0) { 221 if (is != null) is.close();
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
MyDocumentsProvider.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 244 final InputStream is = new ParcelFileDescriptor.AutoCloseInputStream( local 246 doc.contents = readFullyNoClose(is); 247 is.close();
|