Searched defs:cc (Results 1 - 16 of 16) 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.cpp256 int cc; local
285 cc = sigwait(&mask, &rcvd);
286 if (cc != 0) {
287 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 DInit.cpp1147 int cc; local
1156 cc = sigprocmask(SIG_BLOCK, &mask, NULL);
1157 assert(cc == 0);
1165 cc = sigaction(SIGBUS, &sa, NULL);
1166 assert(cc == 0);
1211 int cc = processOptions(argc, argv, ignoreUnrecognized); local
1212 if (cc != 0) {
1213 if (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
678 int cc = read(fd, lineBuf, sizeof(lineBuf)-1); local
679 if (cc <= 0) {
680 const char* msg = (cc == 0) ? "unexpected EOF" : strerror(errno);
686 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);
1016 int cc; local
1018 cc = pthread_setspecific(gDvm.pthreadKeySelf, thread);
1019 if (cc != 0) {
1027 ALOGE("pthread_setspecific(%p) failed, err=%d", thread, cc);
1076 int cc local
1304 int cc = pthread_create(&threadHandle, &threadAttr, interpThreadStart, local
[all...]
H A DThread.h416 int cc; local
419 cc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
420 assert(cc == 0);
433 int cc __attribute__ ((__unused__)) = pthread_mutex_lock(pMutex); local
434 assert(cc == 0);
442 int cc = pthread_mutex_trylock(pMutex); local
443 assert(cc == 0 || cc == EBUSY);
444 return cc;
452 int cc __attribute_ local
461 int cc __attribute__ ((__unused__)) = pthread_mutex_destroy(pMutex); local
467 int cc __attribute__ ((__unused__)) = pthread_cond_broadcast(pCond); local
473 int cc __attribute__ ((__unused__)) = pthread_cond_signal(pCond); local
479 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 = 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 = 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/
H A DCompiler.cpp93 int cc; local
139 cc = pthread_cond_signal(&gDvmJit.compilerQueueActivity);
140 assert(cc == 0);
641 int cc; local
642 cc = pthread_cond_signal(&gDvmJit.compilerQueueEmpty);
643 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.cpp247 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) argument
249 return newLIR2(cUnit, kThumb2BCond, 0 /* offset to be patched */, cc);

Completed in 147 milliseconds