/bionic/libc/bionic/ |
sched_getcpu.cpp | 36 int rc = __getcpu(&cpu, NULL, NULL); local 37 if (rc == -1) {
|
/device/linaro/bootloader/arm-trusted-firmware/lib/pmf/ |
pmf_smc.c | 24 int rc; local 41 rc = pmf_get_timestamp_smc(x1, x2, x3, &ts_value); 42 SMC_RET3(handle, rc, (uint32_t)ts_value, 57 rc = pmf_get_timestamp_smc(x1, x2, x3, &ts_value); 58 SMC_RET2(handle, rc, ts_value);
|
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/common/custom/ |
oem_svc.c | 44 uint64_t rc; local 48 rc = SMC_UNK; 52 SMC_RET1(handle, rc);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/ |
util.c | 29 int rc;
local 34 rc = SQLITE_OK;
37 rc = sqlite3_step(statement);
local 41 return rc;
|
/external/autotest/client/site_tests/kernel_LTP/ |
ltp-diff.py | 72 rc = 0 100 rc = 1 109 if rc == 0: 111 return rc 121 rc = compare_results(runs) variable 122 sys.exit(rc)
|
/external/autotest/client/tests/ltp/ |
ltp-diff.py | 67 rc = 0 95 rc = 1 104 if rc == 0: 106 return rc 116 rc = compare_results(runs) variable 117 sys.exit(rc)
|
/external/curl/src/ |
tool_cb_rea.c | 39 ssize_t rc; local 42 rc = read(in->fd, buffer, sz*nmemb); 43 if(rc < 0) { 50 rc = 0; 53 return (size_t)rc;
|
/external/curl/tests/unit/ |
unit1301.c | 31 int rc; variable 33 rc = curl_strequal("iii", "III"); 34 fail_unless(rc != 0, "return code should be non-zero"); 36 rc = curl_strequal("iiia", "III"); 37 fail_unless(rc == 0, "return code should be zero"); 39 rc = curl_strequal("iii", "IIIa"); 40 fail_unless(rc == 0, "return code should be zero"); 42 rc = curl_strequal("iiiA", "IIIa"); 43 fail_unless(rc != 0, "return code should be non-zero"); 45 rc = curl_strnequal("iii", "III", 3) [all...] |
/external/dtc/tests/ |
get_mem_rsv.c | 34 int rc; local 39 rc = fdt_num_mem_rsv(fdt); 40 if (rc < 0) 41 FAIL("fdt_num_mem_rsv(): %s", fdt_strerror(rc)); 42 if (rc != 2) 43 FAIL("fdt_num_mem_rsv() returned %d instead of 2", rc);
|
/external/libnl/doc/ |
resolve-asciidoc-refs.py | 23 rc = re.compile('|'.join(map(re.escape, sorted(refs, reverse=True)))) variable 25 print rc.sub(translate, line),
|
/external/ltp/testcases/kernel/device-drivers/agp/user_space/ |
tagp_ki.c | 47 int rc; local 62 rc = ioctl(fd, flag, &tif); 63 if (rc) { 65 return rc; 72 return rc;
|
/external/ltp/testcases/kernel/device-drivers/base/user_base/ |
tbase_ki.c | 47 int rc; local 62 rc = ioctl(fd, flag, &tif); 63 if (rc) { 65 return rc; 70 return rc;
|
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/ |
tmod_ki.c | 47 int rc; local 62 rc = ioctl(fd, flag, &tif); 63 if (rc) { 65 return rc; 72 return rc;
|
/external/ltp/testcases/kernel/device-drivers/usb/user_usb/ |
tusb_ki.c | 56 int rc; local 71 rc = ioctl(fd, flag, &tif); 72 if (rc) { 74 return rc; 81 return rc;
|
/external/ltp/testcases/kernel/sched/clisrv/ |
readline.c | 33 int n, rc; local 39 if ((rc = read(fd, &c, 1)) == 1) { 43 } else if (rc == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/ |
1-1.c | 21 int rc; local 28 rc = create_test_thread(&p); 30 if (rc == PTS_PASS) 33 return rc;
|
1-2.c | 28 int rc; local 35 rc = create_test_thread(&p); 37 if (rc == PTS_PASS) 40 return rc;
|
1-3.c | 28 int rc; local 35 rc = create_test_thread(&p); 37 if (rc == PTS_PASS) 40 return rc;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_destroy/ |
1-1.c | 26 int rc; local 36 rc = pthread_barrierattr_destroy(&ba); 37 if (rc != 0) { 39 "return code: %d, %s", rc, strerror(rc)); 44 rc = pthread_barrierattr_init(&ba); 45 if (rc != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_setpshared/ |
2-1.c | 36 int rc; local 50 rc = pthread_barrierattr_setpshared(&ba, pshared); 51 if (rc == EINVAL) 54 printf("Get return code: %d, %s\n", rc, strerror(rc));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
3-1.c | 21 int rc; local 24 if ((rc = pthread_cond_init(&cond, NULL)) != 0) { 25 fprintf(stderr, "Fail to initialize cond, rc=%d\n", rc); 29 if ((rc = pthread_cond_destroy(&cond)) == 0) { 35 else if (rc == EBUSY) { 39 } else if (rc == EINVAL) { 46 printf("Test FAILED (error %i unexpected)\n", rc);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_destroy/ |
1-1.c | 25 int rc; local 28 if ((rc = pthread_condattr_init(&condattr)) != 0) { 36 fprintf(stderr, "Error at pthread_condattr_destroy(), rc=%d\n", 37 rc);
|
4-1.c | 26 int rc; local 30 if ((rc = pthread_condattr_destroy(condattr)) == EINVAL) { 36 EINVAL, rc);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_init/ |
1-1.c | 26 int rc; local 32 if ((rc = pthread_condattr_init(&condattr)) != 0) { 33 fprintf(stderr, "Error at pthread_condattr_init(), rc=%d\n", 34 rc);
|
3-1.c | 25 int rc; local 28 if ((rc = pthread_condattr_init(&condattr)) == 0) { 34 else if (rc == ENOMEM) {
|