Lines Matching refs:new_object

37 	union acpi_operand_object *new_object;  in acpi_ns_convert_to_integer()  local
76 new_object = acpi_ut_create_integer_object(value); in acpi_ns_convert_to_integer()
77 if (!new_object) { in acpi_ns_convert_to_integer()
81 *return_object = new_object; in acpi_ns_convert_to_integer()
102 union acpi_operand_object *new_object; in acpi_ns_convert_to_string() local
117 new_object = acpi_ut_create_string_object(0); in acpi_ns_convert_to_string()
118 if (!new_object) { in acpi_ns_convert_to_string()
123 &new_object, in acpi_ns_convert_to_string()
146 new_object = acpi_ut_create_string_object(length); in acpi_ns_convert_to_string()
147 if (!new_object) { in acpi_ns_convert_to_string()
155 memcpy(new_object->string.pointer, in acpi_ns_convert_to_string()
164 *return_object = new_object; in acpi_ns_convert_to_string()
185 union acpi_operand_object *new_object; in acpi_ns_convert_to_buffer() local
202 acpi_ex_convert_to_buffer(original_object, &new_object); in acpi_ns_convert_to_buffer()
212 new_object = acpi_ut_create_buffer_object in acpi_ns_convert_to_buffer()
214 if (!new_object) { in acpi_ns_convert_to_buffer()
218 memcpy(new_object->buffer.pointer, in acpi_ns_convert_to_buffer()
245 new_object = acpi_ut_create_buffer_object(ACPI_MUL_4(count)); in acpi_ns_convert_to_buffer()
246 if (!new_object) { in acpi_ns_convert_to_buffer()
253 dword_buffer = ACPI_CAST_PTR(u32, new_object->buffer.pointer); in acpi_ns_convert_to_buffer()
267 *return_object = new_object; in acpi_ns_convert_to_buffer()
290 union acpi_operand_object *new_object; in acpi_ns_convert_to_unicode() local
320 new_object = acpi_ut_create_buffer_object(unicode_length); in acpi_ns_convert_to_unicode()
321 if (!new_object) { in acpi_ns_convert_to_unicode()
325 unicode_buffer = ACPI_CAST_PTR(u16, new_object->buffer.pointer); in acpi_ns_convert_to_unicode()
333 *return_object = new_object; in acpi_ns_convert_to_unicode()
357 union acpi_operand_object *new_object; in acpi_ns_convert_to_resource() local
400 new_object = acpi_ut_create_buffer_object(2); in acpi_ns_convert_to_resource()
401 if (!new_object) { in acpi_ns_convert_to_resource()
405 buffer = ACPI_CAST_PTR(u8, new_object->buffer.pointer); in acpi_ns_convert_to_resource()
412 *return_object = new_object; in acpi_ns_convert_to_resource()
436 union acpi_operand_object *new_object = NULL; in acpi_ns_convert_to_reference() local
471 new_object = acpi_ut_create_internal_object(ACPI_TYPE_LOCAL_REFERENCE); in acpi_ns_convert_to_reference()
472 if (!new_object) { in acpi_ns_convert_to_reference()
476 new_object->reference.node = node; in acpi_ns_convert_to_reference()
477 new_object->reference.object = node->object; in acpi_ns_convert_to_reference()
478 new_object->reference.class = ACPI_REFCLASS_NAME; in acpi_ns_convert_to_reference()
488 *return_object = new_object; in acpi_ns_convert_to_reference()