2021-02-07 10:32:23 +00:00
|
|
|
int32 *_FUNC_OPERATORUSAGE_LONG_OPERATORUSAGE=NULL;
|
|
|
|
if(_FUNC_OPERATORUSAGE_LONG_OPERATORUSAGE==NULL){
|
|
|
|
_FUNC_OPERATORUSAGE_LONG_OPERATORUSAGE=(int32*)mem_static_malloc(4);
|
|
|
|
*_FUNC_OPERATORUSAGE_LONG_OPERATORUSAGE=0;
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2021-07-08 03:23:33 +00:00
|
|
|
qbs*oldstr2900=NULL;
|
2021-02-07 10:32:23 +00:00
|
|
|
if(_FUNC_OPERATORUSAGE_STRING_OPERATOR->tmp||_FUNC_OPERATORUSAGE_STRING_OPERATOR->fixed||_FUNC_OPERATORUSAGE_STRING_OPERATOR->readonly){
|
2021-07-08 03:23:33 +00:00
|
|
|
oldstr2900=_FUNC_OPERATORUSAGE_STRING_OPERATOR;
|
|
|
|
if (oldstr2900->cmem_descriptor){
|
|
|
|
_FUNC_OPERATORUSAGE_STRING_OPERATOR=qbs_new_cmem(oldstr2900->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}else{
|
2021-07-08 03:23:33 +00:00
|
|
|
_FUNC_OPERATORUSAGE_STRING_OPERATOR=qbs_new(oldstr2900->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2021-07-08 03:23:33 +00:00
|
|
|
memcpy(_FUNC_OPERATORUSAGE_STRING_OPERATOR->chr,oldstr2900->chr,oldstr2900->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2021-07-08 03:23:33 +00:00
|
|
|
qbs*oldstr2901=NULL;
|
2021-02-07 10:32:23 +00:00
|
|
|
if(_FUNC_OPERATORUSAGE_STRING_INFO->tmp||_FUNC_OPERATORUSAGE_STRING_INFO->fixed||_FUNC_OPERATORUSAGE_STRING_INFO->readonly){
|
2021-07-08 03:23:33 +00:00
|
|
|
oldstr2901=_FUNC_OPERATORUSAGE_STRING_INFO;
|
|
|
|
if (oldstr2901->cmem_descriptor){
|
|
|
|
_FUNC_OPERATORUSAGE_STRING_INFO=qbs_new_cmem(oldstr2901->len,0);
|
2021-02-07 10:32:23 +00:00
|
|
|
}else{
|
2021-07-08 03:23:33 +00:00
|
|
|
_FUNC_OPERATORUSAGE_STRING_INFO=qbs_new(oldstr2901->len,0);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|
2021-07-08 03:23:33 +00:00
|
|
|
memcpy(_FUNC_OPERATORUSAGE_STRING_INFO->chr,oldstr2901->chr,oldstr2901->len);
|
2015-08-02 12:12:44 +00:00
|
|
|
}
|