/src/sys/external/bsd/acpica/dist/utilities/ |
utstrtoul64.c | 3 * Module Name: utstrtoul64 - String-to-integer conversion support for both 162 * This module contains the top-level string to 64/32-bit unsigned integer 168 * constants than the runtime (interpreter) integer-to-string conversions. 179 * Debugger - Command line input string conversion 196 * support (explicit/implicit) for octal string conversions. 205 * PARAMETERS: String - Null terminated input string, 213 * DESCRIPTION: Convert a string into an unsigned integer. Always performs a 230 char *String, 238 ACPI_FUNCTION_TRACE_STR (UtStrtoul64, String); [all...] |
utstrsuppt.c | 3 * Module Name: utstrsuppt - Support functions for string-to-integer conversion 184 * PARAMETERS: String - Null terminated input string 189 * DESCRIPTION: Performs a base 8 conversion of the input string to an 199 char *String, 206 /* Convert each ASCII byte in the input string */ 208 while (*String) 215 if (!(ACPI_IS_OCTAL_DIGIT (*String))) 225 Status = AcpiUtInsertDigit (&AccumulatedValue, 8, *String); 232 String++ [all...] |
utnonansi.c | 161 * string functions. 168 * PARAMETERS: SrcString - The source string to convert 172 * DESCRIPTION: Convert a string to lowercase 180 char *String; 191 /* Walk entire string, lowercasing the letters */ 193 for (String = SrcString; *String; String++) 195 *String = (char) tolower ((int) *String); [all...] |
utclib.c | 367 * PARAMETERS: String - Null terminated string 371 * DESCRIPTION: Returns the length of the input string 378 const char *String) 383 /* Count the string until a null is encountered */ 385 while (*String) 388 String++; 399 * PARAMETERS: String - Null terminated string 402 * RETURN: The first occurrence in the string of any of the bytes in th [all...] |
utprint.c | 172 const char *String, 177 char *String, 183 char *String, 193 char *String, 203 * PARAMETERS: String - String with boundary 204 * Count - Boundary of the string 206 * RETURN: Length of the string. Less than or equal to Count. 208 * DESCRIPTION: Calculate the length of a string with boundary. 214 const char *String, [all...] |
utstring.c | 165 * PARAMETERS: String - Null terminated ASCII string 171 * DESCRIPTION: Dump an ASCII string with support for ACPI-defined escape 178 char *String, 184 if (!String) 186 AcpiOsPrintf ("<\"NULL STRING PTR\">"); 191 for (i = 0; (i < MaxLength) && String[i]; i++) 195 switch (String[i]) 236 AcpiOsPrintf ("\\%c", (int) String[i]); 243 if (isprint ((int) String[i]) [all...] |
utids.c | 166 * ReturnId - Where the string HID is returned 172 * Integer or a String. A string is always returned. An EISAID 173 * is converted to a string. 200 /* Get the size of the String to be returned, includes null terminator */ 208 Length = ObjDesc->String.Length + 1; 221 /* Area for the string starts after PNP_DEVICE_ID struct */ 223 Hid->String = ACPI_ADD_PTR (char, Hid, sizeof (ACPI_PNP_DEVICE_ID)); 225 /* Convert EISAID to a string or simply copy existing string */ [all...] |
utcopy.c | 218 * buffer and string data) 271 ExternalObject->String.Pointer = (char *) DataSpace; 272 ExternalObject->String.Length = InternalObject->String.Length; 274 (ACPI_SIZE) InternalObject->String.Length + 1); 277 (void *) InternalObject->String.Pointer, 278 (ACPI_SIZE) InternalObject->String.Length + 1); 286 InternalObject->String.Length); 590 * Simple types supported are: String, Buffer, Integer 624 /* Must COPY string and buffer contents * [all...] |
/src/sys/external/bsd/gnu-efi/dist/lib/ |
smbios.c | 93 Return SMBIOS string given the string number. 97 StringNumber - String number to return. -1 is used to skip all strings and 101 Pointer to string, or pointer to next SMBIOS strcuture if StringNumber == -1 105 CHAR8 *String; 110 String = (CHAR8 *)(Smbios->Raw + Smbios->Hdr->Length); 117 return String; 121 // Skip string 123 for (; *String != 0; String++) [all...] |
str.c | 90 // lwoer case string 101 // upper case string 175 // string length 184 // string length 193 // string size 202 // duplicate a string 219 // string length 273 // convert hex string to uint 304 // convert hex string to uint 329 IN CHAR16 *String, [all...] |
/src/sys/external/bsd/acpica/dist/compiler/ |
asldebug.c | 178 * Fmt - Printf format string 266 * DESCRIPTION: Emit formatted debug output for String/Pathname ops. 275 char *String; 278 String = Op->Asl.Value.String; 284 * Value.String is the raw "internal" name from the AML code, which 289 String = Op->Asl.ExternalName; 293 if (!String) 296 " ERROR: Could not find a valid String/Path pointer\n"); 300 String = UtCreateEscapeSequences (String) [all...] |
aslanalyze.c | 155 #include <string.h> 248 /* Only care about string versions of _HID/_CID (integers are legal) */ 255 /* For both _HID and _CID, the string must be non-null */ 257 Length = strlen (Op->Asl.Value.String); 266 * asterisk in the string -- an odd construct that certain platform 270 if (*Op->Asl.Value.String == '*') 273 Op, Op->Asl.Value.String); 286 for (i = 0; Op->Asl.Value.String[i]; i++) 288 if (!isalnum ((int) Op->Asl.Value.String[i])) 291 Op, Op->Asl.Value.String); [all...] |
dtparser.l | 196 <<EOF>> return (OP_EXP_EOF); /* null end-of-string */ 217 * PARAMETERS: String - Input string to be parsed 228 char *String) 230 LexBuffer = yy_scan_string (String);
|
/src/sys/external/bsd/acpica/dist/executer/ |
exstorob.c | 226 * truncated if the string is smaller than the buffer. However, "other" 234 * If the original source was a string, we must truncate the buffer, 275 * DESCRIPTION: Copy a String object to another String object 298 /* We know that SourceDesc is a string by now */ 300 Buffer = ACPI_CAST_PTR (UINT8, SourceDesc->String.Pointer); 301 Length = SourceDesc->String.Length; 304 * Replace existing string value if it will fit and the string 307 if ((Length < TargetDesc->String.Length) & [all...] |
exoparg3.c | 302 * either a String or a Buffer, so just use its type. 318 * If the index is beyond the length of the String/Buffer, or if the 319 * requested length is zero, return a zero-length String/Buffer 321 if (Index >= Operand[0]->String.Length) 326 /* Truncate request if larger than the actual String/Buffer */ 328 else if ((Index + Length) > Operand[0]->String.Length) 331 (ACPI_SIZE) Operand[0]->String.Length - (ACPI_SIZE) Index; 340 /* Always allocate a new buffer for the String */ 378 Operand[0]->String.Pointer + Index, Length); 381 /* Set the length of the new String/Buffer * [all...] |
exconfig.c | 269 Operand[0]->String.Pointer, 270 Operand[1]->String.Pointer, 271 Operand[2]->String.Pointer, &TableIndex); 292 if (Operand[3]->String.Length > 0) 299 Operand[3]->String.Pointer, ACPI_NS_SEARCH_PARENT, 309 if (Operand[4]->String.Length > 0) 311 if ((Operand[4]->String.Pointer[0] != AML_ROOT_PREFIX) && 312 (Operand[4]->String.Pointer[0] != AML_PARENT_PREFIX)) 324 Operand[4]->String.Pointer, ACPI_NS_SEARCH_PARENT,
|
exconvrt.c | 167 UINT8 *String, 177 * Integer, Buffer, or String 179 * ImplicitConversion - Used for string conversion 215 /* Note: Takes advantage of common buffer/string fields */ 227 * Convert the buffer/string to an integer. Note that both buffers and 233 * 2) The end of the buffer or string has been reached 237 /* String conversion is different than Buffer conversion */ 243 * Convert string to an integer - for most cases, the string must be 249 * All other string-to-integer conversions are implicit conversions [all...] |
/src/sys/external/bsd/acpica/dist/debugger/ |
dbinput.c | 192 * This list of commands must match the string table below it 394 {1, " \"Ascii String\"", "String\n"}, 398 {1, " [0x01 0x1234 \"string\"]", "Package example (3 elements)\n"}, 476 * PARAMETERS: Command - Command string to match 538 * PARAMETERS: Command - Command string to match 575 * PARAMETERS: Command - Optional command string to display help. 619 * PARAMETERS: String - Command buffer 630 char *String, 641 if (!String || !(*String) [all...] |
dbconvert.c | 255 * PARAMETERS: String - Input string to be converted 260 * DESCRIPTION: Convert a string to a buffer object. String is treated a list 267 char *String, 279 AcpiUtRemoveWhitespace (&String); 283 for (i = 0, Length = 0; String[i];) 288 while (String[i] && 289 ((String[i] == ',') || (String[i] == ' ')) [all...] |
/src/sys/external/bsd/acpica/dist/tables/ |
tbprint.c | 166 char *String, 179 * PARAMETERS: String - String to be repaired 184 * DESCRIPTION: Replace every non-printable or non-ascii byte in the string 191 char *String, 195 while (Length && *String) 197 if (!isprint ((int) (UINT8) *String)) 199 *String = '?'; 202 String++; 217 * DESCRIPTION: Copy the table header and ensure that all "string" fields i [all...] |
/src/sys/external/bsd/acpica/dist/include/ |
acclib.h | 211 const char *String, 216 const char *String, 221 char *String, 236 const char *String); 266 const char *String, 313 const char *String, 318 char *String, 323 char *String, 330 char *String, 337 char *String, [all...] |
/src/sys/external/bsd/acpica/dist/common/ |
ahuuids.c | 225 * RETURN: ASCII description string for the UUID if it is found. 227 * DESCRIPTION: Returns a description string for "known" UUIDs, which are 244 /* Null string means description is a UUID class */ 246 if (!Info->String) 251 AcpiUtConvertStringToUuid (Info->String, UuidBuffer);
|
/src/sys/external/bsd/acpica/dist/namespace/ |
nsconvert.c | 173 * DESCRIPTION: Attempt to convert a String/Buffer object to an Integer. 192 /* String-to-Integer conversion */ 194 Status = AcpiUtStrtoul64 (OriginalObject->String.Pointer, &Value); 244 * DESCRIPTION: Attempt to convert a Integer/Buffer object to a String. 262 * Integer-to-String conversion. Commonly, convert 263 * an integer of value 0 to a NULL string. The last element of 268 /* Allocate a new NULL string object */ 289 * Buffer-to-String conversion. Use a ToString 291 * example of this is the _BIF method, where the string data from 301 /* Allocate a new string object * [all...] |
/src/sys/external/bsd/acpica/dist/disassembler/ |
dmnames.c | 265 Status = AcpiNsLookup (WalkState->ScopeInfo, Op->Common.Value.String, 311 * PARAMETERS: Name - ACPI Name string to store 435 (NamePath->Common.Value.String) && 436 (ACPI_IS_ROOT_PREFIX (NamePath->Common.Value.String[0]))) 438 AcpiDmNamestring (NamePath->Common.Value.String); 487 (NamePath->Common.Value.String)) 489 AcpiDmDumpName (NamePath->Common.Value.String);
|
/src/sys/arch/emips/stand/common/ |
start.h | 34 extern int Puts(char *String);
|