Home
last modified time | relevance | path

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

12345678910>>...107

/linux/drivers/acpi/acpica/
A Dutstrsuppt.c47 while (*string) { in acpi_ut_convert_octal_string()
68 string++; in acpi_ut_convert_octal_string()
101 while (*string) { in acpi_ut_convert_decimal_string()
107 if (!isdigit((int)*string)) { in acpi_ut_convert_decimal_string()
122 string++; in acpi_ut_convert_decimal_string()
155 while (*string) { in acpi_ut_convert_hex_string()
176 string++; in acpi_ut_convert_hex_string()
204 *string += 1; in acpi_ut_remove_leading_zeros()
207 return (**string); in acpi_ut_remove_leading_zeros()
229 *string += 1; in acpi_ut_remove_whitespace()
[all …]
A Dutstrtoul64.c86 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()
115 if (!acpi_ut_remove_leading_zeros(&string)) { in acpi_ut_strtoul64()
206 u64 acpi_ut_implicit_strtoul64(char *string) in acpi_ut_implicit_strtoul64() argument
212 if (!acpi_ut_remove_whitespace(&string)) { in acpi_ut_implicit_strtoul64()
221 acpi_ut_remove_hex_prefix(&string); in acpi_ut_implicit_strtoul64()
287 u64 acpi_ut_explicit_strtoul64(char *string) in acpi_ut_explicit_strtoul64() argument
294 if (!acpi_ut_remove_whitespace(&string)) { in acpi_ut_explicit_strtoul64()
[all …]
A Dutprint.c56 string++; in acpi_ut_bound_string_length()
81 *string = c; in acpi_ut_bound_string_output()
84 ++string; in acpi_ut_bound_string_output()
110 pos = string; in acpi_ut_put_number()
269 string = acpi_ut_bound_string_output(string, end, ' '); in acpi_ut_format_number()
273 string = acpi_ut_bound_string_output(string, end, sign); in acpi_ut_format_number()
276 string = acpi_ut_bound_string_output(string, end, '0'); in acpi_ut_format_number()
278 string = in acpi_ut_format_number()
290 string = acpi_ut_bound_string_output(string, end, '0'); in acpi_ut_format_number()
293 string = acpi_ut_bound_string_output(string, end, in acpi_ut_format_number()
[all …]
A Ddbinput.c470 if (!string || !(*string)) { in acpi_db_get_next_token()
476 while (*string && isspace((int)*string)) { in acpi_db_get_next_token()
477 string++; in acpi_db_get_next_token()
489 string++; in acpi_db_get_next_token()
495 while (*string && (*string != '"')) { in acpi_db_get_next_token()
504 string++; in acpi_db_get_next_token()
510 while (*string && (*string != ')')) { in acpi_db_get_next_token()
519 string++; in acpi_db_get_next_token()
525 while (*string && (*string != '}')) { in acpi_db_get_next_token()
549 while (*string && (*string != '"')) { in acpi_db_get_next_token()
[all …]
A 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()
A Ddbconvert.c111 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()
140 while (string[i] && ((string[i] == ',') || (string[i] == ' '))) { in acpi_db_convert_to_buffer()
178 this = string; in acpi_db_convert_to_package()
223 char *string, union acpi_object *object) in acpi_db_convert_to_object() argument
231 object->string.pointer = string; in acpi_db_convert_to_object()
232 object->string.length = (u32)strlen(string); in acpi_db_convert_to_object()
237 status = acpi_db_convert_to_buffer(string, object); in acpi_db_convert_to_object()
[all …]
A Dexstorob.c144 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()
180 memcpy(target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string()
[all …]
A 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()
A Dutids.c57 length = obj_desc->string.length + 1; in acpi_ut_execute_HID()
72 hid->string = 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()
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()
293 length = cid_objects[i]->string.length + 1; in acpi_ut_execute_CID()
296 cid_list->ids[i].string = next_id_string; in acpi_ut_execute_CID()
387 cls->string = in acpi_ut_execute_CLS()
[all …]
/linux/Documentation/firmware-guide/acpi/apei/
A Doutput_format.rst16 fru_id: <uuid string>
17 fru_text: <string>
18 section_type: <section type string>
80 <mem error type string>* :=
99 <aer status string>
101 aer_layer=<aer layer string>, aer_agent=<aer agent string>
111 <aer status string># :=
118 <aer status string># :=
124 <aer layer string> :=
127 <aer agent string> :=
[all …]
/linux/arch/m68k/hp300/
A 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 …]
/linux/tools/lib/traceevent/
A 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 …]
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
A DCore.py31 string = ""
37 string += flag_fields[event_name][field_name]['values'][idx]
42 string += flag_fields[event_name][field_name]['values'][idx]
46 return string
49 string = ""
60 return string
70 string = ""
75 string += "NONE"
80 string += " | ";
81 string += trace_flags[idx]
[all …]
/linux/drivers/s390/char/
A 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~"
185 # string F21 ??
186 # string F22 ??
187 # string F23 ??
[all …]
A Draw3270.h206 struct string struct
212 char string[]; argument
215 static inline struct string *
218 struct string *cs, *tmp; in alloc_string()
229 cs->size -= size + sizeof(struct string); in alloc_string()
244 struct string *tmp; in free_string()
250 if (list_entry(p, struct string, list) > cs) in free_string()
264 tmp = list_entry(left, struct string, list); in free_string()
277 struct string *cs; in add_string_memory()
279 cs = (struct string *) mem; in add_string_memory()
[all …]
A Dcon3270.c97 memcpy(cp->status->string + 24, str, 7); in con3270_update_status()
134 if (s->string[s->len - 4] != TO_RA) in con3270_update_string()
146 struct string *s, *n; in con3270_rebuild_update()
169 static struct string *
172 struct string *s, *n; in con3270_alloc_string()
216 struct string *s, *n; in con3270_update()
309 switch (cp->input->string[0]) { in con3270_read_tasklet()
465 struct string *s; in con3270_cline_end()
472 memcpy(s->string, cp->cline->string, cp->cline->len); in con3270_cline_end()
474 s->string[s->len - 4] = TO_RA; in con3270_cline_end()
[all …]
/linux/include/trace/events/
A Dmmflags.h61 #define IF_HAVE_PG_MLOCK(flag,string) ,{1UL << flag, string} argument
63 #define IF_HAVE_PG_MLOCK(flag,string) argument
67 #define IF_HAVE_PG_UNCACHED(flag,string) ,{1UL << flag, string} argument
69 #define IF_HAVE_PG_UNCACHED(flag,string) argument
73 #define IF_HAVE_PG_HWPOISON(flag,string) ,{1UL << flag, string} argument
75 #define IF_HAVE_PG_HWPOISON(flag,string) argument
79 #define IF_HAVE_PG_IDLE(flag,string) ,{1UL << flag, string} argument
81 #define IF_HAVE_PG_IDLE(flag,string) argument
85 #define IF_HAVE_PG_ARCH_2(flag,string) ,{1UL << flag, string} argument
87 #define IF_HAVE_PG_ARCH_2(flag,string) argument
[all …]
/linux/scripts/genksyms/
A Dgenksyms.c325 free(node->string); in free_node()
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()
433 *node.string++ = c; in read_node()
437 *node.string = 0; in read_node()
438 node.string = buffer; in read_node()
446 node.string += 2; in read_node()
498 fputs(list->string, f); in print_node()
[all …]
/linux/drivers/net/ethernet/brocade/bna/
A Dbnad_ethtool.c534 ethtool_sprintf(string, "txf%d_ucast", f_num); in bnad_get_txf_strings()
537 ethtool_sprintf(string, "txf%d_mcast", f_num); in bnad_get_txf_strings()
540 ethtool_sprintf(string, "txf%d_bcast", f_num); in bnad_get_txf_strings()
566 ethtool_sprintf(string, "cq%d_intr", q_num); in bnad_get_cq_strings()
567 ethtool_sprintf(string, "cq%d_poll", q_num); in bnad_get_cq_strings()
613 bnad_get_txf_strings(&string, i); in bnad_get_strings()
620 bnad_get_rxf_strings(&string, i); in bnad_get_strings()
629 bnad_get_cq_strings(&string, q_num++); in bnad_get_strings()
637 bnad_get_rxq_strings(&string, q_num++); in bnad_get_strings()
641 bnad_get_rxq_strings(&string, q_num++); in bnad_get_strings()
[all …]
/linux/security/smack/
A Dsmack_access.c291 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()
427 hash = full_name_hash(NULL, string, strlen(string)); in smk_find_entry()
457 if (string[0] == '-') in smk_parse_smack()
461 if (string[i] > '~' || string[i] <= ' ' || string[i] == '/' || in smk_parse_smack()
[all …]
/linux/arch/arm/mm/
A 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"
/linux/drivers/pci/hotplug/
A 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()
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()
139 (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware()
[all …]
/linux/drivers/tty/vt/
A 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 …]
/linux/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
A 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;
/linux/drivers/md/
A Ddm-switch.c367 (*string)++; in parse_hex()
381 const char *string = argv[i]; in process_set_region_mappings() local
386 string++; in process_set_region_mappings()
396 string++; in process_set_region_mappings()
397 if (unlikely(!*string)) { in process_set_region_mappings()
402 if (unlikely(*string)) { in process_set_region_mappings()
428 if (*string == ':') in process_set_region_mappings()
438 string++; in process_set_region_mappings()
439 if (unlikely(!*string)) { in process_set_region_mappings()
444 path_nr = parse_hex(&string); in process_set_region_mappings()
[all …]

Completed in 38 milliseconds

12345678910>>...107