Lines Matching refs:fp
80 FILE* fp = fopen("big.json", "rb"); // non-Windows use "r"
83 FileReadStream is(fp, readBuffer, sizeof(readBuffer));
88 fclose(fp);
109 FILE* fp = fopen("output.json", "wb"); // non-Windows use "w"
112 FileWriteStream os(fp, writeBuffer, sizeof(writeBuffer));
117 fclose(fp);
146 FILE* fp = fopen("utf16le.json", "rb"); // non-Windows use "r"
149 FileReadStream bis(fp, readBuffer, sizeof(readBuffer));
156 fclose(fp);
171 FILE* fp = fopen("output_utf32le.json", "wb"); // non-Windows use "w"
174 FileWriteStream bos(fp, writeBuffer, sizeof(writeBuffer));
182 fclose(fp);
199 FILE* fp = fopen("any.json", "rb"); // non-Windows use "r"
202 FileReadStream bis(fp, readBuffer, sizeof(readBuffer));
209 fclose(fp);
223 void WriteJSONFile(FILE* fp, UTFType type, bool putBOM, const Document& d) {
225 FileWriteStream bos(fp, writeBuffer, sizeof(writeBuffer));