Home | History | Annotate | Download | only in jsontestrunner

Lines Matching defs:file

4 // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
46 FILE *file = fopen( path, "rb" );
47 if ( !file )
49 fseek( file, 0, SEEK_END );
50 long size = ftell( file );
51 fseek( file, 0, SEEK_SET );
55 if ( fread( buffer, 1, size, file ) == (unsigned long)size )
57 fclose( file );
63 printValueTree( FILE *fout, Json::Value &value, const std::string &path = "." )
130 printf( "Failed to parse %s file: \n%s\n",
138 FILE *factual = fopen( actual.c_str(), "wt" );
141 printf( "Failed to create %s actual file.\n", kind.c_str() );
160 FILE *fout = fopen( rewritePath.c_str(), "wt" );
163 printf( "Failed to create rewrite file: %s\n", rewritePath.c_str() );
200 printf( "Usage: %s [--strict] input-json-file", argv[0] );