Searched refs:hpos (Results 1 – 9 of 9) sorted by relevance
/freebsd/lib/libusbhid/ |
H A D | data.c | 43 uint32_t hpos; in hid_get_data() local 54 hpos = h->pos; /* bit position of data */ in hid_get_data() 63 offs = hpos / 8; in hid_get_data() 64 end = (hpos + hsize) / 8 - offs; in hid_get_data() 70 data >>= hpos % 8; in hid_get_data() 86 uint32_t hpos; in hid_set_data() local 99 hpos = h->pos; /* bit position of data */ in hid_set_data() 108 data <<= (hpos % 8); in hid_set_data() 109 mask <<= (hpos % 8); in hid_set_data() 112 offs = hpos / 8; in hid_set_data() [all …]
|
H A D | parse.c | 534 uint32_t hpos; in hid_report_size() local 538 hpos = 0; in hid_report_size() 550 if (hpos < temp) in hid_report_size() 551 hpos = temp; in hid_report_size() 559 if (lpos > hpos) in hid_report_size() 562 temp = hpos - lpos; in hid_report_size()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_rpm.c | 42 uint64_t hpos; member 203 rpm->hpos = 0; in rpm_filter_read() 209 n = rpm_limit_bytes(RPM_MIN_HEAD_SIZE - rpm->hpos, in rpm_filter_read() 211 memcpy(rpm->header+rpm->hpos, b, n); in rpm_filter_read() 214 rpm->hpos += n; in rpm_filter_read() 216 if (rpm->hpos == RPM_MIN_HEAD_SIZE) { in rpm_filter_read() 236 rpm->hlen = rpm->hpos + section * 16 + bytes; in rpm_filter_read() 242 n = rpm_limit_bytes(rpm->hlen - rpm->hpos, in rpm_filter_read() 246 rpm->hpos += n; in rpm_filter_read() 247 if (rpm->hpos == rpm->hlen) in rpm_filter_read() [all …]
|
/freebsd/sys/dev/hid/ |
H A D | hid.c | 579 uint32_t hpos; in hid_report_size() local 583 hpos = 0; in hid_report_size() 594 if (hpos < temp) in hid_report_size() 595 hpos = temp; in hid_report_size() 603 if (lpos > hpos) in hid_report_size() 606 temp = hpos - lpos; in hid_report_size() 619 uint32_t hpos; in hid_report_size_max() local 624 hpos = 0; in hid_report_size_max() 641 if (hpos < temp) in hid_report_size_max() 642 hpos = temp; in hid_report_size_max() [all …]
|
/freebsd/contrib/wpa/src/tls/ |
H A D | tlsv1_common.c | 383 u8 *hpos; in tls_key_x_server_params_hash() local 387 hpos = hash; in tls_key_x_server_params_hash() 400 hpos += hlen; in tls_key_x_server_params_hash() 409 if (crypto_hash_finish(ctx, hpos, &hlen) < 0) in tls_key_x_server_params_hash() 411 hpos += hlen; in tls_key_x_server_params_hash() 412 return hpos - hash; in tls_key_x_server_params_hash()
|
H A D | tlsv1_client_write.c | 569 u8 hash[100], *hpos; in tls_write_client_certificate_verify() local 606 hpos = hash; in tls_write_client_certificate_verify() 612 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_write_client_certificate_verify() 644 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify() 652 hpos += MD5_MAC_LEN; in tls_write_client_certificate_verify() 657 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify()
|
H A D | tlsv1_server_read.c | 891 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN], *hpos; in tls_process_certificate_verify() local 956 hpos = hash; in tls_process_certificate_verify() 988 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_process_certificate_verify() 1001 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { in tls_process_certificate_verify() 1009 hpos += MD5_MAC_LEN; in tls_process_certificate_verify() 1014 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_process_certificate_verify()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_irq.c | 552 int vpos, hpos, i; in drm_calc_vbltimestamp_from_scanoutpos() local 601 vbl_status = dev->driver->get_scanout_position(dev, crtc, &vpos, &hpos); in drm_calc_vbltimestamp_from_scanoutpos() 646 delta_ns = (s64) vpos * linedur_ns + (s64) hpos * pixeldur_ns; in drm_calc_vbltimestamp_from_scanoutpos() 679 crtc, (int)vbl_status, hpos, vpos, (uintmax_t)raw_time.tv_sec, in drm_calc_vbltimestamp_from_scanoutpos()
|
H A D | drmP.h | 798 int *vpos, int *hpos);
|