#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include "BufStream.H"
#include "Basics.H"
#include <iostream>
#include <iomanip>
#include <sstream>
Go to the source code of this file.
Functions | |
ostream & | operator<< (ostream &s, const LongId &longid) |
ostream & | PutQuotedString (ostream &s, const char *string) |
string | random_arc () |
void | print_stream_state (unsigned int state) |
void | print_state_if_not_good (const ios &stream, const char *name, const char *marker) |
void | format_time (LongId longid, time_t timestamp, std::ostream &out) |
void | format_del (LongId longid, time_t timestamp, string &arc, std::ostream &out) |
void | format_insf (LongId longid, time_t timestamp, string &arc, unsigned int sid, bool mast, std::ostream &out) |
void | format_insu (LongId longid, time_t timestamp, string &arc, unsigned int sid, bool mast, std::ostream &out) |
void | output_tests () |
void | input_tests () |
void | io_tests () |
int | main (int argc, char *argv[]) |
|
Definition at line 216 of file TestBufStream.C. References PutQuotedString(). Referenced by output_tests(). |
|
Definition at line 224 of file TestBufStream.C. References PutQuotedString(). Referenced by output_tests(). |
|
Definition at line 243 of file TestBufStream.C. References PutQuotedString(). Referenced by output_tests(). |
|
Definition at line 210 of file TestBufStream.C. Referenced by output_tests(). |
|
Definition at line 418 of file TestBufStream.C. References Basics::ntoh16(), and Basics::ntoh32(). Referenced by main(). |
|
Definition at line 508 of file TestBufStream.C. References test(). Referenced by main(). |
|
Definition at line 541 of file TestBufStream.C. References input_tests(), io_tests(), and output_tests(). |
|
Definition at line 108 of file TestBufStream.C. References LongId::length(), and LongId::value. |
|
Definition at line 255 of file TestBufStream.C. References format_del(), format_insf(), format_insu(), format_time(), print_state_if_not_good(), random_arc(), and Basics::OBufStream::str(). Referenced by main(). |
|
Definition at line 197 of file TestBufStream.C. References print_stream_state(). |
|
Definition at line 164 of file TestBufStream.C. |
|
|
Definition at line 135 of file TestBufStream.C. Referenced by output_tests(). |