• Home
  • Raw
  • Download

Lines Matching refs:fLength

56     fFont(font), fTag(tableTag), fParent(NULL), fStart(NULL),fLength(LE_UINTPTR_MAX) {  in LETableReference()
61 …arent.fFont), fTag(parent.fTag), fParent(&parent), fStart(parent.fStart), fLength(parent.fLength) { in LETableReference()
69 fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(data), fLength(length) { in fFont()
73 fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(NULL), fLength(0) { in LETableReference()
90 fStart((parent.fStart)+offset), fLength(length) { in LETableReference()
95 } else if(offset >= fParent->fLength) { in LETableReference()
100 if(fLength == LE_UINTPTR_MAX && in LETableReference()
101 fParent->fLength != LE_UINTPTR_MAX) { in LETableReference()
102 fLength = (fParent->fLength) - offset; // decrement length as base address is incremented in LETableReference()
104 if(fLength != LE_UINTPTR_MAX) { // if we have bounds: in LETableReference()
105 if(offset+fLength > fParent->fLength) { in LETableReference()
106 LE_DEBUG_TR3("offset+fLength out of range: (%p) +%d", NULL, offset+fLength); in LETableReference()
120 le_bool isEmpty() const { return fStart==NULL || fLength==0; } in isEmpty()
122 le_bool hasBounds() const { return fLength!=LE_UINTPTR_MAX; } in hasBounds()
123 void clear() { fLength=0; fStart=NULL; } in clear()
124 size_t getLength() const { return fLength; } in getLength()
131 if(offset > fLength) { in addOffset()
136 fLength -= offset; in addOffset()
146 (hasBounds() && (atPtr > fStart+fLength))) { in ptrToOffset()
158 if(fLength!=LE_UINTPTR_MAX&&newLength>0&&newLength<=fLength) { in contractLength()
159 fLength = newLength; in contractLength()
161 return fLength; in contractLength()
171 fLength!=LE_UINTPTR_MAX && length!=LE_UINTPTR_MAX && offset!=LE_UINTPTR_MAX && in verifyLength()
172 (offset+length)>fLength) { in verifyLength()
176 … %p\n", offset,length, fStart+offset+length, (offset+length-fLength), (offset+length-fLength)+fSta… in verifyLength()
179 return fLength; in verifyLength()
202 size_t fLength; variable
206 …fStart = (const le_uint8*)(fFont->getFontTable(fTag, fLength)); // note - a null table is not an e… in loadTable()
215 fLength = length;