Lines Matching refs:u1
150 static inline void storeShortLE(u1* buf, u2 val) in storeShortLE()
152 *buf++ = (u1) val; in storeShortLE()
153 *buf++ = (u1) (val >> 8); in storeShortLE()
155 static inline void storeIntLE(u1* buf, u4 val) in storeIntLE()
157 *buf++ = (u1) val; in storeIntLE()
158 *buf++ = (u1) (val >> 8); in storeIntLE()
159 *buf++ = (u1) (val >> 16); in storeIntLE()
160 *buf++ = (u1) (val >> 24); in storeIntLE()
162 static inline void storeLongLE(u1* buf, u8 val) in storeLongLE()
164 *buf++ = (u1) val; in storeLongLE()
165 *buf++ = (u1) (val >> 8); in storeLongLE()
166 *buf++ = (u1) (val >> 16); in storeLongLE()
167 *buf++ = (u1) (val >> 24); in storeLongLE()
168 *buf++ = (u1) (val >> 32); in storeLongLE()
169 *buf++ = (u1) (val >> 40); in storeLongLE()
170 *buf++ = (u1) (val >> 48); in storeLongLE()
171 *buf++ = (u1) (val >> 56); in storeLongLE()
526 state->buf = (u1*) malloc(bufferSize); in dvmMethodTraceStart()
635 u1* ptr = gDvm.methodTrace.buf + TRACE_HEADER_LEN; in markTouchedMethods()
636 u1* end = gDvm.methodTrace.buf + endOffset; in markTouchedMethods()
780 u1* scanPtr = state->buf + TRACE_HEADER_LEN; in dvmMethodTraceStop()
786 u1* scanBase = state->buf + TRACE_HEADER_LEN; in dvmMethodTraceStop()
938 u1* ptr; in dvmMethodTraceAdd()
963 *ptr++ = (u1) self->threadId; in dvmMethodTraceAdd()
964 *ptr++ = (u1) (self->threadId >> 8); in dvmMethodTraceAdd()
965 *ptr++ = (u1) methodVal; in dvmMethodTraceAdd()
966 *ptr++ = (u1) (methodVal >> 8); in dvmMethodTraceAdd()
967 *ptr++ = (u1) (methodVal >> 16); in dvmMethodTraceAdd()
968 *ptr++ = (u1) (methodVal >> 24); in dvmMethodTraceAdd()
972 *ptr++ = (u1) cpuClockDiff; in dvmMethodTraceAdd()
973 *ptr++ = (u1) (cpuClockDiff >> 8); in dvmMethodTraceAdd()
974 *ptr++ = (u1) (cpuClockDiff >> 16); in dvmMethodTraceAdd()
975 *ptr++ = (u1) (cpuClockDiff >> 24); in dvmMethodTraceAdd()
980 *ptr++ = (u1) wallClockDiff; in dvmMethodTraceAdd()
981 *ptr++ = (u1) (wallClockDiff >> 8); in dvmMethodTraceAdd()
982 *ptr++ = (u1) (wallClockDiff >> 16); in dvmMethodTraceAdd()
983 *ptr++ = (u1) (wallClockDiff >> 24); in dvmMethodTraceAdd()