/foundation/multimodalinput/input/tools/inject_event/test/ |
H A D | inject_event_test.cpp | 47 int32_t result = inputManagerCommand->ParseCommand(5, argv); in HWTEST_F() local 48 EXPECT_EQ(OHOS::ERR_OK, result); in HWTEST_F() 65 int32_t result = inputManagerCommand->ParseCommand(4, argv); in HWTEST_F() local 66 EXPECT_EQ(OHOS::ERR_OK, result); in HWTEST_F() 83 int32_t result = inputManagerCommand->ParseCommand(4, argv); in HWTEST_F() local 84 EXPECT_EQ(OHOS::ERR_OK, result); in HWTEST_F() 101 int32_t result = inputManagerCommand->ParseCommand(4, argv); in HWTEST_F() local 102 EXPECT_EQ(OHOS::ERR_OK, result); in HWTEST_F() 123 int32_t result = inputManagerCommand->ParseCommand(8, argv); in HWTEST_F() local 124 EXPECT_EQ(OHOS::ERR_OK, result); in HWTEST_F() 141 int32_t result = inputManagerCommand->ParseCommand(4, argv); HWTEST_F() local 165 int32_t result = inputManagerCommand->ParseCommand(9, argv); HWTEST_F() local 188 int32_t result = inputManagerCommand->ParseCommand(8, argv); HWTEST_F() local 206 int32_t result = inputManagerCommand->ParseCommand(4, argv); HWTEST_F() local 228 int32_t result = inputManagerCommand->ParseCommand(8, argv); HWTEST_F() local 246 int32_t result = inputManagerCommand->ParseCommand(4, argv); HWTEST_F() local 264 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 283 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 301 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 321 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 339 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 357 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 375 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 393 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 411 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 429 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 447 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 470 int32_t result = inputManagerCommand->ParseCommand(4, argv); HWTEST_F() local 490 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 510 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 530 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 552 int32_t result = inputManagerCommand->ParseCommand(8, argv); HWTEST_F() local 571 int32_t result = inputManagerCommand->ParseCommand(5, argv); HWTEST_F() local 590 int32_t result = inputManagerCommand->ParseCommand(5, argv); HWTEST_F() local 610 int32_t result = inputManagerCommand->ParseCommand(5, argv); HWTEST_F() local 633 int32_t result = inputManagerCommand->ParseCommand(9, argv); HWTEST_F() local 656 int32_t result = inputManagerCommand->ParseCommand(KNUCKLE_SIZE, argv); HWTEST_F() local 679 int32_t result = inputManagerCommand->ParseCommand(KNUCKLE_SIZE, argv); HWTEST_F() local 698 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 717 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 739 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 758 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local 776 int32_t result = inputManagerCommand->ParseCommand(sizeof(argv) / sizeof(argv[0]), argv); HWTEST_F() local [all...] |
/third_party/curl/lib/ |
H A D | curl_sasl.c | 163 CURLcode result = CURLE_OK; in Curl_sasl_parse_url_auth_option() local 181 result = CURLE_URL_MALFORMAT; in Curl_sasl_parse_url_auth_option() 184 return result; in Curl_sasl_parse_url_auth_option() 276 CURLcode result = CURLE_OK; in get_server_message() local 278 result = sasl->params->getmessage(data, out); in get_server_message() 279 if(!result && (sasl->params->flags & SASL_FLAG_BASE64)) { in get_server_message() 287 result = Curl_base64_decode(serverdata, &msg, &msglen); in get_server_message() 288 if(!result) in get_server_message() 292 return result; in get_server_message() 299 CURLcode result in build_message() local 346 CURLcode result = CURLE_OK; Curl_sasl_start() local 535 CURLcode result = CURLE_OK; Curl_sasl_continue() local [all...] |
/test/xts/acts/multimodalinput/multimodalinput_ndk_hvigor/InputNdkNormal/entry/src/main/cpp/ |
H A D | inputndk.cpp | 31 napi_value result; in CreateKeyState() local 33 napi_create_int32(env, keyState != nullptr ? 1 : 0, &result); in CreateKeyState() 35 return result; in CreateKeyState() 40 napi_value result; in DestroyKeyState() local 43 napi_create_int32(env, keyState == nullptr ? 1 : 0, &result); in DestroyKeyState() 44 return result; in DestroyKeyState() 60 napi_value result; in SetKeyCode() local 64 napi_create_int32(env, keyCode == value0 ? 1 : 0, &result); in SetKeyCode() 66 return result; in SetKeyCode() 82 napi_value result; in SetKeyPressed() local 103 napi_value result; SetKeySwitch() local 125 napi_value result; GetKeyPressed() local 148 napi_value result; GetKeySwitch() local 171 napi_value result; GetKeyState() local 183 napi_value result; CreateKeyEvent() local 191 napi_value result; InjectKeyEvent() local 204 napi_value result; DestroyKeyEvent() local 222 napi_value result; GetKeyEventAction() local 233 napi_value result; GetKeyEventActionDestroy() local 244 napi_value result; GetKeyEventKeyCode() local 255 napi_value result; GetKeyEventKeyCodeDestroy() local 277 napi_value result; GetKeyEventActionTime() local 299 napi_value result; GetKeyEventActionTimeDestroy() local 311 napi_value result; createTouchEvent() local 320 napi_value result; destroyTouchEvent() local 341 napi_value result; touchEventAction() local 362 napi_value result; touchEventFingerId() local 383 napi_value result; touchEventDisplayX() local 404 napi_value result; touchEventDisplayY() local 425 napi_value result; touchEventActionTime() local 454 napi_value result; injectTouchEvent() local 463 napi_value result; createMouseEvent() local 473 napi_value result; destroyMouseEvent() local 493 napi_value result; mouseEventAction() local 514 napi_value result; mouseEventDisplayX() local 535 napi_value result; mouseEventDisplayY() local 556 napi_value result; mouseEventButton() local 577 napi_value result; mouseEventAxisType() local 598 napi_value result; mouseEventAxisValue() local 619 napi_value result; mouseEventActionTime() local 648 napi_value result; injectMouseEvent() local 656 napi_value result; RegisterDeviceListener() local 671 napi_value result; UnregisterDeviceListener() local 686 napi_value result; RegisterDeviceListener2() local 711 napi_value result; UnregisterDeviceListener2() local 736 napi_value result; UnregisterDeviceListeners() local 760 napi_value result; RegisterDeviceListener3() local 769 napi_value result; UnregisterDeviceListener3() local 778 napi_value result; RegisterDeviceListener4() local 790 napi_value result; UnregisterDeviceListener4() local 802 napi_value result; RegisterDeviceListener5() local 814 napi_value result; UnregisterDeviceListener5() local 826 napi_value result; RegisterDeviceListener6() local 838 napi_value result; UnregisterDeviceListener6() local 850 napi_value result; GetDeviceIds() local 861 napi_value result; GetDeviceIds2() local 872 napi_value result; GetDeviceIds3() local 883 napi_value result; GetDeviceIds4() local 894 napi_value result; GetDeviceIds5() local 905 napi_value result; GetKeyboardType() local 915 napi_value result; GetKeyboardType2() local 929 napi_value result; GetKeyboardType3() local 944 napi_value result; GetKeyboardType4() local 960 napi_value result; GetDevice() local 976 napi_value result; GetDevice2() local 992 napi_value result; GetDevice3() local 1003 napi_value result; GetDevice4() local 1013 napi_value result; GetDeviceName() local 1032 napi_value result; GetDeviceName2() local 1049 napi_value result; GetDeviceName3() local 1067 napi_value result; GetDeviceName4() local 1079 napi_value result; GetDeviceAddress() local 1098 napi_value result; GetDeviceAddress2() local 1115 napi_value result; GetDeviceAddress3() local 1133 napi_value result; GetDeviceAddress4() local 1144 napi_value result; GetDeviceId() local 1162 napi_value result; GetDeviceId2() local 1179 napi_value result; GetDeviceId3() local 1197 napi_value result; GetCapabilities() local 1215 napi_value result; GetCapabilities2() local 1233 napi_value result; GetCapabilities3() local 1251 napi_value result; GetCapabilities4() local 1262 napi_value result; GetDeviceVersion() local 1280 napi_value result; GetDeviceVersion2() local 1297 napi_value result; GetDeviceVersion3() local 1315 napi_value result; GetDeviceVersion4() local 1326 napi_value result; GetDeviceProduct() local 1344 napi_value result; GetDeviceProduct2() local 1362 napi_value result; GetDeviceProduct3() local 1380 napi_value result; GetDeviceProduct4() local 1391 napi_value result; GetDeviceVendor() local 1409 napi_value result; GetDeviceVendor2() local 1426 napi_value result; GetDeviceVendor3() local 1444 napi_value result; GetDeviceVendor4() local 1455 napi_value result; DestroyDeviceInfo() local 1464 napi_value result; GetAllSystemHotkeys() local 1473 napi_value result; CreateAllSystemHotkeys() local 1484 napi_value result; GetAllSystemHotkeys2() local 1496 napi_value result; GetAllSystemHotkeys3() local 1505 napi_value result; CreateAllSystemHotkeys2() local 1515 napi_value result; GetIntervalSinceLastInput() local 1525 napi_value result; CreateHotkey() local 1538 napi_value result; AddHotkeyMonitor() local 1556 napi_value result; AddHotkeyMonitor2() local 1572 napi_value result; AddHotkeyMonitor3() local 1588 napi_value result; AddHotkeyMonitor4() local 1604 napi_value result; AddHotkeyMonitor5() local 1620 napi_value result; AddHotkeyMonitor6() local 1640 napi_value result; AddHotkeyMonitor7() local 1656 napi_value result; AddHotkeyMonitor8() local 1672 napi_value result; AddHotkeyMonitor9() local 1688 napi_value result; AddHotkeyMonitor10() local 1704 napi_value result; AddHotkeyMonitor11() local 1720 napi_value result; AddHotkeyMonitor12() local 1735 napi_value result; AddHotkeyMonitor13() local 1750 napi_value result; AddHotkeyMonitor14() local 1765 napi_value result; AddHotkeyMonitor15() local 1780 napi_value result; AddHotkeyMonitor16() local 1795 napi_value result; AddHotkeyMonitor17() local 1810 napi_value result; AddHotkeyMonitor18() local 1825 napi_value result; AddHotkeyMonitor19() local 1841 napi_value result; AddHotkeyMonitor20() local 1849 napi_value result; AddHotkeyMonitor21() local 1894 napi_value result; AddHotkeyMonitor22() local 1910 napi_value result; AddHotkeyMonitor23() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | data_share_service_impl_test.cpp | 114 auto [errCode, result] = dataShareServiceImpl.InsertEx(uri, "", valuesBucket);
in HWTEST_F() 148 auto result = dataShareServiceImpl.NotifyChange(uri);
in HWTEST_F() local 149 EXPECT_EQ(result, true);
in HWTEST_F() 151 result = dataShareServiceImpl.NotifyChange("");
in HWTEST_F() 152 EXPECT_EQ(result, false);
in HWTEST_F() 173 auto result = dataShareServiceImpl.AddTemplate(uri, subscriberId, tpl);
in HWTEST_F() local 174 EXPECT_EQ((result > 0), true);
in HWTEST_F() 175 result = dataShareServiceImpl.DelTemplate(uri, subscriberId);
in HWTEST_F() 176 EXPECT_EQ((result > 0), true);
in HWTEST_F() 180 result in HWTEST_F() 195 auto result = dataShareServiceImpl.GetCallerBundleName(BUNDLE_NAME); HWTEST_F() local 218 std::vector<OperationResult> result = dataShareServiceImpl.Publish(data, bundleName); HWTEST_F() local 242 std::vector<OperationResult> result = dataShareServiceImpl.Publish(data, bundleName); HWTEST_F() local 326 std::vector<OperationResult> result = dataShareServiceImpl.SubscribePublishedData(uris, subscriberId, observer); HWTEST_F() local 352 std::vector<OperationResult> result = dataShareServiceImpl.SubscribePublishedData(uris, subscriberId, observer); HWTEST_F() local 381 std::vector<OperationResult> result = dataShareServiceImpl.EnablePubSubs(uris, subscriberId); HWTEST_F() local 404 std::vector<OperationResult> result = dataShareServiceImpl.EnablePubSubs(uris, subscriberId); HWTEST_F() local 430 auto result = dataShareServiceImpl.OnAppUpdate(BUNDLE_NAME, user, index); HWTEST_F() local 456 auto result = dataShareServiceImpl.OnInitialize(); HWTEST_F() local 474 auto result = dataShareServiceImpl.RegisterObserver(uri, remoteObj); HWTEST_F() local 491 auto result = dataShareServiceImpl.RegisterObserver("", remoteObj); HWTEST_F() local [all...] |
H A D | rdb_cloud_test.cpp | 55 auto result = rdbCloud.BatchInsert(tableName, std::move(g_DBVBucket), g_DBVBucket);
in HWTEST_F() local 56 EXPECT_EQ(result, DBStatus::CLOUD_ERROR);
in HWTEST_F() 57 result = rdbCloud.BatchUpdate(tableName, std::move(g_DBVBucket), g_DBVBucket);
in HWTEST_F() 58 EXPECT_EQ(result, DBStatus::CLOUD_ERROR);
in HWTEST_F() 59 result = rdbCloud.BatchDelete(tableName, g_DBVBucket);
in HWTEST_F() 60 EXPECT_EQ(result, DBStatus::CLOUD_ERROR);
in HWTEST_F() 79 auto result = rdbCloud.BatchInsert(tableName, std::move(g_DBVBucket), g_DBVBucket);
in HWTEST_F() local 80 EXPECT_EQ(result, DBStatus::CLOUD_ERROR);
in HWTEST_F() 85 result = rdbCloud.Query(tableName, extends, g_DBVBucket);
in HWTEST_F() 86 EXPECT_EQ(result, DBStatu in HWTEST_F() 121 auto result = rdbCloud.Query(tableName, extends, data); HWTEST_F() local 151 auto result = rdbCloud.ConvertStatus(GeneralError::E_OK); HWTEST_F() local 186 auto result = rdbTranslate.BlobToAsset(blob); HWTEST_F() local [all...] |
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/ |
H A D | distributed_ability_manager_dumper.cpp | 33 bool DistributedAbilityManagerDumper::Dump(const std::vector<std::string>& args, std::string& result) in Dump() argument 35 result.clear(); in Dump() 37 result.append("Dump failed, not allowed"); in Dump() 41 return DumpDefault(result); in Dump() 46 ShowHelp(result); in Dump() 51 ShowAppRegisterInfo(result); in Dump() 55 IllegalInput(result); in Dump() 63 int32_t result = Security::AccessToken::AccessTokenKit::GetNativeTokenInfo(accessToken, nativeTokenInfo); in CanDump() local 64 if (result == ERR_OK && nativeTokenInfo.processName == HIDUMPER_PROCESS_NAME) { in CanDump() 70 bool DistributedAbilityManagerDumper::DumpDefault(std::string& result) in DumpDefault() argument 78 ShowAppRegisterInfo(std::string& result) ShowAppRegisterInfo() argument 83 ShowHelp(std::string& result) ShowHelp() argument 91 IllegalInput(std::string& result) IllegalInput() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_gap.cpp | 36 uint8_t result = BT_SUCCESS; in RegisterSecurity() local 39 result |= GAPIF_RegisterServiceSecurity(nullptr, &avctInfo, GAP_SEC_IN_AUTHENTICATION | GAP_SEC_OUT_AUTHENTICATION); in RegisterSecurity() 41 result |= GAPIF_RegisterServiceSecurity(nullptr, &avctInfo, GAP_SEC_IN_AUTHENTICATION | GAP_SEC_OUT_AUTHENTICATION); in RegisterSecurity() 44 result |= in RegisterSecurity() 47 result |= in RegisterSecurity() 50 (result == BT_SUCCESS) ? (result = BT_SUCCESS) : (result = RET_BAD_STATUS); in RegisterSecurity() 52 return result; in RegisterSecurity() 59 uint8_t result in UnregisterSecurity() local [all...] |
H A D | avrcp_tg_sdp.cpp | 50 uint8_t result = BT_SUCCESS; in RegisterService() local 57 result |= SDP_AddServiceClassIdList(sdpHandle_, classIdList, AVRC_SERVICE_CLASS_ID_LIST_NUMBER); in RegisterService() 60 result |= AddProtocolDescriptorList(); in RegisterService() 67 result |= in RegisterService() 73 result |= SDP_AddAttribute(sdpHandle_, in RegisterService() 83 result |= SDP_AddServiceName( in RegisterService() 90 result |= SDP_AddBrowseGroupList(sdpHandle_, browseGroupList, AVRC_ATTRIBUTE_ID_BROWSE_GROUP_LIST_NUMBER); in RegisterService() 93 result |= SDP_RegisterServiceRecord(sdpHandle_); in RegisterService() 95 (result == BT_SUCCESS) ? (result in RegisterService() 104 int result = BT_SUCCESS; UnregisterService() local 129 int result = SDP_ServiceSearch(&btAddr, &sdpUuid, nullptr, callback); FindCtService() local 139 uint8_t result = BT_SUCCESS; AddProtocolDescriptorList() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_gap.cpp | 36 int result = BT_SUCCESS; in RegisterSecurity() local 39 result |= GAPIF_RegisterServiceSecurity(nullptr, &avctInfo, GAP_SEC_IN_AUTHENTICATION | GAP_SEC_OUT_AUTHENTICATION); in RegisterSecurity() 41 result |= GAPIF_RegisterServiceSecurity(nullptr, &avctInfo, GAP_SEC_IN_AUTHENTICATION | GAP_SEC_OUT_AUTHENTICATION); in RegisterSecurity() 44 result |= in RegisterSecurity() 47 result |= in RegisterSecurity() 50 (result == BT_SUCCESS) ? (result = BT_SUCCESS) : (result = RET_BAD_STATUS); in RegisterSecurity() 52 return result; in RegisterSecurity() 59 int result in UnregisterSecurity() local [all...] |
H A D | avrcp_ct_sdp.cpp | 50 int result = BT_SUCCESS; in RegisterService() local 59 result |= SDP_AddServiceClassIdList(sdpHandle_, classIdList, AVRC_SERVICE_CLASS_ID_LIST_NUMBER); in RegisterService() 62 result |= AddProtocolDescriptorList(); in RegisterService() 69 result |= in RegisterService() 75 result |= SDP_AddAttribute(sdpHandle_, in RegisterService() 85 result |= SDP_AddServiceName( in RegisterService() 92 result |= SDP_AddBrowseGroupList(sdpHandle_, browseGroupList, AVRC_ATTRIBUTE_ID_BROWSE_GROUP_LIST_NUMBER); in RegisterService() 95 result |= SDP_RegisterServiceRecord(sdpHandle_); in RegisterService() 97 (result == BT_SUCCESS) ? (result in RegisterService() 106 int result = BT_SUCCESS; UnregisterService() local 129 int result = SDP_ServiceSearch(&btAddr, &sdpUuid, nullptr, callback); FindTgService() local 139 int result = BT_SUCCESS; AddProtocolDescriptorList() local [all...] |
/third_party/elfutils/libasm/ |
H A D | asm_newscngrp.c | 47 AsmScnGrp_t *result; in asm_newscngrp() local 60 result = malloc (sizeof (AsmScnGrp_t) + grpname_len); in asm_newscngrp() 61 if (result == NULL) in asm_newscngrp() 64 result->signature = signature; in asm_newscngrp() 65 result->members = NULL; in asm_newscngrp() 66 result->nmembers = 0; in asm_newscngrp() 67 result->flags = flags; in asm_newscngrp() 69 memcpy (result->name, grpname, grpname_len); in asm_newscngrp() 70 result->strent = dwelf_strtab_add_len (ctx->section_strtab, result in asm_newscngrp() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
H A D | sigignore.c | 31 int result = sigaction(sig, NULL, &old_act); in sigignore_0100() local 32 if (result != 0 || errno != 0) { in sigignore_0100() 33 t_error("%s failed: result = %d\n", __func__, result); in sigignore_0100() 38 result = sigignore(sig); in sigignore_0100() 39 if (result != 0 || errno != 0) { in sigignore_0100() 40 t_error("%s failed: result = %d\n", __func__, result); in sigignore_0100() 46 result = sigaction(SIGALRM, NULL, &sa); in sigignore_0100() 47 if (result ! in sigignore_0100() 65 int result = sigignore(SIGKILL); sigignore_0200() local 80 int result = sigignore(SIGSTOP); sigignore_0300() local 97 int result = sigignore(sig); sigignore_0400() local [all...] |
H A D | sighold.c | 40 int result = sigaction(sig, &act, &old_act); in sighold_0100() local 41 if (result != 0) { in sighold_0100() 42 t_error("%s failed: result = %d\n", __func__, result); in sighold_0100() 46 result = sighold(sig); in sighold_0100() 47 if (result != 0) { in sighold_0100() 48 t_error("%s failed: result = %d\n", __func__, result); in sighold_0100() 53 result = sigprocmask(SIG_SETMASK, NULL, &set); in sighold_0100() 54 if (result ! in sighold_0100() 84 int result = sighold(sig); sighold_0200() local [all...] |
H A D | sigpause.c | 40 int result = sigaction(sig, &act, &old_act); in sigpause_0100() local 41 if (result != 0) { in sigpause_0100() 42 t_error("%s failed: result = %d\n", __func__, result); in sigpause_0100() 46 result = sighold(sig); in sigpause_0100() 47 if (result != 0) { in sigpause_0100() 48 t_error("%s failed: result = %d\n", __func__, result); in sigpause_0100() 53 result = sigprocmask(SIG_SETMASK, NULL, &set); in sigpause_0100() 54 if (result ! in sigpause_0100() [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | nameserndk.cpp | 66 napi_value result;
in NsGet16() local 68 napi_create_int32(env, PARAM_0, &result);
in NsGet16() 70 napi_create_int32(env, PARAM_UNNORMAL, &result);
in NsGet16() 72 return result;
in NsGet16() 80 napi_value result;
in NsGet32() local 82 napi_create_int32(env, PARAM_0, &result);
in NsGet32() 84 napi_create_int32(env, PARAM_UNNORMAL, &result);
in NsGet32() 86 return result;
in NsGet32() 94 napi_value result;
in NsPut16() local 96 napi_create_int32(env, PARAM_0, &result);
in NsPut16() 108 napi_value result; NsPut32() local 124 napi_value result; NsNameUnCompress() local 141 napi_value result = nullptr; NsParsErr() local 149 napi_value result; NsInitParse() local 156 napi_value result = nullptr; NsSkiPrr() local 173 napi_value result = nullptr; NsFlagdata() local [all...] |
H A D | threadsndk.cpp | 56 int result;
in Thrd_create() local 57 result = thrd_create(&id, threadfun_create, nullptr);
in Thrd_create() 62 napi_create_int32(env, result, &results);
in Thrd_create() 74 int result;
in Thrd_current() local 75 result = thrd_create(&thr, threadfunc_current, nullptr);
in Thrd_current() 79 napi_create_int32(env, result, &napi_value);
in Thrd_current() 93 int result;
in Thrd_detach() local 94 result = thrd_create(&id, threadfunc_detach, nullptr);
in Thrd_detach() 96 napi_create_int32(env, result, &napi_value);
in Thrd_detach() 112 int result;
in Thrd_equal() local 129 int result; Thrd_exit() local 146 int result; Thrd_join() local 164 int result; Thrd_sleep() local 199 int result = PARAM_0; Thrd_yield() local 229 napi_value result = nullptr; Tss_create() local 256 napi_value result = nullptr; Tss_set() local 284 napi_value result = nullptr; Tss_get() local 312 napi_value result = nullptr; Tss_delete() local 327 napi_value result = nullptr; Cnd_wait() local 365 napi_value result = nullptr; Cnd_timedWait() local 375 napi_value result = nullptr; Cnd_broadcast() local 385 napi_value result = nullptr; Cnd_destroy() local 395 napi_value result = nullptr; Cnd_signal() local 404 napi_value result = nullptr; Cnd_init() local 426 napi_value result = nullptr; CallOnce() local 450 napi_value result; MtxDestroy() local 465 napi_value result; MtxInit() local 479 napi_value result; MtxLock() local 495 napi_value result; MtxTimedLock() local 511 napi_value result; MtxTryLock() local 527 napi_value result; MtxUnLock() local [all...] |
/third_party/ffmpeg/tests/api/ |
H A D | api-flac-test.c | 56 int result; in init_encoder() local 72 result = avcodec_open2(ctx, enc, NULL); in init_encoder() 73 if (result < 0) { in init_encoder() 75 return result; in init_encoder() 86 int result; in init_decoder() local 97 result = avcodec_open2(ctx, dec, NULL); in init_decoder() 98 if (result < 0) { in init_decoder() 100 return result; in init_decoder() 114 int result = 0; in run_test() local 132 result in run_test() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/ |
H A D | InspectableNativeWindow.cpp | 75 HRESULT result = props.As(&propSet); in IsEGLConfiguredPropertySet() local 76 if (SUCCEEDED(result)) in IsEGLConfiguredPropertySet() 78 result = propSet.As(&propMap); in IsEGLConfiguredPropertySet() 82 if (SUCCEEDED(result)) in IsEGLConfiguredPropertySet() 84 result = propMap->HasKey(HStringReference(EGLNativeWindowTypeProperty).Get(), in IsEGLConfiguredPropertySet() 90 if (SUCCEEDED(result) && !hasEglNativeWindowPropertyKey) in IsEGLConfiguredPropertySet() 99 if (SUCCEEDED(result) && hasEglNativeWindowPropertyKey) in IsEGLConfiguredPropertySet() 101 result = in IsEGLConfiguredPropertySet() 105 if (SUCCEEDED(result)) in IsEGLConfiguredPropertySet() 109 result in IsEGLConfiguredPropertySet() 144 HRESULT result = propertyMap->HasKey(HStringReference(propertyName).Get(), hasKey); GetOptionalPropertyValue() local 193 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); GetOptionalSizePropertyValue() local 259 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); GetOptionalSinglePropertyValue() local [all...] |
/third_party/vixl/test/aarch32/ |
H A D | test-utils-aarch32.cc | 104 bool Equal32(uint32_t expected, const RegisterDump*, uint32_t result) { in Equal32() argument 105 if (result != expected) { in Equal32() 108 result); in Equal32() 111 return expected == result; in Equal32() 132 bool Equal64(uint64_t expected, const RegisterDump*, uint64_t result) { in Equal64() argument 133 if (result != expected) { in Equal64() 136 result); in Equal64() 139 return expected == result; in Equal64() 150 bool Equal128(vec128_t expected, const RegisterDump*, vec128_t result) { in Equal128() argument 151 if ((result in Equal128() 170 vec128_t result = core->GetQRegisterBits(qreg.GetCode()); Equal128() local 187 EqualNzcv(uint32_t expected, uint32_t result) EqualNzcv() argument 211 uint32_t result = core->GetSRegisterBits(sreg.GetCode()); EqualFP32() local 238 uint64_t result = core->GetDRegisterBits(dreg.GetCode()); EqualFP64() local [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_rdb_data_mgr_test/ |
H A D | fms_form_rdb_data_mgr_test.cpp | 104 auto result = FormRdbDataMgr::GetInstance().InitFormRdbTable(formRdbTableConfig); in HWTEST_F() local 107 EXPECT_EQ(result, ERR_OK); in HWTEST_F() 121 auto result = FormRdbDataMgr::GetInstance().InsertData(Constants::FORM_RDB_TABLE_NAME, in HWTEST_F() local 123 EXPECT_EQ(result, ERR_OK); in HWTEST_F() 137 auto result = FormRdbDataMgr::GetInstance().QueryData(Constants::FORM_RDB_TABLE_NAME, key, datas); in HWTEST_F() local 138 EXPECT_EQ(result, ERR_OK); in HWTEST_F() 140 result = FormRdbDataMgr::GetInstance().QueryData(Constants::FORM_RDB_TABLE_NAME, nothingkey, datas); in HWTEST_F() 141 EXPECT_EQ(result, ERR_APPEXECFWK_FORM_COMMON_CODE); in HWTEST_F() 154 auto result = FormRdbDataMgr::GetInstance().QueryAllData(Constants::FORM_RDB_TABLE_NAME, datas); in HWTEST_F() local 155 EXPECT_EQ(result, ERR_O in HWTEST_F() 168 auto result = FormRdbDataMgr::GetInstance().DeleteData(Constants::FORM_RDB_TABLE_NAME, key); HWTEST_F() local 186 auto result = rdbDataCallBack_->OnCreate(*(FormRdbDataMgr::GetInstance().rdbStore_.get())); HWTEST_F() local 206 auto result = rdbDataCallBack_->OnUpgrade(*(FormRdbDataMgr::GetInstance().rdbStore_.get()), HWTEST_F() local 228 auto result = rdbDataCallBack_->OnDowngrade(*(FormRdbDataMgr::GetInstance().rdbStore_.get()), HWTEST_F() local 248 auto result = rdbDataCallBack_->onCorruption(data); HWTEST_F() local 263 auto result = FormRdbDataMgr::GetInstance().InsertData(Constants::FORM_RDB_TABLE_NAME, data); HWTEST_F() local 279 auto result = FormRdbDataMgr::GetInstance().QueryData(Constants::FORM_RDB_TABLE_NAME, key, retValue); HWTEST_F() local 306 auto result = FormRdbDataMgr::GetInstance().InitFormRdbTable(formRdbTableConfig); HWTEST_F() local 338 auto result = FormRdbDataMgr::GetInstance().QueryAllKeys(Constants::FORM_RDB_TABLE_NAME, datas); HWTEST_F() local 355 auto result = FormRdbDataMgr::GetInstance().QuerySql(key); HWTEST_F() local 370 auto result = rdbDataCallBack_.onCorruption(Constants::FORM_RDB_TABLE_NAME); HWTEST_F() local 387 auto result = rdbDataCallBack_->OnOpen(*(FormRdbDataMgr::GetInstance().rdbStore_.get())); HWTEST_F() local 402 auto result = FormRdbDataMgr::GetInstance().InitFormRdbTable(formRdbTableConfig); HWTEST_F() local 417 auto result = FormRdbDataMgr::GetInstance().DeleteData(tableName, key); HWTEST_F() local 430 auto result = FormRdbDataMgr::GetInstance().CheckAndRebuildRdbStore(NativeRdb::E_SQLITE_ERROR); HWTEST_F() local 443 auto result = FormRdbDataMgr::GetInstance().CheckAndRebuildRdbStore(NativeRdb::E_SQLITE_ERROR); HWTEST_F() local 471 auto result = FormRdbDataMgr::GetInstance().ExecuteSql(sql); HWTEST_F() local 504 auto result = FormRdbDataMgr::GetInstance().InitFormRdbTable(formRdbTableConfig); HWTEST_F() local 551 auto result = FormRdbDataMgr::GetInstance().InsertData(TEST_TABLE, TEST_KEY, TEST_VALUE); HWTEST_F() local 590 auto result = FormRdbDataMgr::GetInstance().DeleteData(TEST_TABLE, TEST_KEY); HWTEST_F() local 632 auto result = FormRdbDataMgr::GetInstance().InsertData(TEST_TABLE, valuesBucket, rowId); HWTEST_F() local 674 auto result = FormRdbDataMgr::GetInstance().DeleteData(absRdbPredicates); HWTEST_F() local [all...] |
/test/xts/acts/ai/mindspore/mindsporendktest/entry/src/main/cpp/ |
H A D | mindspore.cpp | 50 napi_value result = nullptr;
in OHAIContextCreateOne() local 51 napi_create_int32(env, oH_AI_ContextHandle != nullptr, &result);
in OHAIContextCreateOne() 53 return result;
in OHAIContextCreateOne() 58 napi_value result = nullptr;
in OHAIContextDestroyOne() local 63 napi_create_int32(env, oH_AI_ContextHandle == nullptr, &result);
in OHAIContextDestroyOne() 65 return result;
in OHAIContextDestroyOne() 80 napi_value result = nullptr;
in OHAIContextSetThreadNumOne() local 83 napi_create_int32(env, threadNum, &result);
in OHAIContextSetThreadNumOne() 86 return result;
in OHAIContextSetThreadNumOne() 100 napi_value result in OHAIContextSetThreadNumTwo() local 121 napi_value result = nullptr; OHAIContextGetThreadNumOne() local 133 napi_value result = nullptr; OHAIContextGetThreadNumTwo() local 153 napi_value result = nullptr; OHAIContextSetThreadAffinityModeOne() local 173 napi_value result = nullptr; OHAIContextSetThreadAffinityModeTwo() local 194 napi_value result = nullptr; OHAIContextGetThreadAffinityModeOne() local 206 napi_value result = nullptr; OHAIContextGetThreadAffinityModeTwo() local 222 napi_value result = nullptr; OHAIDeviceInfoCreateOne() local 242 napi_value result = nullptr; OHAIDeviceInfoGetDeviceTypeOne() local 263 napi_value result = nullptr; OHAIDeviceInfoGetDeviceTypeTwo() local 284 napi_value result = nullptr; OHAIDeviceInfoGetDeviceTypeThree() local 300 napi_value result = nullptr; OHAIDeviceInfoGetDeviceTypeFour() local 316 napi_value result = nullptr; OHAIDeviceInfoDestroyOne() local 341 napi_value result = nullptr; OHAIDeviceInfoSetProviderOne() local 370 napi_value result = nullptr; OHAIDeviceInfoSetProviderTwo() local 399 napi_value result = nullptr; OHAIDeviceInfoSetProviderThree() local 427 napi_value result = nullptr; OHAIDeviceInfoSetProviderFour() local 450 napi_value result = nullptr; OHAIDeviceInfoGetProviderOne() local 468 napi_value result = nullptr; OHAIDeviceInfoGetProviderTwo() local 488 napi_value result = nullptr; OHAIDeviceInfoSetProviderDeviceOne() local 516 napi_value result = nullptr; OHAIDeviceInfoSetProviderDeviceTwo() local 544 napi_value result = nullptr; OHAIDeviceInfoSetProviderDeviceThree() local 572 napi_value result = nullptr; OHAIDeviceInfoGetProviderDeviceOne() local 591 napi_value result = nullptr; OHAIDeviceInfoGetProviderDeviceTwo() local 608 napi_value result = nullptr; OHAIDeviceInfoSetEnableFP16One() local 632 napi_value result = nullptr; OHAIDeviceInfoSetEnableFP16Two() local 650 napi_value result = nullptr; OHAIDeviceInfoSetEnableFP16Three() local 669 napi_value result = nullptr; OHAIDeviceInfoGetEnableFP16One() local 687 napi_value result = nullptr; OHAIDeviceInfoGetEnableFP16Two() local 707 napi_value result = nullptr; OHAIDeviceInfoSetDeviceIdOne() local 730 napi_value result = nullptr; OHAIDeviceInfoSetDeviceIdTwo() local 750 napi_value result = nullptr; OHAIDeviceInfoGetDeviceIdOne() local 767 napi_value result = nullptr; OHAIDeviceInfoGetDeviceIdTwo() local 787 napi_value result = nullptr; OHAIDeviceInfoSetPerformanceModeOne() local 812 napi_value result = nullptr; OHAIDeviceInfoSetPerformanceModeTwo() local 837 napi_value result = nullptr; OHAIDeviceInfoSetPerformanceModeThree() local 862 napi_value result = nullptr; OHAIDeviceInfoSetPerformanceModeFour() local 887 napi_value result = nullptr; OHAIDeviceInfoSetPerformanceModeFive() local 912 napi_value result = nullptr; OHAIDeviceInfoGetPerformanceModeOne() local 929 napi_value result = nullptr; OHAIDeviceInfoGetPerformanceModeTwo() local 943 napi_value result = nullptr; OHAIContextSetThreadAffinityCoreListOne() local 962 napi_value result = nullptr; OHAIContextGetThreadAffinityCoreListOne() local 981 napi_value result = nullptr; OHAIContextSetEnableParallelOne() local 994 napi_value result = nullptr; OHAIContextSetEnableParallelTwo() local 1007 napi_value result = nullptr; OHAIContextGetEnableParallelOne() local 1018 napi_value result = nullptr; OHAIContextGetEnableParallelTwo() local 1033 napi_value result = nullptr; OHAISetFrequencyOne() local 1051 napi_value result = nullptr; OHAIGetFrequencyOne() local 1063 napi_value result = nullptr; OHAIModelCreateOne() local 1073 napi_value result = nullptr; OHAIModelDestroyOne() local 1085 napi_value result = nullptr; OHAITensorCreateOne() local 1097 napi_value result = nullptr; OHAITensorDestroyOne() local 1111 napi_value result = nullptr; OHAITensorCloneOne() local 1135 napi_value result = nullptr; OHAITensorSetNameOne() local 1158 napi_value result = nullptr; OHAITensorGetNameOne() local 1175 napi_value result = nullptr; OHAITensorSetDataTypeOne() local 1191 napi_value result = nullptr; OHAITensorGetDataTypeOne() local 1207 napi_value result = nullptr; OHAITensorSetShapeOne() local 1229 napi_value result = nullptr; OHAITensorGetShapeOne() local 1251 napi_value result = nullptr; OHAITensorSetFormatOne() local 1267 napi_value result = nullptr; OHAITensorGetFormatOne() local 1283 napi_value result = nullptr; OHAITensorSetDataOne() local 1304 napi_value result = nullptr; OHAITensorGetDataOne() local 1325 napi_value result = nullptr; OHAITensorGetMutableDataOne() local 1340 napi_value result = nullptr; OHAITensorGetElementNumOne() local 1355 napi_value result = nullptr; OHAITensorGetDataSizeOne() local 1370 napi_value result = nullptr; OHAIGetAllNNRTDeviceDescsOne() local 1383 napi_value result = nullptr; OHAIDestroyAllNNRTDeviceDescsOne() local 1398 napi_value result = nullptr; OHAIGetDeviceIdFromNNRTDeviceDescOne() local 1414 napi_value result = nullptr; OHAIGetNameFromNNRTDeviceDescOne() local 1430 napi_value result = nullptr; OHAIGetTypeFromNNRTDeviceDescOne() local 1447 napi_value result = nullptr; OHAICreateNNRTDeviceInfoByNameOne() local 1465 napi_value result = nullptr; OHAICreateNNRTDeviceInfoByTypeOne() local 1484 napi_value result = nullptr; OHAIDeviceInfoSetPriorityOne() local 1496 napi_value result = nullptr; OHAIGetElementOfNNRTDeviceDescsOne() local 1515 napi_value result = nullptr; OHAIDeviceInfoAddExtensionOne() local 1527 napi_value result = nullptr; OHAIContextAddDeviceInfoOne() local 1540 napi_value result = nullptr; OHAIModelBuildFromFileOne() local 1555 napi_value result = nullptr; OHAIModelResizeOne() local 1576 napi_value result = nullptr; OHAIModelPredictOne() local 1597 napi_value result = nullptr; OHAIModelGetInputsOne() local 1614 napi_value result = nullptr; OHAIModelGetOutputsOne() local 1631 napi_value result = nullptr; OHAIModelGetInputByTensorNameOne() local 1648 napi_value result = nullptr; OHAIModelGetOutputByTensorNameOne() local 1694 napi_value result = nullptr; OHAITensorSetUserDataOne() local 1725 napi_value result = nullptr; OHAIDeviceInfoCreateTwo() local 1733 napi_value result = nullptr; OHAIContextSetThreadAffinityCoreListTwo() local 1745 napi_value result = nullptr; OHAIContextGetThreadAffinityCoreListTwo() local 1762 napi_value result = nullptr; OHAISetFrequencyTwo() local 1772 napi_value result = nullptr; OHAIGetFrequencyTwo() local 1781 napi_value result = nullptr; OHAITensorCreateTwo() local 1792 napi_value result = nullptr; OHAITensorSetNameTwo() local 1807 napi_value result = nullptr; OHAITensorGetNameTwo() local 1822 napi_value result = nullptr; OHAITensorSetDataTypeTwo() local 1837 napi_value result = nullptr; OHAITensorGetDataTypeTwo() local 1852 napi_value result = nullptr; OHAITensorSetShapeTwo() local 1864 napi_value result = nullptr; OHAITensorGetShapeTwo() local 1876 napi_value result = nullptr; OHAITensorSetFormatTwo() local 1885 napi_value result = nullptr; OHAITensorGetFormatTwo() local 1894 napi_value result = nullptr; OHAITensorSetDataTwo() local 1909 napi_value result = nullptr; OHAITensorGetDataTwo() local 1924 napi_value result = nullptr; OHAITensorGetMutableDataTwo() local 1932 napi_value result = nullptr; OHAITensorGetElementNumTwo() local 1940 napi_value result = nullptr; OHAITensorGetDataSizeTwo() local 1948 napi_value result = nullptr; OHAIDeviceInfoSetPriorityTwo() local 1963 napi_value result = nullptr; OHAITensorCloneTwo() local 1971 napi_value result = nullptr; OHAIDeviceInfoAddExtensionTwo() local 1981 napi_value result = nullptr; OHAIDeviceInfoAddExtensionThree() local 1993 napi_value result = nullptr; OHAIModelBuildOne() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/unittest/opensles_player_test/src/ |
H A D | audio_opensles_player_unit_test.cpp | 72 SLresult result = slCreateEngine(&engineObject_, 0, nullptr, 0, nullptr, nullptr); in HWTEST() local 73 EXPECT_TRUE(result == SL_RESULT_SUCCESS); in HWTEST() 78 SLresult result = (*engineObject_)->Realize(engineObject_, SL_BOOLEAN_FALSE); in HWTEST() local 79 EXPECT_TRUE(result == SL_RESULT_SUCCESS); in HWTEST() 84 SLresult result = (*engineObject_)->GetInterface(engineObject_, SL_IID_ENGINE, &engineEngine_); in HWTEST() local 85 EXPECT_TRUE(result == SL_RESULT_SUCCESS); in HWTEST() 90 SLresult result = (*engineEngine_)->CreateOutputMix(engineEngine_, &outputMixObject_, 0, nullptr, nullptr); in HWTEST() local 91 EXPECT_TRUE(result == SL_RESULT_SUCCESS); in HWTEST() 96 SLresult result = (*outputMixObject_)->Realize(outputMixObject_, SL_BOOLEAN_FALSE); in HWTEST() local 97 EXPECT_TRUE(result in HWTEST() 102 SLresult result = (*engineEngine_)->CreateOutputMix(engineEngine_, nullptr, 0, nullptr, nullptr); HWTEST() local 108 SLresult result = (*outputMixObject_)->Realize(nullptr, SL_BOOLEAN_FALSE); HWTEST() local 114 SLresult result = (*outputMixObject_)->Resume(outputMixObject_, SL_BOOLEAN_FALSE); HWTEST() local 120 SLresult result = (*outputMixObject_)->GetState(nullptr, nullptr); HWTEST() local 127 SLresult result = (*outputMixObject_)->GetState(outputMixObject_, &state); HWTEST() local 133 SLresult result = (*outputMixObject_)->RegisterCallback(outputMixObject_, nullptr, nullptr); HWTEST() local 167 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, HWTEST() local 191 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 215 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 245 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 275 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 305 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 335 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 365 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 395 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 425 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 455 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 486 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 494 SLresult result = AudioPlayerAdapter::GetInstance()->SetPlayStateAdapter(-1, SL_PLAYSTATE_PLAYING); HWTEST() local 500 SLresult result = AudioPlayerAdapter::GetInstance()->SetPlayStateAdapter(-1, SL_PLAYSTATE_PLAYING); HWTEST() local 507 SLresult result = AudioPlayerAdapter::GetInstance()->GetPlayStateAdapter(-1, &state); HWTEST() local 513 SLresult result = AudioCapturerAdapter::GetInstance()->SetCaptureStateAdapter(-1, SL_PLAYSTATE_PLAYING); HWTEST() local 520 SLresult result = AudioCapturerAdapter::GetInstance()->GetCaptureStateAdapter(-1, &state); HWTEST() local 526 SLresult result = AudioCapturerAdapter::GetInstance()->EnqueueAdapter(-1, nullptr, 0); HWTEST() local 532 SLresult result = AudioCapturerAdapter::GetInstance()->ClearAdapter(-1); HWTEST() local 538 SLresult result = AudioCapturerAdapter::GetInstance()->GetStateAdapter(-1, nullptr); HWTEST() local 544 SLresult result = AudioCapturerAdapter::GetInstance()->GetBufferAdapter(-1, nullptr, nullptr); HWTEST() local 550 SLresult result = (*pcmPlayerObject_)->Realize(pcmPlayerObject_, SL_BOOLEAN_FALSE); HWTEST() local 556 SLresult result = (*pcmPlayerObject_)->GetInterface(pcmPlayerObject_, SL_IID_PLAY, &playItf_); HWTEST() local 585 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, nullptr, HWTEST() local 593 SLresult result = (*pcmPlayerObject_)->GetInterface(nullptr, SL_IID_PLAY, &playItf_); HWTEST() local 606 SLresult result = (*engineEngine_)->CreateLEDDevice(engineEngine_, nullptr, 0, 0, nullptr, nullptr); HWTEST() local 619 SLresult result = (*engineEngine_)->CreateVibraDevice(engineEngine_, nullptr, 0, 0, nullptr, nullptr); HWTEST() local 625 SLresult result = (*engineEngine_)->CreateMidiPlayer(engineEngine_, nullptr, nullptr, HWTEST() local 632 SLresult result = (*engineEngine_)->CreateListener(engineEngine_, nullptr, 0, nullptr, nullptr); HWTEST() local 638 SLresult result = (*engineEngine_)->Create3DGroup(engineEngine_, nullptr, 0, nullptr, nullptr); HWTEST() local 644 SLresult result = (*engineEngine_)->CreateMetadataExtractor(engineEngine_, nullptr, nullptr, 0, nullptr, nullptr); HWTEST() local 650 SLresult result = (*engineEngine_)->CreateExtensionObject(engineEngine_, nullptr, nullptr, 0, 0, nullptr, nullptr); HWTEST() local 656 SLresult result = (*engineEngine_)->QueryNumSupportedInterfaces(engineEngine_, 0, nullptr); HWTEST() local 662 SLresult result = (*engineEngine_)->QueryNumSupportedExtensions(engineEngine_, nullptr); HWTEST() local 668 SLresult result = (*engineEngine_)->QuerySupportedInterfaces(engineEngine_, 0, 0, nullptr); HWTEST() local 674 SLresult result = (*engineEngine_)->QuerySupportedExtension(engineEngine_, 0, nullptr, nullptr); HWTEST() local 680 SLresult result = (*engineEngine_)->IsExtensionSupported(engineEngine_, nullptr, nullptr); HWTEST() local 686 SLresult result = (*pcmPlayerObject_)->GetInterface(pcmPlayerObject_, SL_IID_VOLUME, &volumeItf_); HWTEST() local 695 SLresult result = (*volumeItf_)->GetVolumeLevel(volumeItf_, &level); HWTEST() local 702 SLresult result = (*volumeItf_)->GetMaxVolumeLevel(volumeItf_, &level); HWTEST() local 708 SLresult result = (*volumeItf_)->SetVolumeLevel(volumeItf_, 0); HWTEST() local 716 SLresult result = (*volumeItf_)->SetVolumeLevel(volumeItf_, level); HWTEST() local 722 SLresult result = (*pcmPlayerObject_)->GetInterface(pcmPlayerObject_, SL_IID_OH_BUFFERQUEUE, &bufferQueueItf_); HWTEST() local 728 SLresult result = (*bufferQueueItf_)->RegisterCallback(bufferQueueItf_, BufferQueueCallback, wavFile_); HWTEST() local 736 SLresult result = (*playItf_)->SetPlayState(playItf_, SL_PLAYSTATE_PLAYING); HWTEST() local 742 SLresult result = (*playItf_)->SetPlayState(playItf_, -1); HWTEST() local 748 SLresult result = (*playItf_)->GetDuration(playItf_, nullptr); HWTEST() local 754 SLresult result = (*playItf_)->RegisterCallback(playItf_, nullptr, nullptr); HWTEST() local 760 SLresult result = (*playItf_)->SetCallbackEventsMask(playItf_, 0); HWTEST() local 766 SLresult result = (*playItf_)->GetCallbackEventsMask(playItf_, 0); HWTEST() local 772 SLresult result = (*playItf_)->SetMarkerPosition(playItf_, 0); HWTEST() local 778 SLresult result = (*playItf_)->GetMarkerPosition(playItf_, nullptr); HWTEST() local 784 SLresult result = (*playItf_)->SetPositionUpdatePeriod(playItf_, 0); HWTEST() local 790 SLresult result = (*playItf_)->GetPositionUpdatePeriod(playItf_, nullptr); HWTEST() local 796 SLresult result = (*playItf_)->ClearMarkerPosition(playItf_); HWTEST() local 802 SLresult result = (*playItf_)->GetPosition(playItf_, nullptr); HWTEST() local 808 SLresult result = (*playItf_)->SetPlayState(playItf_, SL_PLAYSTATE_PAUSED); HWTEST() local 814 SLresult result = (*playItf_)->SetPlayState(playItf_, SL_PLAYSTATE_STOPPED); HWTEST() local 820 SLresult result = (*playItf_)->SetPlayState(nullptr, SL_PLAYSTATE_STOPPED); HWTEST() local 827 SLresult result = (*playItf_)->GetPlayState(playItf_, &state); HWTEST() local 834 SLresult result = (*playItf_)->GetPlayState(playItf_, &state); HWTEST() local 841 SLresult result = (*playItf_)->GetPlayState(playItf_, &state); HWTEST() local 848 SLresult result = (*playItf_)->GetPlayState(playItf_, &state); HWTEST() local 855 SLresult result = (*playItf_)->GetPlayState(nullptr, &state); HWTEST() local 861 SLresult result = (*playItf_)->SetPlayState(playItf_, -1); HWTEST() local 1100 SLresult result = (*volumeItf_)->SetMute(volumeItf_, SL_BOOLEAN_FALSE); HWTEST() local 1106 SLresult result = (*volumeItf_)->GetMute(volumeItf_, nullptr); HWTEST() local 1112 SLresult result = (*volumeItf_)->EnableStereoPosition(volumeItf_, SL_BOOLEAN_FALSE); HWTEST() local 1118 SLresult result = (*volumeItf_)->IsEnabledStereoPosition(volumeItf_, nullptr); HWTEST() local 1124 SLresult result = (*volumeItf_)->SetStereoPosition(volumeItf_, 0); HWTEST() local 1130 SLresult result = (*volumeItf_)->GetStereoPosition(volumeItf_, nullptr); HWTEST() local 1136 SLresult result = (*engineObject_)->GetPriority(engineObject_, nullptr, nullptr); HWTEST() local 1142 SLresult result = (*engineObject_)->SetPriority(engineObject_, 0, SL_BOOLEAN_FALSE); HWTEST() local 1172 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, HWTEST() local 1185 SLresult result = (*volumeItf_)->GetMaxVolumeLevel(volumeItf_, &level); HWTEST() local 1229 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 1268 SLresult result = (*engineEngine_)->CreateAudioPlayer(engineEngine_, &pcmPlayerObject_, &slSource, HWTEST() local 1311 SLresult result = AudioPlayerDestroy(nullptr); HWTEST() local [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | radeon_uvd.c | 374 struct ruvd_h264 result; in get_h264_msg() local 376 memset(&result, 0, sizeof(result)); in get_h264_msg() 380 result.profile = RUVD_H264_PROFILE_BASELINE; in get_h264_msg() 384 result.profile = RUVD_H264_PROFILE_MAIN; in get_h264_msg() 388 result.profile = RUVD_H264_PROFILE_HIGH; in get_h264_msg() 396 result.level = dec->base.level; in get_h264_msg() 398 result.sps_info_flags = 0; in get_h264_msg() 399 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; in get_h264_msg() 400 result in get_h264_msg() 472 struct ruvd_vc1 result; get_vc1_msg() local 564 struct ruvd_mpeg2 result; get_mpeg2_msg() local 604 struct ruvd_mpeg4 result; get_mpeg4_msg() local [all...] |
/foundation/resourceschedule/work_scheduler/services/test/src/ |
H A D | workschedulerservice_test.cpp | 112 int32_t IsLastWorkTimeout(int32_t workId, bool &result) { return 0; }
in IsLastWorkTimeout() argument 245 bool result;
in HWTEST_F() local 246 auto ret = workSchedulerService_->IsLastWorkTimeout(1, result);
in HWTEST_F() 303 std::string result;
in HWTEST_F() local 304 workSchedulerService_->DumpProcessForEngMode(argsInStr, result);
in HWTEST_F() 305 WS_HILOGI("%{public}s", result.c_str());
in HWTEST_F() 306 EXPECT_EQ(result.empty(), 0);
in HWTEST_F() 336 std::string result;
in HWTEST_F() local 339 eventPublisher.Dump(result, eventType, eventValue);
in HWTEST_F() 340 WS_HILOGI("%{public}s", result in HWTEST_F() 350 std::string result; HWTEST_F() local 393 std::string result; HWTEST_F() local 420 std::string result; HWTEST_F() local 454 std::string result; HWTEST_F() local 484 std::string result; HWTEST_F() local 503 std::string result; HWTEST_F() local 549 std::string result; HWTEST_F() local 595 std::string result; HWTEST_F() local [all...] |
/third_party/node/test/internet/ |
H A D | test-dns.js | 87 function validateResult(result) { 88 assert.ok(result.length > 0); 90 for (const item of result) { 105 }, function(err, result) { 107 validateResult(result); 115 function validateResult(result) { 116 assert.ok(result.length > 0); 118 for (const item of result) { 133 }, function(err, result) { 135 validateResult(result); [all...] |