Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp41 template <typename T> static inline void put_unaligned(T* address, T v) { in put_unaligned() function
69 put_unaligned<jint>(dst++, bswap_2x16(v)); in swapShorts()
73 put_unaligned<jshort>(reinterpret_cast<jshort*>(dst), bswap_16(v)); in swapShorts()
80 put_unaligned<jint>(dstInts++, bswap_32(v)); in swapInts()
90 put_unaligned<jint>(dst++, bswap_32(v2)); in swapLongs()
91 put_unaligned<jint>(dst++, bswap_32(v1)); in swapLongs()
217 put_unaligned<jshort>(cast<jshort*>(dstAddress), value); in Memory_pokeShortNative()
225 put_unaligned<jint>(cast<jint*>(dstAddress), value); in Memory_pokeIntNative()
233 put_unaligned<jlong>(cast<jlong*>(dstAddress), value); in Memory_pokeLongNative()