/src/games/trek/ |
shield.c | 75 int ind; local in function:shield 89 ind = CLOAK; 97 ind = SHIELD; 100 if (damaged(ind)) { 102 out(ind);
|
shield.c | 75 int ind; local in function:shield 89 ind = CLOAK; 97 ind = SHIELD; 100 if (damaged(ind)) { 102 out(ind);
|
/src/lib/libterminfo/ |
ti.c | 41 ssize_t ind; local in function:ti_getflag 48 ind = _ti_flagindex(id); 49 if (ind != -1) 50 return term->flags[ind]; 72 ssize_t ind; local in function:ti_getnum 79 ind = _ti_numindex(id); 80 if (ind != -1) { 81 if (!VALID_NUMERIC(term->nums[ind])) 83 return term->nums[ind]; 109 ssize_t ind; local in function:ti_getstr [all...] |
ti.c | 41 ssize_t ind; local in function:ti_getflag 48 ind = _ti_flagindex(id); 49 if (ind != -1) 50 return term->flags[ind]; 72 ssize_t ind; local in function:ti_getnum 79 ind = _ti_numindex(id); 80 if (ind != -1) { 81 if (!VALID_NUMERIC(term->nums[ind])) 83 return term->nums[ind]; 109 ssize_t ind; local in function:ti_getstr [all...] |
term.c | 82 uint16_t ind, num; local in function:_ti_readterm 134 ind = _ti_decode_16(&cap); 135 term->flags[ind] = *cap++; 136 if (flags == 0 && !VALID_BOOLEAN(term->flags[ind])) 137 term->flags[ind] = 0; 145 ind = _ti_decode_16(&cap); 146 term->nums[ind] = _ti_decode_num(&cap, rtype); 147 if (flags == 0 && !VALID_NUMERIC(term->nums[ind])) 148 term->nums[ind] = ABSENT_NUMERIC; 156 ind = _ti_decode_16(&cap) [all...] |
term.c | 82 uint16_t ind, num; local in function:_ti_readterm 134 ind = _ti_decode_16(&cap); 135 term->flags[ind] = *cap++; 136 if (flags == 0 && !VALID_BOOLEAN(term->flags[ind])) 137 term->flags[ind] = 0; 145 ind = _ti_decode_16(&cap); 146 term->nums[ind] = _ti_decode_num(&cap, rtype); 147 if (flags == 0 && !VALID_NUMERIC(term->nums[ind])) 148 term->nums[ind] = ABSENT_NUMERIC; 156 ind = _ti_decode_16(&cap) [all...] |
compile.c | 74 uint16_t ind; local in function:_ti_promote 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 598 short ind; local in function:_ti_compile [all...] |
termcap.c | 83 uint32_t ind; local in function:tgetflag 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; local in function:tgetnum 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; local in function:tgetstr [all...] |
compile.c | 74 uint16_t ind; local in function:_ti_promote 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 598 short ind; local in function:_ti_compile [all...] |
termcap.c | 83 uint32_t ind; local in function:tgetflag 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; local in function:tgetnum 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; local in function:tgetstr [all...] |
/src/sys/opencrypto/ |
criov.c | 129 int ind, len; local in function:cuio_getptr 131 ind = 0; 132 while (loc >= 0 && ind < uio->uio_iovcnt) { 133 len = uio->uio_iov[ind].iov_len; 136 return (ind); 139 ind++; 142 if (ind > 0 && loc == 0) { 143 ind--; 144 *off = uio->uio_iov[ind].iov_len; 145 return (ind); 155 int rval, ind, uiolen; local in function:cuio_apply [all...] |
criov.c | 129 int ind, len; local in function:cuio_getptr 131 ind = 0; 132 while (loc >= 0 && ind < uio->uio_iovcnt) { 133 len = uio->uio_iov[ind].iov_len; 136 return (ind); 139 ind++; 142 if (ind > 0 && loc == 0) { 143 ind--; 144 *off = uio->uio_iov[ind].iov_len; 145 return (ind); 155 int rval, ind, uiolen; local in function:cuio_apply [all...] |
/src/usr.bin/indent/ |
pr_comment.c | 69 int ind = ind_add(ps.comment_ind + 3, local in function:fits_in_one_line 71 ind += p == start || ch_isblank(p[-1]) ? 2 : 3; 72 return ind <= max_line_length; 92 int ind; local in function:analyze_comment 97 ind = 0; 109 ind = (ps.ind_level - opt.unindent_displace) 111 if (ind <= 0) 112 ind = opt.format_col1_comments ? 0 : 1; 123 ind = ps.line_has_decl || ps.ind_level == 0 126 if (ind <= min_ind 173 int ind = ind_add(ps.comment_ind, com.s, com.len); local in function:copy_comment_wrap_text [all...] |
pr_comment.c | 69 int ind = ind_add(ps.comment_ind + 3, local in function:fits_in_one_line 71 ind += p == start || ch_isblank(p[-1]) ? 2 : 3; 72 return ind <= max_line_length; 92 int ind; local in function:analyze_comment 97 ind = 0; 109 ind = (ps.ind_level - opt.unindent_displace) 111 if (ind <= 0) 112 ind = opt.format_col1_comments ? 0 : 1; 123 ind = ps.line_has_decl || ps.ind_level == 0 126 if (ind <= min_ind 173 int ind = ind_add(ps.comment_ind, com.s, com.len); local in function:copy_comment_wrap_text [all...] |
io.c | 151 int ind = out_ind; local in function:write_indent 154 int n = new_ind / opt.tabsize - ind / opt.tabsize; 156 ind = ind - ind % opt.tabsize + n * opt.tabsize; 164 for (; ind < new_ind; ind++) { 170 debug_println("write_indent %d", ind); 171 out_ind = ind; 248 int ind = paren_indent local in function:compute_lined_up_code_indent [all...] |
io.c | 151 int ind = out_ind; local in function:write_indent 154 int n = new_ind / opt.tabsize - ind / opt.tabsize; 156 ind = ind - ind % opt.tabsize + n * opt.tabsize; 164 for (; ind < new_ind; ind++) { 170 debug_println("write_indent %d", ind); 171 out_ind = ind; 248 int ind = paren_indent local in function:compute_lined_up_code_indent [all...] |
/src/sbin/drvctl/ |
drvctl.c | 217 unsigned long ind; local in function:extract_property 234 ind = strtoul(cur, NULL, 0); 235 obj = prop_array_get(obj, ind);
|
drvctl.c | 217 unsigned long ind; local in function:extract_property 234 ind = strtoul(cur, NULL, 0); 235 obj = prop_array_get(obj, ind);
|
/src/common/dist/zlib/examples/ |
gun.c | 81 struct ind { struct 94 struct ind *me = (struct ind *)in_desc; 200 local int lunpipe(unsigned have, z_const unsigned char *next, struct ind *indp, 388 struct ind ind, *indp; local in function:gunpipe 392 ind.infile = infile; 393 ind.inbuf = inbuf; 394 indp = &ind;
|
gun.c | 81 struct ind { struct 94 struct ind *me = (struct ind *)in_desc; 200 local int lunpipe(unsigned have, z_const unsigned char *next, struct ind *indp, 388 struct ind ind, *indp; local in function:gunpipe 392 ind.infile = infile; 393 ind.inbuf = inbuf; 394 indp = &ind;
|
/src/usr.bin/m4/ |
eval.c | 855 int ind; local in function:doundiv 859 for (ind = 2; ind < argc; ind++) { 861 n = strtoi(argv[ind], NULL, 0, 1, INT_MAX, &e); 864 getdivfile(argv[ind]);
|
eval.c | 855 int ind; local in function:doundiv 859 for (ind = 2; ind < argc; ind++) { 861 n = strtoi(argv[ind], NULL, 0, 1, INT_MAX, &e); 864 getdivfile(argv[ind]);
|
/src/usr.sbin/envstat/ |
config.c | 192 unsigned long ind; local in function:config_dict_extract 209 ind = strtoul(cur, NULL, 0); 210 obj = prop_array_get(obj, ind);
|
config.c | 192 unsigned long ind; local in function:config_dict_extract 209 ind = strtoul(cur, NULL, 0); 210 obj = prop_array_get(obj, ind);
|
/src/bin/sh/ |
options.c | 581 int ind = 0; local in function:getopts 592 ind = *optnext - optfirst + 1; 642 ind = *optnext - optfirst + 1; 646 ind = 1; 651 fmtstr(s, sizeof(s), "%d", ind);
|