Home
last modified time | relevance | path

Searched refs:tabsize (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-14-stable/usr.bin/indent/
HDio.c173 com_st++, target += opt.tabsize; in dump_line()
178 target = opt.tabsize * (1 + (target - 1) / opt.tabsize) + 1; in dump_line()
415 while ((tcur = opt.tabsize * (1 + (curr - 1) / opt.tabsize) + 1) <= target) { in pad_output()
464 cur = opt.tabsize * (1 + (cur - 1) / opt.tabsize) + 1; in count_spaces_until()
HDindent.c299 col = opt.tabsize * (1 + (col - 1) / opt.tabsize) + 1; in main()
1078 opt.max_col - opt.tabsize)) in main()
1294 if ((ps.ind_level * opt.ind_size) % opt.tabsize != 0) { in indent_declaration()
1295 pos += (ps.ind_level * opt.ind_size) % opt.tabsize; in indent_declaration()
1296 cur_dec_ind += (ps.ind_level * opt.ind_size) % opt.tabsize; in indent_declaration()
1301 CHECK_SIZE_CODE(cur_dec_ind / opt.tabsize); in indent_declaration()
1302 while ((tpos = opt.tabsize * (1 + pos / opt.tabsize)) <= cur_dec_ind) { in indent_declaration()
HDpr_comment.c146 ps.com_col = opt.tabsize * (1 + (target_col - 1) / opt.tabsize) + 1; in pr_comment()
HDindent_globs.h217 int tabsize; /* the size of a tab */ member
/freebsd-14-stable/contrib/diff/src/
HDutil.c410 column += tabsize - column % tabsize; in lines_differ()
419 column2 += tabsize - column2 % tabsize; in lines_differ()
446 column += c1 == '\t' ? tabsize - column % tabsize : 1; in lines_differ()
553 size_t tab_size = tabsize; in output_1_line()
HDside.c51 size_t tab_size = tabsize; in tab_from_to()
85 size_t spaces = tabsize - in_position % tabsize; in print_half_line()
HDdiff.c580 if (tabsize != numval) in main()
582 if (tabsize) in main()
584 tabsize = numval; in main()
672 if (! tabsize) in main()
673 tabsize = 8; in main()
688 intmax_t t = expand_tabs ? 1 : tabsize; in main()
HDio.c290 repetitions = tabsize - column % tabsize; in find_and_hash_each_line()
360 repetitions = tabsize - column % tabsize; in find_and_hash_each_line()
HDdiff.h148 XTERN size_t tabsize; variable
/freebsd-14-stable/contrib/ncurses/ncurses/base/
HDlib_insch.c60 int tabsize = ( in NCURSES_EXPORT() local
70 for (count = (tabsize - (win->_curx % tabsize)); count > 0; count--) { in NCURSES_EXPORT()
HDlib_addch.c443 int tabsize = 8; in waddch_nosync() local
480 tabsize = *ptrTabsize(sp); in waddch_nosync()
482 tabsize = TABSIZE; in waddch_nosync()
484 x = (NCURSES_SIZE_T) (x + (tabsize - (x % tabsize))); in waddch_nosync()
/freebsd-14-stable/contrib/ncurses/ncurses/widechar/
HDlib_add_wch.c311 int tabsize = 8; in wadd_wch_nosync() local
335 tabsize = *ptrTabsize(sp); in wadd_wch_nosync()
337 tabsize = TABSIZE; in wadd_wch_nosync()
339 x = (NCURSES_SIZE_T) (x + (tabsize - (x % tabsize))); in wadd_wch_nosync()
/freebsd-14-stable/sys/contrib/libfdt/
HDfdt.c233 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) in fdt_find_string_() argument
236 const char *last = strtab + tabsize - len; in fdt_find_string_()
HDlibfdt_internal.h67 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);
/freebsd-14-stable/usr.bin/sdiff/
HDsdiff.c76 static int tabsize = 8; /* tab size */ variable
305 tabsize = strtonum(optarg, 1, INT_MAX, &errstr); in main()
531 if (*col > SIZE_MAX - tabsize) in printcol()
535 new_col = (*col / tabsize + 1) * tabsize; in printcol()
/freebsd-14-stable/usr.bin/diff/
HDdiff.h105 extern int tabsize, width;
HDdiffreg.c280 } else if (width <= 3 || width <= tabsize) { in diffreg()
285 while (hw > 0 && roundup(hw + 3, tabsize) + hw > width) in diffreg()
287 if (width - (roundup(hw + 3, tabsize) + hw) < tabsize) in diffreg()
288 width = roundup(hw + 3, tabsize) + hw; in diffreg()
1301 newcol = roundup(col + 1, tabsize); in fetch()
1699 while ((tabstop = roundup(col + 1, tabsize)) <= newcol) { in print_space()
HDdiff.c44 int tabsize = 8, width = 130; variable
317 tabsize = (int) strtonum(optarg, 1, INT_MAX, &errstr); in main()
/freebsd-14-stable/usr.bin/diff/tests/
HDdiff_test.sh17 atf_test_case tabsize
235 diff -t --tabsize 1 A B
380 atf_add_test_case tabsize
/freebsd-14-stable/crypto/libecc/src/fp/
HDfp.c366 int fp_tabselect(fp_t out, u8 idx, fp_src_t *tab, u8 tabsize) in fp_tabselect() argument
374 MUST_HAVE(((tab != NULL) && (idx < tabsize)), ret, err); in fp_tabselect()
387 for (k = 0; k < tabsize; k++) { in fp_tabselect()
/freebsd-14-stable/crypto/libecc/src/nn/
HDnn.c577 int nn_tabselect(nn_t out, u8 idx, nn_src_t *tab, u8 tabsize) in nn_tabselect() argument
584 MUST_HAVE(((tab != NULL) && (idx < tabsize)), ret, err); in nn_tabselect()
593 for (k = 0; k < tabsize; k++) { in nn_tabselect()
/freebsd-14-stable/crypto/libecc/include/libecc/nn/
HDnn.h94 ATTRIBUTE_WARN_UNUSED_RET int nn_tabselect(nn_t out, u8 idx, nn_src_t *tab, u8 tabsize);
/freebsd-14-stable/stand/i386/libi386/
HDmultiboot.h128 multiboot_uint32_t tabsize; member
/freebsd-14-stable/crypto/libecc/include/libecc/fp/
HDfp.h93 ATTRIBUTE_WARN_UNUSED_RET int fp_tabselect(fp_t out, u8 idx, fp_src_t *tab, u8 tabsize);
/freebsd-14-stable/usr.bin/sdiff/tests/
HDsdiff_test.sh208 sdiff -t --tabsize 4 a b

12