/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/android/mail/lib/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/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.
|
/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, 243 final InputStream is = new ParcelFileDescriptor.AutoCloseInputStream( local 245 doc.contents = readFullyNoClose(is); 246 is.close();
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
CommonExternalStorageTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 53 * Verify that single path is always first item in multiple. 63 * Verify that single path is always first item in multiple. 74 * Verify that single path is always first item in multiple. 332 final DataInputStream is = new DataInputStream(new FileInputStream(file)); local 334 return is.readInt(); 336 is.close();
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
GLES20TriangleRenderer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 118 * surface is created. 138 InputStream is = mContext.getResources() local 142 bitmap = BitmapFactory.decodeStream(is); 145 is.close();
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
GLES20TriangleRenderer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 116 * surface is created. 136 InputStream is = mContext.getResources() local 140 bitmap = BitmapFactory.decodeStream(is); 143 is.close();
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 140 assertTrue("Cipher provider is not the same as that " 278 InputStream is = Support_Resources.getResourceStream(resPath); local 280 int bytesRead = is.read(input, 0, 256); 286 bytesRead = is.read(input, 0, 256); 295 is.close(); 327 InputStream is = Support_Resources.getResourceStream(resPath); local 329 int bytesRead = is.read(input, 0, 256); 335 bytesRead = is.read(input, 0, 256) 353 InputStream is = Support_Resources.getResourceStream(resPath); local [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ResourceExtractor.java | 2 // Use of this source code is governed by a BSD-style license that can be 121 InputStream is = null; local 124 is = manager.open(file); 132 while ((count = is.read(buffer, 0, BUFFER_SIZE)) != -1) { 150 if (is != null) { 151 is.close(); 181 // TODO(yusufo): Figure out why remove is required here. 228 // timestamp file is already up-to date. 253 : "Must be called before startExtractingResources is called"; 260 * currently specified locale. This behavior can be changed with this function and is [all...] |
/frameworks/base/media/java/android/media/ |
MediaMetadataRetriever.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 44 // The field below is accessed by native methods 60 * @throws IllegalArgumentException If the path is invalid. 67 FileInputStream is = null; local 69 is = new FileInputStream(path); 70 FileDescriptor fd = is.getFD(); 79 if (is != null) { 80 is.close(); 92 * @throws IllegalArgumentException If the URI is invalid [all...] |
/frameworks/base/services/core/java/com/android/server/updates/ |
ConfigUpdateInstallReceiver.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 90 Slog.i(TAG, "Not installing, new version is <= current version"); 176 InputStream is = c.getContentResolver().openInputStream(content); local 178 return Streams.readFullyNoClose(is); 180 is.close(); 211 // this is an optional value- if the required field is NONE then we ignore it
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMasRequest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 100 * headers. So this is workaround, at least temporary. TODO: check 113 InputStream is = op.openInputStream(); local 114 readResponse(is); 115 is.close();
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VCardVerifier.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 49 * "Round trip test" (import -> export -> import, or export -> import -> export) is not supported. 147 AndroidTestCase.fail("addInputEntry() is called."); 149 AndroidTestCase.fail("InputStream is already set"); 159 AndroidTestCase.fail("setInputStream is called"); 238 private void verifyWithInputStream(InputStream is) throws IOException { 252 parser.parse(is); 269 InputStream is = null; local 271 is = new ByteArrayInputStream(vcard.getBytes(mCharset)) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
DataInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 159 DataInputStream is = new DataInputStream(new ByteArrayInputStream( local 165 is.readFully(byteArray, -1, -1); 172 is.readFully(byteArray, 0, -1); 179 is.readFully(byteArray, 1, -1); 185 is.readFully(byteArray, -1, 0); 186 is.readFully(byteArray, 0, 0); 187 is.readFully(byteArray, 1, 0); 190 is.readFully(byteArray, -1, 1) 210 DataInputStream is = new DataInputStream(new ByteArrayInputStream( local 273 DataInputStream is = new DataInputStream(null); local 334 DataInputStream is = new DataInputStream(null); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
JarURLConnectionTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 222 InputStream is = conn.getInputStream(); local 223 is.close(); 253 InputStream is = juc.getInputStream(); local 255 while (is.read(buf) > 0) ; 261 is = juc.getJarFileURL().openStream(); 262 while (is.read(buf) > 0) ; 308 InputStream is = url.openStream(); local 309 is.close() [all...] |