Home
last modified time | relevance | path

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

12

/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/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/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
345 column = (column//tabsize + 1)*tabsize
Dstring.py473 def expandtabs(s, tabsize=8): argument
481 return s.expandtabs(tabsize)
DUserString.py85 def expandtabs(self, tabsize=8): argument
86 return self.__class__(self.data.expandtabs(tabsize))
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
Ddivmod.ll31 @tabsize = external unnamed_addr global i32
43 %3 = load i32* @tabsize, align 4
/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()
Dtinyxml.h1326 void SetTabSize( int _tabsize ) { tabsize = _tabsize; } in SetTabSize()
1328 int TabSize() const { return tabsize; } in TabSize()
1362 int tabsize; variable
Dtinyxml.cpp897 tabsize = 4; in TiXmlDocument()
904 tabsize = 4; in TiXmlDocument()
914 tabsize = 4; in TiXmlDocument()
/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/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
Dtokenizer.c108 tok->tabsize = TABSIZE; in tok_new()
1236 col = (col/tok->tabsize + 1) * tok->tabsize; in tok_get()
1350 tok->tabsize = newsize; in tok_get()
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py148 tabsize = 8 variable
403 elif line[pos] == '\t': column = (column//tabsize + 1)*tabsize
/external/syslinux/com32/mboot/
Dmb_info.h123 uint32_t tabsize; member
/external/syslinux/gpxe/src/arch/i386/include/
Dmultiboot.h88 uint32_t tabsize; member
/external/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
/external/python/cpython2/Lib/test/
Dtest_difflib.py160 j = difflib.HtmlDiff(tabsize=2)

12