Home
last modified time | relevance | path

Searched refs:string (Results 1 - 7 of 7) sorted by relevance

/build/tools/component_tools/static_check/bundle_check/
H A Dbundle_check_common.py24 def is_all_lower(string:str):
26 if not string:
28 for i in string:
34 def is_number(string:str) -> bool:
37 float(string)
43 def split_by_unit(string:str):
45 match = re.match(r'^[~]?(\d+)([a-zA-Z]*)$', string)
H A Dbundle_json_check.py187 def get_line_number(self, string) -> int:
194 if string in line:
366 # syscap string empty
/build/rust/tests/test_cxx_rust/src/
H A Dclient_blobstore.cpp19 #include <string>
33 std::string data;
34 std::set<std::string> tags;
44 std::string contents; in put_buf()
59 auto res = std::hash<std::string> {} (contents); in put_buf()
/build/rust/tests/test_cxx/
H A Dmain.cpp25 std::cout << std::string(r_return_rust_string()) << std::endl; in main()
/build/tools/component_tools/
H A Dgenerate_kconfig.py26 string "{}"\n\
31 string "feature"\n\
/build/
H A Dgn_helpers.py39 raise GNException("Trying to print a string with a newline in it.")
61 raise GNException("Dictionary key is not a string.")
72 """Converts the input string from a GN serialized value to Python values.
93 If you just pass a string on the command line to your Python script, or use
94 string interpolation on a string variable, the strings will not be quoted:
99 The unquoted asdf string will not be valid input to this function, which
101 use the Python string literal directly.
104 using string interpolation on a list (as in the top example) the embedded
113 """Converts a string wit
[all...]
/build/ohos/notice/
H A Dmerge_notice_files.py83 def write_file(file: str, string: str):
84 print(string, file=file)

Completed in 5 milliseconds