Home | History | Annotate | Download | only in libterminfo

Lines Matching defs:ind

74 	uint16_t ind;
116 ind = _ti_decode_16(&cap);
119 !_ti_encode_buf_id_num(&tic->nums, ind, num,
194 _ti_find_cap(TIC *tic, TBUF *tbuf, char type, short ind)
205 if ((short)num == ind)
557 _ti_encode_buf_id_num(TBUF *tbuf, int ind, int num, size_t len)
561 _ti_encode_buf_16(tbuf, ind);
571 _ti_encode_buf_id_count_str(TBUF *tbuf, int ind, const void *buf, size_t len)
575 _ti_encode_buf_16(tbuf, ind);
582 _ti_encode_buf_id_flags(TBUF *tbuf, int ind, int flag)
586 _ti_encode_buf_16(tbuf, ind);
598 short ind;
677 ind = (short)_ti_strindex(token);
678 if (ind != -1 &&
679 _ti_find_cap(tic, &tic->strs, 's', ind) != NULL)
698 if (ind == -1) {
704 ind, buf.buf, buf.bufpos))
715 ind = (short)_ti_numindex(token);
716 if (ind != -1 &&
717 _ti_find_cap(tic, &tic->nums, 'n', ind) != NULL)
740 if (ind == -1) {
746 ind, num, _ti_numsize(tic)))
758 ind = (short)_ti_flagindex(token);
759 if (ind == -1 && flag == CANCELLED_BOOLEAN) {
760 if ((ind = (short)_ti_numindex(token)) != -1) {
761 if (_ti_find_cap(tic, &tic->nums, 'n', ind)
764 if (!_ti_encode_buf_id_num(&tic->nums, ind,
768 } else if ((ind = (short)_ti_strindex(token)) != -1) {
769 if (_ti_find_cap(tic, &tic->strs, 's', ind)
773 &tic->strs, ind, 0, sizeof(uint16_t)))
778 if (ind == -1) {
782 } else if (_ti_find_cap(tic, &tic->flags, 'f', ind) == NULL) {
783 if (!_ti_encode_buf_id_flags(&tic->flags, ind, flag))