Home
last modified time | relevance | path

Searched full:foo* (Results 1476 - 1500 of 3720) sorted by relevance

1...<<51525354555657585960>>...149

/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/tests/cxx/
H A Dsamgr_rust_test_mem.cpp28 Foo::~Foo() in ~Foo()
33 Keeper::Keeper(sptr<Foo> inner) : inner_(inner) in Keeper()
37 std::unique_ptr<sptr<Foo>> GetUniqueSptr() in GetUniqueSptr()
39 auto foo = sptr<Foo>::MakeSptr(); in GetUniqueSptr() local
40 return std::make_unique<sptr<Foo>>(std::move(foo)); in GetUniqueSptr()
43 std::unique_ptr<Keeper> KeepUniqueSptr(std::unique_ptr<sptr<Foo>> foo) in KeepUniqueSptr() argument
[all...]
/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/tests/include/
H A Dsamgr_rust_test_mem.h26 struct Foo : RefBase { struct
27 Foo() = default;
28 ~Foo();
32 typedef sptr<Foo> SptrFoo;
36 Keeper(sptr<Foo> inner);
38 sptr<Foo> inner_;
40 std::unique_ptr<sptr<Foo>> GetUniqueSptr();
41 std::unique_ptr<Keeper> KeepUniqueSptr(std::unique_ptr<SptrFoo> foo);
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_csync.cpp1019 class foo { class
1049 foo f; in HWTEST_F()
1059 std::thread t5(&foo::bar, &f); // t5 runs foo::bar() on object f in HWTEST_F()
1075 foo f; in HWTEST_F()
1085 ffrt::thread t5(&foo::bar, &f); // t5 runs foo::bar() on object f in HWTEST_F()
/foundation/communication/dsoftbus/tests/sdk/frame/fuzztest/softbusclientstub_fuzzer/
H A Dsoftbusclientstub_fuzzer.cpp26 constexpr size_t FOO_MAX_LEN = 1024; member
644 if (data == nullptr || size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
/foundation/communication/ipc/ipc/test/moduletest/native/common/
H A Dipc_core_module_test.cpp31 #include "foo_service.h"
326 sptr<IFoo> fooService = testService->TestGetFooService(); in HWTEST_F() local
327 EXPECT_TRUE(fooService != nullptr); in HWTEST_F()
329 std::string fooName = fooService->GetFooName(); in HWTEST_F() local
330 EXPECT_EQ(fooName, "ReallFoo"); in HWTEST_F()
775 sptr<FooStub> fooCallback = new FooStub(); in HWTEST_F() local
776 srcParcel.WriteRemoteObject(fooCallback in HWTEST_F()
859 sptr<FooStub> fooCallback = new FooStub(); HWTEST_F() local
[all...]
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_capi_remote_object_unittest.cpp222 auto *fooProxy = OH_IPCParcel_ReadRemoteProxy(replyParcel); in HWTEST_F() local
223 EXPECT_NE(fooProxy, nullptr); in HWTEST_F()
226 OH_IPCRemoteProxy_Destroy(fooProxy); in HWTEST_F()
/foundation/communication/ipc/services/dbinder/test/moduletest/src/
H A Drpc_client_test.cpp73 std::string fooName = g_rpcTestProxy->TestGetFooName(); in HWTEST_F() local
75 ASSERT_TRUE(fooName == selfFooName) << "fooName: " << fooName << " fooName_: " << selfFooName; in HWTEST_F()
H A Drpc_test.cpp24 return fooName_; in GetFooName()
/foundation/communication/ipc/services/dbinder/test/moduletest/include/
H A Drpc_test.h30 enum FooInterFaceId { enum in OHOS::IRpcFooTest
46 std::string fooName_ = "IRpcFooTest"; member in OHOS::IRpcFooTest
/foundation/communication/ipc/ipc/test/auxiliary/native/
H A DBUILD.gn24 "./src/foo_service.cpp",
107 "./src/foo_service.cpp",
/foundation/communication/ipc/ipc/test/auxiliary/native/include/
H A Dtest_service_skeleton.h24 #include "foo_service.h"
H A Dfoo_service.h31 enum FooInterFaceId { enum in OHOS::IFoo
43 class FooStub : public IRemoteStub<IFoo> { class
45 virtual ~FooStub();
61 static constexpr HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_ID_TEST, "FooStub" };
64 class FooProxy : public IRemoteProxy<IFoo> { class
66 explicit FooProxy(const sptr<IRemoteObject> &impl);
67 ~FooProxy() = default;
72 static constexpr HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_ID_TEST, "FooProxy" };
73 static inline BrokerDelegator<FooProxy> delegator_;
/foundation/communication/ipc/interfaces/innerkits/rust/src/parcel/
H A Dmsg.rs93 /// struct Foo {
97 /// impl Serialize for Foo {
104 /// msg.write(&Foo { a: 1 }).unwrap();
120 /// struct Foo {
123 /// impl Serialize for Foo {
128 /// impl Deserialize for Foo {
130 /// Ok(Foo { a: parcel.read()? })
134 /// msg.write(&Foo { a: 1 }).unwrap();
135 /// let foo = msg.read::<Foo>()
[all...]
H A Dexts.rs25 /// struct Foo {
30 /// impl Serialize for Foo {
52 /// struct Foo {
57 /// impl Deserialize for Foo {
/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dtest_service_skeleton.cpp185 sptr<FooStub> fooCallback = new FooStub(); in TestAsyncCallbackTrans() local
186 dataParcel.WriteRemoteObject(fooCallback->AsObject()); in TestAsyncCallbackTrans()
188 reply = fooCallback->WaitForAsyncReply(timeout); in TestAsyncCallbackTrans()
190 FooStub::CleanDecTimes(); in TestAsyncCallbackTrans()
191 fooCallback = nullptr; in TestAsyncCallbackTrans()
192 if (FooStub::GetDecTimes() != 1) { in TestAsyncCallbackTrans()
232 ZLOGE(LABEL, "null foo service"); in TestGetFooService()
738 sptr<IFoo> foo in TestNestingSend() local
768 sptr<IFoo> fooProxy = iface_cast<IFoo>(data.ReadRemoteObject()); ServerAsyncTransaction() local
790 sptr<IFoo> fooService = TestGetFooService(); ServerGetFooService() local
856 sptr<IFoo> foo = iface_cast<IFoo>(object); ServerNestingSend() local
[all...]
H A Dtest_service.cpp137 return new FooStub(); in TestGetFooService()
H A Dtest_service_client.cpp92 sptr<IFoo> foo = testService_->TestGetFooService(); in StartGetFooService() local
93 if (foo == nullptr) { in StartGetFooService()
94 ZLOGD(LABEL, "Fail to get foo service"); in StartGetFooService()
H A Dfoo_service.cpp16 #include "foo_service.h"
21 std::mutex FooStub::decTimeMutex_;
22 int FooStub::decTimes_ = 0;
24 int FooStub::OnRemoteRequest(uint32_t code, in OnRemoteRequest()
51 std::string FooStub::GetFooName() in GetFooName()
56 int FooStub::WaitForAsyncReply(int timeout) in WaitForAsyncReply()
66 void FooStub::SendAsyncReply(int &replyValue) in SendAsyncReply()
73 FooStub::~FooStub() in ~FooStub()
79 void FooStub
95 FooProxy::FooProxy(const sptr<IRemoteObject> &impl) FooProxy() function in OHOS::FooProxy
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v1_ext.cpp260 // fscrypt key dir is like `/data/foo/bar/el1/100` in GetUserIdFromDir()
282 // fscrypt key dir is like `/data/foo/bar/el1/100` in GetTypeFromDir()
/foundation/filemanagement/app_file_service/test/fuzztest/backupsa_fuzzer/
H A Dbackupsa_fuzzer.cpp34 constexpr size_t FOO_MAX_LEN = 1024; member
73 if (dataSize < OHOS::U32_AT_SIZE || dataSize > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
/foundation/filemanagement/app_file_service/test/fuzztest/servicereverse_fuzzer/
H A Dservicereverse_fuzzer.cpp37 constexpr size_t FOO_MAX_LEN = 1024; member
154 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
/foundation/filemanagement/app_file_service/test/unittest/file_share_ndk_test/file_share_permission_test/
H A Dfile_share_permission_test.cpp939 for (int32_t i = 0; i <= FOO_MAX_LEN + 1; i++) { in HWTEST_F()
1041 std::vector<bool> errorResults(FOO_MAX_LEN + 1, true); in HWTEST_F()
/foundation/filemanagement/dfs_service/test/fuzztest/clouddaemonstub_fuzzer/
H A Dclouddaemonstub_fuzzer.cpp30 constexpr size_t FOO_MAX_LEN = 1024; member
80 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
/foundation/filemanagement/dfs_service/test/fuzztest/daemonstub_fuzzer/
H A Ddaemonstub_fuzzer.cpp48 constexpr size_t FOO_MAX_LEN = 1024; member
330 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
/foundation/filemanagement/dfs_service/test/fuzztest/filetranslistenerstub_fuzzer/
H A Dfiletranslistenerstub_fuzzer.cpp28 constexpr size_t FOO_MAX_LEN = 1024; member
97 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()

Completed in 18 milliseconds

1...<<51525354555657585960>>...149