Lines Matching refs:ks
6571 struct ks_tbl_s *ks; in swap_tcap() local
6584 for (ks = ks_tbl; ks->code != (int)KS_NAME; ks++) in swap_tcap()
6586 bt = find_first_tcap(DEFAULT_TERM, ks->code); in swap_tcap()
6589 STRNCPY(ks->buf, bt->bt_string, KSSIZE); in swap_tcap()
6590 STRNCPY(ks->vbuf, ks->vtp, KSSIZE); in swap_tcap()
6591 STRNCPY(ks->v2buf, ks->vtp2, KSSIZE); in swap_tcap()
6593 STRNCPY(ks->arr, bt->bt_string, KSSIZE); in swap_tcap()
6594 bt->bt_string = &ks->arr[0]; in swap_tcap()
6608 for (ks = ks_tbl; ks->code != (int)KS_NAME; ks++) in swap_tcap()
6610 bt = find_first_tcap(DEFAULT_TERM, ks->code); in swap_tcap()
6616 STRNCPY(&ks->buf[0], bt->bt_string, KSSIZE); in swap_tcap()
6619 STRNCPY(&ks->vbuf[0], bt->bt_string, KSSIZE); in swap_tcap()
6622 STRNCPY(&ks->v2buf[0], bt->bt_string, KSSIZE); in swap_tcap()
6629 for (ks = ks_tbl; ks->code != (int)KS_NAME; ks++) in swap_tcap()
6631 bt = find_first_tcap(DEFAULT_TERM, ks->code); in swap_tcap()
6637 STRNCPY(bt->bt_string, &ks->buf[0], KSSIZE); in swap_tcap()
6640 STRNCPY(bt->bt_string, &ks->vbuf[0], KSSIZE); in swap_tcap()
6643 STRNCPY(bt->bt_string, &ks->v2buf[0], KSSIZE); in swap_tcap()