2018-11-01 14:04:47 +00:00
|
|
|
qbs*oldstr3517=NULL;
|
|
|
|
if(_SUB_COPY_FULL_UDT_STRING_DST->tmp||_SUB_COPY_FULL_UDT_STRING_DST->fixed||_SUB_COPY_FULL_UDT_STRING_DST->readonly){
|
|
|
|
oldstr3517=_SUB_COPY_FULL_UDT_STRING_DST;
|
|
|
|
if (oldstr3517->cmem_descriptor){
|
|
|
|
_SUB_COPY_FULL_UDT_STRING_DST=qbs_new_cmem(oldstr3517->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}else{
|
2018-11-01 14:04:47 +00:00
|
|
|
_SUB_COPY_FULL_UDT_STRING_DST=qbs_new(oldstr3517->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2018-11-01 14:04:47 +00:00
|
|
|
memcpy(_SUB_COPY_FULL_UDT_STRING_DST->chr,oldstr3517->chr,oldstr3517->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2018-11-01 14:04:47 +00:00
|
|
|
qbs*oldstr3518=NULL;
|
|
|
|
if(_SUB_COPY_FULL_UDT_STRING_SRC->tmp||_SUB_COPY_FULL_UDT_STRING_SRC->fixed||_SUB_COPY_FULL_UDT_STRING_SRC->readonly){
|
|
|
|
oldstr3518=_SUB_COPY_FULL_UDT_STRING_SRC;
|
|
|
|
if (oldstr3518->cmem_descriptor){
|
|
|
|
_SUB_COPY_FULL_UDT_STRING_SRC=qbs_new_cmem(oldstr3518->len,0);
|
2018-11-01 14:04:36 +00:00
|
|
|
}else{
|
2018-11-01 14:04:47 +00:00
|
|
|
_SUB_COPY_FULL_UDT_STRING_SRC=qbs_new(oldstr3518->len,0);
|
2018-11-01 14:04:36 +00:00
|
|
|
}
|
2018-11-01 14:04:47 +00:00
|
|
|
memcpy(_SUB_COPY_FULL_UDT_STRING_SRC->chr,oldstr3518->chr,oldstr3518->len);
|
2018-11-01 14:04:36 +00:00
|
|
|
}
|
2018-11-01 14:04:47 +00:00
|
|
|
int32 *_SUB_COPY_FULL_UDT_LONG_OFFSET=NULL;
|
|
|
|
if(_SUB_COPY_FULL_UDT_LONG_OFFSET==NULL){
|
|
|
|
_SUB_COPY_FULL_UDT_LONG_OFFSET=(int32*)mem_static_malloc(4);
|
|
|
|
*_SUB_COPY_FULL_UDT_LONG_OFFSET=0;
|
2018-11-01 14:04:36 +00:00
|
|
|
}
|
2018-11-01 14:04:47 +00:00
|
|
|
int32 *_SUB_COPY_FULL_UDT_LONG_ELEMENT=NULL;
|
|
|
|
if(_SUB_COPY_FULL_UDT_LONG_ELEMENT==NULL){
|
|
|
|
_SUB_COPY_FULL_UDT_LONG_ELEMENT=(int32*)mem_static_malloc(4);
|
|
|
|
*_SUB_COPY_FULL_UDT_LONG_ELEMENT=0;
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2018-11-01 14:04:47 +00:00
|
|
|
int32 pass3522;
|
|
|
|
int32 pass3523;
|