Searched refs:param (Results 76 - 100 of 670) sorted by relevance

1234567891011>>

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sched_setparam/
H A D21-1.c32 struct sched_param param; local
36 if(sched_getparam(getpid(), &param) != 0){
43 new_priority = (param.sched_priority == max_priority) ?
46 param.sched_priority = new_priority;
47 if(sched_setparam(getpid(), &param) != 0){
70 if(pthread_getschedparam(tid , &policy, &param) != 0) {
H A D9-1.c48 # include <sys/param.h>
53 # include <sys/param.h>
90 struct sched_param param; local
92 param.sched_priority = sched_get_priority_max(SCHED_FIFO);
93 if(sched_setparam(getpid(), &param) != 0) {
124 struct sched_param param; local
151 param.sched_priority = sched_get_priority_min(SCHED_FIFO);
152 if(sched_setscheduler(getpid(), SCHED_FIFO, &param) != 0) {
195 param.sched_priority = (sched_get_priority_min(SCHED_FIFO) +
199 if(sched_setparam(child_pid[i], &param) !
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/threads/condvar/
H A Dpthread_cond_wait_1.c68 struct sched_param param; local
72 param.sched_priority = HIGH_PRIORITY;
74 rc = pthread_setschedparam(pthread_self(), POLICY, &param);
79 rc = pthread_getschedparam(pthread_self(), &policy, &param);
84 if((policy != POLICY) || (param.sched_priority != HIGH_PRIORITY)) {
129 struct sched_param param; local
133 param.sched_priority = LOW_PRIORITY;
135 rc = pthread_setschedparam(pthread_self(), POLICY, &param);
140 rc = pthread_getschedparam(pthread_self(), &policy, &param);
145 if((policy != POLICY) || (param
166 struct sched_param param; local
[all...]
H A Dpthread_cond_wait_2.c69 struct sched_param param; local
73 param.sched_priority = HIGH_PRIORITY;
75 rc = pthread_setschedparam(pthread_self(), POLICY, &param);
80 rc = pthread_getschedparam(pthread_self(), &policy, &param);
85 if((policy != POLICY) || (param.sched_priority != HIGH_PRIORITY)) {
130 struct sched_param param; local
134 param.sched_priority = LOW_PRIORITY;
136 rc = pthread_setschedparam(pthread_self(), POLICY, &param);
141 rc = pthread_getschedparam(pthread_self(), &policy, &param);
146 if((policy != POLICY) || (param
167 struct sched_param param; local
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/threads/schedule/
H A D1-1.c67 struct sched_param param; local
72 param.sched_priority = HIGH_PRIORITY;
73 rc = pthread_setschedparam(pthread_self(), SCHED_RR, &param);
78 rc = pthread_getschedparam(pthread_self(), &policy, &param);
83 if(policy != SCHED_RR || param.sched_priority != HIGH_PRIORITY) {
115 struct sched_param param; local
119 param.sched_priority = LOW_PRIORITY;
120 rc = pthread_setschedparam(pthread_self(), SCHED_RR, &param);
125 rc = pthread_getschedparam(pthread_self(), &policy, &param);
130 if(policy != SCHED_RR || param
151 struct sched_param param; local
[all...]
H A D1-2.c72 struct sched_param param; local
76 param.sched_priority = HIGH_PRIORITY;
77 rc = pthread_setschedparam(pthread_self(), SCHED_RR, &param);
82 rc = pthread_getschedparam(pthread_self(), &policy, &param);
91 if(param.sched_priority != HIGH_PRIORITY) {
120 struct sched_param param; local
124 param.sched_priority = LOW_PRIORITY;
125 rc = pthread_setschedparam(pthread_self(), SCHED_RR, &param);
130 rc = pthread_getschedparam(pthread_self(), &policy, &param);
139 if(param
159 struct sched_param param; local
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/gimp2/
H A Dprint.c49 const GimpParam *param,
148 const GimpParam *param, /* I - Parameter values */
191 run_mode = (GimpRunMode)param[0].data.d_int32;
201 image_ID = param[1].data.d_int32;
202 drawable_ID = param[2].data.d_int32;
289 stpui_plist_set_output_to(&gimp_vars, param[3].data.d_string);
291 stp_set_driver(gimp_vars.v, param[4].data.d_string);
292 stp_set_file_parameter(gimp_vars.v, "PPDFile", param[5].data.d_string);
293 switch (param[6].data.d_int32)
301 stp_set_string_parameter(gimp_vars.v, "Resolution", param[
146 run(const char *name, gint nparams, const GimpParam *param, gint *nreturn_vals, GimpParam **return_vals) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_command.cpp37 l2cap_cmd_rej_cp param; member in struct:_cmd_rej
43 l2cap_con_req_cp param; member in struct:_con_req
48 l2cap_con_rsp_cp param; member in struct:_con_rsp
53 l2cap_cfg_req_cp param; member in struct:_cfg_req
58 l2cap_cfg_rsp_cp param; member in struct:_cfg_rsp
63 l2cap_discon_req_cp param; member in struct:_discon_req
68 l2cap_discon_rsp_cp param; member in struct:_discon_rsp
73 l2cap_info_req_cp param; member in struct:_info_req
78 l2cap_info_rsp_cp param; member in struct:_info_rsp
120 bufferHeader->hdr.length = sizeof(bufferHeader->param);
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sched_setscheduler/
H A D1-1.c13 * specified in the sched_param structure pointed to by param, respectively.
16 * param of the process after the call of sched_setscheduler.
51 struct sched_param param; local
63 param.sched_priority = priority;
65 tmp = sched_setscheduler(getpid(), policy, &param);
78 if(sched_getparam(getpid(), &param) != 0) {
87 if(priority != param.sched_priority) {
88 printf(" sched_setscheduler() does not set the right param for %s policy.\n", tst->name);
H A D22-1.c32 struct sched_param param; local
36 if(sched_getparam(getpid(), &param) != 0){
46 param.sched_priority = sched_get_priority_min(new_policy);
47 if(sched_setscheduler(getpid(), new_policy, &param) != 0){
74 if(pthread_getschedparam(tid , &policy, &param) != 0) {
H A D19-1.c48 struct sched_param param; local
68 param.sched_priority = invalid_priority;
70 tmp = sched_setscheduler(0, policy, &param);
H A D20-1.c63 struct sched_param param; local
75 param.sched_priority = sched_get_priority_max(SCHED_FIFO);
77 result = sched_setscheduler(1, SCHED_FIFO, &param);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_attr_setschedparam/speculative/
H A D3-1.c33 struct sched_param param; local
54 param.sched_priority = priority + PRIORITY_OFFSET;
55 rc = pthread_attr_setschedparam(&attr, &param);
H A D3-2.c33 struct sched_param param; local
54 param.sched_priority = priority + PRIORITY_OFFSET;
55 rc = pthread_attr_setschedparam(&attr, &param);
/haiku-fatelf/src/add-ons/kernel/drivers/ports/pc_serial/
H A DTracing.h29 #define TRACE_FUNCRES(func, param) \
31 func(param);
/haiku-fatelf/src/libs/posix_error_mapper/
H A Dpthread_thread.cpp58 (pthread_t thread, int *policy, struct sched_param *param),
60 param));
65 (pthread_t thread, int policy, const struct sched_param *param),
67 param));
H A Dpthread_attr.cpp65 (pthread_attr_t *attr, const struct sched_param *param),
67 param));
72 (const pthread_attr_t *attr, struct sched_param *param),
74 param));
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sched_getparam/
H A D4-1.c27 struct sched_param param; local
47 result = sched_getparam(child_pid, &param);
/haiku-fatelf/headers/compatibility/bsd/sys/
H A Dparam.h9 #include_next <sys/param.h>
/haiku-fatelf/headers/private/bluetooth/
H A DbtDebug.h25 #define debugf(a,param...) dprintf("\x1b[%dm" MODULE_NAME " " SUBMODULE_NAME " " "%s\x1b[0m: " a,SUBMODULE_COLOR,__FUNCTION__, param);
28 #define debugf(a,param...)
29 #define flowf(a,param...)
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dclktck.c24 #include <sys/param.h>
/haiku-fatelf/src/bin/coreutils/lib/
H A Dpathmax.h38 /* Don't include sys/param.h if it already has been. */
40 # include <sys/param.h>
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dpathmax.h34 /* Don't include sys/param.h if it already has been. */
36 # include <sys/param.h>
/haiku-fatelf/src/bin/gdb/bfd/hosts/
H A Ddecstation.h1 /* Hopefully this should include either machine/param.h (Ultrix) or
3 #include <sys/param.h>
H A Ddelta68.h4 #include <sys/param.h>
13 /* User's stack, copied from sys/param.h */

Completed in 202 milliseconds

1234567891011>>