Home
last modified time | relevance | path

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

12

/freebsd/usr.bin/indent/
H A Dio.c167 com_st++, target += opt.tabsize; in dump_line()
172 target = opt.tabsize * (1 + (target - 1) / opt.tabsize) + 1; in dump_line()
409 while ((tcur = opt.tabsize * (1 + (curr - 1) / opt.tabsize) + 1) <= target) { in pad_output()
458 cur = opt.tabsize * (1 + (cur - 1) / opt.tabsize) + 1; in count_spaces_until()
H A Dindent.c291 col = opt.tabsize * (1 + (col - 1) / opt.tabsize) + 1; in main()
1070 opt.max_col - opt.tabsize)) in main()
1281 if ((ps.ind_level * opt.ind_size) % opt.tabsize != 0) { in indent_declaration()
1282 pos += (ps.ind_level * opt.ind_size) % opt.tabsize; in indent_declaration()
1283 cur_dec_ind += (ps.ind_level * opt.ind_size) % opt.tabsize; in indent_declaration()
1288 CHECK_SIZE_CODE(cur_dec_ind / opt.tabsize); in indent_declaration()
1289 while ((tpos = opt.tabsize * (1 + pos / opt.tabsize)) <= cur_dec_ind) { in indent_declaration()
H A Dpr_comment.c140 ps.com_col = opt.tabsize * (1 + (target_col - 1) / opt.tabsize) + 1; in pr_comment()
H A Dindent_globs.h215 int tabsize; /* the size of a tab */ member
H A Dargs.c162 {"ts", PRO_INT, 8, 0, &opt.tabsize},
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_insch.c60 int tabsize = ( in NCURSES_EXPORT() local
70 for (count = (tabsize - (win->_curx % tabsize)); count > 0; count--) { in NCURSES_EXPORT()
H A Dlib_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/contrib/ncurses/ncurses/widechar/
H A Dlib_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/sys/contrib/libfdt/
H A Dfdt.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_()
H A Dlibfdt_internal.h67 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);
/freebsd/usr.bin/sdiff/
H A Dsdiff.c75 static int tabsize = 8; /* tab size */ variable
101 { "tabsize", required_argument, NULL, TSIZE_OPT },
137 "\t--tabsize NUM: change size of tabs (default 8.)",
304 tabsize = strtonum(optarg, 1, INT_MAX, &errstr); in main()
306 errx(2, "tabsize is %s: %s", errstr, optarg); in main()
530 if (*col > SIZE_MAX - tabsize) in printcol()
534 new_col = (*col / tabsize + 1) * tabsize; in printcol()
/freebsd/usr.bin/diff/
H A Ddiff.h118 extern int tabsize, width;
H A Ddiffreg.c306 } else if (width <= 3 || width <= tabsize) { in diffreg_stone()
311 while (hw > 0 && roundup(hw + 3, tabsize) + hw > width) in diffreg_stone()
313 if (width - (roundup(hw + 3, tabsize) + hw) < tabsize) in diffreg_stone()
314 width = roundup(hw + 3, tabsize) + hw; in diffreg_stone()
1345 newcol = roundup(col + 1, tabsize); in fetch()
1751 while ((tabstop = roundup(col + 1, tabsize)) <= newcol) { in print_space()
H A Ddiff.c44 int tabsize = 8, width = 130; variable
353 tabsize = (int) strtonum(optarg, 1, INT_MAX, &errstr); in main()
/freebsd/crypto/libecc/src/fp/
H A Dfp.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/crypto/libecc/src/nn/
H A Dnn.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/crypto/libecc/include/libecc/nn/
H A Dnn.h94 ATTRIBUTE_WARN_UNUSED_RET int nn_tabselect(nn_t out, u8 idx, nn_src_t *tab, u8 tabsize);
/freebsd/stand/i386/libi386/
H A Dmultiboot.h128 multiboot_uint32_t tabsize; member
/freebsd/crypto/libecc/include/libecc/fp/
H A Dfp.h93 ATTRIBUTE_WARN_UNUSED_RET int fp_tabselect(fp_t out, u8 idx, fp_src_t *tab, u8 tabsize);
/freebsd/usr.bin/diff/tests/
H A Ddiff_test.sh16 atf_test_case tabsize
239 diff -t --tabsize 1 A B
494 atf_add_test_case tabsize
/freebsd/usr.bin/sdiff/tests/
H A Dsdiff_test.sh208 sdiff -t --tabsize 4 a b
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_sync.c1203 ipf_sync_flush_table(ipf_sync_softc_t *softs, int tabsize, synclist_t **table) in ipf_sync_flush_table() argument
1210 for (i = 0; i < tabsize; i++) { in ipf_sync_flush_table()
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_setup.c474 my_tabsize = TCB->info.tabsize; in _nc_get_screensize()
H A Dtinfo_driver.c759 TCB->info.tabsize = VALID_NUMERIC(init_tabs) ? (int) init_tabs : 8; in drv_init()
/freebsd/contrib/ncurses/ncurses/win32con/
H A Dwin32_driver.c857 TCB->info.tabsize = 8; in wcon_init()

12