/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
untabify.py | 10 tabsize = 8
21 tabsize = int(optvalue)
24 process(filename, tabsize)
26 def process(filename, tabsize, verbose=True):
34 newtext = text.expandtabs(tabsize)
|
pindent.py | 48 # -t tabsize : set the number of spaces a tab character is worth (default 8)
81 TABSIZE = 8
99 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
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): [all...] |
/external/python/cpython2/Tools/scripts/ |
untabify.py | 10 tabsize = 8 21 tabsize = int(optvalue) 24 process(filename, tabsize) 26 def process(filename, tabsize, verbose=True): 34 newtext = text.expandtabs(tabsize)
|
pindent.py | 48 # -t tabsize : set the number of spaces a tab character is worth (default 8) 83 TABSIZE = 8 103 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): 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)) [all...] |
/external/python/cpython3/Tools/scripts/ |
untabify.py | 11 tabsize = 8 22 tabsize = int(optvalue) 25 process(filename, tabsize) 28 def process(filename, tabsize, verbose=True): 36 newtext = text.expandtabs(tabsize)
|
pindent.py | 48 # -t tabsize : set the number of spaces a tab character is worth (default 8) 81 TABSIZE = 8 101 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): 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)) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
transmogrify.h | 8 "B.expandtabs([tabsize]) -> copy of B\n\
11 If tabsize is not given, a tab size of 8 characters is assumed.");
20 int tabsize = 8;
local 22 if (!PyArg_ParseTuple(args, "|i:expandtabs", &tabsize))
30 if (tabsize > 0) {
31 Py_ssize_t incr = tabsize - (j % tabsize);
63 if (tabsize > 0) {
64 i = tabsize - (j % tabsize);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
transmogrify.h | 8 "B.expandtabs([tabsize]) -> copy of B\n\
11 If tabsize is not given, a tab size of 8 characters is assumed.");
20 int tabsize = 8;
local 22 if (!PyArg_ParseTuple(args, "|i:expandtabs", &tabsize))
30 if (tabsize > 0) {
31 j += tabsize - (j % tabsize);
67 if (tabsize > 0) {
68 i = tabsize - (j % tabsize);
[all...] |
/external/python/cpython2/Objects/stringlib/ |
transmogrify.h | 8 "B.expandtabs([tabsize]) -> copy of B\n\ 11 If tabsize is not given, a tab size of 8 characters is assumed."); 20 int tabsize = 8; local 22 if (!PyArg_ParseTuple(args, "|i:expandtabs", &tabsize)) 30 if (tabsize > 0) { 31 Py_ssize_t incr = tabsize - (j % tabsize); 63 if (tabsize > 0) { 64 i = tabsize - (j % tabsize); [all...] |
/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/ |
libfdt_internal.h | 67 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s);
|
fdt.c | 230 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s) 233 const char *last = strtab + tabsize - len;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
tokenizer.h | 27 int tabsize; /* Tab spacing */
member in struct:tok_state
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
tokenizer.h | 27 int tabsize; /* Tab spacing */
member in struct:tok_state
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/ |
libfdt_internal.h | 67 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s);
|
fdt.c | 229 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s)
232 const char *last = strtab + tabsize - len;
|
/external/dtc/libfdt/ |
libfdt_internal.h | 67 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s);
|
fdt.c | 230 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s) 233 const char *last = strtab + tabsize - len;
|
/external/python/cpython2/Parser/ |
tokenizer.h | 27 int tabsize; /* Tab spacing */ member in struct:tok_state
|
/external/python/cpython3/Parser/ |
tokenizer.h | 33 int tabsize; /* Tab spacing */ member in struct:tok_state
|
/external/u-boot/scripts/dtc/libfdt/ |
libfdt_internal.h | 67 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);
|
fdt.c | 233 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) 236 const char *last = strtab + tabsize - len;
|
/external/python/cpython3/Objects/stringlib/ |
transmogrify.h | 27 static char *kwlist[] = {"tabsize", 0}; 28 int tabsize = 8; local 31 kwlist, &tabsize)) 39 if (tabsize > 0) { 40 Py_ssize_t incr = tabsize - (j % tabsize); 72 if (tabsize > 0) { 73 i = tabsize - (j % tabsize);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
tabnanny.py | 184 def indent_level(self, tabsize):
188 # il = il + (i/tabsize + 1)*tabsize * count[i]
201 for i in range(tabsize, len(count)):
202 il = il + i/tabsize * count[i]
203 return trailing + tabsize * (il + self.nt)
|
/external/python/cpython2/Lib/ |
tabnanny.py | 184 def indent_level(self, tabsize): 188 # il = il + (i/tabsize + 1)*tabsize * count[i] 201 for i in range(tabsize, len(count)): 202 il = il + i/tabsize * count[i] 203 return trailing + tabsize * (il + self.nt)
|
/external/python/cpython3/Lib/ |
tabnanny.py | 188 def indent_level(self, tabsize): 192 # il = il + (i//tabsize + 1)*tabsize * count[i] 205 for i in range(tabsize, len(count)): 206 il = il + i//tabsize * count[i] 207 return trailing + tabsize * (il + self.nt)
|