Home
last modified time | relevance | path

Searched refs:mPtr (Results 1 – 3 of 3) 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 …]
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/
DFuseDaemon.java45 private long mPtr; field in FuseDaemon
62 mPtr = native_new(mMediaProvider); in run()
63 if (mPtr == 0) { in run()
66 ptr = mPtr; in run()
74 native_delete(mPtr); in run()
75 mPtr = 0; in run()
94 if (mPtr == 0) { in initializeDeviceId()
99 native_initialize_device_id(mPtr, path); in initializeDeviceId()
107 if (mPtr != 0 && native_is_started(mPtr)) { in waitForStart()
149 if (mPtr == 0) { in shouldOpenWithFuse()
[all …]