/freebsd/contrib/wpa/src/utils/ |
H A D | uuid.c | 18 u8 *opos; in uuid_str2bin() local 21 opos = bin; in uuid_str2bin() 23 if (hexstr2bin(pos, opos, 4)) in uuid_str2bin() 26 opos += 4; in uuid_str2bin() 28 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) in uuid_str2bin() 31 opos += 2; in uuid_str2bin() 33 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) in uuid_str2bin() 36 opos += 2; in uuid_str2bin() 38 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) in uuid_str2bin() 41 opos += 2; in uuid_str2bin() [all …]
|
H A D | common.c | 176 u8 *opos = buf; in hexstr2bin() local 182 *opos++ = a; in hexstr2bin()
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_io.c | 329 off_t ipos, opos; in tarfs_zread_zstd() local 340 if (off < zio->opos) { in tarfs_zread_zstd() 346 if (off > zio->opos) { in tarfs_zread_zstd() 357 zio->opos = zio->idx[zio->curidx].o; in tarfs_zread_zstd() 360 zio->curidx, (size_t)zio->ipos, (size_t)zio->opos); in tarfs_zread_zstd() 363 (size_t)zio->ipos, (size_t)zio->opos); in tarfs_zread_zstd() 387 MPASS(zio->opos <= off); in tarfs_zread_zstd() 442 (size_t)zio->ipos, (size_t)zio->opos); in tarfs_zread_zstd() 445 if (zio->opos < off) { in tarfs_zread_zstd() 447 zob.size = min(off - zio->opos, len); in tarfs_zread_zstd() [all …]
|
H A D | tarfs.h | 154 off_t opos; /* current output position */ member
|
/freebsd/tools/test/stress2/misc/ |
H A D | truncate9.sh | 78 off_t opos, pos; 92 opos = pos = (pos << 12) | arc4random(); 101 while (pos >= opos) { 111 if (munmap(cp, opos) == -1)
|
/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_gpsk_common.c | 42 u8 *opos; in eap_gpsk_gkdf_cmac() local 55 opos = buf; in eap_gpsk_gkdf_cmac() 63 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_cmac() 64 opos += clen; in eap_gpsk_gkdf_cmac() 77 u8 *opos; in eap_gpsk_gkdf_sha256() local 90 opos = buf; in eap_gpsk_gkdf_sha256() 98 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_sha256() 99 opos += clen; in eap_gpsk_gkdf_sha256()
|
/freebsd/contrib/sendmail/src/ |
H A D | headers.c | 2107 int opos, omax, spaces; local 2136 opos = strlen(h->h_field) + 1; 2137 if (opos > 201) 2138 opos = 201; 2139 obp += opos; 2149 SM_ASSERT(sizeof(obuf) > opos * 2); 2161 opos += spaces; 2276 opos += strlen(name); 2278 opos += 2; 2279 if (opos > omax && !firstone) [all …]
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_common.c | 31 u8 hash[SHA256_MAC_LEN], *opos; in wps_kdf() local 46 opos = res; in wps_kdf() 53 os_memcpy(opos, hash, SHA256_MAC_LEN); in wps_kdf() 54 opos += SHA256_MAC_LEN; in wps_kdf() 57 os_memcpy(opos, hash, left); in wps_kdf()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_add_filter_zstd.c | 452 size_t ipos, opos, zstdret = 0; in drive_compressor() local 457 opos = data->out.pos; in drive_compressor() 484 data->cur_frame_out += data->out.pos - opos; in drive_compressor()
|
/freebsd/contrib/wpa/src/tls/ |
H A D | x509v3.c | 88 char *ipos, *opos; in x509_str_strip_whitespace() local 91 ipos = opos = a; in x509_str_strip_whitespace() 98 *opos++ = *ipos++; in x509_str_strip_whitespace() 102 *opos-- = '\0'; in x509_str_strip_whitespace() 103 if (opos > a && x509_whitespace(*opos)) in x509_str_strip_whitespace() 104 *opos = '\0'; in x509_str_strip_whitespace()
|
/freebsd/contrib/less/ |
H A D | search.c | 1500 POSITION opos; in search() local 1577 opos = position(sindex_from_sline(jump_sline)); in search() 1617 else if (pos != opos) in search()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wpa_auth.c | 6871 u8 *opos; local 6980 opos = pos; 6982 if (pos - opos >= 2 + RSN_SELECTOR_LEN + WPA_IGTK_KDE_PREFIX_LEN) { 6984 opos += 2 + RSN_SELECTOR_LEN + 2; 6985 os_memset(opos, 0, 6); /* clear PN */ 7055 u8 *opos; local 7078 opos = pos; 7080 if (pos - opos >= 7083 opos += 2 + RSN_SELECTOR_LEN + 2; 7084 os_memset(opos, 0, 6); /* clear PN */
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress.c | 5664 size_t const opos = output->pos; in ZSTD_compressStream2() local 5667 cctx->producedCSize += (U64)(output->pos - opos); in ZSTD_compressStream2() 5681 …if (input->pos != ipos || output->pos != opos || input->pos == input->size || output->pos == outpu… in ZSTD_compressStream2()
|