disp               49 ext/com_dotnet/com_misc.c PHP_COM_DOTNET_API void php_com_wrap_dispatch(zval *z, IDispatch *disp,
disp               62 ext/com_dotnet/com_misc.c 	V_DISPATCH(&obj->v) = disp;
disp              569 ext/com_dotnet/com_persist.c 		IDispatch *disp = NULL;
disp              572 ext/com_dotnet/com_persist.c 		res = OleLoadFromStream(stm, &IID_IDispatch, &disp);
disp              575 ext/com_dotnet/com_persist.c 			php_com_wrap_dispatch(return_value, disp, COMG(code_page));
disp               72 ext/com_dotnet/com_typeinfo.c 			IDispatch *disp = NULL;
disp               76 ext/com_dotnet/com_typeinfo.c 			if (SUCCEEDED(hr = CoCreateInstance(&clsid, NULL, CLSCTX_SERVER, &IID_IDispatch, (LPVOID*)&disp)) &&
disp               77 ext/com_dotnet/com_typeinfo.c 					SUCCEEDED(hr = IDispatch_GetTypeInfo(disp, 0, LANG_NEUTRAL, &info))) {
disp               84 ext/com_dotnet/com_typeinfo.c 			if (disp) {
disp               85 ext/com_dotnet/com_typeinfo.c 				IDispatch_Release(disp);
disp              248 ext/com_dotnet/com_variant.c 				IDispatch *disp;
disp              250 ext/com_dotnet/com_variant.c 				if (SUCCEEDED(IUnknown_QueryInterface(V_UNKNOWN(v), &IID_IDispatch, &disp))) {
disp              251 ext/com_dotnet/com_variant.c 					php_com_wrap_dispatch(z, disp, codepage);
disp              252 ext/com_dotnet/com_variant.c 					IDispatch_Release(disp);
disp               55 ext/com_dotnet/com_wrapper.c static void disp_destructor(php_dispatchex *disp);
disp               59 ext/com_dotnet/com_wrapper.c 	php_dispatchex *disp = (php_dispatchex *)rsrc->ptr;
disp               60 ext/com_dotnet/com_wrapper.c 	disp_destructor(disp);
disp               90 ext/com_dotnet/com_wrapper.c 	php_dispatchex *disp = (php_dispatchex*)This; 														\
disp               92 ext/com_dotnet/com_wrapper.c 		trace(" PHP Object:%p (name:unknown) %s\n", Z_OBJ(disp->object),  methname); 							\
disp               94 ext/com_dotnet/com_wrapper.c 		trace(" PHP Object:%p (name:%s) %s\n", Z_OBJ(disp->object), Z_OBJCE(disp->object)->name->val, methname); 	\
disp               96 ext/com_dotnet/com_wrapper.c 	if (GetCurrentThreadId() != disp->engine_thread) {													\
disp              110 ext/com_dotnet/com_wrapper.c 			IsEqualGUID(&disp->sinkid, riid)) {
disp              112 ext/com_dotnet/com_wrapper.c 		InterlockedIncrement(&disp->refcount);
disp              124 ext/com_dotnet/com_wrapper.c 	return InterlockedIncrement(&disp->refcount);
disp              132 ext/com_dotnet/com_wrapper.c 	ret = InterlockedDecrement(&disp->refcount);
disp              136 ext/com_dotnet/com_wrapper.c 		if (disp->res)
disp              137 ext/com_dotnet/com_wrapper.c 			zend_list_delete(disp->res);
disp              184 ext/com_dotnet/com_wrapper.c 		if ((tmp = zend_hash_str_find(disp->name_to_dispid, name, namelen)) == NULL) {
disp              228 ext/com_dotnet/com_wrapper.c 	trace("Looking for %s, namelen=%d in %p\n", name, namelen, disp->name_to_dispid);
disp              231 ext/com_dotnet/com_wrapper.c 	if ((tmp = zend_hash_str_find(disp->name_to_dispid, name, namelen)) != NULL) {
disp              259 ext/com_dotnet/com_wrapper.c 	if (NULL != (name = zend_hash_index_find(disp->dispid_to_name, id))) {
disp              285 ext/com_dotnet/com_wrapper.c 			retval = zend_read_property(Z_OBJCE(disp->object), &disp->object, Z_STRVAL_P(name), Z_STRLEN_P(name)+1, 1, &rv);
disp              287 ext/com_dotnet/com_wrapper.c 			zend_update_property(Z_OBJCE(disp->object), &disp->object, Z_STRVAL_P(name), Z_STRLEN_P(name), &params[0]);
disp              291 ext/com_dotnet/com_wrapper.c 				if (SUCCESS == call_user_function_ex(EG(function_table), &disp->object, name,
disp              386 ext/com_dotnet/com_wrapper.c 	if (NULL != (name = zend_hash_index_find(disp->dispid_to_name, id))) {
disp              405 ext/com_dotnet/com_wrapper.c 	while(!zend_hash_index_exists(disp->dispid_to_name, next))
disp              408 ext/com_dotnet/com_wrapper.c 	if (zend_hash_index_exists(disp->dispid_to_name, next)) {
disp              446 ext/com_dotnet/com_wrapper.c static void generate_dispids(php_dispatchex *disp)
disp              454 ext/com_dotnet/com_wrapper.c 	if (disp->dispid_to_name == NULL) {
disp              455 ext/com_dotnet/com_wrapper.c 		ALLOC_HASHTABLE(disp->dispid_to_name);
disp              456 ext/com_dotnet/com_wrapper.c 		ALLOC_HASHTABLE(disp->name_to_dispid);
disp              457 ext/com_dotnet/com_wrapper.c 		zend_hash_init(disp->name_to_dispid, 0, NULL, ZVAL_PTR_DTOR, 0);
disp              458 ext/com_dotnet/com_wrapper.c 		zend_hash_init(disp->dispid_to_name, 0, NULL, ZVAL_PTR_DTOR, 0);
disp              462 ext/com_dotnet/com_wrapper.c 	if (Z_OBJPROP(disp->object)) {
disp              463 ext/com_dotnet/com_wrapper.c 		zend_hash_internal_pointer_reset_ex(Z_OBJPROP(disp->object), &pos);
disp              465 ext/com_dotnet/com_wrapper.c 				zend_hash_get_current_key_ex(Z_OBJPROP(disp->object), &name,
disp              475 ext/com_dotnet/com_wrapper.c 			zend_hash_move_forward_ex(Z_OBJPROP(disp->object), &pos);
disp              478 ext/com_dotnet/com_wrapper.c 			if ((tmp = zend_hash_find(disp->name_to_dispid, name)) != NULL) {
disp              485 ext/com_dotnet/com_wrapper.c 			pid = zend_hash_next_free_element(disp->dispid_to_name);
disp              486 ext/com_dotnet/com_wrapper.c 			zend_hash_index_update(disp->dispid_to_name, pid, &tmp2);
disp              489 ext/com_dotnet/com_wrapper.c 			zend_hash_update(disp->name_to_dispid, name, &tmp2);
disp              496 ext/com_dotnet/com_wrapper.c 	if (Z_OBJCE(disp->object)) {
disp              497 ext/com_dotnet/com_wrapper.c 		zend_hash_internal_pointer_reset_ex(&Z_OBJCE(disp->object)->function_table, &pos);
disp              499 ext/com_dotnet/com_wrapper.c 				zend_hash_get_current_key_ex(&Z_OBJCE(disp->object)->function_table,
disp              510 ext/com_dotnet/com_wrapper.c 			zend_hash_move_forward_ex(&Z_OBJCE(disp->object)->function_table, &pos);
disp              513 ext/com_dotnet/com_wrapper.c 			if ((tmp = zend_hash_find(disp->name_to_dispid, name)) != NULL) {
disp              520 ext/com_dotnet/com_wrapper.c 			pid = zend_hash_next_free_element(disp->dispid_to_name);
disp              521 ext/com_dotnet/com_wrapper.c 			zend_hash_index_update(disp->dispid_to_name, pid, &tmp2);
disp              524 ext/com_dotnet/com_wrapper.c 			zend_hash_update(disp->name_to_dispid, name, &tmp2);
disp              533 ext/com_dotnet/com_wrapper.c 	php_dispatchex *disp = (php_dispatchex*)CoTaskMemAlloc(sizeof(php_dispatchex));
disp              538 ext/com_dotnet/com_wrapper.c 	if (disp == NULL)
disp              541 ext/com_dotnet/com_wrapper.c 	memset(disp, 0, sizeof(php_dispatchex));
disp              543 ext/com_dotnet/com_wrapper.c 	disp->engine_thread = GetCurrentThreadId();
disp              544 ext/com_dotnet/com_wrapper.c 	disp->lpVtbl = &php_dispatch_vtbl;
disp              545 ext/com_dotnet/com_wrapper.c 	disp->refcount = 1;
disp              549 ext/com_dotnet/com_wrapper.c 		ZVAL_COPY(&disp->object, object);
disp              551 ext/com_dotnet/com_wrapper.c 		ZVAL_UNDEF(&disp->object);
disp              554 ext/com_dotnet/com_wrapper.c 	tmp = zend_list_insert(disp, le_dispatch);
disp              555 ext/com_dotnet/com_wrapper.c 	disp->res = Z_RES_P(tmp);
disp              557 ext/com_dotnet/com_wrapper.c 	return disp;
disp              560 ext/com_dotnet/com_wrapper.c static void disp_destructor(php_dispatchex *disp)
disp              564 ext/com_dotnet/com_wrapper.c 		trace("destroying COM wrapper for PHP object %p (name:unknown)\n", Z_OBJ(disp->object));
disp              566 ext/com_dotnet/com_wrapper.c 		trace("destroying COM wrapper for PHP object %p (name:%s)\n", Z_OBJ(disp->object), Z_OBJCE(disp->object)->name->val);
disp              569 ext/com_dotnet/com_wrapper.c 	disp->res = NULL;
disp              571 ext/com_dotnet/com_wrapper.c 	if (disp->refcount > 0)
disp              572 ext/com_dotnet/com_wrapper.c 		CoDisconnectObject((IUnknown*)disp, 0);
disp              574 ext/com_dotnet/com_wrapper.c 	zend_hash_destroy(disp->dispid_to_name);
disp              575 ext/com_dotnet/com_wrapper.c 	zend_hash_destroy(disp->name_to_dispid);
disp              576 ext/com_dotnet/com_wrapper.c 	FREE_HASHTABLE(disp->dispid_to_name);
disp              577 ext/com_dotnet/com_wrapper.c 	FREE_HASHTABLE(disp->name_to_dispid);
disp              579 ext/com_dotnet/com_wrapper.c 	zval_ptr_dtor(&disp->object);
disp              581 ext/com_dotnet/com_wrapper.c 	CoTaskMemFree(disp);
disp              587 ext/com_dotnet/com_wrapper.c 	php_dispatchex *disp = disp_constructor(val);
disp              594 ext/com_dotnet/com_wrapper.c 	disp->dispid_to_name = id_to_name;
disp              596 ext/com_dotnet/com_wrapper.c 	memcpy(&disp->sinkid, sinkid, sizeof(disp->sinkid));
disp              599 ext/com_dotnet/com_wrapper.c 	ALLOC_HASHTABLE(disp->name_to_dispid);
disp              600 ext/com_dotnet/com_wrapper.c 	zend_hash_init(disp->name_to_dispid, 0, NULL, ZVAL_PTR_DTOR, 0);
disp              611 ext/com_dotnet/com_wrapper.c 			zend_hash_update(disp->name_to_dispid, Z_STR_P(ntmp), &tmp);
disp              617 ext/com_dotnet/com_wrapper.c 	return (IDispatch*)disp;
disp              622 ext/com_dotnet/com_wrapper.c 	php_dispatchex *disp = NULL;
disp              643 ext/com_dotnet/com_wrapper.c 	disp = disp_constructor(val);
disp              644 ext/com_dotnet/com_wrapper.c 	generate_dispids(disp);
disp              646 ext/com_dotnet/com_wrapper.c 	return (IDispatch*)disp;
disp              165 ext/com_dotnet/php_com_dotnet_internal.h PHP_COM_DOTNET_API void php_com_wrap_dispatch(zval *z, IDispatch *disp,
disp              498 ext/gd/libgd/gd_gif_out.c     register code_int disp;
disp              552 ext/gd/libgd/gd_gif_out.c         disp = hsize_reg - i;           /* secondary hash (after G. Knott) */
disp              554 ext/gd/libgd/gd_gif_out.c             disp = 1;
disp              556 ext/gd/libgd/gd_gif_out.c         if ( (i -= disp) < 0 )