Searched refs:__pval (Results 1 - 2 of 2) sorted by relevance

/system/keymaster/
H A Dserializable.cpp28 if (__pval(buf) + data_len < __pval(buf)) // Pointer wrap check
39 if (__pval(*buf_ptr) + size < __pval(*buf_ptr)) // Pointer wrap check
54 if (__pval(*buf_ptr) + *size < __pval(*buf_ptr)) // Pointer wrap check
99 if (__pval(data) + data_len < __pval(data)) // Pointer wrap check
/system/keymaster/include/keymaster/
H A Dserializable.h69 template <typename T> inline uintptr_t __pval(const T *p) { function in namespace:keymaster
124 __pval(buf) + count * sizeof(uint32_t) < __pval(buf))
185 uintptr_t array_end = __pval(*buf_ptr) + *count * sizeof(uint32_t);
187 array_end < __pval(*buf_ptr) || array_end > __pval(end))

Completed in 229 milliseconds