/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory4Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 74 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer"); local 76 fact.generateCertificate(is); 80 is.close(); 94 InputStream is = certUrl.openStream(); local 95 Collection<? extends Certificate> certs = fact.generateCertificates(is); 116 InputStream is = certUrl.openStream(); local 117 CRL crl = fact.generateCRL(is); 137 InputStream is = certUrl.openStream() local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoLoadingTestCase.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 52 // Test is probably going to fail as a result anyway. 67 * The instance generated here is always configured for 256x256 regardless of the 93 InputStream is = resources.openRawResource(resourceId); local 94 byte[] content = readInputStreamFully(is); 101 protected byte[] readInputStreamFully(InputStream is) { 106 while ((count = is.read(buffer)) != -1) { 109 is.close();
|
/external/clang/test/CodeGen/ |
staticinit.c | 12 static int is[] = { 1, 2, 3, 4 }; local
|
/external/droiddriver/src/io/appium/droiddriver/finders/ |
XPaths.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 34 * @return The tag name used to build UiElement DOM. It is preferable to use 42 * @return The tag name used to build UiElement DOM. It is preferable to use 66 * @return XPath predicate (with enclosing []) for boolean attribute that is 69 public static String is(Attribute attribute) { method in class:XPaths 74 * @return XPath predicate (with enclosing []) for boolean attribute that is
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
ImageVideoBitmapDecoder.java | 18 * The {@link InputStream} data in the {@link ImageVideoWrapper} is always preferred. 36 InputStream is = source.getStream(); local 37 if (is != null) { 39 result = streamDecoder.decode(is, width, height);
|
/external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/ |
MediaTypeTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 187 assertTrue(PLAIN_TEXT_UTF_8.is(ANY_TYPE)); 188 assertTrue(JPEG.is(ANY_TYPE)); 189 assertTrue(ANY_TEXT_TYPE.is(ANY_TYPE)); 190 assertTrue(PLAIN_TEXT_UTF_8.is(ANY_TEXT_TYPE)); 191 assertTrue(PLAIN_TEXT_UTF_8.withoutParameters().is(ANY_TEXT_TYPE)); 192 assertFalse(JPEG.is(ANY_TEXT_TYPE)); 193 assertTrue(PLAIN_TEXT_UTF_8.is(PLAIN_TEXT_UTF_8)); 194 assertTrue(PLAIN_TEXT_UTF_8.is(PLAIN_TEXT_UTF_8.withoutParameters())) 197 assertFalse(PLAIN_TEXT_UTF_8.withParameter("charset", "UTF-16").is(PLAIN_TEXT_UTF_8)); method [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_screen.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a 11 * permit persons to whom the Software is furnished to do so, subject to 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 168 struct i915_screen *is = i915_screen(screen); local 218 return is->debug.lie ? 1 : 0; 372 struct i915_screen *is = i915_screen(screen); local 374 is->iws->fence_reference(is->iws, ptr, fence); 381 struct i915_screen *is = i915_screen(screen) local 391 struct i915_screen *is = i915_screen(screen); local 419 struct i915_screen *is = i915_screen(screen); local 433 struct i915_screen *is = CALLOC_STRUCT(i915_screen); local [all...] |
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/issue/ |
LoggerSerializationTest.java | 5 * Permission is hereby granted, free of charge, to any person obtaining 10 * permit persons to whom the Software is furnished to do so, subject to 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 74 InputStream is = new ByteArrayInputStream(serializedLoggerHolder); local 75 ObjectInputStream in = new ObjectInputStream(is);
|
/libcore/benchmarks/src/benchmarks/regression/ |
CipherInputStreamBenchmark.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 80 InputStream is = new CipherInputStream(new ByteArrayInputStream(DATA), cipherEncrypt); local 81 while (is.read(output) != -1) {
|
/libcore/luni/src/main/java/java/security/ |
KeyRep.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 31 * {@code KeyRep} is a standardized representation for serialized {@link Key} 61 * if {@code type, algorithm, format or encoded} is {@code null} 89 * is initialized with a {@link PKCS8EncodedKeySpec} using the encoded key 94 * generated from a key factory (suitable for the algorithm) that is 101 * if the {@code Type}|format combination is not recognized, or 146 private void readObject(ObjectInputStream is) 148 is.defaultReadObject();
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
BitmapUtils.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 54 InputStream is = null; local 58 is = context.getContentResolver().openInputStream(uri); 59 bis = new BufferedInputStream(is); 62 is = res.openRawResource(resId); 63 bis = new BufferedInputStream(is); 77 Utils.closeSilently(is);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_exitfunc.py | 40 if self.sys_import is None: namespace 52 if self.sys_import is None: namespace
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_threaded_import.py | 1 # This is a variant of the very old (early 90's) file 4 # There are no pleasant failure modes -- most likely is that Python 41 # In case this test is run again, make sure the helper module 60 raise unittest.SkipTest("can't run when import lock is held") namespace
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_exitfunc.py | 40 if self.sys_import is None: namespace 52 if self.sys_import is None: namespace
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_threaded_import.py | 1 # This is a variant of the very old (early 90's) file 4 # There are no pleasant failure modes -- most likely is that Python 41 # In case this test is run again, make sure the helper module 60 raise unittest.SkipTest("can't run when import lock is held") namespace
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 178 InputStream is = new CipherInputStream(new ByteArrayInputStream(new byte[31]), cipher); local 179 is.read(new byte[4]); 180 is.close(); 186 InputStream is = new CipherInputStream(null, cipher); local 188 is.read(); 195 is.read(buffer); 201 is.read(buffer, 0, buffer.length);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
NfcImportVCardActivity.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 94 ByteArrayInputStream is = new ByteArrayInputStream(mRecord.getPayload()); local 95 is.mark(0); 102 parser.parse(is); 104 is.reset(); 112 parser.parse(is); 118 if (is != null) is.close(); 126 Log.w(TAG, "Nested Exception is found (it may be false-positive).") [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 33 private java.io.InputStream is; field in class:FileInputStreamTest 109 is = new FileInputStream(f); 110 is.close(); 127 is = new FileInputStream(fileName); 128 is.close(); 136 is = new FileInputStream(""); 141 if (is != null) { 142 is.close() [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldInputStreamReaderTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 33 private final String source = "This is a test message with Unicode character. \u4e2d\u56fd is China's name in Chinese"; 39 private InputStreamReader is; field in class:OldInputStreamReaderTest 58 is = new InputStreamReader(fis); 64 is.close(); 170 is = new InputStreamReader(fis, "8859_1"); 176 is = new InputStreamReader(fis, "Bogus"); 186 is.close() 261 ByteArrayInputStream is = new ByteArrayInputStream(bytes); local [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
PrintWriterPrinterTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 69 InputStream is = new FileInputStream(mFile); local 71 new InputStreamReader(is));
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
AlphaBitmap.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 64 InputStream is = context.getResources().openRawResource(R.drawable.app_sample_code); local 65 mBitmap = BitmapFactory.decodeStream(is);
|
Pictures.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 75 InputStream is = new ByteArrayInputStream(os.toByteArray()); local 77 canvas.drawPicture(Picture.createFromStream(is));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
IdentityScopeTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 36 IdentityScope is; field in class:IdentityScopeTest 65 is = new IdentityScopeStub("Aleksei Semenov"); 66 assertNotNull(is); 67 assertEquals("Aleksei Semenov", is.getName()); 75 is = new IdentityScopeStub("Aleksei Semenov", scope); 76 assertNotNull(is); 77 assertEquals("Aleksei Semenov", is.getName()); 78 assertEquals(scope.getName(), is.getScope().getName()) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
X509CRL2Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 36 InputStream is = Support_Resources local 40 pemCert = (X509Certificate) certFact.generateCertificate(is); 56 // check that it is an encoded as a OCTET STRING
|
X509CRLEntry2Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 36 InputStream is = Support_Resources local 40 pemCert = (X509Certificate) certFact.generateCertificate(is); 56 // check that it is an encoded as a OCTET STRING
|