/external/skia/src/utils/win/ |
H A D | SkHRESULT.cpp | 13 HRESULT hr, const char* msg) { 15 SkDEBUGF(("%s(%lu) : error 0x%x: ", file, line, hr)); 22 hr, 12 SkTraceHR(const char* file, unsigned long line, HRESULT hr, const char* msg) argument
|
H A D | SkDWriteFontFileStream.cpp | 50 HRESULT hr = S_OK; local 54 hr = fFontFileStream->GetFileSize(&realFileSize); 75 hr = fFontFileStream->ReadFileFragment(&start, fPos, size, &fragmentLock); 76 if (SUCCEEDED(hr)) { 85 hr = fFontFileStream->GetFileSize(&realFileSize); 92 hr = fFontFileStream->ReadFileFragment(&start, fPos, read, &fragmentLock); 93 if (SUCCEEDED(hr)) {
|
/external/chromium/base/win/ |
H A D | event_trace_controller_unittest.cc | 127 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); local 128 if (hr == E_ACCESSDENIED) { 147 HRESULT hr = controller.StartFileSession(kTestSessionName, local 149 if (hr == E_ACCESSDENIED) { 169 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); local 170 if (hr == E_ACCESSDENIED) {
|
H A D | event_trace_consumer.h | 131 HRESULT hr = S_OK; local 138 hr = HRESULT_FROM_WIN32(ret); 144 return hr;
|
H A D | event_trace_consumer_unittest.cc | 122 HRESULT hr = consumer_.Consume(); local 123 return hr; 139 HRESULT hr = S_OK; 164 return hr; 188 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); local 189 if (hr == E_ACCESSDENIED) { 220 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); local 221 if (hr == E_ACCESSDENIED) { 273 HRESULT hr = controller.StartFileSession(kTestSessionName, local 275 if (FAILED(hr)) 298 HRESULT hr = consumer_.OpenFileSession(temp_file_.value().c_str()); local 310 HRESULT hr = LogEventToTempSession(header); local 340 HRESULT hr = RoundTripEvent(&event.header, &trace); local [all...] |
H A D | event_trace_controller.cc | 59 HRESULT hr = Start(session_name, prop, &session_); local 60 if (SUCCEEDED(hr)) 63 return hr;
|
H A D | scoped_comptr.h | 118 HRESULT hr = ::CoCreateInstance(clsid, outer, context, *interface_id, local 120 return hr;
|
/external/chromium/chrome/browser/accessibility/ |
H A D | browser_accessibility_manager_win.cc | 42 HRESULT hr = ::CreateStdAccessibleObject( local 45 DCHECK(SUCCEEDED(hr));
|
H A D | browser_views_accessibility_browsertest.cc | 102 HRESULT hr = acc_obj->get_accName(id_self, &acc_name); local 103 ASSERT_EQ(S_OK, hr); 110 hr = acc_obj->get_accRole(id_self, &acc_role); 111 ASSERT_EQ(S_OK, hr); 131 HRESULT hr = ::AccessibleObjectFromWindow(hwnd, OBJID_WINDOW, IID_IAccessible, local 133 ASSERT_EQ(S_OK, hr); 264 HRESULT hr = local 269 ASSERT_EQ(S_OK, hr);
|
H A D | browser_accessibility_win_unittest.cc | 33 HRESULT hr = CComObject<CountedBrowserAccessibility>::CreateInstance( local 35 DCHECK(SUCCEEDED(hr)); 127 HRESULT hr = root_accessible->get_accChild(var_child, &root_iaccessible); local 128 ASSERT_EQ(S_OK, hr); 130 hr = root_accessible->get_accChild(var_child, &child1_iaccessible); 131 ASSERT_EQ(S_OK, hr); 176 HRESULT hr = manager->GetRoot()->toBrowserAccessibilityWin()->get_accChild( local 178 ASSERT_EQ(S_OK, hr); 181 hr = text_dispatch.QueryInterface(text_accessible.Receive()); 182 ASSERT_EQ(S_OK, hr); [all...] |
/external/chromium/net/http/ |
H A D | url_security_manager_win.cc | 58 HRESULT hr; local 59 hr = security_manager_->ProcessUrlAction(url_w.c_str(), 64 if (FAILED(hr)) { 65 LOG(ERROR) << "IInternetSecurityManager::ProcessUrlAction failed: " << hr; 87 hr = security_manager_->MapUrlToZone(url_w.c_str(), &zone, 0); 88 if (FAILED(hr)) { 89 LOG(ERROR) << "IInternetSecurityManager::MapUrlToZone failed: " << hr; 115 HRESULT hr = CoInternetCreateSecurityManager(NULL, local 118 if (FAILED(hr) || !security_manager_) {
|
/external/quake/quake/src/QW/client/ |
H A D | buildnum.c | 41 int hr, min;
local 67 hr = (buildTime[0] - '0') * 10 + (buildTime[1] - '0');
72 b += hr * 60 + min;
|
/external/webkit/Source/WebKit/win/WebCoreSupport/ |
H A D | WebGeolocationClient.cpp | 99 HRESULT hr = uiDelegatePrivate2->decidePolicyForGeolocationRequest(m_webView.get(), kit(frame), origin.get(), listener.get()); local 100 if (hr != E_NOTIMPL)
|
/external/chromium/chrome/common/ |
H A D | win_safe_util.cc | 28 HRESULT hr = attachment_services.CreateInstance(CLSID_AttachmentServices); local 29 if (FAILED(hr)) { 32 if (hr == CO_E_NOTINITIALIZED) { 54 hr = attachment_services->SetLocalPath(full_path.value().c_str()); 55 if (FAILED(hr)) 58 hr = attachment_services->SetSource(source_url.c_str()); 59 if (FAILED(hr)) 78 hr = attachment_services->Prompt(hwnd, ATTACHMENT_PROMPT_EXEC, &action); 79 if (FAILED(hr) || (ATTACHMENT_ACTION_CANCEL == action)) {
|
/external/valgrind/unittest/ |
H A D | memory_unittest.cc | 93 HRESULT hr; local 96 hr = ::CoCreateInstance(CLSID_WbemLocator, NULL, CLSCTX_INPROC_SERVER, 99 ASSERT_FALSE(FAILED(hr)); 103 hr = wmi_locator->ConnectServer(L"ROOT\\CIMV2", NULL, NULL, 0, 106 EXPECT_FALSE(FAILED(hr));
|
/external/chromium/chrome/browser/history/ |
H A D | history_publisher_win.cc | 29 HRESULT hr = CLSIDFromString(const_cast<wchar_t*>(name), &clsid); local 30 if (FAILED(hr)) 32 hr = CoCreateInstance(clsid, NULL, CLSCTX_INPROC, 35 if (FAILED(hr))
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | winfirewall.cc | 63 HRESULT hr = CoCreateInstance(__uuidof(NetFwMgr), local 67 if (SUCCEEDED(hr) && (mgr_ != NULL)) 68 hr = mgr_->get_LocalPolicy(&policy_); 69 if (SUCCEEDED(hr) && (policy_ != NULL)) 70 hr = policy_->get_CurrentProfile(&profile_); 73 *result = hr; 74 return SUCCEEDED(hr) && (profile_ != NULL); 108 HRESULT hr = profile_->get_AuthorizedApplications(&apps); local 109 if (SUCCEEDED(hr) && (apps != NULL)) { 111 hr 146 HRESULT hr = profile_->get_AuthorizedApplications(&apps); local [all...] |
/external/qemu/audio/ |
H A D | dsound_template.h | 50 HRESULT hr; local 52 hr = glue (IFACE, _Unlock) (buf, p1, blen1, p2, blen2); 53 if (FAILED (hr)) { 54 dsound_logerr (hr, "Could not unlock " NAME "\n"); 73 HRESULT hr; local 85 hr = glue (IFACE, _Lock) ( 96 if (FAILED (hr)) { 98 if (hr == DSERR_BUFFERLOST) { 100 dsound_logerr (hr, "Could not lock " NAME "\n"); 106 dsound_logerr (hr, "Coul 155 HRESULT hr; local 183 HRESULT hr; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | FontPlatformDataChromiumWin.cpp | 136 HRESULT hr = ScriptGetFontProperties(dc, scriptCache(), local 138 if (S_OK != hr) { 141 hr = ScriptGetFontProperties(dc, scriptCache(), 143 if (S_OK != hr) {
|
/external/webkit/Source/WebKit/win/ |
H A D | CFDictionaryPropertyBag.cpp | 164 HRESULT hr = E_FAIL; local 167 hr = S_OK; 169 hr = E_INVALIDARG; 171 return hr;
|
H A D | MemoryStream.cpp | 197 HRESULT hr = pstm->Write(m_buffer->data()+m_pos, read, &written); local 207 return hr;
|
/external/chromium/chrome/browser/ |
H A D | platform_util_win.cc | 69 HRESULT hr = SHGetDesktopFolder(desktop.Receive()); local 70 if (FAILED(hr)) 74 hr = desktop->ParseDisplayName(NULL, NULL, 77 if (FAILED(hr)) 81 hr = desktop->ParseDisplayName(NULL, NULL, 84 if (FAILED(hr)) 91 hr = (*open_folder_and_select_itemsPtr)(dir_item, arraysize(highlight), 94 if (FAILED(hr)) { 98 if (hr == ERROR_FILE_NOT_FOUND) { 104 0, hr, [all...] |
/external/e2fsprogs/lib/e2p/ |
H A D | ls.c | 59 int hr, min, num; local 86 hr = secs / HOUR_INT; 87 secs -= hr*HOUR_INT; 91 hr, min, secs);
|
/external/icu4c/test/intltest/ |
H A D | caltztst.cpp | 181 CalendarTimeZoneTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) argument 186 cal->set(1900 + y, m, d, hr, min, sec); // Add 1900 to follow java.util.Date protocol 200 CalendarTimeZoneTest::utcDate(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) 205 Date dt = date(y, m, d, hr, min, sec) + 219 CalendarTimeZoneTest::dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int32_t& min, int32_t& sec) argument 228 hr = cal->get(UCAL_HOUR_OF_DAY, status);
|
/external/skia/legacy/src/ports/ |
H A D | SkImageDecoder_WIC.cpp | 33 HRESULT hr = S_OK; local 37 if (SUCCEEDED(hr)) { 38 hr = CoCreateInstance( 48 if (SUCCEEDED(hr)) { 49 hr = SkIStream::CreateFromSkStream(stream, false, &piStream); 53 if (SUCCEEDED(hr)) { 55 hr = piStream->Seek(liBeginning, STREAM_SEEK_SET, NULL); 60 if (SUCCEEDED(hr)) { 61 hr = piImagingFactory->CreateDecoderFromStream( 71 if (SUCCEEDED(hr)) { 201 HRESULT hr = S_OK; local [all...] |