Lines Matching defs:file_short
172 unsigned char file_short[2];
174 file_short[0] = (s & (unsigned)0xff00) >> 8;
175 file_short[1] = s & 0xff;
176 if(fwrite((char *) file_short, (int) sizeof(file_short), 1, file) != 1) {
186 unsigned char file_short[2];
188 file_short[0] = (s & (unsigned)0xff00) >> 8;
189 file_short[1] = s & 0xff;
190 if(fwrite((char *) file_short, (int) sizeof(file_short), 1, file) != 1) {
252 unsigned char file_short[2];
254 if(fread((char *) file_short, (int) sizeof(file_short), 1, file) != 1) {
257 *shortp = file_short[0] * 256 + file_short[1];
265 unsigned char file_short[2];
267 if(fread((char *) file_short, (int) sizeof(file_short), 1, file) != 1) {
270 *shortp = file_short[0] * 256 + file_short[1];