Home
last modified time | relevance | path

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

/frameworks/base/libs/binder/
DParcel.cpp51 #define PAD_SIZE(s) (((s)+3)&~3) macro
577 const size_t padded = PAD_SIZE(len); in writeInplace()
791 void* buf = this->writeInplace(PAD_SIZE(len)); in write()
865 if ((mDataPos+PAD_SIZE(len)) >= mDataPos && (mDataPos+PAD_SIZE(len)) <= mDataSize) { in read()
867 mDataPos += PAD_SIZE(len); in read()
876 if ((mDataPos+PAD_SIZE(len)) >= mDataPos && (mDataPos+PAD_SIZE(len)) <= mDataSize) { in readInplace()
878 mDataPos += PAD_SIZE(len); in readInplace()
887 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(PAD_SIZE(sizeof(T)) == sizeof(T)); in readAligned()
911 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(PAD_SIZE(sizeof(T)) == sizeof(T)); in writeAligned()
989 mDataPos += PAD_SIZE(len+1); in readCString()
[all …]