Home
last modified time | relevance | path

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

12

/dalvik/vm/
DThread.h349 int cc; in dvmInitMutex() local
352 cc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP); in dvmInitMutex()
353 assert(cc == 0); in dvmInitMutex()
366 int cc __attribute__ ((__unused__)) = pthread_mutex_lock(pMutex); in dvmLockMutex() local
367 assert(cc == 0); in dvmLockMutex()
375 int cc = pthread_mutex_trylock(pMutex); in dvmTryLockMutex() local
376 assert(cc == 0 || cc == EBUSY); in dvmTryLockMutex()
377 return cc; in dvmTryLockMutex()
385 int cc __attribute__ ((__unused__)) = pthread_mutex_unlock(pMutex); in dvmUnlockMutex() local
386 assert(cc == 0); in dvmUnlockMutex()
[all …]
DSignalCatcher.c249 int cc; in signalCatcherThreadStart() local
278 cc = sigwait(&mask, &rcvd); in signalCatcherThreadStart()
279 if (cc != 0) { in signalCatcherThreadStart()
280 if (cc == EINTR) { in signalCatcherThreadStart()
DLinearAlloc.c348 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.c149 int cc; in stdioConverterThreadStart() local
154 cc = pthread_cond_signal(&gDvm.stdioConverterCond); in stdioConverterThreadStart()
155 assert(cc == 0); in stdioConverterThreadStart()
DDdm.c416 int cc; in getThreadStats() local
417 cc = read(fd, lineBuf, sizeof(lineBuf)-1); in getThreadStats()
418 if (cc <= 0) { in getThreadStats()
419 const char* msg = (cc == 0) ? "unexpected EOF" : strerror(errno); in getThreadStats()
424 lineBuf[cc] = '\0'; in getThreadStats()
DThread.c549 int cc; in lockThreadSuspend() local
552 cc = dvmTryLockMutex(&gDvm._threadSuspendLock); in lockThreadSuspend()
553 if (cc != 0) { in lockThreadSuspend()
596 } while (cc != 0); in lockThreadSuspend()
597 assert(cc == 0); in lockThreadSuspend()
1119 int cc; in setThreadSelf() local
1121 cc = pthread_setspecific(gDvm.pthreadKeySelf, thread); in setThreadSelf()
1122 if (cc != 0) { in setThreadSelf()
1130 LOGE("pthread_setspecific(%p) failed, err=%d\n", thread, cc); in setThreadSelf()
1179 int cc = pthread_setspecific(gDvm.pthreadKeySelf, self); in threadExitCheck() local
[all …]
DInit.c1097 int cc; in blockSignals() local
1106 cc = sigprocmask(SIG_BLOCK, &mask, NULL); in blockSignals()
1107 assert(cc == 0); in blockSignals()
1115 cc = sigaction(SIGBUS, &sa, NULL); in blockSignals()
1116 assert(cc == 0); in blockSignals()
1129 int i, cc; in dvmStartup() local
1146 cc = dvmProcessOptions(argc, argv, ignoreUnrecognized); in dvmStartup()
1147 if (cc != 0) { in dvmStartup()
1148 if (cc < 0) { in dvmStartup()
DDebugger.c140 int cc __attribute__ ((__unused__)) = pthread_cond_wait(pCond, pMutex); in dvmDbgCondWait() local
141 assert(cc == 0); in dvmDbgCondWait()
145 int cc __attribute__ ((__unused__)) = pthread_cond_signal(pCond); in dvmDbgCondSignal() local
146 assert(cc == 0); in dvmDbgCondSignal()
150 int cc __attribute__ ((__unused__)) = pthread_cond_broadcast(pCond); in dvmDbgCondBroadcast() local
151 assert(cc == 0); in dvmDbgCondBroadcast()
/dalvik/vm/jdwp/
DJdwpSocket.c324 int cc, on = 1; in setNoDelay() local
326 cc = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on)); in setNoDelay()
327 assert(cc == 0); in setNoDelay()
328 return cc; in setNoDelay()
410 int cc = gethostbyname_r(state->params.host, &he, auxBuf, sizeof(auxBuf), in establishConnection() local
412 if (cc != 0) { in establishConnection()
617 int cc; in handlePacket() local
624 cc = write(netState->clientSock, expandBufGetBuffer(pReply), in handlePacket()
626 if (cc != (int) expandBufGetLength(pReply)) { in handlePacket()
785 int cc; in processIncoming() local
[all …]
DJdwpAdb.c461 int cc; in handlePacket() local
468 cc = write(netState->clientSock, expandBufGetBuffer(pReply), in handlePacket()
470 if (cc != (int) expandBufGetLength(pReply)) { in handlePacket()
627 int cc; in processIncoming() local
637 cc = write(netState->clientSock, netState->inputBuffer, in processIncoming()
639 if (cc != kMagicHandshakeLen) { in processIncoming()
641 strerror(errno), cc, (int) kMagicHandshakeLen); in processIncoming()
672 int cc; in sendRequest() local
686 cc = write(netState->clientSock, expandBufGetBuffer(pReq), in sendRequest()
688 if (cc != (int) expandBufGetLength(pReq)) { in sendRequest()
[all …]
/dalvik/tests/004-annotations/src/android/test/anno/
DAnnoArrayField.java12 char[] cc() default {'a', 'b'}; in cc() method
DTestAnnotations.java91 cc = {'Q'},
/dalvik/vm/alloc/
DHeapWorker.c403 int cc __attribute__ ((__unused__)); in heapWorkerThreadStart() local
405 cc = pthread_cond_timedwait_monotonic(&gDvm.heapWorkerCond, in heapWorkerThreadStart()
408 cc = pthread_cond_timedwait(&gDvm.heapWorkerCond, in heapWorkerThreadStart()
411 assert(cc == 0 || cc == ETIMEDOUT); in heapWorkerThreadStart()
/dalvik/vm/analysis/
DDexPrepare.c85 int fd, cc; in dvmOpenCachedDexFile() local
118 cc = flock(fd, LOCK_EX | LOCK_NB); in dvmOpenCachedDexFile()
119 if (cc != 0) { in dvmOpenCachedDexFile()
121 cc = flock(fd, LOCK_EX); in dvmOpenCachedDexFile()
124 if (cc != 0) { in dvmOpenCachedDexFile()
125 LOGE("Can't lock dex cache '%s': %d\n", cacheFileName, cc); in dvmOpenCachedDexFile()
138 cc = fstat(fd, &fdStat); in dvmOpenCachedDexFile()
139 if (cc != 0) { in dvmOpenCachedDexFile()
144 cc = stat(cacheFileName, &fileStat); in dvmOpenCachedDexFile()
145 if (cc != 0 || in dvmOpenCachedDexFile()
[all …]
/dalvik/vm/compiler/
DCompiler.c63 int cc; in dvmCompilerWorkEnqueue() local
108 cc = pthread_cond_signal(&gDvmJit.compilerQueueActivity); in dvmCompilerWorkEnqueue()
109 assert(cc == 0); in dvmCompilerWorkEnqueue()
583 int cc; in compilerThreadStart() local
584 cc = pthread_cond_signal(&gDvmJit.compilerQueueEmpty); in compilerThreadStart()
585 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/tools/hprof-conv/
DHprofConv.c672 int cc; in main() local
711 cc = filterData(in, out); in main()
717 return (cc != 0); in main()
/dalvik/dx/src/com/android/dx/ssa/
DConstCollector.java68 ConstCollector cc = new ConstCollector(ssaMethod); in process() local
69 cc.run(); in process()
/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/tests/024-code-bytecode/
Dexpected.txt213 00cc: if_icmpeq 00db
Dsmall-class.txt217 9f 000f # 00cc: if_icmpeq 00db
/dalvik/dx/tests/087-ssa-local-vars/
Dexpected.txt937 next 01cc
1031 pred 01cc
1099 next 00cc
1108 pred 00cc
1115 block 00cc
1206 block 01cc
/dalvik/vm/compiler/codegen/arm/Thumb/
DFactory.c136 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) in opCondBranch() argument
138 return newLIR2(cUnit, kThumbBCond, 0 /* offset to be patched */, cc); in opCondBranch()
/dalvik/vm/compiler/codegen/arm/Thumb2/
DFactory.c228 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) in opCondBranch() argument
230 return newLIR2(cUnit, kThumb2BCond, 0 /* offset to be patched */, cc); in opCondBranch()
/dalvik/dx/etc/
Dbytecode.txt227 cc 12x y sub-double/2addr

12