Home | History | Annotate | Download | only in runtime

Lines Matching refs:chunk

2887  * and includes the chunk type/length, followed by the data.
2890 * chunk. If this becomes inconvenient we will need to adapt.
2913 LOG(WARNING) << StringPrintf("bad chunk found (len=%u pktLen=%d)", length, request_length);
2917 // Call "private static Chunk dispatch(int type, byte[] data, int offset, int length)".
2918 ScopedLocalRef<jobject> chunk(env, env->CallStaticObjectMethod(WellKnownClasses::org_apache_harmony_dalvik_ddmc_DdmServer,
2928 if (chunk.get() == NULL) {
2933 * Pull the pieces out of the chunk. We copy the results into a
2935 * continue using the Chunk object because nothing has a reference to it.
2944 ScopedLocalRef<jbyteArray> replyData(env, reinterpret_cast<jbyteArray>(env->GetObjectField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_data)));
2945 jint offset = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_offset);
2946 length = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_length);
2947 type = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_type);
3137 * Chunk HPIF (client --> server)
3194 // Maximum chunk size. Obtain this from the formula:
3219 // Start a new HPSx chunk.
3307 // Determine the type of this chunk.
3308 // OLD-TODO: if context.merge, see if this chunk is different from the last chunk.
3311 // dlmalloc's chunk header is 2 * sizeof(size_t), but if the previous chunk is in use for an
3321 // We need to use two bytes for every fractional 256 allocation units used by the chunk plus
3331 LOG(WARNING) << "Chunk is too big to transmit (chunk_len=" << length << ", "
3336 // Write out the chunk description.
3354 // It's an allocated chunk. Figure out what it is.
3425 // First, send a heap start chunk.
3449 // Finally, send a heap end chunk.