Searched refs:Str (Results 1 - 7 of 7) sorted by relevance
/foundation/filemanagement/file_api/interfaces/kits/rust/include/ |
H A D | rust_file.h | 51 * @struct Str 57 } Str; typedef 87 * @retval !NULL Valid `Str` pointer, Gets a line of content successfully. 93 Str* NextLine(void* iter); 134 Str* GetParent(int fd); 147 Str* CutFileName(const char* path, size_t size); 151 * @brief Releases the memory that the `Str` pointer points to. 152 * @param lines pointer to `Str`. 155 void StrFree(Str* str);
|
/foundation/filemanagement/file_api/interfaces/kits/rust/src/ |
H A D | ffi.rs | 18 MakeDirectionMode, SeekPos, Str, 41 pub unsafe extern "C" fn NextLine(iter: *mut c_void) -> *mut Str { 74 pub extern "C" fn GetParent(fd: i32) -> *mut Str { in GetParent() 87 pub unsafe extern "C" fn StrFree(str: *mut Str) { 95 pub unsafe extern "C" fn CutFileName(path: *const c_char, size: usize) -> *mut Str {
|
H A D | adapter.rs | 52 pub struct Str { structure names 102 pub(crate) unsafe fn next_line(iter: *mut c_void) -> Result<*mut Str, Error> { 112 let item = Str { 152 pub(crate) fn get_parent(fd: i32) -> Result<*mut Str, Error> { 164 let item = Str { 175 pub(crate) unsafe fn cut_file_name(path: *const c_char, size: usize) -> *mut Str { 189 Ok(s) => Str {
|
/foundation/filemanagement/file_api/interfaces/test/unittest/class_file/ |
H A D | rust_test.cpp | 107 Str *ret = NextLine(iter); in HWTEST_F() 131 Str *ret = NextLine(iter); in HWTEST_F() 150 Str *ret = NextLine(nullptr); in HWTEST_F() 504 Str *str = GetParent(fd); in HWTEST_F() 526 Str *str = GetParent(-1); in HWTEST_F() 545 Str *str = GetParent(34); in HWTEST_F() 566 Str *str1 = GetParent(fd); in HWTEST_F() 587 Str *str = nullptr; in HWTEST_F() 607 Str *str1 = CutFileName(myStr.c_str(), 2); in HWTEST_F() 612 Str *str in HWTEST_F() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | readerIterator_impl.cpp | 28 Str *str = NextLine(entity_->iterator); in Next()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_readeriterator/ |
H A D | readeriterator_n_exporter.cpp | 65 Str *str = NextLine(readerIteratorEntity->iterator); in Next()
|
/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/ |
H A D | file_trash_n_exporter.cpp | 266 Str *str = CutFileName(fileName.c_str(), SLICE_LENGTH);
in TruncFileName()
|
Completed in 4 milliseconds