Searched refs:rec (Results 1 – 7 of 7) sorted by relevance
/dalvik/vm/hprof/ |
D | HprofHeap.c | 121 hprof_record_t *rec = &ctx->curRec; in hprofMarkRootObject() local 130 rec->length >= BYTES_PER_SEGMENT) in hprofMarkRootObject() 150 hprofAddU1ToRecord(rec, heapTag); in hprofMarkRootObject() 151 hprofAddIdToRecord(rec, (hprof_object_id)obj); in hprofMarkRootObject() 158 hprofAddU1ToRecord(rec, heapTag); in hprofMarkRootObject() 159 hprofAddIdToRecord(rec, (hprof_object_id)obj); in hprofMarkRootObject() 160 hprofAddIdToRecord(rec, (hprof_id)jniObj); in hprofMarkRootObject() 170 hprofAddU1ToRecord(rec, heapTag); in hprofMarkRootObject() 171 hprofAddIdToRecord(rec, (hprof_object_id)obj); in hprofMarkRootObject() 172 hprofAddU4ToRecord(rec, ctx->gcThreadSerialNumber); in hprofMarkRootObject() [all …]
|
D | HprofOutput.c | 108 hprofFlushRecord(hprof_record_t *rec, FILE *fp) in hprofFlushRecord() argument 110 if (rec->dirty) { in hprofFlushRecord() 114 headBuf[0] = rec->tag; in hprofFlushRecord() 115 U4_TO_BUF_BE(headBuf, 1, rec->time); in hprofFlushRecord() 116 U4_TO_BUF_BE(headBuf, 5, rec->length); in hprofFlushRecord() 122 nb = fwrite(rec->body, 1, rec->length, fp); in hprofFlushRecord() 123 if (nb != (int)rec->length) { in hprofFlushRecord() 127 rec->dirty = false; in hprofFlushRecord() 143 hprof_record_t *rec = &ctx->curRec; in hprofStartNewRecord() local 146 err = hprofFlushRecord(rec, ctx->fp); in hprofStartNewRecord() [all …]
|
D | Hprof.h | 183 int hprofFlushRecord(hprof_record_t *rec, FILE *fp); 187 int hprofAddU1ToRecord(hprof_record_t *rec, u1 value); 188 int hprofAddU1ListToRecord(hprof_record_t *rec, 191 int hprofAddUtf8StringToRecord(hprof_record_t *rec, const char *str); 193 int hprofAddU2ToRecord(hprof_record_t *rec, u2 value); 194 int hprofAddU2ListToRecord(hprof_record_t *rec, 197 int hprofAddU4ToRecord(hprof_record_t *rec, u4 value); 198 int hprofAddU4ListToRecord(hprof_record_t *rec, 201 int hprofAddU8ToRecord(hprof_record_t *rec, u8 value); 202 int hprofAddU8ListToRecord(hprof_record_t *rec, [all …]
|
D | HprofStackFrame.c | 181 hprof_record_t *rec = &ctx->curRec; in hprofDumpStackFrames() local 230 hprofAddIdToRecord(rec, (u4) stackFrameEntry); in hprofDumpStackFrames() 231 hprofAddIdToRecord(rec, hprofLookupStringId(method->name)); in hprofDumpStackFrames() 232 hprofAddIdToRecord(rec, hprofLookupStringId(descriptor)); in hprofDumpStackFrames() 233 hprofAddIdToRecord(rec, hprofLookupStringId(sourceFile)); in hprofDumpStackFrames() 234 hprofAddU4ToRecord(rec, (u4) clazz->serialNumber); in hprofDumpStackFrames() 235 hprofAddU4ToRecord(rec, (u4) lineNum); in hprofDumpStackFrames()
|
D | HprofClass.c | 186 hprof_record_t *rec = &ctx->curRec; in hprofDumpClasses() local 211 hprofAddU4ToRecord(rec, clazz->serialNumber); in hprofDumpClasses() 212 hprofAddIdToRecord(rec, (hprof_class_object_id)clazz); in hprofDumpClasses() 213 hprofAddU4ToRecord(rec, HPROF_NULL_STACK_TRACE); in hprofDumpClasses() 214 hprofAddIdToRecord(rec, getPrettyClassNameId(clazz->descriptor)); in hprofDumpClasses()
|
D | HprofString.c | 84 hprof_record_t *rec = &ctx->curRec; in hprofDumpStrings() local 108 err = hprofAddU4ToRecord(rec, (u4)str); in hprofDumpStrings() 110 err = hprofAddUtf8StringToRecord(rec, str); in hprofDumpStrings()
|
D | HprofStack.c | 161 hprof_record_t *rec = &ctx->curRec; in hprofDumpStacks() local 185 hprofAddU4ToRecord(rec, stackTraceEntry->trace.serialNumber); in hprofDumpStacks() 186 hprofAddU4ToRecord(rec, stackTraceEntry->trace.threadSerialNumber); in hprofDumpStacks() 193 hprofAddU4ToRecord(rec, count); in hprofDumpStacks() 195 hprofAddU4ToRecord(rec, stackTraceEntry->trace.frameIds[i]); in hprofDumpStacks()
|