Lines Matching defs:obj_desc
27 * PARAMETERS: obj_desc - Object to be converted. Must be an
39 acpi_ex_convert_to_integer(union acpi_operand_object *obj_desc,
49 ACPI_FUNCTION_TRACE_PTR(ex_convert_to_integer, obj_desc);
51 switch (obj_desc->common.type) {
56 *result_desc = obj_desc;
64 pointer = obj_desc->buffer.pointer;
65 count = obj_desc->buffer.length;
86 switch (obj_desc->common.type) {
164 * PARAMETERS: obj_desc - Object to be converted. Must be an
175 acpi_ex_convert_to_buffer(union acpi_operand_object *obj_desc,
181 ACPI_FUNCTION_TRACE_PTR(ex_convert_to_buffer, obj_desc);
183 switch (obj_desc->common.type) {
188 *result_desc = obj_desc;
205 memcpy(new_buf, &obj_desc->integer.value,
220 obj_desc->string.
229 memcpy((char *)new_buf, (char *)obj_desc->string.pointer,
230 obj_desc->string.length);
372 * PARAMETERS: obj_desc - Object to be converted. Must be an
385 acpi_ex_convert_to_string(union acpi_operand_object * obj_desc,
396 ACPI_FUNCTION_TRACE_PTR(ex_convert_to_string, obj_desc);
398 switch (obj_desc->common.type) {
403 *result_desc = obj_desc;
461 acpi_ex_convert_to_ascii(obj_desc->integer.value, base,
498 for (i = 0; i < obj_desc->buffer.length; i++) {
499 if (obj_desc->buffer.pointer[i] >= 100) {
501 } else if (obj_desc->buffer.pointer[i] >= 10) {
521 string_length = (obj_desc->buffer.length * 5);
535 string_length = (obj_desc->buffer.length * 5);
563 for (i = 0; i < obj_desc->buffer.length; i++) {
572 new_buf += acpi_ex_convert_to_ascii((u64) obj_desc->
586 if (obj_desc->buffer.length) {