mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 07:54:46 +00:00
48 lines
2.5 KiB
Text
48 lines
2.5 KiB
Text
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*oldstr5250=NULL;
|
|
if(_FUNC_MULTISEARCH_STRING___FULLTEXT->tmp||_FUNC_MULTISEARCH_STRING___FULLTEXT->fixed||_FUNC_MULTISEARCH_STRING___FULLTEXT->readonly){
|
|
oldstr5250=_FUNC_MULTISEARCH_STRING___FULLTEXT;
|
|
if (oldstr5250->cmem_descriptor){
|
|
_FUNC_MULTISEARCH_STRING___FULLTEXT=qbs_new_cmem(oldstr5250->len,0);
|
|
}else{
|
|
_FUNC_MULTISEARCH_STRING___FULLTEXT=qbs_new(oldstr5250->len,0);
|
|
}
|
|
memcpy(_FUNC_MULTISEARCH_STRING___FULLTEXT->chr,oldstr5250->chr,oldstr5250->len);
|
|
}
|
|
qbs*oldstr5251=NULL;
|
|
if(_FUNC_MULTISEARCH_STRING___SEARCHSTRING->tmp||_FUNC_MULTISEARCH_STRING___SEARCHSTRING->fixed||_FUNC_MULTISEARCH_STRING___SEARCHSTRING->readonly){
|
|
oldstr5251=_FUNC_MULTISEARCH_STRING___SEARCHSTRING;
|
|
if (oldstr5251->cmem_descriptor){
|
|
_FUNC_MULTISEARCH_STRING___SEARCHSTRING=qbs_new_cmem(oldstr5251->len,0);
|
|
}else{
|
|
_FUNC_MULTISEARCH_STRING___SEARCHSTRING=qbs_new(oldstr5251->len,0);
|
|
}
|
|
memcpy(_FUNC_MULTISEARCH_STRING___SEARCHSTRING->chr,oldstr5251->chr,oldstr5251->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_5252=NULL;
|
|
if (!byte_element_5252){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5252=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5252=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_5253=NULL;
|
|
if (!byte_element_5253){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5253=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5253=(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_5255=NULL;
|
|
if (!byte_element_5255){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5255=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5255=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|