HomeSort by: relevance | last modified time | path
    Searched refs:hpos (Results 1 - 25 of 47) sorted by relevancy

1 2

  /src/lib/libusbhid/
data.c 40 unsigned int hpos; local
49 hpos = h->pos; /* bit position of data */
54 offs = hpos / 8;
55 end = (hpos + hsize + 7) / 8 - offs;
59 data >>= hpos % 8; local
74 unsigned int hpos; local
82 hpos = h->pos; /* bit position of data */
91 data = ((uint32_t)data) << (hpos % 8);
92 mask = ((uint32_t)mask) << (hpos % 8);
95 offs = hpos / 8
    [all...]
  /src/external/zlib/pigz/dist/zopfli/
hash.c 93 unsigned short hpos = pos & ZOPFLI_WINDOW_MASK; local
100 h->hashval[hpos] = h->val;
102 h->prev[hpos] = h->head[h->val];
104 else h->prev[hpos] = hpos;
105 h->head[h->val] = hpos;
116 h->same[hpos] = amount;
120 h->val2 = ((h->same[hpos] - ZOPFLI_MIN_MATCH) & 255) ^ h->val;
121 h->hashval2[hpos] = h->val2;
123 h->prev2[hpos] = h->head2[h->val2]
    [all...]
lz77.c 219 unsigned short hpos = pos & ZOPFLI_WINDOW_MASK, p, pp; local
267 assert(pp == hpos);
319 if (hhead != h->head2 && bestlength >= h->same[hpos] &&
  /src/external/gpl2/groff/dist/src/devices/grolj4/
lj4.cpp 179 int moveto(int hpos, int vpos);
180 int moveto1(int hpos, int vpos);
196 int lj4_printer::moveto(int hpos, int vpos)
198 if (cur_hpos != hpos || cur_vpos != vpos || cur_hpos < 0)
199 return moveto1(hpos, vpos);
319 if (!moveto(env->hpos, env->vpos))
327 int lj4_printer::moveto1(int hpos, int vpos)
329 if (hpos < x_offset || vpos < 0)
333 printf("%dx%dY", hpos - x_offset, vpos);
335 if (cur_hpos != hpos)
355 int hpos = env->hpos; local
    [all...]
  /src/external/bsd/libarchive/dist/libarchive/
archive_read_support_filter_rpm.c 42 uint64_t hpos; member in struct:rpm
203 rpm->hpos = 0;
209 n = rpm_limit_bytes(RPM_MIN_HEAD_SIZE - rpm->hpos,
211 memcpy(rpm->header+rpm->hpos, b, n);
214 rpm->hpos += n;
216 if (rpm->hpos == RPM_MIN_HEAD_SIZE) {
236 rpm->hlen = rpm->hpos + section * 16 + bytes;
242 n = rpm_limit_bytes(rpm->hlen - rpm->hpos,
246 rpm->hpos += n;
247 if (rpm->hpos == rpm->hlen
    [all...]
  /src/external/gpl2/groff/dist/src/devices/grolbp/
lbp.cpp 79 void polygon( int hpos,int vpos,int np,int *p);
343 if ((env->hpos != cur_hpos) || (env->vpos != cur_vpos)) {
344 // lbpmoveabs(env->hpos - ((5 * 300) / 16), env->vpos);
345 lbpmoveabs(env->hpos - 64, env->vpos - 64);
347 cur_hpos = env->hpos;
402 inline void lbp_printer::polygon(int hpos, int vpos, int np, int *p)
406 points[0] = hpos;
440 vdmline(env->hpos, env->vpos, p[0], p[1]);
442 env->hpos - 64,env->vpos -64, env->hpos - 64 + p[0]
    [all...]
  /src/external/gpl2/groff/dist/src/devices/grotty/
tty.cpp 161 int hpos; member in class:glyph
371 env->hpos, env->vpos,
386 int hpos = h / font::hor; local
387 if (hpos < SHRT_MIN || hpos > SHRT_MAX) {
418 g->hpos = hpos;
425 // increasing order of hpos, with COLOR_CHANGE and CU specials before
427 // at each hpos, and otherwise in order of occurrence.
431 if ((*pp)->hpos < hpo
654 int hpos = 0; local
    [all...]
  /src/external/gpl2/texinfo/dist/info/
window.c 706 screen at HPOS. */
708 character_width (int character, int hpos)
724 width = the_screen->width - hpos;
727 width = ((hpos + 8) & 0xf8) - hpos;
740 at HPOS. */
742 string_width (char *string, int hpos)
761 this_char_width = character_width (string[i], hpos);
763 hpos += this_char_width;
792 register int i, hpos;
791 register int i, hpos; local
1014 int i, hpos, end; local
1052 register int i, check = 0, hpos; local
    [all...]
window.h 219 screen at HPOS. */
220 extern int character_width (int character, int hpos);
223 screen at HPOS. */
224 extern int string_width (char *string, int hpos);
info-utils.h 103 of CHARACTER if it were printed at HPOS. */
104 extern char *printed_representation (unsigned char character, int hpos);
display.c 598 int vpos, hpos; local
601 hpos = window_get_cursor_column (window);
602 terminal_goto_xy (hpos, vpos);
info-utils.c 488 of CHARACTER if it were printed at HPOS. */
490 printed_representation (unsigned char character, int hpos)
511 tw = ((hpos + 8) & 0xf8) - hpos;
  /src/external/gpl2/groff/dist/src/devices/grodvi/
dvi.cpp 370 int distance = env->hpos - cur_h;
371 if (env->hpos != end_h && distance != 0) {
373 cur_h = env->hpos;
377 cur_h = env->hpos - max_drift;
381 cur_h = env->hpos + max_drift;
388 end_h = env->hpos + w;
561 moveto(env->hpos, env->vpos);
600 x = env->hpos - thickness/2;
606 x = env->hpos - thickness/2;
614 x = env->hpos - thickness/2
    [all...]
  /src/external/gpl2/groff/dist/src/include/
printer.h 46 int hpos; member in struct:environment
  /src/external/bsd/wpa/dist/src/tls/
tlsv1_common.c 383 u8 *hpos; local
387 hpos = hash;
400 hpos += hlen;
409 if (crypto_hash_finish(ctx, hpos, &hlen) < 0)
411 hpos += hlen;
412 return hpos - hash;
tlsv1_client_write.c 569 u8 hash[100], *hpos; local
606 hpos = hash;
612 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) <
644 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) {
652 hpos += MD5_MAC_LEN;
657 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) {
  /src/external/gpl2/groff/dist/src/libs/libdriver/
input.cpp 492 e_copy->hpos = e->hpos;
1020 current_env->hpos += (*args)[i];
1349 current_env->hpos += (*args)[0];
1358 current_env->hpos += (*args)[0];
1368 current_env->hpos += (*args)[0];
1389 current_env->hpos += arg;
1587 current_env->hpos = -1;
1700 current_env->hpos += hor_pos;
1744 current_env->hpos += (EnvInt) get_integer_arg()
    [all...]
  /src/external/gpl2/groff/dist/src/devices/grops/
ps.cpp 709 if (sbuf_end_hpos == env->hpos) {
715 sbuf_kern = env->hpos - sbuf_end_hpos;
716 sbuf_end_hpos = env->hpos + sbuf_kern + w;
720 /* If sbuf_end_hpos - sbuf_kern == env->hpos, we are better off
722 if (sbuf_len < SBUF_SIZE - 1 && env->hpos >= sbuf_end_hpos
723 && (sbuf_kern == 0 || sbuf_end_hpos - sbuf_kern != env->hpos)) {
727 sbuf_space_width = env->hpos - sbuf_end_hpos;
728 sbuf_end_hpos = env->hpos + w + sbuf_kern;
736 int diff = env->hpos - sbuf_end_hpos - sbuf_space_width;
738 sbuf_end_hpos = env->hpos + w + sbuf_kern
    [all...]
  /src/external/gpl3/gdb/dist/readline/readline/
misc.c 448 int hpos; local
455 hpos = where_history ();
457 entry = (hpos == history_length) ? previous_history () : current_history ();
480 history_set_pos (hpos);
  /src/external/gpl3/gdb.old/dist/readline/readline/
misc.c 448 int hpos; local
455 hpos = where_history ();
457 entry = (hpos == history_length) ? previous_history () : current_history ();
480 history_set_pos (hpos);
  /src/sys/dev/hid/
hid.c 462 u_int hpos = loc->pos; local
471 off = hpos / 8;
472 num = (hpos + hsize + 7) / 8 - off;
477 data >>= hpos % 8; local
481 DPRINTFN(10,("hid_get_udata: loc %d/%d = %lu\n", hpos, hsize, data));
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
dvo_ns2501.c 223 u16 hpos; /* horizontal position + 256, 98/99 */ member in struct:ns2501_configuration
250 .hpos = 0,
270 .hpos = 0,
289 .hpos = 0,
634 ns2501_writeb(dvo, NS2501_REG98, conf->hpos & 0xff);
635 ns2501_writeb(dvo, NS2501_REG99, conf->hpos >> 8);
  /src/sys/external/bsd/drm2/dist/drm/i2c/
ch7006_mode.c 340 int flicker, contrast, hpos, vpos; local
357 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale)
360 setbitf(state, CH7006_POV, HPOS_8, hpos);
361 setbitf(state, CH7006_HPOS, 0, hpos);
369 ch7006_dbg(client, "hpos: %d, vpos: %d\n", hpos, vpos);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_display.c 111 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos,
139 *hpos = args.scan.hline;
150 bool in_vblank_irq, int *vpos, int *hpos,
158 return nouveau_display_scanoutpos_head(crtc, vpos, hpos,
  /src/external/gpl2/groff/dist/src/devices/grohtml/
post-html.cpp 4105 env->hpos, env->vpos, env->hpos+p[0], env->vpos+p[1], line_thickness);
4265 if ((sbuf_end_hpos == env->hpos)
4267 && (env->hpos < sbuf_end_hpos)
4268 && ((sbuf_end_hpos-env->hpos < env->hpos-sbuf_prev_hpos)))) {
4274 if ((env->hpos >= sbuf_end_hpos) &&
4275 ((sbuf_kern == 0) || (sbuf_end_hpos - sbuf_kern != env->hpos))) {
4280 if (env->hpos-sbuf_end_hpos < space_width) {
4283 sbuf_end_hpos = env->hpos + w
    [all...]

Completed in 74 milliseconds

1 2