Searched refs:SOLR_GLOBAL (Results 1 – 14 of 14) sorted by relevance
/dports/www/pecl-solr/solr-2.5.1/src/php7/ |
H A D | solr_macros.h | 29 #define SOLR_UNIQUE_DOCUMENT_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(documents)) 32 #define SOLR_UNIQUE_CLIENT_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(clients)) 35 #define SOLR_UNIQUE_PARAMS_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(params)) 38 #define SOLR_UNIQUE_FUNCTION_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(functions)) 41 #define SOLR_UNIQUE_USTREAM_INDEX() solr_hashtable_get_new_index(SOLR_GLOBAL(ustreams))
|
H A D | php_solr.c | 1292 ALLOC_HASHTABLE(SOLR_GLOBAL(documents)); in PHP_RINIT_FUNCTION() 1293 ALLOC_HASHTABLE(SOLR_GLOBAL(clients)); in PHP_RINIT_FUNCTION() 1294 ALLOC_HASHTABLE(SOLR_GLOBAL(params)); in PHP_RINIT_FUNCTION() 1295 ALLOC_HASHTABLE(SOLR_GLOBAL(functions)); in PHP_RINIT_FUNCTION() 1296 ALLOC_HASHTABLE(SOLR_GLOBAL(ustreams)); in PHP_RINIT_FUNCTION() 1316 zend_hash_destroy(SOLR_GLOBAL(params)); in PHP_RSHUTDOWN_FUNCTION() 1320 FREE_HASHTABLE(SOLR_GLOBAL(documents)); in PHP_RSHUTDOWN_FUNCTION() 1321 FREE_HASHTABLE(SOLR_GLOBAL(clients)); in PHP_RSHUTDOWN_FUNCTION() 1322 FREE_HASHTABLE(SOLR_GLOBAL(params)); in PHP_RSHUTDOWN_FUNCTION() 1323 FREE_HASHTABLE(SOLR_GLOBAL(functions)); in PHP_RSHUTDOWN_FUNCTION() [all …]
|
H A D | php_solr_utils.c | 220 int document_count = zend_hash_num_elements(SOLR_GLOBAL(documents)); in PHP_METHOD() 221 int client_count = zend_hash_num_elements(SOLR_GLOBAL(clients)); in PHP_METHOD() 222 int params_count = zend_hash_num_elements(SOLR_GLOBAL(params)); in PHP_METHOD()
|
H A D | php_solr_collapse_function.c | 38 …if ((solr_function_dest = zend_hash_index_update_ptr(SOLR_GLOBAL(functions),index,(void *) solr_fu… in PHP_METHOD() 77 zend_hash_index_del(SOLR_GLOBAL(functions), function->function_index); in PHP_METHOD()
|
H A D | solr_functions_document.c | 180 if (zend_hash_index_exists(SOLR_GLOBAL(documents), document_index)) { 189 … doc_ptr = zend_hash_index_update_ptr(SOLR_GLOBAL(documents), document_index, (void *) doc_entry); 192 SOLR_GLOBAL(document_count)++;
|
H A D | php_solr_extract.c | 41 if (zend_hash_index_update_ptr(SOLR_GLOBAL(ustreams), index, ustream_entry) == NULL) { in solr_init_ustream()
|
H A D | solr_functions_helpers.c | 208 …if ((*doc_entry = (solr_document_t *)zend_hash_index_find_ptr(SOLR_GLOBAL(documents), document_ind… 233 if ((*solr_client = zend_hash_index_find_ptr(SOLR_GLOBAL(clients), client_index)) == NULL) { 256 if ((*solr_params = zend_hash_index_find_ptr(SOLR_GLOBAL(params), params_index)) == NULL) { 278 if ((*solr_function = zend_hash_index_find_ptr(SOLR_GLOBAL(functions), params_index)) == NULL) { 1600 if ((*stream_entry = zend_hash_index_find_ptr(SOLR_GLOBAL(ustreams), index)) == NULL) {
|
H A D | php_solr_input_document.c | 47 zend_hash_index_del(SOLR_GLOBAL(documents), doc_entry->document_index); in PHP_METHOD() 50 SOLR_GLOBAL(document_count)--; in PHP_METHOD()
|
H A D | php_solr_params.c | 444 …if ((solr_params = zend_hash_index_update_ptr(SOLR_GLOBAL(params), params_index, (void *) solr_par… in solr_unserialize_solr_params_object() 594 zend_hash_index_del(SOLR_GLOBAL(params), solr_params->params_index); in solr_params_obj_dtor()
|
H A D | php_solr_client.c | 157 …if ((solr_client = zend_hash_index_update_ptr(SOLR_GLOBAL(clients), client_index, (void *)solr_cli… in solr_init_client() 418 SOLR_GLOBAL(client_count)++; in PHP_METHOD() 430 zend_hash_index_del(SOLR_GLOBAL(clients), solr_client->client_index); in PHP_METHOD() 433 SOLR_GLOBAL(client_count)--; in PHP_METHOD()
|
H A D | php_solr_document.c | 501 zend_hash_index_del(SOLR_GLOBAL(documents), doc_entry->document_index); in PHP_METHOD() 504 SOLR_GLOBAL(document_count)--; in PHP_METHOD()
|
H A D | php_solr.h | 85 # define SOLR_GLOBAL(v) TSRMG(solr_globals_id, zend_solr_globals *, v) macro 87 # define SOLR_GLOBAL(v) (solr_globals.v) macro
|
H A D | solr_functions_params.c | 28 …if ((solr_params = zend_hash_index_update_ptr(SOLR_GLOBAL(params), index, (void *) solr_params)) =… in solr_init_params()
|
H A D | php_solr_query.c | 89 zend_hash_index_del(SOLR_GLOBAL(params), solr_params->params_index); in PHP_METHOD()
|