Searched defs:hr (Results 1 - 25 of 112) sorted by relevance

12345

/external/skia/src/utils/win/
H A DSkHRESULT.cpp13 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 DSkDWriteFontFileStream.cpp50 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 Devent_trace_controller_unittest.cc127 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 Devent_trace_consumer.h131 HRESULT hr = S_OK; local
138 hr = HRESULT_FROM_WIN32(ret);
144 return hr;
H A Devent_trace_consumer_unittest.cc122 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 Devent_trace_controller.cc59 HRESULT hr = Start(session_name, prop, &session_); local
60 if (SUCCEEDED(hr))
63 return hr;
H A Dscoped_comptr.h118 HRESULT hr = ::CoCreateInstance(clsid, outer, context, *interface_id, local
120 return hr;
/external/chromium/chrome/browser/accessibility/
H A Dbrowser_accessibility_manager_win.cc42 HRESULT hr = ::CreateStdAccessibleObject( local
45 DCHECK(SUCCEEDED(hr));
H A Dbrowser_views_accessibility_browsertest.cc102 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 Dbrowser_accessibility_win_unittest.cc33 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 Durl_security_manager_win.cc58 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 Dbuildnum.c41 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 DWebGeolocationClient.cpp99 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 Dwin_safe_util.cc28 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 Dmemory_unittest.cc93 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 Dhistory_publisher_win.cc29 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 Dwinfirewall.cc63 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 Ddsound_template.h50 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 DFontPlatformDataChromiumWin.cpp136 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 DCFDictionaryPropertyBag.cpp164 HRESULT hr = E_FAIL; local
167 hr = S_OK;
169 hr = E_INVALIDARG;
171 return hr;
H A DMemoryStream.cpp197 HRESULT hr = pstm->Write(m_buffer->data()+m_pos, read, &written); local
207 return hr;
/external/chromium/chrome/browser/
H A Dplatform_util_win.cc69 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 Dls.c59 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 Dcaltztst.cpp181 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 DSkImageDecoder_WIC.cpp33 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...]

Completed in 1242 milliseconds

12345