Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
Dpixel_map_parcel.cpp65 HiLog::Error(LABEL, "create pixelmap pointer fail"); in CreateFromParcel()
84 HiLog::Error(LABEL, "fd < 0"); in CreateFromParcel()
91 HiLog::Error(LABEL, "shared memory map failed"); in CreateFromParcel()
96 HiLog::Error(LABEL, "alloc context error."); in CreateFromParcel()
107 HiLog::Error(LABEL, "read buffer from parcel failed, read buffer addr is null"); in CreateFromParcel()
111 HiLog::Error(LABEL, "Invalid value, bufferSize out of size."); in CreateFromParcel()
116 HiLog::Error(LABEL, "alloc output pixel memory size:[%{public}d] error.", bufferSize); in CreateFromParcel()
122 HiLog::Error(LABEL, "memcpy pixel data size:[%{public}d] error.", bufferSize); in CreateFromParcel()
130 HiLog::Error(LABEL, "create pixel map from parcel failed, set image info error."); in CreateFromParcel()
145 …HiLog::Error(LABEL, "set parcel max capacity:[%{public}d] failed.", bufferSize + PIXEL_MAP_INFO_MA… in WriteToParcel()
[all …]
Dpixel_map.cpp125 HiLog::Error(LABEL, "unknown allocator type:[%{public}d].", allocatorType_); in FreePixelMap()
159 HiLog::Error(LABEL, "SetPixelsAddr error "); in SetPixelsAddr()
163 HiLog::Error(LABEL, "SetPixelsAddr error type %{public}d ", type); in SetPixelsAddr()
183 HiLog::Error(LABEL, "set image info fail"); in CheckPixelmap()
188 HiLog::Error(LABEL, "AllocSharedMemory parameter is zero"); in CheckPixelmap()
216 HiLog::Error(LABEL, "create pixelMap pointer fail"); in Create()
232 HiLog::Error(LABEL, "check pixelMap pointer fail"); in Create()
239 HiLog::Error(LABEL, "allocate memory size %{public}u fail", bufferSize); in Create()
248 HiLog::Error(LABEL, "pixel convert in adapter failed."); in Create()
292 HiLog::Error(LABEL, "AllocSharedMemory fd error"); in AllocSharedMemory()
[all …]
/foundation/multimedia/image_framework/plugins/manager/src/framework/
Dimpl_class.cpp49 HiLog::Error(LABEL, "repeat registration."); in Register()
54 HiLog::Error(LABEL, "read className failed."); in Register()
60 … HiLog::Error(LABEL, "failed to analysis services for class %{public}s.", className_.c_str()); in Register()
67 HiLog::Error(LABEL, "read priority failed, result: %{public}u.", result); in Register()
76 … HiLog::Error(LABEL, "failed to analysis maxInstance for class %{public}s.", className_.c_str()); in Register()
93 …HiLog::Error(LABEL, "failed to create for unregistered, className: %{public}s.", className_.c_str(… in CreateObject()
99 … HiLog::Error(LABEL, "failed to dereference Plugin, className: %{public}s.", className_.c_str()); in CreateObject()
107 … HiLog::Error(LABEL, "failed to create for limit, currentNum: %{public}u, maxNum: %{public}u, \ in CreateObject()
123 … HiLog::Error(LABEL, "create object result null, className: %{public}s.", className_.c_str()); in CreateObject()
158 …HiLog::Error(LABEL, "get package name, className: %{public}s, state error: %{public}d.", className… in GetPackageName()
[all …]
Dcapability.cpp43 HiLog::Error(LABEL, "not a array type value."); in SetCapability()
57 HiLog::Error(LABEL, "failed to analysis cap name."); in SetCapability()
64 HiLog::Error(LABEL, "failed to analysis cap value."); in SetCapability()
110 HiLog::Error(LABEL, "failed to analysis data type."); in AnalyzeAttrData()
125 HiLog::Error(LABEL, "unknown cap value type: %{public}s.", type.c_str()); in AnalyzeAttrData()
149 HiLog::Error(LABEL, "unexpected cap value type: %{public}d.", iter->second); in AnalyzeAttrData()
161 HiLog::Error(LABEL, "failed to analysis bool value."); in AnalyzeBool()
171 HiLog::Error(LABEL, "failed to analyze bool value: %{public}s.", value.c_str()); in AnalyzeBool()
185 HiLog::Error(LABEL, "failed to analysis uint32 value."); in AnalyzeUint32()
199 HiLog::Error(LABEL, "failed to analysis string value."); in AnalyzeString()
[all …]
Dplugin.cpp63 HiLog::Error(LABEL, "release plugin: refNum: %{public}u.", refNum_); in ~Plugin()
75 HiLog::Error(LABEL, "repeat registration."); in Register()
82 HiLog::Error(LABEL, "failed to register metadata, ERRNO: %{public}u.", ret); in Register()
105 HiLog::Error(LABEL, "failed to resolve library."); in Ref()
115 HiLog::Error(LABEL, "failed to start plugin."); in Ref()
124 HiLog::Error(LABEL, "plugin ref: state error, state: %{public}d.", state_); in Ref()
141 HiLog::Error(LABEL, "DeRef while RefNum is zero."); in DeRef()
170 …HiLog::Error(LABEL, "failed to get create func, State: %{public}d, RefNum: %{public}u.", state_, r… in GetCreateFunc()
197 HiLog::Error(LABEL, "failed to load library."); in ResolveLibrary()
205 HiLog::Error(LABEL, "failed to get export symbol for the plugin."); in ResolveLibrary()
[all …]
Dplugin_mgr.cpp89 HiLog::Error(LABEL, "failed to get dir files."); in TraverseFiles()
130 HiLog::Error(LABEL, "failed to open metadata file."); in CheckPluginMetaFile()
137 HiLog::Error(LABEL, "read libraryPath failed."); in CheckPluginMetaFile()
147 HiLog::Error(LABEL, "invalid library suffix."); in CheckPluginMetaFile()
162 HiLog::Error(LABEL, "library path to real path error."); in CheckPluginMetaFile()
181 HiLog::Error(LABEL, "failed to open metadata file."); in RegisterPlugin()
187 HiLog::Error(LABEL, "failed to create Plugin."); in RegisterPlugin()
194 HiLog::Error(LABEL, "failed to register plugin,ERRNO: %{public}u.", regRet); in RegisterPlugin()
200 HiLog::Error(LABEL, "get empty libraryPath."); in RegisterPlugin()
206 HiLog::Error(LABEL, "failed to insert Plugin"); in RegisterPlugin()
[all …]
/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/src/
Dpng_decoder.cpp53 HiLog::Error(LABEL, "Png decoder init failed!"); in PngDecoder()
77 …HiLog::Error(LABEL, "decode image out of range, index:%{public}u, range:%{public}u.", index, PNG_I… in GetImageSize()
81 HiLog::Error(LABEL, "create Png Struct or Png Info failed!"); in GetImageSize()
85 HiLog::Error(LABEL, "get image size failed for state %{public}d.", state_); in GetImageSize()
108 …HiLog::Error(LABEL, "decode image out of range, index:%{public}u, range:%{public}u.", index, PNG_I… in SetDecodeOptions()
112 HiLog::Error(LABEL, "Png init fail, can't set decode option."); in SetDecodeOptions()
116 HiLog::Error(LABEL, "set decode options failed for state %{public}d.", state_); in SetDecodeOptions()
121 HiLog::Error(LABEL, "finish old decompress fail, can't set decode option."); in SetDecodeOptions()
128 HiLog::Error(LABEL, "decode header error on set decode options:%{public}u.", ret); in SetDecodeOptions()
137 HiLog::Error(LABEL, "config decoding failed on set decode options:%{public}u.", ret); in SetDecodeOptions()
[all …]
/foundation/multimedia/image_framework/plugins/common/libs/image/libsvgplugin/src/
Dsvg_decoder.cpp50 HiLog::Error(LABEL, "[AllocShareBuffer] pixelmap buffer size %{public}llu out of max size", in AllocShareBuffer()
59 HiLog::Error(LABEL, "[AllocShareBuffer] create fail"); in AllocShareBuffer()
65 HiLog::Error(LABEL, "[AllocShareBuffer] set fail"); in AllocShareBuffer()
72 HiLog::Error(LABEL, "[AllocShareBuffer] map fail"); in AllocShareBuffer()
80 HiLog::Error(LABEL, "[AllocShareBuffer] new fdBuffer fail"); in AllocShareBuffer()
96 HiLog::Error(LABEL, "[AllocShareBuffer] Not support Ashmem!"); in AllocShareBuffer()
107 HiLog::Error(LABEL, "[AllocDmaBuffer] pixelmap buffer size %{public}llu out of max size", in AllocDmaBuffer()
125 HiLog::Error(LABEL, "SurfaceBuffer Alloc failed, %{public}s", GSErrorStr(ret).c_str()); in AllocDmaBuffer()
131 HiLog::Error(LABEL, "NativeBufferReference failed"); in AllocDmaBuffer()
144 HiLog::Error(LABEL, "[AllocDmaBuffer] Not support dma!"); in AllocDmaBuffer()
[all …]
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
Dgif_decoder.cpp76 HiLog::Error(LABEL, "[GetTopLevelImageNum]set source need firstly"); in GetTopLevelImageNum()
85 …HiLog::Error(LABEL, "[GetTopLevelImageNum]create GifFileType pointer failed %{public}u", errorCode… in GetTopLevelImageNum()
91 …HiLog::Error(LABEL, "[GetTopLevelImageNum]update GifFileType pointer failed %{public}u", errorCode… in GetTopLevelImageNum()
97 HiLog::Error(LABEL, "[GetTopLevelImageNum]image frame number must be larger than 0"); in GetTopLevelImageNum()
108 … HiLog::Error(LABEL, "[GetImageSize]index %{public}u is invalid %{public}u", index, errorCode); in GetImageSize()
114 …HiLog::Error(LABEL, "[GetImageSize]background size [%{public}d, %{public}d] is invalid", bgWidth, … in GetImageSize()
126 HiLog::Error(LABEL, "[SetDecodeOptions]get image size failed %{public}u", errorCode); in SetDecodeOptions()
143 HiLog::Error(LABEL, "[Decode]index %{public}u is invalid %{public}u", index, errorCode); in Decode()
168 HiLog::Error(LABEL, "[Decode]overlap frame failed %{public}u", errorCode); in Decode()
174 HiLog::Error(LABEL, "[Decode]redirect output stream failed %{public}u", errorCode); in Decode()
[all …]
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/
Dobject_error.h29 class Error {
31 virtual ~Error(){}; in ~Error()
36 class ParametersType : public Error {
47 class ParametersNum : public Error {
57 class PermissionError : public Error {
64 class DatabaseError : public Error {
71 class InnerError : public Error {
78 class DeviceNotSupportedError : public Error {
/foundation/multimedia/image_framework/plugins/common/libs/image/librawplugin/src/
Draw_decoder.cpp107 …HiLog::Error(LABEL, "[SetDecodeOptions] decode image index[%{public}u], out of range[%{public}u].", in SetDecodeOptions()
118 … HiLog::Error(LABEL, "[SetDecodeOptions] set decode options failed for state %{public}d.", state_); in SetDecodeOptions()
130 …HiLog::Error(LABEL, "[SetDecodeOptions] decode header error on set decode options:%{public}u.", re… in SetDecodeOptions()
141 HiLog::Error(LABEL, "[SetDecodeOptions] do set decode options:%{public}u.", ret); in SetDecodeOptions()
156 … HiLog::Error(LABEL, "[GetImageSize] decode image index[%{public}u], out of range[%{public}u].", in GetImageSize()
162 HiLog::Error(LABEL, "[GetImageSize] get image size failed for state %{public}d.", state_); in GetImageSize()
175 … HiLog::Error(LABEL, "[GetImageSize]decode header error on get image size, ret:%{public}u.", ret); in GetImageSize()
182 HiLog::Error(LABEL, "[GetImageSize]do get image size, ret:%{public}u.", ret); in GetImageSize()
198 HiLog::Error(LABEL, "[Decode] decode image index:[%{public}u] out of range:[%{public}u].", in Decode()
203 HiLog::Error(LABEL, "[Decode] decode failed for state %{public}d.", state_); in Decode()
[all …]
Draw_stream.cpp44 piex::Error RawStream::GetData(const size_t offset, const size_t length, uint8_t* data) in GetData()
47 HiLog::Error(LABEL, "GetData, InputStream is null"); in GetData()
56 HiLog::Error(LABEL, "GetData, seek fail"); in GetData()
61 HiLog::Error(LABEL, "GetData, seeked fail"); in GetData()
68 HiLog::Error(LABEL, "GetData, read fail"); in GetData()
73 HiLog::Error(LABEL, "GetData, read want:%{public}u, real:%{public}u", u32Length, readSize); in GetData()
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/
Djpeg_utils.cpp46 HiLog::Error(LABEL, "libjpeg error %{public}d <%{public}s>.", dinfo->err->msg_code, buffer); in OutputErrorMessage()
54 HiLog::Error(LABEL, "init source stream error."); in InitSrcStream()
66 HiLog::Error(LABEL, "fill input buffer error, decompress struct is null."); in FillInputBuffer()
71 HiLog::Error(LABEL, "fill input buffer error, source stream is null."); in FillInputBuffer()
82 HiLog::Error(LABEL, "fill input buffer error, read source stream failed."); in FillInputBuffer()
101 HiLog::Error(LABEL, "skip input buffer error, decompress struct is null."); in SkipInputData()
106 HiLog::Error(LABEL, "skip input buffer error, source stream is null."); in SkipInputData()
115 …HiLog::Error(LABEL, "skip data:%{public}zu larger than current offset:%{public}u.", bytesToSkip, n… in SkipInputData()
119 …HiLog::Error(LABEL, "skip data:%{public}zu fail, current offset:%{public}u.", bytesToSkip, nowOffs… in SkipInputData()
140 HiLog::Error(LABEL, "init destination stream error."); in InitDstStream()
[all …]
/foundation/multimedia/image_framework/frameworks/kits/js/common/
Dnative_module_ohos_image.cpp30 HiLog::Error(LABEL, "ImagePackerNapi CALL"); in Export()
32 HiLog::Error(LABEL, "PixelMapNapi CALL"); in Export()
34 HiLog::Error(LABEL, "ImageSourceNapi CALL"); in Export()
37 HiLog::Error(LABEL, "ImageReceiverNapi CALL"); in Export()
39 HiLog::Error(LABEL, "ImageCreatorNapi CALL"); in Export()
41 HiLog::Error(LABEL, "ImageNapi CALL"); in Export()
Dimage_source_mdk_kits.cpp99 HiLog::Error(LABEL, "UnwrapNativeObject value not a object"); in UnwrapNativeObject()
107 HiLog::Error(LABEL, "UnwrapNativeObject unwrap error"); in UnwrapNativeObject()
115 HiLog::Error(LABEL, "ImageSourceNativeCreate source nullptr"); in ImageSourceNativeCreate()
150 HiLog::Error(LABEL, "ImageSourceNativeCreate no match source"); in ImageSourceNativeCreate()
159 HiLog::Error(LABEL, "ImageSourceCreateNapi napi create failed"); in ImageSourceCreateNapi()
164 HiLog::Error(LABEL, "ImageSourceCreateNapi napi unwrap check failed"); in ImageSourceCreateNapi()
190 HiLog::Error(LABEL, "ImageSourceNapiCreate native create failed"); in ImageSourceNapiCreate()
194 HiLog::Error(LABEL, "ImageSourceNapiCreate napi create failed"); in ImageSourceNapiCreate()
205 HiLog::Error(LABEL, "ImageSourceNapiCreateIncremental args or env is nullptr"); in ImageSourceNapiCreateIncremental()
217 HiLog::Error(LABEL, "ImageSourceNapiCreateIncremental native imagesource failed"); in ImageSourceNapiCreateIncremental()
[all …]
/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/
Dwebp_decoder.cpp57 …HiLog::Error(LABEL, "image size:invalid index, index:%{public}u, range:%{public}u.", index, WEBP_I… in GetImageSize()
61 HiLog::Error(LABEL, "get image size failed for state %{public}d.", state_); in GetImageSize()
81 …HiLog::Error(LABEL, "set option:invalid index, index:%{public}u, range:%{public}u.", index, WEBP_I… in SetDecodeOptions()
85 HiLog::Error(LABEL, "set decode option failed for state %{public}d.", state_); in SetDecodeOptions()
95 HiLog::Error(LABEL, "decode header error on set decode options:%{public}u.", ret); in SetDecodeOptions()
125 …HiLog::Error(LABEL, "decode:invalid index, index:%{public}u, range:%{public}u.", index, WEBP_IMAGE… in Decode()
129 HiLog::Error(LABEL, "set decode option failed for state %{public}d.", state_); in Decode()
136 HiLog::Error(LABEL, "decode header error on set decode options:%{public}u.", ret); in Decode()
157 …HiLog::Error(LABEL, "incremental:invalid index, index:%{public}u, range:%{public}u.", index, WEBP_… in PromoteIncrementalDecode()
162 HiLog::Error(LABEL, "incremental decode failed for state %{public}d.", state_); in PromoteIncrementalDecode()
[all …]
/foundation/multimedia/image_framework/plugins/manager/src/common/
Dattr_data.cpp64 HiLog::Error(LABEL, "AttrData: alloc stringValue result null!"); in AttrData()
73 HiLog::Error(LABEL, "AttrData: alloc stringValue result null!"); in AttrData()
133 HiLog::Error(LABEL, "memcpy error in assignment operator!"); in AttrData()
152 HiLog::Error(LABEL, "memcpy error in assignment operator!"); in operator =()
171 HiLog::Error(LABEL, "memcpy error in assignment operator!"); in operator =()
200 HiLog::Error(LABEL, "SetData: alloc string result null!"); in SetData()
219 HiLog::Error(LABEL, "SetData: alloc string result null!"); in SetData()
232 …HiLog::Error(LABEL, "SetData: lowerBound is upper than upperBound, lower: %{public}u, upper: %{pub… in SetData()
283 HiLog::Error(LABEL, "InsertSet: alloc uint32Set result null!"); in InsertSet()
292 …HiLog::Error(LABEL, "InsertSet: AttrData type is not uint32Set or null, type: %{public}d.", type_); in InsertSet()
[all …]
/foundation/multimedia/image_framework/plugins/common/libs/image/libbmpplugin/src/
Dbmp_stream.cpp27 HiLog::Error(LABEL, "read failed, inputStream_ is null"); in read()
33 …HiLog::Error(LABEL, "read failed, curpositon=%{public}zu, skip size=%{public}zu", curPosition, siz… in read()
42 HiLog::Error(LABEL, "read failed, desire read size=%{public}u", desireSize); in read()
51 HiLog::Error(LABEL, "peek failed, inputStream_ is null"); in peek()
55 HiLog::Error(LABEL, "peek failed, output buffer is null"); in peek()
62 HiLog::Error(LABEL, "peek failed, desire peek size=%{public}u", desireSize); in peek()
71 HiLog::Error(LABEL, "get stream status failed, inputStream_ is null."); in isAtEnd()
Dbmp_decoder.cpp53 …HiLog::Error(LABEL, "GetImageSize failed, invalid index:%{public}u, range:%{public}u", index, BMP_… in GetImageSize()
57 HiLog::Error(LABEL, "GetImageSize failed, invalid state:%{public}d", state_); in GetImageSize()
66 HiLog::Error(LABEL, "GetImageSize failed, decode header failed, state=%{public}d", state_); in GetImageSize()
78 … HiLog::Error(LABEL, "SetDecodeOptions failed, invalid index:%{public}u, range:%{public}u", index, in SetDecodeOptions()
83 HiLog::Error(LABEL, "SetDecodeOptions failed, invalid state %{public}d", state_); in SetDecodeOptions()
92 … HiLog::Error(LABEL, "GetImageSize failed, decode header failed, state=%{public}d", state_); in SetDecodeOptions()
145 HiLog::Error(LABEL, "Unsupport dma mem alloc"); in DmaMemAlloc()
161 HiLog::Error(LABEL, "SurfaceBuffer Alloc failed, %{public}s", GSErrorStr(ret).c_str()); in DmaMemAlloc()
167 HiLog::Error(LABEL, "NativeBufferReference failed"); in DmaMemAlloc()
183 HiLog::Error(LABEL, "Decode failed, byteCount is invalid value"); in SetBuffer()
[all …]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
Dimage_packer.cpp49 HiLog::Error(LABEL, "get class info from plugin server,ret:%{public}u.", ret); in GetSupportedFormats()
61 HiLog::Error(LABEL, "attr data get format failed."); in GetSupportedFormats()
72 HiLog::Error(LABEL, "make buffer packer stream failed."); in StartPackingImpl()
76 HiLog::Error(LABEL, "StartPackingImpl get encoder plugin failed."); in StartPackingImpl()
89 …HiLog::Error(LABEL, "array startPacking option invalid %{public}s, %{public}u.", option.format.c_s… in StartPacking()
95 HiLog::Error(LABEL, "output buffer is null."); in StartPacking()
100 HiLog::Error(LABEL, "make buffer packer stream failed."); in StartPacking()
111 …HiLog::Error(LABEL, "filepath startPacking option invalid %{public}s, %{public}u.", option.format.… in StartPacking()
117 HiLog::Error(LABEL, "make file packer stream failed."); in StartPacking()
128 …HiLog::Error(LABEL, "fd startPacking option invalid %{public}s, %{public}u.", option.format.c_str(… in StartPacking()
[all …]
/foundation/multimedia/image_framework/plugins/common/libs/image/libheifplugin/src/
Dheif_decoder.cpp46 HiLog::Error(LABEL, "get image size failed, ret=%{public}u", ret); in SetDecodeOptions()
73 HiLog::Error(LABEL, "create heif interface object failed!"); in Decode()
78 …HiLog::Error(LABEL, "decode image out of range, index:%{public}u, range:%{public}d.", index, HEIF_… in Decode()
83 HiLog::Error(LABEL, "get pixels memory fail."); in Decode()
92 …HiLog::Error(LABEL, "decode image out of range, index:%{public}u, range:%{public}d.", index, HEIF_… in GetImageSize()
97 HiLog::Error(LABEL, "create heif interface object failed!"); in GetImageSize()
103 …HiLog::Error(LABEL, "get width and height fail, height:%{public}u, width:%{public}u.", size.height, in GetImageSize()
126 HiLog::Error(LABEL, "check heif image para fail"); in AllocHeapBuffer()
150 HiLog::Error(LABEL, "new fdBuffer fail"); in AllocHeapBuffer()
164 HiLog::Error(LABEL, "alloc output buffer size:[%{public}llu] error.", in AllocHeapBuffer()
[all …]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
Dimage_source_util.cpp48 HiLog::Error(LABEL_TEST, "pixelMap is nullptr"); in PackImage()
53 HiLog::Error(LABEL_TEST, "image packer get supported format failed, ret=%{public}u.", ret); in PackImage()
72 HiLog::Error(LABEL_TEST, "imageSource is nullptr"); in PackImage()
77 HiLog::Error(LABEL_TEST, "image packer get supported format failed, ret=%{public}u.", ret); in PackImage()
83 HiLog::Error(LABEL_TEST, "image packer malloc buffer failed."); in PackImage()
97 …HiLog::Error(LABEL_TEST, "file path to real path failed, file path=%{public}s.", filePath.c_str()); in ReadFileToBuffer()
102 HiLog::Error(LABEL_TEST, "buffer is nullptr"); in ReadFileToBuffer()
108 HiLog::Error(LABEL_TEST, "open file failed, real path=%{public}s.", realPath.c_str()); in ReadFileToBuffer()
115 …HiLog::Error(LABEL_TEST, "buffer size:(%{public}zu) is smaller than file size:(%{public}zu).", buf… in ReadFileToBuffer()
122 …HiLog::Error(LABEL_TEST, "read file result size = %{public}zu, size = %{public}zu.", retSize, file… in ReadFileToBuffer()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/src/
Dfile_packer_stream.cpp40 HiLog::Error(LABEL, "convert to real path failed."); in FilePackerStream()
46 HiLog::Error(LABEL, "create directory failed."); in FilePackerStream()
53 HiLog::Error(LABEL, "fopen file failed, error:%{public}d", errno); in FilePackerStream()
61 HiLog::Error(LABEL, "fopen file failed, error:%{public}d", errno); in FilePackerStream()
76 HiLog::Error(LABEL, "input parameter invalid."); in Write()
80 HiLog::Error(LABEL, "output file is null."); in Write()
84 HiLog::Error(LABEL, "write %{public}u bytes failed.", size); in Write()
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/include/
Ddatashare_error_impl.h23 class ParametersTypeError : public Error {
33 class ParametersNumError : public Error {
42 class DataShareHelperInitError : public Error {
49 class InnerError : public Error {
56 class BusinessError : public Error {
67 class UriNotExistError : public Error {
74 class DataAreaNotExistError : public Error {
/foundation/filemanagement/file_api/interfaces/kits/rust/src/
Dadapter.rs19 use std::io::{BufRead, BufReader, Error, ErrorKind, Seek, SeekFrom};
59 pub(crate) unsafe fn error_control(err: Error) { in error_control() argument
74 pub(crate) unsafe fn read_lines(path: *const c_char) -> Result<*mut StringVector, Error> { in read_lines() argument
76 return Err(Error::new(ErrorKind::InvalidInput, "Invalid input")); in read_lines()
82 return Err(Error::new(ErrorKind::InvalidInput, "Invalid input")); in read_lines()
99 pub(crate) unsafe fn next_line(lines: *mut StringVector) -> Result<*mut Str, Error> { in next_line() argument
101 return Err(Error::new(ErrorKind::InvalidInput, "Invalid input")); in next_line()
116 pub(crate) fn seek(fd: i32, offset: i64, pos: SeekPos) -> Result<(), Error> { in seek() argument
129 pub(crate) fn create_dir(path: *const c_char, mode: MakeDirectionMode) -> Result<(), Error> { in create_dir() argument
131 return Err(Error::new(ErrorKind::InvalidInput, "Invalid input")); in create_dir()
[all …]

12345678910>>...14