Lines Matching defs:string
20 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 max_length);
29 * implicit_conversion - Used for string conversion
61 /* Note: Takes advantage of common buffer/string fields */
73 * Convert the buffer/string to an integer. Note that both buffers and
79 * 2) The end of the buffer or string has been reached
88 * Convert string to an integer - for most cases, the string must be
94 * All other string-to-integer conversions are implicit conversions.
211 * Size will be the string length
213 * NOTE: Add one to the string length to include the null terminator.
219 obj_desc->string.
225 /* Copy the string to the buffer */
228 strncpy((char *)new_buf, (char *)obj_desc->string.pointer,
229 obj_desc->string.length);
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)
316 string[k] = (u8) (ACPI_ASCII_ZERO + remainder);
331 string[k] = (u8)
345 * Finally, null terminate the string and return the length
348 string[0] = ACPI_ASCII_ZERO;
352 string[k] = 0;
362 * result_desc - Where the string object is returned
367 * DESCRIPTION: Convert an ACPI Object to a string. Supports both implicit
408 /* Two hex string characters for each integer byte */
426 /* Convert integer to string */
435 return_desc->string.length = string_length;
441 /* Setup string length, base, and separator */
449 * a string of decimal values separated by commas."
454 * Calculate the final string length. Individual string values
470 * Implicit buffer-to-string conversion
473 * "The entire contents of the buffer are converted to a string of
486 * From ACPI: "If Data is a buffer, it is converted to a string of
500 * Create a new string object and string buffer
539 * Null terminate the string