Searched refs:cc (Results 1 - 25 of 30) sorted by relevance

12

/dalvik/vm/
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 DSignalCatcher.cpp258 int cc; local
287 cc = sigwait(&mask, &rcvd);
288 if (cc != 0) {
289 if (cc == EINTR) {
H A DStdioConverter.cpp131 int cc; local
136 cc = pthread_cond_signal(&gDvm.stdioConverterCond);
137 assert(cc == 0);
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 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 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 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 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/tests/004-annotations/src/android/test/anno/
H A DAnnoArrayField.java12 char[] cc() default {'a', 'b'};
H A DTestAnnotations.java91 cc = {'Q'},
/dalvik/vm/compiler/codegen/x86/
H A DNcgAot.h31 ConditionCode cc, const char* target,
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 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 DLower.h661 void conditional_move_reg_to_reg(OpndSize size, ConditionCode cc, int reg1, bool isPhysical1, int reg, bool isPhysical);
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/jdwp/
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...]
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 DJdwpMain.cpp48 ssize_t cc = TEMP_FAILURE_RETRY(write(clientSock, expandBufGetBuffer(pReply), local
52 return 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/
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/dx/src/com/android/dx/ssa/
H A DConstCollector.java74 ConstCollector cc = new ConstCollector(ssaMethod);
75 cc.run();
/dalvik/vm/compiler/codegen/x86/libenc/
H A Denc_tabl.cpp494 #define DEFINE_CMOVcc_MNEMONIC( cc ) \
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 ) \
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, c
[all...]
H A Dencoder.h557 ENCODER_DECLARE_EXPORT char * cmov(char * stream, ConditionCode cc, const R_Opnd & r, const RM_Opnd & rm, Opnd_Size sz = size_platf);
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, InstrPrefix prefix = no_prefix);
587 ENCODER_DECLARE_EXPORT char * branch32(char * stream, ConditionCode cc, const Imm_Opnd & imm, InstrPrefix prefix = no_prefix);
590 //char * branch(char * stream, ConditionCode cc, const char * target, InstrPrefix prefix = no_prefix);
593 ENCODER_DECLARE_EXPORT char * branch(char * stream, ConditionCode cc, I_32 disp, InstrPrefix prefix = no_prefix);
H A Dencoder.inl536 ENCODER_DECLARE_EXPORT char *cmov(char * stream, ConditionCode cc, const R_Opnd & r, const RM_Opnd & rm, Opnd_Size sz) {
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) {
546 return (char*)EncoderBase::encode(stream, (Mnemonic)(Mnemonic_SETcc + cc), args);
669 ENCODER_DECLARE_EXPORT char * branch(char * stream, ConditionCode cc, const char * target, InstrPrefix prefix) {
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);
H A Denc_defs_ext.h82 #define CCM(prefix,cond) Mnemonic_##prefix##cond=Mnemonic_##prefix##cc+ConditionMnemonic_##cond

Completed in 441 milliseconds

12