Home
last modified time | relevance | path

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

12345678910>>...194

/Linux-v5.15/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-v5.15/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-v5.15/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 …]
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 …]
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 …]
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-v5.15/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-v5.15/lib/
Dstring.c3 * linux/lib/string.c
10 * as inline code in <asm-xx/string.h>
24 #include <linux/string.h>
39 * strncasecmp - Case insensitive, length-limited string comparison
40 * @s1: One string
41 * @s2: The other string
85 * strcpy - Copy a %NUL terminated string
86 * @dest: Where to copy the string to
87 * @src: Where to copy the string from
102 * 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 …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/arch/s390/lib/
Dstring.c3 * Optimized string functions
13 #include <linux/string.h>
17 * Helper functions to find the end of a string
48 * strlen - Find the length of a string
49 * @s: The string to be sized
62 * strnlen - Find the length of a length-limited string
63 * @s: The string to be sized
77 * strcpy - Copy a %NUL terminated string
78 * @dest: Where to copy the string to
79 * @src: Where to copy the string from
[all …]
/Linux-v5.15/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-v5.15/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.h76 * UniStrcat: Concatenate the second string to the first
79 * Address of the first string
86 /*NULL*/; /* To end of first string */ in UniStrcat()
89 /*NULL*/; /* copy string 2 over */ in UniStrcat()
94 * UniStrchr: Find a character in a string
97 * Address of first occurrence of character in string
98 * or NULL if the character is not in the string
114 * < 0: First string is less than second
116 * > 0: First string is greater than second
128 * UniStrcpy: Copy a string
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/include/kunit/
Dassert.h38 * @format: a function which formats the data in this kunit_assert to a string.
41 * format a string to a user reporting the failure.
65 * @fmt: The formatting function which builds a string out of this kunit_assert.
114 * @condition: A string representation of a conditional expression.
134 * @cond: A string representation of the expression asserted true or false.
152 * @text: A string representation of the expression passed to the expectation.
172 * @txt: A string representation of the expression passed to the expectation.
190 * @operation: A string representation of the comparison operator (e.g. "==").
191 * @left_text: A string representation of the expression in the left slot.
193 * @right_text: A string representation of the expression in the right slot.
[all …]
/Linux-v5.15/tools/perf/pmu-events/
Djsmn.h9 * o String
22 /* Invalid character inside JSON string */
24 /* The string is not a full JSON packet, more bytes expected */
32 * @param type type (object, array, string etc.)
33 * @param start start position in JSON data string
34 * @param end end position in JSON data string
45 * the string being parsed now and current position in that string
48 unsigned int pos; /* offset in the JSON string */
59 * Run JSON parser. It parses a JSON data string into and array of tokens,
/Linux-v5.15/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-v5.15/security/apparmor/
Dprocattr.c22 * @string: Returns - string containing the profile info (NOT NULL)
24 * Returns: length of @string on success else error on failure
28 * Creates a string containing the namespace_name://profile_name for
31 * Returns: size of string placed in @string else error code on failure
33 int aa_getprocattr(struct aa_label *label, char **string) in aa_getprocattr() argument
49 *string = kmalloc(len + 2, GFP_KERNEL); in aa_getprocattr()
50 if (!*string) { in aa_getprocattr()
55 len = aa_label_snxprint(*string, len + 2, current_ns, label, in aa_getprocattr()
63 (*string)[len] = '\n'; in aa_getprocattr()
64 (*string)[len + 1] = 0; in aa_getprocattr()
[all …]

12345678910>>...194