Home
last modified time | relevance | path

Searched refs:result (Results 3026 - 3050 of 25902) sorted by relevance

1...<<121122123124125126127128129130>>...1037

/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_mgr_load_test.cpp66 int32_t result = sm->LoadSystemAbility(systemAbilityId, nullptr); in HWTEST_F() local
67 EXPECT_TRUE(result != ERR_OK); in HWTEST_F()
80 int32_t result = sm->LoadSystemAbility(systemAbilityId, nullptr); in HWTEST_F() local
81 EXPECT_TRUE(result != ERR_OK); in HWTEST_F()
94 int32_t result = sm->LoadSystemAbility(systemAbilityId, nullptr); in HWTEST_F() local
95 EXPECT_TRUE(result != ERR_OK); in HWTEST_F()
109 int32_t result = sm->LoadSystemAbility(systemAbilityId, callback); in HWTEST_F() local
110 EXPECT_TRUE(result != ERR_OK); in HWTEST_F()
125 int32_t result = saMgr->OnRemoteRequest(static_cast<uint32_t>(SamgrInterfaceCode::LOAD_SYSTEM_ABILITY_TRANSACTION), in HWTEST_F() local
127 EXPECT_TRUE(result ! in HWTEST_F()
143 int32_t result = saMgr->OnRemoteRequest(static_cast<uint32_t>(SamgrInterfaceCode::LOAD_SYSTEM_ABILITY_TRANSACTION), HWTEST_F() local
162 int32_t result = saMgr->OnRemoteRequest(static_cast<uint32_t>(SamgrInterfaceCode::LOAD_SYSTEM_ABILITY_TRANSACTION), HWTEST_F() local
181 int32_t result = saMgr->OnRemoteRequest(static_cast<uint32_t>(SamgrInterfaceCode::LOAD_SYSTEM_ABILITY_TRANSACTION), HWTEST_F() local
202 int32_t result = saMgr->OnRemoteRequest(static_cast<uint32_t>(SamgrInterfaceCode::LOAD_SYSTEM_ABILITY_TRANSACTION), HWTEST_F() local
323 int32_t result = sm->LoadSystemAbility(systemAbilityId, deviceId, nullptr); HWTEST_F() local
339 int32_t result = sm->LoadSystemAbility(systemAbilityId, deviceId, nullptr); HWTEST_F() local
355 int32_t result = sm->LoadSystemAbility(systemAbilityId, deviceId, nullptr); HWTEST_F() local
371 int32_t result = sm->LoadSystemAbility(systemAbilityId, deviceId, nullptr); HWTEST_F() local
387 int32_t result = sm->LoadSystemAbility(systemAbilityId, deviceId, nullptr); HWTEST_F() local
403 int32_t result = sm->LoadSystemAbility(systemAbilityId, deviceId, nullptr); HWTEST_F() local
420 int32_t result = sm->LoadSystemAbility(systemAbilityId, deviceId, nullptr); HWTEST_F() local
589 int32_t result = saMgr->UnloadSystemAbility(1); HWTEST_F() local
605 int32_t result = saMgr->UnloadSystemAbility(1); HWTEST_F() local
732 int32_t result = Security::AccessToken::AccessTokenKit::GetNativeTokenInfo(accessToken, nativeTokenInfo); HWTEST_F() local
758 bool result = saMgr->DoUnloadSystemAbility(said, procName, event); HWTEST_F() local
785 int32_t result = sm->AddSystemAbility(systemAbilityId, new TestTransactionService(), saExtraProp); HWTEST_F() local
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Ddevice_pm.c77 int result = ACPI_STATE_UNKNOWN; in acpi_device_get_power() local
97 error = acpi_power_get_inferred_state(device, &result); in acpi_device_get_power()
116 if (psc > result && psc < ACPI_STATE_D3_COLD) in acpi_device_get_power()
117 result = psc; in acpi_device_get_power()
118 else if (result == ACPI_STATE_UNKNOWN) in acpi_device_get_power()
119 result = psc > ACPI_STATE_D2 ? ACPI_STATE_D3_HOT : psc; in acpi_device_get_power()
129 result == ACPI_STATE_D0) in acpi_device_get_power()
132 *state = result; in acpi_device_get_power()
165 int result = 0; in acpi_device_set_power() local
234 result in acpi_device_set_power()
310 int result; acpi_bus_init_power() local
416 int result; acpi_device_update_power() local
[all...]
/test/xts/acts/multimedia/media/media_ndk_standard/avPlayerDrmNdk/entry/src/main/cpp/
H A Dhello.cpp144 napi_value result; in Test_AVPlayer_SetMediaKeySystemInfoCallback() local
187 napi_create_int32(env, ret, &result); in Test_AVPlayer_SetMediaKeySystemInfoCallback()
188 return result; in Test_AVPlayer_SetMediaKeySystemInfoCallback()
195 napi_value result; in Test_AVPlayer_GetMediaKeySystemInfo() local
213 napi_create_int32(env, AV_ERR_INVALID_VAL, &result); in Test_AVPlayer_GetMediaKeySystemInfo()
214 return result; in Test_AVPlayer_GetMediaKeySystemInfo()
253 napi_create_int32(env, ret, &result); in Test_AVPlayer_GetMediaKeySystemInfo()
254 return result; in Test_AVPlayer_GetMediaKeySystemInfo()
261 napi_value result; in Test_AVPlayer_SetDecryptionConfig() local
307 napi_create_int32(env, ret, &result); in Test_AVPlayer_SetDecryptionConfig()
342 napi_value result; Test_AudioCodec_SetDecryptionConfig() local
396 napi_value result; Test_VideoDecoder_SetDecryptionConfig() local
454 napi_value result; TestAVDemuxer_SetMediaKeySystemInfoCallback() local
517 napi_value result; TestAVDemuxer_SetDemuxerMediaKeySystemInfoCallback() local
576 napi_value result; TestAVDemuxer_GetMediaKeySystemInfo() local
[all...]
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DCheckAPI.java391 int result = lhi.pack.compareTo(rhi.pack); in defaultComparator()
392 if (result == 0) { in defaultComparator()
393 result = (lhi.getVal(CAT) == CAT_CLASS ? lhi.name : lhi.cls) in defaultComparator()
395 if (result == 0) { in defaultComparator()
396 result = lhi.getVal(CAT)- rhi.getVal(CAT); in defaultComparator()
397 if (result == 0) { in defaultComparator()
398 result = lhi.name.compareTo(rhi.name); in defaultComparator()
399 if (result == 0) { in defaultComparator()
400 result = lhi.sig.compareTo(rhi.sig); in defaultComparator()
405 return result; in defaultComparator()
[all...]
H A DAPIInfo.java340 int result = lhi.pack.compareTo(rhi.pack); in defaultComparator()
341 if (result == 0) { in defaultComparator()
342 result = (lhi.getVal(CAT) == CAT_CLASS || lhi.getVal(CAT) == CAT_ENUM ? lhi.name : lhi.cls) in defaultComparator()
344 if (result == 0) { in defaultComparator()
345 result = lhi.getVal(CAT)- rhi.getVal(CAT); in defaultComparator()
346 if (result == 0) { in defaultComparator()
347 result = lhi.name.compareTo(rhi.name); in defaultComparator()
348 if (result == 0) { in defaultComparator()
349 result = lhi.sig.compareTo(rhi.sig); in defaultComparator()
354 return result; in defaultComparator()
[all...]
/base/security/access_token/interfaces/kits/cj/accesstoken/src/
H A Dat_manager_impl.cpp49 const std::string RESULT_KEY = "ohos.user.grant.permission.result";
154 char** result = static_cast<char**>(malloc(sizeof(char*) * vec.size())); in VectorToCArrString() local
155 if (result == nullptr) { in VectorToCArrString()
160 result[i] = MallocCString(vec[i]); in VectorToCArrString()
162 return result; in VectorToCArrString()
167 int32_t* result = static_cast<int32_t*>(malloc(sizeof(int32_t) * vec.size())); in VectorToCArrInt32() local
168 if (result == nullptr) { in VectorToCArrInt32()
173 result[i] = vec[i]; in VectorToCArrInt32()
175 return result; in VectorToCArrInt32()
183 auto result in VerifyAccessTokenSync() local
188 int32_t result; VerifyAccessTokenSync() local
225 int32_t result = AccessTokenKit::GetDefPermission(cPermissionName, permissionDef); GrantUserGrantedPermission() local
259 int32_t result = AccessTokenKit::GetDefPermission(cPermissionName, permissionDef); RevokeUserGrantedPermission() local
302 int32_t result = AccessTokenKit::RegisterPermStateChangeCallback(registerPermStateChangeInfo->subscriber); RegisterPermStateChangeCallback() local
348 int32_t result = AccessTokenKit::UnRegisterPermStateChangeCallback(item->subscriber); UnregisterPermStateChangeCallback() local
377 int result = permissionsState[i] == DYNAMIC_OPER ? grantResults[i] : permissionsState[i]; UpdateGrantPermissionResultOnly() local
511 OnResult(int32_t resultCode, const AAFwk::Want& result) OnResult() argument
664 int32_t result; RequestPermissionsFromUser() local
930 PermStateChangeCallback(PermStateChangeInfo& result) PermStateChangeCallback() argument
[all...]
/base/security/access_token/frameworks/js/napi/accesstoken/src/
H A Dnapi_request_permission.cpp39 const std::string RESULT_KEY = "ohos.user.grant.permission.result";
52 static void ReturnPromiseResult(napi_env env, int32_t contextResult, napi_deferred deferred, napi_value result) in ReturnPromiseResult() argument
59 NAPI_CALL_RETURN_VOID(env, napi_resolve_deferred(env, deferred, result)); in ReturnPromiseResult()
63 static void ReturnCallbackResult(napi_env env, int32_t contextResult, napi_ref &callbackRef, napi_value result) in ReturnCallbackResult() argument
70 napi_value results[ASYNC_CALL_BACK_VALUES_NUM] = { businessError, result }; in ReturnCallbackResult()
85 napi_value result = nullptr; in WrapVoidToJS() local
86 NAPI_CALL(env, napi_get_null(env, &result)); in WrapVoidToJS()
87 return result; in WrapVoidToJS()
136 asyncContext->result = RET_FAILED; in CreateUIExtensionMainThread()
149 asyncContext->result in CreateUIExtensionMainThread()
229 napi_value result = nullptr; WrapRequestResult() local
277 int32_t result = JsErrorCode::JS_OK; ResultCallbackJSThreadWorker() local
313 int result = data->permissionsState[i]; UpdateGrantPermissionResultOnly() local
494 OnResult(int32_t resultCode, const AAFwk::Want& result) OnResult() argument
593 napi_value result = nullptr; RequestPermissionsFromUser() local
761 napi_value result = nullptr; GetPermissionsStatus() local
847 napi_value result; GetPermissionsStatusComplete() local
[all...]
/foundation/ability/ability_base/test/unittest/want/
H A Dwant_params_test.cpp77 * @tc.desc: marshalling WantParams, and then check result.
96 * @tc.desc: marshalling WantParams, and then check result.
115 * @tc.desc: marshalling WantParams, and then check result.
138 * @tc.desc: marshalling WantParams, and then check result.
156 * @tc.desc: marshalling nested WantParams inside array, and then check result.
202 * @tc.desc: marshalling nested WantParams, and then check result.
230 * @tc.desc: marshalling array, and then check result.
496 bool result = wp.NewArrayData(iarray, destAO); in HWTEST_F() local
497 EXPECT_FALSE(result); in HWTEST_F()
793 bool result in HWTEST_F() local
806 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, WantParams::VALUE_TYPE_BYTE); HWTEST_F() local
819 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, WantParams::VALUE_TYPE_CHAR); HWTEST_F() local
832 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, WantParams::VALUE_TYPE_SHORT); HWTEST_F() local
845 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, WantParams::VALUE_TYPE_INT); HWTEST_F() local
858 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, WantParams::VALUE_TYPE_LONG); HWTEST_F() local
871 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, WantParams::VALUE_TYPE_FLOAT); HWTEST_F() local
884 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, WantParams::VALUE_TYPE_DOUBLE); HWTEST_F() local
897 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, WantParams::VALUE_TYPE_STRING); HWTEST_F() local
910 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, WantParams::VALUE_TYPE_ARRAY); HWTEST_F() local
923 bool result = WantParams::CompareInterface(interfaceObj, interfaceObj, 102); HWTEST_F() local
936 bool result = wp.WriteArrayToParcelString(parcel, nullptr); HWTEST_F() local
949 bool result = wp.WriteArrayToParcelBool(parcel, nullptr); HWTEST_F() local
962 bool result = wp.WriteArrayToParcelByte(parcel, nullptr); HWTEST_F() local
975 bool result = wp.WriteArrayToParcelChar(parcel, nullptr); HWTEST_F() local
988 bool result = wp.WriteArrayToParcelShort(parcel, nullptr); HWTEST_F() local
1001 bool result = wp.WriteArrayToParcelInt(parcel, nullptr); HWTEST_F() local
1014 bool result = wp.WriteArrayToParcelLong(parcel, nullptr); HWTEST_F() local
1027 bool result = wp.WriteArrayToParcelFloat(parcel, nullptr); HWTEST_F() local
1040 bool result = wp.WriteArrayToParcelDouble(parcel, nullptr); HWTEST_F() local
1084 std::string result = wantParams.GetStringParam(key); HWTEST_F() local
1099 bool result = wantParams.WriteToParcelFD(parcel, value); HWTEST_F() local
1114 bool result = wantParams.WriteToParcelRemoteObject(parcel, value); HWTEST_F() local
1135 bool result = wantParams.WriteArrayToParcelWantParams(parcel, nullptr, depth); HWTEST_F() local
1151 bool result = wantParams.ReadArrayToParcel(parcel, type, destAO, 1); HWTEST_F() local
1166 bool result = wantParams.ReadFromParcelFD(parcel, key); HWTEST_F() local
1181 bool result = wantParams.ReadFromParcelRemoteObject(parcel, key); HWTEST_F() local
1197 bool result = wantParams.ReadUnsupportedData(parcel, key, type); HWTEST_F() local
[all...]
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_gatt_client.cpp406 int result = BT_ERR_INTERNAL_ERROR; in DiscoverStart() local
411 result = proxy->DiscoveryServices(applicationId_); in DiscoverStart()
412 if (result != BT_NO_ERROR) { in DiscoverStart()
416 return result; in DiscoverStart()
513 std::vector<BluetoothGattService> result; in GetServices() local
518 proxy->GetServices(applicationId_, result); in GetServices()
519 BuildServiceList(result); in GetServices()
632 int32_t result = proxy->RegisterApplication( in Connect() local
635 if (result != BT_NO_ERROR) { in Connect()
637 return result; in Connect()
665 int result = BT_ERR_INTERNAL_ERROR; Disconnect() local
687 int32_t result = proxy->DeregisterApplication(pimpl->applicationId_); Close() local
786 int result = GattStatus::GATT_FAILURE; ReadCharacteristic() local
823 int result = BT_ERR_INTERNAL_ERROR; ReadDescriptor() local
855 int result = BT_ERR_INTERNAL_ERROR; RequestBleMtuSize() local
905 int result = GattStatus::GATT_FAILURE; SetNotifyCharacteristicInner() local
971 int result = BT_ERR_INTERNAL_ERROR; WriteCharacteristic() local
1023 int result = BT_ERR_INTERNAL_ERROR; WriteDescriptor() local
1059 int result = GattStatus::GATT_FAILURE; RequestConnectionPriority() local
1108 int result = GattStatus::GATT_FAILURE; ReadRemoteRssiValue() local
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/
H A Dnapi_bluetooth_connection.cpp41 napi_value result = 0;
43 napi_create_array(env, &result);
45 napi_set_element(env, result, 0, value);
46 return result;
50 napi_value result = 0;
53 napi_create_object(env, &result);
55 napi_set_named_property(env, result, "deviceId", deviceId);
57 napi_set_named_property(env, result, "pinCode", pinCode);
58 return result;
61 napi_value result
181 napi_value result = nullptr; GetBtConnectionState() local
220 napi_value result = nullptr; GetRemoteDeviceName() local
244 napi_value result = nullptr; GetRemoteDeviceClass() local
261 napi_value result = nullptr; GetLocalName() local
278 napi_value result = nullptr; GetPairedDevices() local
382 napi_value result = nullptr; GetBluetoothScanMode() local
597 napi_value result = nullptr; IsBluetoothDiscovering() local
614 napi_value result = nullptr; GetPairState() local
670 napi_value result = nullptr; GetRemoteProductId() local
[all...]
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/
H A Dnapi_audio_stream_manager.cpp54 napi_value result = nullptr; in Construct() local
63 CHECK_AND_RETURN_RET_LOG(napiStreamMgr != nullptr, result, "No memory"); in Construct()
74 return result; in Construct()
84 napi_value result = nullptr; in Init() local
86 napi_get_undefined(env, &result); in Init()
112 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "napi_define_class fail"); in Init()
115 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "napi_create_reference fail"); in Init()
117 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "napi_set_named_property fail"); in Init()
124 napi_value result = nullptr; in CreateStreamManagerWrapper() local
132 status = napi_new_instance(env, constructor, PARAM0, nullptr, &result); in CreateStreamManagerWrapper()
215 napi_value result = nullptr; GetCurrentAudioRendererInfosSync() local
263 napi_value result = nullptr; GetCurrentAudioCapturerInfosSync() local
358 napi_value result = nullptr; IsStreamActiveSync() local
434 napi_value result = nullptr; GetEffectInfoArraySync() local
465 napi_value result = nullptr; GetHardwareOutputSamplingRate() local
659 napi_value result = nullptr; GetSupportedAudioEffectProperty() local
680 napi_value result = nullptr; GetSupportedAudioEnhanceProperty() local
700 napi_value result = nullptr; GetAudioEffectProperty() local
721 napi_value result = nullptr; SetAudioEffectProperty() local
749 napi_value result = nullptr; GetAudioEnhanceProperty() local
770 napi_value result = nullptr; SetAudioEnhanceProperty() local
[all...]
/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.cpp63 bool CommonNapi::GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result) in GetPropertyInt32() argument
71 CHECK_AND_RETURN_RET_LOG(napi_get_value_int32(env, item, &result) == napi_ok, false, in GetPropertyInt32()
76 bool CommonNapi::GetPropertyUint32(napi_env env, napi_value configObj, const std::string &type, uint32_t &result) in GetPropertyUint32() argument
85 CHECK_AND_RETURN_RET_LOG(napi_get_value_uint32(env, item, &result) == napi_ok, false, in GetPropertyUint32()
90 bool CommonNapi::GetPropertyInt64(napi_env env, napi_value configObj, const std::string &type, int64_t &result) in GetPropertyInt64() argument
105 if (napi_get_value_int64(env, item, &result) != napi_ok) { in GetPropertyInt64()
112 bool CommonNapi::GetPropertyDouble(napi_env env, napi_value configObj, const std::string &type, double &result) in GetPropertyDouble() argument
127 if (napi_get_value_double(env, item, &result) != napi_ok) { in GetPropertyDouble()
370 napi_deferred CommonNapi::CreatePromise(napi_env env, napi_ref ref, napi_value &result) in CreatePromise() argument
375 napi_create_promise(env, &deferred, &result); in CreatePromise()
610 CreateFormatBufferByRef(napi_env env, Format &format, napi_value &result) CreateFormatBufferByRef() argument
680 GetJsResult(napi_env env, napi_value &result) GetJsResult() argument
698 GetJsResult(napi_env env, napi_value &result) GetJsResult() argument
716 GetJsResult(napi_env env, napi_value &result) GetJsResult() argument
769 napi_value result = nullptr; CompleteCallback() local
823 CheckCtorResult(napi_env env, napi_value &result, MediaAsyncContext *ctx, napi_value &args) CheckCtorResult() argument
856 GetPropertyBool(napi_env env, napi_value configObj, const std::string &type, bool &result) GetPropertyBool() argument
897 SetDeviceDescriptor(const napi_env &env, const AudioStandard::AudioDeviceDescriptor &deviceInfo, napi_value &result) SetDeviceDescriptor() argument
949 SetDeviceDescriptors(const napi_env &env, const std::vector<sptr<AudioStandard::AudioDeviceDescriptor>> &deviceDescriptors, napi_value &result) SetDeviceDescriptors() argument
963 SetValueDeviceInfo(const napi_env &env, const AudioStandard::DeviceInfo &deviceInfo, napi_value &result) SetValueDeviceInfo() argument
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
H A DesextcGeometryShaderLinking.cpp38 "out vec4 result;\n"
42 " result = vec4(1.0);\n"
167 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise.
173 bool result = true; in iterate() local
235 result = false; in iterate()
243 if (result) in iterate()
441 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise.
447 bool result = true; in iterate() local
480 result = false; in iterate()
516 result in iterate()
637 std::string result; getInputPrimitiveTypeQualifier() local
694 glw::GLuint result = 0; getValidInputVariableArraySize() local
793 bool result = true; iterate() local
936 bool result = true; iterate() local
1080 bool result = true; iterate() local
1234 bool result = true; iterate() local
1379 bool result = true; iterate() local
1506 bool result = true; iterate() local
1689 bool result = true; iterate() local
1855 bool result = true; iterate() local
1981 bool result = true; iterate() local
2185 bool result = true; iterate() local
2343 bool result = true; iterate() local
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.h128 napi_value result = nullptr; in CreateJsUndefined() local
129 napi_get_undefined(env, &result); in CreateJsUndefined()
130 return result; in CreateJsUndefined()
135 napi_value result = nullptr; in CreateJsNull() local
136 napi_get_null(env, &result); in CreateJsNull()
137 return result; in CreateJsNull()
142 napi_value result = nullptr; in CreateJsNumber() local
143 napi_create_int32(env, value, &result); in CreateJsNumber()
144 return result; in CreateJsNumber()
149 napi_value result in CreateJsNumber() local
156 napi_value result = nullptr; CreateJsNumber() local
163 napi_value result = nullptr; CreateJsNumber() local
170 napi_value result = nullptr; CreateJsNumber() local
293 napi_value result = nullptr; NapiGetUndefined() local
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dprocessor_perflib.c216 int result = 0; in acpi_processor_get_performance_control() local
233 result = -EFAULT; in acpi_processor_get_performance_control()
247 result = -EFAULT; in acpi_processor_get_performance_control()
263 result = -EFAULT; in acpi_processor_get_performance_control()
273 return result; in acpi_processor_get_performance_control()
313 int result = 0; in acpi_processor_get_performance_states() local
332 result = -EFAULT; in acpi_processor_get_performance_states()
345 result = -ENOMEM; in acpi_processor_get_performance_states()
362 result = -EFAULT; in acpi_processor_get_performance_states()
404 result in acpi_processor_get_performance_states()
420 int result = 0; acpi_processor_get_performance_info() local
486 int result; acpi_processor_notify_smm() local
534 int result = 0; acpi_processor_get_psd() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DTimeZone.java319 int[] result = new int[2]; in getOffset()
320 getOffset(date, false, result); in getOffset()
321 return result[0]+result[1]; in getOffset()
538 String result = null; in _getDisplayName()
548 result = tzfmt.format(Style.GENERIC_LOCATION, this, date, timeType); in _getDisplayName()
551 result = tzfmt.format(Style.GENERIC_LONG, this, date, timeType); in _getDisplayName()
554 result = tzfmt.format(Style.GENERIC_SHORT, this, date, timeType); in _getDisplayName()
559 // When Localized GMT format is used, the result might not be in _getDisplayName()
564 result in _getDisplayName()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DTimeZone.java296 int[] result = new int[2]; in getOffset()
297 getOffset(date, false, result); in getOffset()
298 return result[0]+result[1]; in getOffset()
503 String result = null; in _getDisplayName()
513 result = tzfmt.format(Style.GENERIC_LOCATION, this, date, timeType); in _getDisplayName()
516 result = tzfmt.format(Style.GENERIC_LONG, this, date, timeType); in _getDisplayName()
519 result = tzfmt.format(Style.GENERIC_SHORT, this, date, timeType); in _getDisplayName()
524 // When Localized GMT format is used, the result might not be in _getDisplayName()
529 result in _getDisplayName()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DCompactDecimalFormatTest.java537 CompactDecimalFormat result = CompactDecimalFormat.getInstance(locale, style); in getCDFInstance()
540 result.setMaximumSignificantDigits(2); in getCDFInstance()
541 return result; in getCDFInstance()
546 String result = CompactDecimalFormat.getInstance( new ULocale("no_NO"), in TestNordic()
548 assertNotEquals("CDF(12,000) for no_NO shouldn't be 12 (12K or similar)", "12", result); in TestNordic()
688 String result; in TestBug12422()
692 result = cdf.format(43000); in TestBug12422()
693 assertEquals("CDF should correctly format 43000 in 'ar'", "٤٣ ألف", result); in TestBug12422()
698 result = cdf.format(1234); in TestBug12422()
699 assertEquals("CDF should correctly format 1234 with 3 significant digits in 'ar-EG'", "١٫٢٣ ألف", result); in TestBug12422()
[all...]
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Ddispatch.cc21 DispatchResponse result; in Success() local
22 result.code_ = DispatchCode::SUCCESS; in Success()
23 return result; in Success()
28 DispatchResponse result; in FallThrough() local
29 result.code_ = DispatchCode::FALL_THROUGH; in FallThrough()
30 return result; in FallThrough()
35 DispatchResponse result; in ParseError() local
36 result.code_ = DispatchCode::PARSE_ERROR; in ParseError()
37 result.message_ = std::move(message); in ParseError()
38 return result; in ParseError()
43 DispatchResponse result; InvalidRequest() local
51 DispatchResponse result; MethodNotFound() local
59 DispatchResponse result; InvalidParams() local
67 DispatchResponse result; InternalError() local
75 DispatchResponse result; ServerError() local
462 sendResponse(int call_id, const DispatchResponse& response, std::unique_ptr<Serializable> result) sendResponse() argument
[all...]
/third_party/ltp/testcases/network/nfsv4/locks/
H A Dlocktests.c12 * results of these operations are known. If the operation result is
125 /* Verify the test result is the expected one */
155 /* If the expected operation result is a success, we will have to increase the number of correct results */ in validationResults()
395 void serializeResult(int result) in serializeResult() argument
398 sprintf(message, "R:%d::", result); in serializeResult()
402 void unSerializeResult(int *result) in unSerializeResult() argument
404 sscanf(message, "R:%d::", result); in unSerializeResult()
451 int sendResult(int result) in sendResult() argument
453 serializeResult(result); in sendResult()
461 int result in getResults() local
751 int i, a, result, ftest; slave() local
[all...]
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/
H A DHiAppEventCPPTest.cpp67 bool result = false; in HWTEST_F() local
85 result = CheckInfo(para, fileinfo); in HWTEST_F()
90 ASSERT_TRUE(result); in HWTEST_F()
103 bool result = false; in HWTEST_F() local
121 result = CheckInfo(para, fileinfo); in HWTEST_F()
126 ASSERT_TRUE(result); in HWTEST_F()
138 bool result = false; in HWTEST_F() local
156 result = CheckInfo(para, fileinfo); in HWTEST_F()
161 ASSERT_TRUE(result); in HWTEST_F()
173 bool result in HWTEST_F() local
208 bool result = false; HWTEST_F() local
245 bool result = false; HWTEST_F() local
280 bool result = false; HWTEST_F() local
315 bool result = false; HWTEST_F() local
350 bool result = false; HWTEST_F() local
385 bool result = false; HWTEST_F() local
420 bool result = false; HWTEST_F() local
455 bool result = false; HWTEST_F() local
490 bool result = false; HWTEST_F() local
525 bool result = false; HWTEST_F() local
560 bool result = false; HWTEST_F() local
595 bool result = false; HWTEST_F() local
630 bool result = false; HWTEST_F() local
665 bool result = false; HWTEST_F() local
707 bool result = false; HWTEST_F() local
805 bool result = false; HWTEST_F() local
847 bool result = false; HWTEST_F() local
882 bool result = false; HWTEST_F() local
917 bool result = false; HWTEST_F() local
952 bool result = false; HWTEST_F() local
992 bool result = false; HWTEST_F() local
1027 bool result = false; HWTEST_F() local
1070 bool result = false; HWTEST_F() local
1143 bool result = false; HWTEST_F() local
1192 bool result = false; HWTEST_F() local
[all...]
/third_party/json/include/nlohmann/detail/input/
H A Dbinary_reader.hpp111 bool result = false; in sax_parse() local
116 result = parse_bson_internal(); in sax_parse()
120 result = parse_cbor_internal(true, tag_handler); in sax_parse()
124 result = parse_msgpack_internal(); in sax_parse()
129 result = parse_ubjson_internal(); in sax_parse()
138 if (result && strict) in sax_parse()
156 return result; in sax_parse()
188 @param[in,out] result A reference to the string variable where the read
193 bool get_bson_cstr(string_t& result) in get_bson_cstr() argument
195 auto out = std::back_inserter(result); in get_bson_cstr()
223 get_bson_string(const NumberType len, string_t& result) get_bson_string() argument
245 get_bson_binary(const NumberType len, binary_t& result) get_bson_binary() argument
911 get_cbor_string(string_t& result) get_cbor_string() argument
1007 get_cbor_binary(binary_t& result) get_cbor_binary() argument
1577 get_msgpack_string(string_t& result) get_msgpack_string() argument
1660 get_msgpack_binary(binary_t& result) get_msgpack_binary() argument
1849 get_ubjson_string(string_t& result, const bool get_char = true) get_ubjson_string() argument
2009 get_ubjson_size_value(std::size_t& result, bool& is_ndarray, char_int_type prefix = 0) get_ubjson_size_value() argument
2232 get_ubjson_size_type(std::pair<std::size_t, char_int_type>& result, bool inside_ndarray = false) get_ubjson_size_type() argument
2788 get_number(const input_format_t format, NumberType& result) get_number() argument
2831 get_string(const input_format_t format, const NumberType len, string_t& result) get_string() argument
2864 get_binary(const input_format_t format, const NumberType len, binary_t& result) get_binary() argument
[all...]
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_napi.cpp117 napi_value result = nullptr; in Constructor() local
118 napi_get_undefined(env, &result); in Constructor()
123 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "failed to napi_get_cb_info"); in Constructor()
126 CHECK_AND_RETURN_RET_LOG(jsRecorder != nullptr, result, "failed to new AVRecorderNapi"); in Constructor()
130 CHECK_AND_RETURN_RET_LOG(jsRecorder->recorder_ != nullptr, result, "failed to CreateRecorder"); in Constructor()
136 CHECK_AND_RETURN_RET_LOG(jsRecorder->recorderCb_ != nullptr, result, "failed to CreateRecorderCb"); in Constructor()
144 return result; in Constructor()
179 napi_value result = nullptr; in JsCreateAVRecorder() local
180 napi_get_undefined(env, &result); in JsCreateAVRecorder()
187 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "faile in JsCreateAVRecorder()
241 napi_value result = nullptr; JsPrepare() local
293 napi_value result = nullptr; JsSetOrientationHint() local
345 napi_value result = nullptr; JsSetWatermark() local
447 napi_value result = nullptr; JsGetInputMetaSurface() local
550 napi_value result = nullptr; JsGetAVRecorderProfile() local
[all...]
/third_party/json/include/nlohmann/
H A Djson.hpp248 basic_json result; in meta() local
250 result["copyright"] = "(C) 2013-2022 Niels Lohmann"; in meta()
251 result["name"] = "JSON for Modern C++"; in meta()
252 result["url"] = "https://github.com/nlohmann/json"; in meta()
253 result["version"]["string"] = in meta()
257 result["version"]["major"] = NLOHMANN_JSON_VERSION_MAJOR; in meta()
258 result["version"]["minor"] = NLOHMANN_JSON_VERSION_MINOR; in meta()
259 result["version"]["patch"] = NLOHMANN_JSON_VERSION_PATCH; in meta()
262 result["platform"] = "win32"; in meta()
264 result["platfor in meta()
1264 string_t result; dump() local
2120 auto result = m_value.object->emplace(std::move(key), nullptr); operator []() local
2173 auto result = m_value.object->emplace(std::forward<KeyType>(key), nullptr); operator []() local
2425 IteratorType result = end(); erase() local
2495 IteratorType result = end(); erase() local
2642 auto result = end(); find() local
2656 auto result = cend(); find() local
2672 auto result = end(); find() local
2688 auto result = cend(); find() local
[all...]
/base/global/i18n/interfaces/js/kits/src/
H A Di18n_system_addon.cpp109 napi_value result = nullptr; in GetSystemLanguages() local
110 napi_status status = napi_create_array_with_length(env, systemLanguages.size(), &result); in GetSystemLanguages()
122 status = napi_set_element(env, result, i, value); in GetSystemLanguages()
128 return result; in GetSystemLanguages()
154 napi_value result = nullptr; in GetSystemLanguage() local
155 napi_status status = napi_create_string_utf8(env, value.c_str(), NAPI_AUTO_LENGTH, &result); in GetSystemLanguage()
160 return result; in GetSystemLanguage()
176 napi_value result = nullptr; in GetSystemRegion() local
177 napi_status status = napi_create_string_utf8(env, value.c_str(), NAPI_AUTO_LENGTH, &result); in GetSystemRegion()
182 return result; in GetSystemRegion()
198 napi_value result = nullptr; GetSystemLocale() local
220 napi_value result = nullptr; Is24HourClock() local
262 napi_value result = nullptr; GetPreferredLanguageList() local
288 napi_value result = nullptr; GetFirstPreferredLanguage() local
342 napi_value result = nullptr; GetAppPreferredLanguage() local
417 napi_value result = nullptr; GetDisplayCountryImpl() local
477 napi_value result = nullptr; GetDisplayLanguageImpl() local
521 napi_value result = nullptr; GetSystemCountriesImpl() local
579 napi_value result = nullptr; IsSuggestedImpl() local
620 napi_value result = nullptr; SetSystemLanguageImpl() local
661 napi_value result = nullptr; SetSystemRegionImpl() local
702 napi_value result = nullptr; SetSystemLocaleImpl() local
743 napi_value result = nullptr; Set24HourClockImpl() local
791 napi_value result = nullptr; AddPreferredLanguageImpl() local
843 napi_value result = nullptr; RemovePreferredLanguageImpl() local
[all...]

Completed in 37 milliseconds

1...<<121122123124125126127128129130>>...1037