| /misc/config_tools/configurator/packages/vue-json-schema-form/utils/schema/ |
| A D | retriev.js | 224 Object.keys(obj2).reduce((acc, key) => { 225 const left = obj1[key]; 226 const right = obj2[key]; 248 acc[key] = objTypeData; 282 acc[key] = arrayTypeData; 287 acc[key] = baseTypeData; 292 …if (key === 'maxLength' || key === 'maximum' || key === 'maxItems' || key === 'exclusiveMaximum' |… 294 …} else if (key === 'minLength' || key === 'minimum' || key === 'minItems' || key === 'exclusiveMin… 296 } else if (key === 'multipleOf') { 298 acc[key] = scm(left, right); [all …]
|
| A D | getDefaultFormState.js | 36 return Object.keys(formData).reduce((preAcc, key) => { 37 preAcc[key] = mergeDefaultsWithFormData( 38 defaults ? defaults[key] : {}, 39 formData[key] 150 return Object.keys(schema.properties || {}).reduce((acc, key) => { 154 schema.properties[key], 155 (defaults || {})[key], 157 (formData || {})[key], 162 acc[key] = computedDefault;
|
| /misc/config_tools/configurator/pyodide/ |
| A D | loadScenario.py | 29 for key, value in obj.items(): 33 array_keys.append(key) 35 int_keys.append(key) 60 for key, value in obj.items(): 62 keys_need_remove.append(key) 64 if key in int_keys: 66 obj[key] = [int(x) for x in obj[key]] 68 obj[key] = int(value) 70 obj[key] = [value] 71 for key in keys_need_remove: [all …]
|
| A D | loadBoard.py | 40 {"get_enum": get_enum, "board_xml": board_xml}[enum_setting[key]] 41 for key in ['function', 'source'] 44 …selector, name_selector, sorted_func, obj_type = [enum_setting[key] for key in ['selector', 'name-… 50 enum = sorted(enum, key=lambda x: fn(x[0])) 76 for key in ['type', 'required', 'properties']: 77 if key == 'required' and key not in current_form_type_schema_obj: 78 form_schema[key] = [] 80 form_schema[key] = current_form_type_schema_obj[key] 115 cat_info.sort(key=lambda x: int(x['id'], 16)) 116 cat_info.sort(key=lambda x: x['level'], reverse=True)
|
| /misc/config_tools/library/ |
| A D | hv_cfg_lib.py | 34 key = 'hv,{},{}'.format(prime_item, item) 51 key = 'hv,{},{}'.format(prime_item, item) 61 key = 'hv,{},{}'.format(prime_item, item) 69 key = 'hv,{},{}'.format(dbg_opt, rel_str) 94 key = "hv,{},{}".format(prime_item, item) 95 ERR_LIST[key] = "Address should be Hex format" 100 key = "hv,{},{}".format(prime_item, item) 107 key = 'hv,{},{}'.format(cap, cap_ir_entries) 115 key = 'hv,{},{}'.format(feat, feat_item) 123 key = 'hv,{},{}'.format(feat, feat_scheduler) [all …]
|
| A D | scenario_cfg_lib.py | 233 ERR_LIST[key] = "VM load order unknown" 278 ERR_LIST[key] = "Unknow guest flag" 354 key = "Service VM cpu_affinity" 527 for key in vm_vuart1[i].keys(): 528 if key == "target_vm_id": 529 vm_id_dic[i] = vm_vuart1[i][key] 852 key = "vm:id={}".format(vm_id) 855 ERR_LIST[key] = str(exc) 859 ERR_LIST[key] = str(exc) 879 key = err_key [all …]
|
| A D | launch_cfg_lib.py | 275 key = "user_vm:id={},passthrough_devices,{}".format(i_cnt, item) 276 ERR_LIST[key] = "Unkonw the BDF format of {} device".format(item) 285 key = "user_vm:id={},passthrough_devices,{}".format(i_cnt, item) 298 key = "user_vm:id={},{}".format(i_cnt, item) 299 ERR_LIST[key] = "The parameter should not be empty" 323 key = "user_vm:id={},{}".format(i_cnt, item) 324 ERR_LIST[key] = "The {} is invalidate".format(item) 348 key = "user_vm:id={},{}".format(i_cnt, item) 429 key = "user_vm:id={},passthrough_devices,{}".format(vmid, 'audio_codec') 645 key = 'user_vm:id={},console_vuart'.format(user_vmid) [all …]
|
| /misc/config_tools/configurator/packages/vue-json-schema-form/utils/ |
| A D | utils.js | 49 const right = obj2[key]; 64 acc[key] = right; 78 const right = obj2[key]; 84 acc[key] = right; 186 let key; 189 key = ka[k]; 190 if (!deepEquals(a[key], b[key], ca, cb)) { 204 let key = 0; 208 key += 1; 211 key = 0; [all …]
|
| A D | formUtils.js | 114 .reduce((options, key) => { 115 const value = itemSchema[key]; 117 if (key === 'ui:options' && isObject(value)) { 123 if (key !== 'ui:hidden' && key.indexOf('ui:') === 0) { 127 …[key.substring(3)]: curNodePath === undefined ? value : handleExpression(rootFormData, curNodePath… 267 .reduce((options, key) => { 268 const value = itemSchema[key]; 270 if (key === 'err:options' && isObject(value)) { 274 if (key.indexOf('err:') === 0) { 275 return { ...options, [key.substring(4)]: value };
|
| /misc/config_tools/configurator/packages/vue-json-schema-form/vue3/vue3-core/src/fields/combiningSchemas/SelectLinkageField/ |
| A D | index.js | 89 key: `fieldSelect_${props.combiningType}`, 126 for (const key in oldSelectSchema.properties) { 129 && !hasOwn.call(newOptionData, key) 131 deletePathVal(curFormData, key); 143 curFormData[key] === undefined 152 setPathVal(curFormData, key, value); 201 }), key => (key === props.combiningType ? undefined : `ui:${key}`)); 207 }), key => (key === props.combiningType ? undefined : `err:${key}`)); 248 key: `origin_${props.combiningType}`, 262 key: `validateWidget-${props.combiningType}`, [all …]
|
| /misc/debug_tools/acrn_crashlog/acrnprobe/ |
| A D | vmrecord.c | 17 char *key; in vmrecord_last() local 22 key = malloc(nlen + 2); in vmrecord_last() 23 if (!key) in vmrecord_last() 26 memcpy(key, vm_name, nlen); in vmrecord_last() 27 key[nlen] = ' '; in vmrecord_last() 28 key[nlen + 1] = '\0'; in vmrecord_last() 34 free(key); in vmrecord_last() 147 const char *key) in vmrecord_new() argument 152 if (!vmrecord || !vm_name || !key) in vmrecord_new() 156 vm_name, key, VMRECORD_TAG_WAITING_SYNC); in vmrecord_new() [all …]
|
| A D | history.c | 47 const char *key; member 206 entry->event, entry->key, in entry_to_history_line() 216 entry->event, entry->key, in entry_to_history_line() 266 .key = key in hist_raise_event() 306 char *key; in hist_raise_uptime() local 346 if (key == NULL) { in hist_raise_uptime() 353 boot_time, key); in hist_raise_uptime() 354 free(key); in hist_raise_uptime() 361 char *key; in hist_raise_infoerror() local 364 if (key == NULL) { in hist_raise_infoerror() [all …]
|
| A D | probeutils.c | 105 static int compute_key(char *key, size_t klen, const char *seed, in compute_key() argument 111 char *tmp_key = key; in compute_key() 115 if (!key || !seed || !slen) in compute_key() 169 char *key; in generate_event_id() local 182 key = (char *)malloc(klen + 1); in generate_event_id() 183 if (!key) { in generate_event_id() 191 free(key); in generate_event_id() 197 ret = compute_key(key, klen, seed1, slen1); in generate_event_id() 202 free(key); in generate_event_id() 203 key = NULL; in generate_event_id() [all …]
|
| A D | startupreason.c | 39 const char *key = "ABL.reset="; in get_cmdline_bootreason() local 52 start = strstr(cmdline, key); in get_cmdline_bootreason() 55 key); in get_cmdline_bootreason() 61 start += strlen(key); in get_cmdline_bootreason()
|
| A D | sender.c | 360 char *key; in crashlog_send_reboot() local 369 if (key == NULL) { in crashlog_send_reboot() 375 hist_raise_event("INFO", "SWUPDATE", NULL, "", key); in crashlog_send_reboot() 376 free(key); in crashlog_send_reboot() 507 char *key; in crashlog_new_event() local 560 if (!key) { in crashlog_new_event() 566 *eid = key; in crashlog_new_event() 572 free(key); in crashlog_new_event() 576 e->dir = generate_log_dir(mode, key, &e->dlen); in crashlog_new_event() 579 free(key); in crashlog_new_event() [all …]
|
| /misc/config_tools/scenario_config/jsonschema/ |
| A D | document.py | 78 for key in sorted(invdata or {}): 79 result[key] = {} 80 data = result[key] 81 for entry, einfo in sorted(invdata[key].items()): 92 def url(self, key, data): argument 93 title = data["title"] if data["title"] else key 100 key = match.group(1) 101 if self.data is None or json_key not in self.data or key not in self.data[json_key]: 102 …return self.url(key, {'title': '', 'link': f'search.html?q={key}&check_keywords=yes&area=default'}) 103 return self.url(key, self.data[json_key][key])
|
| /misc/config_tools/configurator/packages/vue-json-schema-form/vue3/vue3-core/src/fields/ObjectField/ |
| A D | index.js | 32 curDependent = Object.entries(props.schema.dependencies).some(([key, value]) => { 41 … return tempDependency && getPathVal(props.rootFormData, props.curNodePath)[key] !== undefined; 74 key: name, 104 key: 'validateWidget-object', 109 … schema: Object.entries(props.schema).reduce((preVal, [key, value]) => { 112 || !['properties', 'id', '$id'].includes(key) 113 ) preVal[key] = value;
|
| /misc/config_tools/configurator/packages/vue-json-schema-form/vue3/vue3-core/src/fields/ArrayField/arrayTypes/ |
| A D | ArrayFieldTuple.js | 88 key: item.key, 106 key: item.key, 110 key: item.key,
|
| A D | ArrayFieldNormal.js | 56 key: item.key, 60 key: item.key,
|
| /misc/config_tools/configurator/packages/configurator/src/lib/ |
| A D | json2xml.js | 75 for (const key in jsObjectElement) { 76 this.#convertObject(deepth + 1, key, jsObjectElement[key])
|
| /misc/config_tools/configurator/packages/vue-json-schema-form/vue3/vue3-core/src/fields/ArrayField/ |
| A D | index.js | 61 key: formKeys.value[index], 197 key: 'validateWidget-array', 202 schema: Object.entries(schema).reduce((preVal, [key, value]) => { 203 if (key !== 'items') preVal[key] = value;
|
| /misc/debug_tools/acrn_trace/scripts/ |
| A D | vmexit_analyze.py | 136 for key in LIST_EVENTS.keys(): 137 if event == LIST_EVENTS.get(key): 138 NR_EXITS[key] += 1 139 last_ev_id = key
|
| A D | irq_analyze.py | 50 for key in LIST_EVENTS.keys(): 51 if event == LIST_EVENTS.get(key):
|
| /misc/efi-stub/ |
| A D | efilinux.h | 154 get_memory_map(UINTN *size, EFI_MEMORY_DESCRIPTOR *map, UINTN *key, in get_memory_map() argument 158 key, descr_size, descr_version); in get_memory_map() 171 exit_boot_services(EFI_HANDLE image, UINTN key) in exit_boot_services() argument 173 return uefi_call_wrapper(boot->ExitBootServices, 2, image, key); in exit_boot_services()
|
| /misc/config_tools/board_inspector/extractors/ |
| A D | 90-sorting.py | 45 bus_node[:] = sorted(bus_node, key=getkey) 48 device_node[:] = sorted(device_node, key=getkey)
|