/third_party/node/src/ |
H A D | node_builtins.h | 28 using BuiltinSourceMap = std::map<std::string, UnionBytes>; 30 std::unordered_map<std::string, 31 std::unique_ptr<v8::ScriptCompiler::CachedData>>; 34 std::string id; 35 std::vector<uint8_t> data; 75 bool Add(const char* id, std::string_view utf8source); 78 void RefreshCodeCache(const std::vector<CodeCacheInfo>& in); 79 void CopyCodeCache(std [all...] |
H A D | node_worker.h | 31 const std::string& url, 32 const std::string& name, 33 std::shared_ptr<PerIsolateOptions> per_isolate_opts, 34 std::vector<std::string>&& exec_argv, 35 std::shared_ptr<KVStore> env_vars, 84 std::shared_ptr<PerIsolateOptions> per_isolate_opts_; 85 std::vector<std::string> exec_argv_; 86 std [all...] |
/third_party/node/tools/ |
H A D | gen_node_def.cc | 68 std::string libraryName; 69 std::vector<std::string> exportedSymbols; 103 // Given an RVA, parse it as a std::string. The resulting string is empty in Library() 105 auto nameRvaToName = [&](uint32_t rva) -> std::string { in Library() 110 std::transform(functionNameTable, in Library() 112 std::back_inserter(exportedSymbols), in Library() 138 std::cerr << "ERROR: Failed to load " << dllPath << std::endl; in LoadLibraryOrExit() 149 std in LoadLibraryOrExit() [all...] |
/third_party/node/deps/v8/include/v8-include/cppgc/internal/ |
H A D | gc-info.h | 28 std::atomic<GCInfoIndex>& registered_index) { in EnsureIndex() 33 template <typename T, bool = std::is_polymorphic<T>::value, 39 EnsureGCInfoIndexPolymorphic(std::atomic<GCInfoIndex>&, TraceCallback, 42 std::atomic<GCInfoIndex>&, TraceCallback, FinalizationCallback); 44 std::atomic<GCInfoIndex>&, TraceCallback, NameCallback); 46 EnsureGCInfoIndexPolymorphic(std::atomic<GCInfoIndex>&, TraceCallback); 48 EnsureGCInfoIndexNonPolymorphic(std::atomic<GCInfoIndex>&, TraceCallback, 51 std::atomic<GCInfoIndex>&, TraceCallback, FinalizationCallback); 53 std::atomic<GCInfoIndex>&, TraceCallback, NameCallback); 55 EnsureGCInfoIndexNonPolymorphic(std [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationTests.cpp | 94 const std::pair<std::string, std::string> getGroupName (SynchronizationType type, const std::string& name, VideoCodecOperationFlags videoCodecOperation) in getGroupName() 101 return std::pair<std::string, std::string>(name, groupDescription[isSynchronization2]); in getGroupName() 105 return std::pair<std::string, std in getGroupName() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | compact_ids_test.cpp | 32 const std::string before = in TEST_F() 44 const std::string after = before; in TEST_F() 52 const std::string before = in TEST_F() 71 const std::string after = in TEST_F() 96 const std::string text = in TEST_F() 141 const std::string input(R"(OpCapability Shader in TEST() 152 std::vector<uint32_t> binary; in TEST() 167 std::string disassembly; in TEST() 170 const std::string expected(R"(OpCapability Shader in TEST() 185 const std in TEST() [all...] |
H A D | desc_sroa_test.cpp | 28 std::string GetStructureArrayTestSpirv() { in GetStructureArrayTestSpirv() 138 const std::string text = R"( in TEST_F() 207 const std::string text = R"( in TEST_F() 260 const std::string text = R"( in TEST_F() 319 const std::string text = R"( in TEST_F() 391 const std::string text = R"( in TEST_F() 452 const std::string text = R"( in TEST_F() 508 const std::string checks = R"( in TEST_F() 515 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F() 522 const std in TEST_F() [all...] |
/third_party/skia/src/gpu/ |
H A D | SurfaceFillContext.h | 53 virtual void fillRectWithFP(const SkIRect& dstRect, std::unique_ptr<GrFragmentProcessor>) = 0; 61 std::unique_ptr<GrFragmentProcessor>); 66 std::unique_ptr<GrFragmentProcessor> fp) { in fillRectToRectWithFP() 68 this->fillRectWithFP(dstRect, lm, std::move(fp)); in fillRectToRectWithFP() 74 std::unique_ptr<GrFragmentProcessor> fp) { in fillRectToRectWithFP() 75 this->fillRectToRectWithFP(SkRect::Make(srcRect), dstRect, std::move(fp)); in fillRectToRectWithFP() 79 void fillWithFP(std::unique_ptr<GrFragmentProcessor> fp) { in fillWithFP() 80 this->fillRectWithFP(SkIRect::MakeSize(fWriteView.proxy()->dimensions()), std::move(fp)); in fillWithFP() 87 void fillWithFP(const SkMatrix& localMatrix, std::unique_ptr<GrFragmentProcessor> fp) { in fillWithFP() 90 std in fillWithFP() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | compact_ids_test.cpp | 32 const std::string before = in TEST_F() 44 const std::string after = before; in TEST_F() 52 const std::string before = in TEST_F() 71 const std::string after = in TEST_F() 96 const std::string text = in TEST_F() 141 const std::string input(R"(OpCapability Shader in TEST() 152 std::vector<uint32_t> binary; in TEST() 167 std::string disassembly; in TEST() 170 const std::string expected(R"(OpCapability Shader in TEST() 185 const std in TEST() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | BackendD3D12.cpp | 66 return std::move(factory); in CreateFactory() 69 ResultOrError<std::unique_ptr<AdapterBase>> CreateAdapterFromIDXGIAdapter( in CreateAdapterFromIDXGIAdapter() 74 std::unique_ptr<Adapter> adapter = in CreateAdapterFromIDXGIAdapter() 75 std::make_unique<Adapter>(backend, std::move(dxgiAdapter3)); in CreateAdapterFromIDXGIAdapter() 78 return {std::move(adapter)}; in CreateAdapterFromIDXGIAdapter() 88 mFunctions = std::make_unique<PlatformFunctions>(); in Initialize() 153 std::vector<std::unique_ptr<AdapterBase>> Backend::DiscoverDefaultAdapters() { in DiscoverDefaultAdapters() 163 ResultOrError<std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | SymbolCache.h | 36 std::vector<std::unique_ptr<NativeRawSymbol>> Cache; 45 DenseMap<std::pair<codeview::TypeIndex, uint32_t>, SymIndexId> 50 std::vector<SymIndexId> Compilands; 67 consumeError(std::move(EC)); in createSymbolForType() 72 TI, std::move(Record), std::forward<Args>(ConstructorArgs)...); in createSymbolForType() 90 auto Result = std::make_unique<ConcreteSymbolT>( in createSymbol() 91 Session, Id, std::forward<Args>(ConstructorArgs)...); in createSymbol() 95 Cache.push_back(std in createSymbol() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | FormatVariadic.h | 13 // a raw_ostream or converted to a std::string or llvm::SmallString. 15 // // Convert to std::string. 16 // std::string S = formatv("{0} {1}", 1234.412, "test").str(); 67 // The parameters are stored in a std::tuple, which does not provide runtime 69 // structure to put the parameters into a std::vector. Since the parameters 72 // Essentially, we are converting a std::tuple<Derived<Ts...>> to a 73 // std::vector<Base*>. 76 std::vector<detail::format_adapter *> operator()(Ts &... Items) { in operator ()() 77 return std::vector<detail::format_adapter *>{&Items...}; in operator ()() 82 std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCELFStreamer.cpp | 49 MCContext &Context, std::unique_ptr<MCAsmBackend> TAB, in HexagonMCELFStreamer() 50 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter) in HexagonMCELFStreamer() 51 : MCELFStreamer(Context, std::move(TAB), std::move(OW), std::move(Emitter)), in HexagonMCELFStreamer() 55 MCContext &Context, std::unique_ptr<MCAsmBackend> TAB, in HexagonMCELFStreamer() 56 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter, in HexagonMCELFStreamer() 58 : MCELFStreamer(Context, std in HexagonMCELFStreamer() [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.cc | 67 const std::vector<const FileDescriptor*>& parsed_files) in GeneratorResponseContext() 75 virtual io::ZeroCopyOutputStream* Open(const std::string& filename) { in Open() 82 const std::string& filename, const std::string& insertion_point) { in OpenForInsert() 89 void ListParsedFiles(std::vector<const FileDescriptor*>* output) { in ListParsedFiles() 100 const std::vector<const FileDescriptor*>& parsed_files_; 105 CodeGeneratorResponse* response, std::string* error_msg) { in GenerateCode() 115 std::vector<const FileDescriptor*> parsed_files; in GenerateCode() 131 std::string error; in GenerateCode() 152 std in PluginMain() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
H A D | call_once.h | 19 // This header file provides an Abseil version of `std::call_once` for invoking 49 std::atomic<uint32_t>* ControlWord(absl::once_flag* flag); 92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag); 93 std::atomic<uint32_t> control_; 147 void CallOnceImpl(std::atomic<uint32_t>* control, in CallOnceImpl() 152 uint32_t old_control = control->load(std::memory_order_relaxed); in CallOnceImpl() 172 // with std::memory_order_acquire and seen a value of kOnceDone. in CallOnceImpl() 175 std::memory_order_relaxed) || in CallOnceImpl() 178 base_internal::invoke(std::forward<Callable>(fn), in CallOnceImpl() 179 std in CallOnceImpl() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | civil_time.h | 314 // const auto capped = std::min(normalized, last_day_of_next_month); 454 // std::string day_string = absl::FormatCivilTime(d); // "1969-07-20" 456 std::string FormatCivilTime(CivilSecond c); 457 std::string FormatCivilTime(CivilMinute c); 458 std::string FormatCivilTime(CivilHour c); 459 std::string FormatCivilTime(CivilDay c); 460 std::string FormatCivilTime(CivilMonth c); 461 std::string FormatCivilTime(CivilYear c); 524 // std::cout << "Date is: " << d << "\n"; 526 std [all...] |
/third_party/skia/third_party/externals/angle2/include/GLSLANG/ |
H A D | ShaderVars.h | 109 const std::string &getStructName() const { return structOrBlockName; } in getStructName() 110 void setStructName(const std::string &newName) { structOrBlockName = newName; } in setStructName() 123 bool findInfoByMappedName(const std::string &mappedFullName, 125 std::string *originalFullName) const; 129 const sh::ShaderVariable *findField(const std::string &fullName, uint32_t *fieldIndexOut) const; 184 std::string name; 185 std::string mappedName; 188 std::vector<unsigned int> arraySizes; 196 std::vector<ShaderVariable> fields; 200 std [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | feature_manager_test.cpp | 29 const std::string text = R"( in TEST_F() 34 std::unique_ptr<IRContext> context = in TEST_F() 43 const std::string text = R"( in TEST_F() 49 std::unique_ptr<IRContext> context = in TEST_F() 58 const std::string text = R"( in TEST_F() 64 std::unique_ptr<IRContext> context = in TEST_F() 73 const std::string text = R"( in TEST_F() 80 std::unique_ptr<IRContext> context = in TEST_F() 91 const std::string text = R"( in TEST_F() 98 std in TEST_F() [all...] |
H A D | function_test.cpp | 31 std::string shader = R"( in TEST() 33 %1 = OpExtInstImport "GLSL.std.450" in TEST() 85 const std::string text = R"( in TEST() 112 std::unique_ptr<IRContext> ctx = in TEST() 123 const std::string text = R"( in TEST() 146 std::unique_ptr<IRContext> ctx = in TEST() 154 const std::string text = R"( in TEST() 182 std::unique_ptr<IRContext> ctx = in TEST() 193 const std::string text = R"( in TEST() 216 std in TEST() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fStringQueryTests.cpp | 83 std::string tmpString; in init() 89 std::istringstream versionStream(string); in init() 97 versionStream >> std::noskipws; in init() 127 std::string tmpString; in init() 134 std::istringstream versionStream(string); in init() 144 versionStream >> std::noskipws; in init() 175 std::istringstream extensionStream((std::string)(extensions_cstring)); in init() 176 std::vector<std in init() [all...] |
/third_party/vk-gl-cts/framework/xexml/ |
H A D | xeXMLParser.hpp | 80 ParseError (const std::string& message) : xe::ParseError(message) {} in ParseError() 97 void getTokenStr (std::string& dst) const; 98 void appendTokenStr (std::string& dst) const; 100 void getString (std::string& dst) const; 108 void error (const std::string& what); 139 typedef std::map<std::string, std::string> AttributeMap; 163 void getDataStr (std::string& dst) const; 164 void appendDataStr (std [all...] |
/third_party/vulkan-loader/tests/framework/layer/ |
H A D | test_layer.h | 103 BUILDER_VALUE(TestLayer, std::string, description, {}) 108 BUILDER_VECTOR(TestLayer, std::string, alternative_function_names, alternative_function_name) 111 std::vector<Extension> enabled_instance_extensions; 115 BUILDER_VALUE(TestLayer, std::string, enable_environment, {}); 116 BUILDER_VALUE(TestLayer, std::string, disable_environment, {}); 128 BUILDER_VALUE(TestLayer, std::function<VkResult(TestLayer& layer)>, create_instance_callback, {}) 130 BUILDER_VALUE(TestLayer, std::function<VkResult(TestLayer& layer)>, create_device_callback, {}) 150 std::unordered_map<std::string, PFN_vkVoidFunction> custom_dispatch_functions; 151 std [all...] |
/applications/standard/contacts_data/dataBusiness/contacts/src/ |
H A D | contacts_database.cpp | 42 std::shared_ptr<ContactsDataBase> ContactsDataBase::contactDataBase_ = nullptr; 43 std::shared_ptr<CallLogDataBase> ContactsDataBase::callLogDataBase_ = nullptr; 44 std::shared_ptr<OHOS::NativeRdb::RdbStore> ContactsDataBase::store_ = nullptr; 45 std::shared_ptr<OHOS::NativeRdb::RdbStore> ContactsDataBase::contactStore_ = nullptr; 47 static std::string g_databaseName; 49 std::mutex g_mtx; 64 std::shared_ptr<OHOS::Contacts::DataBaseDisasterRecovery> instance = in ContactsDataBase() 76 std::shared_ptr<ContactsAccount> contactsAccount = ContactsAccount::GetInstance(); in ContactsDataBase() 88 std::shared_ptr<ContactsDataBase> ContactsDataBase::GetInstance() in GetInstance() 143 int64_t ContactsDataBase::InsertRawContact(std [all...] |
/base/request/request/frameworks/js/napi/src/ |
H A D | js_task.cpp | 39 namespace fs = std::filesystem;
42 std::mutex JsTask::createMutex_;
44 std::mutex JsTask::requestMutex_;
46 std::mutex JsTask::requestFileMutex_;
48 std::mutex JsTask::getTaskCreateMutex_;
50 std::mutex JsTask::taskMutex_;
51 std::map<std::string, JsTask *> JsTask::taskMap_;
53 std::mutex JsTask::pathMutex_;
54 std [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_app_service_fwk_installer.cpp | 41 using namespace std::chrono_literals; 53 const std::string BUNDLE_NAME = "com.example.appService"; 54 const std::string BUNDLE_NAME_WRONG = "com.example.appService.wrong"; 55 const std::string BUNDLE_NAME_TEST = "com.example.l3jsdemo"; 56 const std::string MODULE_NAME_TEST = "moduleName"; 57 const std::string MODULE_NAME_LIBRARY_ONE = "library_one"; 58 const std::string EMPTY_STRING = ""; 59 const std::string STRING = "string"; 60 const std::string HAP_PATH_TEST = "/data/test/resource/bms/app_service_test/right.hap"; 61 const std [all...] |