Searched refs:rec (Results 1 – 5 of 5) sorted by relevance
/dalvik/vm/hprof/ |
D | HprofHeap.cpp | 124 hprof_record_t *rec = &ctx->curRec; in hprofMarkRootObject() local 133 rec->length >= BYTES_PER_SEGMENT) in hprofMarkRootObject() 152 hprofAddU1ToRecord(rec, heapTag); in hprofMarkRootObject() 153 hprofAddIdToRecord(rec, (hprof_object_id)obj); in hprofMarkRootObject() 160 hprofAddU1ToRecord(rec, heapTag); in hprofMarkRootObject() 161 hprofAddIdToRecord(rec, (hprof_object_id)obj); in hprofMarkRootObject() 162 hprofAddIdToRecord(rec, (hprof_id)jniObj); in hprofMarkRootObject() 172 hprofAddU1ToRecord(rec, heapTag); in hprofMarkRootObject() 173 hprofAddIdToRecord(rec, (hprof_object_id)obj); in hprofMarkRootObject() 174 hprofAddU4ToRecord(rec, ctx->gcThreadSerialNumber); in hprofMarkRootObject() [all …]
|
D | HprofOutput.cpp | 129 int hprofFlushRecord(hprof_record_t *rec, FILE *fp) in hprofFlushRecord() argument 131 if (rec->dirty) { in hprofFlushRecord() 135 headBuf[0] = rec->tag; in hprofFlushRecord() 136 U4_TO_BUF_BE(headBuf, 1, rec->time); in hprofFlushRecord() 137 U4_TO_BUF_BE(headBuf, 5, rec->length); in hprofFlushRecord() 143 nb = fwrite(rec->body, 1, rec->length, fp); in hprofFlushRecord() 144 if (nb != (int)rec->length) { in hprofFlushRecord() 148 rec->dirty = false; in hprofFlushRecord() 162 hprof_record_t *rec = &ctx->curRec; in hprofStartNewRecord() local 165 err = hprofFlushRecord(rec, ctx->memFp); in hprofStartNewRecord() [all …]
|
D | Hprof.h | 191 int hprofFlushRecord(hprof_record_t *rec, FILE *fp); 195 int hprofAddU1ToRecord(hprof_record_t *rec, u1 value); 196 int hprofAddU1ListToRecord(hprof_record_t *rec, 199 int hprofAddUtf8StringToRecord(hprof_record_t *rec, const char *str); 201 int hprofAddU2ToRecord(hprof_record_t *rec, u2 value); 202 int hprofAddU2ListToRecord(hprof_record_t *rec, 205 int hprofAddU4ToRecord(hprof_record_t *rec, u4 value); 206 int hprofAddU4ListToRecord(hprof_record_t *rec, 209 int hprofAddU8ToRecord(hprof_record_t *rec, u8 value); 210 int hprofAddU8ListToRecord(hprof_record_t *rec, [all …]
|
D | HprofClass.cpp | 108 hprof_record_t *rec = &ctx->curRec; in hprofDumpClasses() local 133 hprofAddU4ToRecord(rec, clazz->serialNumber); in hprofDumpClasses() 134 hprofAddIdToRecord(rec, (hprof_class_object_id)clazz); in hprofDumpClasses() 135 hprofAddU4ToRecord(rec, HPROF_NULL_STACK_TRACE); in hprofDumpClasses() 136 hprofAddIdToRecord(rec, getPrettyClassNameId(clazz->descriptor)); in hprofDumpClasses()
|
D | HprofString.cpp | 79 hprof_record_t *rec = &ctx->curRec; in hprofDumpStrings() local 103 err = hprofAddU4ToRecord(rec, (u4)str); in hprofDumpStrings() 105 err = hprofAddUtf8StringToRecord(rec, str); in hprofDumpStrings()
|