Searched refs:rc (Results 1 - 25 of 608) sorted by relevance

1234567891011>>

/external/selinux/policycoreutils/sandbox/
H A Dstart3 rc = [-1,'']
5 rc=commands.getstatusoutput(sys.argv[1])
8 if rc[0] == 0:
9 print rc[1]
/external/selinux/libselinux/utils/
H A Dgetenforce.c9 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 Dpolicyvers.c8 int rc; local
10 rc = security_policyvers();
11 if (rc < 0) {
16 printf("%d\n", rc);
H A Dsetenforce.c18 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) {
/external/valgrind/drd/tests/
H A Dbug-235681.c20 int rc; local
25 rc = pthread_mutex_lock(&mutex);
26 assert(!rc);
31 rc = pthread_cond_wait(&cond_var, &mutex);
32 assert(!rc);
39 rc = pthread_mutex_unlock(&mutex);
40 assert(!rc);
50 int rc; local
56 rc = pthread_mutex_init(&mutex, NULL);
57 assert(!rc);
[all...]
H A Drun_openmp_test28 rc="$(nm "${libgomp_path}" 2>&1 \
40 exit ${rc:-1}
/external/libxml2/doc/examples/
H A DtestWriter.c71 int rc; local
85 rc = xmlTextWriterStartDocument(writer, NULL, MY_ENCODING, NULL);
86 if (rc < 0) {
94 rc = xmlTextWriterStartElement(writer, BAD_CAST "EXAMPLE");
95 if (rc < 0) {
107 rc = xmlTextWriterWriteComment(writer, tmp);
108 if (rc < 0) {
116 rc = xmlTextWriterStartElement(writer, BAD_CAST "ORDER");
117 if (rc < 0) {
124 rc
339 int rc; local
625 int rc; local
877 int rc; local
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_ratectrl.c117 const RATE_CONTROL *rc = &cpi->rc; local
118 const int min_frame_target = MAX(rc->min_frame_bandwidth,
119 rc->avg_frame_bandwidth >> 5);
122 if (cpi->refresh_golden_frame && rc->is_src_frame_alt_ref) {
130 if (target > rc->max_frame_bandwidth)
131 target = rc->max_frame_bandwidth;
136 const RATE_CONTROL *rc = &cpi->rc; local
139 const int max_rate = rc
170 RATE_CONTROL *const rc = &cpi->rc; local
188 vp9_rc_init(const VP9EncoderConfig *oxcf, int pass, RATE_CONTROL *rc) argument
239 RATE_CONTROL *const rc = &cpi->rc; local
276 const RATE_CONTROL *const rc = &cpi->rc; local
295 RATE_CONTROL *const rc = &cpi->rc; local
427 get_kf_active_quality(const RATE_CONTROL *const rc, int q) argument
432 get_gf_active_quality(const RATE_CONTROL *const rc, int q) argument
438 const RATE_CONTROL *const rc = &cpi->rc; local
466 const RATE_CONTROL *rc = &cpi->rc; local
515 const RATE_CONTROL *const rc = &cpi->rc; local
623 get_active_cq_level(const RATE_CONTROL *rc, const VP9EncoderConfig *const oxcf) argument
641 const RATE_CONTROL *const rc = &cpi->rc; local
786 const RATE_CONTROL *const rc = &cpi->rc; local
965 RATE_CONTROL *const rc = &cpi->rc; local
976 RATE_CONTROL *const rc = &cpi->rc; local
987 RATE_CONTROL *const rc = &cpi->rc; local
1018 RATE_CONTROL *const rc = &cpi->rc; local
1113 const RATE_CONTROL *const rc = &cpi->rc; local
1130 const RATE_CONTROL *rc = &cpi->rc; local
1137 RATE_CONTROL *const rc = &cpi->rc; local
1173 const RATE_CONTROL *rc = &cpi->rc; local
1202 const RATE_CONTROL *rc = &cpi->rc; local
1230 RATE_CONTROL *const rc = &cpi->rc; local
1274 RATE_CONTROL *const rc = &cpi->rc; local
1298 vp9_compute_qdelta(const RATE_CONTROL *rc, double qstart, double qtarget) argument
1320 vp9_compute_qdelta_by_rate(const RATE_CONTROL *rc, FRAME_TYPE frame_type, int qindex, double rate_target_ratio) argument
1341 vp9_rc_set_gf_max_interval(const VP9_COMP *const cpi, RATE_CONTROL *const rc) argument
1364 RATE_CONTROL *const rc = &cpi->rc; local
[all...]
/external/selinux/libselinux/src/
H A Dsetexecfilecon.c11 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...]
H A DcheckAccess.c21 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...]
/external/vboot_reference/tests/bitmaps/
H A DTestBmpBlock.py26 rc, out, err = runprog(prog)
27 self.assertNotEqual(0, rc)
33 rc, out, err = runprog(prog, '-c', 'case_nobmp.yaml', 'FOO')
34 self.assertNotEqual(0, rc)
39 rc, out, err = runprog(prog, '-c', 'case_badbmp.yaml', 'FOO')
40 self.assertNotEqual(0, rc)
45 rc, out, err = runprog(prog, '-z', '99', '-c', 'case_simple.yaml', 'FOO')
46 self.assertNotEqual(0, rc)
53 rc, out, err = runprog('/bin/rm', '-rf', './FOO_DIR', 'FOO')
54 self.assertEqual(0, rc)
[all...]
/external/llvm/tools/lli/ChildTarget/
H A DChildTarget.cpp101 int rc = ReadBytes(&DataSize, 4); local
102 (void)rc;
103 assert(rc == 4);
109 rc = ReadBytes(&Alignment, 4);
110 assert(rc == 4);
111 rc = ReadBytes(&AllocSize, 4);
112 assert(rc == 4);
125 int rc = ReadBytes(&DataSize, 4); local
126 (void)rc;
127 assert(rc
154 int rc = ReadBytes(&DataSize, 4); local
176 int rc = WriteBytes(&MsgType, 4); local
189 int rc = WriteBytes(&MsgType, 4); local
206 int rc = WriteBytes(&MsgType, 4); local
223 int rc = WriteBytes(&MsgType, 4); local
[all...]
/external/llvm/utils/release/
H A Dexport.sh21 rc=""
28 echo " -rc <num> The release candidate number"
34 tag_dir="tags/RELEASE_$release_no_dot/$rc"
36 if [ "$rc" = "final" ]; then
37 rc=""
44 $proj-$release$rc.src
47 tar cfJ $proj-$release$rc.src.tar.xz $proj-$release$rc.src
57 -rc | --rc )
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_frag.c65 #define INIT_COMBINER(chan, ctx, rc, i) do { \
68 (rc)->ctx = ctx; \
69 (rc)->unit = i; \
70 (rc)->alpha = __INIT_COMBINER_ALPHA_##chan; \
71 (rc)->premodulate = c->_NumArgs##chan == 4; \
72 (rc)->mode = c->Mode##chan; \
73 (rc)->source = c->Source##chan; \
74 (rc)->operand = c->Operand##chan; \
75 (rc)->logscale = c->ScaleShift##chan; \
76 (rc)
82 get_input_source(struct combiner_state *rc, int source) argument
118 get_input_mapping(struct combiner_state *rc, int operand, int flags) argument
132 get_input_arg(struct combiner_state *rc, int arg, int flags) argument
184 setup_combiner(struct combiner_state *rc) argument
[all...]
H A Dnv10_state_frag.c81 #define INIT_COMBINER(chan, ctx, rc, i) do { \
84 (rc)->ctx = ctx; \
85 (rc)->unit = i; \
86 (rc)->premodulate = c->_NumArgs##chan == 4; \
87 (rc)->mode = c->Mode##chan; \
88 (rc)->source = c->Source##chan; \
89 (rc)->operand = c->Operand##chan; \
90 (rc)->logscale = c->ScaleShift##chan; \
91 (rc)->in = (rc)
97 get_input_source(struct combiner_state *rc, int source) argument
141 get_input_mapping(struct combiner_state *rc, int operand, int flags) argument
163 get_input_arg(struct combiner_state *rc, int arg, int flags) argument
218 setup_combiner(struct combiner_state *rc) argument
333 struct combiner_state rc = {}; local
[all...]
/external/toybox/toys/other/
H A Dreadahead.c24 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/fio/exp/
H A Dtest-expression-parser.c32 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/clang/test/SemaCXX/
H A DPR5086-ambig-resolution-enum.cpp11 void foo(const C& rc) { argument
13 const char *p = rc.fun1(BUFLEN - 2, C::e1);
/external/dnsmasq/contrib/slackware-dnsmasq/
H A Ddoinst.sh.gz
/external/libexif/test/
H A Dtest-sorted.c31 int rc = 0; local
40 rc = 1;
44 rc = 1;
49 return rc;
/external/libopus/silk/float/
H A DLPC_inv_pred_gain_FLP.c46 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 DcheckAccess.c21 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...]
/external/valgrind/tests/
H A Dcheck_makefile_consistency60 rc=0
71 rc=0
83 rc=1
93 rc=1
101 rc=1
109 rc=1
113 [ $rc = 0 ]
116 rc=1
118 [ $rc = 0 ]
121 rc
[all...]
/external/strace/tests/
H A Dipc_msg.c8 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 Dipc_shm.c8 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;

Completed in 8715 milliseconds

1234567891011>>