/freebsd-11-stable/lib/libusbhid/ |
H A D | data.c | 44 uint32_t hpos; local 55 hpos = h->pos; /* bit position of data */ 64 offs = hpos / 8; 65 end = (hpos + hsize) / 8 - offs; 71 data >>= hpos % 8; local 87 uint32_t hpos; local 100 hpos = h->pos; /* bit position of data */ 109 data <<= (hpos % 8); 110 mask <<= (hpos % 8); 113 offs = hpos / [all...] |
H A D | parse.c | 534 uint32_t hpos; local 538 hpos = 0; 550 if (hpos < temp) 551 hpos = temp; 559 if (lpos > hpos) 562 temp = hpos - lpos;
|
/freebsd-11-stable/contrib/groff/src/devices/grolj4/ |
H A D | lj4.cpp | 177 int moveto(int hpos, int vpos); 178 int moveto1(int hpos, int vpos); 194 int lj4_printer::moveto(int hpos, int vpos) argument 196 if (cur_hpos != hpos || cur_vpos != vpos || cur_hpos < 0) 197 return moveto1(hpos, vpos); 317 if (!moveto(env->hpos, env->vpos)) 325 int lj4_printer::moveto1(int hpos, int vpos) argument 327 if (hpos < x_offset || vpos < 0) 331 printf("%dx%dY", hpos - x_offset, vpos); 333 if (cur_hpos != hpos) 353 int hpos = env->hpos; local [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_rpm.c | 42 size_t hpos; member in struct:rpm 196 rpm->hpos = 0; 202 n = 16 - rpm->hpos; 205 memcpy(rpm->header+rpm->hpos, b, n); 208 rpm->hpos += n; 210 if (rpm->hpos == 16) { 224 total = rpm->hpos; 236 n = rpm->hlen - rpm->hpos; 241 rpm->hpos += n; 242 if (rpm->hpos [all...] |
/freebsd-11-stable/contrib/groff/src/devices/grolbp/ |
H A D | lbp.cpp | 77 void polygon( int hpos,int vpos,int np,int *p); 341 if ((env->hpos != cur_hpos) || (env->vpos != cur_vpos)) { 342 // lbpmoveabs(env->hpos - ((5 * 300) / 16), env->vpos); 343 lbpmoveabs(env->hpos - 64, env->vpos - 64); 345 cur_hpos = env->hpos; 400 inline void lbp_printer::polygon(int hpos, int vpos, int np, int *p) argument 404 points[0] = hpos; 438 vdmline(env->hpos, env->vpos, p[0], p[1]); 440 env->hpos - 64,env->vpos -64, env->hpos [all...] |
/freebsd-11-stable/contrib/groff/src/devices/grotty/ |
H A D | tty.cpp | 159 int hpos; member in class:glyph 369 env->hpos, env->vpos, 384 int hpos = h / font::hor; local 385 if (hpos < SHRT_MIN || hpos > SHRT_MAX) { 416 g->hpos = hpos; 423 // increasing order of hpos, with COLOR_CHANGE and CU specials before 425 // at each hpos, and otherwise in order of occurrence. 429 if ((*pp)->hpos < hpo 652 int hpos = 0; local [all...] |
/freebsd-11-stable/contrib/groff/src/devices/grodvi/ |
H A D | dvi.cpp | 368 int distance = env->hpos - cur_h; 369 if (env->hpos != end_h && distance != 0) { 371 cur_h = env->hpos; 375 cur_h = env->hpos - max_drift; 379 cur_h = env->hpos + max_drift; 386 end_h = env->hpos + w; 559 moveto(env->hpos, env->vpos); 598 x = env->hpos - thickness/2; 604 x = env->hpos - thickness/2; 612 x = env->hpos [all...] |
/freebsd-11-stable/contrib/groff/src/include/ |
H A D | printer.h | 44 int hpos; member in struct:environment
|
/freebsd-11-stable/contrib/wpa/src/tls/ |
H A D | tlsv1_common.c | 383 u8 *hpos; local 387 hpos = hash; 398 hpos += hlen; 406 hlen = hash + sizeof(hash) - hpos; 407 if (crypto_hash_finish(ctx, hpos, &hlen) < 0) 409 hpos += hlen; 410 return hpos - hash;
|
H A D | tlsv1_server_read.c | 891 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN], *hpos; local 956 hpos = hash; 988 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < 1001 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { 1009 hpos += MD5_MAC_LEN; 1014 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) {
|
H A D | tlsv1_client_write.c | 581 u8 hash[100], *hpos; local 618 hpos = hash; 624 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < 656 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { 664 hpos += MD5_MAC_LEN; 669 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) {
|
/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_hid.c | 569 uint32_t hpos; local 574 hpos = 0; 591 if (hpos < temp) 592 hpos = temp; 598 if (lpos > hpos) 601 temp = hpos - lpos; 654 uint32_t hpos = loc->pos; local 660 DPRINTFN(11, "hid_get_data: loc %d/%d\n", hpos, hsize); 670 rpos = (hpos / 8); 680 data = (data >> (hpos 713 uint32_t hpos = loc->pos; local [all...] |
/freebsd-11-stable/contrib/groff/src/libs/libdriver/ |
H A D | input.cpp | 490 e_copy->hpos = e->hpos; 1018 current_env->hpos += (*args)[i]; 1347 current_env->hpos += (*args)[0]; 1356 current_env->hpos += (*args)[0]; 1366 current_env->hpos += (*args)[0]; 1387 current_env->hpos += arg; 1585 current_env->hpos = -1; 1698 current_env->hpos += hor_pos; 1742 current_env->hpos [all...] |
/freebsd-11-stable/contrib/groff/src/devices/grops/ |
H A D | ps.cpp | 707 if (sbuf_end_hpos == env->hpos) { 713 sbuf_kern = env->hpos - sbuf_end_hpos; 714 sbuf_end_hpos = env->hpos + sbuf_kern + w; 718 /* If sbuf_end_hpos - sbuf_kern == env->hpos, we are better off 720 if (sbuf_len < SBUF_SIZE - 1 && env->hpos >= sbuf_end_hpos 721 && (sbuf_kern == 0 || sbuf_end_hpos - sbuf_kern != env->hpos)) { 725 sbuf_space_width = env->hpos - sbuf_end_hpos; 726 sbuf_end_hpos = env->hpos + w + sbuf_kern; 734 int diff = env->hpos - sbuf_end_hpos - sbuf_space_width; 736 sbuf_end_hpos = env->hpos [all...] |
/freebsd-11-stable/contrib/groff/src/devices/grohtml/ |
H A D | post-html.cpp | 4103 env->hpos, env->vpos, env->hpos+p[0], env->vpos+p[1], line_thickness); 4263 if ((sbuf_end_hpos == env->hpos) 4265 && (env->hpos < sbuf_end_hpos) 4266 && ((sbuf_end_hpos-env->hpos < env->hpos-sbuf_prev_hpos)))) { 4272 if ((env->hpos >= sbuf_end_hpos) && 4273 ((sbuf_kern == 0) || (sbuf_end_hpos - sbuf_kern != env->hpos))) { 4278 if (env->hpos-sbuf_end_hpos < space_width) { 4281 sbuf_end_hpos = env->hpos [all...] |
/freebsd-11-stable/sys/dev/usb/input/ |
H A D | wmt.c | 556 uint32_t hpos; local 560 hpos = 0; 571 if (hpos < temp) 572 hpos = temp; 580 if (lpos > hpos) 583 temp = hpos - lpos;
|
/freebsd-11-stable/contrib/groff/src/roff/troff/ |
H A D | node.cpp | 749 units hpos; member in class:troff_output_file 804 int get_hpos() { return hpos; } 875 hpos = h.to_units(); 915 hpos = 0; 932 hpos += n.to_units(); 947 put(hpos); 951 if (hpos != output_hpos) { 952 units n = hpos - output_hpos; 953 if (n > 0 && n < hpos) { 959 put(hpos); 4683 int hpos = out->get_hpos(); local 4731 int hpos = out->get_hpos(); local 4808 int hpos = out->get_hpos(); local [all...] |
H A D | column.cpp | 131 hunits hpos; member in class:copy_file_output_line 271 : position_output_line(d), hpos(h), filename(f) 277 out->copy_file(hpos, pos, filename.contents());
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_irq.c | 554 int vpos, hpos, i; local 602 /* Get vertical and horizontal scanout pos. vpos, hpos. */ 603 vbl_status = dev->driver->get_scanout_position(dev, crtc, &vpos, &hpos); 648 delta_ns = (s64) vpos * linedur_ns + (s64) hpos * pixeldur_ns; 681 crtc, (int)vbl_status, hpos, vpos, (uintmax_t)raw_time.tv_sec,
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_drv.c | 85 int *vpos, int *hpos);
|
H A D | radeon_display.c | 280 int vpos, hpos; local 307 &vpos, &hpos)) && 1540 * \param *hpos Location where horizontal scanout position should go. 1556 int radeon_get_crtc_scanoutpos(struct drm_device *dev, int crtc, int *vpos, int *hpos) argument 1626 /* Only retrieve vpos from upper 16 bits, set hpos == 0. */ 1648 *hpos = (position >> 16) & 0x1fff;
|
H A D | radeon_pm.c | 788 int crtc, vpos, hpos, vbl_status; local 796 vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, &vpos, &hpos);
|
H A D | radeon_mode.h | 634 int *vpos, int *hpos);
|
/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | intel_sdvo_regs.h | 606 unsigned int hpos:1; member in struct:intel_sdvo_enhancements_reply
|
H A D | intel_sdvo.c | 169 struct drm_property *hpos; member in struct:intel_sdvo_connector 1802 if (intel_sdvo_connector->hpos) 1803 drm_property_destroy(dev, intel_sdvo_connector->hpos); 1975 CHECK_PROPERTY(hpos, HPOS) 2586 ENHANCEMENT(hpos, HPOS);
|