Home
last modified time | relevance | path

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

12

/commonlibrary/c_utils/base/src/rust/
Dfile_ex.rs24 pub fn RustLoadStringFromFile(filePath: &String, content: &mut String) -> bool; in RustLoadStringFromFile()
27 pub fn RustSaveStringToFile(filePath: &String, content: &String, truncated: bool) -> bool; in RustSaveStringToFile()
36 pub fn RustLoadBufferFromFile(filePath: &String, content: &mut Vec<c_char>) -> bool; in RustLoadBufferFromFile()
40 filePath: &String, in RustSaveBufferToFile()
50 fileName: &String, in RustStringExistsInFile()
51 subStr: &String, in RustStringExistsInFile()
56 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()
61 pub fn RustExtractFileExt(fileName: &String) -> String; in RustExtractFileExt()
65 pub fn RustExcludeTrailingPathDelimiter(path: &String) -> String; in RustExcludeTrailingPathDelimiter()
69 pub fn RustIncludeTrailingPathDelimiter(path: &String) -> String; in RustIncludeTrailingPathDelimiter()
72 pub fn RustGetDirFiles(path: &String, files: &mut Vec<String>); in RustGetDirFiles()
98 pub fn RustPathToRealPath(path: &String, realPath: &mut String) -> bool; in RustPathToRealPath()
/commonlibrary/rust/ylong_http/ylong_http/src/h3/
Dpseudo.rs61 pub fn set_authority(&mut self, authority: Option<String>) { in set_authority()
66 pub(crate) fn take_authority(&mut self) -> Option<String> { in take_authority()
81 pub fn set_method(&mut self, method: Option<String>) { in set_method()
86 pub(crate) fn take_method(&mut self) -> Option<String> { in take_method()
101 pub fn set_path(&mut self, path: Option<String>) { in set_path()
106 pub(crate) fn take_path(&mut self) -> Option<String> { in take_path()
121 pub fn set_scheme(&mut self, scheme: Option<String>) { in set_scheme()
126 pub(crate) fn take_scheme(&mut self) -> Option<String> { in take_scheme()
141 pub fn set_status(&mut self, status: Option<String>) { in set_status()
146 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
432 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/util/config/tls/verifier/
Dopenssl.rs62 pub fn cert_name(&self) -> Result<String, HttpClientError> { in cert_name()
89 pub fn issuer(&self) -> Result<String, HttpClientError> { in issuer()
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
Dconnector.rs148 host: String, in tunnel()
150 auth: Option<String>, in tunnel()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/
Dmod.rs281 addr: String, in https_connect()
284 auth: Option<String>, in https_connect()
285 (host, port): (String, u16), in https_connect()
342 auth: Option<String>, in tunnel()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
Dtest_utils.rs25 pub(crate) fn format_header_str(key: &str, value: &str) -> String { in format_header_str()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
Dresponse.rs39 pub async fn text(mut self) -> Result<String, HttpClientError> { in text()
/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()
453 ) -> Poll<io::Result<Option<String>>> { in poll_next_line()
475 pub async fn next_line(&mut self) -> io::Result<Option<String>> { in next_line()
/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/request/uri/
Dmod.rs262 pub fn path_and_query(&self) -> Option<String> { in path_and_query()
328 fn to_string(&self) -> String { in to_string()
701 pub fn to_str(&self) -> String { in to_str()
744 fn to_string(&self) -> String { in to_string()
779 fn to_string(&self) -> String { in to_string()
Dpercent_encoding.rs54 pub fn parse(origin: &str) -> Result<String, HttpError> { in parse()
287 pub(crate) fn url(self) -> String { in url()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/verify/
Dpinning.rs150 pub(crate) fn get_pin(&self, domain: &str) -> Option<String> { in get_pin()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
Dc_ssl_stream.rs63 pinned_pubkey: Option<String>, in new()
/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()
263 fn to_string(&self) -> String { in to_string()
392 pub fn to_string(&self) -> Result<String, HttpError> { in to_string()

12