Home
last modified time | relevance | path

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

12345678910>>...233

/kernel/liteos_m/testsuites/unittest/posix/src/string/
Dstrstr_test.c38 #include <string.h>
68 * @tc.name : find the first occurrence of sub-string in a string
73 const char destS[] = "string this is string";
74 const char srcS[] = "string";
78 LOG("[DEMO] posix string test case 1:strstr(%s) %s ok.\n", srcS, destS);
80 LOG("[DEMO] posix string test case 1:strstr(%s) %s fail.\n", srcS, destS);
87 * @tc.name : find the first occurrence of sub-string in a string
92 const char destS[] = "string this is string";
96 if (strcmp(ret, "this is string") == 0) {
97 LOG("[DEMO] posix string test case 2:strstr(%s) %s ok.\n", srcS, destS);
[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-4.19/Documentation/acpi/apei/
Doutput_format.txt9 severity: <integer>, <severity string>
10 section: <integer>, severity: <integer>, <severity string>
13 fru_id: <uuid string>
14 fru_text: <string>
15 section_type: <section type string>
18 <severity string>* := recoverable | fatal | corrected | info
24 <section type string> := generic processor error | memory error | \
25 PCIe error | unknown, <uuid string>
32 [processor_type: <integer>, <proc type string>]
33 [processor_isa: <integer>, <proc isa string>]
[all …]
/kernel/linux/linux-4.19/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/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/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 …]
/kernel/linux/linux-4.19/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()
51 if (!(ACPI_IS_OCTAL_DIGIT(*string))) { in acpi_ut_convert_octal_string()
57 status = acpi_ut_insert_digit(&accumulated_value, 8, *string); in acpi_ut_convert_octal_string()
63 string++; in acpi_ut_convert_octal_string()
76 * 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 …]
/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-4.19/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c537 bnad_get_strings(struct net_device *netdev, u32 stringset, u8 *string) in bnad_get_strings() argument
550 strncpy(string, bnad_net_stats_strings[i], in bnad_get_strings()
552 string += ETH_GSTRING_LEN; in bnad_get_strings()
557 sprintf(string, "txf%d_ucast_octets", i); in bnad_get_strings()
558 string += ETH_GSTRING_LEN; in bnad_get_strings()
559 sprintf(string, "txf%d_ucast", i); in bnad_get_strings()
560 string += ETH_GSTRING_LEN; in bnad_get_strings()
561 sprintf(string, "txf%d_ucast_vlan", i); in bnad_get_strings()
562 string += ETH_GSTRING_LEN; in bnad_get_strings()
563 sprintf(string, "txf%d_mcast_octets", i); in bnad_get_strings()
[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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/lib/
Dstring.c3 * linux/lib/string.c
10 * as inline code in <asm-xx/string.h>
24 #include <linux/string.h>
38 * strncasecmp - Case insensitive, length-limited string comparison
39 * @s1: One string
40 * @s2: The other string
84 * strcpy - Copy a %NUL terminated string
85 * @dest: Where to copy the string to
86 * @src: Where to copy the string from
102 * strncpy - Copy a length-limited, C-string
[all …]
/kernel/linux/linux-4.19/lib/
Dstring.c3 * linux/lib/string.c
10 * as inline code in <asm-xx/string.h>
24 #include <linux/string.h>
37 * strncasecmp - Case insensitive, length-limited string comparison
38 * @s1: One string
39 * @s2: The other string
83 * strcpy - Copy a %NUL terminated string
84 * @dest: Where to copy the string to
85 * @src: Where to copy the string from
101 * strncpy - Copy a length-limited, C-string
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/s390/lib/
Dstring.c3 * Optimized string functions
13 #include <linux/string.h>
17 * Helper functions to find the end of a string
41 * strlen - Find the length of a string
42 * @s: The string to be sized
55 * strnlen - Find the length of a length-limited string
56 * @s: The string to be sized
70 * strcpy - Copy a %NUL terminated string
71 * @dest: Where to copy the string to
72 * @src: Where to copy the string from
[all …]
/kernel/linux/linux-4.19/arch/s390/lib/
Dstring.c3 * Optimized string functions
13 #include <linux/string.h>
17 * Helper functions to find the end of a string
41 * strlen - Find the length of a string
42 * @s: The string to be sized
53 * strnlen - Find the length of a length-limited string
54 * @s: The string to be sized
66 * strcpy - Copy a %NUL terminated string
67 * @dest: Where to copy the string to
68 * @src: Where to copy the string from
[all …]
/kernel/linux/linux-4.19/include/linux/
Dasn1.h36 ASN1_BTS = 3, /* Bit String */
37 ASN1_OTS = 4, /* Octet String */
45 ASN1_UTF8STR = 12, /* UTF8 String */
51 ASN1_NUMSTR = 18, /* Numerical String */
52 ASN1_PRNSTR = 19, /* Printable String */
53 ASN1_TEXSTR = 20, /* T61 String / Teletext String */
54 ASN1_VIDSTR = 21, /* Videotex String */
55 ASN1_IA5STR = 22, /* IA5 String */
58 ASN1_GRASTR = 25, /* Graphic String */
59 ASN1_VISSTR = 26, /* Visible String */
[all …]

12345678910>>...233