Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/l4re-core-master/l4util/lib/src/ARCH-x86/
A Dbacktrace.c58 struct Bt_arg *arg = a; in __bt_helper() local
61 if (arg->cnt != -1) in __bt_helper()
62 arg->pc_array[arg->cnt] = (void *)uw_getpc (ctx); in __bt_helper()
63 if (++arg->cnt == arg->max) in __bt_helper()
96 uw_bt (__bt_helper, &arg); in l4util_backtrace()
98 if (arg.cnt > 1 && arg.pc_array[arg.cnt - 1] == (void*)0) in l4util_backtrace()
99 --arg.cnt; in l4util_backtrace()
100 else if (arg.cnt < max) in l4util_backtrace()
104 while (arg.cnt < max) in l4util_backtrace()
107 if ((void *)fp < arg.last_sp in l4util_backtrace()
[all …]
/l4re-core-master/l4util/lib/src/ARCH-amd64/
A Dbacktrace.c53 struct Bt_arg *arg = a; in __bt_helper() local
56 if (arg->cnt != -1) in __bt_helper()
57 arg->pc_array[arg->cnt] = (void *)(uintptr_t)uw_getpc (ctx); in __bt_helper()
58 if (++arg->cnt == arg->max) in __bt_helper()
68 struct Bt_arg arg = { .pc_array = pc_array, .max = max, .cnt = -1 }; in l4util_backtrace() local
83 uw_bt (__bt_helper, &arg); in l4util_backtrace()
85 if (arg.cnt > 1 && arg.pc_array[arg.cnt - 1] == (void*)0) in l4util_backtrace()
86 --arg.cnt; in l4util_backtrace()
87 return arg.cnt != -1 ? arg.cnt : 0; in l4util_backtrace()
/l4re-core-master/lua/lib/contrib/src/
A Dldblib.c96 *arg = 1; in getthread()
100 *arg = 0; in getthread()
151 int arg; in db_getinfo() local
204 int arg; in db_getlocal() local
235 int arg; in db_setlocal() local
243 luaL_checkany(L, arg+3); in db_setlocal()
244 lua_settop(L, arg+3); in db_setlocal()
366 int arg, mask, count; in db_sethook() local
370 lua_settop(L, arg+1); in db_sethook()
396 int arg; in db_gethook() local
[all …]
A Dlauxlib.c181 arg--; /* do not count 'self' */ in luaL_argerror()
203 return luaL_argerror(L, arg, msg); in luaL_typeerror()
368 return luaL_argerror(L, arg, in luaL_checkoption()
391 if (l_unlikely(lua_type(L, arg) != t)) in luaL_checktype()
392 tag_error(L, arg, t); in luaL_checktype()
398 luaL_argerror(L, arg, "value expected"); in luaL_checkany()
411 if (lua_isnoneornil(L, arg)) { in luaL_optlstring()
424 tag_error(L, arg, LUA_TNUMBER); in luaL_checknumber()
435 if (lua_isnumber(L, arg)) in interror()
438 tag_error(L, arg, LUA_TNUMBER); in interror()
[all …]
A Dlauxlib.h55 LUALIB_API const char *(luaL_checklstring) (lua_State *L, int arg,
57 LUALIB_API const char *(luaL_optlstring) (lua_State *L, int arg,
59 LUALIB_API lua_Number (luaL_checknumber) (lua_State *L, int arg);
62 LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int arg);
63 LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int arg,
67 LUALIB_API void (luaL_checktype) (lua_State *L, int arg, int t);
68 LUALIB_API void (luaL_checkany) (lua_State *L, int arg);
133 #define luaL_argcheck(L, cond,arg,extramsg) \ argument
134 ((void)(luai_likely(cond) || luaL_argerror(L, (arg), (extramsg))))
136 #define luaL_argexpected(L,cond,arg,tname) \ argument
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libubacktrace/
A Dbacktrace.c60 struct trace_arg *arg = a; in backtrace_helper() local
65 if (arg->cnt != -1) in backtrace_helper()
66 arg->array[arg->cnt] = (void *) unwind_getip (ctx); in backtrace_helper()
67 if (++arg->cnt == arg->size) in backtrace_helper()
78 struct trace_arg arg = { .array = array, .size = size, .cnt = -1 }; in backtrace() local
86 unwind_backtrace (backtrace_helper, &arg); in backtrace()
88 return arg.cnt != -1 ? arg.cnt : 0; in backtrace()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-cancel4.c92 cl (void *arg) in cl() argument
100 tf_read (void *arg) in tf_read() argument
105 if (arg == NULL) in tf_read()
150 if (arg == NULL) in tf_readv()
196 if (arg == NULL) in tf_write()
242 if (arg == NULL) in tf_writev()
293 if (arg != NULL) in tf_sleep()
325 if (arg != NULL) in tf_usleep()
357 if (arg != NULL) in tf_nanosleep()
386 if (arg == NULL) in tf_select()
[all …]
A Dtst-cancel10.c26 cleanup (void *arg) in cleanup() argument
35 printf ("cleanup for %ld\n", (long int) arg); in cleanup()
40 tf (void *arg) in tf() argument
42 long int n = (long int) arg; in tf()
44 pthread_cleanup_push (cleanup, arg); in tf()
/l4re-core-master/uclibc/lib/contrib/uclibc/libubacktrace/arm/
A Dbacktrace.c69 struct trace_arg *arg = a; in backtrace_helper() local
74 if (arg->cnt != -1) in backtrace_helper()
75 arg->array[arg->cnt] = (void *) unwind_getip (ctx); in backtrace_helper()
76 if (++arg->cnt == arg->size) in backtrace_helper()
87 struct trace_arg arg = { .array = array, .size = size, .cnt = -1 }; in backtrace() local
95 unwind_backtrace (backtrace_helper, &arg); in backtrace()
97 return arg.cnt != -1 ? arg.cnt : 0; in backtrace()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/
A D__syscall_fcntl.c17 int __NC(fcntl)(int fd, int cmd, long arg) in __NC()
22 return INLINE_SYSCALL(fcntl64, 3, fd, cmd, arg); in __NC()
31 return INLINE_SYSCALL(fcntl, 3, fd, cmd, arg); in __NC()
41 long arg; in fcntl() local
44 arg = va_arg (ap, long); in fcntl()
49 return __NC(fcntl)(fd, cmd, arg); in fcntl()
51 return INLINE_SYSCALL(fcntl64, 3, fd, cmd, arg); in fcntl()
56 int result = __NC(fcntl)(fd, cmd, arg); in fcntl()
58 int result = INLINE_SYSCALL(fcntl64, 3, fd, cmd, arg); in fcntl()
A Dioctl.c17 _syscall3(int, __syscall_ioctl, int, fd, unsigned long int, request, void *, arg) in _syscall3() argument
21 void *arg; in _syscall3() local
25 arg = va_arg(list, void *); in _syscall3()
29 return __syscall_ioctl(fd, request, arg); in _syscall3()
32 int result = __syscall_ioctl(fd, request, arg); in _syscall3()
A D__syscall_fcntl64.c20 _syscall3(int, __NC(fcntl64), int, fd, int, cmd, long, arg) in _syscall3() argument
24 long arg; in _syscall3() local
28 arg = va_arg(list, long); in _syscall3()
32 return __NC(fcntl64)(fd, cmd, arg); in _syscall3()
35 int result = __NC(fcntl64)(fd, cmd, arg); in _syscall3()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/powerpc/
A Dioctl.c31 _syscall3(int, __syscall_ioctl, int, fd, unsigned long int, request, void *, arg) in _syscall3() argument
36 void *arg; in _syscall3() local
41 arg = va_arg (ap, void *); in _syscall3()
46 result = tcgetattr (fd, (struct termios *) arg); in _syscall3()
50 result = tcsetattr (fd, TCSANOW, (struct termios *) arg); in _syscall3()
54 result = tcsetattr (fd, TCSADRAIN, (struct termios *) arg); in _syscall3()
58 result = tcsetattr (fd, TCSAFLUSH, (struct termios *) arg); in _syscall3()
62 result = __syscall_ioctl (fd, request, arg); in _syscall3()
/l4re-core-master/uclibc/lib/uclibc/ARCH-all/libc/stdlib/
A D_atexit.c78 void *arg; member
82 void *arg; member
95 extern int __cxa_atexit(cxaefuncp, void *arg, void *dso_handle);
133 int on_exit(oefuncp func, void *arg) in weak_alias()
147 efp->funcs.on_exit.arg = arg; in weak_alias()
157 int __cxa_atexit(cxaefuncp func, void *arg, void *dso_handle) in libc_hidden_proto()
171 efp->funcs.cxa_atexit.arg = arg; in libc_hidden_proto()
207 (*efp->funcs.cxa_atexit.func)(efp->funcs.cxa_atexit.arg); in __cxa_finalize()
298 (efp->funcs.on_exit.func)(status, efp->funcs.on_exit.arg); in __exit_handler()
305 (efp->funcs.cxa_atexit.func)(efp->funcs.cxa_atexit.arg); in __exit_handler()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/
A D_atexit.c78 void *arg; member
82 void *arg; member
95 extern int __cxa_atexit(cxaefuncp, void *arg, void *dso_handle);
133 int on_exit(oefuncp func, void *arg) in weak_alias()
147 efp->funcs.on_exit.arg = arg; in weak_alias()
157 int __cxa_atexit(cxaefuncp func, void *arg, void *dso_handle) in libc_hidden_proto()
171 efp->funcs.cxa_atexit.arg = arg; in libc_hidden_proto()
207 (*efp->funcs.cxa_atexit.func)(efp->funcs.cxa_atexit.arg); in __cxa_finalize()
298 (efp->funcs.on_exit.func)(status, efp->funcs.on_exit.arg); in __exit_handler()
304 (efp->funcs.cxa_atexit.func)(efp->funcs.cxa_atexit.arg); in __exit_handler()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/microblaze/
A Dclone.c13 int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg, ...) in clone() argument
21 int exitCode = fn(arg); in clone()
30 __clone2(int (*fn)(void *arg), void *child_stack, size_t stack_size, in __clone2() argument
31 int flags, void *arg, ...) in __clone2()
41 int exitCode = fn(arg); in __clone2()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/unistd/
A Dclone_cruft.h11 # define do_clone(fn, stack, flags, arg) \ argument
12 __clone2(fn, stack, crappy_sizeof(stack), flags, arg, NULL, NULL, NULL)
16 # define do_clone(fn, stack, flags, arg) \ argument
17 clone(fn, stack, flags, arg)
21 # define do_clone(fn, stack, flags, arg) \ argument
22 clone(fn, stack+crappy_sizeof(stack), flags, arg)
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/unistd/
A Dexec.c104 int execl(const char *path, const char *arg, ...) in execl() argument
113 va_start(args, arg); in execl()
121 p[0] = (char *)arg; in execl()
123 va_start(args, arg); in execl()
151 int execle(const char *path, const char *arg, ...) in libc_hidden_def()
161 va_start(args, arg); in libc_hidden_def()
170 p[0] = (char *)arg; in libc_hidden_def()
172 va_start(args, arg); in libc_hidden_def()
199 va_start(args, arg); in libc_hidden_def()
207 p[0] = (char *)arg; in libc_hidden_def()
[all …]
/l4re-core-master/l4util/lib/src/
A Dparse_cmdline.c33 } arg; member
163 pa[c].arg.argptr = va_arg(va, int*); in parse_cmdlinev()
170 pa[c].arg.argptr = va_arg(va, int*); in parse_cmdlinev()
177 pa[c].arg.argptr = va_arg(va, char**); in parse_cmdlinev()
183 pa[c].arg.fn = va_arg(va, parse_cmd_fn_t); in parse_cmdlinev()
197 pa[c].arg.argptr = va_arg(va, int*); in parse_cmdlinev()
263 *((const char**)pa[idx].arg.argptr) = optarg; in parse_cmdlinev()
266 pa[idx].arg.fn(pa[idx].val.id); in parse_cmdlinev()
269 pa[idx].arg.fn_arg(pa[idx].val.id, in parse_cmdlinev()
273 (*((int*)pa[idx].arg.argptr))++; in parse_cmdlinev()
[all …]
/l4re-core-master/cxx/lib/start/src/
A Dcxx_atexit.cc26 void *arg; member
32 int __cxa_atexit(void (*f)(void*), void *arg, void *dso_handle) in __cxa_atexit() argument
39 __atexitlist[c].arg = arg; in __cxa_atexit()
63 h->f(h->arg); in __cxa_finalize()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdio/
A Dwprintf.c15 va_list arg; in wprintf() local
18 va_start(arg, format); in wprintf()
19 rv = vfwprintf(stdout, format, arg); in wprintf()
20 va_end(arg); in wprintf()
A Ddprintf.c17 va_list arg; in dprintf() local
20 va_start(arg, format); in dprintf()
21 rv = vdprintf(filedes, format, arg); in dprintf()
22 va_end(arg); in dprintf()
A Dprintf.c14 va_list arg; in printf() local
17 va_start(arg, format); in printf()
18 rv = vfprintf(stdout, format, arg); in printf()
19 va_end(arg); in printf()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/arm/
A Daeabi_atexit.c20 extern int __cxa_atexit (void (*func) (void *), void *arg, void *dso_handle);
26 int __aeabi_atexit (void *arg, void (*func) (void *), void *d);
27 int __aeabi_atexit (void *arg, void (*func) (void *), void *d) in __aeabi_atexit() argument
29 return __cxa_atexit (func, arg, d); in __aeabi_atexit()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-5/libsupc++/
A Dtinfo2.cc34 type_info::before (const type_info &arg) const _GLIBCXX_NOEXCEPT in before()
37 return name () < arg.name (); in before()
39 return (name ()[0] == '*') ? name () < arg.name () in before()
40 : __builtin_strcmp (name (), arg.name ()) < 0; in before()

Completed in 40 milliseconds

12345678910>>...15