Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 25 of 37) sorted by relevance

12

/dalvik/vm/
DThread.h420 int cc; in dvmInitMutex() local
423 cc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP); in dvmInitMutex()
424 assert(cc == 0); in dvmInitMutex()
437 int cc __attribute__ ((__unused__)) = pthread_mutex_lock(pMutex); in dvmLockMutex() local
438 assert(cc == 0); in dvmLockMutex()
446 int cc = pthread_mutex_trylock(pMutex); in dvmTryLockMutex() local
447 assert(cc == 0 || cc == EBUSY); in dvmTryLockMutex()
448 return cc; in dvmTryLockMutex()
456 int cc __attribute__ ((__unused__)) = pthread_mutex_unlock(pMutex); in dvmUnlockMutex() local
457 assert(cc == 0); in dvmUnlockMutex()
[all …]
DSignalCatcher.cpp256 int cc; in signalCatcherThreadStart() local
285 cc = sigwait(&mask, &rcvd); in signalCatcherThreadStart()
286 if (cc != 0) { in signalCatcherThreadStart()
287 if (cc == EINTR) { in signalCatcherThreadStart()
DLinearAlloc.cpp348 int cc, start, len; in dvmLinearAlloc() local
355 cc = mprotect(pHdr->mapAddr + start, len, PROT_READ | PROT_WRITE); in dvmLinearAlloc()
356 if (cc != 0) { in dvmLinearAlloc()
469 int i, cc; in updatePages() local
496 cc = mprotect(pHdr->mapAddr + SYSTEM_PAGE_SIZE * i, in updatePages()
498 assert(cc == 0); in updatePages()
510 cc = mprotect(pHdr->mapAddr + SYSTEM_PAGE_SIZE * i, in updatePages()
512 assert(cc == 0); in updatePages()
DStdioConverter.cpp131 int cc; in stdioConverterThreadStart() local
136 cc = pthread_cond_signal(&gDvm.stdioConverterCond); in stdioConverterThreadStart()
137 assert(cc == 0); in stdioConverterThreadStart()
DThread.cpp452 int cc; in lockThreadSuspend() local
455 cc = dvmTryLockMutex(&gDvm._threadSuspendLock); in lockThreadSuspend()
456 if (cc != 0) { in lockThreadSuspend()
499 } while (cc != 0); in lockThreadSuspend()
500 assert(cc == 0); in lockThreadSuspend()
1016 int cc; in setThreadSelf() local
1018 cc = pthread_setspecific(gDvm.pthreadKeySelf, thread); in setThreadSelf()
1019 if (cc != 0) { in setThreadSelf()
1027 ALOGE("pthread_setspecific(%p) failed, err=%d", thread, cc); in setThreadSelf()
1076 int cc = pthread_setspecific(gDvm.pthreadKeySelf, self); in threadExitCheck() local
[all …]
DMisc.cpp683 int cc = read(fd, lineBuf, sizeof(lineBuf)-1); in dvmGetThreadStats() local
684 if (cc <= 0) { in dvmGetThreadStats()
685 const char* msg = (cc == 0) ? "unexpected EOF" : strerror(errno); in dvmGetThreadStats()
691 lineBuf[cc] = '\0'; in dvmGetThreadStats()
DInit.cpp1328 int cc; in blockSignals() local
1337 cc = sigprocmask(SIG_BLOCK, &mask, NULL); in blockSignals()
1338 assert(cc == 0); in blockSignals()
1346 cc = sigaction(SIGBUS, &sa, NULL); in blockSignals()
1347 assert(cc == 0); in blockSignals()
1392 int cc = processOptions(argc, argv, ignoreUnrecognized); in dvmStartup() local
1393 if (cc != 0) { in dvmStartup()
1394 if (cc < 0) { in dvmStartup()
/dalvik/vm/jdwp/
DJdwpSocket.cpp328 int cc, on = 1; in setNoDelay() local
330 cc = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on)); in setNoDelay()
331 assert(cc == 0); in setNoDelay()
332 return cc; in setNoDelay()
414 int cc = gethostbyname_r(state->params.host, &he, auxBuf, sizeof(auxBuf), in establishConnection() local
416 if (cc != 0) { in establishConnection()
621 ssize_t cc = netState->writePacket(pReply); in handlePacket() local
623 if (cc != (ssize_t) expandBufGetLength(pReply)) { in handlePacket()
782 int cc; in processIncoming() local
792 cc = write(netState->clientSock, netState->inputBuffer, in processIncoming()
[all …]
DJdwpAdb.cpp463 ssize_t cc = netState->writePacket(pReply); in handlePacket() local
465 if (cc != (ssize_t) expandBufGetLength(pReply)) { in handlePacket()
622 int cc; in processIncoming() local
632 cc = write(netState->clientSock, netState->inputBuffer, in processIncoming()
634 if (cc != kMagicHandshakeLen) { in processIncoming()
636 strerror(errno), cc, (int) kMagicHandshakeLen); in processIncoming()
676 ssize_t cc = netState->writePacket(pReq); in sendRequest() local
678 if (cc != (ssize_t) expandBufGetLength(pReq)) { in sendRequest()
680 strerror(errno), (int) cc, (int) expandBufGetLength(pReq)); in sendRequest()
DJdwpMain.cpp48 ssize_t cc = write(clientSock, expandBufGetBuffer(pReply), in writePacket() local
52 return cc; in writePacket()
/dalvik/tests/004-annotations/src/android/test/anno/
DAnnoArrayField.java12 char[] cc() default {'a', 'b'}; in cc() method
DTestAnnotations.java91 cc = {'Q'},
/dalvik/vm/compiler/codegen/x86/
DNcgAot.cpp123 ConditionCode cc, const char* target, in conditional_jump_global_API() argument
126 condJumpToBasicBlock(stream, cc, currentExceptionBlockIdx); in conditional_jump_global_API()
129 conditional_jump(cc, target, isShortTerm); in conditional_jump_global_API()
DNcgAot.h31 ConditionCode cc, const char* target,
DLowerJump.cpp531 void conditional_jump(ConditionCode cc, const char* target, bool isShortTerm) { in conditional_jump() argument
533 condJumpToBasicBlock(stream, cc, currentExceptionBlockIdx); in conditional_jump()
536 Mnemonic m = (Mnemonic)(Mnemonic_Jcc + cc); in conditional_jump()
587 void conditional_jump_int(ConditionCode cc, int target, OpndSize size) { in conditional_jump_int() argument
588 Mnemonic m = (Mnemonic)(Mnemonic_Jcc + cc); in conditional_jump_int()
930 int common_if(s4 tmp, ConditionCode cc_next, ConditionCode cc) { in common_if() argument
937 conditional_jump_int(cc, relativeNCG, size); in common_if()
DLower.h661 void conditional_move_reg_to_reg(OpndSize size, ConditionCode cc, int reg1, bool isPhysical1, int r…
677 void conditional_jump(ConditionCode cc, const char* target, bool isShortTerm);
679 void conditional_jump_int(ConditionCode cc, int target, OpndSize size);
1147 LowOpImm* dump_special(AtomOpCode cc, int imm);
1212 LowOp* condJumpToBasicBlock(char* instAddr, ConditionCode cc, int targetId);
/dalvik/vm/analysis/
DDexPrepare.cpp132 int fd, cc; in dvmOpenCachedDexFile() local
169 cc = flock(fd, LOCK_EX | LOCK_NB); in dvmOpenCachedDexFile()
170 if (cc != 0) { in dvmOpenCachedDexFile()
172 cc = flock(fd, LOCK_EX); in dvmOpenCachedDexFile()
175 if (cc != 0) { in dvmOpenCachedDexFile()
176 ALOGE("Can't lock dex cache '%s': %d", cacheFileName, cc); in dvmOpenCachedDexFile()
189 cc = fstat(fd, &fdStat); in dvmOpenCachedDexFile()
190 if (cc != 0) { in dvmOpenCachedDexFile()
195 cc = stat(cacheFileName, &fileStat); in dvmOpenCachedDexFile()
196 if (cc != 0 || in dvmOpenCachedDexFile()
[all …]
/dalvik/vm/compiler/
DCompiler.cpp97 int cc; in dvmCompilerWorkEnqueue() local
143 cc = pthread_cond_signal(&gDvmJit.compilerQueueActivity); in dvmCompilerWorkEnqueue()
144 assert(cc == 0); in dvmCompilerWorkEnqueue()
656 int cc; in compilerThreadStart() local
657 cc = pthread_cond_signal(&gDvmJit.compilerQueueEmpty); in compilerThreadStart()
658 assert(cc == 0); in compilerThreadStart()
/dalvik/dx/tests/032-bb-live-code/
Dexpected.txt460 block 00ca: 00ca..00cc
462 next 00cc
463 block 00cc: 00cc..00cf
464 00cc: anewarray type{blort}
/dalvik/vm/compiler/codegen/x86/libenc/
Dencoder.h557 ENCODER_DECLARE_EXPORT char * cmov(char * stream, ConditionCode cc, const R_Opnd & r, const RM_Opnd…
558 ENCODER_DECLARE_EXPORT char * setcc(char * stream, ConditionCode cc, const RM_Opnd & rm8);
584 ENCODER_DECLARE_EXPORT char * branch8(char * stream, ConditionCode cc, const Imm_Opnd & imm, InstrP…
587 ENCODER_DECLARE_EXPORT char * branch32(char * stream, ConditionCode cc, const Imm_Opnd & imm, Instr…
593 ENCODER_DECLARE_EXPORT char * branch(char * stream, ConditionCode cc, I_32 disp, InstrPrefix prefix…
Denc_tabl.cpp494 #define DEFINE_CMOVcc_MNEMONIC( cc ) \ argument
495 BEGIN_MNEMONIC(CMOV##cc, MF_USES_FLAGS|MF_CONDITIONAL, DU_U ) \
497 … {OpcodeInfo::all, {Size16, 0x0F, 0x40 + ConditionMnemonic_##cc, _r}, {r16, r_m16}, DU_U }, \
498 … {OpcodeInfo::all, {0x0F, 0x40 + ConditionMnemonic_##cc, _r}, {r32, r_m32}, DU_U }, \
499 … {OpcodeInfo::em64t, {REX_W, 0x0F, 0x40 + ConditionMnemonic_##cc, _r}, {r64, r_m64}, DU_U }, \
1058 #define DEFINE_Jcc_MNEMONIC( cc ) \ argument
1059 BEGIN_MNEMONIC(J##cc, MF_USES_FLAGS|MF_CONDITIONAL, U ) \
1061 {OpcodeInfo::all, {0x70 + ConditionMnemonic_##cc, cb }, { rel8 }, U }, \
1062 … {OpcodeInfo::ia32, {Size16, 0x0F, 0x80 + ConditionMnemonic_##cc, cw}, { rel16 }, U }, \
1063 {OpcodeInfo::all, {0x0F, 0x80 + ConditionMnemonic_##cc, cd}, { rel32 }, U }, \
[all …]
Dencoder.inl536 ENCODER_DECLARE_EXPORT char *cmov(char * stream, ConditionCode cc, const R_Opnd & r, const RM_Opnd … argument
540 return (char*)EncoderBase::encode(stream, (Mnemonic)(Mnemonic_CMOVcc + cc), args);
543 ENCODER_DECLARE_EXPORT char * setcc(char * stream, ConditionCode cc, const RM_Opnd & rm8) { argument
546 return (char*)EncoderBase::encode(stream, (Mnemonic)(Mnemonic_SETcc + cc), args);
669 ENCODER_DECLARE_EXPORT char * branch(char * stream, ConditionCode cc, const char * target, InstrPre…
673 return branch8(stream, cc, Imm_Opnd(size_8, (char)offset), is_signed);
675 return branch32(stream, cc, Imm_Opnd(size_32, (int)offset), is_signed);
/dalvik/tools/hprof-conv/
DHprofConv.c678 int cc; in main() local
717 cc = filterData(in, out); in main()
723 return (cc != 0); in main()
/dalvik/tests/004-annotations/
Dexpected.txt2 …test.anno.TestAnnotations.thing1: @android.test.anno.AnnoArrayField(bb=[], cc=[a, b], dd=[0.987654…
3 …o.TestAnnotations.thing2: @android.test.anno.AnnoArrayField(bb=[-1, 0, 1], cc=[Q], dd=[0.3, 0.6, 0…
/dalvik/dx/src/com/android/dx/ssa/
DConstCollector.java74 ConstCollector cc = new ConstCollector(ssaMethod); in process() local
75 cc.run(); in process()

12