Searched defs:BoundsChecker (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/mojo/public/cpp/bindings/lib/
H A Dbounds_checker.h18 // BoundsChecker is used to validate object sizes, pointers and handle indices
20 class BoundsChecker { class in namespace:mojo::internal
24 BoundsChecker(const void* data, uint32_t data_num_bytes,
27 ~BoundsChecker();
58 MOJO_DISALLOW_COPY_AND_ASSIGN(BoundsChecker);
H A Dbounds_checker.cc14 BoundsChecker::BoundsChecker(const void* data, uint32_t data_num_bytes, function in class:mojo::internal::BoundsChecker
35 BoundsChecker::~BoundsChecker() {
38 bool BoundsChecker::ClaimMemory(const void* position, uint32_t num_bytes) {
49 bool BoundsChecker::ClaimHandle(const Handle& encoded_handle) {
63 bool BoundsChecker::IsValidRange(const void* position,
71 bool BoundsChecker::InternalIsValidRange(uintptr_t begin, uintptr_t end) const {
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DCheckedArithmetic.h117 template <typename Target, typename Source, bool targetSigned = std::numeric_limits<Target>::is_signed, bool sourceSigned = std::numeric_limits<Source>::is_signed> struct BoundsChecker;
118 template <typename Target, typename Source> struct BoundsChecker<Target, Source, false, false> { struct in namespace:WTF
127 template <typename Target, typename Source> struct BoundsChecker<Target, Source, true, true> { struct in namespace:WTF
136 template <typename Target, typename Source> struct BoundsChecker<Target, Source, false, true> { struct in namespace:WTF
152 template <typename Target, typename Source> struct BoundsChecker<Target, Source, true, false> { struct in namespace:WTF
168 template <typename Target, typename Source> struct BoundsCheckElider<Target, Source, false> : public BoundsChecker<Target, Source> {

Completed in 245 milliseconds