Home | History | Annotate | Download | only in kati

Lines Matching defs:fp

87       FILE* fp = fopen(GetNinjaStampFilename().c_str(), "rb+");
88 if (!fp)
90 ScopedFile sfp(fp);
91 if (fseek(fp, 0, SEEK_SET) < 0)
93 size_t r = fwrite(&start_time, sizeof(start_time), 1, fp);
115 #define LOAD_INT(fp) ({ \
116 int v = LoadInt(fp); \
124 #define LOAD_STRING(fp, s) ({ \
125 if (!LoadString(fp, s)) { \
132 FILE* fp = fopen(stamp_filename.c_str(), "rb");
133 if (!fp) {
138 ScopedFile sfp(fp);
141 size_t r = fread(&gen_time, sizeof(gen_time), 1, fp);
151 int num_files = LOAD_INT(fp);
153 LOAD_STRING(fp, &s);
179 int num_undefineds = LOAD_INT(fp);
181 LOAD_STRING(fp, &s);
195 int num_envs = LOAD_INT(fp);
197 LOAD_STRING(fp, &s);
199 LOAD_STRING(fp, &s2);
215 int num_globs = LOAD_INT(fp);
221 LOAD_STRING(fp, &gr->pat);
222 int num_files = LOAD_INT(fp);
225 LOAD_STRING(fp, &gr->result[j]);
229 int num_crs = LOAD_INT(fp);
233 LOAD_STRING(fp, &sr->cmd);
234 LOAD_STRING(fp, &sr->result);
235 sr->has_condition = LOAD_INT(fp);
239 int num_missing_dirs = LOAD_INT(fp);
241 LOAD_STRING(fp, &s);
244 int num_read_dirs = LOAD_INT(fp);
246 LOAD_STRING(fp, &s);
251 LoadString(fp, &s);