Lines Matching refs:adrf

40 adrf_start(adrf_t *adrf, adr_t *adr, FILE *fp)  in adrf_start()  argument
42 adrf->adrf_fp = fp; in adrf_start()
43 adrf->adrf_adr = adr; in adrf_start()
44 adrf->adrf_adr->adr_now = NULL; in adrf_start()
51 adrf_char(adrf_t *adrf, char *cp, int count) in adrf_char() argument
58 if ((c = fgetc(adrf->adrf_fp)) == EOF) in adrf_char()
61 adrf->adrf_adr->adr_now += sizeof (char); in adrf_char()
70 adrf_short(adrf_t *adrf, short *sp, int count) in adrf_short() argument
77 if ((c = fgetc(adrf->adrf_fp)) == EOF) in adrf_short()
80 if ((c = fgetc(adrf->adrf_fp)) == EOF) in adrf_short()
83 adrf->adrf_adr->adr_now += sizeof (short); in adrf_short()
91 int adrf_int(adrf_t *adrf, int32_t *lp, int count);
92 int adrf_long(adrf_t *adrf, int32_t *lp, int count);
98 adrf_int32(adrf_t *adrf, int32_t *lp, int count) in adrf_int32() argument
108 if ((c = fgetc(adrf->adrf_fp)) == EOF) in adrf_int32()
113 adrf->adrf_adr->adr_now += sizeof (int32_t); in adrf_int32()
119 adrf_int64(adrf_t *adrf, int64_t *lp, int count) in adrf_int64() argument
129 if ((c = fgetc(adrf->adrf_fp)) == EOF) in adrf_int64()
134 adrf->adrf_adr->adr_now += sizeof (int64_t); in adrf_int64()
139 int adrf_u_int(adrf_t *adrf, uint32_t *cp, int count);
140 int adrf_u_long(adrf_t *adrf, uint32_t *cp, int count);
146 adrf_u_int32(adrf_t *adrf, uint32_t *cp, int count) in adrf_u_int32() argument
148 return (adrf_int32(adrf, (int32_t *)cp, count)); in adrf_u_int32()
152 adrf_u_char(adrf_t *adrf, uchar_t *cp, int count) in adrf_u_char() argument
154 return (adrf_char(adrf, (char *)cp, count)); in adrf_u_char()
158 adrf_u_int64(adrf_t *adrf, uint64_t *lp, int count) in adrf_u_int64() argument
160 return (adrf_int64(adrf, (int64_t *)lp, count)); in adrf_u_int64()
164 adrf_u_short(adrf_t *adrf, ushort_t *sp, int count) in adrf_u_short() argument
166 return (adrf_short(adrf, (short *)sp, count)); in adrf_u_short()
170 adrf_peek(adrf_t *adrf) in adrf_peek() argument
172 return (ungetc(fgetc(adrf->adrf_fp), adrf->adrf_fp)); in adrf_peek()