Home
last modified time | relevance | path

Searched defs:String (Results 1 – 25 of 38) 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/
Dpseudo.rs76 pub fn set_authority(&mut self, authority: Option<String>) { in set_authority()
81 pub(crate) fn take_authority(&mut self) -> Option<String> { in take_authority()
96 pub fn set_method(&mut self, method: Option<String>) { in set_method()
101 pub(crate) fn take_method(&mut self) -> Option<String> { in take_method()
116 pub fn set_path(&mut self, path: Option<String>) { in set_path()
121 pub(crate) fn take_path(&mut self) -> Option<String> { in take_path()
136 pub fn set_scheme(&mut self, scheme: Option<String>) { in set_scheme()
141 pub(crate) fn take_scheme(&mut self) -> Option<String> { in take_scheme()
156 pub fn set_status(&mut self, status: Option<String>) { in set_status()
161 pub(crate) fn take_status(&mut self) -> Option<String> { in take_status()
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()
/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_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/src/h3/qpack/
Dtable.rs65 pub(crate) fn find_field_static(&self, index: usize) -> Option<(NameField, String)> { in find_field_static() argument
76 pub(crate) fn find_field_dynamic(&self, index: usize) -> Option<(NameField, String)> { in find_field_dynamic() argument
266 pub(crate) fn field(&self, index: usize) -> Option<(NameField, String)> { in field() argument
402 fn field(index: usize) -> Option<(NameField, String)> { in field() argument
815 fn to_string(&self) -> String { in to_string()
/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/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/src/h2/
Dparts.rs48 pub(crate) fn update(&mut self, headers: Header, value: String) { in update()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/
Dmod.rs410 addr: String, in https_connect()
413 (auth, host, port): (Option<String>, String, u16), in https_connect()
485 auth: Option<String>, in tunnel()
/commonlibrary/rust/ylong_json/src/value/
Dindex.rs266 impl Index for String { implementation
311 impl IndexSealed for String {} implementation
/commonlibrary/rust/ylong_http/ylong_http/src/h3/
Dparts.rs50 pub fn update(&mut self, headers: NameField, value: String) { in update()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
Dresponse.rs44 pub async fn text(mut 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()
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()
803 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_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_runtime/ylong_ffrt/src/
Dtask.rs66 pub fn get_name(&self) -> String { in get_name()
/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/format/
Dencoder.rs111 field_v: String, in encode_field()
186 field_v: String, in indexed_name_ref_with_literal_field()
212 field_v: String, in add_field_to_dynamic()
841 fn next(&mut self) -> Option<(NameField, String)> { in next() argument
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/verify/
Dpinning.rs222 fn parse_uri(uri: &str) -> Result<String, HttpClientError> { in parse_uri()

12