Home
last modified time | relevance | path

Searched refs:std (Results 19726 - 19750 of 66488) sorted by relevance

1...<<781782783784785786787788789790>>...2660

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DProgramGL.cpp37 const std::shared_ptr<RendererGL> &renderer) in ProgramGL()
59 std::unique_ptr<LinkEvent> ProgramGL::load(const gl::Context *context, in load()
78 return std::make_unique<LinkEventDone>(angle::Result::Incomplete); in load()
84 return std::make_unique<LinkEventDone>(angle::Result::Continue); in load()
92 std::vector<uint8_t> binary(std::max(binaryLength, 1)); in save()
133 using LinkImplFunctor = std::function<bool(std::string &)>;
147 const std::string &getInfoLog() { return mInfoLog; } in getInfoLog()
152 std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp42 class RuntimeDyldErrorCategory : public std::error_category {
46 std::string message(int Condition) const override {
64 std::error_code RuntimeDyldError::convertToErrorCode() const { in convertToErrorCode()
65 return std::error_code(GenericRTDyldError, *RTDyldErrorCategory); in convertToErrorCode()
124 std::lock_guard<sys::Mutex> locked(lock); in resolveRelocations()
133 ErrorStr = toString(std::move(Err)); in resolveRelocations()
160 std::lock_guard<sys::Mutex> locked(lock); in mapSectionAddress()
181 std::lock_guard<sys::Mutex> locked(lock); in loadObjectImpl()
197 return std::move(Err); in loadObjectImpl()
228 ResponsibilitySet = std in loadObjectImpl()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DWindowsResource.cpp59 Expected<std::unique_ptr<WindowsResource>>
65 std::unique_ptr<WindowsResource> Ret(new WindowsResource(Source)); in createWindowsResource()
66 return std::move(Ret); in createWindowsResource()
84 return std::move(E); in create()
170 static bool convertUTF16LEToUTF8String(ArrayRef<UTF16> Src, std::string &Out) { in convertUTF16LEToUTF8String()
174 std::vector<UTF16> EndianCorrectedSrc; in convertUTF16LEToUTF8String()
181 static std::string makeDuplicateResourceError( in makeDuplicateResourceError()
183 std::string Ret; in makeDuplicateResourceError()
190 std::string UTF8; in makeDuplicateResourceError()
199 std in makeDuplicateResourceError()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp202 std::function<AssumptionCache &(Function &)> *GetAC, in PartialInlinerImpl()
204 std::function<TargetTransformInfo &(Function &)> *GTTI, in PartialInlinerImpl()
218 std::pair<bool, Function *> unswitchFunction(Function *F);
253 typedef std::pair<Function *, BasicBlock *> FuncBodyCallerPair;
263 std::unique_ptr<FunctionOutliningInfo> ClonedOI = nullptr;
265 std::unique_ptr<FunctionOutliningMultiRegionInfo> ClonedOMRI = nullptr;
266 std::unique_ptr<BlockFrequencyInfo> ClonedFuncBFI = nullptr;
273 std::function<AssumptionCache &(Function &)> *GetAssumptionCache;
275 std::function<TargetTransformInfo &(Function &)> *GetTTI;
322 std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineInterfaceMatchingTests.cpp130 bool isPipelineOneOf(PipelineType pipelineType, std::set<PipelineType> pipelines) in isPipelineOneOf()
304 const std::vector<VkViewport> viewports { makeViewport(renderSize) }; in iterate()
305 const std::vector<VkRect2D> scissors { makeRect2D(renderSize) }; in iterate()
330 std::vector<float> vertices in iterate()
426 std::string glslType;
429 std::string components[4];
434 std::string namePart;
435 std::string glslDecoration;
436 std::string glslComponent;
447 typedef std
[all...]
/base/accesscontrol/sandbox_manager/services/sandbox_manager/test/unittest/
H A Dpolicy_info_manager_test.cpp82 std::vector<GenericValues> dbResult; in PrintDbRecords()
90 std::string path; in PrintDbRecords()
116 std::vector<PolicyInfo> policy; in HWTEST_F()
122 std::vector<uint32_t> setResult; in HWTEST_F()
127 std::vector<uint32_t> result11; in HWTEST_F()
136 std::vector<uint32_t> result12; in HWTEST_F()
145 std::vector<uint32_t> result13; in HWTEST_F()
168 std::vector<PolicyInfo> policy; in HWTEST_F()
174 std::vector<uint32_t> result11; in HWTEST_F()
182 std in HWTEST_F()
[all...]
/base/account/os_account/services/accountmgr/test/unittest/account_iam/
H A Daccount_iam_service_test.cpp57 void OnCredentialInfo(const std::vector<CredentialInfo> &infoList)override
115 accountIAMService_ = new (std::nothrow) AccountIAMService(); in SetUp()
130 std::vector<uint8_t> challenge; in HWTEST_F()
146 std::vector<uint8_t> challenge; in HWTEST_F()
187 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); in HWTEST_F()
202 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); in HWTEST_F()
217 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); in HWTEST_F()
232 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); in HWTEST_F()
247 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); in HWTEST_F()
273 std in HWTEST_F()
[all...]
/base/print/print_fwk/services/scan_service/src/
H A Dscan_service_stub.cpp81 std::lock_guard<std::mutex> autoLock(lock_); in OnInitScan()
107 std::lock_guard<std::mutex> autoLock(lock_); in OnExitScan()
141 std::string scannerId = data.ReadString(); in OnOpenScanner()
151 std::string scannerId = data.ReadString(); in OnCloseScanner()
161 std::string scannerId = data.ReadString(); in OnGetScanOptionDesc()
176 std::string scannerId = data.ReadString(); in OnOpScanOptionValue()
198 std::string scannerId = data.ReadString(); in OnGetScanParameters()
212 std in OnStartScan()
[all...]
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_manager_test.cpp30 const std::string PRINTER_TEST_IP = "192.168.2.222";
57 std::string vendorName = "test.vendor"; in HWTEST_F()
58 std::string printerId = "test.printer.id"; in HWTEST_F()
59 std::string globalVendorName = VendorManager::GetGlobalVendorName(vendorName); in HWTEST_F()
60 std::string globalPrinterId = VendorManager::GetGlobalPrinterId(globalVendorName, printerId); in HWTEST_F()
118 auto vendorIppEverywhere = std::make_shared<VendorIppEveryWhere>(); in HWTEST_F()
122 std::string vendorName = vendorIppEverywhere->GetVendorName(); in HWTEST_F()
123 std::string globalVendorName = VendorManager::GetGlobalVendorName(vendorName); in HWTEST_F()
124 std::string printerId = PRINTER_TEST_IP; in HWTEST_F()
125 std in HWTEST_F()
[all...]
/base/msdp/device_status/intention/frameworks/client/src/
H A Dintention_manager.cpp33 const std::string SCREEN_ROTATION { "1" };
38 tunnel_ = std::make_shared<TunnelClient>(); in IntentionManager()
50 std::lock_guard<std::mutex> guard(mutex_); in InitClient()
54 client_ = std::make_unique<SocketClient>(tunnel_); in InitClient()
70 std::map<MessageId, std::function<int32_t(const StreamClient&, NetPacket&)>> funs { in InitMsgHandler()
130 std::shared_ptr<ICoordinationListener> listener, bool isCompatible) in RegisterCoordinationListener()
145 std::shared_ptr<ICoordinationListener> listener, bool isCompatible) in UnregisterCoordinationListener()
186 int32_t IntentionManager::ActivateCoordination(const std
[all...]
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Ddlp_callback_test.cpp35 static const std::string DLP_MANAGER_APP = "com.ohos.dlpmanager";
36 static const std::string URI = "test";
64 sptr<DlpTestRemoteObj> callback = new (std::nothrow)IRemoteStub<DlpTestRemoteObj>(); in HWTEST_F()
67 auto proxy = std::make_shared<DlpSandboxChangeCallbackProxy>(callback->AsObject()); in HWTEST_F()
92 sptr<DlpSandboxChangeCallbackTest> callback = new (std::nothrow) DlpSandboxChangeCallbackTest(); in HWTEST_F()
100 insert(std::pair<int32_t, DlpSandboxChangeCallbackRecord>(index, recordInstance)); in HWTEST_F()
142 sptr<DlpTestRemoteObj> callback = new (std::nothrow)IRemoteStub<DlpTestRemoteObj>(); in HWTEST_F()
145 auto proxy = std::make_shared<OpenDlpFileCallbackProxy>(callback->AsObject()); in HWTEST_F()
174 sptr<TestOpenDlpFileCallback> callback = new (std::nothrow) TestOpenDlpFileCallback(); in HWTEST_F()
198 sptr<TestOpenDlpFileCallback> callback = new (std in HWTEST_F()
[all...]
/base/security/security_guard/test/fuzztest/data_collect/datacollect_fuzzer/
H A Ddata_collect_fuzzer.cpp54 int Dump(int fd, const std::vector<std::u16string> &args) { return 0; }; in Dump()
65 std::string string(reinterpret_cast<const char*>(data + offset), size - offset); in AcquireDataSubscribeManagerFuzzTest()
68 sptr<IRemoteObject> obj(new (std::nothrow) MockRemoteObject()); in AcquireDataSubscribeManagerFuzzTest()
86 std::string string(reinterpret_cast<const char*>(data + offset), size - offset); in AcquireDataCallbackProxyFuzzTest()
88 sptr<IRemoteObject> obj(new (std::nothrow) MockRemoteObject()); in AcquireDataCallbackProxyFuzzTest()
102 std::string string(reinterpret_cast<const char*>(data + offset), size - offset); in DataCollectManagerCallbackProxyFuzzTest()
103 sptr<IRemoteObject> obj(new (std::nothrow) MockRemoteObject()); in DataCollectManagerCallbackProxyFuzzTest()
119 std::string string(reinterpret_cast<const char*>(data + offset), size - offset); in DataCollectManagerServiceFuzzTest()
120 std in DataCollectManagerServiceFuzzTest()
[all...]
/base/telephony/core_service/services/sim/src/
H A Dmulti_sim_monitor.cpp35 MultiSimMonitor::MultiSimMonitor(const std::shared_ptr<MultiSimController> &controller, in MultiSimMonitor()
36 std::vector<std::shared_ptr<Telephony::SimStateManager>> simStateManager, in MultiSimMonitor()
37 std::vector<std::weak_ptr<Telephony::SimFileManager>> simFileManager) in MultiSimMonitor()
42 observerHandler_ = std::make_unique<ObserverHandler>(); in MultiSimMonitor()
61 void MultiSimMonitor::AddExtraManagers(std::shared_ptr<Telephony::SimStateManager> simStateManager, in AddExtraManagers()
62 std::shared_ptr<Telephony::SimFileManager> simFileManager) in AddExtraManagers()
138 std::lock_guard<std in CheckUpdateOpcVersion()
[all...]
/base/update/updater/test/unittest/service_test/
H A Dupdater_service_unittest.cpp32 using namespace std;
54 std::string path = "/data/test/test/test"; in HWTEST_F()
71 std::string sdcardStr = ""; in HWTEST_F()
101 ASSERT_NE(mode, std::nullopt); in HWTEST_F()
105 ASSERT_NE(mode, std::nullopt); in HWTEST_F()
109 EXPECT_EQ(mode, std::nullopt); in HWTEST_F()
115 std::string commandMsg = ""; in HWTEST_F()
116 std::string updateMsg = ""; in HWTEST_F()
117 const std::string commandFile = "/data/updater/command"; in HWTEST_F()
118 auto fp = std in HWTEST_F()
[all...]
/base/update/updater/test/unittest/package/
H A Dpackage_unittest.cpp30 using namespace std;
43 std::vector<ComponentInfoExt> compInfo; in TestInvalidCreatePackage()
57 std::string packagePath = TEST_PATH_TO + testPackageName; in TestInvalidCreatePackage()
98 std::string filePath; in TestPackagePack()
101 std::vector<ComponentInfoExt> comp(testFileNames_.size()); in TestPackagePack()
118 std::string packagePath = TEST_PATH_TO; in TestPackagePack()
138 std::vector<std::string> components; in TestPackageUnpack()
159 std::vector<std in TestZipPkgDecompress()
[all...]
/base/web/webview/ohos_adapter/sensor_adapter/src/
H A Dsensor_adapter_impl.cpp25 std::unordered_map<int32_t, std::shared_ptr<SensorCallbackImpl>> SensorAdapterImpl::sensorCallbackMap;
26 std::mutex SensorAdapterImpl::sensorCallbackMapMutex_;
34 const static std::map<int32_t, SensorTypeId> TO_OHOS_SENSOR_TYPE_MAP = { in SensorTypeToOhosSensorType()
51 std::string SensorTypeToSensorUserName(int sensorTypeId) in SensorTypeToSensorUserName()
53 const static std::map<int32_t, std::string> TO_OHOS_SENSOR_USER_NAME_MAP = { in SensorTypeToSensorUserName()
63 std::string userName = "OhosSensorService"; in SensorTypeToSensorUserName()
72 std::shared_ptr<SensorCallbackAdapter> callbackAdapter) in SensorCallbackImpl()
198 void SensorAdapterImpl::handleAccelerometerData(std
[all...]
/base/web/webview/test/unittest/ohos_adapter/sensor_adapter_impl_test/
H A Dsensor_adapter_impl_test.cpp28 std::shared_ptr<OHOS::NWeb::SensorCallbackImpl> g_sensoCallback;
29 std::shared_ptr<OHOS::NWeb::SensorAdapterImpl> g_sensorAdapter;
63 auto callbackAdapter = std::make_shared<SensorCallbackAdapterMock>(); in SetUp()
64 g_sensoCallback = std::make_shared<SensorCallbackImpl>(callbackAdapter); in SetUp()
79 g_sensorAdapter = std::make_shared<SensorAdapterImpl>(); in SetUp()
101 auto callbackAdapter = std::make_shared<SensorCallbackAdapterMock>(); in HWTEST_F()
228 auto callbackAdapter = std::make_shared<SensorCallbackAdapterMock>(); in HWTEST_F()
263 std::vector<std::shared_ptr<OHOS::NWeb::SensorCallbackImpl>> callback(9); in HWTEST_F()
265 auto callbackAdapter = std in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/src/
H A Dmock_bundle_manager.cpp30 std::string g_CurrentBundleName;
35 void MockSetCurrentBundleName(const std::string& bundleName) in MockSetCurrentBundleName()
43 std::vector<HqfInfo> hqfInfos; in ConstructHqfInfo()
63 std::vector<HapModuleInfo> hapModuleInfos; in ConstructHqfInfo()
105 bool BundleMgrProxy::QueryAbilityInfoByUri(const std::string& uri, AbilityInfo& abilityInfo) in QueryAbilityInfoByUri()
111 const std::string& appName, const ApplicationFlag flag, const int userId, ApplicationInfo& appInfo) in GetApplicationInfo()
121 std::string BundleMgrProxy::GetAppType(const std::string& bundleName) in GetAppType()
128 sptr<IOverlayManager> overlayModuleProxy = new (std::nothrow) OverlayManagerProxy(nullptr); in GetOverlayManagerProxy()
148 if (std in QueryAbilityInfo()
[all...]
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/cpp/
H A Dcpp_custom_types_code_emitter.cpp22 bool CppCustomTypesCodeEmitter::ResolveDirectory(const std::string &targetDirectory) in ResolveDirectory()
56 std::string filePath = in EmitPassthroughCustomTypesHeaderFile()
59 std::string marcoName = StringHelper::Format("%s.%s", ast_->GetPackageName().c_str(), baseName_.c_str()); in EmitPassthroughCustomTypesHeaderFile()
76 std::string data = sb.ToString(); in EmitPassthroughCustomTypesHeaderFile()
97 std::string filePath = in EmitCustomTypesHeaderFile()
100 std::string marcoName = StringHelper::Format("%s.%s", ast_->GetPackageName().c_str(), baseName_.c_str()); in EmitCustomTypesHeaderFile()
124 std::string data = sb.ToString(); in EmitCustomTypesHeaderFile()
183 std::string objName("dataBlock"); in EmitCustomTypeMarshallFuncDecl()
192 std::string filePath = in EmitCustomTypesSourceFile()
210 std in EmitCustomTypesSourceFile()
[all...]
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dnnrt_device_service.cpp34 return new (std::nothrow) NnrtDeviceService(); in NnrtDeviceImplGetInstance()
45 int32_t NnrtDeviceService::GetDeviceName(std::string& name) in GetDeviceName()
51 int32_t NnrtDeviceService::GetVendorName(std::string& name) in GetVendorName()
69 int32_t NnrtDeviceService::GetSupportedOperation(const Model& model, std::vector<bool>& ops) in GetSupportedOperation()
127 sptr<PreparedModelService> service = new (std::nothrow) PreparedModelService(context); in PrepareModel()
149 int32_t NnrtDeviceService::PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, in PrepareModelFromModelCache()
169 sptr<PreparedModelService> service = new (std::nothrow) PreparedModelService(context); in PrepareModelFromModelCache()
268 auto inputIt = std::find_if(model.inputIndex.begin(), model.inputIndex.end(), [tensorSize](size_t inputIndex) { in ValidateModel()
276 auto outputIt = std::find_if(model.outputIndex.begin(), model.outputIndex.end(), [tensorSize](size_t outputIndex) { in ValidateModel()
287 std
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_supply_callback.cpp41 std::mutex FormSupplyCallback::mutex_;
42 const std::string EMPTY_STATUS_DATA = "empty_status_data";
47 std::lock_guard<std::mutex> lock(mutex_); in GetInstance()
49 instance_ = new (std::nothrow) FormSupplyCallback(); in GetInstance()
89 std::string strFormId = want.GetStringParam(Constants::PARAM_FORM_IDENTITY_KEY); in OnAcquire()
94 int64_t formId = std::stoll(strFormId); in OnAcquire()
141 std::string supplyInfo = want.GetStringParam(Constants::FORM_SUPPLY_INFO); in OnEventHandle()
157 const std::string &provider, const Want &wantArg, const Want &want) in OnAcquireStateResult()
187 std in AddConnection()
[all...]
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/
H A Dprepared_model_service.cpp30 PreparedModelService::PreparedModelService(std::shared_ptr<mindspore::Context> context) in PreparedModelService()
50 int32_t PreparedModelService::ExportModelCache(std::vector<SharedBuffer>& modelCache) in ExportModelCache()
96 int32_t PreparedModelService::Run(const std::vector<IOTensor>& inputs, const std::vector<IOTensor>& outputs, in Run()
97 std::vector<std::vector<int32_t>>& outputsDims) in Run()
138 int32_t PreparedModelService::GetInputDimRanges(std::vector<std::vector<uint32_t>>& minInputDims, in GetInputDimRanges()
139 std::vector<std in GetInputDimRanges()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Duri_utils.cpp33 const std::string PARAMS_URI = "ability.verify.uri";
34 const std::string DISTRIBUTED_FILES_PATH = "/data/storage/el2/distributedfiles/";
51 std::vector<std::string> UriUtils::GetUriListFromWantDms(const Want &want) in GetUriListFromWantDms()
53 std::vector<std::string> uriVec = want.GetStringArrayParam(PARAMS_URI); in GetUriListFromWantDms()
59 std::vector<std::string> validUriVec; in GetUriListFromWantDms()
69 std::string srcPath = uri.GetPath(); in GetUriListFromWantDms()
70 if (std in GetUriListFromWantDms()
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_auto_startup_data_manager_test/
H A Dability_auto_startup_data_manager_test.cpp58 auto abilityMs = std::make_shared<AbilityAutoStartupDataManager>(); in HWTEST_F()
74 std::shared_ptr<DistributedKv::SingleKvStore> kvStorePtr = std::make_shared<MockSingleKvStore>(); in HWTEST_F()
155 std::shared_ptr<DistributedKv::SingleKvStore> kvStorePtr = std::make_shared<MockSingleKvStore>(); in HWTEST_F()
243 std::shared_ptr<DistributedKv::SingleKvStore> kvStorePtr = std::make_shared<MockSingleKvStore>(); in HWTEST_F()
323 std::shared_ptr<DistributedKv::SingleKvStore> kvStorePtr = std::make_shared<MockSingleKvStore>(); in HWTEST_F()
347 std in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dsheet_manager.cpp26 std::string GetTagFromRootNodeType(RootNodeType rootNodeType) in GetTagFromRootNodeType()
104 const RefPtr<NG::FrameNode>& sheetContentNode, std::function<void()>&& titleBuildFunc, NG::SheetStyle& sheetStyle, in OpenBindSheetByUIContext()
105 std::function<void()>&& onAppear, std::function<void()>&& onDisappear, std::function<void()>&& shouldDismiss, in OpenBindSheetByUIContext()
106 std::function<void(const int32_t info)>&& onWillDismiss, std::function<void()>&& onWillAppear, in OpenBindSheetByUIContext()
107 std::function<void()>&& onWillDisappear, std::function<void(const float)>&& onHeightDidChange, in OpenBindSheetByUIContext()
108 std in OpenBindSheetByUIContext()
[all...]

Completed in 44 milliseconds

1...<<781782783784785786787788789790>>...2660