SYMBOL INDEX (299 symbols across 34 files) FILE: devutils/_lint_tests.py function _read_text (line 14) | def _read_text(path): function _read_patch (line 19) | def _read_patch(path): function _init (line 23) | def _init(root): function a_all_patches_in_series_exist (line 30) | def a_all_patches_in_series_exist(): function a_all_patches_in_tree_are_in_series (line 36) | def a_all_patches_in_tree_are_in_series(): function b_all_patches_have_meaningful_contents (line 45) | def b_all_patches_have_meaningful_contents(): function b_all_patches_have_no_trailing_whitespace (line 51) | def b_all_patches_have_no_trailing_whitespace(): function c_all_new_files_have_license_header (line 61) | def c_all_new_files_have_license_header(): function c_all_new_headers_have_correct_guard (line 76) | def c_all_new_headers_have_correct_guard(): function d_no_whitespace_only_changes (line 120) | def d_no_whitespace_only_changes(): FILE: devutils/check_downloads_ini.py function check_downloads_ini (line 28) | def check_downloads_ini(downloads_ini_iter): function main (line 43) | 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 28) | def check_gn_flags(gn_flags_path): function main (line 60) | def main(): FILE: devutils/check_patch_files.py function _read_series_file (line 34) | def _read_series_file(patches_dir, series_file, join_dir=False): function check_patch_readability (line 50) | def check_patch_readability(patches_dir, series_path=Path('series')): function check_unused_patches (line 73) | def check_unused_patches(patches_dir, series_path=Path('series')): function check_series_duplicates (line 98) | def check_series_duplicates(patches_dir, series_path=Path('series')): function main (line 115) | def main(): FILE: devutils/lint.py function parse_args (line 16) | def parse_args(): function main (line 23) | def main(): FILE: devutils/run_devutils_pylint.py function main (line 15) | def main(): FILE: devutils/run_other_pylint.py class ChangeDir (line 17) | class ChangeDir: method __init__ (line 22) | def __init__(self, path): method __enter__ (line 26) | def __enter__(self): method __exit__ (line 29) | def __exit__(self, *_): function run_pylint (line 33) | def run_pylint(module_path, pylint_options, ignore_prefixes=tuple()): function main (line 67) | 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 24) | def test_check_series_duplicates(): FILE: devutils/tests/test_validate_patches.py function test_test_patches (line 24) | def test_test_patches(): 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 146) | class UnusedPatterns: #pylint: disable=too-few-public-methods method __init__ (line 152) | def __init__(self): method log_unused (line 158) | def log_unused(self, error=True): function _is_binary (line 174) | def _is_binary(bytes_data): function _dir_empty (line 182) | def _dir_empty(path): function should_prune (line 195) | def should_prune(path, relative_path, used_pep_set, used_pip_set): function _check_regex_match (line 223) | def _check_regex_match(file_path, search_regex): function should_domain_substitute (line 244) | def should_domain_substitute(path, relative_path, search_regex, used_dep... function compute_lists_proc (line 269) | def compute_lists_proc(path, source_tree, search_regex): function compute_lists (line 307) | def compute_lists(source_tree, search_regex, processes): # pylint: disab... function main (line 352) | def main(args_list=None): FILE: devutils/update_platform_patches.py function merge_platform_patches (line 29) | def merge_platform_patches(platform_patches_dir, prepend_patches_dir): function _dir_empty (line 53) | def _dir_empty(path): function _rename_files_with_dirs (line 66) | def _rename_files_with_dirs(root_dir, source_dir, sorted_file_iter): function unmerge_platform_patches (line 90) | def unmerge_platform_patches(platform_patches_dir, prepend_patches_dir): function main (line 160) | def main(): FILE: devutils/validate_config.py function main (line 34) | def main(): FILE: devutils/validate_patches.py class _VerboseRetry (line 41) | class _VerboseRetry(urllib3.util.Retry): method sleep_for_retry (line 44) | def sleep_for_retry(self, response=None): method _sleep_backoff (line 58) | def _sleep_backoff(self): function _get_requests_session (line 63) | def _get_requests_session(): function _get_requests_session (line 77) | def _get_requests_session(): class _PatchValidationError (line 86) | class _PatchValidationError(Exception): class _UnexpectedSyntaxError (line 90) | class _UnexpectedSyntaxError(RuntimeError): class _NotInRepoError (line 94) | class _NotInRepoError(RuntimeError): class _DepsNodeVisitor (line 98) | class _DepsNodeVisitor(ast.NodeVisitor): method visit_Call (line 103) | def visit_Call(self, node): #pylint: disable=invalid-name method generic_visit (line 109) | def generic_visit(self, node): function _validate_deps (line 118) | def _validate_deps(deps_text): function _deps_var (line 128) | def _deps_var(deps_globals): function _parse_deps (line 138) | def _parse_deps(deps_text): function _download_googlesource_file (line 146) | def _download_googlesource_file(download_session, repo_url, version, rel... function _get_dep_value_url (line 163) | def _get_dep_value_url(deps_globals, dep_value): function _process_deps_entries (line 183) | def _process_deps_entries(deps_globals, child_deps_tree, child_path, dep... function _get_child_deps_tree (line 211) | def _get_child_deps_tree(download_session, current_deps_tree, child_path... function _get_last_chromium_modification (line 225) | 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 456) | def _retrieve_local_files(file_iter, source_dir): function _modify_file_lines (line 486) | def _modify_file_lines(patched_file, file_lines): function _apply_file_unidiff (line 518) | def _apply_file_unidiff(patched_file, files_under_test): function _dry_check_patched_file (line 537) | def _dry_check_patched_file(patched_file, orig_file_content): function _test_patches (line 553) | def _test_patches(series_iter, patch_cache, files_under_test): function _load_all_patches (line 589) | def _load_all_patches(series_iter, patches_dir): function _get_required_files (line 610) | def _get_required_files(patch_cache): function _get_files_under_test (line 623) | def _get_files_under_test(args, required_files, parser): function main (line 643) | def main(): FILE: utils/_common.py class PlatformEnum (line 28) | class PlatformEnum(enum.Enum): class ExtractorEnum (line 34) | class ExtractorEnum: #pylint: disable=too-few-public-methods class SetLogLevel (line 42) | class SetLogLevel(argparse.Action): #pylint: disable=too-few-public-methods method __init__ (line 45) | def __init__(self, option_strings, dest, nargs=None, **kwargs): method __call__ (line 48) | def __call__(self, parser, namespace, value, option_string=None): function get_logger (line 68) | def get_logger(initial_level=logging.INFO): function set_logging_level (line 88) | def set_logging_level(logging_level): function get_running_platform (line 104) | def get_running_platform(): function get_chromium_version (line 118) | def get_chromium_version(): function parse_series (line 123) | def parse_series(series_path): function add_common_params (line 140) | def add_common_params(parser): FILE: utils/_extraction.py function _find_7z_by_registry (line 30) | def _find_7z_by_registry(): function _find_winrar_by_registry (line 48) | def _find_winrar_by_registry(): function _find_extractor_by_cmd (line 66) | def _find_extractor_by_cmd(extractor_cmd): function _process_relative_to (line 75) | def _process_relative_to(unpack_root, relative_to): function _extract_tar_with_7z (line 97) | def _extract_tar_with_7z(binary, archive_path, output_dir, relative_to): function _extract_tar_with_tar (line 120) | def _extract_tar_with_tar(binary, archive_path, output_dir, relative_to): function _extract_tar_with_winrar (line 135) | def _extract_tar_with_winrar(binary, archive_path, output_dir, relative_... function _extract_tar_with_python (line 148) | def _extract_tar_with_python(archive_path, output_dir, relative_to): function extract_tar_file (line 199) | def extract_tar_file(archive_path, output_dir, relative_to, extractors=N... function extract_zip_file (line 249) | def extract_zip_file(archive_path, output_dir, relative_to, extractors=N... function extract_with_7z (line 272) | def extract_with_7z(archive_path, output_dir, relative_to, extractors=No... function extract_with_winrar (line 312) | def extract_with_winrar(archive_path, output_dir, relative_to, extractor... FILE: utils/clone.py function clone (line 48) | def clone(args): # pylint: disable=too-many-branches, too-many-locals, t... function main (line 254) | def main(): FILE: utils/domain_substitution.py class DomainRegexList (line 43) | class DomainRegexList: method __init__ (line 50) | def __init__(self, path): method _compile_regex (line 56) | def _compile_regex(self, line): method regex_pairs (line 62) | def regex_pairs(self): method search_regex (line 71) | def search_regex(self): function _substitute_path (line 82) | def _substitute_path(path, regex_iter): function _validate_file_index (line 127) | def _validate_file_index(index_file, resolved_tree, cache_index_files): function _update_timestamp (line 165) | def _update_timestamp(path: os.PathLike, set_new: bool) -> None: function apply_substitution (line 186) | def apply_substitution(regex_path, files_path, source_tree, domainsub_ca... function revert_substitution (line 250) | def revert_substitution(domainsub_cache, source_tree): function _callback (line 319) | def _callback(args): function main (line 327) | def main(): FILE: utils/downloads.py class HashesURLEnum (line 38) | class HashesURLEnum(str, enum.Enum): class HashMismatchError (line 43) | class HashMismatchError(BaseException): class DownloadInfo (line 47) | class DownloadInfo: #pylint: disable=too-few-public-methods method _is_hash_url (line 63) | def _is_hash_url(value): class _DownloadsProperties (line 81) | class _DownloadsProperties: #pylint: disable=too-few-public-methods method __init__ (line 83) | def __init__(self, section_dict, passthrough_properties, hashes): method has_hash_url (line 88) | def has_hash_url(self): method __getattr__ (line 94) | def __getattr__(self, name): method _parse_data (line 108) | def _parse_data(self, path): method __init__ (line 132) | def __init__(self, ini_paths): method __getitem__ (line 138) | def __getitem__(self, section): method __contains__ (line 146) | def __contains__(self, item): method __iter__ (line 152) | def __iter__(self): method properties_iter (line 156) | def properties_iter(self): method check_sections_exist (line 161) | def check_sections_exist(self, section_names): class _UrlRetrieveReportHook (line 170) | class _UrlRetrieveReportHook: #pylint: disable=too-few-public-methods method __init__ (line 173) | def __init__(self): method __call__ (line 177) | def __call__(self, block_count, block_size, total_size): function _download_via_urllib (line 200) | def _download_via_urllib(url, file_path, show_progress, disable_ssl_veri... function _download_if_needed (line 218) | def _download_if_needed(file_path, url, show_progress, disable_ssl_verif... function _chromium_hashes_generator (line 252) | def _chromium_hashes_generator(hashes_path): function _get_hash_pairs (line 262) | def _get_hash_pairs(download_properties, cache_dir): function retrieve_downloads (line 275) | def retrieve_downloads(download_info, function check_downloads (line 312) | def check_downloads(download_info, cache_dir, components, chunk_bytes=26... function get_extractor_for (line 343) | def get_extractor_for(filename): function unpack_downloads (line 351) | def unpack_downloads(download_info, cache_dir, components, output_dir, e... function _add_common_args (line 395) | def _add_common_args(parser): function _retrieve_callback (line 409) | def _retrieve_callback(args): function _unpack_callback (line 421) | def _unpack_callback(args): function main (line 435) | def main(): FILE: utils/filescfg.py function filescfg_generator (line 22) | def filescfg_generator(cfg_path, build_outputs, cpu_arch, excluded_files... function _get_archive_writer (line 52) | def _get_archive_writer(output_path, timestamp=None): function create_archive (line 120) | def create_archive(file_iter, include_iter, build_outputs, output_path, ... function _files_generator_by_args (line 137) | def _files_generator_by_args(args): function _list_callback (line 152) | def _list_callback(args): function _archive_callback (line 157) | def _archive_callback(args): function main (line 165) | def main(): FILE: utils/generate_resources.py function scale_image (line 17) | def scale_image(input_file, size, output_path): function generate_resources (line 32) | def generate_resources(resource_list, resource_dir): function main (line 62) | def main(): FILE: utils/helium_version.py function get_version_part (line 17) | def get_version_part(path): function append_version (line 26) | def append_version(file, name, version): function check_existing_version (line 31) | def check_existing_version(path): function parse_args (line 38) | def parse_args(): function get_version_parts (line 49) | def get_version_parts(tree, platform_tree): function main (line 67) | def main(): FILE: utils/make_domsub_script.py function make_domain_substitution_script (line 17) | def make_domain_substitution_script(regex_path, files_path, backup_type,... function _callback (line 97) | def _callback(args): function main (line 102) | def main(): FILE: utils/name_substitution.py function replacement_sanity (line 21) | def replacement_sanity(): function parse_args (line 42) | def parse_args(): function get_substitutable_files (line 62) | def get_substitutable_files(tree, exts): function substitute_grit_file (line 93) | def substitute_grit_file(args): function substitute_xtb_file (line 120) | def substitute_xtb_file(args): function do_unsubstitution (line 147) | def do_unsubstitution(tree, tarpath): function maybe_make_tarball (line 154) | def maybe_make_tarball(tar_path, modified_files): function do_substitution (line 169) | def do_substitution(tree, tarpath, workers, dry_run): function main (line 194) | def main(): FILE: utils/name_substitution_utils.py function add_grit_to_path (line 29) | def add_grit_to_path(tree): function strip_message_text_for_fp (line 37) | def strip_message_text_for_fp(text): function compute_fp (line 51) | def compute_fp(message): function replace_text (line 70) | def replace_text(text): function should_skip_tail (line 81) | def should_skip_tail(elem): function replace_grit_message (line 90) | def replace_grit_message(msg): function replace_xtb_translation (line 113) | def replace_xtb_translation(msg, fp_map): function get_parser (line 127) | def get_parser(): function replace_grit_tree (line 132) | def replace_grit_tree(text): function dedup_translations_in_place (line 147) | def dedup_translations_in_place(translation, seen): function replace_xtb_tree (line 165) | def replace_xtb_tree(text, fp_map): function merge_fp_maps (line 182) | def merge_fp_maps(results): 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 81) | def dry_run_check(patch_path, tree_path, patch_bin_path=None): function apply_patches (line 113) | def apply_patches(patch_path_iter, tree_path, reverse=False, patch_bin_p... function generate_patches_from_series (line 153) | def generate_patches_from_series(patches_dir, resolve=False): function _copy_files (line 162) | def _copy_files(path_iter, source, destination): function merge_patches (line 169) | def merge_patches(source_iter, destination, prepend=False): function _apply_callback (line 200) | def _apply_callback(args, parser_error): function _merge_callback (line 220) | def _merge_callback(args, _): function main (line 224) | def main(): FILE: utils/prune_binaries.py function prune_files (line 153) | def prune_files(unpack_root, prune_list): function _prune_path (line 175) | def _prune_path(path, unpack_root=None): function prune_dirs (line 200) | def prune_dirs(unpack_root, keep_contingent_paths, sysroot): function _callback (line 222) | def _callback(args): function main (line 241) | def main(): FILE: utils/replace_resources.py function copy_resources (line 15) | def copy_resources(resource_list, resource_dir, chromium_dir): function main (line 38) | 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: 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: 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: 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: 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 341) | class Optional(Schema): method __init__ (line 345) | def __init__(self, *args, **kwargs): method __hash__ (line 358) | def __hash__(self): method __eq__ (line 361) | def __eq__(self, other): class Forbidden (line 368) | class Forbidden(Schema): method __init__ (line 369) | def __init__(self, *args, **kwargs): class Const (line 374) | class Const(Schema): method validate (line 375) | def validate(self, data): function _callable_str (line 380) | def _callable_str(callable_):