Searched refs:readCode (Results 1 - 5 of 5) sorted by relevance
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | randomAccessFile_impl.cpp | 112 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 D | file_fs_impl.cpp | 801 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 D | bundle_self_callback.cpp | 57 int32_t readCode;
in Callback() local 58 ReadInt32(data, &readCode);
in Callback() 59 auto resultCode = static_cast<uint8_t>(readCode);
in Callback()
|
H A D | bundle_callback.cpp | 91 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 D | command_parser.cpp | 432 uint8_t readCode; in BmsToolNotify() local 433 ReadUint8(reply, &readCode); in BmsToolNotify() 434 switch (readCode) { in BmsToolNotify()
|
Completed in 4 milliseconds