Home
last modified time | relevance | path

Searched defs:String (Results 1 – 22 of 22) sorted by relevance

/commonlibrary/c_utils/base/src/rust/
Dfile_ex.rs26 pub fn RustLoadStringFromFile(filePath: &String, content: &mut String) -> bool; in RustLoadStringFromFile()
29 pub fn RustSaveStringToFile(filePath: &String, content: &String, truncated: bool) -> bool; in RustSaveStringToFile()
38 pub fn RustLoadBufferFromFile(filePath: &String, content: &mut Vec<c_char>) -> bool; in RustLoadBufferFromFile()
41 … pub fn RustSaveBufferToFile(filePath: &String, content: &Vec<c_char>, truncated: bool) -> bool; in RustSaveBufferToFile()
47 … pub fn RustStringExistsInFile(fileName: &String, subStr: &String, caseSensitive: bool) -> bool; in RustStringExistsInFile()
50 pub fn RustCountStrInFile(fileName: &String, subStr: &String, caseSensitive: bool) -> i32; in RustCountStrInFile()
Ddirectory_ex.rs54 pub fn RustExtractFilePath(fileFullName: &String) -> String; in RustExtractFilePath()
57 pub fn RustExtractFileName(fileFullName: &String) -> String; in RustExtractFileName()
60 pub fn RustExtractFileExt(fileName: &String) -> String; in RustExtractFileExt()
64 pub fn RustExcludeTrailingPathDelimiter(path: &String) -> String; in RustExcludeTrailingPathDelimiter()
68 pub fn RustIncludeTrailingPathDelimiter(path: &String) -> String; in RustIncludeTrailingPathDelimiter()
71 pub fn RustGetDirFiles(path: &String, files: &mut Vec<String>); in RustGetDirFiles()
95 pub fn RustPathToRealPath(path: &String, realPath: &mut String) -> bool; in RustPathToRealPath()
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
Dpseudo.rs62 pub fn set_authority(&mut self, authority: Option<String>) { in set_authority()
67 pub(crate) fn take_authority(&mut self) -> Option<String> { in take_authority()
82 pub fn set_method(&mut self, method: Option<String>) { in set_method()
87 pub(crate) fn take_method(&mut self) -> Option<String> { in take_method()
102 pub fn set_path(&mut self, path: Option<String>) { in set_path()
107 pub(crate) fn take_path(&mut self) -> Option<String> { in take_path()
122 pub fn set_scheme(&mut self, scheme: Option<String>) { in set_scheme()
127 pub(crate) fn take_scheme(&mut self) -> Option<String> { in take_scheme()
142 pub fn set_status(&mut self, status: Option<String>) { in set_status()
147 pub(crate) fn take_status(&mut self) -> Option<String> { in take_status()
Dparts.rs48 pub(crate) fn update(&mut self, headers: Header, value: String) { in update()
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
Dtable.rs38 pub(crate) fn search_header(&self, index: usize) -> Option<(Header, String)> { in search_header() argument
120 pub(crate) fn header(&self, index: usize) -> Option<(Header, String)> { in header() argument
125 pub(crate) fn update(&mut self, header: Header, value: String) { in update()
300 fn header(index: usize) -> Option<(Header, String)> { in header() argument
428 pub(crate) fn into_string(self) -> String { in into_string()
Ddecoder.rs184 ) -> Result<(Header, String), H2Error> { in get_header_by_name_and_value() argument
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
Dconnector.rs144 host: String, in tunnel()
146 auth: Option<String>, in tunnel()
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Dudp_test.rs240 fn sdv_udp_try_send(sender_addr: String, receiver_addr: String) { in sdv_udp_try_send()
Dasync_pool.rs61 unsafe fn name_of_pid(pid: &str) -> Option<String> { in name_of_pid()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
Dconnector.rs174 host: String, in tunnel()
176 auth: Option<String>, in tunnel()
Dadapter.rs41 pub async fn text(self) -> Result<String, HttpClientError> { in text()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
Dread_task.rs170 str_res: Result<String, FromUtf8Error>, in io_string_result()
172 output: &mut String, in io_string_result()
451 ) -> Poll<io::Result<Option<String>>> { in poll_next_line()
473 pub async fn next_line(&mut self) -> io::Result<Option<String>> { in next_line()
/commonlibrary/rust/ylong_http/ylong_http/src/request/
Duri.rs253 pub fn path_and_query(&self) -> Option<String> { in path_and_query()
296 fn to_string(&self) -> String { in to_string()
650 pub fn to_str(&self) -> String { in to_str()
693 fn to_string(&self) -> String { in to_string()
728 fn to_string(&self) -> String { in to_string()
/commonlibrary/rust/ylong_http/ylong_http_client/tests/tcp_server/
Dmod.rs29 pub fn format_header_str(key: &str, value: &str) -> String { in format_header_str()
/commonlibrary/rust/ylong_http/ylong_http/src/response/
Dstatus.rs117 pub fn as_str(&self) -> String { in as_str()
/commonlibrary/rust/ylong_http/ylong_http/src/
Dheaders.rs237 fn normalize(input: &[u8]) -> Result<String, HttpError> { in normalize()
252 fn to_string(&self) -> String { in to_string()
382 pub fn to_str(&self) -> Result<String, HttpError> { in to_str()
/commonlibrary/rust/ylong_runtime/ylong_ffrt/src/
Dtask.rs63 pub fn get_name(&self) -> String { in get_name()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/
Daddr.rs186 impl ToSocketAddrs for String { implementation
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
Dasync_dir.rs298 pub async fn read_to_string<P: AsRef<Path>>(path: P) -> io::Result<String> { in read_to_string()
/commonlibrary/rust/ylong_http/ylong_http/src/body/
Dmod.rs374 impl Body for String { implementation
/commonlibrary/c_utils/base/test/unittest/rust/
Drust_utils_file_test.rs31 pub fn create_test_file(path: &String, content: &String) -> bool { in create_test_file()
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/
Dencoder.rs176 fn next(&mut self) -> Option<(Header, String)> { in next() argument