Home
last modified time | relevance | path

Searched refs:std (Results 13876 - 13900 of 36499) sorted by relevance

1...<<551552553554555556557558559560>>...1460

/third_party/spirv-tools/test/fuzz/
H A Dtransformation_add_dead_break_test.cpp47 std::string shader = R"( in TEST()
49 %1 = OpExtInstImport "GLSL.std.450" in TEST()
196 std::string after_transformation = R"( in TEST()
198 %1 = OpExtInstImport "GLSL.std.450" in TEST()
277 std::string shader = R"( in TEST()
279 %1 = OpExtInstImport "GLSL.std.450" in TEST()
501 std::string after_transformation = R"( in TEST()
503 %1 = OpExtInstImport "GLSL.std.450" in TEST()
628 std::string shader = R"( in TEST()
630 %1 = OpExtInstImport "GLSL.std in TEST()
[all...]
/base/useriam/user_auth_framework/test/unittest/services/src/
H A Duser_auth_service_test.cpp265 std::vector<Attributes::AttributeKey> testKeys = {Attributes::ATTR_PIN_SUB_TYPE, Attributes::ATTR_SIGNATURE}; in HWTEST_F()
266 sptr<MockGetExecutorPropertyCallback> testCallback(new (std::nothrow) MockGetExecutorPropertyCallback()); in HWTEST_F()
284 std::vector<Attributes::AttributeKey> testKeys = {Attributes::ATTR_PIN_SUB_TYPE, Attributes::ATTR_SIGNATURE}; in HWTEST_F()
294 [](int32_t userId, int32_t authType, std::vector<HdiCredentialInfo> &infos) { in HWTEST_F()
315 testCallback = sptr<MockGetExecutorPropertyCallback>(new (std::nothrow) MockGetExecutorPropertyCallback()); in HWTEST_F()
332 sptr<MockSetExecutorPropertyCallback> testCallback(new (std::nothrow) MockSetExecutorPropertyCallback()); in HWTEST_F()
360 testCallback = sptr<MockSetExecutorPropertyCallback>(new (std::nothrow) MockSetExecutorPropertyCallback()); in HWTEST_F()
375 std::vector<uint8_t> testChallenge = {1, 2, 3, 4}; in HWTEST_F()
378 sptr<MockUserAuthCallback> testCallback(new (std::nothrow) MockUserAuthCallback()); in HWTEST_F()
403 std in HWTEST_F()
[all...]
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp69 using WebPrintWriteResultCallback = std::function<void(std::string, uint32_t)>;
71 bool ParsePrepareUrl(napi_env env, napi_value urlObj, std::string& url) in ParsePrepareUrl()
83 if (!regex_match(url, std::regex(URL_REGEXPR, std::regex_constants::icase))) { in ParsePrepareUrl()
95 bool ParseIP(napi_env env, napi_value urlObj, std::string& ip) in ParseIP()
158 std::vector<bool> outValue; in SetArrayHandlerBoolean()
168 std::vector<std::string> outValue; in SetArrayHandlerString()
178 std in SetArrayHandlerInteger()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DTextureTest.cpp357 int testImageChannels = std::min(sourceImageChannels, destImageChannels); in testFloatCopySubImage()
384 void testUploadThenUseInDifferentStages(const std::vector<UploadThenUseStageParam> &uses);
489 size_t mipSize = std::max<size_t>(1u, mip0Size >> mip); in getMipDataSize()
533 std::fill(data + offset, data + offset + size, mipColors[mip]); in fillMipData()
555 std::array<GLColor, getTotalMipDataSize(kMip0Size)> mipData; in initTest()
678 void ppoDrawQuad(std::array<Vector3, 6> &quadVertices, in ppoDrawQuad()
679 const std::string &positionAttribName, in ppoDrawQuad()
1908 std::array<GLColor, kImageSize * kImageSize> kMipColors[2]; in TEST_P()
1910 std::fill(kMipColors[0].begin(), kMipColors[0].end(), GLColor::red); in TEST_P()
1911 std in TEST_P()
[all...]
/base/customization/enterprise_device_management/interfaces/kits/restrictions/src/
H A Drestrictions_addon.cpp27 std::unordered_map<std::string, uint32_t> RestrictionsAddon::labelCodeMap = {
45 std::vector<uint32_t> RestrictionsAddon::multiPermCodes = {
54 std::unordered_map<std::string, uint32_t> RestrictionsAddon::labelCodeMapForAccount = {
108 auto asyncCallbackInfo = new (std::nothrow) AsyncRestrictionsCallbackInfo(); in SetPolicyDisabled()
112 std::unique_ptr<AsyncRestrictionsCallbackInfo> callbackPtr{asyncCallbackInfo}; in SetPolicyDisabled()
141 std::string permissionTag = (std::find(multiPermCodes.begin(), multiPermCodes.end(), in NativeSetPolicyDisabled()
167 auto asyncCallbackInfo = new (std in IsPolicyDisabled()
[all...]
/drivers/peripheral/camera/test/hdi/v1_0/src/
H A Dhdi_stream_uttest.cpp18 using namespace std;
26 cameraTest = std::make_shared<OHOS::Camera::HdiCommon>(); in SetUp()
49 std::shared_ptr<CameraMetadata> modeSetting = std::make_shared<CameraMetadata>(2, 128); in HWTEST_F()
55 cameraTest->streamInfo = std::make_shared<StreamInfo>(); in HWTEST_F()
62 std::shared_ptr<OHOS::Camera::HdiCommon::StreamConsumer> consumer = in HWTEST_F()
63 std::make_shared<OHOS::Camera::HdiCommon::StreamConsumer>(); in HWTEST_F()
73 std::vector<StreamInfo> streams; in HWTEST_F()
75 std::vector<uint8_t> modeSettingVec; in HWTEST_F()
96 cameraTest->streamInfo = std in HWTEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyCFGStackify.cpp141 if (BeforeSet.count(&*std::prev(InsertPos))) { in getEarliestInsertPos()
145 assert(!AfterSet.count(&*std::prev(Pos))); in getEarliestInsertPos()
251 I = std::next(ScopeTop->getIterator()); in placeBlockMarker()
302 if (std::prev(I)->isDebugInstr() || std::prev(I)->isPosition()) in placeBlockMarker()
304 if (WebAssembly::isChild(*std::prev(I), MFI)) in placeBlockMarker()
305 AfterSet.insert(&*std::prev(I)); in placeBlockMarker()
322 if (std::strcmp(TagName, "__cpp_exception") != 0) in placeBlockMarker()
385 auto Iter = std::next(Bottom->getIterator()); in placeLoopMarker()
388 Iter = std in placeLoopMarker()
[all...]
/third_party/protobuf/src/google/protobuf/io/
H A Dcoded_stream_unittest.cc158 inline std::ostream& operator<<(std::ostream& os, const VarintCase& c) { in operator <<()
410 inline std::ostream& operator<<(std::ostream& os, const VarintErrorCase& c) { in operator <<()
492 inline std::ostream& operator<<(std::ostream& os, const VarintSizeCase& c) { in operator <<()
558 inline std::ostream& operator<<(std::ostream& os, const Fixed32Case& c) { in operator <<()
559 return os << "0x" << std::hex << c.value << std in operator <<()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/
H A Dconformance_archetype.h69 struct IsArchetype : std::false_type {};
72 struct IsArchetype<Archetype<Prof>> : std::true_type {};
79 using ArchetypeState = std::size_t;
430 std::is_same<T, Archetype<Prof>>::value) || in ShouldDeleteConstructor()
433 (std::is_same<T, const Archetype<Prof>&>::value || in ShouldDeleteConstructor()
434 std::is_same<T, Archetype<Prof>&>::value || in ShouldDeleteConstructor()
435 std::is_same<T, const Archetype<Prof>>::value))); in ShouldDeleteConstructor()
446 std::is_same<T, Archetype<Prof>>::value) || in ShouldDeleteAssign()
448 (std::is_same<T, const Archetype<Prof>&>::value || in ShouldDeleteAssign()
449 std in ShouldDeleteAssign()
968 namespace std { global() namespace
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemStorageBufferTests.cpp225 const std::string& extraShader = "") in StorageBufferTestCase()
256 const std::string m_extraShader;
268 : ProtectedTestInstance (ctx, pipelineProtectedAccess ? std::vector<std::string>({ "VK_EXT_pipeline_protected_access" }) : std::vector<std::string>()) in StorageBufferTestInstance()
354 std::map<std::string, std::string> shaderParam; in initPrograms()
480 std in executeFragmentTest()
[all...]
/third_party/vulkan-loader/tests/
H A Dloader_alloc_callback_tests.cpp40 std::mutex main_mutex;
45 std::unique_ptr<char[]> allocation;
51 const static size_t UNKNOWN_ALLOCATION = std::numeric_limits<size_t>::max();
54 std::unordered_map<void*, AllocationDetails> allocations;
64 detail.allocation = std::unique_ptr<char[]>(new char[detail.actual_size_bytes]); in allocate()
72 allocations.insert(std::make_pair(aligned_alloc, std::move(detail))); in allocate()
114 std::lock_guard<std::mutex> lg(main_mutex);
119 std
[all...]
/applications/standard/app_samples/code/BasicFeature/Media/ImageEffect/entry/src/main/cpp/utils/
H A Dpixelmap_helper.h27 static std::shared_ptr<OH_PixelmapNative> Decode(std::string &pathName);
28 static bool Encode(OH_PixelmapNative *pixelmap, std::string &pathName);
30 static std::shared_ptr<OH_PixelmapNative> ConvertPixelmap(NativePixelMap *nativePixelMap);
/applications/standard/contacts_data/ability/account/include/
H A Daccount_event_manager.h25 static std::shared_ptr<AccountEventManager> GetInstance();
27 void PublishEvent(std::string data);
31 static std::shared_ptr<AccountEventManager> instance_;
32 const static std::string EVENT;
/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_plugin_manager.h32 void LoaderLib(const std::string &path, const std::string &libName);
39 std::mutex libMutex_;
40 std::map<OsPluginMethodEnum, void*> methodMap_;
H A Dos_account_photo_operator.h28 std::string EnCode(const char *data, size_t dataByte);
29 std::string DeCode(std::string const &baseStr);
33 std::string baseChars_;
/base/customization/enterprise_device_management/test/unittest/external_mock/include/
H A Dexternal_manager_factory_mock.h28 MOCK_METHOD(std::shared_ptr<IEdmAppManager>, CreateAppManager, (), (override));
29 MOCK_METHOD(std::shared_ptr<IEdmBundleManager>, CreateBundleManager, (), (override));
30 MOCK_METHOD(std::shared_ptr<IEdmOsAccountManager>, CreateOsAccountManager, (), (override));
31 MOCK_METHOD(std::shared_ptr<IEdmAccessTokenManager>, CreateAccessTokenManager, (), (override));
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
H A Dash_mem_utils.h27 static sptr<Ashmem> WriteBulkData(MessageParcel& parcel, const std::vector<std::u16string>& src);
28 static bool ReadBulkData(MessageParcel& parcel, std::vector<std::u16string>& dest);
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
H A Dash_mem_utils.h27 static sptr<Ashmem> WriteBulkData(MessageParcel& parcel, const std::vector<std::u16string>& src);
28 static bool ReadBulkData(MessageParcel& parcel, std::vector<std::u16string>& dest);
/base/hiviewdfx/hiview/base/event_store/utility/reader/
H A Dcontent_reader_factory.cpp20 void ContentReaderFactory::Register(int8_t version, std::shared_ptr<ContentReader> reader) in Register()
22 readerMap_.insert(std::pair<int8_t, std::shared_ptr<ContentReader>>(version, reader)); in Register()
25 std::shared_ptr<ContentReader> ContentReaderFactory::Get(int8_t version) in Get()
/base/hiviewdfx/hiview/plugins/event_store/event_export/task/include/
H A Devent_scan_handler.h28 std::string moduleName;
31 std::string scanDir;
42 bool Scan(const std::string& moduleName, const std::string& scanDir, uint8_t storedDayCnt);
/base/inputmethod/imf/services/adapter/settings_data_provider/common/include/
H A Dsettings_data_observer.h27 using CallbackFunc = std::function<void()>;
28 SettingsDataObserver(const std::string &key, CallbackFunc &func) : key_(key), func_(func){}; in SettingsDataObserver()
31 const std::string &GetKey();
34 std::string key_;
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/
H A Dtrace_worker.h23 using UcollectionTask = std::function<void ()>;
24 using UcollectionWorker = std::function<void (UcollectionTask)>;
39 std::unique_ptr<ffrt::queue> ffrtQueue_ = std::make_unique<ffrt::queue>("dft_trace_worker");
/base/hiviewdfx/hiview/framework/native/unified_collection/graphic_memory/
H A Dfile_helper.cpp31 bool FileHelper::ReadFileByLine(const std::string &filePath, const DataHandler &func) in ReadFileByLine()
33 std::ifstream file(filePath); in ReadFileByLine()
39 std::string line; in ReadFileByLine()
40 while (std::getline(file, line)) { in ReadFileByLine()
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility/
H A Dwm_collector.h31 virtual CollectResult<std::string> ExportWindowsInfo() = 0;
32 virtual CollectResult<std::string> ExportWindowsMemory() = 0;
33 virtual CollectResult<std::string> ExportGpuMemory() = 0;
34 static std::shared_ptr<WmCollector> Create();
/base/hiviewdfx/hiview/plugins/faultlogger/common/
H A Dfaultlog_query_result_inner.h27 explicit FaultLogQueryResultInner(const std::list<FaultLogInfo> &faultLogList) : logList_(faultLogList) in FaultLogQueryResultInner()
36 std::unique_ptr<FaultLogInfo> GetNext();
42 std::list<FaultLogInfo> logList_;
43 std::list<FaultLogInfo>::iterator iter_;

Completed in 45 milliseconds

1...<<551552553554555556557558559560>>...1460