/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
25-4.c | 26 int policy, result; local 37 result = sched_setparam(0, ¶m); 39 if (result != -1) { 54 result = sched_setparam(0, ¶m); 56 if (result == -1 && errno == EINVAL) { 61 } else if (result != -1) {
|
26-1.c | 55 int result; local 73 result = sched_setparam(1, ¶m); 75 if (result == -1 && errno == EPERM) {
|
27-1.c | 28 int result, child_pid, stat_loc; local 51 result = sched_setparam(child_pid, ¶m); 53 if (result == -1 && errno == ESRCH) { 56 } else if (result != -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
16-1.c | 27 int result, old_policy, new_policy; local 40 result = sched_setscheduler(0, new_policy, ¶m); 42 if (result == old_policy) { 45 } else if (result == -1 && errno == EPERM) { 51 printf("Returned code == %i.\n", result);
|
19-4.c | 29 int policy, result; local 42 result = sched_setscheduler(0, SCHED_SPORADIC, ¶m); 44 if (result != -1) { 59 result = sched_setscheduler(0, SCHED_SPORADIC, ¶m); 61 if (result == -1 && errno == EINVAL) { 66 } else if (result != -1) {
|
20-1.c | 61 int result; local 76 result = sched_setscheduler(1, SCHED_FIFO, ¶m); 78 if (result == -1 && errno == EPERM) {
|
21-1.c | 27 int result, child_pid, stat_loc; local 48 result = sched_setscheduler(child_pid, SCHED_FIFO, ¶m); 50 if (result == -1 && errno == ESRCH) { 53 } else if (result != -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
13-1.c | 29 int fd, result; local 37 result = ftruncate(fd, BUF_SIZE); 39 if (result == -1 && errno == EINVAL) { 43 } else if (result == 0) {
|
15-1.c | 31 int fd, result; local 34 result = shm_unlink(SHM_NAME); 35 if (result != 0 && errno != ENOENT) { 48 result = fstat(fd, &stat_buf); 50 if (result == 0) { 54 } else if (result == -1 && errno == EBADF) {
|
16-1.c | 29 int fd, result; local 32 result = shm_unlink(SHM_NAME); 33 if (result != 0 && errno != ENOENT) { 46 result = fstat(fd, &stat_buf); 47 if (result != 0) {
|
17-1.c | 29 int fd, result; local 32 result = shm_unlink(SHM_NAME); 33 if (result != 0 && errno != ENOENT) { 46 result = fstat(fd, &stat_buf); 47 if (result != 0) {
|
20-1.c | 29 int fd, result; local 31 result = shm_unlink(SHM_NAME); 32 if (result != 0 && errno != ENOENT) { 45 result = ftruncate(fd, BUF_SIZE); 47 if (result == -1 && errno == EINVAL) { 51 } else if (result == 0) {
|
20-2.c | 29 int fd, result; local 31 result = shm_unlink(SHM_NAME); 32 if (result != 0 && errno != ENOENT) { 45 result = ftruncate(fd, BUF_SIZE); 46 if (result == 0) { 50 } else if (result == -1 && errno == EINVAL) {
|
21-1.c | 27 int fd, result; local 30 result = shm_unlink(SHM_NAME); 31 if (result != 0 && errno != ENOENT) { 44 result = fstat(fd, &stat_buf); 45 if (result != 0) {
|
37-1.c | 42 int fd, i = 0, result = PTS_PASS; local 57 result = PTS_FAIL; 65 if (result == PTS_PASS) 69 return result;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
10-1.c | 25 int result, i; local 48 result = shm_unlink(shm_name); 50 if (result == -1 && errno == ENAMETOOLONG) { 53 } else if (result != -1) {
|
9-1.c | 37 int fd, result; local 69 result = shm_unlink(SHM_NAME); 70 if (result == -1 && errno == EACCES) { 75 } else if (result == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/ |
1-1.c | 27 int result; local 35 result = strftime(text, sizeof(text), "%a", local_t); 36 printf("a Bytes %i %s ", result, text); 37 if (result != 3) { 44 result = strftime(text, sizeof(text), "%A", local_t); 45 printf("A Bytes %i %s ", result, text); 46 if (result <= 5) { 53 result = strftime(text, sizeof(text), "%b", local_t); 54 printf("b Bytes %i %s ", result, text); 55 if (result != 3) [all...] |
2-1.c | 28 int result; local 37 * result = strftime(text, sizeof(text), "%Ec", local_t); 38 * printf("Ec Bytes %i %s ", result, text); 39 * if (result != 31) { 47 result = strftime(text, sizeof(text), "%EC", local_t); 48 printf("EC Bytes %i %s ", result, text); 49 if (result != 2) { 57 * result = strftime(text, sizeof(text) , "%Ex", local_t); 58 * printf("Ex Bytes %i %s ", result, text); 59 * if (result != 10) [all...] |
3-1.c | 22 int result; local 26 result = strftime(buf, sizeof(buf), "%A %d %B, %I:%S %p", tm_ptr); 28 if (result != 0) {
|
/external/mesa3d/src/intel/vulkan/ |
anv_intel.c | 42 VkResult result; local 52 result = anv_image_create(_device, 71 if (result != VK_SUCCESS) 78 result = anv_bo_cache_import(device, &device->bo_cache, 80 if (result != VK_SUCCESS) 86 result = vk_errorf(device->instance, device, 116 return result;
|
/external/pdfium/core/fxcrt/ |
fx_extension_unittest.cpp | 11 int result = 0; local 14 result |= 1 << (nbits - i - 1); 16 return result;
|
/external/skia/src/sksl/lex/ |
NFA.cpp | 34 int result = fStates[id].fData[0]; local 35 if (accept == INVALID || result < accept) { 36 accept = result;
|
/external/skia/tests/ |
CodecPriv.h | 26 const SkCodec::Result result = codec->getPixels(codec->getInfo(), bm->getPixels(), local 28 return result == SkCodec::kSuccess || result == SkCodec::kIncompleteInput;
|
InsetConvexPolyTest.cpp | 38 bool result = SkInsetConvexPolygon(rrectPoly.begin(), rrectPoly.count(), 3, &insetPoly); local 39 REPORTER_ASSERT(reporter, result); 43 result = SkInsetConvexPolygon(rrectPoly.begin(), rrectPoly.count(), 10, &insetPoly); 44 REPORTER_ASSERT(reporter, result); 56 result = SkInsetConvexPolygon(rrectPoly.begin(), rrectPoly.count(), 55, &insetPoly); 57 REPORTER_ASSERT(reporter, !result); 66 result = SkInsetConvexPolygon(rrectPoly.begin(), rrectPoly.count(), 75, &insetPoly); 67 REPORTER_ASSERT(reporter, !result); 102 result = SkInsetConvexPolygon(clippedRRectPoly.begin(), clippedRRectPoly.count(), 32.3699417f, 104 REPORTER_ASSERT(reporter, result); [all...] |