| /misc/debug_tools/acrn_crashlog/common/ |
| A D | strutils.c | 83 if (!str) in strlinelen() 88 return tail - str; in strlinelen() 123 return str; in strtrim() 125 for (p = str; p < str + len && *p == ' '; p++) in strtrim() 130 *str = '\0'; in strtrim() 131 return str; in strtrim() 134 for (p = str + len - 1; p >= str && *p == ' '; p--) in strtrim() 137 memmove(str, str + h_del, reserve); in strtrim() 139 return str; in strtrim() 145 char *p = str; in strcnt() [all …]
|
| /misc/config_tools/board_inspector/extractors/ |
| A D | 20-cache.py | 84 add_child(cap, "capacity_mask_length", str(capacity_mask_length)) 85 add_child(cap, "clos_number", str(clos_number)) 106 …n = add_child(caches_node, "cache", None, level=str(cache_level), id=cache_id, type=str(cache_type… 107 add_child(n, "cache_size", str(leaf_4.cache_size)) 108 add_child(n, "line_size", str(leaf_4.line_size)) 109 add_child(n, "ways", str(leaf_4.ways)) 110 add_child(n, "sets", str(leaf_4.sets)) 111 add_child(n, "partitions", str(leaf_4.partitions)) 112 add_child(n, "self_initializing", str(leaf_4.self_initializing)) 113 add_child(n, "fully_associative", str(leaf_4.fully_associative)) [all …]
|
| A D | 40-acpi-tables.py | 34 add_child(ioapic_node, "gsi_number", str(current_max - previous_max)) 37 add_child(ioapic_node, "gsi_number", str(DEFAULT_MAX_IOAPIC_LINES)) 62 add_child(cap, "size", str(entry.size)) 85 add_child(rtct_version_node, "major", str(entry.rtct_version_major)) 86 add_child(rtct_version_node, "minor", str(entry.rtct_version_minor)) 88 add_child(rtcd_version_node, "major", str(entry.rtcd_version_major)) 89 add_child(rtcd_version_node, "minor", str(entry.rtcd_version_minor)) 102 size = str(entry.size) 122 add_child(ssram_node, "size", str(entry.size)) 130 add_child(param, "native", str(entry.clock_cycles)) [all …]
|
| A D | 60-pci.py | 35 add_child(cap_node, "count", str(1 << cap_struct.multiple_message_capable)) 46 add_child(cap_node, "table_size", str(cap_struct.table_size)) 47 add_child(cap_node, "table_bir", str(cap_struct.table_bir)) 49 add_child(cap_node, "pba_bir", str(cap_struct.pba_bir)) 76 add_child(cap_node, "initial_vfs", str(cap_struct.initial_vfs)) 77 add_child(cap_node, "total_vfs", str(cap_struct.total_vfs)) 86 add_child(cap_node, "vf_stride", str(cap_struct.vf_stride)) 167 resource_node.set("prefetchable", str(bar.prefetchable)) 170 resource_node.set("prefetchable", str(bar.prefetchable)) 206 resource_node.set("prefetchable", str(bar.prefetchable)) [all …]
|
| A D | helpers.py | 26 assert isinstance(pathstr, str), f"Internal error: pathstr must be a str: {type(pathstr)}" 29 return str(path.resolve())
|
| A D | 10-processors.py | 71 add_child(n, "attribute", str(getattr(leaf_data, cap)), id=cap) 78 add_child(n, "attribute", str(getattr(msr_data, attr)), id=attr) 122 add_child(n, "cpu_id", text=str(cpu_id)) 158 add_child(thread, attr, str(getattr(msr_data, attr)))
|
| /misc/debug_tools/acrn_crashlog/common/include/ |
| A D | strutils.h | 12 char *get_line(const char *str, size_t str_size, 15 ssize_t strlinelen(const char *str, size_t size); 16 char *strrstr(const char *s, const char *str); 17 char *strtrim(char *str, size_t len); 18 int strcnt(char *str, char c); 20 int str_split_ere(const char *str, size_t slen,
|
| /misc/packaging/ |
| A D | acrn-kernel.postinst | 7 str=$(blkid |grep ${type}) 8 uuid=$(echo $str |cut -d " " -f 2|cut -d "=" -f 2) 9 str=$(blkid |grep ${type}) 10 partuuid=$(echo ${str##*PARTUUID=})
|
| /misc/config_tools/board_inspector/legacy/ |
| A D | dmar.py | 368 print("\t#define DRHD"+str(drhd_hw_i)+"_DEV_CNT {0}U".format( 370 print("\t#define DRHD"+str(drhd_hw_i)+"_SEGMENT {0}U".format( 372 print("\t#define DRHD"+str(drhd_hw_i)+"_FLAGS {0}U".format( 374 print("\t#define DRHD"+str(drhd_hw_i)+"_REG_BASE 0x{:0>2X}UL".format( 377 print("\t#define DRHD"+str(drhd_hw_i)+"_IGNORE {0}".format( 380 print("\t#define DRHD"+str(drhd_hw_i)+"_DEVSCOPE"+str(dev_scope_i), 385 print("\t#define DRHD"+str(drhd_hw_i)+"_DEVSCOPE"+str(dev_scope_i), 390 print("\t#define DRHD"+str(drhd_hw_i)+"_DEVSCOPE"+str(dev_scope_i), 395 print("\t#define DRHD"+str(drhd_hw_i)+"_DEVSCOPE"+str(dev_scope_i),
|
| A D | clos.py | 99 print("\trdt resource clos max:",str(rdt_res_clos_max).strip('[]'), file=config) 100 print("\trdt resource mask max:",str(rdt_res_mask_max).strip('[]'), file=config)
|
| /misc/config_tools/static_allocators/ |
| A D | cpu_freq.py | 156 … acrn_config_utilities.append_node("./limit_nominal_pstate", str(limit_nominal_pstate), limit_node) 157 … acrn_config_utilities.append_node("./limit_highest_pstate", str(limit_highest_pstate), limit_node) 158 … acrn_config_utilities.append_node("./limit_lowest_pstate", str(limit_lowest_pstate), limit_node) 184 … acrn_config_utilities.update_text("./limits/limit_highest_lvl", str(highest_lvl), alloc_cpu, True) 185 … acrn_config_utilities.update_text("./limits/limit_lowest_lvl", str(lowest_lvl), alloc_cpu, True) 186 …acrn_config_utilities.update_text("./limits/limit_highest_pstate", str(highest_pstate), alloc_cpu,… 187 …acrn_config_utilities.update_text("./limits/limit_lowest_pstate", str(lowest_pstate), alloc_cpu, T…
|
| A D | clos.py | 25 acrn_config_utilities.append_node(f"./vcpu_clos", str(index), clos_node) 61 value = str(rdt_policy_list[i].l3policy.get_clos_mask()) 76 value = str(rdt_policy_list[i].l2policy.get_clos_mask(index))
|
| /misc/config_tools/board_inspector/pcieparser/ |
| A D | __init__.py | 16 acc = str(self.header) 19 acc += str(cap) 22 acc += str(extcap)
|
| /misc/debug_tools/acrn_trace/scripts/ |
| A D | acrntrace_format.py | 57 formats[str(eval(m.group(1)))] = m.group(2) 165 if str(event) in formats.keys(): 166 print (formats[str(event)] % args) 168 if str(event) in formats.key(): 169 print (formats[str(event)])
|
| /misc/config_tools/scenario_config/jsonschema/ |
| A D | document.py | 36 def __init__(self, url_base, objects_inv: [dict, str]): argument 42 elif isinstance(objects_inv, str): 73 def warn(self, msg: str) -> None: argument 141 fragment = '\n'.join([str(x) for x in soup.select_one('main').children]).strip()
|
| /misc/config_tools/board_inspector/acpiparser/aml/ |
| A D | builder.py | 19 assert isinstance(s, str) 48 if isinstance(name, str): 120 elif isinstance(value, (str, datatypes.String)): 121 if isinstance(value, str):
|
| /misc/config_tools/configurator/packages/configurator/src-tauri/src/ |
| A D | configurator.rs | 307 pub fn add_history(history_type: HistoryType, history_path: String) -> Result<(), &'static str> { in add_history() argument 357 pub fn acrn_read(file_path: &str) -> Result<String, String> { in acrn_read() 366 pub fn acrn_write(file_path: &str, contents: &str) -> Result<(), String> { in acrn_write() argument 374 pub fn acrn_is_file(path: &str) -> bool { in acrn_is_file() 381 pub fn acrn_create_dir(path: &str, recursive: bool) -> Result<(), String> { in acrn_create_dir() argument 406 pub fn acrn_read_dir(path: &str, recursive: bool) -> Result<Vec<DirEntry>, String> { in acrn_read_dir() argument 411 pub fn acrn_remove_dir(path: &str) -> Result<(), String> { in acrn_remove_dir() 416 pub fn acrn_remove_file(path: &str) -> Result<(), String> { in acrn_remove_file()
|
| /misc/config_tools/static_allocators/lib/ |
| A D | lib.py | 29 if not(isinstance(value, str)): 53 return "BusDevFunc.from_str({!r})".format(str(self)) 116 shmem_regions[vm_id][shm_name] = {'id' : str(idx), 'size' : shm_size, 'vbdf' : vbdf}
|
| /misc/efi-stub/ |
| A D | stdlib.h | 66 static inline int32_t strlen(const char *str) in strlen() argument 71 while (*str++) in strlen()
|
| /misc/config_tools/service_vm_config/ |
| A D | serial_config.py | 56 vm_id_note = "# User_VM_id: " + str(vuart["target_vm_id"])+ '\n' 58 conf = "/dev/ttyS" + str(uart_start_num) + base + UART_IRQ_BAUD + '\n'
|
| /misc/config_tools/board_inspector/inspectorlib/ |
| A D | cdata.py | 75 return str(val) 81 s += "\n" + str(item) 88 def _wrap(self, str, indent=True): argument 94 for line in str.split("\n"):
|
| /misc/config_tools/scenario_config/ |
| A D | config_summary.py | 15 t_content = typing.Union[str, typing.List[str]] 23 def fill(self, text: str, initial_indent: int = 0, subsequent_indent: int = 0) -> str: argument 62 column_widths.append(max(list(map(lambda x: len(str(x[i])), data)))) 67 …format_raw = "|" + "|".join([str(data[j][i]).ljust(column_widths[i]) for i in range(len(header))])… 80 def heading(self, text: str, char: str, overline: bool = False) -> None: argument 151 column_title.extend(map(str, total_pcpu_list)) 384 parameter_dict["Ammount of RAM"] = str(memory_size) + "MB"
|
| /misc/services/life_mngr/ |
| A D | s5_trigger_win.py | 23 print('[Connection error: ' + HOST + ":" + str(PORT)+']')
|
| A D | system_reboot_trigger_win.py | 23 print('[Connection error: ' + HOST + ":" + str(PORT)+']')
|
| /misc/config_tools/configurator/packages/vue-json-schema-form/utils/ |
| A D | utils.js | 321 export function lowerCase(str) { argument 322 if (undefined === str) return str; 323 return String(str).replace(/^./, s => s.toLocaleLowerCase());
|