Home
last modified time | relevance | path

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

12345

/external/bc/gen/
Dstrgen.c150 while (slashes < 2 && (c = fgetc(in)) >= 0) { in main()
151 slashes += (slashes == 1 && c == '/' && fgetc(in) == '\n'); in main()
152 slashes += (!slashes && c == '/' && fgetc(in) == '*'); in main()
160 while ((c = fgetc(in)) == '\n'); in main()
181 c = fgetc(in); in main()
/external/libgsm/src/
Dtoast_audio.c61 if ( fgetc(in) != '.' in P0()
62 || fgetc(in) != 's' in P0()
63 || fgetc(in) != 'n' in P0()
64 || fgetc(in) != 'd' in P0()
Dtoast_alaw.c321 for (i = 0; i < 160 && (c = fgetc(in)) != EOF; i++) buf[i] = A2S( c );
Dtoast_ulaw.c608 for (i = 0; i < 160 && (c = fgetc(in)) != EOF; i++) buf[i] = U2S(c);
/external/toybox/toys/other/
Dxxd.c140 if ((n1 = n2 = dehex(fgetc(fp))) < 0 || (n2 = dehex(fgetc(fp))) < 0) { in do_xxd_reverse()
151 tmp = fgetc(fp); in do_xxd_reverse()
156 while ((tmp = fgetc(fp)) != EOF && tmp != '\n') in do_xxd_reverse()
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp519 BOMC1 = fgetc(fFile); in UCharFile()
520 BOMC2 = fgetc(fFile); in UCharFile()
526 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile()
550 cL = fgetc(fFile); in get()
551 cH = fgetc(fFile); in get()
562 cH = fgetc(fFile); in get()
563 cL = fgetc(fFile); in get()
579 …int ch = fgetc(fFile); // Note: c and ch are separate cause eof test doesn't work on UChar type. in get()
608 bytes[i] = fgetc(fFile); in get()
/external/libpng/contrib/mips-msa/
Dlinux.c39 int ch = fgetc(f); in png_have_msa()
45 ch = fgetc(f); in png_have_msa()
/external/llvm-project/clang/test/Analysis/
Dstd-c-library-functions.c80 int fgetc(FILE *);
82 clang_analyzer_eval(fgetc(fp) < 256); // expected-warning{{TRUE}} in test_fgets()
83 clang_analyzer_eval(fgetc(fp) >= 0); // expected-warning{{UNKNOWN}} in test_fgets()
/external/libese/tools/ese_replay/
Dbuffer.c44 char c = fgetc(fp); in buffer_read_hex()
55 b->buffer[b->len] = fgetc(fp); in buffer_read_hex()
/external/autotest/client/profilers/powertop/src/
Dwireless.c69 val = fgetc(file); in rfkill_enabled()
89 val = fgetc(file); in check_unused_wiresless_up()
154 val = fgetc(file); in need_wireless_suggest_new()
/external/llvm-project/llvm/test/CodeGen/Thumb2/
Dcross-rc-coalescing-1.ll7 declare i32 @fgetc(%struct.FILE* nocapture) nounwind
23 %0 = call i32 @fgetc(%struct.FILE* undef) nounwind ; <i32> [#uses=0]
/external/llvm/test/CodeGen/Thumb2/
Dcross-rc-coalescing-1.ll7 declare i32 @fgetc(%struct.FILE* nocapture) nounwind
23 %0 = call i32 @fgetc(%struct.FILE* undef) nounwind ; <i32> [#uses=0]
/external/icu/icu4c/source/tools/toolutil/
Dfilestrm.cpp133 int c = fgetc((FILE*)fileStream); in T_FileStream_getc()
148 int32_t c = fgetc((FILE*)fileStream); in T_FileStream_peek()
/external/grpc-grpc/test/core/json/
Djson_rewrite_test.cc53 int cmp = fgetc(state->cmp); in json_writer_output_char()
57 cmp = fgetc(state->cmp); in json_writer_output_char()
141 r = fgetc(state->in); in json_reader_read_char()
/external/tensorflow/tensorflow/core/platform/testdata/
Dtest_echo.cc20 int c = fgetc(stdin); in main()
/external/libpng/contrib/pngminus/
Dpnm2png.c526 ret = fgetc (pnm_file); in get_token()
532 ret = fgetc (pnm_file); in get_token()
544 ret = fgetc (pnm_file); in get_token()
576 old_value = fgetc (pnm_file); in get_data()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
Dfgetc_ungetc_getc.cpp11 assert(fgetc(fp) != EOF); in main()
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp1246 BOMC1 = fgetc(fFile); in UCharFile()
1247 BOMC2 = fgetc(fFile); in UCharFile()
1253 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile()
1277 cL = fgetc(fFile); in get()
1278 cH = fgetc(fFile); in get()
1289 cH = fgetc(fFile); in get()
1290 cL = fgetc(fFile); in get()
1306 …int ch = fgetc(fFile); // Note: c and ch are separate cause eof test doesn't work on UChar type. in get()
1335 bytes[i] = fgetc(fFile); in get()
/external/vboot_reference/tests/futility/
Dbinary_editor.c29 for ( curpos = 0; (c = fgetc(stdin)) != EOF; curpos++) { in main()
/external/ImageMagick/MagickWand/
Dscript-token.c320 c=fgetc(token_info->stream); \
323 c=fgetc(token_info->stream); \
/external/libwebm/webvtt/
Dvttreader.cc39 const int result = fgetc(file_); in GetChar()
/external/libpcap/msdos/
Dbin2c.c34 while ((ch = fgetc(inFile)) != EOF) in main()
/external/flac/src/utils/flacdiff/
Dmain.cpp181 if(fgetc(f1) != fgetc(f2)) in get_diff_offset()
/external/llvm-project/compiler-rt/test/tsan/
Dfiber_cleanup.cpp18 c = fgetc(proc_file); in count_memory_mappings()
/external/llvm-project/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/
Dxsputn.PR14074.pass.cpp36 while (std::fgetc(f) != EOF) in count_bytes()

12345