/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sched_setparam/ |
H A D | 21-1.c | 32 struct sched_param param; local 36 if(sched_getparam(getpid(), ¶m) != 0){ 43 new_priority = (param.sched_priority == max_priority) ? 46 param.sched_priority = new_priority; 47 if(sched_setparam(getpid(), ¶m) != 0){ 70 if(pthread_getschedparam(tid , &policy, ¶m) != 0) {
|
H A D | 9-1.c | 48 # 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(), ¶m) != 0) { 124 struct sched_param param; local 151 param.sched_priority = sched_get_priority_min(SCHED_FIFO); 152 if(sched_setscheduler(getpid(), SCHED_FIFO, ¶m) != 0) { 195 param.sched_priority = (sched_get_priority_min(SCHED_FIFO) + 199 if(sched_setparam(child_pid[i], ¶m) ! [all...] |
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/threads/condvar/ |
H A D | pthread_cond_wait_1.c | 68 struct sched_param param; local 72 param.sched_priority = HIGH_PRIORITY; 74 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m); 79 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); 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, ¶m); 140 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); 145 if((policy != POLICY) || (param 166 struct sched_param param; local [all...] |
H A D | pthread_cond_wait_2.c | 69 struct sched_param param; local 73 param.sched_priority = HIGH_PRIORITY; 75 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m); 80 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); 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, ¶m); 141 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); 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 D | 1-1.c | 67 struct sched_param param; local 72 param.sched_priority = HIGH_PRIORITY; 73 rc = pthread_setschedparam(pthread_self(), SCHED_RR, ¶m); 78 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); 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, ¶m); 125 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); 130 if(policy != SCHED_RR || param 151 struct sched_param param; local [all...] |
H A D | 1-2.c | 72 struct sched_param param; local 76 param.sched_priority = HIGH_PRIORITY; 77 rc = pthread_setschedparam(pthread_self(), SCHED_RR, ¶m); 82 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); 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, ¶m); 130 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); 139 if(param 159 struct sched_param param; local [all...] |
/haiku-fatelf/src/libs/print/libgutenprint/src/gimp2/ |
H A D | print.c | 49 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 D | l2cap_command.cpp | 37 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 D | 1-1.c | 13 * 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, ¶m); 78 if(sched_getparam(getpid(), ¶m) != 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 D | 22-1.c | 32 struct sched_param param; local 36 if(sched_getparam(getpid(), ¶m) != 0){ 46 param.sched_priority = sched_get_priority_min(new_policy); 47 if(sched_setscheduler(getpid(), new_policy, ¶m) != 0){ 74 if(pthread_getschedparam(tid , &policy, ¶m) != 0) {
|
H A D | 19-1.c | 48 struct sched_param param; local 68 param.sched_priority = invalid_priority; 70 tmp = sched_setscheduler(0, policy, ¶m);
|
H A D | 20-1.c | 63 struct sched_param param; local 75 param.sched_priority = sched_get_priority_max(SCHED_FIFO); 77 result = sched_setscheduler(1, SCHED_FIFO, ¶m);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_attr_setschedparam/speculative/ |
H A D | 3-1.c | 33 struct sched_param param; local 54 param.sched_priority = priority + PRIORITY_OFFSET; 55 rc = pthread_attr_setschedparam(&attr, ¶m);
|
H A D | 3-2.c | 33 struct sched_param param; local 54 param.sched_priority = priority + PRIORITY_OFFSET; 55 rc = pthread_attr_setschedparam(&attr, ¶m);
|
/haiku-fatelf/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | Tracing.h | 29 #define TRACE_FUNCRES(func, param) \ 31 func(param);
|
/haiku-fatelf/src/libs/posix_error_mapper/ |
H A D | pthread_thread.cpp | 58 (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 D | pthread_attr.cpp | 65 (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 D | 4-1.c | 27 struct sched_param param; local 47 result = sched_getparam(child_pid, ¶m);
|
/haiku-fatelf/headers/compatibility/bsd/sys/ |
H A D | param.h | 9 #include_next <sys/param.h>
|
/haiku-fatelf/headers/private/bluetooth/ |
H A D | btDebug.h | 25 #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 D | clktck.c | 24 #include <sys/param.h>
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | pathmax.h | 38 /* 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 D | pathmax.h | 34 /* 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 D | decstation.h | 1 /* Hopefully this should include either machine/param.h (Ultrix) or 3 #include <sys/param.h>
|
H A D | delta68.h | 4 #include <sys/param.h> 13 /* User's stack, copied from sys/param.h */
|