/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
X509Certificate2Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 39 InputStream is = Support_Resources local 44 .generateCertificate(is); 54 // check that it is an encoded as a OCTET STRING 72 // extension value is empty sequence
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncSystemProperty.java | 13 * distributed under the License is distributed on an "AS IS" BASIS, 65 // property argument is to be looked for. 101 //if secure procession is enabled only handle required properties do not not map any valid system property 129 //if secure procession is enabled only handle required properties do not not map any valid system property 183 InputStream is = ss.getResourceAsStream(ObjectFactory.findClassLoader(), local 187 BufferedInputStream bis = new BufferedInputStream(is);
|
/external/deqp/framework/common/ |
tcuEither.hpp | 16 * distributed under the License is distributed on an "AS IS" BASIS, 23 * \brief Template class that is either type of First or Second. 63 bool is (void) const; 114 struct Is; 117 struct Is<First, First, Second> 119 static bool is (const Either<First, Second>& either) function in struct:tcu::EitherDetail::Is 126 struct Is<Second, First, Second> 128 static bool is (const Either<First, Second>& either) function in struct:tcu::EitherDetail::Is 135 bool is (const Either<First, Second>& either function in namespace:tcu::EitherDetail 259 bool Either<First, Second>::is (void) const function in class:tcu::Either [all...] |
/external/eigen/bench/btl/data/ |
mean.cxx | 7 // This program is free software; you can redistribute it and/or 12 // This program is distributed in the hope that it will be useful, 120 multiset<Lib_Mean>::iterator is = s_lib_mean.begin(); local 121 Lib_Mean best(*is); 124 for (is=s_lib_mean.begin(); is!=s_lib_mean.end() ; is++){ 127 cout << " <TD> " << is->_lib_name << " </TD>" << endl ; 128 cout << " <TD> " << is->_mean_in_cache << " </TD>" << endl ; 129 cout << " <TD> " << 100*(is->_mean_in_cache/best._mean_in_cache) << " </TD>" << endl [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/ |
ResourceReader.java | 23 * resource data is loaded through the class loader, so it will 27 * resource is opened by constructing a <code>ResourceReader</code> 28 * object the encoding is specified. 40 * object is initialized. Has the special value 0 after initialization 41 * but before the first line is read. 51 * an exception is thrown 53 * <code>encoding</code> is not supported by the JDK. 76 * an exception is thrown 78 * <code>encoding</code> is not supported by the JDK. 92 * @param is the input stream of the resourc 239 InputStream is = ICUData.getStream(root, resourceName); local [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
JarResource.java | 9 // The Eclipse Public License is available at 12 // The Apache License v2.0 is available at 127 InputStream is = url.openStream(); typedefs 128 return is; 156 InputStream is = jarFileURL.openConnection().getInputStream(); 157 JarInputStream jin = new JarInputStream(is); 165 // is the subentry really a dir? 169 //if there is a particular subEntry that we are looking for, only 173 //if it is a subdirectory we are looking for, then we 180 //the entry is [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContentProviderOperationTest.java | 4 import static org.hamcrest.CoreMatchers.is; 29 assertThat(shadowOperation.isInsert(), is(true)); method 30 assertThat(shadowOperation.isUpdate(), is(false)); method 31 assertThat(shadowOperation.isDelete(), is(false)); method 32 assertThat(shadowOperation.getValues().size(), is(2)); 34 assertThat(Integer.parseInt(shadowOperation.getValues().get("intValue").toString()), is(5)); 45 assertThat(shadowBuilder.getWithValueBackReference("my_id"), is(0)); 46 assertThat(shadowOperation.getWithValueBackReference("my_id"), is(0)); 57 assertThat(shadowOperation.isInsert(), is(false)); method 58 assertThat(shadowOperation.isUpdate(), is(true)) method 59 assertThat(shadowOperation.isDelete(), is(false)); method 71 assertThat(shadowOperation.isInsert(), is(false)); method 72 assertThat(shadowOperation.isUpdate(), is(false)); method 73 assertThat(shadowOperation.isDelete(), is(true)); method [all...] |
CookieManagerTest.java | 8 import static org.hamcrest.CoreMatchers.is; 17 assertThat( CookieManager.getInstance(), is(CookieManager.getInstance())); 26 assertThat(cookieManager.getCookie(url), is(value)); method 40 assertThat(cookieManager.getCookie("http://www.google.com"), is(value1)); method 41 assertThat(cookieManager.getCookie(url2), is(value2)); method
|
ImageViewTest.java | 21 import static org.hamcrest.CoreMatchers.is; 99 assertThat(shadowOf(imageView.getDrawable()).getLoadedFromResourceId(), is(R.drawable.rainbow)); method
|
TabSpecTest.java | 18 import static org.hamcrest.core.Is.is; 36 assertThat(self, is(spec)); 37 assertThat(shadowOf(spec).getIndicatorAsView(), is(view)); method 45 assertThat(self, is(spec)); 46 assertThat(shadowOf(spec).getContentAsIntent(), is(intent)); method 56 assertThat(shadowOf(spec).getIndicatorLabel(), is("labelText")); 57 assertThat(shadowOf(spec).getText(), is("labelText")); 64 assertThat(shadowOf(spec).getIndicatorLabel(), is("labelText")); 65 assertThat(shadowOf(spec).getText(), is("labelText")) 66 assertThat(shadowOf(spec).getIndicatorIcon(), is(icon1)); method [all...] |
VibratorTest.java | 5 import static org.hamcrest.CoreMatchers.is; 33 assertThat(shadowVibrator.isVibrating(), is(true)); method 42 assertThat(shadowVibrator.isVibrating(), is(true)); method 50 assertThat(shadowVibrator.isVibrating(), is(true)); method 51 assertThat(shadowVibrator.isCancelled(), is(false)); method 54 assertThat(shadowVibrator.isVibrating(), is(false)); method 55 assertThat(shadowVibrator.isCancelled(), is(true)); method
|
/external/sfntly/cpp/src/test/ |
name_editing_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 73 MemoryInputStream is; local 74 is.Attach(os.Get(), os.Size()); 76 factory->LoadFonts(&is, &font_array); 122 MemoryInputStream is; local 123 is.Attach(os.Get(), os.Size()); 125 factory->LoadFonts(&is, &font_array); 168 MemoryInputStream is; local 169 is.Attach(os.Get(), os.Size()) [all...] |
serialization_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 47 MemoryInputStream is; local 48 is.Attach(os.Get(), os.Size()); 49 factory3->LoadFonts(&is, &new_font_array); 113 MemoryInputStream is; local 114 is.Attach(os.Get(), os.Size()); 115 factory3->LoadFonts(&is, &new_font_array);
|
/external/valgrind/coregrind/m_demangle/ |
safe-ctype.c | 7 This file is part of the libiberty library. 8 Libiberty is free software; you can redistribute it and/or 13 Libiberty is distributed in the hope that it will be useful, 29 It is defined by @file{safe-ctype.h}, and will be an integer constant 34 The host character set is unknown - that is, not one of the next two 38 The host character set is ASCII. 41 The host character set is some variant of EBCDIC. (Only one of the 42 nineteen EBCDIC varying characters is tested; exercise caution.) 88 Note that, if the host character set is ASCII or a superset thereof 136 #define is macro [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
ManifestDigestTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 38 InputStream is = new InputStream() { local 46 ManifestDigest.fromInputStream(is)); 50 InputStream is = new ByteArrayInputStream(MESSAGE_1); local 55 ManifestDigest actual = ManifestDigest.fromInputStream(is); 63 InputStream is = new ByteArrayInputStream(MESSAGE_1); local 65 ManifestDigest digest = ManifestDigest.fromInputStream(is);
|
/frameworks/base/libs/hwui/utils/ |
SortedListImpl.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 88 const size_t is = itemSize(); local 91 ssize_t err = add(reinterpret_cast<const char*> (buffer) + i * is);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
PropertyNodesVerifier.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 56 public void verify(InputStream is, int vcardType) throws IOException, VCardException { 58 verify(is, vcardType, parser); 61 public void verify(InputStream is, int vcardType, final VCardParser parser) 65 parser.parse(is); 67 if (is != null) { 69 is.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
BufferedInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 87 private BufferedInputStream is; field in class:BufferedInputStreamTest 120 is = new BufferedInputStream(isBytes, bufferSize); 122 is.read(); 128 is.skip(bufferSize - 2); 129 is.read(); 131 // is.read should now throw an exception because it will have to 133 is.read(); 150 MockBufferedInputStream(InputStream is) throws IOException [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
RuntimeTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 30 InputStream is; field in class:RuntimeTest
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
ZipFileTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 210 assertEquals("incorrect contents", "This is also text", new String(buf, 255 InputStream is = null; local 258 is = zfile.getInputStream(zentry); 261 is.read(rbuf, 0, r = (int) zentry.getSize()); 262 assertEquals("getInputStream read incorrect data", "This is text", 268 is.close(); 277 is = zfile.getInputStream(zentry); 315 InputStream is = zfile.getInputStream(zentry) local 361 InputStream is = zfile.getInputStream(zentry); local 406 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
IdentityScopeTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 49 IdentityScope is; field in class:IdentityScopeTest 69 is = new IdentityScopeStub("Aleksei Semenov"); 70 assertNotNull(is); 71 assertEquals("Aleksei Semenov", is.getName()); 79 is = new IdentityScopeStub("Aleksei Semenov", scope); 80 assertNotNull(is); 81 assertEquals("Aleksei Semenov", is.getName()); 82 assertEquals(scope.getName(), is.getScope().getName()) [all...] |
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
Util.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 48 ObjectInputStream is = local 50 return (T) is.readObject();
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
WbxmlResponseLogger.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 // Not going to bother if there is a lot of content since most of that information 59 protected static byte[] getContentAsByteArray(InputStream is, int batchSize) 65 while ((count = is.read(data, 0, data.length)) != -1) { 87 // We need to figure out the encoding in the case that it is gzip and we need to 92 final InputStream is; local 96 is = new GZIPInputStream(unwrappedIs); 98 is = response.getEntity().getContent(); 101 final byte currentXMLBytes[] = getContentAsByteArray(is, MAX_LENGTH) [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
StockSource.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 84 InputStream is = null; local 88 is = mResources.openRawResource(PHOTOS[idx]); 91 is = null; 94 return is;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
GLArrowSensorTestRenderer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 137 InputStream is = mContext.getResources().openRawResource(R.raw.sns_texture); local 140 bitmap = BitmapFactory.decodeStream(is); 143 is.close(); 197 * arrays must be length 3 or more, and out is overwritten.
|