Lines Matching refs:unmapLength
135 TranslatorPrivate(Translator *qq) : q(qq), unmapPointer(0), unmapLength(0) {} in TranslatorPrivate()
141 unsigned int unmapLength; member in TranslatorPrivate
427 d->unmapLength = st.st_size; in load()
439 d->unmapLength = file.size(); in load()
440 d->unmapPointer = new char[d->unmapLength]; in load()
443 ok = (d->unmapLength == (uint)file.read(d->unmapPointer, d->unmapLength)); in load()
448 d->unmapLength = 0; in load()
453 return d->do_load(reinterpret_cast<const uchar *>(d->unmapPointer), d->unmapLength); in load()
570 if (d->unmapPointer && d->unmapLength) { in clear()
572 munmap(d->unmapPointer, d->unmapLength); in clear()
577 d->unmapLength = 0; in clear()
869 return !d->unmapPointer && !d->unmapLength && d->messageArray.isEmpty() && in isEmpty()