Searched refs:RetCode (Results 1 - 13 of 13) sorted by relevance
/foundation/arkui/ui_lite/frameworks/imgdecode/ |
H A D | cache_manager.cpp | 27 RetCode CacheEntry::ReadLine(const Point& start, int16_t len, uint8_t* buf) in ReadLine() 29 RetCode ret; in ReadLine() 33 ret = RetCode::FAIL; in ReadLine() 61 RetCode CacheEntry::SetSrc(const char* path) in SetSrc() 67 return RetCode::FAIL; in SetSrc() 71 return RetCode::FAIL; in SetSrc() 76 return RetCode::FAIL; in SetSrc() 83 return RetCode::OK; in SetSrc() 92 RetCode CacheManager::Init(uint16_t size) in Init() 95 return RetCode in Init() [all...] |
H A D | file_img_decoder.cpp | 28 RetCode FileImgDecoder::Open(ImgResDsc& dsc) in Open() 36 return RetCode::FAIL; in Open() 44 return RetCode::OK; in Open() 46 return RetCode::FAIL; in Open() 50 RetCode FileImgDecoder::Close(ImgResDsc& dsc) in Close() 61 return RetCode::OK; in Close() 64 RetCode FileImgDecoder::GetHeader(ImgResDsc& dsc) in GetHeader() 74 return RetCode::FAIL; in GetHeader() 84 return RetCode::FAIL; in GetHeader() 87 return RetCode in GetHeader() [all...] |
H A D | cache_manager.h | 45 RetCode ReadLine(const Point& start, int16_t bufSize, uint8_t* buf); 59 RetCode SetSrc(const char* path); 69 RetCode Init(uint16_t size); 76 RetCode Open(const char* path, const Style& style, CacheEntry& entry); 78 RetCode Close(const char* path); 80 RetCode Reset(); 82 RetCode ReadToCache(CacheEntry& entry); 95 RetCode GetIndex(const char* src, uint16_t& hittedIndex); 97 RetCode SelectEntryToReplace(uint16_t& selectedIndex); 99 RetCode TryDecod [all...] |
H A D | file_img_decoder.h | 29 enum class RetCode { class 48 RetCode Open(ImgResDsc& dsc); 50 RetCode Close(ImgResDsc& dsc); 52 RetCode GetHeader(ImgResDsc& dsc); 54 RetCode ReadLine(ImgResDsc& dsc, const Point& start, int16_t len, uint8_t* buf); 56 RetCode ReadToCache(ImgResDsc& dsc); 70 RetCode ReadLineTrueColor(ImgResDsc& dsc, const Point& start, int16_t len, uint8_t* buf);
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | stream_ffi.h | 25 FFI_EXPORT RetCode FfiOHOSStreamClose(int64_t id); 26 FFI_EXPORT RetCode FfiOHOSStreamFlush(int64_t id);
|
H A D | file_ffi.h | 30 FFI_EXPORT RetCode FfiOHOSFILEFsTryLock(int64_t id, bool exclusive); 31 FFI_EXPORT RetCode FfiOHOSFILEFsUnLock(int64_t id);
|
H A D | stream_ffi.cpp | 23 RetCode FfiOHOSStreamClose(int64_t id) in FfiOHOSStreamClose() 34 RetCode FfiOHOSStreamFlush(int64_t id) in FfiOHOSStreamFlush()
|
H A D | file_ffi.cpp | 117 RetCode FfiOHOSFILEFsTryLock(int64_t id, bool exclusive) in FfiOHOSFILEFsTryLock() 128 RetCode FfiOHOSFILEFsUnLock(int64_t id) in FfiOHOSFILEFsUnLock()
|
/foundation/arkui/ui_lite/test/uitest/test_screenshot/ |
H A D | ui_test_screenshot.cpp | 118 RetCode ret = CacheManager::GetInstance().Open(imageView->GetPath(), style, entry); in UIKit_SCREENSHOT_TEST_001() 119 if (ret != RetCode::OK) { in UIKit_SCREENSHOT_TEST_001()
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_image.cpp | 44 if (CacheManager::GetInstance().Open(path, style, entry) != RetCode::OK) { in DrawCommon() 73 if (entry.ReadLine(start, width, buf) != RetCode::OK) { in DrawCommon()
|
/foundation/arkui/napi/interfaces/inner_api/cjffi/cj_ffi/ |
H A D | cj_common_ffi.h | 32 typedef int RetCode; typedef
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_analog_clock.cpp | 52 RetCode ret = CacheManager::GetInstance().Open(img.GetPath(), *style_, entry); in SetHandImage() 53 if (ret != RetCode::OK) { in SetHandImage()
|
H A D | ui_image_view.cpp | 450 RetCode ret = CacheManager::GetInstance().Open(GetPath(), *style_, entry); in OnDraw() 451 if (ret != RetCode::OK) { in OnDraw()
|
Completed in 5 milliseconds