def _add_flag_aliases(estr_to_file, added, skipped, missing):
  for src_name, dst_name in _FLAG_ALIASES.items():
    src_estr = _flag_name_to_estr(src_name)
    src_cps = [ord(cp) for cp in src_estr]
    dst_estr = _flag_name_to_estr(dst_name)
    if src_estr in estr_to_file:
      skipped.append(src_cps)
      continue
    fname = estr_to_file.get(dst_estr)
    if not fname:
      missing.append(src_cps)
      continue
    added.append(src_cps)
    estr_to_file[src_estr] = fname
dataset/ETHPy150Open googlei18n/nototools/nototools/generate_emoji_name_data.py/_add_flag_aliases/original