/external/chromium_org/third_party/sfntly/cpp/src/test/ |
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/droiddriver/src/com/google/android/droiddriver/finders/ |
By.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 89 public static ByAttribute<Boolean> is(Attribute attribute) { method in class:By 163 * @param clazz The class whose name is matched against 171 * @return a finder to find an element that is selected 174 return is(Attribute.SELECTED); 181 * XPath is the domain-specific-language for navigating a node tree. It is 185 * {@link #allOf}. For complex cases like below, XPath is superior: 233 * @return a finder that is the logical conjunction of given finder [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/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/main/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/base/packages/DocumentsUI/src/com/android/documentsui/ |
TestActivity.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 223 InputStream is = null; local 225 is = getContentResolver().openInputStream(uri); 226 final int length = Streams.readFullyNoClose(is).length; 232 IoUtils.closeQuietly(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/luni/src/main/java/libcore/net/url/ |
FileURLConnection.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 36 * This class is responsible for connecting, getting content and input stream of 43 private InputStream is; field in class:FileURLConnection 55 * @param url The URL this connection is connected to 68 * by this <code>URL</code>. If the file is a directory, it will return 79 is = getDirectoryListing(f); 82 is = new BufferedInputStream(new FileInputStream(f)); 103 // default is -1 132 result = guessContentTypeFromStream(is); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipFileTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 39 public byte[] getAllBytesFromStream(InputStream is) throws IOException { 44 while (is.available() > 0) { 45 iRead = is.read(buf, 0, buf.length); 252 assertEquals("incorrect contents", "This is also text", new String(buf, 297 InputStream is = null; local 300 is = zfile.getInputStream(zentry); 303 is.read(rbuf, 0, r = (int) zentry.getSize()); 304 assertEquals("getInputStream read incorrect data", "This is text" 357 InputStream is = zfile.getInputStream(zentry); local 403 InputStream is = zfile.getInputStream(zentry); local 463 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...] |
/libcore/luni/src/test/java/tests/api/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();
|
/packages/apps/Calculator/src/com/android/calculator2/ |
Persist.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 52 InputStream is = new BufferedInputStream(mContext.openFileInput(FILE_NAME), 8192); local 53 DataInputStream in = new DataInputStream(is);
|
/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/ |
AccelerometerTestRenderer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 167 * pseudovector in out. All arrays must be length 3 or more, and out is 304 InputStream is = mContext.getResources().openRawResource(R.raw.sns_texture); local 307 bitmap = BitmapFactory.decodeStream(is); 310 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. 300 final DataInputStream is = new DataInputStream(new FileInputStream(file)); local 302 return is.readInt(); 304 is.close();
|