Home
last modified time | relevance | path

Searched full:string (Results 1 – 25 of 4331) sorted by relevance

12345678910>>...174

/Linux-v6.1/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 …]
/Linux-v6.1/drivers/acpi/acpica/
Dutstrsuppt.c4 * Module Name: utstrsuppt - Support functions for string-to-integer conversion
27 * PARAMETERS: string - Null terminated input string
32 * DESCRIPTION: Performs a base 8 conversion of the input string to an
40 acpi_status acpi_ut_convert_octal_string(char *string, u64 *return_value_ptr) in acpi_ut_convert_octal_string() argument
45 /* Convert each ASCII byte in the input string */ in acpi_ut_convert_octal_string()
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()
81 * PARAMETERS: string - Null terminated input string
[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);
40 * PARAMETERS: string - String with boundary
41 * count - Boundary of the string
43 * RETURN: Length of the string. Less than or equal to Count.
45 * DESCRIPTION: Calculate the length of a string with boundary.
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()
[all …]
Dutids.c22 * return_id - Where the string HID is returned
28 * Integer or a String. A string is always returned. An EISAID
29 * is converted to a string.
52 /* Get the size of the String to be returned, includes null terminator */ in acpi_ut_execute_HID()
57 length = obj_desc->string.length + 1; in acpi_ut_execute_HID()
70 /* Area for the string starts after PNP_DEVICE_ID struct */ in acpi_ut_execute_HID()
72 hid->string = in acpi_ut_execute_HID()
75 /* Convert EISAID to a string or simply copy existing 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()
[all …]
Dutstrtoul64.c4 * Module Name: utstrtoul64 - String-to-integer conversion support for both
17 * This module contains the top-level string to 64/32-bit unsigned integer
23 * constants than the runtime (interpreter) integer-to-string conversions.
34 * debugger - Command line input string conversion
51 * support (explicit/implicit) for octal string conversions.
58 * PARAMETERS: string - Null terminated input string,
66 * DESCRIPTION: Convert a string into an unsigned integer. Always performs a
80 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()
90 /* A NULL return string returns a value of zero */ in acpi_ut_strtoul64()
[all …]
Dutnonansi.c16 * string functions.
22 * PARAMETERS: src_string - The source string to convert
26 * DESCRIPTION: Convert a string to lowercase
31 char *string; in acpi_ut_strlwr() local
39 /* Walk entire string, lowercasing the letters */ in acpi_ut_strlwr()
41 for (string = src_string; *string; string++) { in acpi_ut_strlwr()
42 *string = (char)tolower((int)*string); in acpi_ut_strlwr()
50 * PARAMETERS: src_string - The source string to convert
54 * DESCRIPTION: Convert a string to uppercase
60 char *string; in acpi_ut_strupr() local
[all …]
Dexconvrt.c20 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 max_length);
27 * Integer, Buffer, or String
29 * implicit_conversion - Used for string conversion
61 /* Note: Takes advantage of common buffer/string fields */ in acpi_ex_convert_to_integer()
73 * Convert the buffer/string to an integer. Note that both buffers and in acpi_ex_convert_to_integer()
79 * 2) The end of the buffer or string has been reached in acpi_ex_convert_to_integer()
83 /* String conversion is different than Buffer conversion */ in acpi_ex_convert_to_integer()
88 * Convert string to an integer - for most cases, the string must be in acpi_ex_convert_to_integer()
94 * All other string-to-integer conversions are implicit conversions. in acpi_ex_convert_to_integer()
164 * Integer, Buffer, or String
[all …]
Dexstorob.c76 * truncated if the string is smaller than the buffer. However, "other" in acpi_ex_store_buffer_to_buffer()
84 * If the original source was a string, we must truncate the buffer, in acpi_ex_store_buffer_to_buffer()
122 * DESCRIPTION: Copy a String object to another String object
141 /* We know that source_desc is a string by now */ in acpi_ex_store_string_to_string()
143 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()
147 * Replace existing string value if it will fit and the string in acpi_ex_store_string_to_string()
150 if ((length < target_desc->string.length) && in acpi_ex_store_string_to_string()
153 * String will fit in existing non-static buffer. in acpi_ex_store_string_to_string()
154 * Clear old string and copy in the new one in acpi_ex_store_string_to_string()
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/lib/
Dstring.c3 * linux/lib/string.c
11 * found in <asm-xx/string.h>), or get overloaded by FORTIFY_SOURCE.
19 #include <linux/string.h>
34 * strncasecmp - Case insensitive, length-limited string comparison
35 * @s1: One string
36 * @s2: The other string
80 * strcpy - Copy a %NUL terminated string
81 * @dest: Where to copy the string to
82 * @src: Where to copy the string from
97 * strncpy - Copy a length-limited, C-string
[all …]
Dparser.c12 #include <linux/string.h>
15 * match_one - Determines if a string matches a simple pattern
16 * @s: the string to examine for presence of the pattern
17 * @p: the string containing the pattern
21 * Description: Determines if the pattern @p is present in string @s. Can only
93 * match_token - Find a token (and optional args) in a string
94 * @s: the string to examine for token/argument pairs
121 * @base: base to use when converting string
127 * string and returns 0. Returns -ENOMEM, -EINVAL, or -ERANGE on failure.
156 * @base: base to use when converting string
[all …]
Dcmdline.c14 #include <linux/string.h>
36 * get_option - Parse integer from an option string
37 * @str: option string
40 * Read an int from an option string; if available accept a subsequent
44 * the current option in the string.
47 * 0 - no int in string
83 * get_options - Parse a string into a list of integers
84 * @str: String to be parsed
88 * This function parses a string containing a comma-separated
92 * string.
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/include/linux/
Dasn1.h32 ASN1_BTS = 3, /* Bit String */
33 ASN1_OTS = 4, /* Octet String */
41 ASN1_UTF8STR = 12, /* UTF8 String */
47 ASN1_NUMSTR = 18, /* Numerical String */
48 ASN1_PRNSTR = 19, /* Printable String */
49 ASN1_TEXSTR = 20, /* T61 String / Teletext String */
50 ASN1_VIDSTR = 21, /* Videotex String */
51 ASN1_IA5STR = 22, /* IA5 String */
54 ASN1_GRASTR = 25, /* Graphic String */
55 ASN1_VISSTR = 26, /* Visible String */
[all …]
/Linux-v6.1/tools/lib/bpf/
Dstrset.c18 /* lookup index for each unique string in strings set */
67 /* hashmap__add() returns EEXIST if string with the same in strset__new()
110 /* Find string offset that corresponds to a given string *s*.
112 * - >0 offset into string data, if string is found;
113 * - -ENOENT, if string is not in the string data;
136 /* Add a string s to the string data. If the string already exists, return its
137 * offset within string data.
139 * - > 0 offset into string data, on success;
149 * look up some string from the "outside", we need to first append it in strset__add_str()
151 * until set->strs_data_len is incremented, that string is just a piece in strset__add_str()
[all …]
/Linux-v6.1/tools/perf/util/
Dstrfilter.h9 /* A node of string filter */
16 /* String filter */
22 * strfilter__new - Create a new string filter
34 * @filter: Original string filter
47 * @filter: Original string filter
59 * strfilter__compare - compare given string and a string filter
60 * @filter: String filter
61 * @str: target string
68 * strfilter__delete - delete a string filter
69 * @filter: String filter to delete
[all …]
/Linux-v6.1/fs/ksmbd/
Dunicode.c18 * smb_utf16_bytes() - how long will a string be after conversion?
19 * @from: pointer to input string
20 * @maxbytes: don't go past this many bytes of input string
23 * Walk a utf16le string and return the number of bytes that the string will
27 * Return: string length after conversion
64 * Return: string length after conversion
135 * smb_from_utf16() - convert utf16le string to local charset
143 * Convert a little-endian utf16le string (as sent by the server) to a string
147 * string is always properly null terminated and fits in the destination
148 * buffer. Returns the length of the destination string in bytes (including
[all …]
Dunicode.h77 * UniStrcat: Concatenate the second string to the first
80 * Address of the first string
87 /*NULL*/; /* To end of first string */ in UniStrcat()
90 /*NULL*/; /* copy string 2 over */ in UniStrcat()
95 * UniStrchr: Find a character in a string
98 * Address of first occurrence of character in string
99 * or NULL if the character is not in the string
115 * < 0: First string is less than second
117 * > 0: First string is greater than second
129 * UniStrcpy: Copy a string
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/arch/s390/lib/
Dstring.c3 * Optimized string functions
16 #include <linux/string.h>
20 * Helper functions to find the end of a string
51 * strlen - Find the length of a string
52 * @s: The string to be sized
65 * strnlen - Find the length of a length-limited string
66 * @s: The string to be sized
80 * strcpy - Copy a %NUL terminated string
81 * @dest: Where to copy the string to
82 * @src: Where to copy the string from
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/fs/cifs/
Dcifs_unicode.c156 * cifs_from_utf16 - convert utf16le string to local charset
164 * Convert a little-endian utf16le string (as sent by the server) to a string
168 * string is always properly null terminated and fits in the destination
169 * buffer. Returns the length of the destination string in bytes (including
235 /* properly null-terminate string */ in cifs_from_utf16()
245 * FUNCTION: Convert character string to unicode string
295 * cifs_utf16_bytes - how long will a string be after conversion?
296 * @utf16 - pointer to input string
297 * @maxbytes - don't go past this many bytes of input string
300 * Walk a utf16le string and return the number of bytes that the string will
[all …]
/Linux-v6.1/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c535 static void bnad_get_txf_strings(u8 **string, int f_num) in bnad_get_txf_strings() argument
537 ethtool_sprintf(string, "txf%d_ucast_octets", f_num); in bnad_get_txf_strings()
538 ethtool_sprintf(string, "txf%d_ucast", f_num); in bnad_get_txf_strings()
539 ethtool_sprintf(string, "txf%d_ucast_vlan", f_num); in bnad_get_txf_strings()
540 ethtool_sprintf(string, "txf%d_mcast_octets", f_num); in bnad_get_txf_strings()
541 ethtool_sprintf(string, "txf%d_mcast", f_num); in bnad_get_txf_strings()
542 ethtool_sprintf(string, "txf%d_mcast_vlan", f_num); in bnad_get_txf_strings()
543 ethtool_sprintf(string, "txf%d_bcast_octets", f_num); in bnad_get_txf_strings()
544 ethtool_sprintf(string, "txf%d_bcast", f_num); in bnad_get_txf_strings()
545 ethtool_sprintf(string, "txf%d_bcast_vlan", f_num); in bnad_get_txf_strings()
[all …]
/Linux-v6.1/security/smack/
Dsmack_access.c281 * readable string
282 * @string : the string to fill
286 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()
[all …]

12345678910>>...174