/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
istream.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 25 f(std::basic_istream<CharT>& is) 28 return is; 34 std::istream is((std::streambuf*)0); 35 is >> f;
|
signed_char.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 46 std::istream is(&sb); 48 is >> c; 49 assert( is.eof()); 50 assert( is.fail()); 55 std::istream is(&sb); 57 is >> c; 58 assert(!is.eof()); 59 assert(!is.fail()); 61 is >> c [all...] |
unsigned_char.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 46 std::istream is(&sb); 48 is >> c; 49 assert( is.eof()); 50 assert( is.fail()); 55 std::istream is(&sb); 57 is >> c; 58 assert(!is.eof()); 59 assert(!is.fail()); 61 is >> c [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/thread/ |
macro.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 19 #error __STDCPP_THREADS__ is not defined
|
/ndk/tests/build/issue41770-_GLIBCXX_HAS_GTHREADS/jni/ |
issue41770-_GLIBCXX_HAS_GTHREADS.cpp | 6 #error _GLIBCXX_HAS_GTHREADS is not defined
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/input.streams/istream.unformatted/ |
readsome.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 45 std::istream is(&sb); 47 assert(is.readsome(s, 5) == 5); 48 assert(!is.eof()); 49 assert(!is.fail()); 51 assert(is.gcount() == 5); 52 is.readsome(s, 5); 53 assert(!is.eof()); 54 assert(!is.fail()); 56 assert(is.gcount() == 5) [all...] |
getline_pointer_size.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 45 std::istream is(&sb); 47 is.getline(s, 5); 48 assert(!is.eof()); 49 assert(!is.fail()); 51 assert(is.gcount() == 3); 52 is.getline(s, 5); 53 assert(!is.eof()); 54 assert(!is.fail()); 56 assert(is.gcount() == 5) [all...] |
getline_pointer_size_chart.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 45 std::istream is(&sb); 47 is.getline(s, 5, '*'); 48 assert(!is.eof()); 49 assert(!is.fail()); 51 assert(is.gcount() == 3); 52 is.getline(s, 5, '*'); 53 assert(!is.eof()); 54 assert(!is.fail()); 56 assert(is.gcount() == 5) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldObjectInputOutputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 30 private ObjectInputStream is; field in class:OldObjectInputOutputStreamTest 42 is.readBoolean()); 45 is.readBoolean(); 51 is.close(); 53 is.readBoolean(); 66 (byte) 127, is.readByte()); 69 is.readByte(); 75 is.close() [all...] |
OldFilterInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 30 public MyFilterInputStream(java.io.InputStream is) { 31 super(is); 37 private FilterInputStream is; field in class:OldFilterInputStreamTest 52 is.close(); 62 testLength, is.available()); 64 is.close(); 66 is.available(); 74 is.close() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/ |
bool.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
double.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
float.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
int.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
long.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
long_double.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
long_long.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
pointer.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
short.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
unsigned_int.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
unsigned_long.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
unsigned_long_long.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
unsigned_short.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 47 std::istream is((std::streambuf*)0); 49 is >> n; 50 assert(is.fail()); 54 std::istream is(&sb); 56 is >> n; 58 assert( is.eof()); 59 assert(!is.fail()); 63 std::istream is(&sb); 65 is >> n [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3cyclicdfa.c | 6 * Any state that has a semantic predicate edge is special; those states 8 * which is generated by cyclicDFA template. 34 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 79 antlr3dfapredict (void * ctx, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA cdfa) 86 mark = is->mark(is); /* Store where we are right now */ 99 s = cdfa->specialStateTransition(ctx, rec, is, cdfa, specialState); 112 is->rewind(is, mark) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ByteArrayInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 27 private InputStream is; field in class:ByteArrayInputStreamTest 77 assertTrue("Returned incorrect number of available bytes", is 85 is.read(); 86 is.close(); 87 is.read(); // Should be able to read from a closed stream 96 is.skip(3000); 97 is.mark(1000); 98 is.read(buf1, 0, buf1.length) [all...] |