Home
last modified time | relevance | path

Searched refs:readCode (Results 1 - 5 of 5) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A DrandomAccessFile_impl.cpp112 int readCode = DoReadRAF(buf, len, entity_->fd.get()->GetFD(), newOffset); in ReadSync() local
113 if (readCode < 0) { in ReadSync()
114 LOGE("Failed to read file for %{public}d", readCode); in ReadSync()
115 return {GetErrorCode(-readCode), 0}; in ReadSync()
117 entity_->filePointer = newOffset + readCode; in ReadSync()
118 return {SUCCESS_CODE, readCode}; in ReadSync()
H A Dfile_fs_impl.cpp801 int readCode = uv_fs_read(nullptr, read_req.get(), fd, &buffer, 1, offset, nullptr); in Read() local
802 if (readCode < 0) { in Read()
803 LOGE("Failed to read file for %{public}d", readCode); in Read()
804 ret.code = readCode; in Read()
808 ret.data = static_cast<int64_t>(readCode); in Read()
836 int readCode = uv_fs_read(nullptr, read_req.get(), fd, &buffer, 1, -1, nullptr); in ReadCur() local
837 if (readCode < 0) { in ReadCur()
838 LOGE("Failed to read file for %{public}d", readCode); in ReadCur()
839 ret.code = readCode; in ReadCur()
844 ret.data = static_cast<int64_t>(readCode); in ReadCur()
[all...]
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dbundle_self_callback.cpp57 int32_t readCode; in Callback() local
58 ReadInt32(data, &readCode); in Callback()
59 auto resultCode = static_cast<uint8_t>(readCode); in Callback()
H A Dbundle_callback.cpp91 int32_t readCode; in Callback() local
92 ReadInt32(data, &readCode); in Callback()
93 uint8_t resultCode = static_cast<uint8_t>(readCode); in Callback()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/tools/src/
H A Dcommand_parser.cpp432 uint8_t readCode; in BmsToolNotify() local
433 ReadUint8(reply, &readCode); in BmsToolNotify()
434 switch (readCode) { in BmsToolNotify()

Completed in 5 milliseconds