Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp35 template <typename T> static inline T get_unaligned(const T* address) { in get_unaligned() function
68 jint v = get_unaligned<jint>(src++); in swapShorts()
72 jshort v = get_unaligned<jshort>(reinterpret_cast<const jshort*>(src)); in swapShorts()
79 jint v = get_unaligned<int>(srcInts++); in swapInts()
88 jint v1 = get_unaligned<jint>(src++); in swapLongs()
89 jint v2 = get_unaligned<jint>(src++); in swapLongs()
213 return get_unaligned<jshort>(cast<const jshort*>(srcAddress)); in Memory_peekShortNative()
221 return get_unaligned<jint>(cast<const jint*>(srcAddress)); in Memory_peekIntNative()
229 return get_unaligned<jlong>(cast<const jlong*>(srcAddress)); in Memory_peekLongNative()