Lines Matching defs:obj_desc
26 * PARAMETERS: obj_desc - Object to be converted. Must be an
38 acpi_ex_convert_to_integer(union acpi_operand_object *obj_desc,
48 ACPI_FUNCTION_TRACE_PTR(ex_convert_to_integer, obj_desc);
50 switch (obj_desc->common.type) {
55 *result_desc = obj_desc;
63 pointer = obj_desc->buffer.pointer;
64 count = obj_desc->buffer.length;
85 switch (obj_desc->common.type) {
163 * PARAMETERS: obj_desc - Object to be converted. Must be an
174 acpi_ex_convert_to_buffer(union acpi_operand_object *obj_desc,
180 ACPI_FUNCTION_TRACE_PTR(ex_convert_to_buffer, obj_desc);
182 switch (obj_desc->common.type) {
187 *result_desc = obj_desc;
204 memcpy(new_buf, &obj_desc->integer.value,
219 obj_desc->string.
228 strncpy((char *)new_buf, (char *)obj_desc->string.pointer,
229 obj_desc->string.length);
360 * PARAMETERS: obj_desc - Object to be converted. Must be an
373 acpi_ex_convert_to_string(union acpi_operand_object * obj_desc,
383 ACPI_FUNCTION_TRACE_PTR(ex_convert_to_string, obj_desc);
385 switch (obj_desc->common.type) {
390 *result_desc = obj_desc;
429 acpi_ex_convert_to_ascii(obj_desc->integer.value, base,
457 for (i = 0; i < obj_desc->buffer.length; i++) {
458 if (obj_desc->buffer.pointer[i] >= 100) {
460 } else if (obj_desc->buffer.pointer[i] >= 10) {
479 string_length = (obj_desc->buffer.length * 5);
492 string_length = (obj_desc->buffer.length * 5);
520 for (i = 0; i < obj_desc->buffer.length; i++) {
529 new_buf += acpi_ex_convert_to_ascii((u64) obj_desc->
542 if (obj_desc->buffer.length) {