/external/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/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/llvm/lib/CodeGen/ |
CalcSpillWeights.cpp | 79 const TargetRegisterClass *rc = mri.getRegClass(reg); local 81 // Only allow physreg hints in rc. 83 return rc->contains(hreg) ? hreg : 0; 86 return tri.getMatchingSuperReg(hreg, sub, rc);
|
/external/openssh/ |
audit-bsm.c | 171 int rc, sorf; local 178 rc = getacna(naflags, sizeof(naflags)); 179 if (rc == 0) 182 rc = au_user_mask(username, &mask); 191 int ad, rc, sel; local 202 rc = (typ == 0) ? 0 : -1; 203 sel = selected(the_authctxt->user, uid, event_no, rc); 204 debug3("BSM audit: typ %d rc %d \"%s\"", typ, rc, string); 214 (void) au_write(ad, AUToReturnFunc(typ, rc)); 225 int rc; local [all...] |
/external/openssh/openbsd-compat/ |
bsd-misc.c | 140 int rc, saverrno; local 146 rc = select(0, NULL, NULL, NULL, &time2wait); 147 if (rc == -1) { 164 return(rc);
|
/external/oprofile/agents/jvmti/ |
libjvmti_oprofile.c | 240 jint rc; local 268 rc = (*jvm)->GetEnv(jvm, (void *)&jvmti, JVMTI_VERSION_1); 269 if (rc != JNI_OK) { 270 fprintf(stderr, "Error: GetEnv(), rc=%i\n", rc);
|
/external/oprofile/libabi/ |
opimport.cpp | 158 int rc = odb_add_node(dest, key, val); local 159 if (rc != EXIT_SUCCESS) { 160 cerr << strerror(rc) << endl; 201 int rc; local 205 rc = fstat(in_fd, &statb); 206 assert(rc == 0); 210 rc = odb_open(&dest, output_filename.c_str(), ODB_RDWR, 212 if (rc) { 214 << strerror(rc) << endl; 226 rc = munmap(in, statb.st_size) [all...] |
/external/oprofile/libopagent/ |
opagent.c | 131 int rc; local 137 rc = stat(AGENT_DIR, &dirstat); 138 if (rc || !S_ISDIR(dirstat.st_mode)) { 139 if (!rc) 288 int rc = -1; local 346 rc = 0; 350 return rc;
|
/external/qemu/distrib/sdl-1.2.15/src/timer/os2/ |
SDL_systimer.c | 100 APIRET rc = NO_ERROR; /* Return code */ local 153 if (!(rc = DosSetPriority(PRTYS_THREAD, (priority>>8) & 0xFF, 0, 0))) 154 rc = DosSetPriority(PRTYS_THREAD, 0, priority & 0xFF, 0); 157 rc = DosExitMustComplete(&nesting); /* Ignore errors */ 171 if ((rc = DosCloseEventSem(hevEvent1)) && !e) { /* Get rid of semaphore */ 173 badrc = rc; 177 SDL_SetError("[SDL_Delay] : Had error in %s(), rc is 0x%x\n", e, badrc);
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11gl.c | 292 int rc = -1; local 294 rc = this->gl_data->glXSwapIntervalEXT(GFX_Display, SDL_Window, 297 rc = this->gl_data->glXSwapIntervalMESA(this->gl_config.swap_control); 299 rc = this->gl_data->glXSwapIntervalSGI(this->gl_config.swap_control); 301 if (rc == 0) {
|
/external/quake/quake/src/WinQuake/ |
dos_v2.cpp | 111 int rc;
local 113 rc = _go32_dpmi_simulate_int(vec, (_go32_dpmi_registers *) ®s);
114 return rc || (regs.x.flags & 1);
119 int rc;
local 122 rc = _go32_dpmi_simulate_int(vec, (_go32_dpmi_registers *) outregs);
123 return rc || (outregs->x.flags & 1);
136 int rc;
local 148 rc = _go32_dpmi_allocate_dos_memory(&info);
149 if (rc)
|
snd_sun.cpp | 50 int rc; local
|
/external/skia/tests/ |
ColorTest.cpp | 52 int rc = SkPack888ToRGB16(SkDiv255Round(dr), local 56 unsigned rr = SkGetPackedR16(rc); 57 unsigned rg = SkGetPackedG16(rc);
|
/external/srec/portable/src/ |
LCHAR.c | 45 ESR_ReturnCode rc; local 49 rc = ESR_INVALID_ARGUMENT; 50 PLogError(ESR_rc2str(rc)); 56 rc = ESR_BUFFER_OVERFLOW; 57 PLOG_DBG_TRACE((ESR_rc2str(rc))); 64 return rc; 119 ESR_ReturnCode rc = ESR_SUCCESS; local 125 CHKLOG(rc, lstrcasecmp(text, L("true"), &compare)); 131 CHKLOG(rc, lstrcasecmp(text, L("yes"), &compare)); 137 CHKLOG(rc, lstrcasecmp(text, L("false"), &compare)) 162 ESR_ReturnCode rc; local [all...] |
PANSIFileImpl.c | 37 ESR_ReturnCode rc; local 42 rc = ESR_OUT_OF_MEMORY; 43 PLogError(ESR_rc2str(rc)); 73 return rc; 78 ESR_ReturnCode rc; local 80 CHK(rc, PFileDestroyImpl(self)); 84 return rc; 89 #define LOCK_MUTEX(rc, impl) \ 91 CHKLOG(rc, PtrdMonitorLock(impl->Interface.lock)); 93 #define LOCK_MUTEX(rc, impl 117 ESR_ReturnCode rc; local 146 ESR_ReturnCode rc; local 162 ESR_ReturnCode rc; local 201 ESR_ReturnCode rc; local 259 ESR_ReturnCode rc; local 274 ESR_ReturnCode rc; local 289 ESR_ReturnCode rc; local 319 ESR_ReturnCode rc; local 335 ESR_ReturnCode rc; local 364 ESR_ReturnCode rc; local 380 ESR_ReturnCode rc; local 390 ESR_ReturnCode rc; local 409 ESR_ReturnCode rc; local 425 ESR_ReturnCode rc; local [all...] |
PFileSystem.c | 48 ESR_ReturnCode rc; local 52 rc = ESR_INVALID_ARGUMENT; 53 PLogError(ESR_rc2str(rc)); 58 CHKLOG(rc, lstrreplace(path, L('\\'), L('/'))); 61 return rc; 66 ESR_ReturnCode rc; local 76 rc = ESR_INVALID_ARGUMENT; 77 PLogError(ESR_rc2str(rc)); 81 CHKLOG(rc, PFileSystemCanonicalSlashes(linear)); 82 CHKLOG(rc, ArrayListCreate(&arrayList)) 159 ESR_ReturnCode rc; local 179 ESR_ReturnCode rc; local 252 ESR_ReturnCode rc; local 275 ESR_ReturnCode rc; local 326 ESR_ReturnCode rc; local 357 ESR_ReturnCode rc; local 381 ESR_ReturnCode rc; local 406 ESR_ReturnCode rc; local 446 ESR_ReturnCode rc; local 542 ESR_ReturnCode rc; local [all...] |
/external/srec/shared/src/ |
HashMapImpl.c | 33 ESR_ReturnCode rc = ESR_SUCCESS; local 41 if ((rc = PHashTableCreate(hashArgs, MTAG, &impl->table)) != ESR_SUCCESS) 44 return rc; 83 ESR_ReturnCode rc; local 86 CHKLOG(rc, PHashTableContainsKey(impl->table, key, &exists)); 93 if ((rc = PHashTablePutValue(impl->table, clone, value, NULL)) != ESR_SUCCESS) 101 CHKLOG(rc, PHashTableGetEntry(impl->table, key, &entry)); 102 rc = PHashTableEntrySetValue(entry, value, NULL); 104 return rc; 106 return rc; 112 ESR_ReturnCode rc = ESR_SUCCESS; local 144 ESR_ReturnCode rc = ESR_SUCCESS; local 180 ESR_ReturnCode rc = ESR_SUCCESS; local 192 ESR_ReturnCode rc = ESR_SUCCESS; local 204 ESR_ReturnCode rc = ESR_SUCCESS; local 227 ESR_ReturnCode rc; local 242 ESR_ReturnCode rc; local 257 ESR_ReturnCode rc; local 283 ESR_ReturnCode rc = ESR_SUCCESS; local [all...] |
/external/srec/srec/AcousticModels/src/ |
AcousticModelsImpl.c | 37 #define CHKINTARRAY(rc, list, operation) rc = operation; \ 38 if (rc!=ESR_SUCCESS) \ 42 PLogError(ESR_rc2str(rc)); \ 43 return rc; \ 56 ESR_ReturnCode rc; local 58 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.dimen", 16)); 59 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.skip", 5)); 60 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.stay", 5)); 61 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.whole_skip", 10)) 81 ESR_ReturnCode rc; local 141 ESR_ReturnCode rc; local 193 ESR_ReturnCode rc; local 217 ESR_ReturnCode rc; local 261 ESR_ReturnCode rc; local 426 ESR_ReturnCode rc; local 483 ESR_ReturnCode rc; local 519 ESR_ReturnCode rc; local 545 ESR_ReturnCode rc; local 591 ESR_ReturnCode rc; local 659 ESR_ReturnCode rc; local [all...] |
/external/srec/srec/Nametag/src/ |
NametagsImpl.c | 33 ESR_ReturnCode rc; local 59 CHKLOG(rc, HashMapCreate(&impl->value)); 60 CHKLOG(rc, ESR_SessionGetSize_t(L("SREC.Recognizer.osi_log_level"), &impl->logLevel)); 62 CHKLOG(rc, ESR_SessionGetProperty(L("eventlog"), (void **)&impl->eventLog, TYPES_SR_EVENTLOG)); 63 CHKLOG(rc, SR_EventLogTokenInt_BASIC(impl->eventLog, impl->logLevel, L("pointer"), (int) self)); 64 CHKLOG(rc, SR_EventLogEvent_BASIC(impl->eventLog, impl->logLevel, L("SR_NametagsCreate"))); 69 return rc; 75 ESR_ReturnCode rc; local 94 rc = ESR_INVALID_STATE; 95 PLogError(ESR_rc2str(rc)); 195 ESR_ReturnCode rc; local 282 ESR_ReturnCode rc; local 309 ESR_ReturnCode rc; local 324 ESR_ReturnCode rc; local 336 ESR_ReturnCode rc; local 352 ESR_ReturnCode rc; local 368 ESR_ReturnCode rc; local 380 ESR_ReturnCode rc; local [all...] |
/external/srec/srec/clib/ |
voc_read.c | 74 ESR_ReturnCode rc; local 111 CHKLOG(rc, lstrcasecmp(token, L("#lang"), &result)); 121 CHKLOG(rc, ESR_str2locale(token, locale));
|
/external/srec/tools/dictTest/ |
dictTest.c | 44 ESR_ReturnCode rc; local 47 rc = SR_VocabularyGetPronunciation(vocab, phrase, prons, &len); 48 // rc = vocab->getPronunciation(vocab, phrase, prons, &len); 50 if (rc != ESR_SUCCESS) 51 LFPRINTF(fout,"ERROR: %s\n", ESR_rc2str(rc)); 68 ESR_ReturnCode rc; 81 rc = ESR_ProcessLinearToCommandLineTokens(line, &tokenArray, &len); 82 if (rc!=ESR_SUCCESS || len!=2) 93 rc = vocab->getPronunciation(vocab, phrase, phoneme, &len); 95 if(rc != ESR_SUCCESS 122 ESR_ReturnCode rc; local [all...] |
/external/srec/tools/make_ve_grammar/ |
make_ve_grammar.c | 96 int rc; local 108 CHKLOG(rc, PMemInit());
|
/external/srtp/crypto/cipher/ |
aes.c | 1365 gf2_8 rc; local [all...] |
/external/valgrind/main/VEX/priv/ |
host_generic_regs.h | 113 static inline HReg mkHReg ( UInt regno, HRegClass rc, Bool virtual ) { 119 return regno | (((UInt)rc) << 28) | (virtual ? (1<<24) : 0); 123 UInt rc = r; local 124 rc = (rc >> 28) & 0x0F; 125 vassert(rc >= HRcInt32 && rc <= HRcVec128); 126 return (HRegClass)rc;
|
/external/valgrind/main/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); 99 int rc; local [all...] |