Home
last modified time | relevance | path

Searched refs:str (Results 1001 - 1025 of 5580) sorted by relevance

1...<<41424344454647484950>>...224

/kernel/linux/linux-6.6/tools/workqueue/
H A Dwq_monitor.py111 cmw_rpr = str(self.stats[PWQ_STAT_REPATRIATED]);
113 cpu_intensive = str(self.stats[PWQ_STAT_CPU_INTENSIVE])
114 cmw_rpr = str(self.stats[PWQ_STAT_CM_WAKEUP])
117 mayday = str(self.stats[PWQ_STAT_MAYDAY])
118 rescued = str(self.stats[PWQ_STAT_RESCUED])
/kernel/linux/linux-6.6/security/apparmor/include/
H A Dmatch.h132 const char *str, int len);
134 const char *str);
138 const char *str, const char **retpos);
140 const char *str, int n, const char **retpos);
160 const char *str, unsigned int *count);
/kernel/linux/linux-6.6/lib/
H A Dparser.c274 * @str: the string to be parsed
276 * Description: Parse the string @str to check if matches wildcard
281 * Return: If the @str matches the @pattern, return true, else return false.
283 bool match_wildcard(const char *pattern, const char *str) in match_wildcard() argument
285 const char *s = str; in match_wildcard()
297 str = s; in match_wildcard()
309 str++; in match_wildcard()
310 s = str; in match_wildcard()
/foundation/communication/dsoftbus/tests/core/connection/ble/
H A Dconnection_ble_switch_test.cpp122 const char *str = "send msg local2\r\n"; in HWTEST_F() local
138 (void)strcpy_s(data.buf + 1, strlen(str), str); in HWTEST_F()
213 const char *str = "send msg local2\r\n"; in HWTEST_F() local
231 (void)strcpy_s(data.buf + 1, strlen(str), str); in HWTEST_F()
318 const char *str = "send msg local2\r\n"; in HWTEST_F() local
337 (void)strcpy_s(data.buf + 1, strlen(str), str); in HWTEST_F()
374 const char *str in HWTEST_F() local
476 const char *str = "send msg local2\\r\\n"; HWTEST_F() local
586 const char *str = "send msg local2\\r\\n"; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
H A Doid_mgt.c779 mgt_response_to_str(enum oid_num_t n, union oid_res_t *r, char *str) in mgt_response_to_str() argument
783 return scnprintf(str, PRIV_STR_SIZE, "%u\n", r->u); in mgt_response_to_str()
786 return scnprintf(str, PRIV_STR_SIZE, in mgt_response_to_str()
793 return scnprintf(str, PRIV_STR_SIZE, in mgt_response_to_str()
804 k = scnprintf(str, PRIV_STR_SIZE, "nr=%u\n", list->nr); in mgt_response_to_str()
806 k += scnprintf(str + k, PRIV_STR_SIZE - k, in mgt_response_to_str()
822 t = scnprintf(str, PRIV_STR_SIZE, "nr=%u\n", freq->nr); in mgt_response_to_str()
824 t += scnprintf(str + t, PRIV_STR_SIZE - t, in mgt_response_to_str()
831 return scnprintf(str, PRIV_STR_SIZE, in mgt_response_to_str()
838 return scnprintf(str, PRIV_STR_SIZ in mgt_response_to_str()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/utils/
H A Djsi_module_searcher.cpp70 void SplitString(const std::string& str, std::vector<std::string>& out, size_t pos = 0, const char* seps = SEPERATOR) in SplitString() argument
72 if (str.empty() || pos >= str.length()) { in SplitString()
78 while ((endPos = str.find_first_of(seps, startPos)) != std::string::npos) { in SplitString()
80 out.emplace_back(str.substr(startPos, endPos - startPos)); in SplitString()
85 if (startPos < str.length()) { in SplitString()
86 out.emplace_back(str.substr(startPos)); in SplitString()
104 inline std::string StripString(const std::string& str, const char* charSet = " \t\n\r") in StripString() argument
106 size_t startPos = str.find_first_not_of(charSet); in StripString()
111 return str in StripString()
[all...]
/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Ddsoftbus_handler.cpp467 std::string str; in DeserializeDevice() local
470 packet >> str; in DeserializeDevice() local
471 device->SetDevPath(str); in DeserializeDevice()
472 packet >> str; in DeserializeDevice() local
473 device->SetSysPath(str); in DeserializeDevice()
482 packet >> str; in DeserializeDevice() local
483 device->SetName(str); in DeserializeDevice()
484 packet >> str; in DeserializeDevice() local
485 device->SetPhys(str); in DeserializeDevice()
486 packet >> str; in DeserializeDevice() local
[all...]
/kernel/linux/linux-5.10/arch/arm/mm/
H A Dabort-lv4t.S64 str r9, [sp, #-4]!
82 str r7, [r2, r9, lsr #14] @ Put register 'Rn'
90 str r9, [sp, #-4]!
102 str r7, [r2, r9, lsr #14] @ Put register 'Rn'
112 str r9, [sp, #-4]!
118 str r7, [r2, r9, lsr #14] @ Put register 'Rn'
128 str r9, [sp, #-4]!
204 str r9, [sp, #-4]!
218 str r7, [r2, #13 << 2]
223 str r
[all...]
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dabort-lv4t.S64 str r9, [sp, #-4]!
82 str r7, [r2, r9, lsr #14] @ Put register 'Rn'
90 str r9, [sp, #-4]!
102 str r7, [r2, r9, lsr #14] @ Put register 'Rn'
112 str r9, [sp, #-4]!
118 str r7, [r2, r9, lsr #14] @ Put register 'Rn'
128 str r9, [sp, #-4]!
204 str r9, [sp, #-4]!
218 str r7, [r2, #13 << 2]
223 str r
[all...]
/kernel/linux/linux-6.6/arch/mips/txx9/generic/
H A Dpci.c398 char * (*txx9_board_pcibios_setup)(char *str) __initdata;
400 char *__init txx9_pcibios_setup(char *str) in txx9_pcibios_setup() argument
402 if (txx9_board_pcibios_setup && !txx9_board_pcibios_setup(str)) in txx9_pcibios_setup()
404 if (!strcmp(str, "picmg")) { in txx9_pcibios_setup()
409 } else if (!strcmp(str, "nopicmg")) { in txx9_pcibios_setup()
414 } else if (!strncmp(str, "clk=", 4)) { in txx9_pcibios_setup()
415 char *val = str + 4; in txx9_pcibios_setup()
424 } else if (!strncmp(str, "err=", 4)) { in txx9_pcibios_setup()
425 if (!strcmp(str + 4, "panic")) in txx9_pcibios_setup()
427 else if (!strcmp(str in txx9_pcibios_setup()
[all...]
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dtraps.c41 char str[sizeof("0000 ") * 12 + 2 + 1], *p = str; in dump_kernel_instr() local
57 printk("%sCode: %s\n", loglvl, str); in dump_kernel_instr()
60 void die(struct pt_regs *regs, const char *str) in die() argument
73 pr_emerg("%s [#%d]\n", str, ++die_counter); in die()
81 ret = notify_die(DIE_OOPS, str, regs, 0, cause, SIGSEGV); in die()
116 unsigned long addr, const char *str) in do_trap_error()
124 die(regs, str); in do_trap_error()
133 #define DO_ERROR_INFO(name, signo, code, str) \
138 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \
115 do_trap_error(struct pt_regs *regs, int signo, int code, unsigned long addr, const char *str) do_trap_error() argument
[all...]
/kernel/linux/linux-5.10/drivers/parport/
H A Dprocfs.c77 const char *str; in do_autoprobe() local
89 if ((str = info->class_name) != NULL) in do_autoprobe()
90 len += sprintf (buffer + len, "CLASS:%s;\n", str); in do_autoprobe()
92 if ((str = info->model) != NULL) in do_autoprobe()
93 len += sprintf (buffer + len, "MODEL:%s;\n", str); in do_autoprobe()
95 if ((str = info->mfr) != NULL) in do_autoprobe()
96 len += sprintf (buffer + len, "MANUFACTURER:%s;\n", str); in do_autoprobe()
98 if ((str = info->description) != NULL) in do_autoprobe()
99 len += sprintf (buffer + len, "DESCRIPTION:%s;\n", str); in do_autoprobe()
101 if ((str in do_autoprobe()
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dwatchdog.c75 static int __init hardlockup_panic_setup(char *str) in hardlockup_panic_setup() argument
77 if (!strncmp(str, "panic", 5)) in hardlockup_panic_setup()
79 else if (!strncmp(str, "nopanic", 7)) in hardlockup_panic_setup()
81 else if (!strncmp(str, "0", 1)) in hardlockup_panic_setup()
83 else if (!strncmp(str, "1", 1)) in hardlockup_panic_setup()
181 static int __init softlockup_panic_setup(char *str) in softlockup_panic_setup() argument
183 softlockup_panic = simple_strtoul(str, NULL, 0); in softlockup_panic_setup()
188 static int __init nowatchdog_setup(char *str) in nowatchdog_setup() argument
195 static int __init nosoftlockup_setup(char *str) in nosoftlockup_setup() argument
202 static int __init watchdog_thresh_setup(char *str) in watchdog_thresh_setup() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dkernel.h360 extern int get_option(char **str, int *pint);
361 extern char *get_options(const char *str, int nints, int *ints);
363 extern bool parse_option_str(const char *str, const char *option);
607 * @str: the string to record
627 * (1 when __trace_bputs is used, strlen(str) when __trace_puts is used)
630 #define trace_puts(str) ({ \
633 __builtin_constant_p(str) ? str : NULL; \
635 if (__builtin_constant_p(str)) \
638 __trace_puts(_THIS_IP_, str, strle
[all...]
/kernel/linux/linux-6.6/drivers/parport/
H A Dprocfs.c84 const char *str; in do_autoprobe() local
96 if ((str = info->class_name) != NULL) in do_autoprobe()
97 len += sprintf (buffer + len, "CLASS:%s;\n", str); in do_autoprobe()
99 if ((str = info->model) != NULL) in do_autoprobe()
100 len += sprintf (buffer + len, "MODEL:%s;\n", str); in do_autoprobe()
102 if ((str = info->mfr) != NULL) in do_autoprobe()
103 len += sprintf (buffer + len, "MANUFACTURER:%s;\n", str); in do_autoprobe()
105 if ((str = info->description) != NULL) in do_autoprobe()
106 len += sprintf (buffer + len, "DESCRIPTION:%s;\n", str); in do_autoprobe()
108 if ((str in do_autoprobe()
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dwatchdog.c73 static int __init hardlockup_panic_setup(char *str) in hardlockup_panic_setup() argument
75 if (!strncmp(str, "panic", 5)) in hardlockup_panic_setup()
77 else if (!strncmp(str, "nopanic", 7)) in hardlockup_panic_setup()
79 else if (!strncmp(str, "0", 1)) in hardlockup_panic_setup()
81 else if (!strncmp(str, "1", 1)) in hardlockup_panic_setup()
287 static int __init softlockup_panic_setup(char *str) in softlockup_panic_setup() argument
289 softlockup_panic = simple_strtoul(str, NULL, 0); in softlockup_panic_setup()
294 static int __init nowatchdog_setup(char *str) in nowatchdog_setup() argument
301 static int __init nosoftlockup_setup(char *str) in nosoftlockup_setup() argument
308 static int __init watchdog_thresh_setup(char *str) in watchdog_thresh_setup() argument
[all...]
/applications/standard/contacts_data/ability/sinicization/src/
H A Dcharacter_transliterate.cpp2090 std::wstring str; in Join() local
2094 str.append(childVector[i]); in Join()
2096 str.append(split); in Join()
2100 return str; in Join()
2111 std::wstring CharacterTransliterate::StringToWstring(std::string str) in StringToWstring() argument
2115 return converterX.from_bytes(str); in StringToWstring()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/operation/
H A Dphoto_displayname_operation.h55 yearMonthDayStr = "_" + yearMonthDayStream.str(); in ToString()
56 hourMinuteSecondStr = "_" + hourMinuteSecondStream.str(); in ToString()
111 int32_t ToNumber(const std::string &str) in ToNumber() argument
114 long number = std::strtol(str.c_str(), &end, 10); in ToNumber()
117 MEDIA_ERR_LOG("ToNumber failed, has invalid char. str: %{public}s", str.c_str()); in ToNumber()
120 MEDIA_ERR_LOG("ToNumber failed, number overflow. str: %{public}s", str.c_str()); in ToNumber()
/foundation/communication/nfc/services/src/card_emulation/
H A Dsetting_data_share_impl.cpp113 void SettingDataShareImpl::Split(const std::string& str, const std::string& delim, std::vector<std::string>& vec) in Split() argument
116 std::string::size_type pos2 = str.find(delim); in Split()
118 vec.push_back(str.substr(pos1, pos2 - pos1)); in Split()
120 pos2 = str.find(delim, pos1); in Split()
122 if (pos1 != str.size()) { in Split()
123 vec.push_back(str.substr(pos1)); in Split()
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_dfx.cpp83 std::string str = std::string(ARGS_HELP_INFO); in HWTEST_F() local
85 args.push_back(str); in HWTEST_F()
226 std::string str = "argsTest"; in HWTEST_F() local
228 args.push_back(str); in HWTEST_F()
242 std::string str = std::string(HIDUMPER_GET_TRUSTED_LIST_INFO); in HWTEST_F() local
244 args.push_back(str); in HWTEST_F()
/foundation/filemanagement/file_api/interfaces/kits/rust/src/
H A Dadapter.rs54 pub str: *mut c_char,
113 str: line.into_raw(),
159 if let Some(str) = parent.to_str() {
162 let par_path = CString::new(str).unwrap();
165 str: par_path.into_raw(),
190 str: s.into_raw(),
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dmconsole_user.c126 int mconsole_reply_len(struct mc_request *req, const char *str, int total, in mconsole_reply_len() argument
148 memcpy(reply.data, str, len); in mconsole_reply_len()
151 str += len; in mconsole_reply_len()
165 int mconsole_reply(struct mc_request *req, const char *str, int err, int more) in mconsole_reply() argument
167 return mconsole_reply_len(req, str, strlen(str), err, more); in mconsole_reply()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dsleep33xx.S37 str r4, [r2, #AMX3_PM_WFI_FLAGS_OFFSET]
97 str r2, [r1]
118 str r2, [r1]
163 str r2, [r1]
168 str r2, [r1]
208 str r1, [r0]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtrace.c120 int trace_log_string(struct trace_buffer *tb, char *str) in trace_log_string() argument
126 len = strlen(str); in trace_log_string()
135 memcpy(p, str, len); in trace_log_string()
226 char *str; in trace_print_string() local
228 str = (char *)e->data; in trace_print_string()
229 puts(str); in trace_print_string()
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Dsleep33xx.S37 str r4, [r2, #AMX3_PM_WFI_FLAGS_OFFSET]
97 str r2, [r1]
118 str r2, [r1]
163 str r2, [r1]
168 str r2, [r1]
208 str r1, [r0]

Completed in 24 milliseconds

1...<<41424344454647484950>>...224