Home
last modified time | relevance | path

Searched refs:mPtr (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/utils/
Dint_array_view.h53 IntArrayView() : mPtr(nullptr), mSize(0) {} in IntArrayView()
56 : mPtr(ptr), mSize(size) {} in IntArrayView()
59 : mPtr(vector.data()), mSize(vector.size()) {} in IntArrayView()
73 return mPtr[index];
85 return mPtr; in data()
89 return mPtr; in begin()
93 return mPtr + mSize; in end()
102 return IntArrayView(mPtr, std::min(maxSize, mSize)); in limit()
109 return IntArrayView(mPtr + n, mSize - n); in skip()
115 memmove(buffer->data() + offset, mPtr, sizeof(int) * mSize); in copyToArray()
[all …]
Dbyte_array_view.h32 ReadOnlyByteArrayView() : mPtr(nullptr), mSize(0) {} in ReadOnlyByteArrayView()
35 : mPtr(ptr), mSize(size) {} in ReadOnlyByteArrayView()
42 return mPtr; in data()
49 return ReadOnlyByteArrayView(mPtr + n, mSize - n); in skip()
55 const uint8_t *const mPtr; variable
64 ReadWriteByteArrayView() : mPtr(nullptr), mSize(0) {} in ReadWriteByteArrayView()
67 : mPtr(ptr), mSize(size) {} in ReadWriteByteArrayView()
74 return mPtr; in data()
78 return ReadOnlyByteArrayView(mPtr, mSize); in getReadOnlyView()
83 return ReadWriteByteArrayView(mPtr + start, n); in subView()
[all …]