/external/ltp/include/ |
D | safe_macros_fn.h | 27 char* safe_basename(const char *file, const int lineno, 30 int safe_chdir(const char *file, const int lineno, 33 int safe_close(const char *file, const int lineno, 36 int safe_creat(const char *file, const int lineno, 39 char* safe_dirname(const char *file, const int lineno, 42 char* safe_getcwd(const char *file, const int lineno, 45 struct passwd* safe_getpwnam(const char *file, const int lineno, 48 int safe_getrusage(const char *file, const int lineno, 51 void* safe_malloc(const char *file, const int lineno, 54 int safe_mkdir(const char *file, const int lineno, [all …]
|
D | tst_safe_macros.h | 106 static inline int safe_setpgid(const char *file, const int lineno, in safe_setpgid() argument 113 tst_brk_(file, lineno, TBROK | TERRNO, in safe_setpgid() 220 static inline void *safe_mmap(const char *file, const int lineno, in safe_mmap() argument 228 tst_brk_(file, lineno, TBROK | TERRNO, in safe_mmap() 239 static inline int safe_ftruncate(const char *file, const int lineno, in safe_ftruncate() argument 246 tst_brk_(file, lineno, TBROK | TERRNO, in safe_ftruncate() 256 static inline int safe_truncate(const char *file, const int lineno, in safe_truncate() argument 263 tst_brk_(file, lineno, TBROK | TERRNO, in safe_truncate() 273 static inline int safe_stat(const char *file, const int lineno, in safe_stat() argument 281 tst_brk_(file, lineno, TBROK | TERRNO, in safe_stat() [all …]
|
D | safe_file_ops_fn.h | 29 int file_scanf(const char *file, const int lineno, 33 void safe_file_scanf(const char *file, const int lineno, 41 int file_printf(const char *file, const int lineno, 45 void safe_file_printf(const char *file, const int lineno, 53 void safe_cp(const char *file, const int lineno, 69 void safe_touch(const char *file, const int lineno,
|
D | safe_net_fn.h | 31 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void), 34 int safe_bind(const char *file, const int lineno, void (cleanup_fn)(void), 38 int safe_listen(const char *file, const int lineno, void (cleanup_fn)(void), 41 int safe_connect(const char *file, const int lineno, void (cleanup_fn)(void), 44 int safe_getsockname(const char *file, const int lineno,
|
D | safe_stdio_fn.h | 23 FILE *safe_fopen(const char *file, const int lineno, void (cleanup_fn)(void), 26 int safe_fclose(const char *file, const int lineno, void (cleanup_fn)(void), 29 int safe_asprintf(const char *file, const int lineno, void (cleanup_fn)(void), 32 FILE *safe_popen(const char *file, const int lineno, void (cleanup_fn)(void),
|
/external/libmojo/third_party/jinja2/ |
D | parser.py | 44 def fail(self, msg, lineno=None, exc=TemplateSyntaxError): argument 49 if lineno is None: 50 lineno = self.stream.current.lineno 51 raise exc(msg, lineno, self.name, self.filename) 53 def _fail_ut_eof(self, name, end_token_stack, lineno): argument 82 self.fail(' '.join(message), lineno) 84 def fail_unknown_tag(self, name, lineno=None): argument 89 return self._fail_ut_eof(name, self._end_token_stack, lineno) 91 def fail_eof(self, end_tokens=None, lineno=None): argument 96 return self._fail_ut_eof(None, stack, lineno) [all …]
|
D | ext.py | 107 def attr(self, name, lineno=None): argument 115 return nodes.ExtensionAttribute(self.identifier, name, lineno=lineno) 118 dyn_kwargs=None, lineno=None): argument 126 return nodes.Call(self.attr(name, lineno=lineno), args, kwargs, 127 dyn_args, dyn_kwargs, lineno=lineno) 217 lineno = next(parser.stream).lineno 237 name.value, name.lineno, 279 name.value, name.lineno, 298 parser.fail('pluralize without variables', lineno) 303 node.set_lineno(lineno) [all …]
|
D | lexer.py | 221 def __call__(self, lineno, filename): argument 222 raise self.error_class(self.message, lineno, filename) 228 lineno, type, value = (property(itemgetter(x)) for x in range(3)) variable in Token 230 def __new__(cls, lineno, type, value): argument 231 return tuple.__new__(cls, (lineno, intern(str(type)), value)) 262 self.lineno, 356 self.current = Token(self.current.lineno, TOKEN_EOF, '') 369 self.current.lineno, 373 self.current.lineno, 552 for lineno, token, value in stream: [all …]
|
/external/ltp/lib/ |
D | safe_macros.c | 20 char *safe_basename(const char *file, const int lineno, in safe_basename() argument 29 file, lineno, path); in safe_basename() 36 safe_chdir(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_chdir() argument 45 file, lineno, path); in safe_chdir() 52 safe_close(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_close() argument 61 file, lineno, fildes); in safe_close() 68 safe_creat(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_creat() argument 77 file, lineno, pathname, mode); in safe_creat() 83 char *safe_dirname(const char *file, const int lineno, in safe_dirname() argument 92 file, lineno, path); in safe_dirname() [all …]
|
D | safe_file_ops.c | 77 int file_scanf(const char *file, const int lineno, in file_scanf() argument 89 path, file, lineno); in file_scanf() 102 path, file, lineno); in file_scanf() 109 exp_convs, ret, path, file, lineno); in file_scanf() 116 path, file, lineno); in file_scanf() 126 path, file, lineno); in file_scanf() 131 void safe_file_scanf(const char *file, const int lineno, in safe_file_scanf() argument 144 path, file, lineno); in safe_file_scanf() 156 path, file, lineno); in safe_file_scanf() 162 exp_convs, ret, path, file, lineno); in safe_file_scanf() [all …]
|
D | safe_stdio.c | 26 FILE *safe_fopen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_fopen() argument 34 file, lineno, path, mode); in safe_fopen() 40 int safe_fclose(const char *file, const int lineno, void (cleanup_fn)(void), in safe_fclose() argument 49 "%s:%d: fclose(%p) failed", file, lineno, f); in safe_fclose() 55 int safe_asprintf(const char *file, const int lineno, void (cleanup_fn)(void), in safe_asprintf() argument 67 "%s:%d: asprintf(%s,...) failed", file, lineno, fmt); in safe_asprintf() 73 FILE *safe_popen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_popen() argument 86 file, lineno, command, type); in safe_popen() 90 file, lineno, command, type); in safe_popen()
|
D | safe_net.c | 84 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void), in safe_socket() argument 93 "%s:%d: socket(%d, %d, %d) failed", file, lineno, in safe_socket() 100 int safe_bind(const char *file, const int lineno, void (cleanup_fn)(void), in safe_bind() argument 113 "%s:%d: bind(%d, %s, %d) failed", file, lineno, in safe_bind() 129 lineno, socket, in safe_bind() 134 int safe_listen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_listen() argument 143 "%s:%d: listen(%d, %d) failed", file, lineno, socket, in safe_listen() 150 int safe_connect(const char *file, const int lineno, void (cleanup_fn)(void), in safe_connect() argument 160 "%s:%d: connect(%d, %s, %d) failed", file, lineno, in safe_connect() 168 int safe_getsockname(const char *file, const int lineno, in safe_getsockname() argument [all …]
|
D | tst_resource.c | 80 static int file_copy(const char *file, const int lineno, in file_copy() argument 93 safe_cp(file, lineno, cleanup_fn, buf, dest); in file_copy() 98 void tst_resource_copy(const char *file, const int lineno, in tst_resource_copy() argument 105 file, lineno); in tst_resource_copy() 116 if (file_copy(file, lineno, cleanup_fn, dataroot, filename, dest)) in tst_resource_copy() 124 if (file_copy(file, lineno, cleanup_fn, buf, filename, dest)) in tst_resource_copy() 130 if (file_copy(file, lineno, cleanup_fn, startwd, filename, dest)) in tst_resource_copy() 134 filename, file, lineno); in tst_resource_copy()
|
D | tst_res.c | 145 static void tst_res__(const char *file, const int lineno, int ttype, in tst_res__() argument 155 len = sprintf(tmesg, "%s:%d: ", file, lineno); in tst_res__() 441 static void tst_brk__(const char *file, const int lineno, int ttype, in tst_brk__() argument 463 tst_res__(file, lineno, ttype, "%s", tmesg); in tst_brk__() 466 tst_res__(file, lineno, ttype, in tst_brk__() 470 tst_res__(file, lineno, TBROK, in tst_brk__() 490 void tst_resm_(const char *file, const int lineno, int ttype, in tst_resm_() argument 498 tst_res_(file, lineno, ttype, "%s", tmesg); in tst_resm_() 500 tst_res__(file, lineno, ttype, "%s", tmesg); in tst_resm_() 503 void tst_resm_hexd_(const char *file, const int lineno, int ttype, in tst_resm_hexd_() argument [all …]
|
D | ltp_priv.h | 58 void tst_vbrk_(const char *file, const int lineno, int ttype, 61 void tst_brk_(const char *file, const int lineno, int ttype, 64 void tst_vres_(const char *file, const int lineno, int ttype, 67 void tst_res_(const char *file, const int lineno, int ttype, 71 #define NO_NEWLIB_ASSERT(file, lineno) \ argument 73 tst_brk_(file, lineno, TBROK, \
|
D | tst_checkpoint.c | 39 void tst_checkpoint_init(const char *file, const int lineno, in tst_checkpoint_init() argument 48 file, lineno); in tst_checkpoint_init() 65 "first (call tst_tmpdir())", file, lineno); in tst_checkpoint_init() 128 void tst_safe_checkpoint_wait(const char *file, const int lineno, in tst_safe_checkpoint_wait() argument 136 file, lineno, id, DEFAULT_MSEC_TIMEOUT); in tst_safe_checkpoint_wait() 140 void tst_safe_checkpoint_wake(const char *file, const int lineno, in tst_safe_checkpoint_wake() argument 149 file, lineno, id, nr_wake, DEFAULT_MSEC_TIMEOUT); in tst_safe_checkpoint_wake()
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | parser.py | 40 def __init__(self, filename, message, lineno=None, snippet=None): argument 41 Error.__init__(self, filename, message, lineno=lineno, 82 p[2].lineno, snippet=self._GetSnippet(p[2].lineno)) 87 p[2].lineno, snippet=self._GetSnippet(p[2].lineno)) 96 p[2].lineno, snippet=self._GetSnippet(p[2].lineno)) 109 p[0] = ast.Import(eval(p[2]), filename=self.filename, lineno=p.lineno(2)) 113 p[0] = ast.Module(p[3], p[1], filename=self.filename, lineno=p.lineno(2)) 151 p[0] = ast.Attribute(p[1], p[3], filename=self.filename, lineno=p.lineno(1)) 155 p[0] = ast.Attribute(p[1], True, filename=self.filename, lineno=p.lineno(1)) 266 filename=self.filename, lineno=p.lineno(3)) [all …]
|
/external/iptables/ |
D | iptables-test.py | 42 def print_error(reason, filename=None, lineno=None): argument 47 Colors.ENDC + ": line %d (%s)" % (lineno, reason)) 50 def delete_rule(iptables, rule, filename, lineno): argument 55 ret = execute_cmd(cmd, filename, lineno) 58 print_error(reason, filename, lineno) 64 def run_test(iptables, rule, rule_save, res, filename, lineno): argument 79 ret = execute_cmd(cmd, filename, lineno) 87 print_error(reason, filename, lineno) 95 print_error(reason, filename, lineno) 96 delete_rule(iptables, rule, filename, lineno) [all …]
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
D | ast_unittest.py | 50 node1 = ast.NodeBase(filename="hello.mojom", lineno=123) 62 self.assertEquals(node1.lineno, 123) 64 self.assertIsNone(node2.lineno) 75 node4 = _TestNode(123, filename="world.mojom", lineno=123) 81 node1 = _TestNode(1, filename="foo.mojom", lineno=1) 83 node1b = _TestNode(1, filename="foo.mojom", lineno=1) 84 node2 = _TestNode(2, filename="foo.mojom", lineno=2) 90 self.assertIsNone(nodelist1.lineno) 97 self.assertEquals(nodelist2.lineno, 1) 104 self.assertEquals(nodelist3.lineno, 2) [all …]
|
/external/llvm/test/DebugInfo/ |
D | debugmacinfo.test | 11 TEST_MACINFO: DW_MACINFO_define - lineno: 0 macro: M3 Value3 12 TEST_MACINFO: DW_MACINFO_start_file - lineno: 0 filenum: 1 13 TEST_MACINFO: DW_MACINFO_start_file - lineno: 0 filenum: 2 14 TEST_MACINFO: DW_MACINFO_define - lineno: 1 macro: M4 Value4 16 TEST_MACINFO: DW_MACINFO_define - lineno: 1 macro: M1 Value1 17 TEST_MACINFO: DW_MACINFO_start_file - lineno: 2 filenum: 3 18 TEST_MACINFO: DW_MACINFO_undef - lineno: 4 macro: M1 19 TEST_MACINFO: DW_MACINFO_define - lineno: 5 macro: M1 NewValue1 21 TEST_MACINFO: DW_MACINFO_define - lineno: 3 macro: M2(x,y) ((x)+(y)* Value2)
|
/external/libpng/scripts/ |
D | dfn.awk | 75 lineno=FNR 76 if (lineno == "") lineno=NR 79 print "line", lineno ": processing failed:" 119 print "line", lineno, ": internal error:", orig 136 print "line", lineno ": unbalanced @\" ... \"@ pair" 160 print "line", lineno ": unterminated PNG_DFN string"
|
/external/selinux/libsemanage/src/ |
D | parse_utils.c | 30 tmp_info->lineno = 0; in parse_init() 88 int lineno = info->lineno; in parse_skip_space() local 105 lineno++; in parse_skip_space() 121 info->lineno = lineno; in parse_skip_space() 146 info->filename, info->lineno); in parse_assert_noeof() 161 info->filename, info->lineno, info->orig_line); in parse_assert_space() 181 info->lineno, info->orig_line); in parse_assert_ch() 202 info->filename, info->lineno, info->orig_line); in parse_assert_str() 247 info->filename, info->lineno, info->orig_line); in parse_fetch_int() 255 info->lineno, info->orig_line); in parse_fetch_int() [all …]
|
/external/ltp/include/old/ |
D | safe_macros.h | 168 static inline void *safe_mmap(const char *file, const int lineno, in safe_mmap() argument 178 file, lineno, addr, length, prot, flags, fd, in safe_mmap() 188 static inline int safe_ftruncate(const char *file, const int lineno, in safe_ftruncate() argument 197 file, lineno, fd, (long)length); in safe_ftruncate() 205 static inline int safe_truncate(const char *file, const int lineno, in safe_truncate() argument 214 file, lineno, path, (long)length); in safe_truncate() 222 static inline int safe_stat(const char *file, const int lineno, in safe_stat() argument 231 "%s:%d: stat(%s,%p) failed", file, lineno, path, buf); in safe_stat() 239 static inline int safe_fstat(const char *file, const int lineno, in safe_fstat() argument 248 "%s:%d: fstat(%d,%p) failed", file, lineno, fd, buf); in safe_fstat() [all …]
|
/external/autotest/contrib/ |
D | coverage.py | 128 lineno = node.lineno 131 if lineno and f: 132 lineno = min(lineno, f) 134 lineno = lineno or f 135 return lineno 139 lineno = node.lineno 141 lineno = max(lineno, self.getLastLine(n)) 142 return lineno 155 l = node.lineno 177 def recordLine(self, lineno): argument [all …]
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/ |
D | error.py | 8 def __init__(self, filename, message, lineno=None, addenda=None, **kwargs): argument 16 self.lineno = lineno 20 if self.lineno: 21 s = "%s:%d: Error: %s" % (self.filename, self.lineno, self.message)
|