| 679 | } |
| 680 | |
| 681 | char* string::buf_end() |
| 682 | { |
| 683 | if (scan_ptr_ == NIL) { |
| 684 | scan_ptr_ = STR(vbf_); |
| 685 | } |
| 686 | char *pEnd = acl_vstring_end(vbf_); |
| 687 | if (scan_ptr_ >= pEnd) { |
| 688 | if (!empty()) { |
| 689 | clear(); |
| 690 | } |
| 691 | return NIL; |
| 692 | } |
| 693 | return pEnd; |
| 694 | } |
| 695 | |
| 696 | bool string::scan_line(string& out, bool nonl /* = true */, |
| 697 | size_t* n /* = NIL */, bool move /* = false */) |
no test coverage detected