Lines Matching refs:res

41 	zend_resource *res;  member
96 if (stm->res) in stm_release()
97 zend_list_delete(stm->res); in stm_release()
254 zend_list_delete(stm->stream->res); in istream_destructor()
273 GC_ADDREF(stream->res); in php_com_wrapper_export_stream()
274 stm->res = zend_register_resource(stm, le_istream); in php_com_wrapper_export_stream()
325 HRESULT res; in CPH_METHOD() local
335 res = get_persist_file(helper); in CPH_METHOD()
337 res = IPersistFile_GetCurFile(helper->ipf, &olename); in CPH_METHOD()
339 if (res == S_OK) { in CPH_METHOD()
348 } else if (res == S_FALSE) { in CPH_METHOD()
352 php_com_throw_exception(res, NULL); in CPH_METHOD()
354 php_com_throw_exception(res, NULL); in CPH_METHOD()
363 HRESULT res; in CPH_METHOD() local
377 res = get_persist_file(helper); in CPH_METHOD()
393 res = IPersistFile_Save(helper->ipf, olefilename, remember); in CPH_METHOD()
394 if (SUCCEEDED(res)) { in CPH_METHOD()
396 res = IPersistFile_GetCurFile(helper->ipf, &olefilename); in CPH_METHOD()
397 if (S_OK == res) { in CPH_METHOD()
411 if (FAILED(res)) { in CPH_METHOD()
412 php_com_throw_exception(res, NULL); in CPH_METHOD()
416 php_com_throw_exception(res, NULL); in CPH_METHOD()
424 HRESULT res; in CPH_METHOD() local
438 res = get_persist_file(helper); in CPH_METHOD()
452 res = IPersistFile_Load(helper->ipf, olefilename, (DWORD)flags); in CPH_METHOD()
455 if (FAILED(res)) { in CPH_METHOD()
456 php_com_throw_exception(res, NULL); in CPH_METHOD()
460 php_com_throw_exception(res, NULL); in CPH_METHOD()
468 HRESULT res; in CPH_METHOD() local
478 res = get_persist_stream_init(helper); in CPH_METHOD()
480 res = IPersistStreamInit_GetSizeMax(helper->ipsi, &size); in CPH_METHOD()
482 res = get_persist_stream(helper); in CPH_METHOD()
484 res = IPersistStream_GetSizeMax(helper->ips, &size); in CPH_METHOD()
486 php_com_throw_exception(res, NULL); in CPH_METHOD()
491 if (res != S_OK) { in CPH_METHOD()
492 php_com_throw_exception(res, NULL); in CPH_METHOD()
503 HRESULT res; in CPH_METHOD() local
512 res = get_persist_stream_init(helper); in CPH_METHOD()
514 res = IPersistStreamInit_InitNew(helper->ipsi); in CPH_METHOD()
516 if (res != S_OK) { in CPH_METHOD()
517 php_com_throw_exception(res, NULL); in CPH_METHOD()
522 php_com_throw_exception(res, NULL); in CPH_METHOD()
533 HRESULT res; in CPH_METHOD() local
553 res = S_OK; in CPH_METHOD()
560 res = OleLoadFromStream(stm, &IID_IDispatch, &disp); in CPH_METHOD()
562 if (SUCCEEDED(res)) { in CPH_METHOD()
566 res = get_persist_stream_init(helper); in CPH_METHOD()
568 res = IPersistStreamInit_Load(helper->ipsi, stm); in CPH_METHOD()
570 res = get_persist_stream(helper); in CPH_METHOD()
572 res = IPersistStreamInit_Load(helper->ipsi, stm); in CPH_METHOD()
578 if (FAILED(res)) { in CPH_METHOD()
579 php_com_throw_exception(res, NULL); in CPH_METHOD()
591 HRESULT res; in CPH_METHOD() local
613 res = get_persist_stream_init(helper); in CPH_METHOD()
615 res = IPersistStreamInit_Save(helper->ipsi, stm, TRUE); in CPH_METHOD()
617 res = get_persist_stream(helper); in CPH_METHOD()
619 res = IPersistStream_Save(helper->ips, stm, TRUE); in CPH_METHOD()
625 if (FAILED(res)) { in CPH_METHOD()
626 php_com_throw_exception(res, NULL); in CPH_METHOD()