helper            294 ext/com_dotnet/com_persist.c #define CPH_FETCH()				php_com_persist_helper *helper = (php_com_persist_helper*)zend_object_store_get_object(getThis() TSRMLS_CC);
helper            296 ext/com_dotnet/com_persist.c #define CPH_NO_OBJ()			if (helper->unk == NULL) { php_com_throw_exception(E_INVALIDARG, "No COM object is associated with this helper instance" TSRMLS_CC); return; }
helper            310 ext/com_dotnet/com_persist.c static inline HRESULT get_persist_stream(php_com_persist_helper *helper)
helper            312 ext/com_dotnet/com_persist.c 	if (!helper->ips && helper->unk) {
helper            313 ext/com_dotnet/com_persist.c 		return IUnknown_QueryInterface(helper->unk, &IID_IPersistStream, &helper->ips);
helper            315 ext/com_dotnet/com_persist.c 	return helper->ips ? S_OK : E_NOTIMPL;
helper            318 ext/com_dotnet/com_persist.c static inline HRESULT get_persist_stream_init(php_com_persist_helper *helper)
helper            320 ext/com_dotnet/com_persist.c 	if (!helper->ipsi && helper->unk) {
helper            321 ext/com_dotnet/com_persist.c 		return IUnknown_QueryInterface(helper->unk, &IID_IPersistStreamInit, &helper->ipsi);
helper            323 ext/com_dotnet/com_persist.c 	return helper->ipsi ? S_OK : E_NOTIMPL;
helper            326 ext/com_dotnet/com_persist.c static inline HRESULT get_persist_file(php_com_persist_helper *helper)
helper            328 ext/com_dotnet/com_persist.c 	if (!helper->ipf && helper->unk) {
helper            329 ext/com_dotnet/com_persist.c 		return IUnknown_QueryInterface(helper->unk, &IID_IPersistFile, &helper->ipf);
helper            331 ext/com_dotnet/com_persist.c 	return helper->ipf ? S_OK : E_NOTIMPL;
helper            345 ext/com_dotnet/com_persist.c 	res = get_persist_file(helper);
helper            346 ext/com_dotnet/com_persist.c 	if (helper->ipf) {
helper            347 ext/com_dotnet/com_persist.c 		res = IPersistFile_GetCurFile(helper->ipf, &olename);
helper            352 ext/com_dotnet/com_persist.c 				   &Z_STRLEN_P(return_value), helper->codepage TSRMLS_CC);
helper            380 ext/com_dotnet/com_persist.c 	res = get_persist_file(helper);
helper            381 ext/com_dotnet/com_persist.c 	if (helper->ipf) {
helper            399 ext/com_dotnet/com_persist.c 			olefilename = php_com_string_to_olestring(filename, strlen(fullpath), helper->codepage TSRMLS_CC);
helper            402 ext/com_dotnet/com_persist.c 		res = IPersistFile_Save(helper->ipf, olefilename, remember);
helper            405 ext/com_dotnet/com_persist.c 				res = IPersistFile_GetCurFile(helper->ipf, &olefilename);
helper            407 ext/com_dotnet/com_persist.c 					IPersistFile_SaveCompleted(helper->ipf, olefilename);
helper            412 ext/com_dotnet/com_persist.c 				IPersistFile_SaveCompleted(helper->ipf, olefilename);
helper            443 ext/com_dotnet/com_persist.c 	res = get_persist_file(helper);
helper            444 ext/com_dotnet/com_persist.c 	if (helper->ipf) {
helper            461 ext/com_dotnet/com_persist.c 		olefilename = php_com_string_to_olestring(fullpath, strlen(fullpath), helper->codepage TSRMLS_CC);
helper            464 ext/com_dotnet/com_persist.c 		res = IPersistFile_Load(helper->ipf, olefilename, flags);
helper            487 ext/com_dotnet/com_persist.c 	res = get_persist_stream_init(helper);
helper            488 ext/com_dotnet/com_persist.c 	if (helper->ipsi) {
helper            489 ext/com_dotnet/com_persist.c 		res = IPersistStreamInit_GetSizeMax(helper->ipsi, &size);
helper            491 ext/com_dotnet/com_persist.c 		res = get_persist_stream(helper);
helper            492 ext/com_dotnet/com_persist.c 		if (helper->ips) {
helper            493 ext/com_dotnet/com_persist.c 			res = IPersistStream_GetSizeMax(helper->ips, &size);
helper            518 ext/com_dotnet/com_persist.c 	res = get_persist_stream_init(helper);
helper            519 ext/com_dotnet/com_persist.c 	if (helper->ipsi) {
helper            520 ext/com_dotnet/com_persist.c 		res = IPersistStreamInit_InitNew(helper->ipsi);
helper            564 ext/com_dotnet/com_persist.c 	if (helper->unk == NULL) {
helper            574 ext/com_dotnet/com_persist.c 		res = get_persist_stream_init(helper);
helper            575 ext/com_dotnet/com_persist.c 		if (helper->ipsi) {
helper            576 ext/com_dotnet/com_persist.c 			res = IPersistStreamInit_Load(helper->ipsi, stm);
helper            578 ext/com_dotnet/com_persist.c 			res = get_persist_stream(helper);
helper            579 ext/com_dotnet/com_persist.c 			if (helper->ips) {
helper            580 ext/com_dotnet/com_persist.c 				res = IPersistStreamInit_Load(helper->ipsi, stm);
helper            623 ext/com_dotnet/com_persist.c 	res = get_persist_stream_init(helper);
helper            624 ext/com_dotnet/com_persist.c 	if (helper->ipsi) {
helper            625 ext/com_dotnet/com_persist.c 		res = IPersistStreamInit_Save(helper->ipsi, stm, TRUE);
helper            627 ext/com_dotnet/com_persist.c 		res = get_persist_stream(helper);
helper            628 ext/com_dotnet/com_persist.c 		if (helper->ips) {
helper            629 ext/com_dotnet/com_persist.c 			res = IPersistStream_Save(helper->ips, stm, TRUE);
helper            670 ext/com_dotnet/com_persist.c 	helper->unk = (IUnknown*)V_DISPATCH(&obj->v);
helper            671 ext/com_dotnet/com_persist.c 	IUnknown_AddRef(helper->unk);
helper            672 ext/com_dotnet/com_persist.c 	helper->codepage = obj->code_page;
helper            738 ext/com_dotnet/com_persist.c 	php_com_persist_helper *helper;
helper            741 ext/com_dotnet/com_persist.c 	helper = emalloc(sizeof(*helper));
helper            742 ext/com_dotnet/com_persist.c 	memset(helper, 0, sizeof(*helper));
helper            744 ext/com_dotnet/com_persist.c 	zend_object_std_init(&helper->std, helper_ce TSRMLS_CC);
helper            746 ext/com_dotnet/com_persist.c 	retval.handle = zend_objects_store_put(helper, NULL, helper_free_storage, helper_clone TSRMLS_CC);