/external/chromium/third_party/libjingle/source/talk/base/ |
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 = apps->Item(bfilename, &app) 146 HRESULT hr = profile_->get_AuthorizedApplications(&apps); local [all...] |
/external/chromium/net/http/ |
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/qemu/audio/ |
dsoundaudio.c | 93 static void dsound_log_hresult (HRESULT hr) 97 switch (hr) { 227 AUD_log (AUDIO_CAP, "Reason: Unknown (HRESULT %#lx)\n", hr); 235 HRESULT hr, 246 dsound_log_hresult (hr); 250 HRESULT hr, 263 dsound_log_hresult (hr); 286 HRESULT hr; local 290 hr = IDirectSoundBuffer_Restore (dsb); 292 switch (hr) { 316 HRESULT hr; local 341 HRESULT hr; local 420 HRESULT hr; local 434 HRESULT hr; local 513 HRESULT hr; local 571 HRESULT hr; local 701 HRESULT hr; local 759 HRESULT hr; local 848 HRESULT hr; local 875 HRESULT hr; local [all...] |
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, "Could not lock " NAME "\n") 155 HRESULT hr; local 183 HRESULT hr; local [all...] |
/external/chromium/chrome/common/ |
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/quake/quake/src/QW/client/ |
buildnum.c | 41 int hr, min;
local 67 hr = (buildTime[0] - '0') * 10 + (buildTime[1] - '0');
72 b += hr * 60 + min;
|
/external/expat/xmlwf/ |
xmlwin32url.cxx | 103 Callback::OnStopBinding(HRESULT hr, LPCWSTR szError) 113 stopHandler_(stopArg_, hr); 148 HRESULT hr = pBinding_->QueryInterface(IID_IWinInetHttpInfo, local 150 if (SUCCEEDED(hr)) { 155 hr = hp->QueryInfo(HTTP_QUERY_CONTENT_TYPE, contentType, 157 if (SUCCEEDED(hr)) { 190 HRESULT hr = pstgmed->pstm->Read(buf, nToRead, &nRead); local 191 if (SUCCEEDED(hr)) { 265 HRESULT hr; 268 hr = CreateURLMoniker(0, uri, &m) 307 HRESULT hr; member in struct:QuitInfo 371 HRESULT hr = openStream(parser, baseMoniker, url, threadQuit, &qi); local [all...] |
/external/wpa_supplicant/ |
ndis_events.c | 54 HRESULT hr; local 59 hr = IWbemServices_ExecQuery(pSvc, bsQueryLanguage, bsQuery, lFlags, 65 return hr; 74 HRESULT hr; local 79 hr = IWbemServices_ExecNotificationQueryAsync(pSvc, bsQueryLanguage, 86 return hr; 96 HRESULT hr; local 104 hr = IWbemLocator_ConnectServer(pLoc, bsNetworkResource, bsUser, 114 return hr; 250 HRESULT hr; local 325 HRESULT hr; local 403 HRESULT hr; local 492 HRESULT hr; local 711 HRESULT hr; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
ndis_events.c | 54 HRESULT hr; local 59 hr = IWbemServices_ExecQuery(pSvc, bsQueryLanguage, bsQuery, lFlags, 65 return hr; 74 HRESULT hr; local 79 hr = IWbemServices_ExecNotificationQueryAsync(pSvc, bsQueryLanguage, 86 return hr; 96 HRESULT hr; local 104 hr = IWbemLocator_ConnectServer(pLoc, bsNetworkResource, bsUser, 114 return hr; 250 HRESULT hr; local 325 HRESULT hr; local 403 HRESULT hr; local 492 HRESULT hr; local 711 HRESULT hr; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
ndis_events.c | 54 HRESULT hr; local 59 hr = IWbemServices_ExecQuery(pSvc, bsQueryLanguage, bsQuery, lFlags, 65 return hr; 74 HRESULT hr; local 79 hr = IWbemServices_ExecNotificationQueryAsync(pSvc, bsQueryLanguage, 86 return hr; 96 HRESULT hr; local 104 hr = IWbemLocator_ConnectServer(pLoc, bsNetworkResource, bsUser, 114 return hr; 250 HRESULT hr; local 325 HRESULT hr; local 403 HRESULT hr; local 492 HRESULT hr; local 711 HRESULT hr; local [all...] |
/external/webkit/Tools/WinLauncher/ |
WinLauncher.cpp | 70 HRESULT hr = S_OK; local 72 hr = webView->mainFrame(&mainFrame); 73 if (FAILED(hr)) 76 hr = mainFrame->dataSource(&dataSource); 77 if (FAILED(hr) || !dataSource) 78 hr = mainFrame->provisionalDataSource(&dataSource); 79 if (FAILED(hr) || !dataSource) 82 hr = dataSource->request(&request); 83 if (FAILED(hr) || !request) 86 hr = request->mainDocumentURL(&frameURL) 185 HRESULT hr = WebKitCreateInstance(CLSID_WebView, 0, IID_IWebView, (void**)&gWebView); local 473 HRESULT hr = gWebView->mainFrame(&frame); local [all...] |
/external/webkit/Source/WebKit/win/ |
WebHistory.cpp | 148 HRESULT hr = nc->postNotificationName(getNotificationString(notifyType), static_cast<IWebHistory*>(this), userInfo); local 149 if (FAILED(hr)) 150 return hr; 241 HRESULT hr = S_OK; local 247 hr = loadHistoryGutsFromURL(urlRef.get(), discardedItems.get(), error); 248 if (FAILED(hr)) 251 hr = postNotification(kWebHistoryLoadedNotification); 252 if (FAILED(hr)) 257 hr = postNotification(kWebHistoryItemsDiscardedWhileLoadingNotification, userInfo.get()); 258 if (FAILED(hr)) 276 HRESULT hr = S_OK; local 360 HRESULT hr = S_OK; local 375 HRESULT hr = S_OK; local 418 HRESULT hr; local 432 HRESULT hr; local 614 HRESULT hr = S_OK; local 644 HRESULT hr = S_OK; local 801 HRESULT hr = S_OK; local 826 HRESULT hr = S_OK; local 899 HRESULT hr = S_OK; local 977 HRESULT hr = historyAgeInDaysLimit(&historyLimitDays); local [all...] |
WebHTMLRepresentation.cpp | 157 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...] |
WebURLAuthenticationChallenge.cpp | 123 HRESULT hr = S_OK; 125 hr = space->QueryInterface(&webSpace); 126 if (FAILED(hr)) 127 return hr; 134 hr = failureResponse->QueryInterface(&webResponse); 135 if (FAILED(hr)) 136 return hr; 139 hr = error->QueryInterface(CLSID_WebError, (void**)&webError); 140 if (FAILED(hr)) 141 return hr; [all...] |
AccessibleBase.cpp | 162 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local 163 if (FAILED(hr)) 164 return hr; 179 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local 181 if (FAILED(hr)) 182 return hr; 197 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local 199 if (FAILED(hr)) 200 return hr; 215 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj) local 234 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local 259 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local 336 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local 354 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local 392 HRESULT hr = getAccessibilityObjectForChild(vChild, childObject); local 475 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local 493 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local 542 HRESULT hr = getAccessibilityObjectForChild(vFromChild, childObj); local 601 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); local [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Blit.cpp | 158 HRESULT hr = device->CreateVertexBuffer(sizeof(quad), D3DUSAGE_WRITEONLY, 0, D3DPOOL_DEFAULT, &mQuadVertexBuffer, NULL); local 160 if (FAILED(hr)) 162 ASSERT(hr == D3DERR_OUTOFVIDEOMEMORY || hr == E_OUTOFMEMORY); 177 hr = device->CreateVertexDeclaration(elements, &mQuadVertexDeclaration); 178 if (FAILED(hr)) 180 ASSERT(hr == D3DERR_OUTOFVIDEOMEMORY || hr == E_OUTOFMEMORY); 201 HRESULT hr = D3DXCompileShader(mShaderSource[source], strlen(mShaderSource[source]), NULL, NULL, "main", profile, 0, &shaderCode, NULL, NULL); local 203 if (FAILED(hr)) 222 HRESULT hr = (device->*setShader)(shader); local 478 HRESULT hr = device->SetStreamSource(0, mQuadVertexBuffer, 0, 2 * sizeof(float)); local 489 HRESULT hr; local [all...] |
/external/chromium/chrome/browser/ |
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, 0, reinterpret_cast<LPTSTR>(&message), 0, NULL) [all...] |
/external/chromium/base/win/ |
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...] |
/external/chromium/chrome/browser/google/ |
google_update.cc | 288 HRESULT hr = local 290 if (hr != S_OK) { 291 return ReportFailure(hr, GOOGLE_UPDATE_JOB_SERVER_CREATION_FAILED, 302 hr = on_demand.CreateInstance(CLSID_OnDemandUserAppsClass); 308 hr = on_demand.CreateInstance(CLSID_OnDemandMachineAppsClass); 315 hr = CoCreateInstanceAsAdmin(CLSID_OnDemandMachineAppsClass, 322 if (hr != S_OK) 323 return ReportFailure(hr, GOOGLE_UPDATE_ONDEMAND_CLASS_NOT_FOUND, main_loop); 329 hr = on_demand->CheckForUpdate(app_guid.c_str(), job_observer); 331 hr = on_demand->Update(app_guid.c_str(), job_observer) [all...] |
/bionic/libm/src/ |
s_exp2f.c | 95 uint32_t hx, hr, ix, i0; local 132 GET_FLOAT_WORD(hr, r); 133 SET_FLOAT_WORD(r, hr + k); 137 GET_FLOAT_WORD(hr, r); 138 SET_FLOAT_WORD(r, hr + (k + (100 << 23)));
|
/external/chromium/chrome/browser/accessibility/ |
accessibility_win_browsertest.cc | 115 HRESULT hr = parent->get_accChild(CreateI4Variant(V_I4(var)), &dispatch); local 116 EXPECT_TRUE(SUCCEEDED(hr)); 129 HRESULT hr = accessible->QueryInterface(service_provider.Receive()); local 130 if (FAILED(hr)) 131 return hr; 133 hr = service_provider->QueryService(IID_IAccessible2, accessible2); 134 return hr; 146 HRESULT hr = child->get_uniqueID(&unique_id); local 147 ASSERT_EQ(S_OK, hr); 155 hr = QueryIAccessible2(accessible, accessible2.Receive()) 204 HRESULT hr = AccessibleObjectFromWindow( local 257 HRESULT hr = local 273 HRESULT hr = local 281 HRESULT hr = local 295 HRESULT hr = local 304 HRESULT hr = parent->get_accChildCount(&child_count); local 367 HRESULT hr = document_accessible->get_accParent(parent_dispatch.Receive()); local 548 HRESULT hr = document_accessible->accSelect( local 607 HRESULT hr = AccessibleObjectFromWindow( local 671 HRESULT hr = static_cast<IAccessible*>(document_accessible)->QueryInterface( local [all...] |
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/libvpx/vp8/common/ |
onyx.h | 73 static __inline void Scale2Ratio(int mode, int *hr, int *hs) 78 *hr = 1; 82 *hr = 4; 86 *hr = 3; 90 *hr = 1; 94 *hr = 1;
|
/external/icu4c/test/intltest/ |
caltztst.h | 40 UDate date(int32_t y, int32_t m, int32_t d, int32_t hr=0, int32_t min=0, int32_t sec=0); 44 // Date utcDate(int y, int m, int d, int hr=0, int min=0, int sec=0); 47 void dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int32_t& min, int32_t& sec);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
FontPlatformDataChromiumWin.cpp | 136 HRESULT hr = ScriptGetFontProperties(dc, scriptCache(), local 138 if (S_OK != hr) { 141 hr = ScriptGetFontProperties(dc, scriptCache(), 143 if (S_OK != hr) {
|