Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 1349) sorted by relevance

12345678910>>...54

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dutstrsuppt.c40 acpi_status acpi_ut_convert_octal_string(char *string, u64 *return_value_ptr) in acpi_ut_convert_octal_string() argument
47 while (*string) { in acpi_ut_convert_octal_string()
53 if (!(ACPI_IS_OCTAL_DIGIT(*string))) { in acpi_ut_convert_octal_string()
62 status = acpi_ut_insert_digit(&accumulated_value, 8, *string); in acpi_ut_convert_octal_string()
68 string++; in acpi_ut_convert_octal_string()
94 acpi_status acpi_ut_convert_decimal_string(char *string, u64 *return_value_ptr) in acpi_ut_convert_decimal_string() argument
101 while (*string) { in acpi_ut_convert_decimal_string()
107 if (!isdigit(*string)) { in acpi_ut_convert_decimal_string()
116 status = acpi_ut_insert_digit(&accumulated_value, 10, *string); in acpi_ut_convert_decimal_string()
122 string++; in acpi_ut_convert_decimal_string()
[all …]
Dutstrtoul64.c80 acpi_status acpi_ut_strtoul64(char *string, u64 *return_value) in acpi_ut_strtoul64() argument
86 ACPI_FUNCTION_TRACE_STR(ut_strtoul64, string); in acpi_ut_strtoul64()
92 if (*string == 0) { in acpi_ut_strtoul64()
96 if (!acpi_ut_remove_whitespace(&string)) { in acpi_ut_strtoul64()
103 if (acpi_ut_detect_hex_prefix(&string)) { in acpi_ut_strtoul64()
111 else if (acpi_ut_detect_octal_prefix(&string)) { in acpi_ut_strtoul64()
115 if (!acpi_ut_remove_leading_zeros(&string)) { in acpi_ut_strtoul64()
133 status = acpi_ut_convert_octal_string(string, return_value); in acpi_ut_strtoul64()
137 status = acpi_ut_convert_decimal_string(string, return_value); in acpi_ut_strtoul64()
142 status = acpi_ut_convert_hex_string(string, return_value); in acpi_ut_strtoul64()
[all …]
Dutprint.c25 acpi_ut_bound_string_length(const char *string, acpi_size count);
27 static char *acpi_ut_bound_string_output(char *string, const char *end, char c);
29 static char *acpi_ut_format_number(char *string,
34 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper);
50 acpi_ut_bound_string_length(const char *string, acpi_size count) in acpi_ut_bound_string_length() argument
54 while (*string && count) { in acpi_ut_bound_string_length()
56 string++; in acpi_ut_bound_string_length()
77 static char *acpi_ut_bound_string_output(char *string, const char *end, char c) in acpi_ut_bound_string_output() argument
80 if (string < end) { in acpi_ut_bound_string_output()
81 *string = c; in acpi_ut_bound_string_output()
[all …]
Ddbinput.c461 char *acpi_db_get_next_token(char *string, in acpi_db_get_next_token() argument
470 if (!string || !(*string)) { in acpi_db_get_next_token()
476 while (*string && isspace(*string)) { in acpi_db_get_next_token()
477 string++; in acpi_db_get_next_token()
480 if (!(*string)) { in acpi_db_get_next_token()
484 switch (*string) { in acpi_db_get_next_token()
489 string++; in acpi_db_get_next_token()
490 start = string; in acpi_db_get_next_token()
495 while (*string && (*string != '"')) { in acpi_db_get_next_token()
496 string++; in acpi_db_get_next_token()
[all …]
Dutnonansi.c31 char *string; in acpi_ut_strlwr() local
41 for (string = src_string; *string; string++) { in acpi_ut_strlwr()
42 *string = (char)tolower((int)*string); in acpi_ut_strlwr()
60 char *string; in acpi_ut_strupr() local
70 for (string = src_string; *string; string++) { in acpi_ut_strupr()
71 *string = (char)toupper((int)*string); in acpi_ut_strupr()
Dexstorob.c143 buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); in acpi_ex_store_string_to_string()
144 length = source_desc->string.length; in acpi_ex_store_string_to_string()
150 if ((length < target_desc->string.length) && in acpi_ex_store_string_to_string()
156 memset(target_desc->string.pointer, 0, in acpi_ex_store_string_to_string()
157 (acpi_size)target_desc->string.length + 1); in acpi_ex_store_string_to_string()
158 memcpy(target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string()
164 if (target_desc->string.pointer && in acpi_ex_store_string_to_string()
169 ACPI_FREE(target_desc->string.pointer); in acpi_ex_store_string_to_string()
172 target_desc->string.pointer = in acpi_ex_store_string_to_string()
175 if (!target_desc->string.pointer) { in acpi_ex_store_string_to_string()
[all …]
Dutstring.c29 void acpi_ut_print_string(char *string, u16 max_length) in acpi_ut_print_string() argument
33 if (!string) { in acpi_ut_print_string()
39 for (i = 0; (i < max_length) && string[i]; i++) { in acpi_ut_print_string()
43 switch (string[i]) { in acpi_ut_print_string()
83 acpi_os_printf("\\%c", (int)string[i]); in acpi_ut_print_string()
90 if (isprint((int)string[i])) { in acpi_ut_print_string()
93 acpi_os_printf("%c", (int)string[i]); in acpi_ut_print_string()
97 acpi_os_printf("\\x%2.2X", (s32)string[i]); in acpi_ut_print_string()
105 if (i == max_length && string[i]) { in acpi_ut_print_string()
Ddbconvert.c101 acpi_db_convert_to_buffer(char *string, union acpi_object *object) in acpi_db_convert_to_buffer() argument
111 acpi_ut_remove_whitespace(&string); in acpi_db_convert_to_buffer()
115 for (i = 0, length = 0; string[i];) { in acpi_db_convert_to_buffer()
119 while (string[i] && ((string[i] == ',') || (string[i] == ' '))) { in acpi_db_convert_to_buffer()
131 for (i = 0, j = 0; string[i];) { in acpi_db_convert_to_buffer()
132 status = acpi_db_hex_byte_to_binary(&string[i], &buffer[j]); in acpi_db_convert_to_buffer()
140 while (string[i] && ((string[i] == ',') || (string[i] == ' '))) { in acpi_db_convert_to_buffer()
165 acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object) in acpi_db_convert_to_package() argument
178 this = string; in acpi_db_convert_to_package()
223 char *string, union acpi_object *object) in acpi_db_convert_to_object() argument
[all …]
Dutids.c57 length = obj_desc->string.length + 1; in acpi_ut_execute_HID()
72 hid->string = in acpi_ut_execute_HID()
78 acpi_ex_eisa_id_to_string(hid->string, obj_desc->integer.value); in acpi_ut_execute_HID()
80 strcpy(hid->string, obj_desc->string.pointer); in acpi_ut_execute_HID()
135 length = obj_desc->string.length + 1; in acpi_ut_execute_UID()
150 uid->string = in acpi_ut_execute_UID()
156 acpi_ex_integer_to_string(uid->string, obj_desc->integer.value); in acpi_ut_execute_UID()
158 strcpy(uid->string, obj_desc->string.pointer); in acpi_ut_execute_UID()
249 string_area_size += cid_objects[i]->string.length + 1; in acpi_ut_execute_CID()
292 strcpy(next_id_string, cid_objects[i]->string.pointer); in acpi_ut_execute_CID()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c528 bnad_get_strings(struct net_device *netdev, u32 stringset, u8 *string) in bnad_get_strings() argument
541 strncpy(string, bnad_net_stats_strings[i], in bnad_get_strings()
543 string += ETH_GSTRING_LEN; in bnad_get_strings()
548 sprintf(string, "txf%d_ucast_octets", i); in bnad_get_strings()
549 string += ETH_GSTRING_LEN; in bnad_get_strings()
550 sprintf(string, "txf%d_ucast", i); in bnad_get_strings()
551 string += ETH_GSTRING_LEN; in bnad_get_strings()
552 sprintf(string, "txf%d_ucast_vlan", i); in bnad_get_strings()
553 string += ETH_GSTRING_LEN; in bnad_get_strings()
554 sprintf(string, "txf%d_mcast_octets", i); in bnad_get_strings()
[all …]
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/apei/
Doutput_format.rst12 severity: <integer>, <severity string>
13 section: <integer>, severity: <integer>, <severity string>
16 fru_id: <uuid string>
17 fru_text: <string>
18 section_type: <section type string>
21 <severity string>* := recoverable | fatal | corrected | info
27 <section type string> := generic processor error | memory error | \
28 PCIe error | unknown, <uuid string>
35 [processor_type: <integer>, <proc type string>]
36 [processor_isa: <integer>, <proc isa string>]
[all …]
/kernel/linux/linux-5.10/tools/lib/traceevent/
Devent-utils.h29 static inline char *strim(char *string) in strim() argument
33 if (!string) in strim()
35 while (*string) { in strim()
36 if (!isspace(*string)) in strim()
38 string++; in strim()
40 ret = string; in strim()
42 string = ret + strlen(ret) - 1; in strim()
43 while (string > ret) { in strim()
44 if (!isspace(*string)) in strim()
46 string--; in strim()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dmmflags.h59 #define IF_HAVE_PG_PURGEABLE(flag,string) ,{1UL << flag, string} argument
61 #define IF_HAVE_PG_PURGEABLE(flag,string) argument
65 #define IF_HAVE_PG_XPM_INTEGRITY(flag,string) ,{1UL << flag, string} argument
67 #define IF_HAVE_PG_XPM_INTEGRITY(flag,string) argument
71 #define IF_HAVE_PG_MLOCK(flag,string) ,{1UL << flag, string} argument
73 #define IF_HAVE_PG_MLOCK(flag,string) argument
77 #define IF_HAVE_PG_UNCACHED(flag,string) ,{1UL << flag, string} argument
79 #define IF_HAVE_PG_UNCACHED(flag,string) argument
83 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << flag, string} argument
85 #define IF_HAVE_PG_HWPOISON(flag,string) argument
[all …]
/kernel/linux/linux-5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py31 string = ""
37 string += flag_fields[event_name][field_name]['values'][idx]
41 string += " " + flag_fields[event_name][field_name]['delim'] + " "
42 string += flag_fields[event_name][field_name]['values'][idx]
46 return string
49 string = ""
54 string = symbolic_fields[event_name][field_name]['values'][idx]
57 string = symbolic_fields[event_name][field_name]['values'][idx]
60 return string
70 string = ""
[all …]
/kernel/linux/linux-5.10/arch/m68k/hp300/
Dhp300map.map157 string F1 = "\033[[A"
158 string F2 = "\033[[B"
159 string F3 = "\033[[C"
160 string F4 = "\033[[D"
161 string F5 = "\033[[E"
162 string F6 = "\033[17~"
163 string F7 = "\033[18~"
164 string F8 = "\033[19~"
165 string F9 = "\033[20~"
166 string F10 = "\033[21~"
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
Ddefkeymap.map165 string F1 = "\033[[A"
166 string F2 = "\033[[B"
167 string F3 = "\033[[C"
168 string F4 = "\033[[D"
169 string F5 = "\033[[E"
170 string F6 = "\033[17~"
171 string F7 = "\033[18~"
172 string F8 = "\033[19~"
173 string F9 = "\033[20~"
174 string F10 = "\033[21~"
[all …]
Draw3270.h207 struct string struct
213 char string[]; argument
216 static inline struct string *
219 struct string *cs, *tmp; in alloc_string()
226 if (cs->size > size + sizeof(struct string)) { in alloc_string()
228 tmp = (struct string *) (endaddr - size) - 1; in alloc_string()
230 cs->size -= size + sizeof(struct string); in alloc_string()
243 free_string(struct list_head *free_list, struct string *cs) in free_string()
245 struct string *tmp; in free_string()
251 if (list_entry(p, struct string, list) > cs) in free_string()
[all …]
/kernel/linux/linux-5.10/scripts/genksyms/
Dgenksyms.c59 static struct string_list *mk_node(const char *string);
178 strcmp(defn->string, "}") == 0 && in is_unknown_symbol()
180 strcmp(defn->string, "UNKNOWN") == 0 && in is_unknown_symbol()
182 strcmp(defn->string, "{") == 0); in is_unknown_symbol()
325 free(node->string); in free_node()
338 static struct string_list *mk_node(const char *string) in mk_node() argument
343 newnode->string = xstrdup(string); in mk_node()
372 newnode->string = xstrdup(node->string); in copy_node()
397 if (a->tag != b->tag || strcmp(a->string, b->string)) in equal_list()
412 .string = buffer, in read_node()
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
Dproc-arm7tdmi.S62 string cpu_arch_name, "armv4t"
63 string cpu_elf_name, "v4"
64 string cpu_arm7tdmi_name, "ARM7TDMI"
65 string cpu_triscenda7_name, "Triscend-A7x"
66 string cpu_at91_name, "Atmel-AT91M40xxx"
67 string cpu_s3c3410_name, "Samsung-S3C3410"
68 string cpu_s3c44b0x_name, "Samsung-S3C44B0x"
69 string cpu_s3c4510b_name, "Samsung-S3C4510B"
70 string cpu_s3c4530_name, "Samsung-S3C4530"
71 string cpu_netarm_name, "NETARM"
/kernel/linux/linux-5.10/security/smack/
Dsmack_access.c286 static inline void smack_str_from_perm(char *string, int access) in smack_str_from_perm() argument
291 string[i++] = 'r'; in smack_str_from_perm()
293 string[i++] = 'w'; in smack_str_from_perm()
295 string[i++] = 'x'; in smack_str_from_perm()
297 string[i++] = 'a'; in smack_str_from_perm()
299 string[i++] = 't'; in smack_str_from_perm()
301 string[i++] = 'l'; in smack_str_from_perm()
302 string[i] = '\0'; in smack_str_from_perm()
420 struct smack_known *smk_find_entry(const char *string) in smk_find_entry() argument
426 hash = full_name_hash(NULL, string, strlen(string)); in smk_find_entry()
[all …]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dacpi_pcihp.c41 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_run_oshp() local
43 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp()
50 __func__, (char *)string.pointer, status); in acpi_run_oshp()
53 __func__, (char *)string.pointer); in acpi_run_oshp()
56 (char *)string.pointer); in acpi_run_oshp()
58 kfree(string.pointer); in acpi_run_oshp()
74 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_get_hp_hw_control_from_firmware() local
120 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware()
122 (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware()
135 kfree(string.pointer); in acpi_get_hp_hw_control_from_firmware()
[all …]
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/
DIt_process_plimits_ipc_008.cpp44 std::string plimitsPath = "/proc/plimits/test"; in ItProcessPlimitsIpc008()
45 std::string configFileMqCount = "/proc/plimits/test/ipc.mq_limit"; in ItProcessPlimitsIpc008()
46 std::string mqLimitCount_0 = "111*"; in ItProcessPlimitsIpc008()
47 std::string mqLimitCount_1 = "123abc"; in ItProcessPlimitsIpc008()
48 std::string mqLimitCount_2 = "\"123 456\""; in ItProcessPlimitsIpc008()
49 std::string mqLimitCount_3 = "\123"; in ItProcessPlimitsIpc008()
50 std::string mqLimitCount_4 = "10000000000000000000000000000000001"; in ItProcessPlimitsIpc008()
51 std::string mqLimitCount_5 = "\1\2\3"; in ItProcessPlimitsIpc008()
DIt_process_plimits_ipc_012.cpp44 std::string plimitsPath = "/proc/plimits/test"; in ItProcessPlimitsIpc012()
45 std::string configFileShmSize = "/proc/plimits/test/ipc.shm_limit"; in ItProcessPlimitsIpc012()
46 std::string shmLimitSize_0 = "111*"; in ItProcessPlimitsIpc012()
47 std::string shmLimitSize_1 = "123abc"; in ItProcessPlimitsIpc012()
48 std::string shmLimitSize_2 = "\"123 456\""; in ItProcessPlimitsIpc012()
49 std::string shmLimitSize_3 = "\123"; in ItProcessPlimitsIpc012()
50 std::string shmLimitSize_4 = "10000000000000000000000000000000001"; in ItProcessPlimitsIpc012()
51 std::string shmLimitSize_5 = "\1\2\3"; in ItProcessPlimitsIpc012()
/kernel/linux/linux-5.10/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DCore.pm35 my $string;
41 $string .= "NONE";
47 $string .= " | ";
49 $string .= "$trace_flags{$idx}";
55 return $string;
65 my $string;
71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
76 $string .= " $flag_fields{$event_name}{$field_name}{'delim'} ";
78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
85 return $string;
/kernel/linux/linux-5.10/drivers/tty/vt/
Ddefkeymap.map263 string F1 = "\033[[A"
264 string F2 = "\033[[B"
265 string F3 = "\033[[C"
266 string F4 = "\033[[D"
267 string F5 = "\033[[E"
268 string F6 = "\033[17~"
269 string F7 = "\033[18~"
270 string F8 = "\033[19~"
271 string F9 = "\033[20~"
272 string F10 = "\033[21~"
[all …]

12345678910>>...54