Home
last modified time | relevance | path

Searched refs:new_string (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_json/src/
H A Dvalue.rs168 pub fn new_string(str: &str) -> Self { in new_string() method
1026 let value = JsonValue::new_string("Hello"); in ut_json_value_fmt()
1070 assert!(!JsonValue::new_string("hello").is_null()); in ut_json_value_is_null()
1090 assert!(!JsonValue::new_string("hello").is_true()); in ut_json_value_is_true()
1110 assert!(!JsonValue::new_string("hello").is_false()); in ut_json_value_is_false()
1150 assert!(!JsonValue::new_string("hello").is_number()); in ut_json_value_is_number()
1170 assert!(JsonValue::new_string("hello").is_string()); in ut_json_value_is_string()
1190 assert!(!JsonValue::new_string("hello").is_array()); in ut_json_value_is_array()
1643 JsonValue::new_string("string"), in ut_json_value_eq()
1644 JsonValue::new_string("string") in ut_json_value_eq()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_model_enable_operation.py220 def _replace_operation(self, new_string, old_string, file_path): argument
221 new_demo_config = Template(new_string).substitute(
252 self._replace_operation(new_string=new_template_string,
272 self._replace_operation(new_string=new_template_string,
/ohos5.0/commonlibrary/rust/ylong_json/src/value/object/
H A Dvec.rs299 Some(&mut (String::from("key1"), JsonValue::new_string("value1"))) in ut_object_iter_mut()
318 Some(&mut JsonValue::new_string("value1")) in ut_object_get_mut()
H A Dlinked_list.rs351 Some(&mut (String::from("key1"), JsonValue::new_string("value1"))) in ut_object_iter_mut()
370 Some(&mut JsonValue::new_string("value1")) in ut_object_get_mut()
H A Dbtree.rs231 Some((&String::from("key1"), &mut JsonValue::new_string("value1"))) in ut_object_iter_mut()
/ohos5.0/commonlibrary/rust/ylong_json/src/value/
H A Dindex.rs423 Some(JsonValue::new_string("value1")) in ut_str_index_remove()
479 Some(JsonValue::new_string("value1")) in ut_string_index_remove()