2015-02-20 13:15:27 +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-03-07 03:02:33 +00:00
|
|
|
qbs*oldstr2612=NULL;
|
2015-02-20 13:15:27 +00:00
|
|
|
if(_FUNC_OPERATORUSAGE_STRING_OPERATOR->tmp||_FUNC_OPERATORUSAGE_STRING_OPERATOR->fixed||_FUNC_OPERATORUSAGE_STRING_OPERATOR->readonly){
|
2015-03-07 03:02:33 +00:00
|
|
|
oldstr2612=_FUNC_OPERATORUSAGE_STRING_OPERATOR;
|
|
|
|
if (oldstr2612->cmem_descriptor){
|
|
|
|
_FUNC_OPERATORUSAGE_STRING_OPERATOR=qbs_new_cmem(oldstr2612->len,0);
|
2015-02-20 13:15:27 +00:00
|
|
|
}else{
|
2015-03-07 03:02:33 +00:00
|
|
|
_FUNC_OPERATORUSAGE_STRING_OPERATOR=qbs_new(oldstr2612->len,0);
|
2015-02-20 13:15:27 +00:00
|
|
|
}
|
2015-03-07 03:02:33 +00:00
|
|
|
memcpy(_FUNC_OPERATORUSAGE_STRING_OPERATOR->chr,oldstr2612->chr,oldstr2612->len);
|
2015-02-20 13:15:27 +00:00
|
|
|
}
|
2015-03-07 03:02:33 +00:00
|
|
|
qbs*oldstr2613=NULL;
|
2015-02-20 13:15:27 +00:00
|
|
|
if(_FUNC_OPERATORUSAGE_STRING_INFO->tmp||_FUNC_OPERATORUSAGE_STRING_INFO->fixed||_FUNC_OPERATORUSAGE_STRING_INFO->readonly){
|
2015-03-07 03:02:33 +00:00
|
|
|
oldstr2613=_FUNC_OPERATORUSAGE_STRING_INFO;
|
|
|
|
if (oldstr2613->cmem_descriptor){
|
|
|
|
_FUNC_OPERATORUSAGE_STRING_INFO=qbs_new_cmem(oldstr2613->len,0);
|
2015-02-20 13:15:27 +00:00
|
|
|
}else{
|
2015-03-07 03:02:33 +00:00
|
|
|
_FUNC_OPERATORUSAGE_STRING_INFO=qbs_new(oldstr2613->len,0);
|
2015-02-20 13:15:27 +00:00
|
|
|
}
|
2015-03-07 03:02:33 +00:00
|
|
|
memcpy(_FUNC_OPERATORUSAGE_STRING_INFO->chr,oldstr2613->chr,oldstr2613->len);
|
2015-02-20 13:15:27 +00:00
|
|
|
}
|