Lines Matching refs:atPtr
167 size_t ptrToOffset(const void *atPtr, LEErrorCode &success) const {
168 if(atPtr==NULL) return 0;
170 if((atPtr < fStart) ||
171 (hasBounds() && (atPtr > fStart+fLength))) {
172 LE_DEBUG_TR3("ptrToOffset args out of range: %p", atPtr, 0);
176 return ((const le_uint8*)atPtr)-fStart;
378 * @param atPtr location of reference - if NULL, will be at offset zero (i.e. downcast of parent). Otherwise must be a pointer within parent's bounds.
380 LEReferenceTo(const LETableReference &parent, LEErrorCode &success, const void* atPtr)
381 : LETableReference(parent, parent.ptrToOffset(atPtr, success), LE_UINTPTR_MAX, success) {
388 LEReferenceTo(const LETableReference &parent, LEErrorCode &success, const void* atPtr, size_t offset)
389 : LETableReference(parent, parent.ptrToOffset(atPtr, success)+offset, LE_UINTPTR_MAX, success) {