/external/selinux/libselinux/utils/ |
H A D | getenforce.c | 9 int rc; local 11 rc = is_selinux_enabled(); 12 if (rc < 0) { 16 if (rc == 1) { 17 rc = security_getenforce(); 18 if (rc < 0) { 23 if (rc)
|
H A D | policyvers.c | 8 int rc; local 10 rc = security_policyvers(); 11 if (rc < 0) { 16 printf("%d\n", rc);
|
H A D | setfilecon.c | 8 int rc, i; local 16 rc = setfilecon(argv[i], argv[1]); 17 if (rc < 0) {
|
H A D | getfilecon.c | 9 int rc, i; local 17 rc = getfilecon(argv[i], &buf); 18 if (rc < 0) {
|
H A D | getpidcon.c | 10 int rc; local 22 rc = getpidcon(pid, &buf); 23 if (rc < 0) {
|
H A D | setenforce.c | 18 int rc = 0; local 28 rc = security_setenforce(atoi(argv[1])); 31 rc = security_setenforce(1); 33 rc = security_setenforce(0); 37 if (rc < 0) {
|
H A D | getseuser.c | 12 int rc, n, i; local 19 rc = getseuserbyname(argv[1], &seuser, &level); 20 if (rc) {
|
H A D | togglesebool.c | 26 int rc, i, commit = 0; local 41 rc = security_get_boolean_active(argv[i]); 42 switch (rc) {
|
/external/strace/tests/ |
H A D | ipc_msg.c | 8 int rc, id; local 25 rc = msgctl(id, MSG_STAT, &ds); 26 if (rc != id) { 31 if (-1 != rc || EINVAL != errno) 38 rc = 0; 43 return rc; 46 rc = 1;
|
H A D | ipc_shm.c | 8 int rc, id; local 25 rc = shmctl(id, SHM_STAT, &ds); 26 if (rc != id) { 31 if (-1 != rc || EINVAL != errno) 38 rc = 0; 43 return rc; 46 rc = 1;
|
/external/toybox/toys/other/ |
H A D | readahead.c | 24 int rc; local 28 if (sizeof(long) == 4) rc = syscall(__NR_readahead, fd, 0, 0, INT_MAX); 29 else rc = syscall(__NR_readahead, fd, 0, INT_MAX); 31 if (rc) perror_msg("readahead: %s", name);
|
/external/clang/test/SemaCXX/ |
H A D | PR5086-ambig-resolution-enum.cpp | 11 void foo(const C& rc) { argument 13 const char *p = rc.fun1(BUFLEN - 2, C::e1);
|
/external/libexif/test/ |
H A D | test-sorted.c | 31 int rc = 0; local 40 rc = 1; 44 rc = 1; 49 return rc;
|
/external/libopus/silk/float/ |
H A D | k2a_FLP.c | 37 const silk_float *rc, /* I reflection coefficients [order] */ 49 A[ n ] += Atmp[ k - n - 1 ] * rc[ k ]; 51 A[ k ] = -rc[ k ]; 35 silk_k2a_FLP( silk_float *A, const silk_float *rc, opus_int32 order ) argument
|
/external/selinux/libsepol/cil/test/unit/ |
H A D | test_cil_fqn.c | 57 int rc = cil_fqn_qualify(test_db->ast->root); local 58 CuAssertIntEquals(tc, SEPOL_OK, rc); 73 int rc = cil_fqn_qualify(test_db->ast->root); local 74 CuAssertIntEquals(tc, SEPOL_OK, rc);
|
H A D | test_cil_parser.c | 41 int rc = 0; local 52 rc = cil_parser("policy.cil", data->buffer, data->file_size + 2, &test_parse_root); 53 CuAssertIntEquals(tc, SEPOL_OK, rc);
|
H A D | test_cil_tree.c | 57 int rc = cil_tree_init(&test_tree); local 59 CuAssertIntEquals(tc, SEPOL_OK, rc);
|
/external/valgrind/memcheck/tests/ |
H A D | sigkill.c | 20 int rc; local 35 rc = sigaction (i /*SIGKILL*/, &sa, NULL); 36 if (rc) perror (""); 39 rc = sigaction (i /*SIGKILL*/, NULL, &sa); 40 if (rc) perror ("");
|
/external/fio/exp/ |
H A D | test-expression-parser.c | 32 int rc, bye = 0; local 40 rc = strlen(buffer); 41 if (rc > 0 && buffer[rc - 1] == '\n') 42 buffer[rc - 1] = '\0'; 43 rc = evaluate_arithmetic_expression(buffer, &result, &dresult, 1.0, 0); 44 if (!rc) {
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/ |
H A D | capng-test.py | 32 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i) variable 33 if rc: 37 rc = capng.capng_have_capability(capng.CAPNG_EFFECTIVE, int(i)) variable 38 if rc <= capng.CAPNG_NONE: 48 rc = capng.capng_update(capng.CAPNG_DROP, capng.CAPNG_EFFECTIVE, i) variable 49 if rc: 58 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i) variable 59 if rc:
|
/external/libcap-ng/libcap-ng-0.7/src/test/ |
H A D | lib_test.c | 32 int rc, i, len, last = CAP_LAST_CAP; local 64 rc = capng_update(CAPNG_ADD, CAPNG_EFFECTIVE, i); 65 if (rc) { 69 rc = capng_have_capability(CAPNG_EFFECTIVE, i); 70 if (rc == 0) { 83 rc = capng_update(CAPNG_ADD, CAPNG_BOUNDING_SET, i); 84 if (rc) { 88 rc = capng_have_capability(CAPNG_BOUNDING_SET, i); 89 if (rc == 0) { 120 rc [all...] |
/external/libexif/contrib/examples/ |
H A D | thumbnail.c | 13 int rc = 1; local 19 return rc; 52 rc = 0; 55 rc = 2; 59 rc = 1; 65 return rc;
|
/external/selinux/libselinux/src/ |
H A D | fsetfilecon.c | 12 int rc = fsetxattr(fd, XATTR_NAME_SELINUX, context, strlen(context) + 1, local 14 if (rc < 0 && errno == ENOTSUP) { 19 rc = 0; 25 return rc;
|
H A D | lsetfilecon.c | 12 int rc = lsetxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1, local 14 if (rc < 0 && errno == ENOTSUP) { 19 rc = 0; 25 return rc;
|
H A D | setfilecon.c | 12 int rc = setxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1, local 14 if (rc < 0 && errno == ENOTSUP) { 19 rc = 0; 25 return rc;
|