Home
last modified time | relevance | path

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

12

/third_party/python/Tools/scripts/
Dpindent.py101 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
105 self.tabsize = tabsize
122 self._write(line.expandtabs(self.tabsize))
154 tabs, spaces = divmod(indent*self.indentsize, self.tabsize)
266 indent = len(indentws.expandtabs(self.tabsize))
267 current = len(currentws.expandtabs(self.tabsize))
280 current = len(currentws.expandtabs(self.tabsize))
332 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
333 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
338 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
[all …]
Duntabify.py11 tabsize = 8
22 tabsize = int(optvalue)
25 process(filename, tabsize)
28 def process(filename, tabsize, verbose=True): argument
36 newtext = text.expandtabs(tabsize)
/third_party/ffmpeg/libavfilter/
Daf_superequalizer.c50 int winlen, tabsize; member
146 s->tabsize = 1 << wb; in equ_init()
148 s->ires = av_calloc(s->tabsize, sizeof(float)); in equ_init()
149 s->irest = av_calloc(s->tabsize, sizeof(float)); in equ_init()
150 s->fsamples = av_calloc(s->tabsize, sizeof(float)); in equ_init()
166 const int tabsize = s->tabsize; in make_fir() local
176 for (; i < tabsize; i++) in make_fir()
181 for (i = 0; i < tabsize; i++) in make_fir()
209 for (; i < s->tabsize; i++) in filter_frame()
216 for (i = 1; i < s->tabsize / 2; i++) { in filter_frame()
[all …]
Dvf_drawtext.c174 int tabsize; ///< tab size member
229 …{"tabsize", "set tab size", OFFSET(tabsize), AV_OPT_TYPE_INT, {.i64=4}, …
777 s->tabsize *= glyph->advance; in init()
1427 if (code == '\t') x = (x / s->tabsize + 1)*s->tabsize; in draw_text()
/third_party/ffmpeg/libavcodec/
Dlzwenc.c54 int tabsize; ///< Number of values in hash table member
154 s->tab[hash_code].code = s->tabsize; in addCode()
158 s->tabsize++; in addCode()
160 if (s->tabsize >= (1 << s->bits) + (s->mode == FF_LZW_GIF)) in addCode()
183 s->tabsize = 258; in clearTable()
249 if (s->tabsize >= s->maxcode - 1) { in ff_lzw_encode()
/third_party/python/Objects/stringlib/clinic/
Dtransmogrify.h.h17 stringlib_expandtabs_impl(PyObject *self, int tabsize);
27 int tabsize = 8; in stringlib_expandtabs() local
36 tabsize = _PyLong_AsInt(args[0]); in stringlib_expandtabs()
37 if (tabsize == -1 && PyErr_Occurred()) { in stringlib_expandtabs()
41 return_value = stringlib_expandtabs_impl(self, tabsize); in stringlib_expandtabs()
/third_party/python/Lib/
Dtabnanny.py188 def indent_level(self, tabsize): argument
205 for i in range(tabsize, len(count)):
206 il = il + i//tabsize * count[i]
207 return trailing + tabsize * (il + self.nt)
Dtextwrap.py125 tabsize=8, argument
138 self.tabsize = tabsize
154 text = text.expandtabs(self.tabsize)
Dtokenize.py157 tabsize = 8 variable
489 column = (column//tabsize + 1)*tabsize
Ddifflib.py1688 def __init__(self,tabsize=8,wrapcolumn=None,linejunk=None, argument
1700 self._tabsize = tabsize
/third_party/python/Objects/stringlib/
Dtransmogrify.h38 stringlib_expandtabs_impl(PyObject *self, int tabsize) in stringlib_expandtabs_impl() argument
51 if (tabsize > 0) { in stringlib_expandtabs_impl()
52 Py_ssize_t incr = tabsize - (j % tabsize); in stringlib_expandtabs_impl()
84 if (tabsize > 0) { in stringlib_expandtabs_impl()
85 i = tabsize - (j % tabsize); in stringlib_expandtabs_impl()
/third_party/python/Parser/
Dtokenizer.h45 int tabsize; /* Tab spacing */ member
Dtokenizer.c66 tok->tabsize = TABSIZE; in tok_new()
1371 col = (col / tok->tabsize + 1) * tok->tabsize; in tok_get()
/third_party/python/Objects/clinic/
Dunicodeobject.c.h203 unicode_expandtabs_impl(PyObject *self, int tabsize);
213 int tabsize = 8; in unicode_expandtabs() local
222 tabsize = _PyLong_AsInt(args[0]); in unicode_expandtabs()
223 if (tabsize == -1 && PyErr_Occurred()) { in unicode_expandtabs()
227 return_value = unicode_expandtabs_impl(self, tabsize); in unicode_expandtabs()
/third_party/python/Lib/lib2to3/pgen2/
Dtokenize.py136 tabsize = 8 variable
396 elif line[pos] == '\t': column = (column//tabsize + 1)*tabsize
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
Dtinyxmlparser.cpp185 tabsize = _tabsize; in TiXmlParsingData()
192 int tabsize; member in TiXmlParsingData
201 if ( tabsize < 1 ) in Stamp()
258 col = (col / tabsize + 1) * tabsize; in Stamp()
Dtinyxml.cpp915 tabsize = 4; in TiXmlDocument()
922 tabsize = 4; in TiXmlDocument()
932 tabsize = 4; in TiXmlDocument()
1122 target->tabsize = tabsize; in CopyTo()
Dtinyxml.h1504 void SetTabSize( int _tabsize ) { tabsize = _tabsize; } in SetTabSize()
1506 int TabSize() const { return tabsize; } in TabSize()
1552 int tabsize; variable
/third_party/python/Doc/library/
Dtextwrap.rst24 break_on_hyphens=True, tabsize=8, max_lines=None)
41 break_on_hyphens=True, tabsize=8, \
74 function, so changing the value of :attr:`.tabsize`, :attr:`.expand_tabs`,
178 .. attribute:: tabsize
/third_party/ltp/scripts/
Dcheckpatch.pl73 my $tabsize = 8;
112 --tab-size=n set the number of spaces for tab (default $tabsize)
309 'tab-size=i' => \$tabsize,
368 die "$P: Invalid TAB size: $tabsize\n" if ($tabsize < 2);
1466 for (; ($n % $tabsize) != 0; $n++) {
2496 my $source_indent = $tabsize;
3755 s/(^\+.*) {$tabsize,$tabsize}\t/$1\t\t/) {}
3791 if ($indent % $tabsize) {
3795 $fixed[$fixlinenr] =~ s@(^\+\t+) +@$1 . "\t" x ($indent/$tabsize)@e;
3813 "\t" x ($pos / $tabsize) .
[all …]
/third_party/python/Lib/test/
Dtest_curses.py846 tabsize = curses.get_tabsize()
847 self.assertIsInstance(tabsize, int)
850 curses.set_tabsize(tabsize)
Dtest_bigmem.py120 tabsize = 8
123 slen, remainder = divmod(size, tabsize)
125 s = s.expandtabs(tabsize)
Dstring_tests.py386 'expandtabs', tabsize=8)
388 'expandtabs', tabsize=4)
/third_party/python/Lib/idlelib/
Deditor.py1586 save_tabsize = tokenize.tabsize
1587 tokenize.tabsize = self.tabwidth
1598 tokenize.tabsize = save_tabsize
/third_party/python/Lib/collections/
D__init__.py1430 def expandtabs(self, tabsize=8): argument
1431 return self.__class__(self.data.expandtabs(tabsize))

12