HomeSort by relevance Sort by last modified time
    Searched defs:param (Results 26 - 50 of 1450) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
25-2.c 29 struct sched_param param; local
37 if (sched_getparam(0, &param) != 0) {
42 if (sched_setscheduler(0, SCHED_SPORADIC, &param) == -1) {
57 param.sched_ss_low_priority = invalid_priority;
59 result = sched_setparam(0, &param);
25-4.c 28 struct sched_param param; local
30 if (sched_getparam(0, &param) == -1) {
36 param.sched_ss_max_repl = 0;
37 result = sched_setparam(0, &param);
53 param.sched_ss_max_repl = SS_REPL_MAX + 1;
54 result = sched_setparam(0, &param);
26-1.c 56 struct sched_param param; local
68 if (sched_getparam(0, &param) == -1) {
73 result = sched_setparam(1, &param);
27-1.c 27 struct sched_param param; local
30 if (sched_getparam(0, &param) == -1) {
51 result = sched_setparam(child_pid, &param);
23-6.c 58 struct sched_param param; local
65 param.sched_priority = sched_get_priority_min(SCHED_FIFO);
67 sched_setscheduler(0, SCHED_FIFO, &param);
75 if (sched_getparam(0, &param) == -1) {
79 old_priority = param.sched_priority;
81 param.sched_priority++;
82 rc = sched_setparam(0, &param);
88 if (sched_getparam(0, &param) != 0) {
93 if (param.sched_priority == old_priority) {
5-1.c 23 struct sched_param param; local
25 if (sched_getparam(getpid(), &param) != 0) {
38 old_priority = param.sched_priority;
41 param.sched_priority = new_priority;
43 result = sched_setparam(0, &param);
45 if (sched_getparam(getpid(), &param) != 0) {
50 if (result == 0 && param.sched_priority == new_priority) {
53 } else if (result == 0 && param.sched_priority == old_priority) {
54 printf("The param does not change\n");
58 ("The process have not permission to change its own param.\n")
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
16-1.c 28 struct sched_param param; local
39 param.sched_priority = sched_get_priority_max(new_policy);
40 result = sched_setscheduler(0, new_policy, &param);
19-4.c 31 struct sched_param param; local
33 if (sched_getparam(0, &param) == -1) {
38 param.sched_priority = sched_get_priority_max(SCHED_SPORADIC);
41 param.sched_ss_max_repl = 0;
42 result = sched_setscheduler(0, SCHED_SPORADIC, &param);
58 param.sched_ss_max_repl = SS_REPL_MAX + 1;
59 result = sched_setscheduler(0, SCHED_SPORADIC, &param);
21-1.c 28 struct sched_param param; local
30 param.sched_priority = sched_get_priority_max(SCHED_FIFO);
48 result = sched_setscheduler(child_pid, SCHED_FIFO, &param);
17-2.c 35 struct sched_param param; local
37 if (sched_getparam(getpid(), &param) != 0) {
41 old_priority = param.sched_priority;
57 param.sched_ss_low_priority = invalid_priority;
59 sched_setscheduler(0, SCHED_SPORADIC, &param);
61 if (sched_getparam(getpid(), &param) != 0) {
72 if (old_policy == new_policy && old_priority == param.sched_priority) {
77 if (param.sched_priority != old_priority) {
78 printf("The param has changed\n");
17-3.c 35 struct sched_param param; local
37 if (sched_getparam(getpid(), &param) != 0) {
41 old_priority = param.sched_priority;
50 param.sched_ss_repl_period.tv_sec = 1;
51 param.sched_ss_repl_period.tv_nsec = 0;
53 param.sched_ss_init_budget.tv_sec = 2;
54 param.sched_ss_init_budget.tv_nsec = 0;
56 param.sched_priority = sched_get_priority_max(SCHED_SPORADIC);
58 result = sched_setscheduler(0, SCHED_SPORADIC, &param);
60 if (sched_getparam(getpid(), &param) != 0)
    [all...]
17-4.c 34 struct sched_param param; local
36 if (sched_getparam(getpid(), &param) == -1) {
40 old_priority = param.sched_priority;
48 /* Make sure that param.sched_priority != old_priority */
50 param.sched_priority = (old_priority == max_priority) ?
53 param.sched_ss_max_repl = 0;
55 sched_setscheduler(0, SCHED_SPORADIC, &param);
57 if (sched_getparam(getpid(), &param) != 0) {
68 if (old_policy == new_policy && old_priority == param.sched_priority) {
73 if (param.sched_priority != old_priority)
    [all...]
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, &param);
  /external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
params_test.cc 25 DepthDependentParam param; local
26 param.set_constant_value(10.0);
28 ASSERT_EQ(ResolveParam(param, 0), 10.0);
29 ASSERT_EQ(ResolveParam(param, 100), 10.0);
33 DepthDependentParam param; local
34 auto* linear = param.mutable_linear();
40 ASSERT_EQ(ResolveParam(param, 0), 90);
41 ASSERT_EQ(ResolveParam(param, 1), 90);
42 ASSERT_EQ(ResolveParam(param, 2), 80);
44 ASSERT_EQ(ResolveParam(param, 30), 23)
48 DepthDependentParam param; local
61 DepthDependentParam param; local
    [all...]
  /external/libcups/cups/
ppd-custom.c 64 ppd_cparam_t *param; /* Current custom parameter */ local
70 for (param = (ppd_cparam_t *)cupsArrayFirst(opt->params);
71 param;
72 param = (ppd_cparam_t *)cupsArrayNext(opt->params))
73 if (!_cups_strcasecmp(param->name, name))
76 return (param);
  /external/ltp/testcases/kernel/syscalls/sched_getparam/
sched_getparam01.c 75 static struct sched_param param; variable in typeref:struct:sched_param
90 param.sched_priority = 100;
96 TEST(sched_getparam(0, &param));
104 if ((TEST_RETURN == 0) && (param.sched_priority == 0)) {
112 param.sched_priority);
  /external/ltp/testcases/kernel/syscalls/sched_setparam/
sched_setparam01.c 75 static struct sched_param param; variable in typeref:struct:sched_param
94 TEST(sched_setparam(0, &param));
118 param.sched_priority = 0;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
6-1.c 74 struct sched_param param; local
89 result = sched_getparam(1, &param);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/
1-1.c 29 struct sched_param param; local
31 param.sched_priority = sched_get_priority_min(SCHED_RR);
32 if (sched_setscheduler(0, SCHED_RR, &param) == -1) {
3-1.c 30 struct sched_param param; local
32 param.sched_priority = sched_get_priority_min(SCHED_RR);
33 if (sched_setscheduler(0, SCHED_RR, &param) == -1) {
  /external/mesa3d/src/mesa/drivers/dri/i965/
gen6_constant_state.c 137 gl_constant_value *param; local
140 param = brw_state_batch(brw, type,
153 param[i] = *prog_data->param[i];
163 fprintf(stderr, "%8f ", param[i].f);
  /external/syslinux/gpxe/src/core/
ansiesc.c 85 int *param = &ctx->params[ctx->count - 1]; local
86 if ( *param < 0 )
87 *param = 0;
88 *param = ( ( *param * 10 ) + ( c - '0' ) );
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
IMSIParameterTest.java 68 IMSIParameter param = new IMSIParameter("1234", false); local
69 assertFalse(param.matchesImsi(null));
80 IMSIParameter param = new IMSIParameter("1234", false); local
83 assertFalse(param.matchesImsi("123"));
84 assertFalse(param.matchesImsi("12345"));
85 assertTrue(param.matchesImsi("1234"));
96 IMSIParameter param = new IMSIParameter("1234", true); local
99 assertFalse(param.matchesImsi("123"));
100 assertTrue(param.matchesImsi("12345"));
101 assertTrue(param.matchesImsi("1234"))
112 IMSIParameter param = new IMSIParameter("1234", false); local
124 IMSIParameter param = new IMSIParameter("1234567890", false); local
139 IMSIParameter param = new IMSIParameter("12345", true); local
156 IMSIParameter param = new IMSIParameter("1234567890", true); local
    [all...]
  /external/ipsec-tools/src/racoon/
prsa_par.y 285 params param
286 | param
289 param: label
  /external/ltp/testcases/kernel/containers/share/
ns_common.h 26 struct param { struct
31 struct param params[] = {
42 struct param *get_param(const char *name)

Completed in 818 milliseconds

12 3 4 5 6 7 8 91011>>