Home
last modified time | relevance | path

Searched refs:SOLR_GLOBAL (Results 1 – 14 of 14) sorted by relevance

/dports/www/pecl-solr/solr-2.5.1/src/php7/
H A Dsolr_macros.h29 #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 Dphp_solr.c1292 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 Dphp_solr_utils.c220 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 Dphp_solr_collapse_function.c38 …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 Dsolr_functions_document.c180 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 Dphp_solr_extract.c41 if (zend_hash_index_update_ptr(SOLR_GLOBAL(ustreams), index, ustream_entry) == NULL) { in solr_init_ustream()
H A Dsolr_functions_helpers.c208 …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 Dphp_solr_input_document.c47 zend_hash_index_del(SOLR_GLOBAL(documents), doc_entry->document_index); in PHP_METHOD()
50 SOLR_GLOBAL(document_count)--; in PHP_METHOD()
H A Dphp_solr_params.c444 …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 Dphp_solr_client.c157 …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 Dphp_solr_document.c501 zend_hash_index_del(SOLR_GLOBAL(documents), doc_entry->document_index); in PHP_METHOD()
504 SOLR_GLOBAL(document_count)--; in PHP_METHOD()
H A Dphp_solr.h85 # define SOLR_GLOBAL(v) TSRMG(solr_globals_id, zend_solr_globals *, v) macro
87 # define SOLR_GLOBAL(v) (solr_globals.v) macro
H A Dsolr_functions_params.c28 …if ((solr_params = zend_hash_index_update_ptr(SOLR_GLOBAL(params), index, (void *) solr_params)) =… in solr_init_params()
H A Dphp_solr_query.c89 zend_hash_index_del(SOLR_GLOBAL(params), solr_params->params_index); in PHP_METHOD()