Home
last modified time | relevance | path

Searched refs:RetCode (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ui_lite/frameworks/imgdecode/
H A Dcache_manager.cpp27 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 Dfile_img_decoder.cpp28 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 Dcache_manager.h45 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 Dfile_img_decoder.h29 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 Dstream_ffi.h25 FFI_EXPORT RetCode FfiOHOSStreamClose(int64_t id);
26 FFI_EXPORT RetCode FfiOHOSStreamFlush(int64_t id);
H A Dfile_ffi.h30 FFI_EXPORT RetCode FfiOHOSFILEFsTryLock(int64_t id, bool exclusive);
31 FFI_EXPORT RetCode FfiOHOSFILEFsUnLock(int64_t id);
H A Dstream_ffi.cpp23 RetCode FfiOHOSStreamClose(int64_t id) in FfiOHOSStreamClose()
34 RetCode FfiOHOSStreamFlush(int64_t id) in FfiOHOSStreamFlush()
H A Dfile_ffi.cpp117 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 Dui_test_screenshot.cpp118 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 Ddraw_image.cpp44 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 Dcj_common_ffi.h32 typedef int RetCode; typedef
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_analog_clock.cpp52 RetCode ret = CacheManager::GetInstance().Open(img.GetPath(), *style_, entry); in SetHandImage()
53 if (ret != RetCode::OK) { in SetHandImage()
H A Dui_image_view.cpp450 RetCode ret = CacheManager::GetInstance().Open(GetPath(), *style_, entry); in OnDraw()
451 if (ret != RetCode::OK) { in OnDraw()

Completed in 5 milliseconds