Home
last modified time | relevance | path

Searched refs:obj2 (Results 1 - 16 of 16) sorted by relevance

/foundation/graphic/graphic_3d/lume/metaobject/test/src/base/
H A DRefUriTest.cpp368 Object obj2; in HWTEST_F() local
369 auto prop = CreateProperty<IObject::Ptr>("prop", obj2.GetIObject()); in HWTEST_F()
371 EXPECT_EQ(obj.GetInterface<IObjectInstance>()->Resolve(RefUri("ref:/$prop")), obj2.GetInterfacePtr<IObject>()); in HWTEST_F()
378 Object obj2; in HWTEST_F() local
379 obj.AddProperty(CreateProperty<IObject::Ptr>("prop", obj2.GetIObject())); in HWTEST_F()
380 obj2.AddProperty(CreateProperty<IObject::Ptr>("prop", nullptr)); in HWTEST_F()
382 obj2.GetInterfacePtr<IObjectInstance>()); in HWTEST_F()
387 Object obj2; in HWTEST_F() local
389 obj.AddProperty(CreateProperty<IObject::Ptr>("prop", obj2.GetIObject())); in HWTEST_F()
390 obj2 in HWTEST_F()
407 Object obj2; HWTEST_F() local
[all...]
/foundation/ai/intelligent_voice_framework/utils/
H A Dmessage_queue.cpp47 Message::Message(uint32_t what, std::shared_ptr<void> obj2) : what_(what), obj2_(obj2) in Message() argument
51 Message::Message(uint32_t what, std::shared_ptr<void> obj2, std::shared_ptr<void> obj3) in Message() argument
52 : what_(what), obj2_(obj2), obj3_(obj3) in Message()
H A Dmessage_queue.h39 Message(uint32_t what, std::shared_ptr<void> obj2);
40 Message(uint32_t what, std::shared_ptr<void> obj2, std::shared_ptr<void> obj3);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscommondef_fuzzer/
H A Drscommondef_fuzzer.cpp101 MemObject* obj2 = new (std::nothrow) MemObject(size1); in DoMemObject() local
102 if (obj2) { in DoMemObject()
103 delete obj2; in DoMemObject()
/foundation/ability/ability_base/interfaces/inner_api/base/src/
H A Dbase_object.cpp178 bool Object::Equals(IInterface &obj1, IInterface &obj2) in Equals() argument
180 if (IInterface::Query(&obj1) == IInterface::Query(&obj2)) { in Equals()
188 return o1->Equals(*(IObject::Query(obj2))); in Equals()
/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/common/
H A Dframe_record.h167 bool operator()(const sptr<FrameRecord>& obj1, const sptr<FrameRecord>& obj2) const in operator ()()
169 return obj1->GetFrameId() == obj2->GetFrameId(); in operator ()()
H A Daudio_record.h120 bool operator()(const sptr<AudioRecord>& obj1, const sptr<AudioRecord>& obj2) const in operator ()()
122 return obj1->GetFrameId() == obj2->GetFrameId(); in operator ()()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dudmf_client_test.cpp2318 auto obj2 = std::make_shared<Object>(); in HWTEST_F() local
2319 obj2->value_["detail1"] = "detail1"; in HWTEST_F()
2320 obj2->value_["detail2"] = "detail2"; in HWTEST_F()
2321 obj->value_["details"] = obj2; in HWTEST_F()
2349 obj2 = std::get<std::shared_ptr<Object>>(obj->value_["details"]); in HWTEST_F()
2351 ASSERT_NE(std::get_if<std::string>(&obj2->value_["detail1"]), nullptr); in HWTEST_F()
2352 ASSERT_EQ(std::get<std::string>(obj2->value_["detail1"]), "detail1"); in HWTEST_F()
2353 ASSERT_NE(std::get_if<std::string>(&obj2->value_["detail2"]), nullptr); in HWTEST_F()
2354 ASSERT_EQ(std::get<std::string>(obj2->value_["detail2"]), "detail2"); in HWTEST_F()
2382 auto obj2 in HWTEST_F() local
2446 auto obj2 = std::make_shared<Object>(); HWTEST_F() local
2514 auto obj2 = std::make_shared<Object>(); HWTEST_F() local
[all...]
/foundation/ability/ability_base/interfaces/inner_api/base/include/
H A Dbase_obj.h87 IInterface &obj2); /* [in] */
/foundation/arkui/napi/test/unittest/
H A Dtest_sendable_napi.cpp1803 napi_value obj2; in HWTEST_F() local
1809 ASSERT_CHECK_CALL(napi_create_sendable_object_with_properties(env, 3, desc2, &obj2)); in HWTEST_F()
1811 ASSERT_CHECK_VALUE_TYPE(env, obj2, napi_object); in HWTEST_F()
1825 // get obj2.a == false in HWTEST_F()
1826 ASSERT_TRUE(checkPropertyEqualsTo(obj2, "a", val_false)); in HWTEST_F()
1827 // get obj2.b == false in HWTEST_F()
1828 ASSERT_TRUE(checkPropertyEqualsTo(obj2, "b", val_false)); in HWTEST_F()
1829 // set obj2.b = true (useless) in HWTEST_F()
1830 ASSERT_CHECK_CALL(napi_set_named_property(env, obj2, "b", val_true)); in HWTEST_F()
1831 // get obj2 in HWTEST_F()
1871 napi_value obj2; HWTEST_F() local
[all...]
H A Dtest_napi.cpp4126 napi_value obj2; in HWTEST_F() local
4132 ASSERT_CHECK_CALL(napi_create_object_with_properties(env, &obj2, 3, desc2)); in HWTEST_F()
4134 ASSERT_CHECK_VALUE_TYPE(env, obj2, napi_object); in HWTEST_F()
4148 // get obj2.a == false in HWTEST_F()
4149 ASSERT_TRUE(checkPropertyEqualsTo(obj2, "a", val_false)); in HWTEST_F()
4150 // get obj2.b == false in HWTEST_F()
4151 ASSERT_TRUE(checkPropertyEqualsTo(obj2, "b", val_false)); in HWTEST_F()
4152 // set obj2.b = true (useless) in HWTEST_F()
4153 ASSERT_CHECK_CALL(napi_set_named_property(env, obj2, "b", val_true)); in HWTEST_F()
4154 // get obj2 in HWTEST_F()
4186 napi_value obj2; HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_session_message_test.cpp308 JsonObj *obj2 = JSON_CreateObject(); in HWTEST_F() local
309 EXPECT_TRUE(obj2 != nullptr); in HWTEST_F()
310 JSON_AddInt32ToObject(obj2, EXCHANGE_ID_TYPE, EXCHANGE_NETWORKID); in HWTEST_F()
312 EXPECT_TRUE(SetExchangeIdTypeAndValue(obj2, &info) == SOFTBUS_OK); in HWTEST_F()
314 EXPECT_TRUE(SetExchangeIdTypeAndValue(obj2, &info) == SOFTBUS_OK); in HWTEST_F()
316 EXPECT_TRUE(SetExchangeIdTypeAndValue(obj2, &info) == SOFTBUS_OK); in HWTEST_F()
317 JSON_Delete(obj2); in HWTEST_F()
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/fuzztest/eglwrapperdisplay_fuzzer/
H A Deglwrapperdisplay_fuzzer.cpp89 EglWrapperObject *obj2 = new EglWrapperObject(disp4); in DoSomethingInterestingWithMyAPI() local
157 eglWrapperDisplay->RemoveObject(obj2); in DoSomethingInterestingWithMyAPI()
/foundation/distributeddatamgr/preferences/test/ndk/unittest/
H A Dpreferences_ndk_test.cpp629 double obj2 = 2.2; in HWTEST_F() local
630 void *context2 = &obj2; in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_query_sync_test.cpp1198 QuerySyncObject obj2(query2); in HWTEST_F()
1204 EXPECT_NE(obj1.GetIdentify(), obj2.GetIdentify()); in HWTEST_F()
1233 QuerySyncObject obj2; in HWTEST_F() local
1241 EXPECT_NE(obj1.GetIdentify(), obj2.GetIdentify()); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_overlay_test_ng.cpp1052 ResultObject obj2; in HWTEST_F() local
1053 obj2.type = SelectSpanType::TYPEIMAGE; in HWTEST_F()
1054 selection.selection_.resultObjects.push_front(obj2); in HWTEST_F()

Completed in 54 milliseconds