Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 14 of 14) sorted by relevance

/dalvik/dx/src/com/android/dx/util/
DMutf8.java88 public static void encode(byte[] dst, int offset, String s) { in encode() argument
93 dst[offset++] = (byte) ch; in encode()
95 dst[offset++] = (byte) (0xc0 | (0x1f & (ch >> 6))); in encode()
96 dst[offset++] = (byte) (0x80 | (0x3f & ch)); in encode()
98 dst[offset++] = (byte) (0xe0 | (0x0f & (ch >> 12))); in encode()
99 dst[offset++] = (byte) (0x80 | (0x3f & (ch >> 6))); in encode()
100 dst[offset++] = (byte) (0x80 | (0x3f & ch)); in encode()
/dalvik/vm/
DBitVector.cpp317 bool dvmCheckMergeBitVectors(BitVector* dst, const BitVector* src) in dvmCheckMergeBitVectors() argument
321 checkSizes(dst, src); in dvmCheckMergeBitVectors()
324 for (idx = 0; idx < dst->storageSize; idx++) { in dvmCheckMergeBitVectors()
325 u4 merged = src->storage[idx] | dst->storage[idx]; in dvmCheckMergeBitVectors()
326 if (dst->storage[idx] != merged) { in dvmCheckMergeBitVectors()
327 dst->storage[idx] = merged; in dvmCheckMergeBitVectors()
DMisc.h289 extern "C" size_t strlcpy(char *dst, const char *src, size_t size);
337 void StringAppendF(std::string* dst, const char* fmt, ...)
343 void StringAppendV(std::string* dst, const char* format, va_list ap);
DMisc.cpp585 size_t strlcpy(char *dst, const char *src, size_t size) { in strlcpy() argument
594 strncpy(dst, src, copyLength); in strlcpy()
595 dst[copyLength] = '\0'; in strlcpy()
765 void StringAppendV(std::string* dst, const char* format, va_list ap) { in StringAppendV() argument
779 dst->append(space, result); in StringAppendV()
802 dst->append(buf, result); in StringAppendV()
819 void StringAppendF(std::string* dst, const char* format, ...) { in StringAppendF() argument
822 StringAppendV(dst, format, ap); in StringAppendF()
DSync.cpp247 static char *logWriteInt(char *dst, int value) in logWriteInt() argument
249 *dst++ = EVENT_TYPE_INT; in logWriteInt()
250 set4LE((u1 *)dst, value); in logWriteInt()
251 return dst + 4; in logWriteInt()
254 static char *logWriteString(char *dst, const char *value, size_t len) in logWriteString() argument
256 *dst++ = EVENT_TYPE_STRING; in logWriteString()
258 set4LE((u1 *)dst, len); in logWriteString()
259 dst += 4; in logWriteString()
260 memcpy(dst, value, len); in logWriteString()
261 return dst + len; in logWriteString()
DBitVector.h90 bool dvmCheckMergeBitVectors(BitVector* dst, const BitVector* src);
/dalvik/vm/oo/
DArray.cpp525 void* dst = (void*)dstArray->contents; in dvmUnboxObjectArray() local
552 u1* tmp = (u1*)dst; in dvmUnboxObjectArray()
554 dst = tmp; in dvmUnboxObjectArray()
560 u2* tmp = (u2*)dst; in dvmUnboxObjectArray()
562 dst = tmp; in dvmUnboxObjectArray()
568 u4* tmp = (u4*)dst; in dvmUnboxObjectArray()
570 dst = tmp; in dvmUnboxObjectArray()
576 u8* tmp = (u8*)dst; in dvmUnboxObjectArray()
578 dst = tmp; in dvmUnboxObjectArray()
DClass.cpp2132 static void cloneMethod(Method* dst, const Method* src) in cloneMethod() argument
2139 memcpy(dst, src, sizeof(Method)); in cloneMethod()
/dalvik/vm/mterp/x86/
DOP_CONST_WIDE.S6 leal (rFP,%ecx,4),%ecx # dst addr
/dalvik/libdex/
DSysUtil.h50 void sysCopyMap(MemMapping* dst, const MemMapping* src);
DSysUtil.cpp381 void sysCopyMap(MemMapping* dst, const MemMapping* src) in sysCopyMap() argument
383 memcpy(dst, src, sizeof(MemMapping)); in sysCopyMap()
/dalvik/vm/analysis/
DCodeVerify.cpp1790 static inline void copyRegisterLine(RegisterLine* dst, const RegisterLine* src, in copyRegisterLine() argument
1793 memcpy(dst->regTypes, src->regTypes, numRegs * sizeof(RegType)); in copyRegisterLine()
1795 assert((src->monitorEntries == NULL && dst->monitorEntries == NULL) || in copyRegisterLine()
1796 (src->monitorEntries != NULL && dst->monitorEntries != NULL)); in copyRegisterLine()
1797 if (dst->monitorEntries != NULL) { in copyRegisterLine()
1798 assert(dst->monitorStack != NULL); in copyRegisterLine()
1799 memcpy(dst->monitorEntries, src->monitorEntries, in copyRegisterLine()
1801 memcpy(dst->monitorStack, src->monitorStack, in copyRegisterLine()
1803 dst->monitorStackTop = src->monitorStackTop; in copyRegisterLine()
1813 RegisterLine* dst = getRegisterLine(regTable, insnIdx); in copyLineToTable() local
[all …]
/dalvik/vm/alloc/
DHeapSource.cpp775 char *dst = (char *)(gHs->markBits.bits + index); in dvmMarkImmuneObjects() local
780 memcpy(dst, src, length); in dvmMarkImmuneObjects()
/dalvik/vm/mterp/out/
DInterpAsm-x86.S643 leal (rFP,%ecx,4),%ecx # dst addr
1346 movl %eax,%edi # set up dst ptr