Home | History | Annotate | Download | only in utility

Lines Matching defs:fp

83     FILE *fp = fopen(filename, "rb");
84 if (!fp) {
90 yaml_parser_set_input_file(&parser, fp);
93 fclose(fp);
470 FILE *fp = fopen(filename, "rb");
471 if (!fp) {
476 if (fseek(fp, 0, SEEK_END) == 0) {
477 buffer.resize(ftell(fp));
478 rewind(fp);
482 if(fread(&buffer[0], buffer.size(), 1, fp) != 1) {
490 fclose(fp);
619 FILE *fp = fopen(filename, "wb");
620 if (!fp) {
625 int r = fwrite(bmpblock_.c_str(), bmpblock_.size(), 1, fp);
626 fclose(fp);