mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
146 lines
6.6 KiB
Text
146 lines
6.6 KiB
Text
int16 *_FUNC_CONVERTFILETOCARRAY_INTEGER_CONVERTFILETOCARRAY=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_INTEGER_CONVERTFILETOCARRAY==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_INTEGER_CONVERTFILETOCARRAY=(int16*)mem_static_malloc(2);
|
|
*_FUNC_CONVERTFILETOCARRAY_INTEGER_CONVERTFILETOCARRAY=0;
|
|
}
|
|
qbs*oldstr3821=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_STRING_FILE->tmp||_FUNC_CONVERTFILETOCARRAY_STRING_FILE->fixed||_FUNC_CONVERTFILETOCARRAY_STRING_FILE->readonly){
|
|
oldstr3821=_FUNC_CONVERTFILETOCARRAY_STRING_FILE;
|
|
if (oldstr3821->cmem_descriptor){
|
|
_FUNC_CONVERTFILETOCARRAY_STRING_FILE=qbs_new_cmem(oldstr3821->len,0);
|
|
}else{
|
|
_FUNC_CONVERTFILETOCARRAY_STRING_FILE=qbs_new(oldstr3821->len,0);
|
|
}
|
|
memcpy(_FUNC_CONVERTFILETOCARRAY_STRING_FILE->chr,oldstr3821->chr,oldstr3821->len);
|
|
}
|
|
qbs*oldstr3822=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE->tmp||_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE->fixed||_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE->readonly){
|
|
oldstr3822=_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE;
|
|
if (oldstr3822->cmem_descriptor){
|
|
_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE=qbs_new_cmem(oldstr3822->len,0);
|
|
}else{
|
|
_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE=qbs_new(oldstr3822->len,0);
|
|
}
|
|
memcpy(_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE->chr,oldstr3822->chr,oldstr3822->len);
|
|
}
|
|
int16 *_FUNC_CONVERTFILETOCARRAY_INTEGER_SFF=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_INTEGER_SFF==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_INTEGER_SFF=(int16*)mem_static_malloc(2);
|
|
*_FUNC_CONVERTFILETOCARRAY_INTEGER_SFF=0;
|
|
}
|
|
qbs *_FUNC_CONVERTFILETOCARRAY_STRING_FILEDATA=NULL;
|
|
if (!_FUNC_CONVERTFILETOCARRAY_STRING_FILEDATA)_FUNC_CONVERTFILETOCARRAY_STRING_FILEDATA=qbs_new(0,0);
|
|
qbs *_FUNC_CONVERTFILETOCARRAY_STRING_COMPDATA=NULL;
|
|
if (!_FUNC_CONVERTFILETOCARRAY_STRING_COMPDATA)_FUNC_CONVERTFILETOCARRAY_STRING_COMPDATA=qbs_new(0,0);
|
|
byte_element_struct *byte_element_3823=NULL;
|
|
if (!byte_element_3823){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3823=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3823=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_3824=NULL;
|
|
if (!byte_element_3824){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3824=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3824=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_FUNC_CONVERTFILETOCARRAY_STRING_TMPFILE=NULL;
|
|
if (!_FUNC_CONVERTFILETOCARRAY_STRING_TMPFILE)_FUNC_CONVERTFILETOCARRAY_STRING_TMPFILE=qbs_new(0,0);
|
|
byte_element_struct *byte_element_3825=NULL;
|
|
if (!byte_element_3825){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3825=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3825=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int16 *_FUNC_CONVERTFILETOCARRAY_INTEGER_PACKED=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_INTEGER_PACKED==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_INTEGER_PACKED=(int16*)mem_static_malloc(2);
|
|
*_FUNC_CONVERTFILETOCARRAY_INTEGER_PACKED=0;
|
|
}
|
|
int32 *_FUNC_CONVERTFILETOCARRAY_LONG_FL=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_LONG_FL==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_LONG_FL=(int32*)mem_static_malloc(4);
|
|
*_FUNC_CONVERTFILETOCARRAY_LONG_FL=0;
|
|
}
|
|
int32 *_FUNC_CONVERTFILETOCARRAY_LONG_CNTL=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_LONG_CNTL==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_LONG_CNTL=(int32*)mem_static_malloc(4);
|
|
*_FUNC_CONVERTFILETOCARRAY_LONG_CNTL=0;
|
|
}
|
|
int32 *_FUNC_CONVERTFILETOCARRAY_LONG_CNTV=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_LONG_CNTV==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_LONG_CNTV=(int32*)mem_static_malloc(4);
|
|
*_FUNC_CONVERTFILETOCARRAY_LONG_CNTV=0;
|
|
}
|
|
int32 *_FUNC_CONVERTFILETOCARRAY_LONG_CNTB=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_LONG_CNTB==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_LONG_CNTB=(int32*)mem_static_malloc(4);
|
|
*_FUNC_CONVERTFILETOCARRAY_LONG_CNTB=0;
|
|
}
|
|
int16 *_FUNC_CONVERTFILETOCARRAY_INTEGER_DFF=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_INTEGER_DFF==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_INTEGER_DFF=(int16*)mem_static_malloc(2);
|
|
*_FUNC_CONVERTFILETOCARRAY_INTEGER_DFF=0;
|
|
}
|
|
qbs *_FUNC_CONVERTFILETOCARRAY_STRING_TMPI=NULL;
|
|
if (!_FUNC_CONVERTFILETOCARRAY_STRING_TMPI)_FUNC_CONVERTFILETOCARRAY_STRING_TMPI=qbs_new(0,0);
|
|
int32 *_FUNC_CONVERTFILETOCARRAY_LONG_VC=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_LONG_VC==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_LONG_VC=(int32*)mem_static_malloc(4);
|
|
*_FUNC_CONVERTFILETOCARRAY_LONG_VC=0;
|
|
}
|
|
int64 fornext_value3827;
|
|
int64 fornext_finalvalue3827;
|
|
int64 fornext_step3827;
|
|
uint8 fornext_step_negative3827;
|
|
int32 *_FUNC_CONVERTFILETOCARRAY_LONG_NUML=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_LONG_NUML==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_LONG_NUML=(int32*)mem_static_malloc(4);
|
|
*_FUNC_CONVERTFILETOCARRAY_LONG_NUML=0;
|
|
}
|
|
int32 *_FUNC_CONVERTFILETOCARRAY_LONG_Z=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_LONG_Z==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_LONG_Z=(int32*)mem_static_malloc(4);
|
|
*_FUNC_CONVERTFILETOCARRAY_LONG_Z=0;
|
|
}
|
|
int64 fornext_value3831;
|
|
int64 fornext_finalvalue3831;
|
|
int64 fornext_step3831;
|
|
uint8 fornext_step_negative3831;
|
|
int16 *_FUNC_CONVERTFILETOCARRAY_INTEGER_OFFI=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_INTEGER_OFFI==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_INTEGER_OFFI=(int16*)mem_static_malloc(2);
|
|
*_FUNC_CONVERTFILETOCARRAY_INTEGER_OFFI=0;
|
|
}
|
|
qbs *_FUNC_CONVERTFILETOCARRAY_STRING_TMPO=NULL;
|
|
if (!_FUNC_CONVERTFILETOCARRAY_STRING_TMPO)_FUNC_CONVERTFILETOCARRAY_STRING_TMPO=qbs_new(0,0);
|
|
int16 *_FUNC_CONVERTFILETOCARRAY_INTEGER_OFFO=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_INTEGER_OFFO==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_INTEGER_OFFO=(int16*)mem_static_malloc(2);
|
|
*_FUNC_CONVERTFILETOCARRAY_INTEGER_OFFO=0;
|
|
}
|
|
int32 *_FUNC_CONVERTFILETOCARRAY_LONG_TMPL=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_LONG_TMPL==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_LONG_TMPL=(int32*)mem_static_malloc(4);
|
|
*_FUNC_CONVERTFILETOCARRAY_LONG_TMPL=0;
|
|
}
|
|
int16 *_FUNC_CONVERTFILETOCARRAY_INTEGER_X=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_INTEGER_X==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_INTEGER_X=(int16*)mem_static_malloc(2);
|
|
*_FUNC_CONVERTFILETOCARRAY_INTEGER_X=0;
|
|
}
|
|
int32 fornext_value3841;
|
|
int32 fornext_finalvalue3841;
|
|
int32 fornext_step3841;
|
|
uint8 fornext_step_negative3841;
|
|
int8 *_FUNC_CONVERTFILETOCARRAY_BYTE_TMPB=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_BYTE_TMPB==NULL){
|
|
_FUNC_CONVERTFILETOCARRAY_BYTE_TMPB=(int8*)mem_static_malloc(1);
|
|
*_FUNC_CONVERTFILETOCARRAY_BYTE_TMPB=0;
|
|
}
|
|
byte_element_struct *byte_element_3842=NULL;
|
|
if (!byte_element_3842){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3842=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3842=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int64 fornext_value3856;
|
|
int64 fornext_finalvalue3856;
|
|
int64 fornext_step3856;
|
|
uint8 fornext_step_negative3856;
|
|
byte_element_struct *byte_element_3862=NULL;
|
|
if (!byte_element_3862){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3862=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3862=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|