Home
last modified time | relevance | path

Searched refs:attrSrc (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/class_file/
H A Dfile_n_exporter.cpp475 struct stat attrSrc; in FileCopy() local
476 if (stat(src.c_str(), &attrSrc) == FAILED) { in FileCopy()
481 ofd.SetFD(open(dest.c_str(), O_WRONLY | O_CREAT, attrSrc.st_mode)); in FileCopy()
486 if (sendfile(ofd.GetFD(), sfd.GetFD(), nullptr, attrSrc.st_size) != FAILED) { in FileCopy()
506 struct stat attrSrc; in DirCopy() local
507 if (stat(src.c_str(), &attrSrc) == FAILED || !S_ISDIR(attrSrc.st_mode)) { in DirCopy()
511 if (mkdir(dest.c_str(), attrSrc.st_mode) == FAILED) { in DirCopy()
590 struct stat attrSrc; in DirMove() local
591 if (stat(src.c_str(), &attrSrc) == FAILED || !S_ISDIR(attrSrc.st_mode)) { in DirMove()
595 if (FAILED == mkdir(dest.c_str(), attrSrc.st_mode)) { in DirMove()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dimage_module.cpp28 const char * const ImageModule::attrSrc = "src"; member in OHOS::ACELite::ImageModule
103 RegisterAttributeFunc(context, attrSrc, OnSrcSetter, OnSrcGetter); in CreateImage()
H A Dimage_module.h70 static const char * const attrSrc; variable
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcanvas_component.cpp2035 jerry_value_t src = jerryx_get_property_str(args[ArgsIndex::IDX_0], ImageModule::attrSrc); in GetImageObjectParam()