Home
last modified time | relevance | path

Searched refs:hr (Results 1 – 25 of 45) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/
A Dwicdec.c45 if (FAILED(hr)) fprintf(stderr, #fn " failed %08lx\n", hr); \
89 HRESULT hr = S_OK; in OpenInputStream() local
110 hr = E_FAIL; in OpenInputStream()
116 if (FAILED(hr)) { in OpenInputStream()
120 return hr; in OpenInputStream()
132 HRESULT hr = S_OK; in ExtractICCP() local
137 if (FAILED(hr) || count == 0) return hr; in ExtractICCP()
182 return hr; in ExtractICCP()
191 return hr; in ExtractMetadata()
303 hr = E_FAIL; in ReadPictureWithWIC()
[all …]
A Dimage_enc.c49 if (FAILED(hr)) fprintf(stderr, #fn " failed %08lx\n", hr); \
61 HRESULT hr = S_OK; in CreateOutputStream() local
69 if (FAILED(hr)) { in CreateOutputStream()
71 (const LPTSTR)out_file_name, hr); in CreateOutputStream()
73 return hr; in CreateOutputStream()
80 HRESULT hr = S_OK; in WriteUsingWIC() local
95 if (hr == REGDB_E_CLASSNOTREG) { in WriteUsingWIC()
115 if (SUCCEEDED(hr) && use_stdout) { in WriteUsingWIC()
118 if (SUCCEEDED(hr)) { in WriteUsingWIC()
130 hr = E_FAIL; in WriteUsingWIC()
[all …]
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_windows_gaming_input.c164 HRESULT hr; in IEventHandler_CRawGameControllerVtbl_InvokeAdded() local
168 if (SUCCEEDED(hr)) { in IEventHandler_CRawGameControllerVtbl_InvokeAdded()
184 if (SUCCEEDED(hr)) { in IEventHandler_CRawGameControllerVtbl_InvokeAdded()
207 if (SUCCEEDED(hr)) { in IEventHandler_CRawGameControllerVtbl_InvokeAdded()
297 HRESULT hr; in IEventHandler_CRawGameControllerVtbl_InvokeRemoved() local
301 if (SUCCEEDED(hr)) { in IEventHandler_CRawGameControllerVtbl_InvokeRemoved()
355 HRESULT hr; in WGI_JoystickInit() local
516 HRESULT hr; in WGI_JoystickOpen() local
561 HRESULT hr; in WGI_JoystickRumble() local
568 if (SUCCEEDED(hr)) { in WGI_JoystickRumble()
[all …]
A DSDL_dinputjoystick.c257 HRESULT hr;
273 hr = CoCreateInstance(&CLSID_WbemLocator,
278 if (FAILED(hr) || pIWbemLocator == NULL)
286 hr = IWbemLocator_ConnectServer(pIWbemLocator, bstrNamespace, NULL, NULL, 0L,
288 if (FAILED(hr) || pIWbemServices == NULL) {
296 hr = IWbemServices_CreateInstanceEnum(pIWbemServices, bstrClassName, 0, NULL, &pEnumDevices);
297 if (FAILED(hr) || pEnumDevices == NULL)
303hr = IEnumWbemClassObject_Next(pEnumDevices, 10000, SDL_arraysize(pDevices), pDevices, &uReturned);
304 if (FAILED(hr)) {
313 hr = IWbemClassObject_Get(pDevices[iDevice], bstrDeviceID, 0L, &var, NULL, NULL);
[all …]
/AliOS-Things-master/components/SDL2/src/sensor/windows/
A DSDL_windowssensor.c255 HRESULT hr; in ConnectSensor() local
263 if (FAILED(hr)) { in ConnectSensor()
268 if (FAILED(hr)) { in ConnectSensor()
281 if (SUCCEEDED(hr) && bstr_name) { in ConnectSensor()
345 HRESULT hr; in SDL_WINDOWS_SensorInit() local
353 if (FAILED(hr)) { in SDL_WINDOWS_SensorInit()
358 if (FAILED(hr)) { in SDL_WINDOWS_SensorInit()
364 if (SUCCEEDED(hr)) { in SDL_WINDOWS_SensorInit()
368 if (SUCCEEDED(hr)) { in SDL_WINDOWS_SensorInit()
373 if (SUCCEEDED(hr)) { in SDL_WINDOWS_SensorInit()
[all …]
/AliOS-Things-master/components/SDL2/src/video/winrt/
A DSDL_winrtvideo.cpp213 HRESULT hr; in WINRT_AddDisplaysForOutput() local
226 if (FAILED(hr)) { in WINRT_AddDisplaysForOutput()
234 if (FAILED(hr)) { in WINRT_AddDisplaysForOutput()
323 HRESULT hr; in WINRT_AddDisplaysForAdapter() local
327 if (FAILED(hr)) { in WINRT_AddDisplaysForAdapter()
408 HRESULT hr; in WINRT_InitModes() local
412 if (FAILED(hr)) { in WINRT_InitModes()
789 HRESULT hr; in WINRT_CreateDisplayRequest() local
792 if (FAILED(hr)) { in WINRT_CreateDisplayRequest()
797 if (FAILED(hr)) { in WINRT_CreateDisplayRequest()
[all …]
A DSDL_winrtgamebar.cpp90 HRESULT hr;
92 hr = ::WindowsCreateString(wClassName, (UINT32)wcslen(wClassName), &hClassName);
93 if (FAILED(hr)) {
97 hr = Windows::Foundation::GetActivationFactory(hClassName, &pActivationFactory);
98 if (FAILED(hr)) {
A DSDL_winrtmouse.cpp175 HRESULT hr = icoreWindow->put_PointerCursor(iblankCursor); in WINRT_ShowCursor() local
176 if (FAILED(hr)) { in WINRT_ShowCursor()
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/
A Daos_hal_rtc.c15 time_save.hr = 10; in aos_hal_rtc_init()
27 time->hr = time_save.hr; in aos_hal_rtc_get_time()
38 time_save.hr = time->hr; in aos_hal_rtc_set_time()
50 time_save.hr = 0; in aos_hal_rtc_finalize()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/rtc/
A Drtc_test.c18 static rtc_time_t rtc_time = {.sec = 45, .min = 30, .hr = 15, .weekday = 5, .date = 1, .month = 3, …
36 rtc_time.hr, rtc_time.min, rtc_time.sec); in hal_rtc_test()
62 rtc_time_r.hr, rtc_time_r.min, rtc_time_r.sec); in hal_rtc_test()
66 ||(rtc_time_r.hr != rtc_time.hr) in hal_rtc_test()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/i2c/
A Di2c_test.c24 static rtc_time_t rtc_time = {.sec = 0x45, .min = 0x8, .hr = 0x1, .weekday = 0x5, .date = 0x1, .mon…
48 rtc_time.hr, rtc_time.min, rtc_time.sec); in hal_i2c_test()
65 rtc_time_r.hr, rtc_time_r.min, rtc_time_r.sec); in hal_i2c_test()
79 rtc_time_r.hr, rtc_time_r.min, rtc_time_r.sec); in hal_i2c_test()
83 ||(rtc_time_r.hr != rtc_time.hr) in hal_i2c_test()
/AliOS-Things-master/components/SDL2/src/core/windows/
A DSDL_windows.c41 WIN_SetErrorFromHRESULT(const char *prefix, HRESULT hr) in WIN_SetErrorFromHRESULT() argument
45 FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, hr, 0, in WIN_SetErrorFromHRESULT()
76 HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED); in WIN_CoInitialize()
77 if (hr == RPC_E_CHANGED_MODE) { in WIN_CoInitialize()
78 hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); in WIN_CoInitialize()
83 if (hr == S_FALSE) { in WIN_CoInitialize()
87 return hr; in WIN_CoInitialize()
A DSDL_windows.h51 extern int WIN_SetErrorFromHRESULT(const char *prefix, HRESULT hr);
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/rtc/
A Dmodule_rtc.c62 rtcTime.date, rtcTime.hr, rtcTime.min, rtcTime.sec); in native_rtc_get_time()
66 rtcTime.year, rtcTime.month, rtcTime.date, rtcTime.hr, rtcTime.min, in native_rtc_get_time()
102 if (duk_is_number(ctx, -1)) rtcTime.hr = duk_get_int(ctx, -1); in native_rtc_set_time()
115 rtcTime.year, rtcTime.month, rtcTime.date, rtcTime.hr, rtcTime.min, in native_rtc_set_time()
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_xbox360.c360 HRESULT hr; in HIDAPI_DriverXbox360_UpdateWindowsGamingInput() local
364 if (SUCCEEDED(hr)) { in HIDAPI_DriverXbox360_UpdateWindowsGamingInput()
367hr = __FIVectorView_1_Windows__CGaming__CInput__CGamepad_get_Size(gamepads, &num_gamepads); in HIDAPI_DriverXbox360_UpdateWindowsGamingInput()
368 if (SUCCEEDED(hr)) { in HIDAPI_DriverXbox360_UpdateWindowsGamingInput()
374 if (SUCCEEDED(hr)) { in HIDAPI_DriverXbox360_UpdateWindowsGamingInput()
427 if (!SUCCEEDED(hr)) { in HIDAPI_DriverXbox360_UpdateWindowsGamingInput()
446 HRESULT hr; in HIDAPI_DriverXbox360_InitWindowsGamingInput() local
460 hr = WindowsCreateStringFunc(pNamespace, SDL_wcslen(pNamespace), &hNamespaceString); in HIDAPI_DriverXbox360_InitWindowsGamingInput()
461 if (SUCCEEDED(hr)) { in HIDAPI_DriverXbox360_InitWindowsGamingInput()
731 HRESULT hr; in HIDAPI_DriverXbox360_RumbleJoystick() local
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmachine_rtc.c56 mp_obj_new_int(tm.hr), mp_obj_new_int(tm.min), mp_obj_new_int(tm.sec), in machine_rtc_datetime_helper()
71 .hr = mp_obj_get_int(items[4]), in machine_rtc_datetime_helper()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmachine_rtc.c82 mp_obj_new_int(tm.hr), in machine_rtc_datetime_helper()
99 .hr = mp_obj_get_int(items[4]), in machine_rtc_datetime_helper()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmachine_rtc.c82 mp_obj_new_int(tm.hr), in machine_rtc_datetime_helper()
99 .hr = mp_obj_get_int(items[4]), in machine_rtc_datetime_helper()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsvideo.c273 HRESULT hr = Direct3DCreate9ExFunc(D3D_SDK_VERSION, &pDirect3D9ExInterface); in D3D_LoadDLL() local
274 if (SUCCEEDED(hr)) { in D3D_LoadDLL()
276hr = IDirect3D9Ex_QueryInterface(pDirect3D9ExInterface, &IDirect3D9_GUID, (void**)pDirect3D9Interf… in D3D_LoadDLL()
278 if (SUCCEEDED(hr)) { in D3D_LoadDLL()
/AliOS-Things-master/components/py_engine/modules/driver/
A Drtc.c136 LOGD(LOG_TAG, "hr = %d; min = %d;sec = %d;\n", (uint32_t)rtcTime.hr, in obj_getTime()
146 mp_obj_new_int((uint32_t)rtcTime.hr)); in obj_getTime()
182 rtcTime.hr = (uint8_t)mp_obj_get_int(args[4]); in obj_setTime()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/rtc/
A Dmodule_rtc.c71 JS_SetPropertyStr(ctx, t, "hour", JS_NewInt32(ctx, rtcTime.hr)); in native_rtc_get_time()
176 setTime->hr = data; in native_rtc_set_time()
218 setTime->year, setTime->month, setTime->date, setTime->hr, setTime->min, in native_rtc_set_time()
/AliOS-Things-master/components/amp_adapter/include/peripheral/
A Daos_hal_rtc.h33 …uint8_t hr; /* DEC format:value range from 0 to 23, BCD format:value range from 0x00 to 0x23 … member
/AliOS-Things-master/components/drivers/core/base/include/aos/hal/
A Drtc.h41 …uint8_t hr; /**< DEC format:value range from 0 to 23, BCD format:value range from 0x00 to 0x2… member
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_WIC.c34 HRESULT hr = CoCreateInstance( in WIC_Init() local
41 if (FAILED(hr)) { in WIC_Init()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Drtc.c241 time->hr = tm_temp.tm_hour; in hal_rtc_get_time()
265 timeinfo.tm_hour= time->hr; in hal_rtc_set_time()

Completed in 37 milliseconds

12