/external/ltp/testcases/commands/tpm-tools/tpm/tpm_restrictpubek/ |
tpm_restrictpubek_tests_exp03.sh | 38 set rc [lindex $rc_list {3}] 40 if {$pwd_prompt == 0} { set rc 1 } 42 exit $rc
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/ |
1-3.c | 40 int rc; local 48 if ((rc = pthread_condattr_init(&condattr)) != 0) { 49 fprintf(stderr, "Error at pthread_condattr_init(), rc=%d\n", 50 rc); 62 rc = pthread_condattr_setclock(&condattr, clockid); 63 if (rc != EINVAL) { 66 rc);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/speculative/ |
4-2.c | 32 int rc = 0; local 35 rc = pthread_mutex_lock(&mutex); 36 if (rc != 0) { 42 rc = pthread_mutex_destroy(&mutex); 43 if (rc != EBUSY) { 45 "though the standard states 'may' fail\n", EBUSY, rc);
|
/external/python/cpython2/Python/ |
dynload_os2.c | 22 APIRET rc; local 27 rc = DosLoadModule(failreason, 32 if (rc != NO_ERROR) { 35 "DLL load failed, rc = %d: %.200s", 36 rc, failreason); 42 rc = DosQueryProcAddr(hDLL, 0L, funcname, &p); 43 if (rc != NO_ERROR)
|
/external/strace/tests/ |
chmod.c | 47 long rc = syscall(__NR_chmod, fname, 0600); local 48 printf("chmod(\"%s\", 0600) = %s\n", fname, sprintrc(rc)); 53 rc = syscall(__NR_chmod, fname, 051); 54 printf("chmod(\"%s\", 051) = %s\n", fname, sprintrc(rc)); 56 rc = syscall(__NR_chmod, fname, 004); 57 printf("chmod(\"%s\", 004) = %s\n", fname, sprintrc(rc));
|
fchmod.c | 53 long rc = syscall(__NR_fchmod, fd, 0600); local 54 printf("fchmod(%d, 0600) = %s\n", fd, sprintrc(rc)); 58 rc = syscall(__NR_fchmod, fd, 051); 59 printf("fchmod(%d, 051) = %s\n", fd, sprintrc(rc)); 61 rc = syscall(__NR_fchmod, fd, 004); 62 printf("fchmod(%d, 004) = %s\n", fd, sprintrc(rc));
|
fchmodat.c | 48 long rc = syscall(__NR_fchmodat, -100, sample, 0600); local 50 sample, sprintrc(rc)); 55 rc = syscall(__NR_fchmodat, -100, sample, 051); 57 sample, sprintrc(rc)); 59 rc = syscall(__NR_fchmodat, -100, sample, 004); 61 sample, sprintrc(rc));
|
libmmsg.c | 49 int rc = socketcall(__NR_recvmmsg, SC_recvmmsg, local 52 if (rc < 0 && ENOSYS == errno) 55 return rc; 62 int rc = socketcall(__NR_sendmmsg, SC_sendmmsg, local 65 if (rc < 0 && ENOSYS == errno) 68 return rc;
|
membarrier.c | 50 int rc = syscall(__NR_membarrier, 0, 0); local 52 assert(rc >= 0); 54 text_global = rc & 1 ? "MEMBARRIER_CMD_GLOBAL" : ""; 56 switch (rc & ~1) { 86 " the test have to be updated?", rc); 89 rc, text_global, text[0] && text_global[0] ? "|" : "",
|
/external/strace/tests-m32/ |
chmod.c | 47 long rc = syscall(__NR_chmod, fname, 0600); local 48 printf("chmod(\"%s\", 0600) = %s\n", fname, sprintrc(rc)); 53 rc = syscall(__NR_chmod, fname, 051); 54 printf("chmod(\"%s\", 051) = %s\n", fname, sprintrc(rc)); 56 rc = syscall(__NR_chmod, fname, 004); 57 printf("chmod(\"%s\", 004) = %s\n", fname, sprintrc(rc));
|
fchmod.c | 53 long rc = syscall(__NR_fchmod, fd, 0600); local 54 printf("fchmod(%d, 0600) = %s\n", fd, sprintrc(rc)); 58 rc = syscall(__NR_fchmod, fd, 051); 59 printf("fchmod(%d, 051) = %s\n", fd, sprintrc(rc)); 61 rc = syscall(__NR_fchmod, fd, 004); 62 printf("fchmod(%d, 004) = %s\n", fd, sprintrc(rc));
|
fchmodat.c | 48 long rc = syscall(__NR_fchmodat, -100, sample, 0600); local 50 sample, sprintrc(rc)); 55 rc = syscall(__NR_fchmodat, -100, sample, 051); 57 sample, sprintrc(rc)); 59 rc = syscall(__NR_fchmodat, -100, sample, 004); 61 sample, sprintrc(rc));
|
libmmsg.c | 49 int rc = socketcall(__NR_recvmmsg, SC_recvmmsg, local 52 if (rc < 0 && ENOSYS == errno) 55 return rc; 62 int rc = socketcall(__NR_sendmmsg, SC_sendmmsg, local 65 if (rc < 0 && ENOSYS == errno) 68 return rc;
|
membarrier.c | 50 int rc = syscall(__NR_membarrier, 0, 0); local 52 assert(rc >= 0); 54 text_global = rc & 1 ? "MEMBARRIER_CMD_GLOBAL" : ""; 56 switch (rc & ~1) { 86 " the test have to be updated?", rc); 89 rc, text_global, text[0] && text_global[0] ? "|" : "",
|
/external/strace/tests-mx32/ |
chmod.c | 47 long rc = syscall(__NR_chmod, fname, 0600); local 48 printf("chmod(\"%s\", 0600) = %s\n", fname, sprintrc(rc)); 53 rc = syscall(__NR_chmod, fname, 051); 54 printf("chmod(\"%s\", 051) = %s\n", fname, sprintrc(rc)); 56 rc = syscall(__NR_chmod, fname, 004); 57 printf("chmod(\"%s\", 004) = %s\n", fname, sprintrc(rc));
|
fchmod.c | 53 long rc = syscall(__NR_fchmod, fd, 0600); local 54 printf("fchmod(%d, 0600) = %s\n", fd, sprintrc(rc)); 58 rc = syscall(__NR_fchmod, fd, 051); 59 printf("fchmod(%d, 051) = %s\n", fd, sprintrc(rc)); 61 rc = syscall(__NR_fchmod, fd, 004); 62 printf("fchmod(%d, 004) = %s\n", fd, sprintrc(rc));
|
fchmodat.c | 48 long rc = syscall(__NR_fchmodat, -100, sample, 0600); local 50 sample, sprintrc(rc)); 55 rc = syscall(__NR_fchmodat, -100, sample, 051); 57 sample, sprintrc(rc)); 59 rc = syscall(__NR_fchmodat, -100, sample, 004); 61 sample, sprintrc(rc));
|
libmmsg.c | 49 int rc = socketcall(__NR_recvmmsg, SC_recvmmsg, local 52 if (rc < 0 && ENOSYS == errno) 55 return rc; 62 int rc = socketcall(__NR_sendmmsg, SC_sendmmsg, local 65 if (rc < 0 && ENOSYS == errno) 68 return rc;
|
membarrier.c | 50 int rc = syscall(__NR_membarrier, 0, 0); local 52 assert(rc >= 0); 54 text_global = rc & 1 ? "MEMBARRIER_CMD_GLOBAL" : ""; 56 switch (rc & ~1) { 86 " the test have to be updated?", rc); 89 rc, text_global, text[0] && text_global[0] ? "|" : "",
|
/prebuilts/go/darwin-x86/src/ |
all.rc | 1 #!/bin/rc -e 8 if(! test -f make.rc){ 9 echo 'all.rc must be run from $GOROOT/src' >[1=2] 13 . ./make.rc --no-banner 15 ./run.rc --no-rebuild
|
/prebuilts/go/linux-x86/src/ |
all.rc | 1 #!/bin/rc -e 8 if(! test -f make.rc){ 9 echo 'all.rc must be run from $GOROOT/src' >[1=2] 13 . ./make.rc --no-banner 15 ./run.rc --no-rebuild
|
/external/selinux/libsepol/cil/src/ |
cil_write_ast.c | 53 int rc = SEPOL_ERR; local 60 rc = cil_unfill_expr((struct cil_list *)curr->data, &str, paren); 61 if (rc != SEPOL_OK) 70 rc = SEPOL_ERR; 80 rc = SEPOL_ERR; 137 rc = __cil_unfill_expr_helper(curr->next, next, &operand1, paren); 138 if (rc != SEPOL_OK) 145 rc = __cil_unfill_expr_helper(curr->next, next, &operand1, paren); 146 if (rc != SEPOL_OK) 150 rc = __cil_unfill_expr_helper(*next, next, &operand2, paren) 231 int rc = SEPOL_ERR; local 269 int rc = SEPOL_ERR; local 301 int rc = SEPOL_ERR; local 343 int rc = SEPOL_ERR; local 379 int rc = SEPOL_ERR; local 435 int rc = SEPOL_ERR; local 466 int rc = SEPOL_ERR; local 495 int rc = SEPOL_ERR; local 521 int rc = SEPOL_ERR; local 551 int rc = SEPOL_ERR; local 577 int rc = SEPOL_ERR; local 638 int rc = SEPOL_ERR; local 657 int rc = SEPOL_ERR; local 674 int rc = SEPOL_ERR; local 701 int rc = SEPOL_ERR; local 744 int rc = SEPOL_ERR; local 790 int rc = SEPOL_ERR; local 827 int rc = SEPOL_ERR; local 838 int rc = SEPOL_ERR; local 881 int rc = SEPOL_ERR; local 899 int rc = SEPOL_ERR; local 915 int rc = SEPOL_ERR; local 931 int rc = SEPOL_ERR; local 956 int rc = SEPOL_ERR; local 979 int rc = SEPOL_ERR; local 1021 int rc = SEPOL_ERR; local 1063 int rc = SEPOL_ERR; local 1087 int rc = SEPOL_OK; local 1113 int rc = SEPOL_OK; local 1136 int rc = SEPOL_ERR; local 1155 int rc = SEPOL_OK; local 1464 int rc = SEPOL_ERR; local 1487 int rc = SEPOL_ERR; local [all...] |
/system/core/trusty/storage/proxy/ |
proxy.c | 100 int rc; local 114 rc = storage_sync_checkpoint(); 115 if (rc < 0) { 123 rc = storage_file_delete(msg, req, req_len); 127 rc = storage_file_open(msg, req, req_len); 131 rc = storage_file_close(msg, req, req_len); 135 rc = storage_file_write(msg, req, req_len); 139 rc = storage_file_read(msg, req, req_len); 143 rc = storage_file_get_size(msg, req, req_len); 147 rc = storage_file_set_size(msg, req, req_len) 169 ssize_t rc; local 231 int rc; local [all...] |
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/ |
pitest-5.c | 99 int rc; local 104 rc = sched_setaffinity(0, sizeof(mask), &mask); 105 if (rc < 0) { 107 "%d %s", tp->name, tp->index, rc, strerror(rc)); 123 rc = nanosleep(&ts, NULL); 124 if (rc < 0) { 126 "%d %s", tp->name, tp->index, rc, strerror(rc)); 140 int rc; local 189 int rc; local 221 int rc; local 263 int rc; local [all...] |
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/ |
user_tmod.c | 56 int rc = 0; local 60 if (rc) { 63 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | 74 rc = unlink(DEVICE_NAME); 75 if (!rc) { 76 rc = mkdir(DEVICE_NAME, (S_IFDIR | S_IRWXU | 87 rc = stat(DEVICE_NAME, &st); 88 if (rc) { 91 rc = mknod(DEVICE_NAME, 108 rc = unlink(DEVICE_NAME) 143 int rc; local [all...] |