Searched refs:RangeCheckedBytePtr (Results 1 – 6 of 6) sorted by relevance
/external/piex/src/binary_parse/ |
D | range_checked_byte_ptr.h | 190 class RangeCheckedBytePtr { 262 RangeCheckedBytePtr(); 270 explicit RangeCheckedBytePtr(const unsigned char *array, const size_t len); 276 explicit RangeCheckedBytePtr(PagedByteArray *array); 282 static RangeCheckedBytePtr invalidPointer(); 289 RangeCheckedBytePtr pointerToSubArray(size_t pos, size_t length) const; 360 RangeCheckedBytePtr p = (*this) + index * sizeof(T); in convert() 377 inline RangeCheckedBytePtr &operator++(); 379 inline RangeCheckedBytePtr operator++(int); 381 inline RangeCheckedBytePtr &operator--(); [all …]
|
D | range_checked_byte_ptr.cc | 75 RangeCheckedBytePtr::RangeCheckedBytePtr() in RangeCheckedBytePtr() function in piex::binary_parse::RangeCheckedBytePtr 85 RangeCheckedBytePtr::RangeCheckedBytePtr(const unsigned char *array, in RangeCheckedBytePtr() function in piex::binary_parse::RangeCheckedBytePtr 101 RangeCheckedBytePtr::RangeCheckedBytePtr(PagedByteArray *array) in RangeCheckedBytePtr() function in piex::binary_parse::RangeCheckedBytePtr 111 RangeCheckedBytePtr RangeCheckedBytePtr::invalidPointer() { in invalidPointer() 112 return RangeCheckedBytePtr(); in invalidPointer() 115 RangeCheckedBytePtr RangeCheckedBytePtr::pointerToSubArray( in pointerToSubArray() 117 RangeCheckedBytePtr sub_result = (*this) + pos; in pointerToSubArray() 132 size_t RangeCheckedBytePtr::offsetInArray() const { in offsetInArray() 143 std::string RangeCheckedBytePtr::substr(size_t pos, size_t length) const { in substr() 153 std::vector<unsigned char> RangeCheckedBytePtr::extractBytes( in extractBytes() [all …]
|
/external/piex/src/image_type_recognition/ |
D | image_type_recognition_lite.cc | 40 using binary_parse::RangeCheckedBytePtr; 63 virtual bool IsMyType(const RangeCheckedBytePtr& source) const = 0; 68 RangeCheckedBytePtr LimitSource(const RangeCheckedBytePtr& source) const { in LimitSource() 74 bool CheckUInt16Value(const RangeCheckedBytePtr& source, in CheckUInt16Value() 87 bool CheckUInt32Value(const RangeCheckedBytePtr& source, in CheckUInt32Value() 101 bool DetermineEndianness(const RangeCheckedBytePtr& source, in DetermineEndianness() 120 bool IsSignatureMatched(const RangeCheckedBytePtr& source, in IsSignatureMatched() 126 bool IsSignatureFound(const RangeCheckedBytePtr& source, in IsSignatureFound() 159 virtual bool IsMyType(const RangeCheckedBytePtr& source) const { in IsMyType() 160 RangeCheckedBytePtr limited_source = LimitSource(source); in IsMyType() [all …]
|
D | image_type_recognition_lite.h | 65 bool IsOfType(const binary_parse::RangeCheckedBytePtr& source, 72 const binary_parse::RangeCheckedBytePtr& source); 83 bool IsRawLite(const binary_parse::RangeCheckedBytePtr& source);
|
/external/piex/src/tiff_directory/ |
D | tiff_directory.cc | 34 using binary_parse::RangeCheckedBytePtr; 83 RangeCheckedBytePtr value_ptr(&directory_entry->value[0], in Get() 122 RangeCheckedBytePtr value_ptr(&directory_entry->value[0], in Get() 177 RangeCheckedBytePtr value_ptr(&directory_entry->value[0], in Get()
|
/external/piex/src/ |
D | piex.cc | 31 using binary_parse::RangeCheckedBytePtr; 639 RangeCheckedBytePtr data_buffer(file_header.data(), file_header.size()); in IsRaw() 656 RangeCheckedBytePtr header_buffer(file_header.data(), file_header.size()); in GetPreviewImageData() 707 if (IsOfType(RangeCheckedBytePtr(file_header.data(), file_header.size()), in GetOrientation()
|