/external/ltrace/sysdeps/linux-gnu/arm/ |
fetch.c | 209 int rc; local 210 if ((rc = consider_vfp(ctx, proc, info, valuep)) != 1) 211 return rc; 273 int rc; local 274 if ((rc = consider_vfp(ctx, proc, info, valuep)) != 1) 275 return rc;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_rgb9e5.h | 106 float rc, gc, bc; local 110 rc = rgb9e5_ClampRange(rgb[0]); 114 maxrgb = MAX3(rc, gc, bc); 130 rm = (int) floor(rc / denom + 0.5);
|
/external/openssh/openbsd-compat/ |
bsd-misc.c | 141 int rc, saverrno; local 147 rc = select(0, NULL, NULL, NULL, &time2wait); 148 if (rc == -1) { 165 return(rc);
|
/external/pcre/dist/ |
pcre_get.c | 79 int rc; local 85 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0) 86 return rc; 89 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0) 90 return rc; 91 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMETABLE, &nametable)) != 0) 92 return rc; 95 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0) 96 return rc; 99 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0 162 int rc; local [all...] |
/external/pdfium/fpdfsdk/src/javascript/ |
event.cpp | 31 JS_STATIC_PROP_ENTRY(rc) 167 FX_BOOL event::rc(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) function in class:event 174 FX_BOOL &bRc = pEvent->Rc();
|
/external/selinux/libselinux/src/ |
avc_internal.c | 60 int len, rc = 0; local 65 rc = fd; 72 rc = -1; 85 rc = -1; 89 return rc; 101 int rc; local 108 rc = poll(&pfd, 1, (blocking ? -1 : 0)); 109 } while (rc < 0 && errno == EINTR); 111 if (rc == 0 && !blocking) { 115 else if (rc < 1) 160 int rc; local 225 int rc; local 252 int rc; local [all...] |
label_android_property.c | 52 int rc = 0; local 60 rc = -1; 78 return rc;
|
load_policy.c | 59 int fd, rc = -1, prot; local 239 rc = genusers(olddata, oldsize, selinux_users_path(), 241 if (rc < 0) { 245 rc = 0; 256 rc = security_get_boolean_names(&names, &len); 257 if (!rc) { 279 rc = security_load_policy(data, size); 281 if (rc) 299 return rc; 314 int rc = 0, orig_enforce = 0, seconfig = -2, secmdline = -1 local [all...] |
procattr.c | 89 int fd, rc; local 96 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); 100 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); 102 if (rc < 0)
|
stringrep.c | 252 int rc = 0; local 263 rc = -1; 274 rc = -1; 298 return rc;
|
/external/selinux/libsemanage/src/ |
database_join.c | 87 int rc; local 91 rc = -1; 93 rc = 1; 101 rc = rtable2->compare(records2[j], rkey); 108 if (rc < 0) { 116 else if (rc > 0) {
|
/external/selinux/libsepol/src/ |
ebitmap.c | 80 int rc = ebitmap_set_bit(dst, i, 1); local 81 if (rc < 0) 82 return rc; 94 int rc = ebitmap_set_bit(dst, i, val); local 95 if (rc < 0) 96 return rc; 107 int rc = ebitmap_set_bit(dst, i, !val); local 108 if (rc < 0) 109 return rc; 118 int rc = ebitmap_not(&e3, e2, maxbit) local 142 int rc = ebitmap_xor(&tmp, e1, e2); local 344 int rc; local [all...] |
/external/selinux/libsepol/tests/ |
test-expander.c | 132 int rc; local 139 rc = expander_policy_init(&basemod, 0, NULL, &base_expanded, &small_base_file); 140 if (rc != 0) 141 return rc; 144 rc = expander_policy_init(&basemod2, 1, &mymod2, &base_expanded2, files2); 145 if (rc != 0) 146 return rc; 148 rc = expander_policy_init(&base_only_mod, 0, NULL, &base_only_expanded, &base_only_file); 149 if (rc != 0) 150 return rc; [all...] |
/external/selinux/policycoreutils/sepolgen-ifgen/ |
sepolgen-ifgen-attr-helper.c | 63 int rc; local 70 rc = hashtab_map(cladatum->permissions.table, 72 if (!rc && cladatum->comdatum) { 73 rc = hashtab_map(cladatum->comdatum-> 77 if (rc)
|
/external/selinux/secilc/ |
secilc.c | 74 int rc = SEPOL_ERR; local 204 rc = cil_set_handle_unknown(db, handle_unknown); 205 if (rc != SEPOL_OK) { 218 rc = SEPOL_ERR; 221 rc = stat(argv[i], &filedata); 222 if (rc == -1) { 229 rc = fread(buffer, file_size, 1, file); 230 if (rc != 1) { 237 rc = cil_add_file(db, argv[i], buffer, file_size); 238 if (rc != SEPOL_OK) [all...] |
/external/sepolicy/tools/sepolicy-analyze/ |
neverallow.c | 32 int rc; local 124 rc = ebitmap_union(&typeset->negset, &policydb->attr_type_map[type->s.value - 1]); 126 rc = ebitmap_union(&typeset->types, &policydb->attr_type_map[type->s.value - 1]); 128 rc = ebitmap_set_bit(&typeset->negset, type->s.value - 1, 1); 130 rc = ebitmap_set_bit(&typeset->types, type->s.value - 1, 1); 135 if (rc)
|
/external/skia/src/core/ |
SkFlate.cpp | 44 int rc; local 46 rc = deflateInit(&flateData, Z_DEFAULT_COMPRESSION); 48 rc = inflateInit(&flateData); 49 if (rc != Z_OK) 63 rc = Z_OK; 67 rc = Z_BUF_ERROR; 73 if (rc != Z_OK) 85 rc = deflate(&flateData, Z_NO_FLUSH); 87 rc = inflate(&flateData, Z_NO_FLUSH); 89 while (rc == Z_OK) [all...] |
/external/srtp/crypto/cipher/ |
aes.c | 1365 gf2_8 rc; local [all...] |
/external/toybox/toys/lsb/ |
mount.c | 140 int rc = EINVAL; local 197 rc = mount(dev, dir, type, flags, opts); 198 if ((rc != EACCES && rc != EROFS) || (flags & MS_RDONLY)) break; 199 if (rc == EROFS && fd == -1) { 223 if (rc && errno == ENOTBLK) { 231 rc = xpclose(pid, pipe); 232 if (!rc && len > 1) { 239 error_msg("losetup failed %d", rc); 246 if (!rc) break [all...] |
/external/toybox/toys/posix/ |
cp.c | 263 int rc; local 272 rc = fchownat(cfd, catch, try->st.st_uid, try->st.st_gid, 274 else rc = fchown(fdout, try->st.st_uid, try->st.st_gid); 275 if (rc) { 317 int rc = 1; local 333 if (!yesno("", 1)) rc = 0; 338 if (rc) rc = rename(src, TT.destname); 342 if (rc) {
|
grep.c | 93 int rc = 0, skip = 0; local 122 } else rc = 1; 124 rc = regexec((regex_t *)toybuf, start, 3, matches, 130 if (matches[which].rm_so || line[matches[which].rm_eo]) rc = 1; 134 if (rc) skip = matches[which].rm_eo = strlen(start); 140 if (!rc) break; 144 } else if (rc) break;
|
/external/valgrind/gdbserver_tests/ |
sleepers.c | 47 int rc; local 48 rc = pthread_mutex_lock(&ready_mutex); 49 if (rc != 0) 50 fprintf(stderr, "signal_ready lock error %d_n", rc); 52 rc = pthread_cond_signal(&ready); 53 if (rc != 0) 54 fprintf(stderr, "signal_ready signal error %d_n", rc); 55 rc = pthread_mutex_unlock(&ready_mutex); 56 if (rc != 0) 57 fprintf(stderr, "signal_ready unlock error %d_n", rc); 102 int rc; local [all...] |
/external/valgrind/tests/ |
s390x_features.c | 306 int rc, inverted = 0; local 319 rc = go(argv[1], argv[2]); 322 switch (rc) { 323 case 0: rc = 1; break; 324 case 1: rc = 0; break; 325 case 2: rc = 2; break; 329 // printf("rc = %d\n", rc); 331 return rc;
|
/frameworks/av/media/libcpustats/ |
ThreadCpuUsage.cpp | 37 int rc; local 40 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &mPreviousTs); 41 if (rc) { 48 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs); 49 if (rc) { 59 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 60 if (rc) { 101 int rc; local 102 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 103 if (rc) { 132 int rc; local 154 int rc; local [all...] |
/frameworks/base/core/jni/ |
android_view_DisplayEventReceiver.cpp | 95 int rc = mMessageQueue->getLooper()->addFd(mReceiver.getFd(), 0, Looper::EVENT_INPUT, local 97 if (rc < 0) {
|