Home
last modified time | relevance | path

Searched defs:str (Results 1 – 10 of 10) sorted by relevance

/tools/ng/
A Dutils.py17 def __init__(self, base_path: str = None):
20 def normalize_path(self, path: str) -> str:
43 def make_relative(self, path: str, base: str = None) -> str:
70 def split_path(self, path: str) -> List[str]:
95 def common_prefix(self, paths: List[str]) -> str:
169 def read_file(filepath: str, encoding: str = 'utf-8') -> str:
184 def write_file(filepath: str, content: str, encoding: str = 'utf-8') -> None:
202 def copy_file(src: str, dst: str) -> None:
220 def find_files(directory: str, pattern: str, recursive: bool = True) -> List[str]:
276 def compare_versions(v1: str, v2: str) -> int:
[all …]
A Dadapter.py21 def init_build_context(root_directory: str) -> BuildContext:
59 def load_rtconfig(config_file: str = 'rtconfig.h') -> Dict[str, Any]:
75 def DefineGroup(name: str, src: List[str], depend: Any = None, **kwargs) -> List:
123 def SrcRemove(src: List[str], remove: List[str]) -> None:
163 def GenerateProject(target: str, env, projects: List) -> None:
A Dtoolchain.py48 def get_compile_flags(self, cpu: str, fpu: str = None, float_abi: str = None) -> Dict[str, str]:
56 def _run_command(self, cmd: List[str]) -> Tuple[int, str, str]:
68 def __init__(self, prefix: str = ""):
116 def get_compile_flags(self, cpu: str, fpu: str = None, float_abi: str = None) -> Dict[str, str]:
228 def get_compile_flags(self, cpu: str, fpu: str = None, float_abi: str = None) -> Dict[str, str]:
308 def get_compile_flags(self, cpu: str, fpu: str = None, float_abi: str = None) -> Dict[str, str]:
365 def register_toolchain(self, name: str, toolchain: Toolchain) -> None:
369 def select_toolchain(self, name: str) -> Toolchain:
A Dconfig.py78 def parse_file(self, filepath: str) -> Dict[str, ConfigOption]:
96 def parse_content(self, content: str) -> Dict[str, ConfigOption]:
117 def _parse_line(self, line: str, line_number: int) -> None:
147 def _parse_value(self, value: str) -> tuple:
183 def load_from_file(self, filepath: str) -> None:
193 def get_option(self, name: str) -> Optional[ConfigOption]:
205 def get_value(self, name: str, default: Any = None) -> Any:
221 def get_dependency(self, depend: Union[str, List[str]]) -> bool:
251 def _check_single_dependency(self, name: str) -> bool:
A Denvironment.py49 def DefineGroup(env, name: str, src: List[str], depend: Any = None, **kwargs) -> List:
130 def SrcRemove(env, src: List[str], remove: List[str]) -> None:
167 def BuildPackage(env, package_path: str = None) -> List:
225 def Glob(env, pattern: str) -> List[str]:
A Dgenerator.py40 def generate(self, context, project_info: Dict[str, Any]) -> bool:
67 def _copy_template(self, template_name: str, output_name: str = None) -> str:
98 def generate(self, context, project_info: Dict[str, Any]) -> bool:
127 def _generate_cpp_properties(self, vscode_dir: str, context, project_info: Dict) -> None:
158 def _generate_tasks(self, vscode_dir: str, context) -> None:
192 def _generate_launch(self, vscode_dir: str, context) -> None:
217 def _generate_settings(self, vscode_dir: str) -> None:
241 def generate(self, context, project_info: Dict[str, Any]) -> bool:
355 def register(self, name: str, generator_class: type) -> None:
359 def create_generator(self, name: str, config: GeneratorConfig) -> ProjectGenerator:
A Dcore.py32 def __init__(self, root_directory: str):
101 def load_configuration(self, config_file: str = 'rtconfig.h') -> None:
A Dproject.py172 def get_group(self, name: str) -> Optional[ProjectGroup]:
188 def get_groups_by_dependency(self, dependency: str) -> List[ProjectGroup]:
/tools/ci/
A Dgit_diff_show.py21 …def __init__(self, path: str, status: str, size_change: int = 0, old_size: int = 0, new_size: int …
39 def __init__(self, target_branch: str):
121 def get_file_size(self, path: str, ref: str) -> int:
157 def filter_bsp_config(file_diffs: List[FileDiff], config_path: str):
286 def generate_report(file_diffs: List[FileDiff], target_branch: str):
/tools/
A Dgcc.py203 def GCCResult(rtconfig, str): argument

Completed in 17 milliseconds