/relibc/pthreads-emb/tests/ |
H A D | tsd2.c | 102 destroy_key(void * arg) in destroy_key() argument 104 int * j = (int *) arg; in destroy_key() 110 assert(pthread_setspecific(key, arg) == 0); in destroy_key() 118 setkey(void * arg) in setkey() argument 120 int * j = (int *) arg; in setkey() 128 assert(pthread_setspecific(key, arg) == 0); in setkey() 129 assert(pthread_setspecific(key, arg) == 0); in setkey() 130 assert(pthread_setspecific(key, arg) == 0); in setkey() 132 assert(pthread_getspecific(key) == arg); in setkey() 140 mythread(void * arg) in mythread() argument [all …]
|
H A D | tsd1.c | 102 destroy_key(void * arg) in destroy_key() argument 104 int * j = (int *) arg; in destroy_key() 114 setkey(void * arg) in setkey() argument 116 int * j = (int *) arg; in setkey() 122 assert(pthread_setspecific(key, arg) == 0); in setkey() 123 assert(pthread_setspecific(key, arg) == 0); in setkey() 124 assert(pthread_setspecific(key, arg) == 0); in setkey() 126 assert(pthread_getspecific(key) == arg); in setkey() 134 mythread(void * arg) in mythread() argument 145 setkey(arg); in mythread()
|
H A D | rwlock6_t2.c | 61 static void * wrfunc(void * arg) in wrfunc() argument 66 if ((int) arg == 1) in wrfunc() 74 else if ((int) arg == 2) in wrfunc() 83 static void * rdfunc(void * arg) in rdfunc() argument
|
H A D | join1.c | 48 func(void * arg) in func() argument 50 int i = (int) arg; in func() 54 pthread_exit(arg); in func()
|
H A D | rwlock6_t.c | 56 static void * wrfunc(void * arg) in wrfunc() argument 66 static void * rdfunc(void * arg) in rdfunc() argument 82 if ((int) arg == 1) in rdfunc() 88 else if ((int) arg == 2) in rdfunc()
|
H A D | detach1.c | 54 func(void * arg) in func() argument 56 int i = (int) arg; in func() 60 pthread_exit(arg); in func()
|
H A D | cleanup2.c | 114 increment_pop_count(void * arg) in increment_pop_count() argument 116 sharedInt_t * sI = (sharedInt_t *) arg; in increment_pop_count() 124 mythread(void * arg) in mythread() argument 127 bag_t * bag = (bag_t *) arg; in mythread()
|
H A D | cleanup0.c | 113 increment_pop_count(void * arg) in increment_pop_count() argument 115 sharedInt_t * sI = (sharedInt_t *) arg; in increment_pop_count() 123 mythread(void * arg) in mythread() argument 126 bag_t * bag = (bag_t *) arg; in mythread()
|
H A D | cleanup3.c | 115 increment_pop_count(void * arg) in increment_pop_count() argument 117 sharedInt_t * sI = (sharedInt_t *) arg; in increment_pop_count() 128 mythread(void * arg) in mythread() argument 131 bag_t * bag = (bag_t *) arg; in mythread()
|
H A D | once4.c | 85 mycleanupfunc(void * arg) in mycleanupfunc() argument 105 mythread(void * arg) in mythread() argument 107 bag_t * bag = (bag_t *) arg; in mythread() 127 pthread_cleanup_push(mycleanupfunc, arg); in mythread()
|
H A D | cleanup1.c | 114 increment_pop_count(void * arg) in increment_pop_count() argument 116 sharedInt_t * sI = (sharedInt_t *) arg; in increment_pop_count() 127 mythread(void * arg) in mythread() argument 130 bag_t * bag = (bag_t *) arg; in mythread()
|
H A D | exit2.c | 50 func(void * arg) in func() argument 52 pthread_exit(arg); in func()
|
H A D | stress1.c | 151 masterThread (void * arg) in masterThread() argument 153 int dither = (int) arg; in masterThread() 155 timeout = (int) arg; in masterThread() 213 slaveThread (void * arg) in slaveThread() argument
|
/relibc/src/header/stdio/ |
H A D | printf.rs | 56 let arg = match self { in resolve() localVariable 65 match arg { in resolve() 107 VaArg::wint_t(ap.arg::<wint_t>()) in arg_from() 112 | (FmtKind::Signed, IntKind::Byte) => VaArg::c_char(ap.arg::<c_char>()), in arg_from() 114 VaArg::c_short(ap.arg::<c_short>()) in arg_from() 117 VaArg::c_int(ap.arg::<c_int>()) in arg_from() 120 VaArg::c_long(ap.arg::<c_long>()) in arg_from() 123 VaArg::c_longlong(ap.arg::<c_longlong>()) in arg_from() 126 VaArg::intmax_t(ap.arg::<intmax_t>()) in arg_from() 129 VaArg::ptrdiff_t(ap.arg::<ptrdiff_t>()) in arg_from() [all …]
|
/relibc/tests/expected/bins_static/unistd/ |
H A D | getopt.stdout | 5 ofile: arg 11 ofile: arg 17 ofile: arg 23 ofile: arg 29 ofile: arg 35 ofile: arg
|
H A D | getopt_long.stdout | 10 --- Running: test --test2=arg -a 11 getopt_long returned 3, argument test2=arg 15 --- Running: test --test3=arg -a 16 getopt_long returned 4, argument test3=arg 18 --- Running: test --test3 arg -a 19 getopt_long returned 4, argument test3=arg
|
/relibc/src/ |
H A D | macros.rs | 14 ($($arg:tt)*) => ({ 16 let _ = write!($crate::platform::FileWriter(1), $($arg)*); 25 ($fmt:expr, $($arg:tt)*) => (print!(concat!($fmt, "\n"), $($arg)*)); 31 ($($arg:tt)*) => ({ 33 let _ = write!($crate::platform::FileWriter(2), $($arg)*); 42 ($fmt:expr, $($arg:tt)*) => (eprint!(concat!($fmt, "\n"), $($arg)*)); 72 ($($arg:tt)*) => {}; 78 ($($arg:tt)*) => ({ 80 eprintln!($($arg)*); 87 ($expr:expr, $($arg:tt)*) => { [all …]
|
/relibc/pthreads-emb/ |
H A D | cleanup.c | 91 (*cleanup->routine) (cleanup->arg); in pte_pop_cleanup() 106 pte_cleanup_callback_t routine, void *arg) in pte_push_cleanup() argument 148 cleanup->arg = arg; in pte_push_cleanup()
|
H A D | pte_threadStart.c | 84 void * arg; in pte_threadStart() local 97 arg = threadParms->arg; in pte_threadStart() 116 sp->exitStatus = status = (*start) (arg); in pte_threadStart() 149 status = sp->exitStatus = (*start) (arg); in pte_threadStart()
|
H A D | pte_rwlock_cancelwrwait.c | 47 pte_rwlock_cancelwrwait (void *arg) in pte_rwlock_cancelwrwait() argument 49 pthread_rwlock_t rwl = (pthread_rwlock_t) arg; in pte_rwlock_cancelwrwait()
|
/relibc/ralloc/src/ |
H A D | log.rs | 29 (@[$kind:expr, $lv:expr], $( $arg:expr ),*) => { 42 let _ = write!(log, $( $arg ),*); 62 ($pool:expr, $( $arg:expr ),*) => { 63 bk_log!($pool;(), $( $arg ),*); 65 ($bk:expr;$cur:expr, $( $arg:expr ),*) => { 73 }, format_args!($( $arg ),*)); 88 ($e:expr, $( $arg:expr ),*) => {{ 92 log!(ERROR, $( $arg ),*); 114 ($first:expr, $( $arg:tt )*) => {{ 116 assert!($first, $( $arg )*);
|
H A D | unborrow.rs | 53 (@parse ($arg:expr, $($rest:tt)*) -> ([$($names:ident),*] [$($lets:stmt);*]) $($thru:tt)*) => { 54 unborrow!(@parse ($($rest)*) -> ([$($names,)* arg] [$($lets;)* let arg = $arg]) $($thru)*)
|
/relibc/src/ld_so/ |
H A D | start.rs | 28 let arg = *ptr; in get_argv() localVariable 29 match CStr::from_ptr(arg as *const c_char).to_str() { in get_argv() 66 let arg = *next_argv; in adjust_stack() localVariable 67 *argv = arg; in adjust_stack() 69 if arg == 0 { in adjust_stack() 77 let arg = *next_argv; in adjust_stack() localVariable 78 *argv = arg; in adjust_stack() 80 if arg == 0 { in adjust_stack() 83 if let Ok(arg_str) = CStr::from_ptr(arg as *const c_char).to_str() { in adjust_stack()
|
/relibc/src/header/sys_ptrace/ |
H A D | mod.rs | 28 Sys::ptrace(request, params.arg(), params.arg(), params.arg()) in sys_ptrace()
|
/relibc/ |
H A D | init_dragonos_toolchain.sh | 10 while getopts "f" arg 12 case $arg in
|