Home | History | Annotate | Download | only in aml

Lines Matching refs:copy

549 	struct	aml_environ *copy;
556 copy = memman_alloc(aml_memman, memid_aml_environ);
557 if (copy == NULL) {
574 *copy = *env;
575 env->dp = copy->end = start + pkglength;
578 while ((copy->dp < copy->end) && (i < numelements)) {
580 tmpname = aml_parse_termobj(copy, indent + 1);
583 objects[i] = aml_copy_object(copy, tmpname->property);
588 aml_free_objectcontent(&copy->tempobject);
597 memman_free(aml_memman, memid_aml_environ, copy);
608 struct aml_environ *copy;
615 copy = memman_alloc(aml_memman, memid_aml_environ);
616 if (copy == NULL) {
638 *copy = *env;
641 meth->to = env->dp = copy->end = start + pkglength;
645 memman_free(aml_memman, memid_aml_environ, copy);
782 struct aml_environ *copy;
790 copy = memman_alloc(aml_memman, memid_aml_environ);
791 if (copy == NULL) {
801 *copy = *env;
802 env->dp = copy->end = start + pkglength;
811 aml_parse_fieldlist(copy, &fieldtemplate, indent + 1);
814 aml_free_objectcontent(&copy->tempobject);
816 AML_SYSASSERT(copy->dp == copy->end);
817 memman_free(aml_memman, memid_aml_environ, copy);
826 struct aml_environ *copy;
834 copy = memman_alloc(aml_memman, memid_aml_environ);
835 if (copy == NULL) {
854 *copy = *env;
855 env->dp = copy->end = start + pkglength;
856 aml_parse_fieldlist(copy, &template, indent + 1);
859 aml_free_objectcontent(&copy->tempobject);
861 AML_SYSASSERT(copy->dp == copy->end);
862 memman_free(aml_memman, memid_aml_environ, copy);
871 struct aml_environ *copy;
880 copy = memman_alloc(aml_memman, memid_aml_environ);
881 if (copy == NULL) {
900 *copy = *env;
901 env->dp = copy->end = start + pkglength;
906 aml_parse_fieldlist(copy, &template, indent + 1);
910 aml_free_objectcontent(&copy->tempobject);
911 AML_SYSASSERT(copy->dp == copy->end);
912 memman_free(aml_memman, memid_aml_environ, copy);
921 struct aml_environ *copy;
925 copy = memman_alloc(aml_memman, memid_aml_environ);
926 if (copy == NULL) {
934 *copy = *env;
935 AML_CREATE_NAME(copy->curname, env, name,);
936 if (copy->curname->property != NULL) {
941 AML_ALLOC_OBJECT(copy->curname->property, env, aml_t_device,);
942 env->dp = copy->end = start + pkglength;
943 aml_parse_objectlist(copy, indent + 1);
946 aml_free_objectcontent(&copy->tempobject);
948 AML_SYSASSERT(copy->dp == copy->end);
950 memman_free(aml_memman, memid_aml_environ, copy);
959 struct aml_environ *copy;
965 copy = memman_alloc(aml_memman, memid_aml_environ);
966 if (copy == NULL) {
979 *copy = *env;
980 AML_CREATE_NAME(copy->curname, env, name,);
981 if (copy->curname->property != NULL) {
986 copy->curname->property = obj;
987 env->dp = copy->end = start + pkglength;
988 aml_parse_objectlist(copy, indent + 1);
991 aml_free_objectcontent(&copy->tempobject);
993 AML_SYSASSERT(copy->dp == copy->end);
995 memman_free(aml_memman, memid_aml_environ, copy);
1004 struct aml_environ *copy;
1010 copy = memman_alloc(aml_memman, memid_aml_environ);
1011 if (copy == NULL) {
1023 *copy = *env;
1024 AML_CREATE_NAME(copy->curname, env, name,);
1025 if (copy->curname->property != NULL) {
1030 copy->curname->property = obj;
1031 env->dp = copy->end = start + pkglength;
1033 aml_parse_objectlist(copy, indent + 1);
1036 aml_free_objectcontent(&copy->tempobject);
1038 AML_SYSASSERT(copy->dp == copy->end);
1040 memman_free(aml_memman, memid_aml_environ, copy);
1049 struct aml_environ *copy;
1053 copy = memman_alloc(aml_memman, memid_aml_environ);
1054 if (copy == NULL) {
1062 *copy = *env;
1063 AML_CREATE_NAME(copy->curname, env, name,);
1064 if (copy->curname->property != NULL) {
1069 AML_ALLOC_OBJECT(copy->curname->property, env, aml_t_therm,);
1070 env->dp = copy->end = start + pkglength;
1071 aml_parse_objectlist(copy, indent + 1);
1074 aml_free_objectcontent(&copy->tempobject);
1075 AML_SYSASSERT(copy->dp == copy->end);
1077 memman_free(aml_memman, memid_aml_environ, copy);
1266 copy and then store. And The object
1633 * operation, so we make a copy of it on stack.