Home
last modified time | relevance | path

Searched refs:chars_read (Results 1 – 6 of 6) sorted by relevance

/external/stlport/test/unit/
Dfstream_test.cpp387 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); in seek() local
388 CPPUNIT_CHECK( chars_read == 11 ); in seek()
390 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) ); in seek()
391 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(0) ); in seek()
413 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) ); in seek() local
414 CPPUNIT_CHECK( chars_read == 11 ); in seek()
420 CPPUNIT_ASSERT( offset >= chars_read ); in seek()
466 int chars_read = (int)s.rdbuf()->sgetn( b1, sizeof(b1) / sizeof(wchar_t) ); in seek() local
467 CPPUNIT_CHECK( chars_read == 11 ); in seek()
473 CPPUNIT_ASSERT( off >= chars_read ); in seek()
/external/stlport/src/
Dfacets_byname.cpp346 size_t chars_read = _WLocale_mbtowc(_M_codecvt, in do_in() local
349 if (chars_read == (size_t) -1) { in do_in()
355 if (chars_read == (size_t) -2) { in do_in()
361 from += chars_read; in do_in()
413 size_t chars_read = _WLocale_mbtowc(_M_codecvt, in do_length() local
416 if ((chars_read == (size_t) -1) || (chars_read == (size_t) -2)) // error or partial in do_length()
418 __count += chars_read; in do_length()
419 from += chars_read; in do_length()
/external/v8/src/
Dscanner.cc1042 uc32 chars_read[6] = {'\\', 'u', 0, 0, 0, 0}; in ScanLiteralUnicodeEscape() local
1050 chars_read[i] = c0_; in ScanLiteralUnicodeEscape()
1058 PushBack(chars_read[i]); in ScanLiteralUnicodeEscape()
1064 AddLiteralChar(chars_read[i]); in ScanLiteralUnicodeEscape()
Dunicode.h158 unsigned capacity, unsigned* chars_read, unsigned* offset);
Dunicode.cc303 unsigned chars_read = 0; in ReadBlock() local
324 chars_read++; in ReadBlock()
327 *chars_read_ptr = chars_read; in ReadBlock()
Dobjects.cc6152 unsigned chars_read = 0; in SeqTwoByteStringReadBlockIntoBuffer() local
6154 while (chars_read < max_chars) { in SeqTwoByteStringReadBlockIntoBuffer()
6175 chars_read++; in SeqTwoByteStringReadBlockIntoBuffer()
6178 rbb->remaining += chars_read; in SeqTwoByteStringReadBlockIntoBuffer()
6283 unsigned chars_read = 0; in ExternalTwoByteStringReadBlockIntoBuffer() local
6286 while (chars_read < max_chars) { in ExternalTwoByteStringReadBlockIntoBuffer()
6303 chars_read++; in ExternalTwoByteStringReadBlockIntoBuffer()
6306 rbb->remaining += chars_read; in ExternalTwoByteStringReadBlockIntoBuffer()