Home
last modified time | relevance | path

Searched refs:bufLen (Results 1 – 8 of 8) sorted by relevance

/dalvik/vm/
DDdm.cpp322 int bufLen = 4 + 4 + (stringLen * 2); in dvmDdmSendThreadNameChange() local
323 u1 buf[bufLen]; in dvmDdmSendThreadNameChange()
332 dvmDbgDdmSendChunk(CHUNK_TYPE("THNM"), bufLen, buf); in dvmDdmSendThreadNameChange()
376 int bufLen = kHeaderLen + threadCount * kBytesPerEntry; in dvmDdmGenerateThreadStats() local
377 u1 tmpBuf[bufLen]; in dvmDdmGenerateThreadStats()
415 ArrayObject* arrayObj = dvmAllocPrimitiveArray('B', bufLen, ALLOC_DEFAULT); in dvmDdmGenerateThreadStats()
417 memcpy(arrayObj->contents, tmpBuf, bufLen); in dvmDdmGenerateThreadStats()
DBits.h234 INLINE int readUtf8String(unsigned char const** ppSrc, char* buf, size_t bufLen) in readUtf8String() argument
237 size_t copyLen = (length < bufLen) ? length : bufLen-1; in readUtf8String()
DJarFile.cpp51 size_t bufLen = fileNameLen + suffixLen + 1; in openAlternateSuffix() local
54 buf = (char*)malloc(bufLen); in openAlternateSuffix()
DThread.cpp3131 static int getSchedulerGroup(int tid, char* buf, size_t bufLen) in getSchedulerGroup() argument
3140 snprintf(buf, bufLen, "[fopen-error:%d]", errno); in getSchedulerGroup()
3169 if (bufLen <= len) { in getSchedulerGroup()
3170 len = bufLen - 1; in getSchedulerGroup()
3178 snprintf(buf, bufLen, "[no-cpu-subsys]"); in getSchedulerGroup()
3184 snprintf(buf, bufLen, "[data-parse-failed]"); in getSchedulerGroup()
3189 snprintf(buf, bufLen, "[n/a]"); in getSchedulerGroup()
DJni.cpp1195 const jbyte* buf, jsize bufLen) in DefineClass() argument
1200 UNUSED_PARAMETER(bufLen); in DefineClass()
3388 jint JNI_GetCreatedJavaVMs(JavaVM** vmBuf, jsize bufLen, jsize* nVMs) { in JNI_GetCreatedJavaVMs() argument
3391 if (bufLen > 0) { in JNI_GetCreatedJavaVMs()
DCheckJni.cpp1328 const jbyte* buf, jsize bufLen) in Check_DefineClass() argument
1330 CHECK_JNI_ENTRY(kFlag_Default, "EuLpz", env, name, loader, buf, bufLen); in Check_DefineClass()
1332 return CHECK_JNI_EXIT("c", baseEnv(env)->DefineClass(env, name, loader, buf, bufLen)); in Check_DefineClass()
/dalvik/vm/alloc/
DDdmHeap.cpp181 size_t bufLen; member
218 size_t bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf); in append_chunk()
222 bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf); in append_chunk()
395 ctx.bufLen = HPSx_CHUNK_SIZE; in walkHeap()
396 ctx.buf = (u1 *)malloc(ctx.bufLen); in walkHeap()
/dalvik/vm/analysis/
DDexPrepare.cpp1365 ssize_t bufLen; in writeDependencies() local
1373 bufLen = 0; in writeDependencies()
1382 bufLen += strlen(cacheFileName) +1; in writeDependencies()
1385 bufLen += 4*4 + numDeps * (4+kSHA1DigestLen); in writeDependencies()
1387 buf = (u1*)malloc(bufLen); in writeDependencies()
1407 if (ptr + 4 + len + kSHA1DigestLen > buf + bufLen) { in writeDependencies()
1420 assert(ptr == buf + bufLen); in writeDependencies()
1422 result = sysWriteFully(fd, buf, bufLen, "DexOpt dep info"); in writeDependencies()