/build/tools/component_tools/static_check/bundle_check/ |
D | bundle_check_online.py | 69 value = match.group(2) 72 return _check_line_name(value) 74 if len(value) == 0: 79 if os.path.isabs(value): 83 if not re.match(r'[a-z]+$', value): 86 return _check_line_rom_ram(key, value) 88 return _check_line_syscap(value) 90 if len(value) == 0: 95 def _check_line_name(value): argument 96 if not value: # value empty [all …]
|
/build/hb/util/ |
D | type_check_util.py | 31 def is_bool_type(value): argument 32 if isinstance(value, bool): 34 elif isinstance(value, str): 35 return value in ['true', 'True', 'false', 'False'] 40 def is_int_type(value): argument 41 if isinstance(value, int): 43 elif isinstance(value, str): 44 return value.isdigit() 49 def tile_list(value: list) -> list: 51 for entity in value:
|
D | product_util.py | 230 for part, value in all_parts.items(): 231 if "features" not in value: 233 for key, val in value["features"].items(): 252 for part, value in all_parts.items(): 253 if "features" not in value: 255 for key, val in value["features"].items():
|
/build/hb/resources/ |
D | config.py | 101 def component_type(self, value): argument 102 self._component_type = value 110 def target_os(self, value): argument 111 self._target_os = value 119 def target_cpu(self, value): argument 120 self._target_cpu = value 128 def version(self, value): argument 129 self._version = value 137 def compile_config(self, value): argument 138 self._compile_config = value [all …]
|
/build/tools/component_tools/ |
D | component_node.py | 35 def module_name(self, value): argument 36 self._module_name = value 43 def subsystem_name(self, value): argument 44 self._subsystem_name = value 51 def part_name(self, value): argument 52 self._part_name = value 59 def deps(self, value): argument 60 self._deps = value 67 def external_deps(self, value): argument 68 self._external_deps = value [all …]
|
/build/hb/containers/ |
D | arg.py | 64 def get_type(value: str): 65 if value == 'bool': 67 elif value == "int": 69 elif value == 'str': 71 elif value == "list": 73 elif value == 'dict': 75 elif value == 'subparsers': 96 def get_type(value: str): 97 if value == 'prebuild': 99 elif value == "preload": [all …]
|
/build/ |
D | gn_helpers.py | 30 def ToGNString(value, allow_dicts=True): argument 36 if isinstance(value, str): 37 if value.find('\n') >= 0: 40 value.replace('\\', '\\\\').replace('"', '\\"').replace('$', '\\$') + \ 43 if isinstance(value, str): 44 return ToGNString(value.encode('utf-8')) 46 if isinstance(value, bool): 47 if value: 51 if isinstance(value, list): 52 return '[ %s ]' % ', '.join(ToGNString(v) for v in value) [all …]
|
/build/hb/services/ |
D | ninja.py | 58 for key, value in self._args_dict.items(): 59 if key == 'build_target' and isinstance(value, list): 60 args_list += value 61 elif key == 'ninja_args' and isinstance(value, list): 62 args_list += value 64 if value == '': 67 args_list.insert(0, ' {}{} '.format(key, value))
|
D | gn.py | 97 for key, value in self.args_dict.items(): 98 if isinstance(value, bool): 99 args_list.append('{}={}'.format(key, str(value).lower())) 101 elif isinstance(value, str): 102 args_list.append('{}="{}"'.format(key, value)) 104 elif isinstance(value, int): 105 args_list.append('{}={}'.format(key, value)) 107 elif isinstance(value, list): 108 args_list.append('{}="{}"'.format(key, "&&".join(value))) 120 for key, value in self.flags_dict.items(): [all …]
|
/build/config/mac/ |
D | sdk_info.py | 99 value = settings[key] variable 100 if isinstance(value, bytes): 101 value = value.decode() variable 102 value = '"%s"' % value variable 103 print('%s=%s' % (key, value))
|
/build/hb/resolver/ |
D | build_args_resolver.py | 83 for key, value in features_dict.items(): 84 target_generator.regist_arg(key, value) 301 variable, value = gn_arg.split('=') 302 if TypeCheckUtil.is_bool_type(value): 303 if str(value).lower() == 'false': 305 elif str(value).lower() == 'true': 307 elif TypeCheckUtil.is_int_type(value): 308 convert_value = int(value) 309 elif isinstance(value, list): 310 convert_value = list(value) [all …]
|
/build/lite/ |
D | hap_pack.py | 82 for key, value in cmd_dict.items(): 83 if value: 84 packing_cmd.extend([key, value]) 147 for key, value in cmd_dict.items(): 148 if value: 149 signing_cmd.extend([key, value])
|
/build/hb/util/loader/ |
D | load_ohos_build.py | 402 for part_name, value in parts_config.items(): 403 if 'variants' in value: 404 variants = value.get('variants') 416 part_obj = PartObject(part_name, variant, value, toolchain, 435 if 'hisysevent_config' in value: 436 _config_files = value.get('hisysevent_config') 444 _parts_deps[part_name] = value.get('part_deps') 581 key: value for key, value in self._parts_variants.items() if key in save_part} 583 key: value for key, value in self._part_list.items() if key in save_part} 585 key: value for key, value in self._part_targets_label.items() if key in save_part} [all …]
|
/build/lite/ndk/doc/config/ |
D | Doxyfile_CPP | 26 # TAG = value [value, ...] 28 # TAG += value [value, ...] 40 # The default value is: UTF-8. 48 # The default value is: My Project. 84 # The default value is: NO. 99 # The default value is: English. 106 # The default value is: YES. 115 # The default value is: YES. 133 # The default value is: NO. 141 # The default value is: NO. [all …]
|
D | Doxyfile_C | 26 # TAG = value [value, ...] 28 # TAG += value [value, ...] 40 # The default value is: UTF-8. 48 # The default value is: My Project. 84 # The default value is: NO. 99 # The default value is: English. 106 # The default value is: YES. 115 # The default value is: YES. 133 # The default value is: NO. 141 # The default value is: NO. [all …]
|
/build/lite/ndk/doc/ |
D | gen_doc.py | 50 for (key, value) in list(keys.items()): 51 value = value.replace('\\', '\\\\') 52 contents = re.sub(key, value, contents)
|
/build/hb/services/interface/ |
D | service_interface.py | 36 def exec(self, value): argument 37 self._exec = value
|
/build/misc/mac/ |
D | find_sdk.py | 24 def __init__(self, value): argument 25 self.value = value 28 return repr(self.value)
|
/build/lite/ndk/build/toolchain/ |
D | clang.gni | 23 assert(defined(invoker.cc), "clang toolchain must specify a \"cc\" value") 24 assert(defined(invoker.cxx), "clang toolchain must specify a \"cxx\" value") 25 assert(defined(invoker.ar), "clang toolchain must specify a \"ar\" value") 26 assert(defined(invoker.as), "clang toolchain must specify a \"as\" value") 27 assert(defined(invoker.ld), "clang toolchain must specify a \"ld\" value")
|
D | gcc.gni | 24 assert(defined(invoker.ar), "gcc toolchain must specify a \"ar\" value") 25 assert(defined(invoker.cc), "gcc toolchain must specify a \"cc\" value") 26 assert(defined(invoker.cxx), "gcc toolchain must specify a \"cxx\" value") 27 assert(defined(invoker.ld), "gcc toolchain must specify a \"ld\" value")
|
/build/lite/toolchain/ |
D | clang.gni | 16 assert(defined(invoker.cc), "clang toolchain must specify a \"cc\" value") 17 assert(defined(invoker.cxx), "clang toolchain must specify a \"cxx\" value") 18 assert(defined(invoker.ar), "clang toolchain must specify a \"ar\" value") 19 assert(defined(invoker.ld), "clang toolchain must specify a \"ld\" value")
|
D | gcc.gni | 16 assert(defined(invoker.ar), "gcc toolchain must specify a \"ar\" value") 17 assert(defined(invoker.cc), "gcc toolchain must specify a \"cc\" value") 18 assert(defined(invoker.cxx), "gcc toolchain must specify a \"cxx\" value") 19 assert(defined(invoker.ld), "gcc toolchain must specify a \"ld\" value")
|
D | iccarm.gni | 18 assert(defined(invoker.ar), "gcc_toolchain() must specify a \"ar\" value") 19 assert(defined(invoker.cc), "gcc_toolchain() must specify a \"cc\" value") 20 assert(defined(invoker.cxx), "gcc_toolchain() must specify a \"cxx\" value") 21 assert(defined(invoker.ld), "gcc_toolchain() must specify a \"ld\" value")
|
/build/tools/component_tools/static_check/ |
D | csct_online_prehandle.py | 26 value = [line_num, content] 30 value_list.append(value) 32 value_list = [value]
|
/build/ohos/sa_profile/ |
D | sa_profile_archive.py | 65 for key, value in all_sa_info_files_dict.items(): 70 for _file in value:
|