Home
last modified time | relevance | path

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

123

/external/python/cpython2/Tools/scripts/
Dpindent.py103 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
107 self.tabsize = tabsize
124 self._write(line.expandtabs(self.tabsize))
156 tabs, spaces = divmod(indent*self.indentsize, self.tabsize)
268 indent = len(indentws.expandtabs(self.tabsize))
269 current = len(currentws.expandtabs(self.tabsize))
282 current = len(currentws.expandtabs(self.tabsize))
334 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
335 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
340 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
[all …]
Duntabify.py10 tabsize = 8
21 tabsize = int(optvalue)
24 process(filename, tabsize)
26 def process(filename, tabsize, verbose=True): argument
34 newtext = text.expandtabs(tabsize)
/external/python/cpython3/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)
/external/python/cpython2/Objects/stringlib/
Dtransmogrify.h20 int tabsize = 8; in stringlib_expandtabs() local
22 if (!PyArg_ParseTuple(args, "|i:expandtabs", &tabsize)) in stringlib_expandtabs()
30 if (tabsize > 0) { in stringlib_expandtabs()
31 Py_ssize_t incr = tabsize - (j % tabsize); in stringlib_expandtabs()
63 if (tabsize > 0) { in stringlib_expandtabs()
64 i = tabsize - (j % tabsize); in stringlib_expandtabs()
/external/python/cpython3/Objects/stringlib/clinic/
Dtransmogrify.h.h17 stringlib_expandtabs_impl(PyObject *self, int tabsize);
27 int tabsize = 8; in stringlib_expandtabs() local
41 tabsize = _PyLong_AsInt(args[0]); in stringlib_expandtabs()
42 if (tabsize == -1 && PyErr_Occurred()) { in stringlib_expandtabs()
46 return_value = stringlib_expandtabs_impl(self, tabsize); in stringlib_expandtabs()
/external/python/cpython3/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)
/external/python/cpython2/Lib/
Dtabnanny.py184 def indent_level(self, tabsize): argument
201 for i in range(tabsize, len(count)):
202 il = il + i/tabsize * count[i]
203 return trailing + tabsize * (il + self.nt)
Dstringold.py328 def expandtabs(s, tabsize=8): argument
339 c = ' '*(tabsize - len(line) % tabsize)
Dtokenize.py144 tabsize = 8 variable
352 column = (column//tabsize + 1)*tabsize
/external/python/cpython3/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()
/external/dtc/libfdt/
Dfdt.c230 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s) in _fdt_find_string() argument
233 const char *last = strtab + tabsize - len; in _fdt_find_string()
Dlibfdt_internal.h67 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s);
/external/tinyxml/
Dtinyxmlparser.cpp176 tabsize = _tabsize; in TiXmlParsingData()
183 int tabsize; member in TiXmlParsingData
192 if ( tabsize < 1 ) in Stamp()
249 col = (col / tabsize + 1) * tabsize; in Stamp()
1323 int tabsize = 4; in Parse() local
1325 tabsize = document->TabSize(); in Parse()
/external/python/cpython2/Modules/
Dstropmodule.c600 int tabsize = 8; in strop_expandtabs() local
604 if (!PyArg_ParseTuple(args, "s#|i:expandtabs", &string, &stringlen, &tabsize)) in strop_expandtabs()
606 if (tabsize < 1) { in strop_expandtabs()
617 Py_ssize_t incr = tabsize - (j%tabsize); in strop_expandtabs()
647 j = tabsize - (i%tabsize); in strop_expandtabs()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Ddivmod.ll45 @tabsize = external unnamed_addr global i32
61 %3 = load i32, i32* @tabsize, align 4
/external/llvm/test/CodeGen/ARM/
Ddivmod.ll44 @tabsize = external unnamed_addr global i32
60 %3 = load i32, i32* @tabsize, align 4
/external/python/cpython2/Parser/
Dtokenizer.h27 int tabsize; /* Tab spacing */ member
/external/python/cpython3/Parser/
Dtokenizer.h34 int tabsize; /* Tab spacing */ member
/external/u-boot/scripts/dtc/libfdt/
Dfdt.c291 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) in fdt_find_string_() argument
294 const char *last = strtab + tabsize - len; in fdt_find_string_()
Dlibfdt_internal.h26 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);
/external/python/cpython3/Objects/clinic/
Dunicodeobject.c.h208 unicode_expandtabs_impl(PyObject *self, int tabsize);
218 int tabsize = 8; in unicode_expandtabs() local
232 tabsize = _PyLong_AsInt(args[0]); in unicode_expandtabs()
233 if (tabsize == -1 && PyErr_Occurred()) { in unicode_expandtabs()
237 return_value = unicode_expandtabs_impl(self, tabsize); in unicode_expandtabs()
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py148 tabsize = 8 variable
403 elif line[pos] == '\t': column = (column//tabsize + 1)*tabsize
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py136 tabsize = 8 variable
396 elif line[pos] == '\t': column = (column//tabsize + 1)*tabsize

123