Lines Matching full:string

20 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
211 * Size will be the string length in acpi_ex_convert_to_buffer()
213 * NOTE: Add one to the string length to include the null terminator. in acpi_ex_convert_to_buffer()
219 obj_desc->string. in acpi_ex_convert_to_buffer()
225 /* Copy the string to the buffer */ in acpi_ex_convert_to_buffer()
228 strncpy((char *)new_buf, (char *)obj_desc->string.pointer, in acpi_ex_convert_to_buffer()
229 obj_desc->string.length); in acpi_ex_convert_to_buffer()
250 * string - Where the string is returned
253 * RETURN: Actual string length
255 * DESCRIPTION: Convert an ACPI Integer to a hex or decimal string
260 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 data_width) in acpi_ex_convert_to_ascii() argument
316 string[k] = (u8) (ACPI_ASCII_ZERO + remainder); in acpi_ex_convert_to_ascii()
331 string[k] = (u8) in acpi_ex_convert_to_ascii()
345 * Finally, null terminate the string and return the length in acpi_ex_convert_to_ascii()
348 string[0] = ACPI_ASCII_ZERO; in acpi_ex_convert_to_ascii()
352 string[k] = 0; in acpi_ex_convert_to_ascii()
361 * Integer, Buffer, or String
362 * result_desc - Where the string object is returned
363 * type - String flags (base and conversion type)
367 * DESCRIPTION: Convert an ACPI Object to a string. Supports both implicit
408 /* Two hex string characters for each integer byte */ in acpi_ex_convert_to_string()
415 * Create a new String in acpi_ex_convert_to_string()
426 /* Convert integer to string */ in acpi_ex_convert_to_string()
435 return_desc->string.length = string_length; in acpi_ex_convert_to_string()
441 /* Setup string length, base, and separator */ in acpi_ex_convert_to_string()
449 * a string of decimal values separated by commas." in acpi_ex_convert_to_string()
454 * Calculate the final string length. Individual string values in acpi_ex_convert_to_string()
470 * Implicit buffer-to-string conversion in acpi_ex_convert_to_string()
473 * "The entire contents of the buffer are converted to a string of in acpi_ex_convert_to_string()
486 * From ACPI: "If Data is a buffer, it is converted to a string of in acpi_ex_convert_to_string()
500 * Create a new string object and string buffer in acpi_ex_convert_to_string()
539 * Null terminate the string in acpi_ex_convert_to_string()
628 * a Buffer or a String to an Integer if necessary. in acpi_ex_convert_to_target_type()
637 * The operand must be a String. We can convert an in acpi_ex_convert_to_target_type()
648 * Integer or String if necessary in acpi_ex_convert_to_target_type()