/dports/devel/z88dk/z88dk/src/common/t/ |
H A D | t_fileutil.c | 327 TEST_ASSERT_EQUAL(0, fgetc(fp)); in t_fileutil_xfwrite_bcount_str_1() 329 TEST_ASSERT_EQUAL(1, fgetc(fp)); in t_fileutil_xfwrite_bcount_str_1() 332 TEST_ASSERT_EQUAL(3, fgetc(fp)); in t_fileutil_xfwrite_bcount_str_1() 337 TEST_ASSERT_EQUAL(3, fgetc(fp)); in t_fileutil_xfwrite_bcount_str_1() 467 TEST_ASSERT_EQUAL(0, fgetc(fp)); in t_fileutil_xfwrite_wcount_str_2() 468 TEST_ASSERT_EQUAL(0, fgetc(fp)); in t_fileutil_xfwrite_wcount_str_2() 470 TEST_ASSERT_EQUAL(1, fgetc(fp)); in t_fileutil_xfwrite_wcount_str_2() 471 TEST_ASSERT_EQUAL(0, fgetc(fp)); in t_fileutil_xfwrite_wcount_str_2() 474 TEST_ASSERT_EQUAL(0, fgetc(fp)); in t_fileutil_xfwrite_wcount_str_2() 475 TEST_ASSERT_EQUAL(1, fgetc(fp)); in t_fileutil_xfwrite_wcount_str_2() [all …]
|
/dports/games/netherearth/netherearth-0.51/ |
H A D | bitmap.cpp | 21 if (fgetc(fp)!='B' || fgetc(fp)!='M') return; in Bitmap() 29 dx=fgetc(fp); in Bitmap() 30 dx+=fgetc(fp)<<8; in Bitmap() 31 fgetc(fp); in Bitmap() 32 fgetc(fp); in Bitmap() 33 dy=fgetc(fp); in Bitmap() 34 dy+=fgetc(fp)<<8; in Bitmap() 35 fgetc(fp); in Bitmap() 36 fgetc(fp); in Bitmap() 46 b[i*dx+j]=fgetc(fp); in Bitmap() [all …]
|
/dports/lang/php73/php-7.3.33/ext/standard/tests/file/ |
H A D | fgetc_error.phpt | 2 Test fgetc() function : error conditions 6 Prototype: string fgetc ( resource $handle ); 12 echo "-- Testing fgetc() with zero argument --\n"; 13 var_dump( fgetc() ); 18 var_dump( fgetc($fp, $fp) ); 22 echo "-- Testing fgetc() with invalid arguments --\n"; 31 /* loop to test fgetc() with different invalid type of args */ 34 var_dump( fgetc($invalid_args[$loop_counter - 1]) ); 40 -- Testing fgetc() with zero argument -- 44 -- Testing fgetc() with more than expected number of arguments -- [all …]
|
H A D | fgetc_variation2.phpt | 2 Test fgetc() function : usage variations - closed handle 6 Prototype: string fgetc ( resource $handle ); 18 echo "*** Testing fgetc() : usage variations ***\n"; 20 echo "-- Testing fgetc() with closed handle --\n"; 27 var_dump( fgetc($file_handle) ); 29 echo "-- Testing fgetc() with unset handle --\n"; 35 //fgetc using unset handle 36 var_dump( fgetc($file_handle) ); 41 *** Testing fgetc() : usage variations *** 42 -- Testing fgetc() with closed handle -- [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/file/ |
H A D | fgetc_error.phpt | 2 Test fgetc() function : error conditions 6 Prototype: string fgetc ( resource $handle ); 12 echo "-- Testing fgetc() with zero argument --\n"; 13 var_dump( fgetc() ); 18 var_dump( fgetc($fp, $fp) ); 22 echo "-- Testing fgetc() with invalid arguments --\n"; 31 /* loop to test fgetc() with different invalid type of args */ 34 var_dump( fgetc($invalid_args[$loop_counter - 1]) ); 40 -- Testing fgetc() with zero argument -- 44 -- Testing fgetc() with more than expected number of arguments -- [all …]
|
H A D | fgetc_variation2.phpt | 2 Test fgetc() function : usage variations - closed handle 6 Prototype: string fgetc ( resource $handle ); 18 echo "*** Testing fgetc() : usage variations ***\n"; 20 echo "-- Testing fgetc() with closed handle --\n"; 27 var_dump( fgetc($file_handle) ); 29 echo "-- Testing fgetc() with unset handle --\n"; 35 //fgetc using unset handle 36 var_dump( fgetc($file_handle) ); 41 *** Testing fgetc() : usage variations *** 42 -- Testing fgetc() with closed handle -- [all …]
|
/dports/devel/z88dk/z88dk/src/appmake/ |
H A D | pc88.c | 70 return (fgetc(fpin)+256*fgetc(fpin)+65536*fgetc(fpin)+16777216*fgetc(fpin)); 254 i=fgetc(fpin)+256*fgetc(fpin); 258 fgetc(fpin); fgetc(fpin); 261 printf ("%X\n",fgetc(fpin)+256*fgetc(fpin)); 263 fgetc(fpin); fgetc(fpin); 269 fgetc(fpin); fgetc(fpin); /* TAG length */ 284 fgetc(fpin); fgetc(fpin); /* TAG length */ 299 fgetc(fpin); fgetc(fpin); /* TAG length */ 314 i=fgetc(fpin)+256*fgetc(fpin); 318 j=fgetc(fpin)+256*fgetc(fpin); [all …]
|
/dports/biology/gmap/gmap-2020-09-12/src/ |
H A D | samread.c | 177 c0 = fgetc(fp); in parse_XO_fromfile() 178 c1 = fgetc(fp); in parse_XO_fromfile() 180 fgetc(fp); /* : */ in parse_XO_fromfile() 254 c0 = fgetc(fp); in parse_XO_fromfile() 255 c1 = fgetc(fp); in parse_XO_fromfile() 343 c0 = fgetc(fp); in parse_XO_and_HI_fromfile() 344 c1 = fgetc(fp); in parse_XO_and_HI_fromfile() 434 c0 = fgetc(fp); in parse_XO_and_HI_fromfile() 435 c1 = fgetc(fp); in parse_XO_and_HI_fromfile() 1075 c0 = fgetc(fp); in Samread_parse_aux_fromfile() [all …]
|
/dports/emulators/visualboyadvance-m/visualboyadvance-m-VBA-M_Beta_2/src/common/ |
H A D | Patch.cpp | 40 int c = fgetc(f); in readInt2() 44 c = fgetc(f); in readInt2() 53 int c = fgetc(f); in readInt3() 57 c = fgetc(f); in readInt3() 61 c = fgetc(f); in readInt3() 73 c = fgetc(f); in readInt4() 89 c = fgetc(f); in readInt8() 212 if(fgetc(f) != 'U' || fgetc(f) != 'P' || fgetc(f) != 'S' || fgetc(f) != '1') { in patchApplyUPS() 287 if (fgetc(f) != 'P' || fgetc(f) != 'P' || fgetc(f) != 'F') //-V501 in ppfVersion() 305 if (fgetc(f) != '.' || fgetc(f) != 'D' || fgetc(f) != 'I' || fgetc(f) != 'Z') in ppfFileIdLen() [all …]
|
/dports/net/tn5250/tn5250-0.17.4/lib5250/ |
H A D | scs.c | 119 curchar = fgetc (stdin); in scs_sic() 612 width = fgetc (stdin); in scs_spps() 616 length = fgetc (stdin); in scs_spps() 660 length = fgetc (stdin); in scs_shf() 708 length = fgetc (stdin); in scs_svf() 914 left = fgetc (stdin); in scs_shm() 965 top = fgetc (stdin); in scs_svm() 1076 gcgid = fgetc (stdin); in scs_scg() 1077 cpgid = fgetc (stdin); in scs_scg() 1316 rdpp = fgetc (stdin); in scs_rdpp() [all …]
|
/dports/devel/libnaji/libnaji-0.6.4.src/ |
H A D | najifrmt.c | 47 a = fgetc(naji_input); in charwrap() 143 a = fgetc(naji_input); in numlines() 174 a = fgetc(naji_input); in charaftr() 197 a = fgetc(naji_input); in charbefr() 224 a = fgetc(naji_input); in rbcafter() 377 a = fgetc(naji_input); in swapfeb() 378 fgetc(naji_input2); in swapfeb() 380 fgetc(naji_input); in swapfeb() 1796 a = fgetc(naji_input); in istreml() 1811 a = fgetc(naji_input); in istreml() [all …]
|
/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | midisequencer.cpp | 45 d = fgetc(fp); in read_variable_value() 93 int b0 = fgetc(fp); in load() 94 int b1 = fgetc(fp); in load() 95 int b2 = fgetc(fp); in load() 96 int b3 = fgetc(fp); in load() 298 if(fgetc(fp) != 0 in load_smf() 299 || fgetc(fp) != 0 in load_smf() 300 || fgetc(fp) != 0 in load_smf() 301 || fgetc(fp) != 6 in load_smf() 302 || fgetc(fp) != 0){ in load_smf() [all …]
|
/dports/lang/php74/php-7.4.27/ext/standard/tests/file/ |
H A D | fgetc_variation2.phpt | 2 Test fgetc() function : usage variations - closed handle 6 Prototype: string fgetc ( resource $handle ); 18 echo "*** Testing fgetc() : usage variations ***\n"; 20 echo "-- Testing fgetc() with closed handle --\n"; 27 var_dump( fgetc($file_handle) ); 29 echo "-- Testing fgetc() with unset handle --\n"; 35 //fgetc using unset handle 36 var_dump( fgetc($file_handle) ); 41 *** Testing fgetc() : usage variations *** 42 -- Testing fgetc() with closed handle -- [all …]
|
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/file/ |
H A D | fgetc_variation2.phpt | 2 Test fgetc() function : usage variations - closed handle 6 Prototype: string fgetc ( resource $handle ); 18 echo "*** Testing fgetc() : usage variations ***\n"; 20 echo "-- Testing fgetc() with closed handle --\n"; 27 var_dump( fgetc($file_handle) ); 29 echo "-- Testing fgetc() with unset handle --\n"; 35 //fgetc using unset handle 36 var_dump( fgetc($file_handle) ); 41 *** Testing fgetc() : usage variations *** 42 -- Testing fgetc() with closed handle -- [all …]
|
/dports/games/searchandrescue/searchandrescue_1.4.0/sar/ |
H A D | fio.cpp | 133 c = fgetc(fp); in FSeekNextLine() 372 c = fgetc(fp); in FSeekNextParm() 473 c = fgetc(fp); in FGetValuesI() 551 c = fgetc(fp); in FGetValuesL() 629 c = fgetc(fp); in FGetValuesF() 698 c = fgetc(fp); in FGetString() 736 c = fgetc(fp); in FGetString() 783 c = fgetc(fp); in FGetString() 790 c = fgetc(fp); in FGetString() 830 c = fgetc(fp); in FGetStringLined() [all …]
|
H A D | tga.cpp | 998 r = (u_int8_t)fgetc(fp); in TgaReadFromFile() 1000 g = (u_int8_t)fgetc(fp); in TgaReadFromFile() 1002 b = (u_int8_t)fgetc(fp); in TgaReadFromFile() 1014 r = (u_int8_t)fgetc(fp); in TgaReadFromFile() 1016 g = (u_int8_t)fgetc(fp); in TgaReadFromFile() 1018 b = (u_int8_t)fgetc(fp); in TgaReadFromFile() 1235 r = (u_int8_t)fgetc(fp); in TgaReadFromFile() 1237 g = (u_int8_t)fgetc(fp); in TgaReadFromFile() 1239 b = (u_int8_t)fgetc(fp); in TgaReadFromFile() 1251 r = (u_int8_t)fgetc(fp); in TgaReadFromFile() [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/ppm/ |
H A D | leaftoppm.c | 64 if ((compressed = fgetc(fp)) != 0) in leaf_init() 68 fgetc(fp); in leaf_init() 71 fgetc(fp); in leaf_init() 89 PPM_PUTR(colors[i], fgetc(fp)); in leaf_init() 146 grayrow[col] = (gray)fgetc(ifd); in main() 148 fgetc (ifd); /* padding */ in main() 162 fgetc (ifd); /* padding */ in main() 166 fgetc (ifd); /* padding */ in main() 170 fgetc (ifd); /* padding */ in main() 185 fgetc(ifd); /* padding */ in main() [all …]
|
/dports/graphics/iiview/iiview-0.31/ |
H A D | gif.c | 38 return (fgetc(giffile)|(fgetc(giffile)<<8))&0xFFFF; in gif_readword() 120 info=fgetc(giffile); in readImage() 130 initcodesize=fgetc(giffile); in readImage() 219 fgetc(giffile); in GIF_OpenFile() 224 i=fgetc(giffile); in GIF_OpenFile() 247 readImage();fgetc(giffile); in GIF_OpenFile() 250 fgetc(giffile); in GIF_OpenFile() 251 i=fgetc(giffile); in GIF_OpenFile() 254 i=fgetc(giffile); in GIF_OpenFile() 260 i=fgetc(giffile); in GIF_OpenFile() [all …]
|
/dports/games/openjazz/openjazz-20190106/src/io/ |
H A D | file.cpp | 210 return fgetc(file); in loadChar() 233 val = fgetc(file); in loadShort() 234 val += fgetc(file) << 8; in loadShort() 284 val = fgetc(file); in loadInt() 285 val += fgetc(file) << 8; in loadInt() 286 val += fgetc(file) << 16; in loadInt() 343 next = fgetc(file); in loadRLE() 353 rle = fgetc(file); in loadRLE() 357 byte = fgetc(file); in loadRLE() 393 next = fgetc(file); in skipRLE() [all …]
|
/dports/graphics/flif/FLIF-0.3-96-g74ea92b/src/image/ |
H A D | image-rggb.cpp | 29 magic[idx_magic] = fgetc(fp); in image_load_rggb() 33 magic[++idx_magic] = fgetc(fp); in image_load_rggb() 56 magic[idx_magic] = fgetc(fp); in image_load_rggb() 62 magic[++idx_magic] = fgetc(fp); in image_load_rggb() 218 pixel += fgetc(fp); in image_load_rggb() 220 pixel= (fgetc(fp) << 8); in image_load_rggb() 221 pixel += fgetc(fp); in image_load_rggb() 226 pixel += fgetc(fp); in image_load_rggb() 228 pixel= (fgetc(fp) << 8); in image_load_rggb() 229 pixel += fgetc(fp); in image_load_rggb() [all …]
|
/dports/devel/xa65/xa-2.3.12/misc/ |
H A D | file65.c | 236 c=fgetc(fp); l++; in read_options() 242 c=fgetc(fp); in read_options() 261 c=fgetc(fp); in print_labels() 264 c=fgetc(fp); in print_labels() 272 c=fgetc(fp); in print_labels() 276 c=fgetc(fp); in print_labels() 282 c=fgetc(fp); in print_labels() 284 if( (c & 0x07) == 0 ) { fgetc(fp); fgetc(fp); } in print_labels() 286 c=fgetc(fp); in print_labels() 296 c=fgetc(fp); in print_labels() [all …]
|
/dports/graphics/photivo/photivo/ReferenceMaterial/SimpleNikonCurve/ |
H A D | SimpleNikonCurve.c | 625 tag = (fgetc(file)<<8)|fgetc(file); in FindTIFFOffset() 629 type = (fgetc(file)<<8)|fgetc(file); in FindTIFFOffset() 633 offset = (fgetc(file)<<24)|(fgetc(file)<<16)|(fgetc(file)<<8)|fgetc(file); in FindTIFFOffset() 635 offset = (fgetc(file)<<24)|(fgetc(file)<<16)|(fgetc(file)<<8)|fgetc(file); in FindTIFFOffset() 690 version = (fgetc(file)<<8)|fgetc(file); in RipNikonNEFData() 700 offset = (fgetc(file)<<24)|(fgetc(file)<<16)|(fgetc(file)<<8)|fgetc(file); in RipNikonNEFData() 704 num_entries = (fgetc(file)<<8)|fgetc(file); in RipNikonNEFData() 716 num_entries = (fgetc(file)<<8)|fgetc(file); in RipNikonNEFData() 761 version = (fgetc(file)<<8)|fgetc(file); in RipNikonNEFData() 771 offset = (fgetc(file)<<24)| (fgetc(file)<<16)|(fgetc(file)<<8)|fgetc(file); in RipNikonNEFData() [all …]
|
/dports/games/simutrans/simutrans-121.0/dataobj/ |
H A D | height_map_loader.cc | 25 id[0] = fgetc(file); in get_height_data_from_file() 26 id[1] = fgetc(file); in get_height_data_from_file() 94 int B = fgetc(file); in get_height_data_from_file() 95 int G = fgetc(file); in get_height_data_from_file() 96 int R = fgetc(file); in get_height_data_from_file() 97 fgetc(file); // dummy in get_height_data_from_file() 113 fgetc(file); in get_height_data_from_file() 165 int B = fgetc(file); in get_height_data_from_file() 228 int R = fgetc(file); in get_height_data_from_file() 229 int G = fgetc(file); in get_height_data_from_file() [all …]
|
/dports/print/texlive-base/texlive-20150521-source/texk/cjkutils/ |
H A D | cef5conv.c | 20 ch= fgetc(stdin); in main() 26 ch= fgetc(stdin); in main() 35 *(++inp)= fgetc(stdin); in main() 38 {*(++inp)= fgetc(stdin); in main() 68 *(++inp)= fgetc(stdin); in main() 77 *(++inp)= fgetc(stdin); in main() 83 *(++inp)= fgetc(stdin); in main() 93 *(++inp)= fgetc(stdin); in main() 99 *(++inp)= fgetc(stdin); in main() 117 ch= fgetc(stdin); in main() [all …]
|
/dports/print/texlive-base/texlive-20150521-source/texk/cjkutils/cjkutils-4.8.4/CEFconv/ |
H A D | cef5conv.c | 20 ch= fgetc(stdin); in main() 26 ch= fgetc(stdin); in main() 35 *(++inp)= fgetc(stdin); in main() 38 {*(++inp)= fgetc(stdin); in main() 68 *(++inp)= fgetc(stdin); in main() 77 *(++inp)= fgetc(stdin); in main() 83 *(++inp)= fgetc(stdin); in main() 93 *(++inp)= fgetc(stdin); in main() 99 *(++inp)= fgetc(stdin); in main() 117 ch= fgetc(stdin); in main() [all …]
|