Home
last modified time | relevance | path

Searched refs:str (Results 526 - 550 of 3992) sorted by relevance

1...<<21222324252627282930>>...160

/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dexport-to-postgresql.py207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_id))
227 def toserverstr(str):
228 return str
229 def toclientstr(str):
230 return str
233 def toserverstr(str):
234 return bytes(str, "UTF_8")
235 def toclientstr(str):
236 return bytes(str, "UTF_8")
765 raise Exception("COPY FROM STDIN PQputCopyData failed, error " + str(re
[all...]
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dexport-to-postgresql.py207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_id))
227 def toserverstr(str):
228 return str
229 def toclientstr(str):
230 return str
233 def toserverstr(str):
234 return bytes(str, "UTF_8")
235 def toclientstr(str):
236 return bytes(str, "UTF_8")
768 raise Exception("COPY FROM STDIN PQputCopyData failed, error " + str(re
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dparse-events.y75 %type <str> PE_RAW
76 %type <str> PE_NAME
77 %type <str> PE_LEGACY_CACHE
78 %type <str> PE_MODIFIER_EVENT
79 %type <str> PE_MODIFIER_BP
80 %type <str> PE_EVENT_NAME
81 %type <str> PE_DRV_CFG_TERM
82 %type <str> name_or_raw
83 %destructor { free ($$); } <str>
109 %destructor { free ($$.str); } <hardware_ter
[all...]
H A Dpmus.c39 int pmu_name_len_no_suffix(const char *str, unsigned long *num) in pmu_name_len_no_suffix() argument
43 orig_len = len = strlen(str); in pmu_name_len_no_suffix()
46 if (!strstarts(str, "uncore_")) in pmu_name_len_no_suffix()
53 while (len > 0 && isdigit(str[len - 1])) in pmu_name_len_no_suffix()
56 if (len > 0 && len != orig_len && str[len - 1] == '_') { in pmu_name_len_no_suffix()
58 *num = strtoul(&str[len], NULL, 10); in pmu_name_len_no_suffix()
316 const struct perf_pmu *perf_pmus__pmu_for_pmu_filter(const char *str) in perf_pmus__pmu_for_pmu_filter() argument
321 if (!strcmp(pmu->name, str)) in perf_pmus__pmu_for_pmu_filter()
325 if (!strcmp(pmu->name + 7, str)) in perf_pmus__pmu_for_pmu_filter()
330 if (!strcmp(pmu->name + 4, str)) in perf_pmus__pmu_for_pmu_filter()
[all...]
/build/templates/common/
H A Dcheck_deps_handler.py27 def check_third_party_deps(args, dep_part: str, parts_deps_info: dict, _tips_info: dict, third_deps_allow_list: list):
68 def get_path_from_label(label: str):
73 def get_path_from_module_list(cur_part_name: str, depfiles:list) -> str:
90 def get_part_pattern(cur_part_name: str, parts_path_info: dict, path_parts_info: dict, depfiles: list) -> list:
106 def get_dep_part(dep_path: str, third_part_info: dict) -> str:
116 def check_part_deps(args, part_pattern: str, path_parts_info: dict, compile_standard_allow_info: dict, depfiles: list):
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_magn.c265 char *str; in inv_mpu_magn_set_orient() local
285 str = devm_kzalloc(regmap_get_device(st->map), in inv_mpu_magn_set_orient()
287 if (str == NULL) in inv_mpu_magn_set_orient()
290 strcpy(str, orient); in inv_mpu_magn_set_orient()
292 strcpy(str, &orient[1]); in inv_mpu_magn_set_orient()
294 str[0] = '-'; in inv_mpu_magn_set_orient()
295 strcpy(&str[1], orient); in inv_mpu_magn_set_orient()
297 st->magn_orient.rotation[6 + i] = str; in inv_mpu_magn_set_orient()
/kernel/linux/linux-5.10/mm/
H A Ddebug.c285 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument
293 if (*str++ != '=' || !*str) in setup_vm_debug()
297 if (*str == '-') in setup_vm_debug()
300 while (*str) { in setup_vm_debug()
301 switch (tolower(*str)) { in setup_vm_debug()
307 *str); in setup_vm_debug()
310 str++; in setup_vm_debug()
/kernel/linux/linux-5.10/kernel/power/
H A Dwakelock.c205 const char *str = buf; in pm_wake_lock() local
214 while (*str && !isspace(*str)) in pm_wake_lock()
215 str++; in pm_wake_lock()
217 len = str - buf; in pm_wake_lock()
221 if (*str && *str != '\n') { in pm_wake_lock()
223 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()
/kernel/linux/linux-6.6/mm/
H A Ddebug.c229 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument
237 if (*str++ != '=' || !*str) in setup_vm_debug()
241 if (*str == '-') in setup_vm_debug()
244 while (*str) { in setup_vm_debug()
245 switch (tolower(*str)) { in setup_vm_debug()
251 *str); in setup_vm_debug()
254 str++; in setup_vm_debug()
/kernel/linux/linux-6.6/kernel/power/
H A Dwakelock.c205 const char *str = buf; in pm_wake_lock() local
214 while (*str && !isspace(*str)) in pm_wake_lock()
215 str++; in pm_wake_lock()
217 len = str - buf; in pm_wake_lock()
221 if (*str && *str != '\n') { in pm_wake_lock()
223 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()
/test/testfwk/xdevice/plugins/devicetest/core/
H A Dreport.py65 testsuites.set("tests", str(tests_total))
66 testsuites.set("failures", str(tests_error))
128 testcase.set("result_content", literal_eval(str(result_content)))
133 testsuite.set("tests", str(1))
134 testsuite.set("failures", str(case_error))
181 testsuite.set("tests", str(1))
194 test_suites[module_name]["test_suite"].set("tests", str(tests))
195 test_suites[module_name]["test_suite"].set("failures", str(failures))
/test/xts/acts/powermgr/ndk/entry/src/main/cpp/
H A Dnapi_init.cpp58 std::string str; in GetPluggedType() local
61 str = "NONE"; in GetPluggedType()
64 str = "AC"; in GetPluggedType()
67 str = "USB"; in GetPluggedType()
70 str = "WIRELESS"; in GetPluggedType()
73 str = "BUTT"; in GetPluggedType()
76 str = "UNKNOWN"; in GetPluggedType()
80 napi_create_string_utf8(env, str.c_str(), NAPI_AUTO_LENGTH, &ret); in GetPluggedType()
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A Defi.c97 static int __init parse_efi_cmdline(char *str) in parse_efi_cmdline() argument
99 if (!str) { in parse_efi_cmdline()
104 if (parse_option_str(str, "debug")) in parse_efi_cmdline()
107 if (parse_option_str(str, "noruntime")) in parse_efi_cmdline()
110 if (parse_option_str(str, "runtime")) in parse_efi_cmdline()
113 if (parse_option_str(str, "nosoftreserve")) in parse_efi_cmdline()
131 char *str = buf; in systab_show() local
137 str += sprintf(str, "ACPI20=0x%lx\n", efi.acpi20); in systab_show()
139 str in systab_show()
237 efivar_ssdt_setup(char *str) efivar_ssdt_setup() argument
[all...]
/build/hb/containers/
H A Darg.py82 def get_type(value: str):
87 elif value == 'str':
114 def get_type(value: str):
146 def get_type(value: str):
157 def __init__(self, name: str, helps: str, phase: str,
159 resolve_function: str):
199 arg_name = str(data['arg_name']).replace("-", "_")[2:]
200 arg_help = str(dat
[all...]
/build/tools/component_tools/static_check/bundle_check/
H A Dbundle_json_check.py31 def check_all_bundle_json(path: str) -> list:
77 def get_all_bundle_json(path: str = '.') -> list:
98 output_path: str = '.',
99 output_name: str = 'all_bundle_error.json'):
115 def to_df(path: str = None) -> pd.DataFrame:
130 "line" + str(item['line']) + ": " + item['contents'],
138 def to_excel(output_path: str = '.',
139 output_name: str = 'all_bundle_error.xlsx'):
164 def __init__(self, path: str) -> None:
177 def component_name(self) -> str
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dpmu-events.c332 if (!is_same(alias->str, test->alias_str)) { in __test__pmu_event_aliases()
333 pr_debug2("testing aliases PMU %s: mismatched str, %s vs %s\n", in __test__pmu_event_aliases()
334 pmu_name, alias->str, test->alias_str); in __test__pmu_event_aliases()
387 static bool is_number(const char *str) in is_number() argument
393 v = strtod(str, &end_ptr); in is_number()
395 return errno == 0 && end_ptr != str; in is_number()
424 pr_warning("Error string '%s' help '%s'\n", error.str, in check_parse_cpu()
431 free(error.str); in check_parse_cpu()
443 free(error.str); in check_parse_fake()
520 const char *str; member
531 metric_parse_fake(const char *str) metric_parse_fake() argument
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dprofile.c57 int profile_setup(char *str) in profile_setup() argument
64 if (!strncmp(str, sleepstr, strlen(sleepstr))) { in profile_setup()
68 if (str[strlen(sleepstr)] == ',') in profile_setup()
69 str += strlen(sleepstr) + 1; in profile_setup()
70 if (get_option(&str, &par)) in profile_setup()
77 } else if (!strncmp(str, schedstr, strlen(schedstr))) { in profile_setup()
79 if (str[strlen(schedstr)] == ',') in profile_setup()
80 str += strlen(schedstr) + 1; in profile_setup()
81 if (get_option(&str, &par)) in profile_setup()
85 } else if (!strncmp(str, kvmst in profile_setup()
[all...]
/test/testfwk/developer_test/src/core/command/
H A Drun.py156 current_raw_cmd = ",".join(list(map(str, options.current_raw_cmd.split(" "))))
161 if str(options.testpart) == "[]" and str(options.subsystem) == "[]":
163 elif str(options.testpart) != "[]" and str(options.subsystem) != "[]":
166 if str(options.testpart) != "[]":
167 param = str(options.testpart)
171 param = str(options.subsystem)
202 LOG.info("testtype = %s" % str(options.testtype))
203 LOG.info("subsystem = %s" % str(option
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dearly.c90 static inline void strim_all(char *str) in strim_all() argument
94 s = strim(str); in strim_all()
95 if (s != str) in strim_all()
96 memmove(str, s, strlen(s)); in strim_all()
97 while (*str) { in strim_all()
98 if (!isspace(*str++)) in strim_all()
100 if (isspace(*str)) { in strim_all()
101 s = skip_spaces(str); in strim_all()
102 memmove(str, s, strlen(s) + 1); in strim_all()
273 static int __init disable_vector_extension(char *str) in disable_vector_extension() argument
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dearly.c115 static inline void strim_all(char *str) in strim_all() argument
119 s = strim(str); in strim_all()
120 if (s != str) in strim_all()
121 memmove(str, s, strlen(s)); in strim_all()
122 while (*str) { in strim_all()
123 if (!isspace(*str++)) in strim_all()
125 if (isspace(*str)) { in strim_all()
126 s = skip_spaces(str); in strim_all()
127 memmove(str, s, strlen(s) + 1); in strim_all()
279 static int __init disable_vector_extension(char *str) in disable_vector_extension() argument
[all...]
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dblacklist.c101 static int parse_busid(char *str, unsigned int *cssid, unsigned int *ssid, in parse_busid() argument
109 if (*str == '\0') in parse_busid()
113 str_work = str; in parse_busid()
114 val = simple_strtoul(str, &str_work, 16); in parse_busid()
127 str_work = str; in parse_busid()
144 str); in parse_busid()
149 static int blacklist_parse_parameters(char *str, range_action action, in blacklist_parse_parameters() argument
159 while ((parm = strsep(&str, ","))) { in blacklist_parse_parameters()
227 blacklist_setup (char *str) in blacklist_setup() argument
230 if (blacklist_parse_parameters(str, ad in blacklist_setup()
[all...]
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dsclp_early_core.c84 static void sclp_early_print_lm(const char *str, unsigned int len) in sclp_early_print_lm() argument
101 ch = str[offset++]; in sclp_early_print_lm()
138 static void sclp_early_print_vt220(const char *str, unsigned int len) in sclp_early_print_vt220() argument
146 memcpy(&sccb->msg.data, str, len); in sclp_early_print_vt220()
217 void __sclp_early_printk(const char *str, unsigned int len) in __sclp_early_printk() argument
226 sclp_early_print_lm(str, len); in __sclp_early_printk()
228 sclp_early_print_vt220(str, len); in __sclp_early_printk()
232 void sclp_early_printk(const char *str) in sclp_early_printk() argument
234 __sclp_early_printk(str, strlen(str)); in sclp_early_printk()
[all...]
/kernel/linux/linux-5.10/sound/pci/ymfpci/
H A Dymfpci.c173 const char *str, *model; in snd_card_ymfpci_probe() local
190 case 0x0004: str = "YMF724"; model = "DS-1"; break; in snd_card_ymfpci_probe()
191 case 0x000d: str = "YMF724F"; model = "DS-1"; break; in snd_card_ymfpci_probe()
192 case 0x000a: str = "YMF740"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
193 case 0x000c: str = "YMF740C"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
194 case 0x0010: str = "YMF744"; model = "DS-1S"; break; in snd_card_ymfpci_probe()
195 case 0x0012: str = "YMF754"; model = "DS-1E"; break; in snd_card_ymfpci_probe()
196 default: model = str = "???"; break; in snd_card_ymfpci_probe()
272 strcpy(card->driver, str); in snd_card_ymfpci_probe()
273 sprintf(card->shortname, "Yamaha %s (%s)", model, str); in snd_card_ymfpci_probe()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_print.c57 void __drm_puts_coredump(struct drm_printer *p, const char *str) in __drm_puts_coredump() argument
68 len = strlen(str); in __drm_puts_coredump()
82 str + (iterator->start - iterator->offset), copy); in __drm_puts_coredump()
89 len = min_t(ssize_t, strlen(str), iterator->remain); in __drm_puts_coredump()
91 memcpy(iterator->data + pos, str, len); in __drm_puts_coredump()
145 void __drm_puts_seq_file(struct drm_printer *p, const char *str) in __drm_puts_seq_file() argument
147 seq_puts(p->arg, str); in __drm_puts_seq_file()
178 * @str: const string
183 void drm_puts(struct drm_printer *p, const char *str) in drm_puts() argument
186 p->puts(p, str); in drm_puts()
[all...]
/kernel/linux/linux-5.10/drivers/rapidio/
H A Drio-sysfs.c40 char *str = buf; in routes_show() local
47 str += in routes_show()
48 sprintf(str, "%04x %02x\n", i, in routes_show()
52 return (str - buf); in routes_show()
70 char *str = buf; in lnext_show() local
76 str += sprintf(str, "%s\n", in lnext_show()
79 str += sprintf(str, "null\n"); in lnext_show()
83 return str in lnext_show()
[all...]

Completed in 17 milliseconds

1...<<21222324252627282930>>...160