Lines Matching refs:str

68 def escape_quotes(s: str):
73 def file_base_name(path: str):
77 def pkg_to_crate_name(s: str):
81 def get_base_name(path: str):
90 def get_designated_pkg_info(lines: list, designated: str):
104 def is_build_script(name: str):
109 def is_dependent_path(path: str):
115 # remove quotes around str
128 def short_out_name(pkg: str, s: str):
136 def __init__(self, runner, outfile_name: str):
176 def write(self, s: str):
180 def parse_rustc(self, line_num: int, line: str):
278 def deal_cfg(self, arg: str):
288 def add_ignore_options_flag(self, flag: str):
299 def deal_extern(self, arg: str):
304 def set_root_pkg_name(self, arg: str):
314 def deal_static_and_dylib(self, arg: str):
322 def set_main_src(self, arg: str):
457 def decide_one_module_type(self, crate_type: str):
468 def merge_crate(self, other, outfile_name: str):
581 self.write('\n// Line ' + str(self.line_num) + ' ' + self.line)
583 def dump_skip_crate(self, kind: str):
622 def dump_one_gn_module(self, crate_type: str):
632 def dump_gn_first_properties(self, crate_type: str):
736 def dump_gn_property_list(self, name: str, fmt, values):
752 def get_rust_lib(self, lib_name: str):
846 def deal_cargo_cmd(self, cargo_out: str):
863 def run_cargo_cmd(self, cargo_cmd: str, cargo_out: str):
901 def parse(self, infile: str, outfile_name: str):
925 def add_empty_test(self, name: str):
931 def add_deps_libname_map(self, line: str):
936 def parse_cargo_out(self, infile: str, outfile_name: str):
976 def assert_empty_rustc_line(self, line: str):
982 def append_to_gn(self, line: str):
988 def init_gn_file(self, name: str):
1000 def add_error_infos(self, in_tests: str, line: str):
1006 def deal_rustc_command(self, line_num: str, rustc_line: str, line: str, outfile_name: str):
1059 argparser.add_argument('--cargo-bin', type=str,
1061 argparser.add_argument('--config', type=str,
1071 argparser.add_argument('--features', type=str,
1085 argparser.add_argument('--rustflags', type=str, help='passing flags to rustc')