/external/selinux/libsepol/cil/test/unit/ |
H A D | 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...] |
H A D | 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);
|
H A D | test_cil.c | 73 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); local 74 CuAssertIntEquals(tc, SEPOL_OK, rc); 91 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); local 92 CuAssertIntEquals(tc, SEPOL_OK, rc); 109 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); local 110 CuAssertIntEquals(tc, SEPOL_OK, rc); 127 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); local 128 CuAssertIntEquals(tc, SEPOL_ERR, rc); 144 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); local 145 CuAssertIntEquals(tc, SEPOL_ERR, rc); 157 int rc = cil_get_symtab(test_db, test_ast_node, &symtab, CIL_SYM_BLOCKS); local 175 int rc = cil_get_symtab(test_db, test_ast_node->parent, &symtab, CIL_SYM_BLOCKS); local [all...] |
/external/skia/tools/ |
H A D | ProcStats.cpp | 52 int rc = fscanf(statm, "%*d %lld", &rssPages); local 54 if (rc != 1) {
|
/external/toybox/toys/other/ |
H A D | eject.c | 71 int rc = ioctl(fd, 0x5326, &out); // CDROM_DRIVE_STATUS local 72 if ((toys.optflags & FLAG_t) || rc == 2) // CDS_TRAY_OPEN
|
/external/toybox/toys/posix/ |
H A D | ln.c | 48 int rc; local 60 rc = mkstemp(new); 61 if (rc >= 0) { 62 close(rc); 67 rc = (toys.optflags & FLAG_s) ? symlink(try, new) : link(try, new); 69 if (!rc) { 72 rc = rename(new, oldnew); 74 if (rc && unlink(new)) perror_msg("unlink '%s'", new); 80 if (rc)
|
/external/valgrind/memcheck/tests/vbit-test/ |
H A D | irops.c | 1100 int rc; local 1102 rc = system(S390X_FEATURES " s390x-fpext"); 1104 rc /= 256; 1105 if (rc != 0) return NULL; 1127 int rc; local 1129 rc = system(S390X_FEATURES " s390x-pfpo"); 1131 rc /= 256; 1132 if (rc != 0) return NULL;
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fScissorTests.cpp | 54 glu::RenderContext& rc = m_context.getRenderContext(); local 85 rc, 94 addChild(createClearTest(tc, rc, "clear_depth", "Depth buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f), GL_DEPTH_BUFFER_BIT)); 95 addChild(createClearTest(tc, rc, "clear_stencil", "Stencil buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f), GL_STENCIL_BUFFER_BIT)); 96 addChild(createClearTest(tc, rc, "clear_color", "Color buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f), GL_COLOR_BUFFER_BIT));
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fScissorTests.cpp | 64 glu::RenderContext& rc = m_context.getRenderContext(); local 95 rc, 104 addChild(createClearTest(tc, rc, "clear_depth", "Depth buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f), GL_DEPTH_BUFFER_BIT)); 105 addChild(createClearTest(tc, rc, "clear_stencil", "Stencil buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f), GL_STENCIL_BUFFER_BIT)); 106 addChild(createClearTest(tc, rc, "clear_color", "Color buffer clear", Vec4(0.1f, 0.1f, 0.8f, 0.8f), GL_COLOR_BUFFER_BIT)); 108 addChild(createFramebufferClearTest(tc, rc, "clear_fixed_buffer", "Fixed point color clear", CLEAR_COLOR_FIXED)); 109 addChild(createFramebufferClearTest(tc, rc, "clear_int_buffer", "Integer color clear", CLEAR_COLOR_INT)); 110 addChild(createFramebufferClearTest(tc, rc, "clear_uint_buffer", "Unsigned integer buffer clear", CLEAR_COLOR_UINT)); 111 addChild(createFramebufferClearTest(tc, rc, "clear_depth_buffer", "Depth buffer clear", CLEAR_DEPTH)); 112 addChild(createFramebufferClearTest(tc, rc, "clear_stencil_buffe [all...] |
/external/icu/icu4c/source/samples/case/ |
H A D | case.cpp | 80 int rc = c_main(out); local 82 return rc;
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
H A D | filecap.c | 54 capng_results_t rc; local 58 rc = capng_have_capabilities(CAPNG_SELECT_CAPS); 59 if (rc > CAPNG_NONE) { 65 if (rc == CAPNG_FULL)
|
/external/libopus/silk/float/ |
H A D | LPC_inv_pred_gain_FLP.c | 46 double invGain, rc, rc_mult1, rc_mult2; local 55 rc = -Anew[ k ]; 56 if( rc > RC_THRESHOLD || rc < -RC_THRESHOLD ) { 59 rc_mult1 = 1.0f - rc * rc; 66 Anew[ n ] = (silk_float)( ( Aold[ n ] - Aold[ k - n - 1 ] * rc ) * rc_mult2 ); 69 rc = -Anew[ 0 ]; 70 if( rc > RC_THRESHOLD || rc < [all...] |
/external/libselinux/src/ |
H A D | 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 [all...] |
H A D | init.c | 32 int rc; local 42 rc = statfs(SELINUXMNT, &sfbuf); 43 } while (rc < 0 && errno == EINTR); 44 if (rc == 0) {
|
/external/lldb/test/functionalities/stop-hook/ |
H A D | main.cpp | 28 int rc = c(val); local 34 return rc; // End of the line range for which stop-hook is to be run.
|
/external/lldb/test/python_api/thread/ |
H A D | main2.cpp | 28 int rc = c(val); local 34 return rc; // we should reach here after 3 step-over's.
|
/external/pdfium/fpdfsdk/include/pdfwindow/ |
H A D | PWL_Caret.h | 39 void SetInvalidRect(CPDF_Rect rc) {m_rcInvalid = rc;} argument
|
/external/selinux/libselinux/src/ |
H A D | 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 62 int rc; local [all...] |
/external/selinux/libselinux/utils/ |
H A D | getconlist.c | 12 static void usage(const char *name, const char *detail, int rc) argument 17 exit(rc);
|
H A D | getsebool.c | 17 int i, get_all = 0, rc = 0, active, pending, len = 0, opt; local 31 rc = security_get_boolean_names(&names, &len); 32 if (rc) { 80 rc = -1; 87 rc = -1; 93 rc = -1; 112 return rc;
|
H A D | selinuxexeccon.c | 11 static void usage(const char *name, const char *detail, int rc) argument 16 exit(rc);
|
/external/selinux/policycoreutils/hll/pp/ |
H A D | pp.c | 64 int rc = -1; local 95 rc = -1; 106 rc = -1; 118 rc = sepol_ppfile_to_module_package(in, &mod_pkg); 119 if (rc != 0) { 125 rc = sepol_module_package_to_cil(out, mod_pkg); 126 if (rc != 0) { 139 if (rc != 0) { 145 return rc;
|
/external/sepolicy/tools/sepolicy-analyze/ |
H A D | sepolicy-analyze.c | 47 int rc; local 57 rc = analyze_components[i].func(argc - 2, argv + 2, &policydb); 58 if (rc && USAGE_ERROR) { 60 return rc;
|
/external/strace/tests/ |
H A D | ipc_sem.c | 16 int rc, id; local 40 rc = semctl(id, 0, SEM_STAT, un); 41 if (rc != id) { 46 if (-1 != rc || EINVAL != errno) 55 rc = 0; 60 return rc; 63 rc = 1;
|
/external/v8/test/mjsunit/ |
H A D | unicodelctest-no-optimization.js | 74 function rc(last) { function 101 last = rc(last);
|