Home
last modified time | relevance | path

Searched refs:buffend (Results 1 – 5 of 5) sorted by relevance

/netbsd/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_write_format_zip_file.c83 unsigned char *buff, *buffend, *p; in DEFINE_TEST() local
116 buffend = buff + used; in DEFINE_TEST()
121 eocd_record = p = buffend - 22; /* Assumes there is no zip comment field. */ in DEFINE_TEST()
135 central_header = p = buff + i4(buffend - 6); in DEFINE_TEST()
138 i4(buffend - 10)); in DEFINE_TEST()
H A Dtest_write_format_zip_file_zip64.c85 unsigned char *buff, *buffend, *p; in DEFINE_TEST() local
119 buffend = buff + used; in DEFINE_TEST()
124 eocd_record = p = buffend - 22; /* Assumes there is no zip comment field. */ in DEFINE_TEST()
138 central_header = p = buff + i4(buffend - 6); in DEFINE_TEST()
141 i4(buffend - 10)); in DEFINE_TEST()
H A Dtest_write_format_zip_compression_store.c127 const char *buffend; in verify_uncompressed_contents() local
138 buffend = buff + used; in verify_uncompressed_contents()
142 p = buffend - 22; /* Assumes there is no zip comment field. */ in verify_uncompressed_contents()
158 p = buff + i4(buffend - 6); in verify_uncompressed_contents()
161 i4(buffend - 10)); in verify_uncompressed_contents()
/netbsd/external/bsd/libbind/dist/irs/
H A Dirpmarshall.c99 static char **splitarray(const char *buffer, const char *buffend, char delim);
1662 splitarray(const char *buffer, const char *buffend, char delim) { in splitarray() argument
1668 if (buffend < buffer) in splitarray()
1670 else if (buffend > buffer && *buffer == delim) in splitarray()
1672 else if (buffend > buffer && *(buffend - 1) == delim) in splitarray()
1676 if (buffend > buffer + 1) { in splitarray()
1677 for (count = 1, q = buffer ; q != buffend ; q++) { in splitarray()
1697 for (p = buffer ; p < buffend ; p++) { in splitarray()
1698 for (q = p ; *q != delim && q != buffend ; q++) in splitarray()
/netbsd/external/bsd/ntp/dist/ntpd/
H A Dntp_control.c2062 char *buffp, *buffend; in ctl_putsys() local
2069 buffend = buf + sizeof(buf); in ctl_putsys()
2080 if (len + 1 >= buffend - buffp) in ctl_putsys()
2100 if (len + 1 >= buffend - buffp) in ctl_putsys()
2109 if (2 >= buffend - buffp) in ctl_putsys()