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

123

/external/chromium/base/
H A Devent_trace_controller_win_unittest.cc120 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); local
121 if (hr == E_ACCESSDENIED) {
140 HRESULT hr = controller.StartFileSession(kTestSessionName, local
142 if (hr == E_ACCESSDENIED) {
162 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); local
163 if (hr == E_ACCESSDENIED) {
H A Devent_trace_consumer_win.h127 HRESULT hr = S_OK; local
134 hr = HRESULT_FROM_WIN32(ret);
140 return hr;
H A Devent_trace_controller_win.cc23 HRESULT hr = Start(session_name, prop, &session_); local
24 if (SUCCEEDED(hr))
27 return hr;
H A Dscoped_comptr_win.h110 HRESULT hr = ::CoCreateInstance(clsid, outer, context, *interface_id, local
112 return hr;
H A Dwmi_util.cc37 HRESULT hr = wmi_locator.CreateInstance(CLSID_WbemLocator, NULL, local
39 if (FAILED(hr))
43 hr = wmi_locator->ConnectServer(StackBstr(L"ROOT\\CIMV2"), NULL, NULL, 0,
45 if (FAILED(hr))
49 hr = ::CoSetProxyBlanket(wmi_services_r,
57 if (FAILED(hr))
74 HRESULT hr; local
75 hr = wmi_services->GetObject(b_class_name, 0, NULL,
77 if (FAILED(hr))
81 hr
97 HRESULT hr = class_method->Put(parameter_name.c_str(), 0, parameter, 0); local
125 HRESULT hr = wmi_local->ExecMethod(StackBstr(class_name), local
[all...]
H A Devent_trace_consumer_win_unittest.cc113 HRESULT hr = consumer_.Consume(); local
114 return hr;
130 HRESULT hr = S_OK;
155 return hr;
179 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); local
180 if (hr == E_ACCESSDENIED) {
211 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); local
212 if (hr == E_ACCESSDENIED) {
262 HRESULT hr = controller.StartFileSession(kTestSessionName, local
264 if (FAILED(hr))
287 HRESULT hr = consumer_.OpenFileSession(temp_file_.value().c_str()); local
299 HRESULT hr = LogEventToTempSession(header); local
329 HRESULT hr = RoundTripEvent(&event.header, &trace); local
[all...]
H A Dscoped_variant_win.cc89 HRESULT hr = ::VarCmp(const_cast<VARIANT*>(&var_), const_cast<VARIANT*>(&var), local
93 switch (hr) {
/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;
H A Dsnd_win.c424 HRESULT hr; local
447 while ((hr = waveOutOpen((LPHWAVEOUT)&hWaveOut, WAVE_MAPPER,
451 if (hr != MMSYSERR_ALLOCATED)
/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/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/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;
H A DWebDownload.cpp297 HRESULT hr = E_FAIL; local
325 hr = S_OK;
328 return hr;
H A DWebNotificationCenter.cpp167 HRESULT hr = notification->name(&name); local
168 if (FAILED(hr))
169 return hr;
172 hr = notification->getObject(&obj);
173 if (FAILED(hr))
174 return hr;
179 return hr;
H A DMarshallingHelpers.cpp229 HRESULT hr = ::SafeArrayGetLBound(inArray, 1, &lBound); local
230 if (SUCCEEDED(hr))
231 hr = ::SafeArrayGetUBound(inArray, 1, &uBound);
232 long len = (SUCCEEDED(hr)) ? (uBound-lBound+1) : 0;
238 hr = ::SafeArrayGetElement(inArray, &lBound, &str);
252 HRESULT hr = ::SafeArrayGetLBound(inArray, 1, &lBound); local
253 if (SUCCEEDED(hr))
254 hr = ::SafeArrayGetUBound(inArray, 1, &uBound);
255 long len = (SUCCEEDED(hr)) ? (uBound-lBound+1) : 0;
261 hr
274 HRESULT hr = ::SafeArrayGetLBound(inArray, 1, &lBound); local
[all...]
H A DWebDataSource.cpp178 HRESULT hr = S_OK; local
181 hr = htmlRep->QueryInterface(IID_IWebDocumentRepresentation, (void**) &m_representation);
H A DWebHTMLRepresentation.cpp157 HRESULT hr = m_frame->elementDoesAutoComplete(element, &doesAutoComplete); local
159 return hr;
167 HRESULT hr = m_frame->elementIsPassword(element, &isPassword); local
169 return hr;
258 HRESULT hr = this->m_frame->canProvideDocumentSource(&canProvideSource); local
260 return hr;
271 HRESULT hr = S_OK; local
274 hr = m_frame->dataSource(&dataSource);
275 if (FAILED(hr))
276 return hr;
[all...]
/external/chromium/third_party/icu/source/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/e2fsprogs/lib/e2p/
H A Dls.c57 int hr, min, num; local
84 hr = secs / HOUR_INT;
85 secs -= hr*HOUR_INT;
89 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/webkit/WebKit/win/WebCoreSupport/
H A DEmbeddedWidget.cpp62 HRESULT hr = m_view->createViewWindow((OLE_HANDLE)parentWindow, &pluginSize, (OLE_HANDLE*)&window); local
64 if (FAILED(hr) || !window)
/external/webkit/WebKitTools/DumpRenderTree/win/
H A DAccessibilityControllerWin.cpp112 HRESULT hr = AccessibleObjectFromEvent(hwnd, idObject, idChild, &parentObject, &vChild); local
113 ASSERT(SUCCEEDED(hr));
117 hr = parentObject->get_accName(vChild, &nameBSTR);
118 ASSERT(SUCCEEDED(hr));
129 hr = parentObject->get_accValue(vChild, &valueBSTR);
130 ASSERT(SUCCEEDED(hr));
228 HRESULT hr = AccessibleObjectFromEvent(hwnd, idObject, idChild, &parentObject, &vChild); local
229 ASSERT(SUCCEEDED(hr));
H A DFrameLoadDelegate.cpp171 HRESULT hr = webView->QueryInterface(&webViewPrivate); local
172 if (FAILED(hr))
173 return hr;
365 HRESULT hr = frame->QueryInterface(&webFramePrivate); local
366 if (FAILED(hr))
367 return hr;
369 hr = webFramePrivate->pendingFrameUnloadEventCount(&pendingFrameUnloadEvents);
370 if (FAILED(hr))
371 return hr;
/external/quake/quake/src/WinQuake/
H A Dsnd_win.cpp426 HRESULT hr; local
449 while ((hr = waveOutOpen((LPHWAVEOUT)&hWaveOut, WAVE_MAPPER,
453 if (hr != MMSYSERR_ALLOCATED)

Completed in 907 milliseconds

123