Lines Matching refs:size

84     void OnRead(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size) override {
85 CHECK_LE(size, static_cast<uint32_t>(fuse::kFuseMaxRead));
90 CallOnCommand(FUSE_READ, unique, inode, offset, size, it->second->get());
93 void OnWrite(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size,
95 CHECK_LE(size, static_cast<uint32_t>(fuse::kFuseMaxWrite));
102 mEnv->SetByteArrayRegion(javaBuffer, 0, size, static_cast<const jbyte*>(buffer));
105 CallOnCommand(FUSE_WRITE, unique, inode, offset, size, javaBuffer);
109 // Helper function to make sure we invoke CallVoidMethod with correct size of integer arguments.
110 void CallOnCommand(jint command, jlong unique, jlong inode, jlong offset, jint size,
112 mEnv->CallVoidMethod(mSelf, gOnCommandMethod, command, unique, inode, offset, size, bytes);
145 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) {
146 if (!reinterpret_cast<fuse::FuseAppLoop*>(ptr)->ReplyLookup(unique, inode, size)) {
152 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) {
154 unique, inode, size, S_IFREG | 0777)) {
160 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size) {
161 if (!reinterpret_cast<fuse::FuseAppLoop*>(ptr)->ReplyWrite(unique, size)) {
167 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size, jbyteArray data) {
169 CHECK_GE(size, 0);
170 CHECK_LE(static_cast<size_t>(size), array.size());
171 if (!reinterpret_cast<fuse::FuseAppLoop*>(ptr)->ReplyRead(unique, size, array.get())) {