Home
last modified time | relevance | path

Searched refs:param (Results 1 – 15 of 15) sorted by relevance

/relibc/pthreads-emb/platform/dspbios/pte_test/
H A DConfiguration1.cdb5 param iComment :: "Do not delete, in use by cache"
6 param iIsUsed :: 0
7 param iId :: 0
8 param iDelUser :: "USER"
9 param iDelMsg :: "ok"
10 param base :: 1048576
11 param len :: 0
12 param iAllocHeap :: 0
13 param iHeapSize :: 32768
14 param iUserHeapId :: 0
[all …]
/relibc/pthreads-emb/tests/
H A Dpriority2.c94 struct sched_param param; in func() local
98 assert(pthread_getschedparam(pthread_self(), &policy, &param) == 0); in func()
103 assert(pte_osThreadGetPriority(pte_osThreadGetHandle()) == param.sched_priority); in func()
105 return (void *) param.sched_priority; in func()
115 struct sched_param param; in pthread_test_priority2() local
134 for (param.sched_priority = pte_osThreadGetMinPriority(); in pthread_test_priority2()
135 param.sched_priority <= pte_osThreadGetMaxPriority(); in pthread_test_priority2()
136 param.sched_priority++) in pthread_test_priority2()
139 assert(pthread_setschedparam(t, SCHED_OTHER, &param) == 0); in pthread_test_priority2()
149 assert(param.sched_priority == (int)result); in pthread_test_priority2()
H A Dinherit1.c91 struct sched_param param; in func() local
93 assert(pthread_getschedparam(pthread_self(), &policy, &param) == 0); in func()
95 return (void *) param.sched_priority; in func()
104 struct sched_param param; in pthread_test_inherit1() local
132 for (param.sched_priority = prio; in pthread_test_inherit1()
133 param.sched_priority <= pte_osThreadGetMaxPriority(); in pthread_test_inherit1()
134 param.sched_priority++) in pthread_test_inherit1()
137 assert(pthread_attr_setschedparam(&attr, &param) == 0); in pthread_test_inherit1()
H A Dpriority1.c100 struct sched_param param; in func() local
103 assert(pthread_getschedparam(threadID, &policy, &param) == 0); in func()
105 assert(param.sched_priority == (int) pthreadPrio); in func()
107 assert(pte_osThreadGetPriority(pte_osThreadGetHandle()) == param.sched_priority); in func()
118 struct sched_param param; in pthread_test_priority1() local
123 param.sched_priority = sched_get_priority_min(SCHED_OTHER) + 1; in pthread_test_priority1()
125 assert(pthread_attr_setschedparam(&attr, &param) == 0); in pthread_test_priority1()
H A Donce4.c108 struct sched_param param; in mythread() local
122 param.sched_priority = bag->myPrio; in mythread()
123 pthread_setschedparam(self, SCHED_OTHER, &param); in mythread()
H A Dexit1.c47 static void * func(void * param) in func() argument
/relibc/pthreads-emb/
H A Dpthread_attr_setschedparam.c52 const struct sched_param *param) in pthread_attr_setschedparam() argument
56 if (pte_is_attr (attr) != 0 || param == NULL) in pthread_attr_setschedparam()
61 priority = param->sched_priority; in pthread_attr_setschedparam()
70 memcpy (&(*attr)->param, param, sizeof (*param)); in pthread_attr_setschedparam()
H A Dpthread_attr_getschedparam.c52 struct sched_param *param) in pthread_attr_getschedparam() argument
54 if (pte_is_attr (attr) != 0 || param == NULL) in pthread_attr_getschedparam()
59 memcpy (param, &(*attr)->param, sizeof (*param)); in pthread_attr_getschedparam()
H A Dpthread_getschedparam.c49 struct sched_param *param) in pthread_getschedparam() argument
64 if (policy <= (int *) SCHED_MAX || param == NULL) in pthread_getschedparam()
78 param->sched_priority = ((pte_thread_t *)thread)->sched_priority; in pthread_getschedparam()
H A Dpthread_setschedparam.c49 const struct sched_param *param) in pthread_setschedparam() argument
72 return (pte_setthreadpriority (thread, policy, param->sched_priority)); in pthread_setschedparam()
H A Dpthread.h686 struct sched_param *param);
689 const struct sched_param *param);
879 const struct sched_param *param);
883 struct sched_param *param);
H A Dpthread_attr_init.c110 attr_result->param.sched_priority = pte_osThreadGetDefaultPriority(); in pthread_attr_init()
H A Dcreate.c135 priority = a->param.sched_priority; in pthread_create()
H A Dimplement.h122 struct sched_param param; member
/relibc/src/header/stdlib/
H A Dmod.rs450 pub unsafe extern "C" fn lcong48(param: *mut c_ushort) { in lcong48()
452 let xsubi_value = rand48::u48_from_ushort_arr3(&*(param as *const [c_ushort; 3])); in lcong48()
456 rand48::A = rand48::u48_from_ushort_arr3(&*(param.offset(3) as *const [c_ushort; 3])); in lcong48()
460 rand48::C = *param.offset(6) as u16; in lcong48()