Home
last modified time | relevance | path

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

12

/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/h3/
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.rs50 pub(crate) fn update(&mut self, headers: Field, value: String) { in update()
/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_json/src/value/object/
Dlinked_list.rs117 pub fn insert(&mut self, key: String, value: JsonValue) { in insert()
147 pub fn iter(&self) -> Iter<'_, (String, JsonValue)> { in iter()
160 pub fn iter_mut(&mut self) -> IterMut<'_, (String, JsonValue)> { in iter_mut()
214 pub fn get_node(&self, key: &str) -> Option<&Node<(String, JsonValue)>> { in get_node()
233 pub fn get_node_mut(&mut self, key: &str) -> Option<&mut Node<(String, JsonValue)>> { in get_node_mut()
239 pub(crate) fn last_node_mut(&mut self) -> Option<&mut Node<(String, JsonValue)>> { in last_node_mut()
271 fn get_cursor(&self, key: &str) -> Option<Cursor<'_, (String, JsonValue)>> { in get_cursor()
284 fn get_cursor_mut(&mut self, key: &str) -> Option<CursorMut<'_, (String, JsonValue)>> { in get_cursor_mut()
Dbtree.rs114 pub fn insert(&mut self, key: String, value: JsonValue) { in insert()
143 pub fn iter(&self) -> Iter<'_, String, JsonValue> { in iter() argument
156 pub fn iter_mut(&mut self) -> IterMut<'_, String, JsonValue> { in iter_mut() argument
Dvec.rs119 pub fn insert(&mut self, key: String, value: JsonValue) { in insert()
150 pub fn iter(&self) -> Iter<'_, (String, JsonValue)> { in iter()
163 pub fn iter_mut(&mut self) -> IterMut<'_, (String, JsonValue)> { in iter_mut()
/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()
/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
Dtable.rs75 pub(crate) fn find_field_static(&self, index: usize) -> Option<(Field, String)> { in find_field_static() argument
86 pub(crate) fn find_field_dynamic(&self, index: usize) -> Option<(Field, String)> { in find_field_dynamic() argument
140 value: &String, in have_enough_space()
202 pub(crate) fn field(&self, index: usize) -> Option<(Field, String)> { in field() argument
307 fn field(index: usize) -> Option<(Field, String)> { in field() argument
711 pub(crate) fn into_string(self) -> String { in into_string()
/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_http/ylong_http_client/src/async_impl/connector/
Dmod.rs176 host: String, in tunnel()
178 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()
/commonlibrary/rust/ylong_json/src/value/
Dindex.rs266 impl Index for String { implementation
311 impl IndexSealed for String {} implementation
/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()
667 pub fn to_str(&self) -> String { in to_str()
710 fn to_string(&self) -> String { in to_string()
745 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_json/src/
Dvalue.rs76 String(JsonString), enumerator
736 pub fn to_formatted_string(&self) -> Result<std::string::String, Error> { in to_formatted_string()
753 pub fn to_compact_string(&self) -> Result<std::string::String, Error> { in to_compact_string()
/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_http/ylong_http_client/src/async_impl/
Dadapter.rs41 pub async fn text(self) -> Result<String, HttpClientError> { in text()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/
Daddr.rs186 impl ToSocketAddrs for String { implementation
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
Dnormalizer.rs190 pub(crate) fn format_host_value(uri: &Uri) -> Result<String, HttpClientError> { in format_host_value()

12