Lines Matching +defs:local +defs:file
8 * file name: gendata.cpp
79 * FIXME: should use the output file name and the current date.
91 " file name: letest.xml\n"
98 void dumpLongs(FILE *file, const char *tag, le_int32 *longs, le_int32 count) {
102 fprintf(file, " <%s>\n", tag);
106 fprintf(file, " %s\n", lineBuffer);
115 fprintf(file, " %s\n", lineBuffer);
118 fprintf(file, " </%s>\n\n", tag);
121 void dumpFloats(FILE *file, const char *tag, float *floats, le_int32 count) {
125 fprintf(file, " <%s>\n", tag);
129 fprintf(file, " %s\n", lineBuffer);
138 fprintf(file, " %s\n", lineBuffer);
141 fprintf(file, " </%s>\n", tag);
153 struct tm *local = localtime(&now);
157 strftime(tmString, 64, tmFormat, local);
158 fprintf(outputFile, header, local->tm_year + 1900, tmString);