Lines Matching refs:ref_map
297 if (SOAP_GLOBAL(ref_map)) { in soap_check_zval_ref()
301 if (zend_hash_index_find(SOAP_GLOBAL(ref_map), (ulong)data, (void**)&node_ptr) == SUCCESS) { in soap_check_zval_ref()
355 …zend_hash_index_update(SOAP_GLOBAL(ref_map), (ulong)data, (void**)&node, sizeof(xmlNodePtr), NULL); in soap_check_zval_ref()
365 if (SOAP_GLOBAL(ref_map) && in soap_find_xml_ref()
366 zend_hash_index_find(SOAP_GLOBAL(ref_map), (ulong)node, (void**)&data_ptr) == SUCCESS) { in soap_find_xml_ref()
378 if (SOAP_GLOBAL(ref_map)) { in soap_check_xml_ref()
379 if (zend_hash_index_find(SOAP_GLOBAL(ref_map), (ulong)node, (void**)&data_ptr) == SUCCESS) { in soap_check_xml_ref()
388 zend_hash_index_update(SOAP_GLOBAL(ref_map), (ulong)node, (void**)data, sizeof(zval*), NULL); in soap_check_xml_ref()
3599 if (SOAP_GLOBAL(ref_map)) { in encode_reset_ns()
3600 zend_hash_destroy(SOAP_GLOBAL(ref_map)); in encode_reset_ns()
3602 SOAP_GLOBAL(ref_map) = emalloc(sizeof(HashTable)); in encode_reset_ns()
3604 zend_hash_init(SOAP_GLOBAL(ref_map), 0, NULL, NULL, 0); in encode_reset_ns()
3612 if (SOAP_GLOBAL(ref_map)) { in encode_finish()
3613 zend_hash_destroy(SOAP_GLOBAL(ref_map)); in encode_finish()
3614 efree(SOAP_GLOBAL(ref_map)); in encode_finish()
3615 SOAP_GLOBAL(ref_map) = NULL; in encode_finish()