Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/
Dserializable.h72 template <typename T> inline uintptr_t __pval(const T *p) { in __pval() function
127 __pval(buf) + count * sizeof(uint32_t) < __pval(buf)) in append_uint32_array_to_buf()
188 uintptr_t array_end = __pval(*buf_ptr) + *count * sizeof(uint32_t); in copy_uint32_array_from_buf()
190 array_end < __pval(*buf_ptr) || array_end > __pval(end)) in copy_uint32_array_from_buf()
/system/keymaster/android_keymaster/
Dserializable.cpp32 bool overflow_occurred = __builtin_add_overflow(__pval(buf), len, &buf_next); in buffer_bound_check()
33 return (!overflow_occurred) && (buf_next <= __pval(end)); in buffer_bound_check()
107 if (__pval(data) + data_len < __pval(data)) // Pointer wrap check in Reinitialize()