Lines Matching +defs:ind +defs:token
83 uint32_t ind;
91 ind = _t_flaghash((const unsigned char *)id, strlen(id));
92 if (ind < __arraycount(_ti_cap_flagids)) {
93 if (strcmp(id, _ti_cap_flagids[ind].id) == 0)
94 return cur_term->flags[_ti_cap_flagids[ind].ti];
107 uint32_t ind;
116 ind = _t_numhash((const unsigned char *)id, strlen(id));
117 if (ind < __arraycount(_ti_cap_numids)) {
118 te = &_ti_cap_numids[ind];
139 uint32_t ind;
149 ind = _t_strhash((const unsigned char *)id, strlen(id));
150 if (ind < __arraycount(_ti_cap_strids)) {
151 if (strcmp(id, _ti_cap_strids[ind].id) == 0) {
152 str = cur_term->strs[_ti_cap_strids[ind].ti];
481 { "ind", "^J" },
491 char *info, *ip, *token, *val, *p, tok[3];
507 for (token = _ti_get_token(&cap, ':');
508 token != NULL;
509 token = _ti_get_token(&cap, ':'))
511 if (token[0] == '\0')
513 name = token;
517 if (token[1] != '\0') {
518 tok[0] = token[0];
519 tok[1] = token[1];
521 if (token[2] == '\0') {
524 } else if (token[2] == '#') {
526 val = token + 2;
527 } else if (token[2] == '=') {
529 val = strval(token + 2);