/prebuilts/gdb/darwin-x86/lib/python2.7/compiler/ |
ast.py | 54 def __init__(self, leftright, lineno=None): 57 self.lineno = lineno 69 def __init__(self, nodes, lineno=None): 71 self.lineno = lineno 85 def __init__(self, expr, attrname, flags, lineno=None): 89 self.lineno = lineno 101 def __init__(self, nodes, lineno=None) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/compiler/ |
ast.py | 54 def __init__(self, leftright, lineno=None): 57 self.lineno = lineno 69 def __init__(self, nodes, lineno=None): 71 self.lineno = lineno 85 def __init__(self, expr, attrname, flags, lineno=None): 89 self.lineno = lineno 101 def __init__(self, nodes, lineno=None) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/compiler/ |
ast.py | 54 def __init__(self, leftright, lineno=None): 57 self.lineno = lineno 69 def __init__(self, nodes, lineno=None): 71 self.lineno = lineno 85 def __init__(self, expr, attrname, flags, lineno=None): 89 self.lineno = lineno 101 def __init__(self, nodes, lineno=None) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/compiler/ |
ast.py | 54 def __init__(self, leftright, lineno=None): 57 self.lineno = lineno 69 def __init__(self, nodes, lineno=None): 71 self.lineno = lineno 85 def __init__(self, expr, attrname, flags, lineno=None): 89 self.lineno = lineno 101 def __init__(self, nodes, lineno=None) [all...] |
/external/ltp/lib/ |
tst_checkpoint.c | 39 void tst_checkpoint_init(const char *file, const int lineno, 48 file, lineno); 66 "first (call tst_tmpdir())", file, lineno); 130 void tst_safe_checkpoint_wait(const char *file, const int lineno, 144 file, lineno, id, msec_timeout); 148 void tst_safe_checkpoint_wake(const char *file, const int lineno, 157 file, lineno, id, nr_wake, DEFAULT_MSEC_TIMEOUT);
|
safe_net.c | 84 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void), 93 "%s:%d: socket(%d, %d, %d) failed", file, lineno, 100 int safe_setsockopt(const char *file, const int lineno, int sockfd, int level, 110 file, lineno, sockfd, level, optname, optval, optlen); 116 ssize_t safe_send(const char *file, const int lineno, char len_strict, 126 file, lineno, sockfd, buf, len, flags); 132 ssize_t safe_sendto(const char *file, const int lineno, char len_strict, 144 file, lineno, sockfd, buf, len, flags, 152 int safe_bind(const char *file, const int lineno, void (cleanup_fn)(void), 165 "%s:%d: bind(%d, %s, %d) failed", file, lineno, [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
texcheck.py | 21 -s lineno: Start at lineno (useful for skipping complex sections).
81 -s lineno: linenumber to start scan (default is 1).
115 lineno = 0
117 for lineno, line in izip(count(startline), islice(source, startline-1, None)):
123 print lineno, '|', begend, name, punct,
125 openers.append((lineno, name))
127 openers.append((lineno, punct))
129 matchclose(lineno, name, openers, pairmap)
131 matchclose(lineno, punct, openers, pairmap) [all...] |
/external/python/cpython2/Tools/scripts/ |
texcheck.py | 21 -s lineno: Start at lineno (useful for skipping complex sections). 81 -s lineno: linenumber to start scan (default is 1). 115 lineno = 0 117 for lineno, line in izip(count(startline), islice(source, startline-1, None)): 123 print lineno, '|', begend, name, punct, 125 openers.append((lineno, name)) 127 openers.append((lineno, punct)) 129 matchclose(lineno, name, openers, pairmap) 131 matchclose(lineno, punct, openers, pairmap [all...] |
/external/iptables/ |
iptables-test.py | 42 def print_error(reason, filename=None, lineno=None): 47 Colors.ENDC + ": line %d (%s)" % (lineno, reason)) 50 def delete_rule(iptables, rule, filename, lineno): 55 ret = execute_cmd(cmd, filename, lineno) 58 print_error(reason, filename, lineno) 64 def run_test(iptables, rule, rule_save, res, filename, lineno): 74 :param lineno: line number being tested (used for print_error purposes) 79 ret = execute_cmd(cmd, filename, lineno) 87 print_error(reason, filename, lineno) 95 print_error(reason, filename, lineno) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
warnings.py | 25 def _show_warning(message, category, filename, lineno, file=None, line=None):
33 file.write(formatwarning(message, category, filename, lineno, line))
40 def formatwarning(message, category, filename, lineno, line=None):
42 s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message)
43 line = linecache.getline(filename, lineno) if line is None else line
49 def filterwarnings(action, message="", category=Warning, module="", lineno=0,
58 'lineno' -- an integer line number, 0 matches all warnings
69 assert isinstance(lineno, int) and lineno >= 0, \
70 "lineno must be an int >= 0" [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
warnings.py | 24 def _show_warning(message, category, filename, lineno, file=None, line=None):
29 file.write(formatwarning(message, category, filename, lineno, line))
36 def formatwarning(message, category, filename, lineno, line=None):
38 s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message)
39 line = linecache.getline(filename, lineno) if line is None else line
45 def filterwarnings(action, message="", category=Warning, module="", lineno=0,
54 'lineno' -- an integer line number, 0 matches all warnings
65 assert isinstance(lineno, int) and lineno >= 0, \
66 "lineno must be an int >= 0" [all...] |
/external/ltp/include/ |
tst_safe_pthread.h | 35 int safe_pthread_create(const char *file, const int lineno, 41 int safe_pthread_join(const char *file, const int lineno,
|
tst_mkfs.h | 26 void tst_mkfs_(const char *file, const int lineno, void (cleanup_fn)(void),
|
tst_safe_prw.h | 21 static inline ssize_t safe_pread(const char *file, const int lineno, 30 tst_brk_(file, lineno, TBROK | TERRNO, 41 static inline ssize_t safe_pwrite(const char *file, const int lineno, 49 tst_brk_(file, lineno, TBROK | TERRNO,
|
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/include/ |
cpuhotplug_testsuite.sh | 25 # assert "$condition" $LINENO 27 # Note that $LINENO is a built-in 40 lineno=$2 45 echo "File \"$0\", line $lineno"
|
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/ |
libnewipc.h | 45 key_t getipckey(const char *file, const int lineno); 49 int get_used_queues(const char *file, const int lineno);
|
/external/python/cpython2/Lib/ |
warnings.py | 25 def _show_warning(message, category, filename, lineno, file=None, line=None): 33 file.write(formatwarning(message, category, filename, lineno, line)) 40 def formatwarning(message, category, filename, lineno, line=None): 50 s = "%s: %s: %s\n" % (lineno, category.__name__, message) 51 line = linecache.getline(filename, lineno) if line is None else line 67 def filterwarnings(action, message="", category=Warning, module="", lineno=0, 76 'lineno' -- an integer line number, 0 matches all warnings 87 assert isinstance(lineno, int) and lineno >= 0, \ 88 "lineno must be an int >= 0 [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
warnings.py | 24 def _show_warning(message, category, filename, lineno, file=None, line=None): 29 file.write(formatwarning(message, category, filename, lineno, line)) 36 def formatwarning(message, category, filename, lineno, line=None): 38 s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message) 39 line = linecache.getline(filename, lineno) if line is None else line 45 def filterwarnings(action, message="", category=Warning, module="", lineno=0, 54 'lineno' -- an integer line number, 0 matches all warnings 65 assert isinstance(lineno, int) and lineno >= 0, \ 66 "lineno must be an int >= 0 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
warnings.py | 24 def _show_warning(message, category, filename, lineno, file=None, line=None): 29 file.write(formatwarning(message, category, filename, lineno, line)) 36 def formatwarning(message, category, filename, lineno, line=None): 38 s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message) 39 line = linecache.getline(filename, lineno) if line is None else line 45 def filterwarnings(action, message="", category=Warning, module="", lineno=0, 54 'lineno' -- an integer line number, 0 matches all warnings 65 assert isinstance(lineno, int) and lineno >= 0, \ 66 "lineno must be an int >= 0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
warnings.py | 24 def _show_warning(message, category, filename, lineno, file=None, line=None): 29 file.write(formatwarning(message, category, filename, lineno, line)) 36 def formatwarning(message, category, filename, lineno, line=None): 38 s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message) 39 line = linecache.getline(filename, lineno) if line is None else line 45 def filterwarnings(action, message="", category=Warning, module="", lineno=0, 54 'lineno' -- an integer line number, 0 matches all warnings 65 assert isinstance(lineno, int) and lineno >= 0, \ 66 "lineno must be an int >= 0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
warnings.py | 24 def _show_warning(message, category, filename, lineno, file=None, line=None): 29 file.write(formatwarning(message, category, filename, lineno, line)) 36 def formatwarning(message, category, filename, lineno, line=None): 38 s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message) 39 line = linecache.getline(filename, lineno) if line is None else line 45 def filterwarnings(action, message="", category=Warning, module="", lineno=0, 54 'lineno' -- an integer line number, 0 matches all warnings 65 assert isinstance(lineno, int) and lineno >= 0, \ 66 "lineno must be an int >= 0 [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/ |
driver.py | 43 lineno = 1
49 if start != (lineno, column):
50 assert (lineno, column) <= start, ((lineno, column), start)
52 if lineno < s_lineno:
53 prefix += "\n" * (s_lineno - lineno)
54 lineno = s_lineno
61 lineno, column = end
63 lineno += 1
76 lineno, column = end [all...] |
/bionic/linker/ |
linker_config.cpp | 99 size_t lineno() const { function in class:ConfigParser 134 PropertyValue(std::string&& value, size_t lineno) 135 : value_(value), lineno_(lineno) {} 141 size_t lineno() const { function in class:PropertyValue 151 size_t lineno, 154 async_safe_format_buffer(buf, sizeof(buf), "%s:%zu: error: %s", file, lineno, msg.c_str()); 185 cp.lineno(), 199 cp.lineno(), 212 cp.lineno()); 237 cp.lineno(), 433 size_t lineno = 0; local [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/obj/ |
line.go | 15 // an incrementing count of lines processed in any input file and typically named lineno, 21 // In typical use, the virtual lineno begins at 1, and file line numbers also begin at 1, 23 // - calls to Push, Update, and Pop must be monotonically increasing in lineno 42 Lineno int // virtual line number where this entry takes effect 45 FileLine int // line number in file at Lineno 50 func (stk *LineStack) fileLineAt(lineno int) int { 51 return stk.FileLine + lineno - stk.Lineno 58 Start int // starting lineno 63 func (h *LineHist) startRange(lineno int, top *LineStack) [all...] |
/prebuilts/go/linux-x86/src/cmd/internal/obj/ |
line.go | 15 // an incrementing count of lines processed in any input file and typically named lineno, 21 // In typical use, the virtual lineno begins at 1, and file line numbers also begin at 1, 23 // - calls to Push, Update, and Pop must be monotonically increasing in lineno 42 Lineno int // virtual line number where this entry takes effect 45 FileLine int // line number in file at Lineno 50 func (stk *LineStack) fileLineAt(lineno int) int { 51 return stk.FileLine + lineno - stk.Lineno 58 Start int // starting lineno 63 func (h *LineHist) startRange(lineno int, top *LineStack) [all...] |