/external/ltp/testcases/kernel/syscalls/sched_getparam/ |
sched_getparam02.c | 85 static struct sched_param param; variable in typeref:struct:sched_param 111 param.sched_priority = 100; 118 TEST(sched_getparam(getppid(), ¶m)); 126 if (TEST_RETURN == 0 && param.sched_priority == 0) 134 param.sched_priority);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
17-1.c | 58 int ret, param, status; local 66 sp.sched_priority = param = sched_get_priority_max(POLICY); 107 if (sp.sched_priority != param) {
|
17-2.c | 88 int ret, param, status; local 97 sp.sched_priority = param = sched_get_priority_max(POLICY); 138 if (sp.sched_priority != param) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
20-1.c | 12 * value specified in param. 33 struct sched_param param; local 37 if (sched_getparam(getpid(), ¶m) != 0) { 45 new_priority = (param.sched_priority == max_priority) ? 65 param.sched_priority = new_priority; 66 if (sched_setparam(getpid(), ¶m) != 0) { 71 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { 78 if (param.sched_priority == new_priority) { 82 printf("sched_setparam() does not set the right param.\n");
|
21-1.c | 33 struct sched_param param; local 37 if (sched_getparam(getpid(), ¶m) != 0) { 44 new_priority = (param.sched_priority == max_priority) ? 46 param.sched_priority = new_priority; 47 if (sched_setparam(getpid(), ¶m) != 0) { 69 if (pthread_getschedparam(tid, &policy, ¶m) != 0) {
|
21-2.c | 33 struct sched_param param; local 37 if (sched_getparam(getpid(), ¶m) != 0) { 44 new_priority = (param.sched_priority == max_priority) ? 46 param.sched_priority = new_priority; 47 if (sched_setparam(getpid(), ¶m) != 0) { 69 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { 76 if (param.sched_priority == new_priority) { 80 printf("The threads does not inherit the right param.\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
15-1.c | 12 * value specified in param. 34 struct sched_param param; local 59 param.sched_priority = sched_get_priority_min(new_policy); 60 if (sched_setscheduler(getpid(), new_policy, ¶m) == -1) { 70 if (pthread_getschedparam(tid, &policy, ¶m) != 0) {
|
15-2.c | 12 * value specified in param. 34 struct sched_param param; local 38 if (sched_getparam(getpid(), ¶m) != 0) { 45 new_priority = (param.sched_priority == max_priority) ? 65 param.sched_priority = new_priority; 66 if (sched_setscheduler(getpid(), SCHED_FIFO, ¶m) == -1) { 76 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { 83 if (param.sched_priority == new_priority) { 87 printf("sched_setscheduler() does not set the right param.\n");
|
17-5.c | 39 struct sched_param param; local 48 rc = sched_getparam(pid, ¶m); 51 old_priority = param.sched_priority; 60 rc = sched_setscheduler(0, invalid_policy, ¶m); 65 rc = sched_getparam(pid, ¶m); 81 if (old_priority != param.sched_priority) { 83 old_priority, param.sched_priority);
|
17-6.c | 64 struct sched_param param; local 76 if (sched_getparam(getpid(), ¶m) == -1) { 80 old_priority = param.sched_priority; 91 /* Make sure that param.sched_priority != old_priority */ 93 param.sched_priority = (old_priority == max_priority) ? 96 sched_setscheduler(1, policy, ¶m); 98 if (sched_getparam(getpid(), ¶m) != 0) { 109 if (old_policy == new_policy && old_priority == param.sched_priority) { 114 if (param.sched_priority != old_priority) { 115 printf("The param has changed\n") [all...] |
17-7.c | 35 struct sched_param param; local 37 if (sched_getparam(getpid(), ¶m) == -1) { 41 old_priority = param.sched_priority; 52 /* Make sure that param.sched_priority != old_priority */ 54 param.sched_priority = (old_priority == max_priority) ? 73 sched_setscheduler(child_pid, policy, ¶m); 75 if (sched_getparam(getpid(), ¶m) != 0) { 86 if (old_policy == new_policy && old_priority == param.sched_priority) { 91 if (param.sched_priority != old_priority) { 92 printf("The param has changed\n") [all...] |
22-1.c | 34 struct sched_param param; local 38 if (sched_getparam(getpid(), ¶m) != 0) { 47 param.sched_priority = sched_get_priority_min(new_policy); 48 if (sched_setscheduler(getpid(), new_policy, ¶m) == -1) { 75 if (pthread_getschedparam(tid, &policy, ¶m) != 0) {
|
22-2.c | 34 struct sched_param param; local 38 if (sched_getparam(getpid(), ¶m) != 0) { 44 new_priority = (param.sched_priority == max_priority) ? 46 param.sched_priority = new_priority; 47 if (sched_setscheduler(getpid(), SCHED_FIFO, ¶m) == -1) { 74 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { 81 if (param.sched_priority == new_priority) { 85 printf("The thread does not inherit the right param.\n");
|
4-1.c | 24 struct sched_param param; local 26 if (sched_getparam(getpid(), ¶m) != 0) { 42 old_priority = param.sched_priority; 44 (param.sched_priority = sched_get_priority_min(new_policy)) : 45 (param.sched_priority = max_prio); 47 result = sched_setscheduler(0, new_policy, ¶m); 49 if (sched_getparam(getpid(), ¶m) != 0) { 60 if (result != -1 && param.sched_priority == new_priority && 65 (param.sched_priority == old_priority || 67 if (param.sched_priority == old_priority) [all...] |
/external/tensorflow/tensorflow/compiler/xla/tests/ |
bitcast_convert_test.cc | 105 auto param = b->Parameter(0, ShapeUtil::MakeShape(F32, {}), "in"); local 106 b->BitcastConvertType(param, S32); 117 auto param = b->Parameter(0, ShapeUtil::MakeShape(S32, {}), "in"); local 118 b->BitcastConvertType(param, F32);
|
convert_test.cc | 176 auto param = b->Parameter(0, ShapeUtil::MakeShape(F32, {}), "in"); local 177 b->ConvertElementType(param, S32); 188 auto param = b->Parameter(0, ShapeUtil::MakeShape(S32, {}), "in"); local 189 b->ConvertElementType(param, F32);
|
/external/testng/src/test/java/test/factory/ |
FactoryWithInstanceInfoTest.java | 14 @Parameters({ "factory-param" }) 16 public IInstanceInfo[] createObjectsWithInstanceInfo(String param) 18 assert "FactoryParam".equals(param) : "Incorrect param: " + param; local
|
/frameworks/native/services/surfaceflinger/ |
main_surfaceflinger.cpp | 113 struct sched_param param = {0}; local 114 param.sched_priority = 2; 115 if (sched_setscheduler(0, SCHED_FIFO, ¶m) != 0) {
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemExsltFunction.java | 93 ElemParam param = (ElemParam)children.item(i); local 94 vars.setLocalVariable(param.getIndex(), args[i], nextFrame);
|
/bionic/benchmarks/ |
semaphore_benchmark.cpp | 89 memset(¶m, 0, sizeof(param)); 90 pthread_attr_setschedparam(&attr, ¶m); 97 sched_setscheduler(0, SCHED_IDLE, ¶m); 106 sched_setscheduler(0, SCHED_OTHER, ¶m); 119 sched_param param; member in class:SemaphoreFixture 132 sched_setscheduler(0, SCHED_OTHER, ¶m); 146 param.sched_priority = 1; 147 sched_setscheduler(0, SCHED_FIFO, ¶m); 152 param.sched_priority = 0 [all...] |
/cts/suite/audio_quality/lib/src/ |
SimpleScriptExec.cpp | 31 android::String8 param; local 33 if (!runScript(script, param, result)) { 66 bool SimpleScriptExec::runScript(const android::String8& script, const android::String8& param, 71 command.appendFormat("%s %s %s", PYTHON_PATH, script.string(), param.string());
|
/dalvik/dx/src/com/android/dx/ssa/ |
MoveParamCombiner.java | 28 * Combine identical move-param insns, which may result from Ropper's 39 * @param ssaMethod method to process 73 int param = getParamIndex(insn); 75 if (paramSpecs[param] == null) { 76 paramSpecs[param] = insn.getResult(); 78 final RegisterSpec specA = paramSpecs[param]; 146 * Returns the parameter index associated with a move-param insn. Does 147 * not verify that the insn is a move-param insn. 149 * @param insn {@code non-null;} a move-param ins 155 int param = ((CstInteger)cstInsn.getConstant()).getValue(); local [all...] |
/external/annotation-tools/annotation-file-utilities/src/annotator/find/ |
ReceiverCriterion.java | 47 Tree param = null; local 51 if (param == null) { 52 param = parent.getLeaf(); 61 if (parent != null && param != null) { 63 if (param == method.getReceiverParameter()) {
|
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultConnectionKeepAliveStrategy.java | 69 String param = he.getName(); local 71 if (value != null && param.equalsIgnoreCase("timeout")) {
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
NetscapeDraftHeaderParser.java | 76 NameValuePair param = this.nvpParser.parseNameValuePair(buffer, cursor, DELIMITERS); local 77 params.add(param);
|