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

/dalvik/vm/
H A DDdm.c349 int bufLen = 4 + 4 + (stringLen * 2); local
350 u1 buf[bufLen];
358 dvmDbgDdmSendChunk(CHUNK_TYPE("THNM"), bufLen, buf);
490 int bufLen = kHeaderLen + threadCount * kBytesPerEntry; local
491 u1 tmpBuf[bufLen];
527 ArrayObject* arrayObj = dvmAllocPrimitiveArray('B', bufLen, ALLOC_DEFAULT);
529 memcpy(arrayObj->contents, tmpBuf, bufLen);
H A DBits.h234 INLINE int readUtf8String(unsigned char const** ppSrc, char* buf, size_t bufLen) argument
237 size_t copyLen = (length < bufLen) ? length : bufLen-1;
H A DJarFile.c49 size_t bufLen = fileNameLen + suffixLen + 1; local
52 buf = malloc(bufLen);
H A DJni.c1144 const jbyte* buf, jsize bufLen)
1149 UNUSED_PARAMETER(bufLen);
3480 jint JNI_GetCreatedJavaVMs(JavaVM** vmBuf, jsize bufLen, jsize* nVMs) argument
3485 if (bufLen > 0)
1143 DefineClass(JNIEnv* env, const char *name, jobject loader, const jbyte* buf, jsize bufLen) argument
H A DCheckJni.c978 const jbyte* buf, jsize bufLen)
985 result = BASE_ENV(env)->DefineClass(env, name, loader, buf, bufLen);
977 Check_DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, jsize bufLen) argument
/dalvik/vm/alloc/
H A DDdmHeap.c181 size_t bufLen; member in struct:HeapChunkContext
227 size_t bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf);
358 ctx.bufLen = HPSx_CHUNK_SIZE;
359 ctx.buf = (u1 *)malloc(ctx.bufLen);
/dalvik/vm/analysis/
H A DDexOptimize.c966 ssize_t bufLen; local
974 bufLen = 0;
980 bufLen += strlen(cacheFileName) +1;
983 bufLen += 4*4 + numDeps * (4+kSHA1DigestLen);
985 buf = malloc(bufLen);
1002 if (ptr + 4 + len + kSHA1DigestLen > buf + bufLen) {
1015 assert(ptr == buf + bufLen);
1017 actual = write(fd, buf, bufLen);
1018 if (actual != bufLen) {
1020 logFailedWrite(bufLen, actua
[all...]
/dalvik/libnativehelper/include/nativehelper/
H A Djni.h499 jsize bufLen)
500 { return functions->DefineClass(this, name, loader, buf, bufLen); }
498 DefineClass(const char *name, jobject loader, const jbyte* buf, jsize bufLen) argument

Completed in 125 milliseconds