| /commonlibrary/rust/ylong_json/src/ |
| D | states.rs | 425 let str = in parse_number() localVariable 738 let str = "\""; in ut_parse_string() localVariable 749 let str = "abcdefghijklmnopqrstuvwxyz1234567890-=~!@#$%^&*()_+[]{}|<>?:;'\""; in ut_parse_string() localVariable 763 let str = r#"\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t""#; in ut_parse_string() localVariable 781 let str = r#"\uD852\uDF62""#; in ut_parse_string() localVariable 793 let str = "abc"; in ut_parse_string() localVariable 798 let str = r#"\g""#; in ut_parse_string() localVariable 803 let str = r#"\"#; in ut_parse_string() localVariable 808 let str = r#"\uBEEF"#; in ut_parse_string() localVariable 812 let str = r#"\uZ000"#; in ut_parse_string() localVariable [all …]
|
| D | adapter.rs | 749 let str = from_utf8_unchecked(slice); in ylong_json_has_object_item() localVariable 1132 let str = str_to_c_char(JSON_TEXT); in ut_ylong_json_parse() localVariable 1145 let str = str_to_c_char("{"); in ut_ylong_json_parse() localVariable 1177 let str = str_to_c_char(JSON_TEXT); in ut_ylong_json_free_string() localVariable 1210 let str = str_to_c_char("{\"array\":[1,2,3]}"); in ut_ylong_json_print_unformatted() localVariable 1243 let str = str_to_c_char(JSON_TEXT); in ut_ylong_json_delete() localVariable 1278 let str = str_to_c_char(JSON_TEXT); in ut_ylong_json_duplicate() localVariable 1797 let str = null(); in ut_ylong_json_create_string() localVariable 1800 let str = str_to_c_char("Hello World"); in ut_ylong_json_create_string() localVariable 1827 let str = str_to_c_char("Hello World"); in ut_ylong_json_is_string() localVariable [all …]
|
| D | serializer_compact.rs | 195 _name: &'static str, in serialize_unit_variant() 197 variant: &'static str, // The name of the variant. in serialize_unit_variant() 203 fn serialize_newtype_struct<T>(self, _name: &'static str, value: &T) -> Result<(), Error> in serialize_newtype_struct() 216 _name: &'static str, in serialize_newtype_variant() 218 variant: &'static str, // The name of the variant. in serialize_newtype_variant() 252 _name: &'static str, in serialize_tuple_struct() 262 _name: &'static str, in serialize_tuple_variant() 264 variant: &'static str, // The name of the variant. in serialize_tuple_variant() 284 _name: &'static str, in serialize_struct() 294 _name: &'static str, in serialize_struct_variant() [all …]
|
| D | deserializer.rs | 370 let str = self.de_parse_string()?; in deserialize_str() localVariable 457 _name: &'static str, in deserialize_unit_struct() 468 _name: &'static str, in deserialize_newtype_struct() 521 _name: &'static str, in deserialize_tuple_struct() 568 _name: &'static str, in deserialize_struct() 569 _fields: &'static [&'static str], in deserialize_struct() 580 _name: &'static str, in deserialize_enum() 581 _variants: &'static [&'static str], in deserialize_enum() 835 _fields: &'static [&'static str], in struct_variant() 1044 let str = "null"; in ut_deserialize_struct() localVariable [all …]
|
| /commonlibrary/c_utils/base/src/ |
| D | string_ex.cpp | 27 string UpperStr(const string& str) in UpperStr() 34 string LowerStr(const string& str) in LowerStr() 41 string ReplaceStr(const string& str, const string& src, const string& dst) in ReplaceStr() 57 string TrimStr(const string& str, const char cTrim /*= ' '*/) in TrimStr() 91 void SplitStr(const string& str, const string& sep, vector<string>& strs, bool canEmpty, bool needT… in SplitStr() 114 bool StrToInt(const string& str, int& value) in StrToInt() 132 bool IsNumericStr(const string& str) in IsNumericStr() 147 bool IsAlphaStr(const string& str) in IsAlphaStr() 162 bool IsUpperStr(const string& str) in IsUpperStr() 177 bool IsLowerStr(const string& str) in IsLowerStr() [all …]
|
| D | file_ex.cpp | 363 string str; in StringExistsInFile() local 380 int CountStrInStr(const string& str, const string& subStr) in CountStrInStr() 405 string str; in CountStrInFile() local
|
| /commonlibrary/c_utils/base/test/unittest/common/ |
| D | utils_file_test.cpp | 82 string str; variable 104 string str; variable 116 string str; variable 131 string str; variable 146 string str; variable 161 string str; variable 583 string str = "abc"; variable 595 string str = NULL_STR; variable 609 string str = "world"; variable 639 string str = "woRld"; variable [all …]
|
| D | utils_rwlock_test.cpp | 36 void WriteStr(const string& str) in WriteStr() 47 void ReadStr(string& str) in ReadStr()
|
| /commonlibrary/ets_utils/js_api_module/buffer/ |
| D | js_buffer.cpp | 299 uint8_t *str = const_cast<uint8_t *>(reinterpret_cast<const uint8_t *>(value.data())); in WriteString() local 306 uint8_t *str = reinterpret_cast<uint8_t *>(const_cast<char *>(value.c_str())); in WriteString() local 318 uint8_t *str = reinterpret_cast<uint8_t *>(const_cast<char *>(value.c_str())); in WriteStringLoop() local 331 string str = ""; in Utf16StrToStr() local 345 string str = Utf16StrToStr(value); in WriteString() local 351 string str = Utf16StrToStr(value); in WriteStringLoop() local 410 string str = ""; in GetString() local 439 string str = GetString(value, encodingType); in FillString() local 452 string str = GetString(value, encodingType); in WriteString() local
|
| D | native_module_buffer.cpp | 59 string str = ""; in GetStringUtf8() local 74 string str = ""; in GetStringASCII() local 92 static napi_value FromStringUtf8(napi_env env, napi_value thisVar, napi_value str) in FromStringUtf8() 102 static napi_value FromStringASCII(napi_env env, napi_value thisVar, napi_value str, uint32_t size) in FromStringASCII() 119 static napi_value FromStringUtf16LE(napi_env env, napi_value thisVar, napi_value str) in FromStringUtf16LE() 131 static std::string GetStringBase64(napi_env env, napi_value str, EncodingType type) in GetStringBase64() 138 static napi_value FromStringBase64(napi_env env, napi_value thisVar, napi_value str, uint32_t size,… in FromStringBase64() 148 static std::string GetStringHex(napi_env env, napi_value str) in GetStringHex() 155 static napi_value FromStringHex(napi_env env, napi_value thisVar, napi_value str) in FromStringHex() 828 std::string str = buf->ToBase64(start, length); in ToBase64() local [all …]
|
| /commonlibrary/c_utils/base/test/benchmarktest/file_benchmark_test/ |
| D | file_benchmark_test.cpp | 87 string str; in BENCHMARK_F() local 114 string str; in BENCHMARK_F() local 132 string str; in BENCHMARK_F() local 152 string str; in BENCHMARK_F() local 172 string str; in BENCHMARK_F() local 192 string str; in BENCHMARK_F() local 723 string str = "abc"; in BENCHMARK_F() local 740 string str = NULL_STR; in BENCHMARK_F() local 759 string str = "world"; in BENCHMARK_F() local 800 string str = "woRld"; in BENCHMARK_F() local [all …]
|
| /commonlibrary/rust/ylong_http/ylong_http/src/h3/ |
| D | pseudo.rs | 57 pub fn authority(&self) -> Option<&str> { in authority() 77 pub fn method(&self) -> Option<&str> { in method() 97 pub fn path(&self) -> Option<&str> { in path() 117 pub fn scheme(&self) -> Option<&str> { in scheme() 137 pub fn status(&self) -> Option<&str> { in status()
|
| /commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
| D | pseudo.rs | 57 pub fn authority(&self) -> Option<&str> { in authority() 77 pub fn method(&self) -> Option<&str> { in method() 97 pub fn path(&self) -> Option<&str> { in path() 117 pub fn scheme(&self) -> Option<&str> { in scheme() 137 pub fn status(&self) -> Option<&str> { in status()
|
| /commonlibrary/ets_utils/js_api_module/buffer/test/ |
| D | test_napi.cpp | 491 std::string str = "1234567890"; variable 506 std::string str = "123456789"; variable 527 std::string str = "123456789"; variable 548 std::string str = "123456789"; variable 569 std::string str = "123456789"; variable 591 std::string str = "12345678"; variable 619 std::string str = "1234567890"; variable 642 std::string str = "1234567890"; variable
|
| /commonlibrary/rust/ylong_http/ylong_http/src/body/mime/ |
| D | mimetype.rs | 99 let str = path in from_path() localVariable 116 pub fn as_str(&self) -> &str { in as_str() 132 pub fn main_type(&self) -> &str { in main_type() 148 pub fn sub_type(&self) -> &str { in sub_type()
|
| /commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/ |
| D | ylong_runtime_async_benchmark.rs | 22 async fn run_client(addr: &str) { in run_client() 38 async fn run_server(addr: &str) { in run_server()
|
| /commonlibrary/c_utils/base/test/unittest/rust/ |
| D | rust_utils_file_test.rs | 50 let mut str = String::new(); in test_load_string_from_file_001() localVariable 68 let mut str = String::new(); in test_load_string_from_file_002() localVariable 76 let mut str = String::new(); in test_load_string_from_file_003() localVariable 87 let mut str = String::new(); in test_load_string_from_file_004() localVariable 98 let mut str = String::new(); in test_load_string_from_file_005() localVariable 109 let mut str = String::new(); in test_load_string_from_file_006() localVariable 544 let str = "abc".to_string(); in test_count_str_in_file_001() localVariable 553 let str = NULL_STR.to_string(); in test_count_str_in_file_002() localVariable
|
| /commonlibrary/ets_utils/js_util_module/util/test/ |
| D | test_util.cpp | 519 std::string str = "utf-8"; variable 555 std::string str = "GB18030"; variable 591 std::string str = "gb18030"; variable 626 std::string str = "utf-8"; variable 662 std::string str = "utf-8"; variable 684 std::string str = "utf-8"; variable 706 std::string str = "utf-8"; variable 728 std::string str = "utf-8"; variable 750 std::string str = "utf-8"; variable 772 std::string str = "utf-8"; variable [all …]
|
| /commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/ |
| D | mod.rs | 193 let str = value.to_vec(); in get_content_type_boundary() localVariable 194 let str = trim_ascii(&str); in get_content_type_boundary() localVariable
|
| /commonlibrary/c_utils/base/test/benchmarktest/rwlock_benchmark_test/ |
| D | rwlock_benchmark_test.cpp | 59 void WriteStr(const string& str) in WriteStr() 71 void ReadStr(string& str) in ReadStr()
|
| /commonlibrary/memory_utils/libpurgeablemem/test/ |
| D | purgeableashmem_test.cpp | 63 char *str = static_cast<char *>(data); in Build() local 94 char *str = static_cast<char *>(data); in Build() local 125 char *str = static_cast<char *>(data); in Build() local 182 char *str = static_cast<char *>(dataPtr); variable
|
| D | purgeable_c_test.cpp | 180 char *str = (char *)data; in InitData() local 201 char *str = (char *)data; in ModifyData() local
|
| /commonlibrary/rust/ylong_http/ylong_http/src/ |
| D | version.rs | 59 pub fn as_str(&self) -> &str { in as_str()
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
| D | proxy.rs | 78 pub(crate) fn basic_auth(&mut self, username: &str, password: &str) { in basic_auth() 92 pub(crate) fn no_proxy(&mut self, no_proxy: &str) { in no_proxy() method
|
| /commonlibrary/rust/ylong_http/ylong_http/src/request/ |
| D | uri.rs | 550 pub fn as_str(&self) -> &str { in as_str() 739 pub fn as_str(&self) -> &str { in as_str() 768 pub fn as_str(&self) -> &str { in as_str() 826 pub fn as_str(&self) -> &str { in as_str() 879 pub fn as_str(&self) -> &str { in as_str() 948 fn bytes_to_str(bytes: &[u8]) -> &str { in bytes_to_str()
|