SYMBOL INDEX (245 symbols across 25 files) FILE: devutils/check_downloads_ini.py function check_downloads_ini (line 27) | def check_downloads_ini(downloads_ini_iter): function main (line 42) | def main(): FILE: devutils/check_files_exist.py function main (line 17) | def main(): FILE: devutils/check_gn_flags.py function check_gn_flags (line 27) | def check_gn_flags(gn_flags_path): function main (line 59) | def main(): FILE: devutils/check_patch_files.py function _read_series_file (line 33) | def _read_series_file(patches_dir, series_file, join_dir=False): function check_patch_readability (line 49) | def check_patch_readability(patches_dir, series_path=Path('series')): function check_unused_patches (line 72) | def check_unused_patches(patches_dir, series_path=Path('series')): function check_series_duplicates (line 97) | def check_series_duplicates(patches_dir, series_path=Path('series')): function main (line 114) | def main(): FILE: devutils/run_devutils_pylint.py function main (line 15) | def main(): FILE: devutils/run_other_pylint.py class ChangeDir (line 16) | class ChangeDir: method __init__ (line 21) | def __init__(self, path): method __enter__ (line 25) | def __enter__(self): method __exit__ (line 28) | def __exit__(self, *_): function run_pylint (line 32) | def run_pylint(module_path, pylint_options, ignore_prefixes=tuple()): function main (line 66) | def main(): FILE: devutils/run_utils_pylint.py function main (line 15) | def main(): FILE: devutils/tests/test_check_patch_files.py function test_check_series_duplicates (line 14) | def test_check_series_duplicates(): FILE: devutils/tests/test_validate_patches.py function test_test_patches (line 20) | def test_test_patches(caplog): FILE: devutils/third_party/unidiff/errors.py class UnidiffParseError (line 30) | class UnidiffParseError(Exception): FILE: devutils/third_party/unidiff/patch.py function implements_to_string (line 56) | def implements_to_string(cls): class Line (line 70) | class Line(object): method __init__ (line 73) | def __init__(self, value, line_type, method __repr__ (line 82) | def __repr__(self): method __str__ (line 85) | def __str__(self): method __eq__ (line 88) | def __eq__(self, other): method is_added (line 96) | def is_added(self): method is_removed (line 100) | def is_removed(self): method is_context (line 104) | def is_context(self): class PatchInfo (line 109) | class PatchInfo(list): method __repr__ (line 117) | def __repr__(self): method __str__ (line 121) | def __str__(self): class Hunk (line 126) | class Hunk(list): method __init__ (line 129) | def __init__(self, src_start=0, src_len=0, tgt_start=0, tgt_len=0, method __repr__ (line 145) | def __repr__(self): method __str__ (line 153) | def __str__(self): method append (line 162) | def append(self, line): method is_valid (line 176) | def is_valid(self): method source_lines (line 181) | def source_lines(self): method target_lines (line 185) | def target_lines(self): class PatchedFile (line 190) | class PatchedFile(list): method __init__ (line 193) | def __init__(self, patch_info=None, source='', target='', method __repr__ (line 202) | def __repr__(self): method __str__ (line 205) | def __str__(self): method _parse_hunk (line 217) | def _parse_hunk(self, header, diff, encoding): method _add_no_newline_marker_to_last_hunk (line 281) | def _add_no_newline_marker_to_last_hunk(self): method _append_trailing_empty_line (line 289) | def _append_trailing_empty_line(self): method path (line 296) | def path(self): method added (line 312) | def added(self): method removed (line 317) | def removed(self): method is_added_file (line 322) | def is_added_file(self): method is_removed_file (line 328) | def is_removed_file(self): method is_modified_file (line 334) | def is_modified_file(self): class PatchSet (line 340) | class PatchSet(list): method __init__ (line 343) | def __init__(self, f, encoding=None): method __repr__ (line 355) | def __repr__(self): method __str__ (line 358) | def __str__(self): method _parse (line 361) | def _parse(self, diff, encoding): method from_filename (line 422) | def from_filename(cls, filename, encoding=DEFAULT_ENCODING, errors=None): method _convert_string (line 429) | def _convert_string(data, encoding=None, errors='strict'): method from_string (line 436) | def from_string(cls, data, encoding=None, errors='strict'): method added_files (line 441) | def added_files(self): method removed_files (line 446) | def removed_files(self): method modified_files (line 451) | def modified_files(self): method added (line 456) | def added(self): method removed (line 461) | def removed(self): FILE: devutils/update_lists.py class UnusedPatterns (line 115) | class UnusedPatterns: #pylint: disable=too-few-public-methods method __init__ (line 121) | def __init__(self): method log_unused (line 127) | def log_unused(self): function _is_binary (line 142) | def _is_binary(bytes_data): function _dir_empty (line 150) | def _dir_empty(path): function should_prune (line 163) | def should_prune(path, relative_path, unused_patterns): function _check_regex_match (line 192) | def _check_regex_match(file_path, search_regex): function should_domain_substitute (line 213) | def should_domain_substitute(path, relative_path, search_regex, unused_p... function compute_lists (line 234) | def compute_lists(source_tree, search_regex): function main (line 288) | def main(args_list=None): FILE: devutils/update_platform_patches.py function merge_platform_patches (line 28) | def merge_platform_patches(platform_patches_dir, prepend_patches_dir): function _dir_empty (line 52) | def _dir_empty(path): function _remove_files_with_dirs (line 65) | def _remove_files_with_dirs(root_dir, sorted_file_iter): function unmerge_platform_patches (line 87) | def unmerge_platform_patches(platform_patches_dir): function main (line 157) | def main(): FILE: devutils/validate_config.py function main (line 34) | def main(): FILE: devutils/validate_patches.py class _VerboseRetry (line 39) | class _VerboseRetry(urllib3.util.Retry): method sleep_for_retry (line 42) | def sleep_for_retry(self, response=None): method _sleep_backoff (line 56) | def _sleep_backoff(self): function _get_requests_session (line 61) | def _get_requests_session(): function _get_requests_session (line 76) | def _get_requests_session(): class _PatchValidationError (line 85) | class _PatchValidationError(Exception): class _UnexpectedSyntaxError (line 89) | class _UnexpectedSyntaxError(RuntimeError): class _NotInRepoError (line 93) | class _NotInRepoError(RuntimeError): class _DepsNodeVisitor (line 97) | class _DepsNodeVisitor(ast.NodeVisitor): method visit_Call (line 102) | def visit_Call(self, node): #pylint: disable=invalid-name method generic_visit (line 108) | def generic_visit(self, node): function _validate_deps (line 117) | def _validate_deps(deps_text): function _deps_var (line 127) | def _deps_var(deps_globals): function _parse_deps (line 137) | def _parse_deps(deps_text): function _download_googlesource_file (line 145) | def _download_googlesource_file(download_session, repo_url, version, rel... function _get_dep_value_url (line 162) | def _get_dep_value_url(deps_globals, dep_value): function _process_deps_entries (line 182) | def _process_deps_entries(deps_globals, child_deps_tree, child_path, dep... function _get_child_deps_tree (line 210) | def _get_child_deps_tree(download_session, current_deps_tree, child_path... function _get_last_chromium_modification (line 224) | def _get_last_chromium_modification(): function _get_gitiles_git_log_date (line 234) | def _get_gitiles_git_log_date(log_entry): function _get_gitiles_commit_before_date (line 239) | def _get_gitiles_commit_before_date(repo_url, target_branch, target_date... class _FallbackRepoManager (line 272) | class _FallbackRepoManager: method __init__ (line 277) | def __init__(self): method gn_version (line 281) | def gn_version(self): method get_fallback (line 298) | def get_fallback(self, current_relative_path, current_node, root_deps_... function _get_target_file_deps_node (line 318) | def _get_target_file_deps_node(download_session, root_deps_tree, target_... function _download_source_file (line 349) | def _download_source_file(download_session, root_deps_tree, fallback_rep... function _initialize_deps_tree (line 386) | def _initialize_deps_tree(): function _retrieve_remote_files (line 406) | def _retrieve_remote_files(file_iter): function _retrieve_local_files (line 455) | def _retrieve_local_files(file_iter, source_dir): function _modify_file_lines (line 485) | def _modify_file_lines(patched_file, file_lines): function _apply_file_unidiff (line 519) | def _apply_file_unidiff(patched_file, files_under_test): function _dry_check_patched_file (line 538) | def _dry_check_patched_file(patched_file, orig_file_content): function _test_patches (line 554) | def _test_patches(series_iter, patch_cache, files_under_test): function _load_all_patches (line 591) | def _load_all_patches(series_iter, patches_dir): function _get_required_files (line 611) | def _get_required_files(patch_cache): function _get_files_under_test (line 624) | def _get_files_under_test(args, required_files, parser): function main (line 644) | def main(): FILE: utils/_common.py class PlatformEnum (line 24) | class PlatformEnum(enum.Enum): class ExtractorEnum (line 30) | class ExtractorEnum: #pylint: disable=too-few-public-methods class SetLogLevel (line 37) | class SetLogLevel(argparse.Action): #pylint: disable=too-few-public-methods method __init__ (line 40) | def __init__(self, option_strings, dest, nargs=None, **kwargs): method __call__ (line 43) | def __call__(self, parser, namespace, value, option_string=None): function get_logger (line 63) | def get_logger(initial_level=logging.INFO): function set_logging_level (line 83) | def set_logging_level(logging_level): function get_running_platform (line 99) | def get_running_platform(): function get_chromium_version (line 113) | def get_chromium_version(): function parse_series (line 118) | def parse_series(series_path): function add_common_params (line 135) | def add_common_params(parser): FILE: utils/_extraction.py class ExtractionError (line 25) | class ExtractionError(BaseException): function _find_7z_by_registry (line 29) | def _find_7z_by_registry(): function _find_winrar_by_registry (line 49) | def _find_winrar_by_registry(): function _find_extractor_by_cmd (line 69) | def _find_extractor_by_cmd(extractor_cmd): function _process_relative_to (line 78) | def _process_relative_to(unpack_root, relative_to): function _extract_tar_with_7z (line 98) | def _extract_tar_with_7z(binary, archive_path, output_dir, relative_to): function _extract_tar_with_tar (line 121) | def _extract_tar_with_tar(binary, archive_path, output_dir, relative_to): function _extract_tar_with_winrar (line 136) | def _extract_tar_with_winrar(binary, archive_path, output_dir, relative_... function _extract_tar_with_python (line 149) | def _extract_tar_with_python(archive_path, output_dir, relative_to): function extract_tar_file (line 200) | def extract_tar_file(archive_path, output_dir, relative_to, extractors=N... function extract_with_7z (line 251) | def extract_with_7z( function extract_with_winrar (line 297) | def extract_with_winrar( FILE: utils/domain_substitution.py class DomainRegexList (line 38) | class DomainRegexList: method __init__ (line 45) | def __init__(self, path): method _compile_regex (line 51) | def _compile_regex(self, line): method regex_pairs (line 57) | def regex_pairs(self): method search_regex (line 66) | def search_regex(self): function _substitute_path (line 77) | def _substitute_path(path, regex_iter): function _validate_file_index (line 118) | def _validate_file_index(index_file, resolved_tree, cache_index_files): function _update_timestamp (line 156) | def _update_timestamp(path: os.PathLike, set_new: bool) -> None: function apply_substitution (line 177) | def apply_substitution(regex_path, files_path, source_tree, domainsub_ca... function revert_substitution (line 239) | def revert_substitution(domainsub_cache, source_tree): function _callback (line 306) | def _callback(args): function main (line 314) | def main(): FILE: utils/downloads.py class HashesURLEnum (line 32) | class HashesURLEnum(str, enum.Enum): class HashMismatchError (line 37) | class HashMismatchError(BaseException): class DownloadInfo (line 41) | class DownloadInfo: #pylint: disable=too-few-public-methods method _is_hash_url (line 57) | def _is_hash_url(value): class _DownloadsProperties (line 75) | class _DownloadsProperties: #pylint: disable=too-few-public-methods method __init__ (line 76) | def __init__(self, section_dict, passthrough_properties, hashes): method has_hash_url (line 81) | def has_hash_url(self): method __getattr__ (line 87) | def __getattr__(self, name): method _parse_data (line 101) | def _parse_data(self, path): method __init__ (line 125) | def __init__(self, ini_paths): method __getitem__ (line 131) | def __getitem__(self, section): method __contains__ (line 139) | def __contains__(self, item): method __iter__ (line 145) | def __iter__(self): method properties_iter (line 149) | def properties_iter(self): class _UrlRetrieveReportHook (line 155) | class _UrlRetrieveReportHook: #pylint: disable=too-few-public-methods method __init__ (line 158) | def __init__(self): method __call__ (line 162) | def __call__(self, block_count, block_size, total_size): function _download_via_urllib (line 185) | def _download_via_urllib(url, file_path, show_progress, disable_ssl_veri... function _download_if_needed (line 204) | def _download_if_needed(file_path, url, show_progress, disable_ssl_verif... function _chromium_hashes_generator (line 245) | def _chromium_hashes_generator(hashes_path): function _get_hash_pairs (line 255) | def _get_hash_pairs(download_properties, cache_dir): function retrieve_downloads (line 268) | def retrieve_downloads(download_info, cache_dir, show_progress, disable_... function check_downloads (line 298) | def check_downloads(download_info, cache_dir): function unpack_downloads (line 319) | def unpack_downloads(download_info, cache_dir, output_dir, extractors=No... function _add_common_args (line 357) | def _add_common_args(parser): function _retrieve_callback (line 368) | def _retrieve_callback(args): function _unpack_callback (line 378) | def _unpack_callback(args): function main (line 387) | def main(): FILE: utils/filescfg.py function filescfg_generator (line 19) | def filescfg_generator(cfg_path, build_outputs, cpu_arch): function _get_archive_writer (line 46) | def _get_archive_writer(output_path): function create_archive (line 84) | def create_archive(file_iter, include_iter, build_outputs, output_path): function _files_generator_by_args (line 100) | def _files_generator_by_args(args): function _list_callback (line 115) | def _list_callback(args): function _archive_callback (line 120) | def _archive_callback(args): function main (line 129) | def main(): FILE: utils/patches.py function _find_patch_from_env (line 18) | def _find_patch_from_env(): function _find_patch_from_which (line 35) | def _find_patch_from_which(): function find_and_check_patch (line 43) | def find_and_check_patch(patch_bin_path=None): function dry_run_check (line 78) | def dry_run_check(patch_path, tree_path, patch_bin_path=None): function apply_patches (line 100) | def apply_patches(patch_path_iter, tree_path, reverse=False, patch_bin_p... function generate_patches_from_series (line 135) | def generate_patches_from_series(patches_dir, resolve=False): function _copy_files (line 144) | def _copy_files(path_iter, source, destination): function merge_patches (line 151) | def merge_patches(source_iter, destination, prepend=False): function _apply_callback (line 184) | def _apply_callback(args, parser_error): function _merge_callback (line 204) | def _merge_callback(args, _): function main (line 208) | def main(): FILE: utils/prune_binaries.py function prune_dir (line 15) | def prune_dir(unpack_root, prune_files): function _callback (line 32) | def _callback(args): function main (line 47) | def main(): FILE: utils/tests/test_domain_substitution.py function test_update_timestamp (line 14) | def test_update_timestamp(): FILE: utils/tests/test_patches.py function test_find_and_check_patch (line 16) | def test_find_and_check_patch(): function test_patch_from_which (line 27) | def test_patch_from_which(): function test_patch_from_env (line 32) | def test_patch_from_env(): FILE: utils/third_party/schema.py class SchemaError (line 17) | class SchemaError(Exception): method __init__ (line 20) | def __init__(self, autos, errors=None): method code (line 26) | def code(self): class SchemaWrongKeyError (line 46) | class SchemaWrongKeyError(SchemaError): class SchemaMissingKeyError (line 52) | class SchemaMissingKeyError(SchemaError): class SchemaForbiddenKeyError (line 58) | class SchemaForbiddenKeyError(SchemaError): class SchemaUnexpectedTypeError (line 64) | class SchemaUnexpectedTypeError(SchemaError): class And (line 70) | class And(object): method __init__ (line 74) | def __init__(self, *args, **kw): method __repr__ (line 82) | def __repr__(self): method validate (line 86) | def validate(self, data): class Or (line 100) | class Or(And): method validate (line 103) | def validate(self, data): class Regex (line 123) | class Regex(object): method __init__ (line 131) | def __init__(self, pattern_str, flags=0, error=None): method __repr__ (line 144) | def __repr__(self): method validate (line 149) | def validate(self, data): class Use (line 166) | class Use(object): method __init__ (line 171) | def __init__(self, callable_, error=None): method __repr__ (line 176) | def __repr__(self): method validate (line 179) | def validate(self, data): function _priority (line 196) | def _priority(s): class Schema (line 212) | class Schema(object): method __init__ (line 217) | def __init__(self, schema, error=None, ignore_extra_keys=False): method __repr__ (line 222) | def __repr__(self): method _dict_key_priority (line 226) | def _dict_key_priority(s): method validate (line 234) | def validate(self, data): class Optional (line 342) | class Optional(Schema): method __init__ (line 346) | def __init__(self, *args, **kwargs): method __hash__ (line 359) | def __hash__(self): method __eq__ (line 362) | def __eq__(self, other): class Forbidden (line 369) | class Forbidden(Schema): method __init__ (line 370) | def __init__(self, *args, **kwargs): class Const (line 375) | class Const(Schema): method validate (line 376) | def validate(self, data): function _callable_str (line 381) | def _callable_str(callable_):