Home
last modified time | relevance | path

Searched refs:fgetc (Results 1 – 25 of 33) sorted by relevance

12

/external/dropbear/libtommath/mtest/
Dmtest.c49 size = 1 + ((fgetc(rng)<<8) + fgetc(rng)) % 101; in rand_num()
50 buf[0] = (fgetc(rng)&1)?1:0; in rand_num()
52 while (buf[1] == 0) buf[1] = fgetc(rng); in rand_num()
61 size = 10 + ((fgetc(rng)<<8) + fgetc(rng)) % 101; in rand_num2()
62 buf[0] = (fgetc(rng)&1)?1:0; in rand_num2()
64 while (buf[1] == 0) buf[1] = fgetc(rng); in rand_num2()
118 n = fgetc(rng) % 15; in main()
183 n = fgetc(rng) & 63; in main()
195 n = fgetc(rng) & 63; in main()
/external/dropbear/libtommath/
Dbn_mp_fread.c27 ch = fgetc(stream); in mp_fread()
30 ch = fgetc(stream); in mp_fread()
54 ch = fgetc(stream); in mp_fread()
/external/quake/quake/src/QW/client/
Dgl_warp.c420 dataByte = fgetc(f); in LoadPCX()
425 dataByte = fgetc(f); in LoadPCX()
467 b1 = fgetc(f); in fgetLittleShort()
468 b2 = fgetc(f); in fgetLittleShort()
477 b1 = fgetc(f); in fgetLittleLong()
478 b2 = fgetc(f); in fgetLittleLong()
479 b3 = fgetc(f); in fgetLittleLong()
480 b4 = fgetc(f); in fgetLittleLong()
497 targa_header.id_length = fgetc(fin); in LoadTGA()
498 targa_header.colormap_type = fgetc(fin); in LoadTGA()
[all …]
/external/quake/quake/src/WinQuake/
Dgl_warp.cpp469 dataByte = fgetc(f); in LoadPCX()
474 dataByte = fgetc(f); in LoadPCX()
516 b1 = fgetc(f); in fgetLittleShort()
517 b2 = fgetc(f); in fgetLittleShort()
526 b1 = fgetc(f); in fgetLittleLong()
527 b2 = fgetc(f); in fgetLittleLong()
528 b3 = fgetc(f); in fgetLittleLong()
529 b4 = fgetc(f); in fgetLittleLong()
546 targa_header.id_length = fgetc(fin); in LoadTGA()
547 targa_header.colormap_type = fgetc(fin); in LoadTGA()
[all …]
/external/chromium/third_party/icu/source/test/perf/ubrkperf/
Dubrkperfold.cpp514 BOMC1 = fgetc(fFile); in UCharFile()
515 BOMC2 = fgetc(fFile); in UCharFile()
521 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile()
545 cL = fgetc(fFile); in get()
546 cH = fgetc(fFile); in get()
557 cH = fgetc(fFile); in get()
558 cL = fgetc(fFile); in get()
574 …int ch = fgetc(fFile); // Note: c and ch are separate cause eof test doesn't work on UChar type. in get()
603 bytes[i] = fgetc(fFile); in get()
/external/icu4c/test/perf/ubrkperf/
Dubrkperfold.cpp514 BOMC1 = fgetc(fFile); in UCharFile()
515 BOMC2 = fgetc(fFile); in UCharFile()
521 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile()
545 cL = fgetc(fFile); in get()
546 cH = fgetc(fFile); in get()
557 cH = fgetc(fFile); in get()
558 cL = fgetc(fFile); in get()
574 …int ch = fgetc(fFile); // Note: c and ch are separate cause eof test doesn't work on UChar type. in get()
603 bytes[i] = fgetc(fFile); in get()
/external/jhead/
Djpgfile.c132 a = fgetc(infile); in ReadJpegSections()
134 if (a != 0xff || fgetc(infile) != M_SOI){ in ReadJpegSections()
146 marker = fgetc(infile); in ReadJpegSections()
159 lh = fgetc(infile); in ReadJpegSections()
160 ll = fgetc(infile); in ReadJpegSections()
/external/icu4c/tools/toolutil/
Dfilestrm.c131 int c = fgetc((FILE*)fileStream); in T_FileStream_getc()
146 int32_t c = fgetc((FILE*)fileStream); in T_FileStream_peek()
/external/chromium/third_party/icu/source/tools/toolutil/
Dfilestrm.c131 int c = fgetc((FILE*)fileStream); in T_FileStream_getc()
146 int32_t c = fgetc((FILE*)fileStream); in T_FileStream_peek()
/external/chromium/third_party/icu/source/test/perf/collationperf/
Dcollperf.cpp1241 BOMC1 = fgetc(fFile); in UCharFile()
1242 BOMC2 = fgetc(fFile); in UCharFile()
1248 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile()
1272 cL = fgetc(fFile); in get()
1273 cH = fgetc(fFile); in get()
1284 cH = fgetc(fFile); in get()
1285 cL = fgetc(fFile); in get()
1301 …int ch = fgetc(fFile); // Note: c and ch are separate cause eof test doesn't work on UChar type. in get()
1330 bytes[i] = fgetc(fFile); in get()
/external/icu4c/test/perf/collationperf/
Dcollperf.cpp1243 BOMC1 = fgetc(fFile); in UCharFile()
1244 BOMC2 = fgetc(fFile); in UCharFile()
1250 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile()
1274 cL = fgetc(fFile); in get()
1275 cH = fgetc(fFile); in get()
1286 cH = fgetc(fFile); in get()
1287 cL = fgetc(fFile); in get()
1303 …int ch = fgetc(fFile); // Note: c and ch are separate cause eof test doesn't work on UChar type. in get()
1332 bytes[i] = fgetc(fFile); in get()
/external/libpng/contrib/pngminus/
Dpnm2png.c453 token[i] = (unsigned char) fgetc (pnm_file); in get_token()
461 token[i] = (unsigned char) fgetc (pnm_file); in get_token()
490 old_value = fgetc (pnm_file); in get_data()
/external/stlport/src/
Dstdio_streambuf.cpp159 int c = fgetc(_M_file); in underflow()
173 int c = fgetc(_M_file); in uflow()
/external/oprofile/libutil/
Dfscanf.c10 c = fgetc(stream); in fscanf()
/external/qemu/distrib/sdl-1.2.12/src/main/win32/
DSDL_win32_main.c148 empty = (fgetc(file) == EOF) ? 1 : 0; in cleanup_output()
158 empty = (fgetc(file) == EOF) ? 1 : 0; in cleanup_output()
/external/qemu/distrib/sdl-1.2.12/src/main/macos/
DSDL_main.c142 empty = (fgetc(file) == EOF) ? 1 : 0; in cleanup_output()
150 empty = (fgetc(file) == EOF) ? 1 : 0; in cleanup_output()
/external/stlport/stlport/stl/
D_cstdio.h71 using _STLP_VENDOR_CSTD::fgetc;
/external/srec/portable/src/
DPANSIFileImpl.c51 impl->Interface.Interface.fgetc = &PANSIFileFgetcImpl; in PANSIFileCreateImpl()
412 *result = fgetc(impl->value); in PANSIFileFgetcImpl()
DPFileWrap.c227 *result = fgetc ( (FILE *)self ); in PFileFgetc()
/external/libpcap/lbl/
Dos-sunos4.h30 int fgetc(FILE *);
/external/tcpdump/lbl/
Dos-sunos4.h30 int fgetc(FILE *);
/external/v8/src/
Dplatform-linux.cc132 while (EOF != (k = fgetc(f))) { in ArmCpuHasFeature()
135 while ((*what != '\0') && (*what == fgetc(f))) { in ArmCpuHasFeature()
/external/srec/portable/include/
DPFile.h218 ESR_ReturnCode(*fgetc)(struct PFile_t* self, LINT* result); member
/external/svox/pico/lib/
Dpicopal.c387 res = fgetc((FILE *)f); in picopal_fget_char()
/external/chromium/sdch/open-vcdiff/src/
Dvcdiff_main.cc559 if (fgetc(output_file_) != EOF) { in DecodeAndCompare()

12