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*oldstr3566=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_STRING_FILE->tmp||_FUNC_CONVERTFILETOCARRAY_STRING_FILE->fixed||_FUNC_CONVERTFILETOCARRAY_STRING_FILE->readonly){
|
|
oldstr3566=_FUNC_CONVERTFILETOCARRAY_STRING_FILE;
|
|
if (oldstr3566->cmem_descriptor){
|
|
_FUNC_CONVERTFILETOCARRAY_STRING_FILE=qbs_new_cmem(oldstr3566->len,0);
|
|
}else{
|
|
_FUNC_CONVERTFILETOCARRAY_STRING_FILE=qbs_new(oldstr3566->len,0);
|
|
}
|
|
memcpy(_FUNC_CONVERTFILETOCARRAY_STRING_FILE->chr,oldstr3566->chr,oldstr3566->len);
|
|
}
|
|
qbs*oldstr3567=NULL;
|
|
if(_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE->tmp||_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE->fixed||_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE->readonly){
|
|
oldstr3567=_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE;
|
|
if (oldstr3567->cmem_descriptor){
|
|
_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE=qbs_new_cmem(oldstr3567->len,0);
|
|
}else{
|
|
_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE=qbs_new(oldstr3567->len,0);
|
|
}
|
|
memcpy(_FUNC_CONVERTFILETOCARRAY_STRING_HANDLE->chr,oldstr3567->chr,oldstr3567->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_3568=NULL;
|
|
if (!byte_element_3568){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3568=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3568=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_3569=NULL;
|
|
if (!byte_element_3569){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3569=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3569=(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_3570=NULL;
|
|
if (!byte_element_3570){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3570=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3570=(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_value3572;
|
|
int64 fornext_finalvalue3572;
|
|
int64 fornext_step3572;
|
|
uint8 fornext_step_negative3572;
|
|
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_value3576;
|
|
int64 fornext_finalvalue3576;
|
|
int64 fornext_step3576;
|
|
uint8 fornext_step_negative3576;
|
|
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_value3586;
|
|
int32 fornext_finalvalue3586;
|
|
int32 fornext_step3586;
|
|
uint8 fornext_step_negative3586;
|
|
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_3587=NULL;
|
|
if (!byte_element_3587){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3587=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3587=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int64 fornext_value3601;
|
|
int64 fornext_finalvalue3601;
|
|
int64 fornext_step3601;
|
|
uint8 fornext_step_negative3601;
|
|
byte_element_struct *byte_element_3607=NULL;
|
|
if (!byte_element_3607){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3607=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3607=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|