mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-17 00:45:15 +00:00
49 lines
2.5 KiB
Plaintext
49 lines
2.5 KiB
Plaintext
int32 *_FUNC_MULTISEARCH_LONG_MULTISEARCH=NULL;
|
|
if(_FUNC_MULTISEARCH_LONG_MULTISEARCH==NULL){
|
|
_FUNC_MULTISEARCH_LONG_MULTISEARCH=(int32*)mem_static_malloc(4);
|
|
*_FUNC_MULTISEARCH_LONG_MULTISEARCH=0;
|
|
}
|
|
qbs*oldstr4895=NULL;
|
|
if(_FUNC_MULTISEARCH_STRING___FULLTEXT->tmp||_FUNC_MULTISEARCH_STRING___FULLTEXT->fixed||_FUNC_MULTISEARCH_STRING___FULLTEXT->readonly){
|
|
oldstr4895=_FUNC_MULTISEARCH_STRING___FULLTEXT;
|
|
if (oldstr4895->cmem_descriptor){
|
|
_FUNC_MULTISEARCH_STRING___FULLTEXT=qbs_new_cmem(oldstr4895->len,0);
|
|
}else{
|
|
_FUNC_MULTISEARCH_STRING___FULLTEXT=qbs_new(oldstr4895->len,0);
|
|
}
|
|
memcpy(_FUNC_MULTISEARCH_STRING___FULLTEXT->chr,oldstr4895->chr,oldstr4895->len);
|
|
}
|
|
qbs*oldstr4896=NULL;
|
|
if(_FUNC_MULTISEARCH_STRING___SEARCHSTRING->tmp||_FUNC_MULTISEARCH_STRING___SEARCHSTRING->fixed||_FUNC_MULTISEARCH_STRING___SEARCHSTRING->readonly){
|
|
oldstr4896=_FUNC_MULTISEARCH_STRING___SEARCHSTRING;
|
|
if (oldstr4896->cmem_descriptor){
|
|
_FUNC_MULTISEARCH_STRING___SEARCHSTRING=qbs_new_cmem(oldstr4896->len,0);
|
|
}else{
|
|
_FUNC_MULTISEARCH_STRING___SEARCHSTRING=qbs_new(oldstr4896->len,0);
|
|
}
|
|
memcpy(_FUNC_MULTISEARCH_STRING___SEARCHSTRING->chr,oldstr4896->chr,oldstr4896->len);
|
|
}
|
|
qbs *_FUNC_MULTISEARCH_STRING_FULLTEXT=NULL;
|
|
if (!_FUNC_MULTISEARCH_STRING_FULLTEXT)_FUNC_MULTISEARCH_STRING_FULLTEXT=qbs_new(0,0);
|
|
qbs *_FUNC_MULTISEARCH_STRING_SEARCHSTRING=NULL;
|
|
if (!_FUNC_MULTISEARCH_STRING_SEARCHSTRING)_FUNC_MULTISEARCH_STRING_SEARCHSTRING=qbs_new(0,0);
|
|
byte_element_struct *byte_element_4897=NULL;
|
|
if (!byte_element_4897){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4897=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4897=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_4898=NULL;
|
|
if (!byte_element_4898){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4898=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4898=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_MULTISEARCH_LONG_FINDPLUS=NULL;
|
|
if(_FUNC_MULTISEARCH_LONG_FINDPLUS==NULL){
|
|
_FUNC_MULTISEARCH_LONG_FINDPLUS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_MULTISEARCH_LONG_FINDPLUS=0;
|
|
}
|
|
qbs *_FUNC_MULTISEARCH_STRING_THISTERM=NULL;
|
|
if (!_FUNC_MULTISEARCH_STRING_THISTERM)_FUNC_MULTISEARCH_STRING_THISTERM=qbs_new(0,0);
|
|
byte_element_struct *byte_element_4900=NULL;
|
|
if (!byte_element_4900){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4900=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4900=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|