/packages/apps/Email/emailcommon/src/org/apache/commons/io/ |
HexDump.java | 76 int chars_read = data.length - j;
local 78 if (chars_read > 16) {
79 chars_read = 16;
83 if (k < chars_read) {
90 for (int k = 0; k < chars_read; k++) {
101 display_offset += chars_read;
|
/external/stlport/test/unit/ |
fstream_test.cpp | 387 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); local 388 CPPUNIT_CHECK( chars_read == 11 ); 390 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); 391 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); 413 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); local 414 CPPUNIT_CHECK( chars_read == 11 ); 418 // Depending on how '\n' is written in file, file position can be greater or equal to the number of chars_read read. 420 CPPUNIT_ASSERT( offset >= chars_read ); 466 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) / sizeof(wchar_t) ); local 467 CPPUNIT_CHECK( chars_read == 11 ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
fstream_test.cpp | 405 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); local 406 CPPUNIT_CHECK( chars_read == 11 ); 408 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); 409 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); 431 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); local 432 CPPUNIT_CHECK( chars_read == 11 ); 436 // Depending on how '\n' is written in file, file position can be greater or equal to the number of chars_read read. 438 CPPUNIT_ASSERT( offset >= chars_read ); 484 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) / sizeof(wchar_t) ); local 485 CPPUNIT_CHECK( chars_read == 11 ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
fstream_test.cpp | 405 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); local 406 CPPUNIT_CHECK( chars_read == 11 ); 408 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); 409 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); 431 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); local 432 CPPUNIT_CHECK( chars_read == 11 ); 436 // Depending on how '\n' is written in file, file position can be greater or equal to the number of chars_read read. 438 CPPUNIT_ASSERT( offset >= chars_read ); 484 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) / sizeof(wchar_t) ); local 485 CPPUNIT_CHECK( chars_read == 11 ) [all...] |
/external/stlport/src/ |
facets_byname.cpp | 346 size_t chars_read = _WLocale_mbtowc(_M_codecvt, local 349 if (chars_read == (size_t) -1) { 355 if (chars_read == (size_t) -2) { 361 from += chars_read; 413 size_t chars_read = _WLocale_mbtowc(_M_codecvt, local 416 if ((chars_read == (size_t) -1) || (chars_read == (size_t) -2)) // error or partial 418 __count += chars_read; 419 from += chars_read; [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
facets_byname.cpp | 346 size_t chars_read = _WLocale_mbtowc(_M_codecvt, local 349 if (chars_read == (size_t) -1) { 355 if (chars_read == (size_t) -2) { 361 from += chars_read; 413 size_t chars_read = _WLocale_mbtowc(_M_codecvt, local 416 if ((chars_read == (size_t) -1) || (chars_read == (size_t) -2)) // error or partial 418 __count += chars_read; 419 from += chars_read; [all...] |
/external/v8/src/ |
unicode.h | 122 unsigned capacity, unsigned* chars_read, unsigned* offset);
|
unicode.cc | 302 unsigned chars_read = 0; local 323 chars_read++; 326 *chars_read_ptr = chars_read; [all...] |
objects.cc | 4703 unsigned chars_read = 0; local 4852 unsigned chars_read = 0; local [all...] |