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

/dalvik/vm/
H A DThread.h349 int cc; local
352 cc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
353 assert(cc == 0);
366 int cc __attribute__ ((__unused__)) = pthread_mutex_lock(pMutex); local
367 assert(cc == 0);
375 int cc = pthread_mutex_trylock(pMutex); local
376 assert(cc == 0 || cc == EBUSY);
377 return cc;
385 int cc __attribute_ local
394 int cc __attribute__ ((__unused__)) = pthread_mutex_destroy(pMutex); local
400 int cc __attribute__ ((__unused__)) = pthread_cond_broadcast(pCond); local
406 int cc __attribute__ ((__unused__)) = pthread_cond_signal(pCond); local
412 int cc __attribute__ ((__unused__)) = pthread_cond_wait(pCond, pMutex); local
[all...]
H A DSignalCatcher.c249 int cc; local
278 cc = sigwait(&mask, &rcvd);
279 if (cc != 0) {
280 if (cc == EINTR) {
H A DLinearAlloc.c348 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 DStdioConverter.c149 int cc; local
154 cc = pthread_cond_signal(&gDvm.stdioConverterCond);
155 assert(cc == 0);
H A DDdm.c416 int cc; local
417 cc = read(fd, lineBuf, sizeof(lineBuf)-1);
418 if (cc <= 0) {
419 const char* msg = (cc == 0) ? "unexpected EOF" : strerror(errno);
424 lineBuf[cc] = '\0';
H A DInit.c1097 int cc; local
1106 cc = sigprocmask(SIG_BLOCK, &mask, NULL);
1107 assert(cc == 0);
1115 cc = sigaction(SIGBUS, &sa, NULL);
1116 assert(cc == 0);
1129 int i, cc; local
1146 cc = dvmProcessOptions(argc, argv, ignoreUnrecognized);
1147 if (cc != 0) {
1148 if (cc < 0) {
H A DThread.c549 int cc; local
552 cc = dvmTryLockMutex(&gDvm._threadSuspendLock);
553 if (cc != 0) {
596 } while (cc != 0);
597 assert(cc == 0);
1119 int cc; local
1121 cc = pthread_setspecific(gDvm.pthreadKeySelf, thread);
1122 if (cc != 0) {
1130 LOGE("pthread_setspecific(%p) failed, err=%d\n", thread, cc);
1179 int cc local
1480 int cc = pthread_create(&threadHandle, &threadAttr, interpThreadStart, local
2319 int cc; local
2836 int cc; local
2928 int cc; local
[all...]
H A DDebugger.c140 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/jdwp/
H A DJdwpSocket.c324 int cc, on = 1; local
326 cc = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
327 assert(cc == 0);
328 return cc;
410 int cc = gethostbyname_r(state->params.host, &he, auxBuf, sizeof(auxBuf), local
412 if (cc != 0) {
617 int cc; local
624 cc = write(netState->clientSock, expandBufGetBuffer(pReply),
626 if (cc != (int) expandBufGetLength(pReply)) {
785 int cc; local
830 int cc; local
[all...]
H A DJdwpAdb.c461 int cc; local
468 cc = write(netState->clientSock, expandBufGetBuffer(pReply),
470 if (cc != (int) expandBufGetLength(pReply)) {
627 int cc; local
637 cc = write(netState->clientSock, netState->inputBuffer,
639 if (cc != kMagicHandshakeLen) {
641 strerror(errno), cc, (int) kMagicHandshakeLen);
672 int cc; local
686 cc = write(netState->clientSock, expandBufGetBuffer(pReq),
688 if (cc !
[all...]
/dalvik/vm/alloc/
H A DHeapWorker.c403 int cc __attribute__ ((__unused__)); local
405 cc = pthread_cond_timedwait_monotonic(&gDvm.heapWorkerCond,
408 cc = pthread_cond_timedwait(&gDvm.heapWorkerCond,
411 assert(cc == 0 || cc == ETIMEDOUT);
/dalvik/vm/compiler/
H A DCompiler.c63 int cc; local
108 cc = pthread_cond_signal(&gDvmJit.compilerQueueActivity);
109 assert(cc == 0);
583 int cc; local
584 cc = pthread_cond_signal(&gDvmJit.compilerQueueEmpty);
585 assert(cc == 0);
/dalvik/vm/analysis/
H A DDexPrepare.c85 int fd, cc; local
118 cc = flock(fd, LOCK_EX | LOCK_NB);
119 if (cc != 0) {
121 cc = flock(fd, LOCK_EX);
124 if (cc != 0) {
125 LOGE("Can't lock dex cache '%s': %d\n", cacheFileName, cc);
138 cc = fstat(fd, &fdStat);
139 if (cc != 0) {
144 cc = stat(cacheFileName, &fileStat);
145 if (cc !
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DConstCollector.java68 ConstCollector cc = new ConstCollector(ssaMethod);
69 cc.run();
/dalvik/tools/hprof-conv/
H A DHprofConv.c672 int cc; local
711 cc = filterData(in, out);
717 return (cc != 0);
/dalvik/vm/compiler/codegen/arm/Thumb/
H A DFactory.c136 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) argument
138 return newLIR2(cUnit, kThumbBCond, 0 /* offset to be patched */, cc);
/dalvik/vm/compiler/codegen/arm/Thumb2/
H A DFactory.c228 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) argument
230 return newLIR2(cUnit, kThumb2BCond, 0 /* offset to be patched */, cc);
/dalvik/vm/oo/
H A DClass.c488 int cc; local
490 cc = stat(cpe->fileName, &sb);
491 if (cc < 0) {

Completed in 271 milliseconds