Home
last modified time | relevance | path

Searched refs:Str (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/rust/include/
H A Drust_file.h57 } Str; typedef
93 Str* NextLine(void* iter);
134 Str* GetParent(int fd);
147 Str* CutFileName(const char* path, size_t size);
155 void StrFree(Str* str);
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/rust/src/
H A Dffi.rs18 MakeDirectionMode, SeekPos, Str,
41 pub unsafe extern "C" fn NextLine(iter: *mut c_void) -> *mut Str { in NextLine() argument
74 pub extern "C" fn GetParent(fd: i32) -> *mut Str { in GetParent() argument
87 pub unsafe extern "C" fn StrFree(str: *mut Str) { in StrFree() argument
95 pub unsafe extern "C" fn CutFileName(path: *const c_char, size: usize) -> *mut Str { in CutFileName() argument
H A Dadapter.rs52 pub struct Str { struct
102 pub(crate) unsafe fn next_line(iter: *mut c_void) -> Result<*mut Str, Error> { in next_line() argument
112 let item = Str { in next_line()
152 pub(crate) fn get_parent(fd: i32) -> Result<*mut Str, Error> { in get_parent() argument
164 let item = Str { in get_parent()
175 pub(crate) unsafe fn cut_file_name(path: *const c_char, size: usize) -> *mut Str { in cut_file_name() argument
189 Ok(s) => Str { in cut_file_name()
/ohos5.0/foundation/filemanagement/file_api/interfaces/test/unittest/class_file/
H A Drust_test.cpp107 Str *ret = NextLine(iter);
131 Str *ret = NextLine(iter);
150 Str *ret = NextLine(nullptr);
504 Str *str = GetParent(fd);
526 Str *str = GetParent(-1);
545 Str *str = GetParent(34);
566 Str *str1 = GetParent(fd);
587 Str *str = nullptr;
607 Str *str1 = CutFileName(myStr.c_str(), 2);
612 Str *str2 = CutFileName(myStr.c_str(), 10);
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-popup-and-menu-components-menu.md85 let Str: Tmp = new Tmp()
86 Str.set($r("app.media.icon"))
/ohos5.0/build/rust/tests/test_cxx_rust/include/
H A Dclient_blobstore.h29 void add_tag(uint64_t blobid, rust::Str add_tag) const;
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A DreaderIterator_impl.cpp28 Str *str = NextLine(entity_->iterator); in Next()
/ohos5.0/build/rust/tests/test_cxx_rust/src/
H A Dclient_blobstore.cpp65 void client_blobstore::add_tag(uint64_t blobid, rust::Str add_tag) const in add_tag()
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-popup-and-menu-components-menu.md85 let Str: Tmp = new Tmp()
86 Str.set($r("app.media.icon"))
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_readeriterator/
H A Dreaderiterator_n_exporter.cpp65 Str *str = NextLine(readerIteratorEntity->iterator); in Next()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-build-bindgen-cxx-guide.md226 void add_tag(uint64_t blobid, rust::Str add_tag) const;
292 void client_blobstore::add_tag(uint64_t blobid, rust::Str add_tag) const
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-build-bindgen-cxx-guide.md226 void add_tag(uint64_t blobid, rust::Str add_tag) const;
292 void client_blobstore::add_tag(uint64_t blobid, rust::Str add_tag) const
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-jsvm-about-class.md398 JSVM_Value fooVal = Str(env, "bar");
583 JSVM_Value fooVal = Str(env, "bar");
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/
H A Dmedia_avsession_adapter_impl_test.cpp398 … auto Str = (std::to_string(pid) + "_" + element.GetBundleName() + "_" + element.GetAbilityName()); variable
403 EXPECT_EQ(ret, Str);
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp266 Str *str = CutFileName(fileName.c_str(), SLICE_LENGTH); in TruncFileName()