Lines Matching defs:is64
102 static off_t get_off_t(char **ibuf, int is64)
112 if (is64) {
124 static int set_off_t(off_t offset, char *rbuf, int is64)
130 if (is64) {
146 static int is_neg(int is64, off_t val)
148 if (val < 0 || (sizeof(off_t) == 8 && !is64 && (val & 0x80000000U)))
153 static int sum_neg(int is64, off_t offset, off_t reqcount)
155 if (is_neg(is64, offset +reqcount) )
528 int is64;
568 is64 = 0;
571 is64 = 4;
577 if (ibuflen < 2+ sizeof(ofrefnum) + sizeof(bitmap) + is64 +4)
580 size = get_off_t(&ibuf, is64);
660 static int byte_lock(AFPObj *obj _U_, char *ibuf, size_t ibuflen _U_, char *rbuf, size_t *rbuflen, int is64)
690 offset = get_off_t(&ibuf, is64);
691 length = get_off_t(&ibuf, is64);
696 else if (!length || is_neg(is64, length)) {
734 *rbuflen = set_off_t (offset, rbuf, is64);
840 static int read_fork(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf, size_t *rbuflen, int is64)
863 offset = get_off_t(&ibuf, is64);
864 reqcount = get_off_t(&ibuf, is64);
866 if (is64) {
1184 static int write_fork(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf, size_t *rbuflen, int is64)
1199 offset = get_off_t(&ibuf, is64);
1200 reqcount = get_off_t(&ibuf, is64);
1241 if (sum_neg(is64, offset, reqcount)) {
1249 *rbuflen = set_off_t (offset, rbuf, is64);
1352 *rbuflen = set_off_t (offset, rbuf, is64);