Lines Matching refs:cnt
488 size_t cnt)
497 (void) node_enum(el, ptr, cnt);
503 used = ct_visual_char(el->el_keymacro.buf + cnt,
504 KEY_BUFSIZ - cnt, ptr->ch);
510 (size_t)used + cnt));
514 size_t px = cnt + (size_t)used;
528 cnt));
540 node_enum(EditLine *el, keymacro_node_t *ptr, size_t cnt)
544 if (cnt >= KEY_BUFSIZ - 5) { /* buffer too small */
545 el->el_keymacro.buf[++cnt] = '"';
546 el->el_keymacro.buf[++cnt] = '\0';
561 used = ct_visual_char(el->el_keymacro.buf + cnt, KEY_BUFSIZ - cnt,
565 el->el_keymacro.buf[cnt + (size_t)used ] = '"';
566 el->el_keymacro.buf[cnt + (size_t)used + 1] = '\0';
569 (void) node_enum(el, ptr->next, cnt + (size_t)used);
573 (void) node_enum(el, ptr->sibling, cnt);