Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dpindent.py99 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
103 self.tabsize = tabsize
120 self._write(line.expandtabs(self.tabsize))
156 tabs, spaces = divmod(indent*self.indentsize, self.tabsize)
272 indent = len(line[:i].expandtabs(self.tabsize))
338 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
339 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
344 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
345 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
350 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)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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 j += tabsize - (j % tabsize); in stringlib_expandtabs()
67 if (tabsize > 0) { in stringlib_expandtabs()
68 i = tabsize - (j % tabsize); in stringlib_expandtabs()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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.py143 tabsize = 8 variable
322 column = (column//tabsize + 1)*tabsize
Dstring.py471 def expandtabs(s, tabsize=8): argument
479 return s.expandtabs(tabsize)
DUserString.py85 def expandtabs(self, tabsize=8): argument
86 return self.__class__(self.data.expandtabs(tabsize))
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
Dfdt.c229 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s) in _fdt_find_string() argument
232 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);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dtokenizer.h27 int tabsize; /* Tab spacing */ member
Dtokenizer.c108 tok->tabsize = TABSIZE; in tok_new()
1230 col = (col/tok->tabsize + 1) * tok->tabsize; in tok_get()
1344 tok->tabsize = newsize; in tok_get()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dtokenizer.h27 int tabsize; /* Tab spacing */ member
Dtokenizer.c108 tok->tabsize = TABSIZE; in tok_new()
1210 col = (col/tok->tabsize + 1) * tok->tabsize; in tok_get()
1324 tok->tabsize = newsize; in tok_get()
/device/linaro/bootloader/arm-trusted-firmware/lib/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);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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 j += tabsize - (j%tabsize); in strop_expandtabs()
648 j = tabsize - (i%tabsize); in strop_expandtabs()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dtokenize.py144 tabsize = 8 variable
328 column = (column//tabsize + 1)*tabsize
Dstring.py473 def expandtabs(s, tabsize=8): argument
481 return s.expandtabs(tabsize)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dtokenize.py148 tabsize = 8 variable
401 elif line[pos] == '\t': column = (column//tabsize + 1)*tabsize
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_difflib.py151 j = difflib.HtmlDiff(tabsize=2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstringobject.c3067 int tabsize = 8; in string_expandtabs() local
3069 if (!PyArg_ParseTuple(args, "|i:expandtabs", &tabsize)) in string_expandtabs()
3078 if (tabsize > 0) { in string_expandtabs()
3079 incr = tabsize - (j % tabsize); in string_expandtabs()
3111 if (tabsize > 0) { in string_expandtabs()
3112 i = tabsize - (j % tabsize); in string_expandtabs()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstringobject.c3086 int tabsize = 8; in string_expandtabs() local
3088 if (!PyArg_ParseTuple(args, "|i:expandtabs", &tabsize)) in string_expandtabs()
3097 if (tabsize > 0) { in string_expandtabs()
3098 incr = tabsize - (j % tabsize); in string_expandtabs()
3131 if (tabsize > 0) { in string_expandtabs()
3132 i = tabsize - (j % tabsize); in string_expandtabs()

12