Lines Matching refs:in
210 static int ebReadString(ExpandBuf* pBuf, FILE* in) in ebReadString() argument
217 ic = getc(in); in ebReadString()
218 if (feof(in) || ferror(in)) { in ebReadString()
235 static int ebReadData(ExpandBuf* pBuf, FILE* in, size_t count, int eofExpected) in ebReadData() argument
242 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in); in ebReadData()
244 if (eofExpected && feof(in) && !ferror(in)) { in ebReadData()
604 static int filterData(FILE* in, FILE* out, int flags) in filterData() argument
617 if (ebReadString(pBuf, in) != 0) in filterData()
640 if (ebReadData(pBuf, in, 12, FALSE) != 0) in filterData()
655 if (ebReadData(pBuf, in, 1, TRUE) != 0) in filterData()
657 if (feof(in)) in filterData()
661 if (ebReadData(pBuf, in, kRecHdrLen-1, FALSE) != 0) in filterData()
676 if (ebReadData(pBuf, in, length, FALSE) != 0) in filterData()
712 FILE* in = NULL; in main() local
732 if (!in) { in main()
733 in = fopen_or_default(arg, "rb", stdin); in main()
741 if (in == NULL || out == NULL) { in main()
745 res = filterData(in, out, flags); in main()
768 if (in != stdin && in != NULL) in main()
769 fclose(in); in main()