Home
last modified time | relevance | path

Searched refs:std (Results 21901 - 21925 of 56343) sorted by relevance

1...<<871872873874875876877878879880>>...2254

/third_party/spirv-tools/test/fuzz/
H A Dtransformation_add_copy_memory_test.cpp27 std::string shader = R"( in TEST()
30 %1 = OpExtInstImport "GLSL.std.450" in TEST()
230 std::vector<uint32_t> source_ids = {19, 23, 26, 30, 35, 39, 68, 86}; in TEST()
231 std::vector<uint32_t> initializers = {20, 24, 25, 25, 36, 84, 85, 20}; in TEST()
232 std::vector<spv::StorageClass> storage_classes = { in TEST()
250 std::string expected = R"( in TEST()
253 %1 = OpExtInstImport "GLSL.std.450" in TEST()
384 std::string shader = R"( in TEST()
386 %1 = OpExtInstImport "GLSL.std.450" in TEST()
430 std in TEST()
[all...]
H A Dtransformation_replace_params_with_struct_test.cpp26 std::string shader = R"( in TEST()
28 %1 = OpExtInstImport "GLSL.std.450" in TEST()
241 std::string expected_shader = R"( in TEST()
243 %1 = OpExtInstImport "GLSL.std.450" in TEST()
344 std::string shader = R"( in TEST()
346 %1 = OpExtInstImport "GLSL.std.450" in TEST()
398 std::string after_transformation = R"( in TEST()
400 %1 = OpExtInstImport "GLSL.std.450" in TEST()
449 %1 = OpExtInstImport "GLSL.std.450" in TEST()
487 std in TEST()
[all...]
/third_party/spirv-tools/test/opt/
H A Dpass_manager_test.cpp37 NullPassWithArgs(std::string) {} in NullPassWithArgs()
38 NullPassWithArgs(const std::vector<int>&) {} in NullPassWithArgs() argument
39 NullPassWithArgs(const std::vector<int>&, uint32_t) {} in NullPassWithArgs() argument
65 manager.AddPass<NullPassWithArgs>(std::initializer_list<int>{1, 2}); in TEST()
66 manager.AddPass<NullPassWithArgs>(std::initializer_list<int>{1, 2}, 3); in TEST()
111 context()->AddDebug1Inst(std::move(inst));
119 const std::string text = "OpMemoryModel Logical GLSL450\nOpSource ESSL 310\n"; in TEST_F()
148 result_id_, std::vector<Operand>{});
149 context()->AddType(std::move(inst));
159 std in TEST()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dgesture_event_hub.cpp57 std::list<RefPtr<NGGestureRecognizer>> innerRecognizers; in ProcessTouchTestHit()
69 innerRecognizers.push_back(std::move(recognizer)); in ProcessTouchTestHit()
143 std::list<RefPtr<NGGestureRecognizer>> longPressRecognizers; in ProcessDragEventTouchTestHit()
160 nodeParallelRecognizer_ = MakeRefPtr<ParallelRecognizer>(std::move(longPressRecognizers)); in ProcessDragEventTouchTestHit()
180 const Offset& offset, std::list<RefPtr<NGGestureRecognizer>>& innerRecognizers, int32_t touchId, in PackInnerRecognizer()
189 innerExclusiveRecognizer_ = AceType::MakeRefPtr<ExclusiveRecognizer>(std::move(innerRecognizers)); in PackInnerRecognizer()
206 std::list<RefPtr<NGGestureRecognizer>>& recognizers, int32_t& parallelIndex) in ProcessParallelPriorityGesture()
213 externalParallelRecognizer_.emplace_back(AceType::MakeRefPtr<ParallelRecognizer>(std::move(recognizers))); in ProcessParallelPriorityGesture()
234 RefPtr<NGGestureRecognizer>& current, std::list<RefPtr<NGGestureRecognizer>>& recognizers, int32_t& exclusiveIndex) in ProcessExternalExclusiveRecognizer()
246 externalExclusiveRecognizer_.emplace_back(AceType::MakeRefPtr<ExclusiveRecognizer>(std in ProcessExternalExclusiveRecognizer()
[all...]
/foundation/arkui/ace_engine/frameworks/component_test/core/
H A Dcomponent_test_component_impl.cpp123 void ComponentTestComponentImpl::InputTextImpl(std::string text, ErrInfo& errInfo) const in InputTextImpl()
135 std::string currentText = GetTextImpl(errInfo); in InputTextImpl()
148 std::vector<OHOS::MMI::KeyCode> keyCodes; in ClearTextImpl()
149 std::string buff = GetTextImpl(errInfo); in ClearTextImpl()
182 uint32_t speed, bool toTop, std::function<void(ErrInfo errInfo)>&& callback) const in ScrollToBorderAsync()
216 [this, speed, toTop, passedCallback = std::move(callback)](void* data) { in ScrollToBorderAsync()
224 uint32_t speed, std::function<void(ErrInfo errInfo)>&& callback) const in ScrollToTopImplAsync()
226 ScrollToBorderAsync(speed, true, std::move(callback)); in ScrollToTopImplAsync()
230 uint32_t speed, std::function<void(ErrInfo errInfo)>&& callback) const in ScrollToBottomImplAsync()
232 ScrollToBorderAsync(speed, false, std in ScrollToBottomImplAsync()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_cursor_test.cpp68 std::string text = "openharmony@harmony.com+* ()0123456789"; in HWTEST_F()
69 std::vector<TestItem<TextInputType, int32_t>> testItems; in HWTEST_F()
133 std::string text = "abcdefghABCDEFG0123456789"; in HWTEST_F()
134 std::vector<TestItem<std::string, int32_t>> testItems; in HWTEST_F()
232 pattern_->UpdateEditingValue(std::make_shared<TextEditingValue>(value)); in HWTEST_F()
325 EXPECT_EQ(pattern_->GetCaretIndex(), 5) << "Caret position is " + std::to_string(pattern_->GetCaretIndex()); in HWTEST_F()
385 << "Second index is " + std::to_string(pattern_->selectController_->GetSecondHandleInfo().index); in HWTEST_F()
399 std::vector<std in HWTEST_F()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/offload/
H A Doffload_audio_renderer_sink.cpp40 using namespace std;
105 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override;
107 void SetAudioParameter(const AudioParamKey key, const std::string& condition, const std::string& value) override;
108 std::string GetAudioParameter(const AudioParamKey key, const std::string& condition) override;
118 int32_t SetOutputRoutes(std::vector<DeviceType> &outputDevices) override;
126 int32_t UpdateAppsUid(const std::vector<int32_t> &appsUid) final;
140 std::mutex volumeMutex_;
144 std
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_thumbnail_service_test/src/
H A Dmedialibrary_thumbnail_service_test.cpp25 using namespace std;
271 std::shared_ptr<ThumbnailTaskData> data; in HWTEST_F()
276 std::shared_ptr<ThumbnailTaskData> dataValue = std::make_shared<ThumbnailTaskData>(opts, thumbData, requestId); in HWTEST_F()
283 std::shared_ptr<ThumbnailTaskData> data; in HWTEST_F()
288 std::shared_ptr<ThumbnailTaskData> dataValue = std::make_shared<ThumbnailTaskData>(opts, thumbData, requestId); in HWTEST_F()
295 std::shared_ptr<ThumbnailTaskData> data; in HWTEST_F()
300 std::shared_ptr<ThumbnailTaskData> dataValue = std in HWTEST_F()
[all...]
/foundation/multimedia/player_framework/frameworks/native/transcoder/test/unittest/src/
H A Dtranscoder_unit_test.cpp28 using namespace std;
35 const std::string HEVC_LIB_PATH = std::string(AV_CODEC_PATH) + "/libav_codec_hevc_parser.z.so";
36 const std::string VPE_LIB_PATH = std::string(AV_CODEC_PATH) + "/libvideoprocessingengine.z.so";
44 transcoder_ = std::make_shared<TranscoderMock>(); in SetUp()
72 std::shared_ptr<TransCoderCallbackTest> cb = std::make_shared<TransCoderCallbackTest>(); in HWTEST_F()
105 std::shared_ptr<TransCoderCallbackTest> cb = std in HWTEST_F()
[all...]
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_mgr_new_test.cpp40 using namespace std;
51 bool GetBoolParameter(const std::string &key, bool def) in GetBoolParameter()
56 std::string GetParameter(const std::string &key, const std::string &def) in GetParameter()
61 bool SetParameter(const std::string &key, const std::string &value) in SetParameter()
99 std::vector<std::string> extensionVec = { "backup_test", "restore_test", "alpha", "beta" }; in SaProfileExtensionTestPrevSet()
130 std in ProcMapObjTestPrevSet()
[all...]
/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dtest_service_skeleton.cpp89 std::string value = "testData"; in TestEnableSerialInvokeFlag()
94 std::string reply = replyParcel.ReadString(); in TestEnableSerialInvokeFlag()
143 std::thread t([&proxyObject, &data, &reply] { in TestMultiThreadSendRequest()
159 std::cout << "Thead: " << i << std::endl; in TestMultiThreadSendRequest()
198 int TestServiceProxy::TestZtraceTransaction(std::string &send, std::string &reply, int len) in TestZtraceTransaction()
212 int TestServiceProxy::TestPingService(const std::u16string &serviceName) in TestPingService()
249 int TestServiceProxy::TestStringTransaction(const std::string &data) in TestStringTransaction()
266 std in TestDumpService()
[all...]
/foundation/deviceprofile/device_info_manager/radar/src/
H A Ddp_radar_helper.cpp30 const std::string TAG = "DpRadarHelper";
254 void DpRadarHelper::ReportGetTrustProfile(int32_t errCode, const std::string& deviceId, in ReportGetTrustProfile()
298 void DpRadarHelper::ReportGetAllTrustProfile(int32_t errCode, std::vector<TrustDeviceProfile>& trustDeviceProfiles) in ReportGetAllTrustProfile()
303 std::string extraInfo = ""; in ReportGetAllTrustProfile()
349 void DpRadarHelper::ReportGetAclProfile(int32_t errCode, std::vector<AccessControlProfile>& accessControlProfiles) in ReportGetAclProfile()
354 std::string extraInfo = ""; in ReportGetAclProfile()
400 void DpRadarHelper::ReportGetAllAclProfile(int32_t errCode, std::vector<AccessControlProfile>& accessControlProfiles) in ReportGetAllAclProfile()
405 std::string extraInfo = ""; in ReportGetAllAclProfile()
533 void DpRadarHelper::ReportPutServiceProfileBatch(int32_t errCode, const std::vector<ServiceProfile>& serviceProfiles) in ReportPutServiceProfileBatch()
538 std in ReportPutServiceProfileBatch()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmTrinaryMinMaxTests.cpp129 return std::min({op1, op2, op3}); in min3()
135 return std::max({op1, op2, op3}); in max3()
141 std::array<T, 3> aux{{op1, op2, op3}}; in mid3()
142 std::sort(begin(aux), end(aux)); in mid3()
150 using OperationComponent = std::pair<deUint32, deUint32>;
250 std::array<int, 3> toArray () const in toArray()
252 return std::array<int, 3>{{static_cast<int>(type), static_cast<int>(size), static_cast<int>(operation)}}; in toArray()
257 using FuncPair = std::pair<GenerateCompFunc, OperationFunc>;
258 using CaseMap = std::map<Case, FuncPair>;
407 using ReplacementsMap = std
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
H A Dflag_test.cc45 ABSL_DECLARE_FLAG(std::vector<std::string>, mistyped_string_flag);
51 std::string TestHelpMsg() { return "dynamic help"; } in TestHelpMsg()
53 std::string TestLiteralHelpMsg() { return "literal help"; } in TestLiteralHelpMsg()
66 bool AbslParseFlag(absl::string_view, UDT*, std::string*) { return true; } in AbslParseFlag()
67 std::string AbslUnparseFlag(const UDT&) { return ""; } in AbslUnparseFlag()
79 static std::string NormalizeFileName(absl::string_view fname) { in NormalizeFileName()
81 std::string normalized(fname); in NormalizeFileName()
82 std::replace(normalized.begin(), normalized.end(), '\\', '/'); in NormalizeFileName()
85 return std in NormalizeFileName()
[all...]
/third_party/spirv-tools/test/
H A Doperand_capabilities_test.cpp37 inline std::ostream& operator<<(std::ostream& out, const CapabilitySet& cs) { in operator <<()
62 inline std::ostream& operator<<(std::ostream& out, in operator <<()
72 TestWithParam<std::tuple<spv_target_env, EnumCapabilityCase>>;
75 const auto env = std::get<0>(GetParam()); in TEST_P()
81 grammar.lookupOperand(std::get<1>(GetParam()).type, in TEST_P()
82 std::get<1>(GetParam()).value, &entry)); in TEST_P()
87 Eq(ElementsIn(std::get<1>(GetParam()).expected_capabilities))) in TEST_P()
88 << " enum value " << std in TEST_P()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassUnusedClearAttachmentTests.cpp64 std::string getFormatBriefName (VkFormat format) in getFormatBriefName()
77 std::string depthStencilTypeName (DepthStencilType type, VkFormat format) in depthStencilTypeName()
81 const std::string formatName = getFormatBriefName(format); in depthStencilTypeName()
125 std::vector<VkFormat> getFormats (DepthStencilType type) in getFormats()
129 std::vector<VkFormat> formats; in getFormats()
169 std::vector<deBool> colorUsed;
204 std::vector<Move<VkImage>> m_colorImages;
205 std::vector<de::MovePtr<Allocation>> m_colorImageAllocs;
206 std::vector<Move<VkImageView>> m_colorAttachmentViews;
228 const std in UnusedClearAttachmentTest()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
H A DvktRayQueryAccelerationStructuresTests.cpp175 virtual std::vector<de::SharedPtr<BottomLevelAccelerationStructure>> initBottomAccelerationStructures (Context& context,
179 std::vector<de::SharedPtr<BottomLevelAccelerationStructure> >& bottomLevelAccelerationStructures) = 0;
271 std::vector<de::SharedPtr<Move<VkShaderModule>>>& shaderModules, in registerShaderModule()
272 std::vector<VkPipelineShaderStageCreateInfo>& shaderCreateInfos, in registerShaderModule()
274 const std::string& externalNamePart, in registerShaderModule()
275 const std::string& internalNamePart) in registerShaderModule()
279 std::string fsn = fullShaderName; in registerShaderModule()
304 const std::string& externalNamePart, in registerShaderModule()
305 const std::string& internalNamePart, in registerShaderModule()
310 std in registerShaderModule()
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_notify_visible_forms_test/
H A Dfms_form_mgr_notify_visible_forms_test.cpp42 const std::string NON_SYSTEM_APP_BUNDLE_NAME = "com.form.host.app600";
43 const std::string FORM_PROVIDER_BUNDLE_NAME = "com.form.provider.service";
44 const std::string FORM_PROVIDER_ABILITY_NAME = "com.form.provider.app.test.ability";
45 const std::string PERMISSION_NAME_REQUIRE_FORM = "ohos.permission.REQUIRE_FORM";
46 const std::string DEF_LABEL1 = "PermissionFormRequireGrant";
60 std::shared_ptr<FormMgrService> formMgrService_;
75 token_ = new (std::nothrow) MockFormHostClient(); in SetUp()
103 std::vector<int64_t> formIds; in HWTEST_F()
141 std::vector<int64_t> formIds; in HWTEST_F()
176 std in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dbatchnorm_builder_test.cpp34 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type);
38 std::vector<uint32_t> m_inputs {0, 1, 2, 3, 4};
39 std::vector<uint32_t> m_outputs {5};
40 std::vector<uint32_t> m_params {6};
41 std::vector<int32_t> m_inputDim {2, 2};
42 std::vector<int32_t> m_outputDim {2, 2};
43 std::vector<int32_t> m_paramDim {};
51 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveParamsTensor()
53 std::shared_ptr<NNTensor> epsilonTensor = TransToNNTensor(dataType, dim, quantParam, type); in SaveParamsTensor()
54 float *epsilonValue = new (std in SaveParamsTensor()
[all...]
H A Dbroadcast_to_test.cpp34 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type);
38 std::vector<uint32_t> m_inputs {0};
39 std::vector<uint32_t> m_outputs {1};
40 std::vector<uint32_t> m_params {2};
41 std::vector<int32_t> m_inputDim {1, 3};
42 std::vector<int32_t> m_outputDim {2, 3};
43 std::vector<int32_t> m_paramDim {2};
51 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveParamsTensor()
53 std::shared_ptr<NNTensor> shapeTensor = TransToNNTensor(dataType, dim, quantParam, type); in SaveParamsTensor()
54 int64_t* shapeValue = new (std in SaveParamsTensor()
[all...]
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_supply_stub.cpp44 std::u16string descriptor = FormSupplyStub::GetDescriptor(); in OnRemoteRequest()
45 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
84 std::unique_ptr<Want> want(data.ReadParcelable<Want>()); in HandleOnAcquire()
98 std::unique_ptr<FormProviderInfo> formInfo(data.ReadParcelable<FormProviderInfo>()); in HandleOnAcquire()
123 std::unique_ptr<Want> want(data.ReadParcelable<Want>()); in HandleOnEventHandle()
144 std::string provider = data.ReadString(); in HandleOnAcquireStateResult()
145 std::unique_ptr<Want> wantArg(data.ReadParcelable<Want>()); in HandleOnAcquireStateResult()
152 std::unique_ptr<Want> want(data.ReadParcelable<Want>()); in HandleOnAcquireStateResult()
178 std::shared_ptr<AAFwk::WantParams> wantParams(data.ReadParcelable<AAFwk::WantParams>()); in HandleOnShareAcquire()
197 std in HandleOnAcquireDataResult()
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/
H A Dtcp_connection.cpp36 int TcpConnection::StartConnection(const ChannelRequest &request, std::shared_ptr<IChannelListener> channelListener) in StartConnection()
44 std::thread(&TcpConnection::Connect, shared_from_this()).detach(); in StartConnection()
54 std::shared_ptr<ConnectionListener> listener = listener_; in Connect()
74 int TcpConnection::StartListen(const ChannelRequest &request, std::shared_ptr<IChannelListener> channelListener) in StartListen()
86 std::thread(&TcpConnection::AcceptVideoAndAudio, shared_from_this()).detach(); in StartListen()
88 std::thread(&TcpConnection::Accept, shared_from_this()).detach(); in StartListen()
114 std::shared_ptr<ConnectionListener> listener = listener_; in Accept()
136 std::lock_guard<std::mutex> lg(connectionMtx_); in Accept()
162 tcpAudioConn_ = std in SetAudioConnection()
[all...]
/foundation/ability/ability_runtime/js_environment/test/unittest/uncaught_exception_callback_test/
H A Duncaught_exception_callback_test.cpp65 auto task = [](std::string summary, const JsEnv::ErrorObject errorObj) { in HWTEST_F()
78 std::string errorMsg = "This is an error message."; in HWTEST_F()
79 std::string errorName = "TypeError"; in HWTEST_F()
80 std::string errorStack = "TypeError: This is a stack trace."; in HWTEST_F()
113 auto task = [](std::string summary, const JsEnv::ErrorObject errorObj) { in HWTEST_F()
142 auto task = [](std::string summary, const JsEnv::ErrorObject errorObj) { in HWTEST_F()
154 std::string errorCode = "This is an error code."; in HWTEST_F()
182 std::string errorCode = "This is an error code."; in HWTEST_F()
183 std::string errorStack = "TypeError: This is a stack trace."; in HWTEST_F()
190 auto task = [](std in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/moduletest/appexecfwk_appkit_native_app_module_test/
H A Dappexecfwk_appkit_native_app_module_test_fourth.cpp35 static void WaitUntilTaskCalled(const F& f, const std::shared_ptr<EventHandler>& handler, std::atomic<bool>& taskCalled) in WaitUntilTaskCalled()
52 static void WaitUntilTaskDone(const std::shared_ptr<EventHandler>& handler) in WaitUntilTaskDone()
54 std::atomic<bool> taskCalled(false); in WaitUntilTaskDone()
67 std::shared_ptr<MockHandler> mockHandler_ = nullptr;
68 std::shared_ptr<EventRunner> runner_ = nullptr;
84 AppMgrObject_ = new (std::nothrow) MockAppMgrService(); in SetUp()
88 mockHandler_ = std::make_shared<MockHandler>(runner_); in SetUp()
140 sptr<IRemoteObject> token = new (std::nothrow) MockAbilityToken(); in HWTEST_F()
167 sptr<IRemoteObject> token = new (std in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/app_utils_test/
H A Dapp_utils_test.cpp56 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
76 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
96 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
116 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
136 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
156 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
176 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
196 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
216 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
236 std in HWTEST_F()
[all...]

Completed in 41 milliseconds

1...<<871872873874875876877878879880>>...2254