Searched refs:fp (Results 1 – 2 of 2) sorted by relevance
| /RevoEX-2.3/build/tools/makeChjp/ |
| D | main.c | 190 static void OutputIntForBin(unsigned int val, unsigned int byte, FILE *fp) in OutputIntForBin() argument 197 fwrite(&tmp, 1, 1 ,fp); in OutputIntForBin() 212 FILE *fp; in CreateChJumpFile() local 215 fp = fopen("chjump.bin", "wb"); in CreateChJumpFile() 217 fputs("ChJp", fp); // Magic in CreateChJumpFile() 218 OutputIntForBin(dataSize, 4, fp); // TotalSize in CreateChJumpFile() 219 OutputIntForBin(dataBlockNum, 4, fp); // NumBlocks in CreateChJumpFile() 220 OutputIntForBin(0, 4, fp); // Options in CreateChJumpFile() 223 OutputIntForBin(1, 2, fp); // (Publisher Code) (16 bit) in CreateChJumpFile() 224 OutputIntForBin((unsigned int)atoi(chCode), 2, fp); // (Channel Code) (16 bit) in CreateChJumpFile() [all …]
|
| /RevoEX-2.3/build/demos/vfdemo/src/ |
| D | simple.c | 254 VFFile *fp = NULL; in _SampleMain() local 363 fp = VFOpenFile("A:/SAMPLEA.txt", "r+", 0); in _SampleMain() 364 if (fp == NULL){ in _SampleMain() 369 fp = VFCreateFile("SAMPLEA.txt", 0); in _SampleMain() 370 if (fp == NULL) { in _SampleMain() 375 if (fp) { in _SampleMain() 378 Error = VFWriteFile(fp, l_writeData, TEST_DATA_SIZE); in _SampleMain() 385 Error = VFFileSync(fp); in _SampleMain() 393 Error = VFCloseFile(fp); in _SampleMain() 454 VFFile* fp = NULL; in _SampleMain() local [all …]
|