Home
last modified time | relevance | path

Searched defs:lineno (Results 1 – 25 of 202) sorted by relevance

123456789

/third_party/ltp/lib/
Dtst_safe_macros.c22 int safe_setpgid(const char *file, const int lineno, pid_t pid, pid_t pgid) in safe_setpgid()
40 pid_t safe_getpgid(const char *file, const int lineno, pid_t pid) in safe_getpgid()
57 int safe_setgroups(const char *file, const int lineno, size_t size, const gid_t *list) in safe_setgroups()
75 int safe_getgroups(const char *file, const int lineno, int size, gid_t list[]) in safe_getgroups()
93 int safe_personality(const char *filename, unsigned int lineno, in safe_personality()
110 int safe_setregid(const char *file, const int lineno, in safe_setregid()
129 int safe_setreuid(const char *file, const int lineno, in safe_setreuid()
148 int safe_setresgid(const char *file, const int lineno, in safe_setresgid()
168 int safe_setresuid(const char *file, const int lineno, in safe_setresuid()
188 int safe_sigaction(const char *file, const int lineno, in safe_sigaction()
[all …]
Dsafe_macros.c27 char *safe_basename(const char *file, const int lineno, in safe_basename()
43 safe_chdir(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_chdir()
62 safe_close(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_close()
81 safe_creat(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_creat()
100 char *safe_dirname(const char *file, const int lineno, in safe_dirname()
115 char *safe_getcwd(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_getcwd()
130 struct passwd *safe_getpwnam(const char *file, const int lineno, in safe_getpwnam()
146 safe_getrusage(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_getrusage()
165 void *safe_malloc(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_malloc()
180 int safe_mkdir(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_mkdir()
[all …]
Dtst_safe_sysv_ipc.c64 int safe_msgget(const char *file, const int lineno, key_t key, int msgflg) in safe_msgget()
82 int safe_msgsnd(const char *file, const int lineno, int msqid, const void *msgp, in safe_msgsnd()
102 ssize_t safe_msgrcv(const char *file, const int lineno, int msqid, void *msgp, in safe_msgrcv()
122 int safe_msgctl(const char *file, const int lineno, int msqid, int cmd, in safe_msgctl()
141 int safe_shmget(const char *file, const int lineno, key_t key, size_t size, in safe_shmget()
160 void *safe_shmat(const char *file, const int lineno, int shmid, in safe_shmat()
175 int safe_shmdt(const char *file, const int lineno, const void *shmaddr) in safe_shmdt()
192 int safe_shmctl(const char *file, const int lineno, int shmid, int cmd, in safe_shmctl()
211 int safe_semget(const char *file, const int lineno, key_t key, int nsems, in safe_semget()
230 int safe_semctl(const char *file, const int lineno, int semid, int semnum, in safe_semctl()
[all …]
Dsafe_net.c85 int tst_getsockport(const char *file, const int lineno, int sockfd) in tst_getsockport()
108 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void), in safe_socket()
139 int safe_socketpair(const char *file, const int lineno, int domain, int type, in safe_socketpair()
169 int safe_getsockopt(const char *file, const int lineno, int sockfd, int level, in safe_getsockopt()
187 int safe_setsockopt(const char *file, const int lineno, int sockfd, int level, in safe_setsockopt()
207 ssize_t safe_send(const char *file, const int lineno, char len_strict, in safe_send()
227 ssize_t safe_sendto(const char *file, const int lineno, char len_strict, in safe_sendto()
253 ssize_t safe_sendmsg(const char *file, const int lineno, size_t len, in safe_sendmsg()
276 ssize_t safe_recv(const char *file, const int lineno, size_t len, in safe_recv()
301 ssize_t safe_recvmsg(const char *file, const int lineno, size_t len, in safe_recvmsg()
[all …]
Dtst_netdevice.c18 const int lineno, unsigned int type, unsigned int flags, in create_request()
40 int tst_netdev_index_by_name(const char *file, const int lineno, in tst_netdev_index_by_name()
64 int tst_netdev_set_state(const char *file, const int lineno, in tst_netdev_set_state()
100 int tst_create_veth_pair(const char *file, const int lineno, in tst_create_veth_pair()
159 int tst_netdev_add_device(const char *file, const int lineno, in tst_netdev_add_device()
203 int tst_netdev_remove_device(const char *file, const int lineno, in tst_netdev_remove_device()
238 static int modify_address(const char *file, const int lineno, in modify_address()
288 int tst_netdev_add_address(const char *file, const int lineno, in tst_netdev_add_address()
297 int tst_netdev_add_address_inet(const char *file, const int lineno, in tst_netdev_add_address_inet()
305 int tst_netdev_remove_address(const char *file, const int lineno, in tst_netdev_remove_address()
[all …]
Dtst_rtnetlink.c29 static int tst_rtnl_grow_buffer(const char *file, const int lineno, in tst_rtnl_grow_buffer()
55 void tst_rtnl_destroy_context(const char *file, const int lineno, in tst_rtnl_destroy_context()
64 const int lineno) in tst_rtnl_create_context()
117 int tst_rtnl_send(const char *file, const int lineno, in tst_rtnl_send()
166 struct tst_rtnl_message *tst_rtnl_recv(const char *file, const int lineno, in tst_rtnl_recv()
242 int tst_rtnl_add_message(const char *file, const int lineno, in tst_rtnl_add_message()
282 int tst_rtnl_add_attr(const char *file, const int lineno, in tst_rtnl_add_attr()
309 int tst_rtnl_add_attr_string(const char *file, const int lineno, in tst_rtnl_add_attr_string()
317 int tst_rtnl_add_attr_list(const char *file, const int lineno, in tst_rtnl_add_attr_list()
362 int tst_rtnl_check_acks(const char *file, const int lineno, in tst_rtnl_check_acks()
[all …]
Dtst_assert.c12 void tst_assert_int(const char *file, const int lineno, const char *path, int val) in tst_assert_int()
26 void tst_assert_ulong(const char *file, const int lineno, const char *path, unsigned long val) in tst_assert_ulong()
40 void tst_assert_file_int(const char *file, const int lineno, const char *path, const char *prefix, … in tst_assert_file_int()
56 void tst_assert_str(const char *file, const int lineno, const char *path, const char *val) in tst_assert_str()
69 void tst_assert_file_str(const char *file, const int lineno, const char *path, const char *prefix, … in tst_assert_file_str()
Dsafe_file_ops.c69 int file_scanf(const char *file, const int lineno, in file_scanf()
120 void safe_file_scanf(const char *file, const int lineno, in safe_file_scanf()
168 int file_lines_scanf(const char *file, const int lineno, in file_lines_scanf()
212 int file_printf(const char *file, const int lineno, in file_printf()
253 static void safe_file_vprintf(const char *file, const int lineno, in safe_file_vprintf()
280 void safe_file_printf(const char *file, const int lineno, in safe_file_printf()
290 void safe_try_file_printf(const char *file, const int lineno, in safe_try_file_printf()
304 int safe_cp(const char *file, const int lineno, in safe_cp()
344 int safe_touch(const char *file, const int lineno, in safe_touch()
Dsafe_stdio.c26 FILE *safe_fopen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_fopen()
39 int safe_fclose(const char *file, const int lineno, void (cleanup_fn)(void), in safe_fclose()
57 int safe_asprintf(const char *file, const int lineno, void (cleanup_fn)(void), in safe_asprintf()
78 FILE *safe_popen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_popen()
Dtst_safe_timerfd.c14 int safe_timerfd_create(const char *file, const int lineno, in safe_timerfd_create()
33 int safe_timerfd_gettime(const char *file, const int lineno, in safe_timerfd_gettime()
51 int safe_timerfd_settime(const char *file, const int lineno, in safe_timerfd_settime()
Dtst_safe_io_uring.c10 int safe_io_uring_init(const char *file, const int lineno, in safe_io_uring_init()
72 int safe_io_uring_close(const char *file, const int lineno, in safe_io_uring_close()
86 int safe_io_uring_enter(const char *file, const int lineno, int strict, in safe_io_uring_enter()
Dtst_safe_file_at.c35 int safe_openat(const char *const file, const int lineno, in safe_openat()
57 ssize_t safe_file_readat(const char *const file, const int lineno, in safe_file_readat()
117 int safe_file_vprintfat(const char *const file, const int lineno, in safe_file_vprintfat()
157 int safe_file_printfat(const char *const file, const int lineno, in safe_file_printfat()
171 int safe_unlinkat(const char *const file, const int lineno, in safe_unlinkat()
Dtst_checkpoint.c39 void tst_checkpoint_init(const char *file, const int lineno, in tst_checkpoint_init()
140 void tst_safe_checkpoint_wait(const char *file, const int lineno, in tst_safe_checkpoint_wait()
158 void tst_safe_checkpoint_wake(const char *file, const int lineno, in tst_safe_checkpoint_wake()
Dsafe_pthread.c12 int safe_pthread_create(const char *file, const int lineno, in safe_pthread_create()
29 int safe_pthread_join(const char *file, const int lineno, in safe_pthread_join()
Dtst_uid.c16 gid_t tst_get_free_gid_(const char *file, const int lineno, gid_t skip) in tst_get_free_gid_()
72 int tst_check_resuid_(const char *file, const int lineno, const char *callstr, in tst_check_resuid_()
97 int tst_check_resgid_(const char *file, const int lineno, const char *callstr, in tst_check_resgid_()
/third_party/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.c32 int check_fallocate(const char *filename, const int lineno, int fd, in check_fallocate()
51 int check_fallocate_fail(const char *filename, const int lineno, int fd, in check_fallocate_fail()
72 void check_ftruncate(const char *filename, const int lineno, int fd, in check_ftruncate()
81 void check_ftruncate_fail(const char *filename, const int lineno, in check_ftruncate_fail()
96 int get_mfd_all_available_flags(const char *filename, const int lineno) in get_mfd_all_available_flags()
118 int mfd_flags_available(const char *filename, const int lineno, in mfd_flags_available()
136 int check_mfd_new(const char *filename, const int lineno, in check_mfd_new()
155 void check_mfd_fail_new(const char *filename, const int lineno, in check_mfd_fail_new()
172 void *check_mmap(const char *file, const int lineno, void *addr, size_t length, in check_mmap()
186 void check_mmap_fail(const char *file, const int lineno, void *addr, in check_mmap_fail()
[all …]
/third_party/ltp/include/
Dtst_safe_clocks.h18 static inline int safe_clock_getres(const char *file, const int lineno, in safe_clock_getres()
37 static inline int safe_clock_gettime(const char *file, const int lineno, in safe_clock_gettime()
57 static inline int safe_clock_settime(const char *file, const int lineno, in safe_clock_settime()
76 static inline int safe_timer_create(const char *file, const int lineno, in safe_timer_create()
96 static inline int safe_timer_settime(const char *file, const int lineno, in safe_timer_settime()
116 static inline int safe_timer_gettime(const char *file, const int lineno, in safe_timer_gettime()
135 static inline int safe_timer_delete(const char *file, const int lineno, in safe_timer_delete()
/third_party/ltp/libs/libltpnewipc/
Dlibnewipc.c29 key_t getipckey(const char *file, const int lineno) in getipckey()
50 int get_used_sysvipc(const char *file, const int lineno, const char *sysvipc_file) in get_used_sysvipc()
71 void *probe_free_addr(const char *file, const int lineno) in probe_free_addr()
/third_party/iptables/
Diptables-test.py45 def print_error(reason, filename=None, lineno=None): argument
53 def delete_rule(iptables, rule, filename, lineno): argument
67 def run_test(iptables, rule, rule_save, res, filename, lineno, netns): argument
156 def execute_cmd(cmd, filename, lineno): argument
/third_party/python/Tools/i18n/
Dpygettext.py329 def __waiting(self, ttype, tstring, lineno): argument
400 def __suiteseen(self, ttype, tstring, lineno): argument
411 def __suitedocstring(self, ttype, tstring, lineno): argument
421 def __keywordseen(self, ttype, tstring, lineno): argument
429 def __openseen(self, ttype, tstring, lineno): argument
452 def __addentry(self, msg, lineno=None, isdocstring=0): argument
/third_party/python/Doc/tools/extensions/
Dsuspicious.py64 def __init__(self, docname, lineno, issue, line): argument
126 def check_issue(self, line, lineno, issue): argument
130 def is_ignored(self, line, lineno, issue): argument
152 def report_issue(self, text, lineno, issue): argument
167 def write_log_entry(self, lineno, issue, text): argument
/third_party/python/Lib/
Dwarnings.py10 def showwarning(message, category, filename, lineno, file=None, line=None): argument
15 def formatwarning(message, category, filename, lineno, line=None): argument
130 def filterwarnings(action, message="", category=Warning, module="", lineno=0, argument
165 def simplefilter(action, category=Warning, lineno=0, append=False): argument
327 def warn_explicit(message, category, filename, lineno, argument
403 def __init__(self, message, category, filename, lineno, file=None, argument
Dpyclbr.py55 def __init__(self, module, name, file, lineno, end_lineno, parent): argument
70 def __init__(self, module, name, file, lineno, argument
80 def __init__(self, module, name, super_, file, lineno, argument
89 def _nest_function(ob, func_name, lineno, end_lineno, is_async=False): argument
94 def _nest_class(ob, class_name, lineno, end_lineno, super=None): argument
/third_party/python/Python/
DPython-ast.c1946 type_comment, int lineno, int col_offset, int end_lineno, in _PyAST_FunctionDef()
1980 string type_comment, int lineno, int col_offset, int in _PyAST_AsyncFunctionDef()
2014 int lineno, int col_offset, int end_lineno, int end_col_offset, in _PyAST_ClassDef()
2040 _PyAST_Return(expr_ty value, int lineno, int col_offset, int end_lineno, int in _PyAST_Return()
2057 _PyAST_Delete(asdl_expr_seq * targets, int lineno, int col_offset, int in _PyAST_Delete()
2075 lineno, int col_offset, int end_lineno, int end_col_offset, in _PyAST_Assign()
2099 _PyAST_AugAssign(expr_ty target, operator_ty op, expr_ty value, int lineno, int in _PyAST_AugAssign()
2134 int lineno, int col_offset, int end_lineno, int in _PyAST_AnnAssign()
2165 orelse, string type_comment, int lineno, int col_offset, int in _PyAST_For()
2197 asdl_stmt_seq * orelse, string type_comment, int lineno, int in _PyAST_AsyncFor()
[all …]
/third_party/ltp/include/lapi/
Dsafe_rt_signal.h11 static inline int safe_rt_sigaction(const char *file, const int lineno, in safe_rt_sigaction()
36 static inline int safe_rt_sigprocmask(const char *file, const int lineno, in safe_rt_sigprocmask()

123456789