Searched defs:cc (Results 1 - 20 of 20) sorted by relevance

/dalvik/vm/
H A DStdioConverter.cpp131 int cc; local
136 cc = pthread_cond_signal(&gDvm.stdioConverterCond);
137 assert(cc == 0);
H A DSignalCatcher.cpp258 int cc; local
287 cc = sigwait(&mask, &rcvd);
288 if (cc != 0) {
289 if (cc == EINTR) {
H A DLinearAlloc.cpp348 int cc, start, len; local
355 cc = mprotect(pHdr->mapAddr + start, len, PROT_READ | PROT_WRITE);
356 if (cc != 0) {
469 int i, cc; local
496 cc = mprotect(pHdr->mapAddr + SYSTEM_PAGE_SIZE * i,
498 assert(cc == 0);
510 cc = mprotect(pHdr->mapAddr + SYSTEM_PAGE_SIZE * i,
512 assert(cc == 0);
H A DMisc.cpp36 01234567: 00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff 0123456789abcdef\n
684 int cc = read(fd, lineBuf, sizeof(lineBuf)-1); local
685 if (cc <= 0) {
686 const char* msg = (cc == 0) ? "unexpected EOF" : strerror(errno);
692 lineBuf[cc] = '\0';
H A DThread.cpp452 int cc; local
455 cc = dvmTryLockMutex(&gDvm._threadSuspendLock);
456 if (cc != 0) {
499 } while (cc != 0);
500 assert(cc == 0);
1017 int cc; local
1019 cc = pthread_setspecific(gDvm.pthreadKeySelf, thread);
1020 if (cc != 0) {
1028 ALOGE("pthread_setspecific(%p) failed, err=%d", thread, cc);
1077 int cc local
1306 int cc = pthread_create(&threadHandle, &threadAttr, interpThreadStart, newThread); local
1662 int cc = pthread_create(pHandle, &threadAttr, internalThreadStart, pArgs); local
[all...]
H A DInit.cpp1334 int cc; local
1343 cc = sigprocmask(SIG_BLOCK, &mask, NULL);
1344 assert(cc == 0);
1352 cc = sigaction(SIGBUS, &sa, NULL);
1353 assert(cc == 0);
1398 int cc = processOptions(argc, argv, ignoreUnrecognized); local
1399 if (cc != 0) {
1400 if (cc < 0) {
H A DThread.h425 int cc; local
428 cc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
429 assert(cc == 0);
442 int cc __attribute__ ((__unused__)) = pthread_mutex_lock(pMutex); local
443 assert(cc == 0);
451 int cc = pthread_mutex_trylock(pMutex); local
452 assert(cc == 0 || cc == EBUSY);
453 return cc;
461 int cc __attribute_ local
470 int cc __attribute__ ((__unused__)) = pthread_mutex_destroy(pMutex); local
476 int cc __attribute__ ((__unused__)) = pthread_cond_broadcast(pCond); local
482 int cc __attribute__ ((__unused__)) = pthread_cond_signal(pCond); local
488 int cc __attribute__ ((__unused__)) = pthread_cond_wait(pCond, pMutex); local
[all...]
H A DDebugger.cpp140 int cc __attribute__ ((__unused__)) = pthread_cond_wait(pCond, pMutex); local
141 assert(cc == 0);
145 int cc __attribute__ ((__unused__)) = pthread_cond_signal(pCond); local
146 assert(cc == 0);
150 int cc __attribute__ ((__unused__)) = pthread_cond_broadcast(pCond); local
151 assert(cc == 0);
/dalvik/vm/jdwp/
H A DJdwpMain.cpp48 ssize_t cc = TEMP_FAILURE_RETRY(write(clientSock, expandBufGetBuffer(pReply), local
52 return cc;
H A DJdwpAdb.cpp463 ssize_t cc = netState->writePacket(pReply); local
465 if (cc != (ssize_t) expandBufGetLength(pReply)) {
622 int cc; local
632 cc = TEMP_FAILURE_RETRY(write(netState->clientSock, netState->inputBuffer,
634 if (cc != kMagicHandshakeLen) {
636 strerror(errno), cc, (int) kMagicHandshakeLen);
676 ssize_t cc = netState->writePacket(pReq); local
678 if (cc != (ssize_t) expandBufGetLength(pReq)) {
680 strerror(errno), (int) cc, (int) expandBufGetLength(pReq));
H A DJdwpSocket.cpp328 int cc, on = 1; local
330 cc = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
331 assert(cc == 0);
332 return cc;
414 int cc = gethostbyname_r(state->params.host, &he, auxBuf, sizeof(auxBuf), local
416 if (cc != 0) {
621 ssize_t cc = netState->writePacket(pReply); local
623 if (cc != (ssize_t) expandBufGetLength(pReply)) {
782 int cc; local
792 cc
836 ssize_t cc = netState->writePacket(pReq); local
[all...]
/dalvik/vm/compiler/codegen/x86/
H A DNcgAot.cpp123 ConditionCode cc, const char* target,
126 condJumpToBasicBlock(stream, cc, currentExceptionBlockIdx);
129 conditional_jump(cc, target, isShortTerm);
122 conditional_jump_global_API( ConditionCode cc, const char* target, bool isShortTerm) argument
H A DCodegenInterface.cpp283 LowOp* condJumpToBasicBlock(char* instAddr, ConditionCode cc, int targetId) { argument
289 conditional_jump_int(cc, relativeNCG, size);
H A DLowerJump.cpp531 void conditional_jump(ConditionCode cc, const char* target, bool isShortTerm) { argument
533 condJumpToBasicBlock(stream, cc, currentExceptionBlockIdx);
536 Mnemonic m = (Mnemonic)(Mnemonic_Jcc + cc);
587 void conditional_jump_int(ConditionCode cc, int target, OpndSize size) { argument
588 Mnemonic m = (Mnemonic)(Mnemonic_Jcc + cc);
930 int common_if(s4 tmp, ConditionCode cc_next, ConditionCode cc) { argument
937 conditional_jump_int(cc, relativeNCG, size);
H A DLowerHelper.cpp226 LowOpImm* dump_special(AtomOpCode cc, int imm) { argument
229 op->lop.opCode2 = cc;
1663 void conditional_move_reg_to_reg(OpndSize size, ConditionCode cc, int reg1, bool isPhysical1, int reg, bool isPhysical) { argument
1664 Mnemonic m = (Mnemonic)(Mnemonic_CMOVcc+cc);
/dalvik/vm/compiler/
H A DCompiler.cpp97 int cc; local
143 cc = pthread_cond_signal(&gDvmJit.compilerQueueActivity);
144 assert(cc == 0);
658 int cc; local
659 cc = pthread_cond_signal(&gDvmJit.compilerQueueEmpty);
660 assert(cc == 0);
/dalvik/tools/hprof-conv/
H A DHprofConv.c678 int cc; local
717 cc = filterData(in, out);
723 return (cc != 0);
/dalvik/vm/compiler/codegen/arm/Thumb/
H A DFactory.cpp157 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) argument
159 return newLIR2(cUnit, kThumbBCond, 0 /* offset to be patched */, cc);
/dalvik/vm/analysis/
H A DDexPrepare.cpp132 int fd, cc; local
169 cc = flock(fd, LOCK_EX | LOCK_NB);
170 if (cc != 0) {
172 cc = flock(fd, LOCK_EX);
175 if (cc != 0) {
176 ALOGE("Can't lock dex cache '%s': %d", cacheFileName, cc);
189 cc = fstat(fd, &fdStat);
190 if (cc != 0) {
195 cc = stat(cacheFileName, &fileStat);
196 if (cc !
[all...]
/dalvik/vm/compiler/codegen/arm/Thumb2/
H A DFactory.cpp254 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) argument
256 return newLIR2(cUnit, kThumb2BCond, 0 /* offset to be patched */, cc);

Completed in 285 milliseconds