/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
io.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 22 // operator>>(basic_istream<charT, traits>& is, 36 std::istringstream is(os.str()); 38 is >> d2;
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
io.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 22 // operator>>(basic_istream<charT, traits>& is, 36 std::istringstream is(os.str()); 38 is >> d2;
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.eng/rand.eng.lcong/ |
io.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 24 // operator>>(basic_istream<charT, traits>& is, 39 std::istringstream is(os.str()); 41 is >> e2;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
asoundlib.h | 1 #warning This header is deprecated, use <alsa/asoundlib.h> instead.
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
asoundlib.h | 1 #warning This header is deprecated, use <alsa/asoundlib.h> instead.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
asoundlib.h | 1 #warning This header is deprecated, use <alsa/asoundlib.h> instead.
|
/external/hamcrest/src/org/hamcrest/core/ |
Is.java | 15 * vs assertThat(cheese, is(equalTo(smelly))) 17 public class Is<T> extends BaseMatcher<T> { 21 public Is(Matcher<T> matcher) { 30 description.appendText("is ").appendDescriptionOf(matcher); 38 * vs assertThat(cheese, is(equalTo(smelly))) 41 public static <T> Matcher<T> is(Matcher<T> matcher) { method in class:Is 42 return new Is<T>(matcher); 46 * This is a shortcut to the frequently used is(equalTo(x)). 48 * eg. assertThat(cheese, is(equalTo(smelly)) 52 public static <T> Matcher<T> is(T value) { method in class:Is 63 public static Matcher<Object> is(Class<?> type) { method in class:Is [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/ext.manip/ |
get_time.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 43 std::istream is(&sb); 44 is.imbue(std::locale(LOCALE_en_US_UTF_8)); 46 is >> std::get_time(&t, "%c"); 54 assert(is.eof()); 55 assert(!is.fail()); 59 std::wistream is(&sb); 60 is.imbue(std::locale(LOCALE_en_US_UTF_8)); 62 is >> std::get_time(&t, L"%c"); 70 assert(is.eof()) [all...] |
/dalvik/tests/023-many-interfaces/src/ |
ManyInterfaces.java | 44 ('*' is with dx optimizations enabled) 346 boolean is; 347 is = obj instanceof Interface001; 348 is = obj instanceof Interface001; 349 is = obj instanceof Interface001; 350 is = obj instanceof Interface001; 351 is = obj instanceof Interface001; 352 is = obj instanceof Interface001; 353 is = obj instanceof Interface001; 354 is = obj instanceof Interface001 [all...] |
/external/apache-harmony/archive/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, 34 public byte[] getAllBytesFromStream(InputStream is) throws IOException { 39 while (is.available() > 0) { 40 iRead = is.read(buf, 0, buf.length); 211 "This is also text", new String(buf, 0, r, "UTF-8")); 233 java.io.InputStream is = null; local 236 is = zfile.getInputStream(zentry); 239 is.read(rbuf, 0, r = (int) zentry.getSize()); 240 assertEquals("getInputStream read incorrect data", "This is text", new String(rbuf 275 InputStream is = zfile.getInputStream(zentry); local 321 InputStream is = zfile.getInputStream(zentry); local 381 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); local [all...] |
/external/webkit/LayoutTests/fast/dom/Node/script-tests/ |
normalize-with-cdata.js | 8 'This is some text before the CDATA' + 9 '<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>' + 10 'This is some text after the CDATA' + 15 shouldBe('serializer.serializeToString(xmlChunk)', '"<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</foo>"'); 19 shouldBe('serializer.serializeToString(xmlChunk)', '"<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</foo>"');
|
/cts/tests/tests/content/src/android/content/res/cts/ |
RawResourceTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 38 final InputStream is = mResources.openRawResource(R.raw.text); local 39 verifyTextAsset(is); 42 static void verifyTextAsset(final InputStream is) throws IOException { 48 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 58 readCount = is.read(buffer, 0, buffer.length); 62 readCount = is.read(buffer, buffer.length, 0); 66 is.close();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
RawResourceLoaderTest.java | 33 InputStream is = rawResourceLoader.getValue(R.raw.raw_resource); local 34 assertEquals("raw txt file contents", readString(is)); 39 InputStream is = rawResourceLoader.getValue(R.raw.raw_no_ext); local 40 assertEquals("no ext file contents", readString(is)); 43 private static String readString(InputStream is) throws IOException { 47 Reader reader = new BufferedReader(new InputStreamReader(is, "UTF-8")); 53 is.close();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PasswordTransformationMethodTest.java | 9 import static org.hamcrest.CoreMatchers.is; 25 assertThat(output.toString(), is("\u2022\u2022\u2022\u2022\u2022\u2022")); //using the escaped characters for cross platform compatibility. 31 assertThat(output.toString(), is("\u2022\u2022\u2022\u2022\u2022")); 37 assertThat(output.toString(), is("\u2022\u2022\u2022\u2022")); 43 assertThat(output.toString(), is("")); 49 assertThat(output.toString(), is("")); 54 assertThat(ShadowPasswordTransformationMethod.getInstance(), is(CoreMatchers.<Object>notNullValue()));
|
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
|
ColorTest.java | 3 import static org.hamcrest.CoreMatchers.is; 18 assertThat(color, is(-6250336)); 24 assertThat(color, is(1688248480));
|
/frameworks/base/core/tests/coretests/src/android/content/ |
AssetTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 35 public static void verifyTextAsset(InputStream is) throws IOException { 41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 51 readCount = is.read(buffer, 0, buffer.length); 55 readCount = is.read(buffer, buffer.length, 0); 59 is.close(); 64 InputStream is = mAssets.open("text.txt"); local 65 verifyTextAsset(is);
|
/frameworks/base/graphics/java/android/graphics/ |
Movie.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 45 public static native Movie decodeStream(InputStream is); 52 InputStream is; local 54 is = new FileInputStream(pathName); 59 return decodeTempStream(is); 71 private static Movie decodeTempStream(InputStream is) { 74 moov = decodeStream(is); 75 is.close(); 80 If it happened on close, moov is still valid [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
BitSet.pm | 25 is "$bs", '{2}'; 32 is "$bs", '{4}'; 39 is "$bs", '{0,38,87,124}'; 46 is "$bs", '{16}' ; 52 is "$bs", '{}'; 60 is "$bs", '{2,7}'; 68 is "$bs", '{3,12}'; 70 is "$bs", '{12}'; 77 is "$bs", '{4,5}';
|
Exception.pm | 12 is $ex->message, ''; 18 is $ex->message, 'test error message'; 27 is $ex->message, 'test error message';
|
/external/clang/lib/Parse/ |
ParseTentative.cpp | 5 // This file is distributed under the University of Illinois Open Source 71 /// If during the disambiguation process a parsing error is encountered, 73 /// Returns false if the statement is disambiguated as expression. 84 // There is an ambiguity in the grammar involving expression-statements and 88 // cases the statement is a declaration. [Note: To disambiguate, the whole 89 // statement might have to be examined to determine if it is an 93 // The disambiguation is purely syntactic; that is, the meaning of the names 95 // is not generally used in or changed by the disambiguation. Class 97 // is a type-name. Disambiguation precedes parsing, and a statemen [all...] |
/external/clang/include/clang/AST/ |
CommentLexer.h | 5 // This file is distributed under the University of Illinois Open Source 75 /// If the token is a konwn command, contains command ID and TextPtr is 93 bool is(tok::TokenKind K) const LLVM_READONLY { return Kind == K; } 100 assert(is(tok::text)); 105 assert(is(tok::text)); 111 assert(is(tok::unknown_command)); 116 assert(is(tok::unknown_command)); 122 assert(is(tok::backslash_command) || is(tok::at_command)) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
MacAuthenticatedInputStreamTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 73 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); local 75 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); 77 assertTrue(is.isTagEqual(TEST_STRING_1_MAC)); 84 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); local 86 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); 88 assertFalse(is.isTagEqual(TEST_STRING_1_MAC_BROKEN)); 95 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); local 97 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); 106 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
Exif.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 30 public static int getOrientation(InputStream is) { 31 if (is == null) { 36 exif.readExif(is);
|
/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...] |