HomeSort by relevance Sort by last modified time
    Searched defs:rc (Results 26 - 50 of 963) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/fio/exp/
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/libexif/contrib/examples/
thumbnail.c 13 int rc = 1; local
19 return rc;
52 rc = 0;
55 rc = 2;
59 rc = 1;
65 return rc;
  /external/libexif/test/
test-sorted.c 31 int rc = 0; local
40 rc = 1;
44 rc = 1;
49 return rc;
  /external/selinux/libselinux/src/
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;
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;
setexecfilecon.c 11 int rc = 0; local
16 rc = getcon(&mycon);
17 if (rc < 0)
20 rc = getfilecon(filename, &fcon);
21 if (rc < 0)
24 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &newcon);
25 if (rc < 0)
30 rc = -1;
40 rc = 0;
43 rc = setexeccon(newcon)
62 int rc; local
    [all...]
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;
  /external/selinux/libselinux/utils/
getseuser.c 12 int rc, n, i; local
19 rc = getseuserbyname(argv[1], &seuser, &level);
20 if (rc) {
togglesebool.c 26 int rc, i, commit = 0; local
41 rc = security_get_boolean_active(argv[i]);
42 switch (rc) {
  /external/selinux/libsepol/cil/test/unit/
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);
test_cil_lexer.c 45 int rc = cil_lexer_setup(buffer, str_size + 2); local
46 CuAssertIntEquals(tc, SEPOL_OK, rc);
63 int rc = cil_lexer_next(&test_tok); local
64 CuAssertIntEquals(tc, SEPOL_OK, rc);
70 rc = cil_lexer_next(&test_tok);
71 CuAssertIntEquals(tc, SEPOL_OK, rc);
77 rc = cil_lexer_next(&test_tok);
78 CuAssertIntEquals(tc, SEPOL_OK, rc);
84 rc = cil_lexer_next(&test_tok);
85 CuAssertIntEquals(tc, SEPOL_OK, rc);
    [all...]
test_cil_symtab.c 59 int rc = cil_symtab_insert(test_symtab, (hashtab_key_t)test_name, (struct cil_symtab_datum*)test_block, test_ast_node); local
60 CuAssertIntEquals(tc, SEPOL_OK, rc);
  /external/valgrind/memcheck/tests/vbit-test/
irops.c 1100 int rc; local
1127 int rc; local
    [all...]
  /system/core/toolbox/
prlimit.c 50 int rc; local
69 rc = prlimit64(pid, resource, &rl, NULL);
70 if (rc < 0) {
  /art/runtime/
signal_set.h 49 int rc = TEMP_FAILURE_RETRY(sigwait(&set_, &signal_number)); local
50 if (rc != 0) {
  /bionic/libc/arch-x86/bionic/
__set_tls.c 64 int rc = __set_thread_area(&tls_descriptor); local
65 if (rc != -1) {
73 return rc;
  /bionic/libc/bionic/
mmap.cpp 53 int rc = madvise(result, size, MADV_MERGEABLE); local
54 if (rc == -1 && errno == EINVAL) {
statvfs.cpp 52 int rc = __fstatfs64(fd, sizeof(*result), result); local
53 if (rc != 0) {
54 return rc;
62 int rc = __statfs64(path, sizeof(*result), result); local
63 if (rc != 0) {
64 return rc;
73 int rc = statfs(path, &tmp); local
74 if (rc != 0) {
75 return rc;
84 int rc = fstatfs(fd, &tmp) local
    [all...]
  /device/asus/flo/camera/QCamera2/stack/common/
cam_semaphore.h 65 int rc = 0; local
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex));
71 return rc;
  /device/lge/hammerhead/camera/QCamera2/stack/common/
cam_semaphore.h 65 int rc = 0; local
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex));
71 return rc;
  /device/moto/shamu/camera/QCamera2/stack/common/
cam_semaphore.h 65 int rc = 0; local
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex));
71 return rc;
  /external/icu/icu4c/source/samples/case/
case.cpp 80 int rc = c_main(out); local
82 return rc;
  /external/libcap-ng/libcap-ng-0.7/bindings/python/test/
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/
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 = capng_update(CAPNG_DROP, CAPNG_EFFECTIVE, i)
    [all...]
  /external/libselinux/src/
checkAccess.c 21 int rc; local
32 rc = avc_context_to_sid(scon, &scon_id);
33 if (rc < 0)
34 return rc;
36 rc = avc_context_to_sid(tcon, &tcon_id);
37 if (rc < 0)
38 return rc;
42 rc = errno;
46 errno = rc;
52 rc = errno
    [all...]

Completed in 295 milliseconds

12 3 4 5 6 7 8 91011>>