• Home
  • Raw
  • Download

Lines Matching refs:buf

39 bool dvmDdmHandlePacket(const u1* buf, int dataLen, u1** pReplyBuf,  in dvmDdmHandlePacket()  argument
68 memcpy(dataArray->contents, buf, dataLen); in dvmDdmHandlePacket()
262 u1 buf[256]; in dvmDdmSendThreadNotification() local
280 if (stringLen > (sizeof(buf) - sizeof(u4)*2) / 2) { in dvmDdmSendThreadNotification()
281 stringLen = (sizeof(buf) - sizeof(u4)*2) / 2; in dvmDdmSendThreadNotification()
285 set4BE(&buf[0x00], thread->threadId); in dvmDdmSendThreadNotification()
286 set4BE(&buf[0x04], stringLen); in dvmDdmSendThreadNotification()
289 outChars = (u2*)(void*)&buf[0x08]; in dvmDdmSendThreadNotification()
298 set4BE(&buf[0x00], thread->threadId); in dvmDdmSendThreadNotification()
301 dvmDbgDdmSendChunk(type, len, buf); in dvmDdmSendThreadNotification()
323 u1 buf[bufLen]; in dvmDdmSendThreadNameChange() local
325 set4BE(&buf[0x00], threadId); in dvmDdmSendThreadNameChange()
326 set4BE(&buf[0x04], stringLen); in dvmDdmSendThreadNameChange()
327 u2* outChars = (u2*)(void*)&buf[0x08]; in dvmDdmSendThreadNameChange()
332 dvmDbgDdmSendChunk(CHUNK_TYPE("THNM"), bufLen, buf); in dvmDdmSendThreadNameChange()
378 u1* buf = tmpBuf; in dvmDdmGenerateThreadStats() local
380 set1(buf+0, kHeaderLen); in dvmDdmGenerateThreadStats()
381 set1(buf+1, kBytesPerEntry); in dvmDdmGenerateThreadStats()
382 set2BE(buf+2, (u2) threadCount); in dvmDdmGenerateThreadStats()
383 buf += kHeaderLen; in dvmDdmGenerateThreadStats()
400 set4BE(buf+0, thread->threadId); in dvmDdmGenerateThreadStats()
401 set1(buf+4, thread->status); in dvmDdmGenerateThreadStats()
402 set4BE(buf+5, thread->systemTid); in dvmDdmGenerateThreadStats()
403 set4BE(buf+9, procStatData.utime); in dvmDdmGenerateThreadStats()
404 set4BE(buf+13, procStatData.stime); in dvmDdmGenerateThreadStats()
405 set1(buf+17, isDaemon); in dvmDdmGenerateThreadStats()
407 buf += kBytesPerEntry; in dvmDdmGenerateThreadStats()