mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
131 lines
5.3 KiB
Text
131 lines
5.3 KiB
Text
int32 *_FUNC_DOWNLOAD_LONG_DOWNLOAD=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_DOWNLOAD==NULL){
|
|
_FUNC_DOWNLOAD_LONG_DOWNLOAD=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_DOWNLOAD=0;
|
|
}
|
|
qbs*oldstr4540=NULL;
|
|
if(_FUNC_DOWNLOAD_STRING_URL->tmp||_FUNC_DOWNLOAD_STRING_URL->fixed||_FUNC_DOWNLOAD_STRING_URL->readonly){
|
|
oldstr4540=_FUNC_DOWNLOAD_STRING_URL;
|
|
if (oldstr4540->cmem_descriptor){
|
|
_FUNC_DOWNLOAD_STRING_URL=qbs_new_cmem(oldstr4540->len,0);
|
|
}else{
|
|
_FUNC_DOWNLOAD_STRING_URL=qbs_new(oldstr4540->len,0);
|
|
}
|
|
memcpy(_FUNC_DOWNLOAD_STRING_URL->chr,oldstr4540->chr,oldstr4540->len);
|
|
}
|
|
qbs*oldstr4541=NULL;
|
|
if(_FUNC_DOWNLOAD_STRING_FILE->tmp||_FUNC_DOWNLOAD_STRING_FILE->fixed||_FUNC_DOWNLOAD_STRING_FILE->readonly){
|
|
oldstr4541=_FUNC_DOWNLOAD_STRING_FILE;
|
|
if (oldstr4541->cmem_descriptor){
|
|
_FUNC_DOWNLOAD_STRING_FILE=qbs_new_cmem(oldstr4541->len,0);
|
|
}else{
|
|
_FUNC_DOWNLOAD_STRING_FILE=qbs_new(oldstr4541->len,0);
|
|
}
|
|
memcpy(_FUNC_DOWNLOAD_STRING_FILE->chr,oldstr4541->chr,oldstr4541->len);
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_RETRY=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_RETRY==NULL){
|
|
_FUNC_DOWNLOAD_LONG_RETRY=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_RETRY=0;
|
|
}
|
|
qbs *_FUNC_DOWNLOAD_STRING_URL2=NULL;
|
|
if (!_FUNC_DOWNLOAD_STRING_URL2)_FUNC_DOWNLOAD_STRING_URL2=qbs_new(0,0);
|
|
int32 *_FUNC_DOWNLOAD_LONG_X=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_X==NULL){
|
|
_FUNC_DOWNLOAD_LONG_X=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_X=0;
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_C=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_C==NULL){
|
|
_FUNC_DOWNLOAD_LONG_C=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_C=0;
|
|
}
|
|
qbs *_FUNC_DOWNLOAD_STRING_E=NULL;
|
|
if (!_FUNC_DOWNLOAD_STRING_E)_FUNC_DOWNLOAD_STRING_E=qbs_new(0,0);
|
|
qbs *_FUNC_DOWNLOAD_STRING_URL3=NULL;
|
|
if (!_FUNC_DOWNLOAD_STRING_URL3)_FUNC_DOWNLOAD_STRING_URL3=qbs_new(0,0);
|
|
byte_element_struct *byte_element_4544=NULL;
|
|
if (!byte_element_4544){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4544=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4544=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_FUNC_DOWNLOAD_STRING_X=NULL;
|
|
if (!_FUNC_DOWNLOAD_STRING_X)_FUNC_DOWNLOAD_STRING_X=qbs_new(0,0);
|
|
byte_element_struct *byte_element_4545=NULL;
|
|
if (!byte_element_4545){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4545=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4545=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
double *_FUNC_DOWNLOAD_DOUBLE_LASTTIME=NULL;
|
|
if(_FUNC_DOWNLOAD_DOUBLE_LASTTIME==NULL){
|
|
_FUNC_DOWNLOAD_DOUBLE_LASTTIME=(double*)mem_static_malloc(8);
|
|
*_FUNC_DOWNLOAD_DOUBLE_LASTTIME=0;
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_CANCELMESS=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_CANCELMESS==NULL){
|
|
_FUNC_DOWNLOAD_LONG_CANCELMESS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_CANCELMESS=0;
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_DP=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_DP==NULL){
|
|
_FUNC_DOWNLOAD_LONG_DP=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_DP=0;
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_DP2=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_DP2==NULL){
|
|
_FUNC_DOWNLOAD_LONG_DP2=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_DP2=0;
|
|
}
|
|
qbs *_FUNC_DOWNLOAD_STRING_A=NULL;
|
|
if (!_FUNC_DOWNLOAD_STRING_A)_FUNC_DOWNLOAD_STRING_A=qbs_new(0,0);
|
|
int32 *_FUNC_DOWNLOAD_LONG_L=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_L==NULL){
|
|
_FUNC_DOWNLOAD_LONG_L=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_L=0;
|
|
}
|
|
qbs *_FUNC_DOWNLOAD_STRING_A2=NULL;
|
|
if (!_FUNC_DOWNLOAD_STRING_A2)_FUNC_DOWNLOAD_STRING_A2=qbs_new(0,0);
|
|
byte_element_struct *byte_element_4547=NULL;
|
|
if (!byte_element_4547){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4547=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4547=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_CL=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_CL==NULL){
|
|
_FUNC_DOWNLOAD_LONG_CL=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_CL=0;
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_CP=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_CP==NULL){
|
|
_FUNC_DOWNLOAD_LONG_CP=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_CP=0;
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_I3=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_I3==NULL){
|
|
_FUNC_DOWNLOAD_LONG_I3=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_I3=0;
|
|
}
|
|
byte_element_struct *byte_element_4553=NULL;
|
|
if (!byte_element_4553){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4553=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4553=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_I=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_I==NULL){
|
|
_FUNC_DOWNLOAD_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_I=0;
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_I2=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_I2==NULL){
|
|
_FUNC_DOWNLOAD_LONG_I2=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_I2=0;
|
|
}
|
|
byte_element_struct *byte_element_4556=NULL;
|
|
if (!byte_element_4556){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4556=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4556=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_DOWNLOAD_LONG_FH=NULL;
|
|
if(_FUNC_DOWNLOAD_LONG_FH==NULL){
|
|
_FUNC_DOWNLOAD_LONG_FH=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DOWNLOAD_LONG_FH=0;
|
|
}
|
|
byte_element_struct *byte_element_4557=NULL;
|
|
if (!byte_element_4557){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4557=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4557=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|