/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_get_store_test.cpp | 18 #include <string> 38 static const std::string MAIN_DATABASE_NAME; 39 static const std::string MAIN_DATABASE_NAME_RELEASE; 40 static const std::string MAIN_DATABASE_NAME_STATUS; 41 static const std::string MAIN_DATABASE_NAME_MINUS; 46 const std::string RdbGetStoreTest::MAIN_DATABASE_NAME = RDB_TEST_PATH + "getrdb.db"; 47 const std::string RdbGetStoreTest::MAIN_DATABASE_NAME_RELEASE = RDB_TEST_PATH + "releaserdb.db"; 48 const std::string RdbGetStoreTest::MAIN_DATABASE_NAME_STATUS = RDB_TEST_PATH + "status.db"; 49 const std::string RdbGetStoreTest::MAIN_DATABASE_NAME_MINUS = RDB_TEST_PATH + "minus.db"; 55 static const std::string CREATE_TABLE_TES [all...] |
/foundation/distributedhardware/distributed_screen/services/softbusadapter/src/ |
H A D | softbus_adapter.cpp | 77 const std::string &sessionName, const std::string &peerDevId) in RegisterSoftbusListener() 85 std::string strListenerKey = sessionName + "_" + peerDevId; in RegisterSoftbusListener() 96 int32_t SoftbusAdapter::UnRegisterSoftbusListener(const std::string &sessionName, const std::string &peerDevId) in UnRegisterSoftbusListener() 100 std::string strListenerKey = sessionName + "_" + peerDevId; in UnRegisterSoftbusListener() 108 int32_t SoftbusAdapter::CreateSoftbusSessionServer(const std::string &pkgname, const std::string &sessionName, in CreateSoftbusSessionServer() 109 const std::string &peerDevId) in CreateSoftbusSessionServer() 115 std::string idMapValu in CreateSoftbusSessionServer() [all...] |
/foundation/distributedhardware/distributed_input/services/transportbase/src/ |
H A D | distributed_input_transport_base.cpp | 148 std::string networkId = localNode->networkId; in CreateServerSocket() 187 int32_t DistributedInputTransportBase::CheckDeviceSessionState(const std::string &remoteDevId) in CheckDeviceSessionState() 197 std::string DistributedInputTransportBase::GetDevIdBySessionId(int32_t sessionId) in GetDevIdBySessionId() 208 int32_t DistributedInputTransportBase::CreateClientSocket(const std::string &remoteDevId) in CreateClientSocket() 211 std::string localSesionName = localSessionName_ + "_" + std::to_string(GetCurrentTimeUs()); in CreateClientSocket() 212 std::string peerSessionName = SESSION_NAME + remoteDevId.substr(0, INTERCEPT_STRING_LENGTH); in CreateClientSocket() 226 int32_t DistributedInputTransportBase::StartSession(const std::string &remoteDevId) in StartSession() 249 std::string peerSessionName = SESSION_NAME + remoteDevId.substr(0, INTERCEPT_STRING_LENGTH); in StartSession() 279 std::map<std::string, int32_t> remoteDevSessions; in StopAllSession() 283 [&remoteDevSessions] (const std::pair<std::string, int32_ in StopAllSession() [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
H A D | histreamer_ability_parser_test.cpp | 26 static const std::string TEST_STR = "test string"; 27 static const std::string KEY = "key"; 28 static const std::string NAME = "name"; 29 static const std::string MIME = "mime"; 30 static const std::string INS = "ins"; 31 static const std::string OUTS = "outs"; 32 static const std::string AUDIO_ENCODER_NAME = "ffmpegAuEnc_aac"; 33 static const std::string AUDIO_ENCODERIN_MIME = "audio/raw"; 34 static const std::string AUDIO_ENCODEROUT_MIM [all...] |
/foundation/filemanagement/user_file_service/interfaces/kits/native/recent/ |
H A D | recent_n_exporter.cpp | 40 static bool CheckPermission(const std::string &permission) in CheckPermission() 53 static bool CheckSystemAppAndPermission(const std::string &permission, napi_env env) in CheckSystemAppAndPermission() 68 static napi_value SetFileTime(napi_env env, const string &recentFilePath) in SetFileTime() 96 FileUri fileUri(string(uri.get())); in AddRecentFile() 104 string recentFilePath = RecentNExporter::recentPath_ + to_string(statBuf.st_dev) + "_" + to_string(statBuf.st_ino); in AddRecentFile() 144 FileUri fileUri(string(uri.get())); in RemoveRecentFile() 152 string recentFilePath = RecentNExporter::recentPath_ + to_string(statBuf.st_dev) + "_" + to_string(statBuf.st_ino); in RemoveRecentFile() 171 static int64_t GetFileMtime(const string &fileName) in GetFileMtime() 173 string filePath = RecentNExporter::recentPath_ + fileName; in GetFileMtime() 182 static string GetNam [all...] |
/foundation/window/window_manager/wmserver/src/ |
H A D | window_dumper.cpp | 38 const std::string ARG_DUMP_HELP = "-h"; 39 const std::string ARG_DUMP_ALL = "-a"; 40 const std::string ARG_DUMP_WINDOW = "-w"; 52 std::vector<std::string> params; in Dump() 57 std::string dumpInfo; in Dump() 78 const sptr<WindowNodeContainer>& windowNodeContainer, std::string& dumpInfo) in DumpScreenGroupWindowInfo() 117 const std::string& windowName = windowNode->GetWindowName().size() <= WINDOW_NAME_MAX_LENGTH ? in AppendWindowNodeInfo() 138 WMError WindowDumper::DumpAllWindowInfo(std::string& dumpInfo) in DumpAllWindowInfo() 161 bool WindowDumper::IsValidDigitString(const std::string& windowIdStr) in IsValidDigitString() 176 WMError WindowDumper::DumpSpecifiedWindowInfo(uint32_t windowId, const std::vector<std::string> [all...] |
/third_party/gn/src/gn/ |
H A D | compile_commands_writer.cc | 43 std::string includes; 44 std::string defines; 45 std::string cflags; 46 std::string cflags_c; 47 std::string cflags_cc; 48 std::string cflags_objc; 49 std::string cflags_objcc; 50 std::string framework_dirs; 51 std::string frameworks; 54 // Helper template function to call RecursiveTargetConfigToStream<std::string> [all...] |
/third_party/node/src/ |
H A D | blob_serializer_deserializer-inl.h | 10 #include <string> 46 const std::vector<std::string>& vec); 61 std::string BlobSerializerDeserializer::ToStr(const T& arg) const { in ToStr() 68 std::string BlobSerializerDeserializer::GetName() const { in GetName() 72 V(std::string) in GetName() 107 std::string name = GetName<T>(); in ReadVector() 124 std::string str = std::is_arithmetic_v<T> ? "" : ToStr(result); in ReadVector() 125 std::string name = GetName<T>(); in ReadVector() 132 std::string BlobDeserializer<Impl>::ReadString() { in ReadString() 142 std::string resul in ReadString() [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | class-debug-reader-generator.cc | 127 std::string GetValueType(TypeStorage storage) const { in GetValueType() 144 std::string GetOriginalType(TypeStorage storage) const { in GetOriginalType() 165 // Returns a C++ expression that evaluates to a string (type `const char*`) 170 std::string GetTypeString(TypeStorage storage) const { in GetTypeString() 172 // Wrap up the original type in a string literal. in GetTypeString() 197 std::string GetAddressGetter() { in GetAddressGetter() 214 const std::string& class_name, in GenerateFieldAddressAccessor() 219 const std::string address_getter = debug_field_type.GetAddressGetter(); in GenerateFieldAddressAccessor() 258 const std::string& class_name, in GenerateFieldValueAccessor() 266 const std::string address_gette in GenerateFieldValueAccessor() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderLibrary.cpp | 34 #include <string> 39 #include <string.h> 41 using std::string; 166 void parseError(const std::string& errorStr); 169 string parseStringLiteral(const char* str); 170 string parseShaderSource(const char* str); 186 std::string m_input; 189 std::string m_curTokenStr; 202 void ShaderParser::parseError(const std::string& errorStr) in parseError() 204 string atSt in parseError() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
H A D | glcSubgroupsTestsUtils.hpp | 49 #include <string> 71 Program& add (const std::string& name); 72 void add (const std::string& name, de::MovePtr<Program>& program); 74 bool contains (const std::string& name) const; 75 const Program& get (const std::string& name) const; 80 typedef typename std::map<std::string, Program*>::const_iterator IteratorImpl; 88 const std::string& getName (void) const { return m_impl->first; } in getName() 105 typedef std::map<std::string, Program*> ProgramMap; 130 Program& ProgramCollection<Program>::add (const std::string& name) in add() 140 void ProgramCollection<Program>::add (const std::string [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | StringExtras.h | 1 //===- llvm/ADT/StringExtras.h - Useful string functions --------*- C++ -*-===// 26 #include <string> 43 /// null string. 51 /// Construct a string ref from a boolean. 54 /// Construct a string ref from an array ref of unsigned chars. 59 /// Construct a string ref from an array ref of unsigned chars. 124 inline std::string utohexstr(uint64_t X, bool LowerCase = false) { in utohexstr() 136 return std::string(BufPtr, std::end(Buffer)); in utohexstr() 140 /// The returned string is double the size of \p Input. 141 inline std::string toHe [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | tokenizer.cc | 52 // - Rather than error messages telling you "This string has an invalid 57 // - The regular expression to match a string literal looks like this: 282 inline void Tokenizer::RecordTo(std::string* target) { in RecordTo() 289 // you call string::append(NULL, 0), presumably because they are trying to in StopRecording() 366 AddError("Unexpected end of string."); in ConsumeString() 410 AddError("Invalid escape sequence in string literal."); in ConsumeString() 482 void Tokenizer::ConsumeLineComment(std::string* content) { in ConsumeLineComment() 493 void Tokenizer::ConsumeBlockComment(std::string* content) { in ConsumeBlockComment() 672 CommentCollector(std::string* prev_trailing_comments, in CommentCollector() 673 std::vector<std::string>* detached_comment in CommentCollector() [all...] |
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_canvas/ |
H A D | perf_puppeteer_canvas.go | 59 keys := map[string]string{ 95 func makePerfObj(gitHash, taskID, machineID string, keys map[string]string) (perfJSONFormat, error) { 112 rv.Results = map[string]map[string]perfResult{} 116 func setup(ctx context.Context, benchmarkPath, nodeBinPath string) error { 131 func benchCanvas(ctx context.Context, perf perfJSONFormat, benchmarkPath, canvaskitBinPath, nodeBinPath string) error { 137 args := []string{filepat [all...] |
/third_party/spirv-tools/test/opt/loop_optimizations/ |
H A D | peeling.cpp | 43 void Match(const std::string& checks, IRContext* context) { in Match() 50 std::string assembly; in Match() 116 auto test_cannot_peel = [](const std::string& text, uint32_t loop_count_id) { in TEST_F() 143 const std::string text = R"( in TEST_F() 191 const std::string text = R"( in TEST_F() 233 const std::string text = R"( in TEST_F() 285 const std::string text = R"( in TEST_F() 330 const std::string text = R"( in TEST_F() 375 const std::string text = R"( in TEST_F() 443 const std::string tex in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
H A D | vulkan_enums.hpp | 23 VULKAN_HPP_INLINE std::string toHexString( uint32_t value ) in toHexString() 86 VULKAN_HPP_INLINE std::string to_string( Result value ) in to_string() 1011 VULKAN_HPP_INLINE std::string to_string( StructureType value ) in to_string() 1888 VULKAN_HPP_INLINE std::string to_string( ObjectType value ) in to_string() 1956 VULKAN_HPP_INLINE std::string to_string( VendorId value ) in to_string() 1975 VULKAN_HPP_INLINE std::string to_string( PipelineCacheHeaderVersion value ) in to_string() 2269 VULKAN_HPP_INLINE std::string to_string( Format value ) in to_string() 2581 VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlagBits value ) in to_string() 2653 VULKAN_HPP_INLINE std::string to_string( ImageCreateFlagBits value ) in to_string() 2683 VULKAN_HPP_INLINE std::string to_strin [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | particle_property.h | 21 #include <string> 57 std::string ToString() const in ToString() 59 std::string str; in ToString() 70 const std::string& GetImageSource() const in GetImageSource() 75 void SetImageSource(std::string& imageSource) in SetImageSource() 106 std::string ToString() const in ToString() 108 std::string str; in ToString() 118 std::string imageSource_; 148 std::string ToString() const in ToString() 150 std::string st in ToString() [all...] |
/foundation/multimedia/av_codec/test/unittest/http_source_test/ |
H A D | http_media_downloader_unit_test.cpp | 25 const std::string MP4_SEGMENT_BASE = "http://127.0.0.1:46666/dewu.mp4";
26 const std::string MP4_NULL_SEGMENT_BASE = "http://127.0.0.1:46666/dewuNull.mp4";
27 const std::string FLV_SEGMENT_BASE = "http://127.0.0.1:46666/h264.flv";
45 std::map<std::string, std::string> httpHeader;
in SetUpTestCase() 88 std::map<std::string, std::string> httpHeader;
in HWTEST_F() 111 std::map<std::string, std::string> httpHeader;
in HWTEST_F() 136 std::map<std::string, st in HWTEST_F() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | meta_data_test.cpp | 71 std::string key = appIdMetaData.GetKey();
in HWTEST_F() 106 std::string key = corruptedMeta.GetKey();
in HWTEST_F() 144 std::initializer_list<std::string> fields = {"time", "skey"};
in HWTEST_F() 146 std::string key = secretKeyMeta.GetKey(fields);
in HWTEST_F() 148 std::string backupkey = secretKeyMeta.GetBackupKey(fields);
in HWTEST_F() 184 std::initializer_list<std::string> fields = {"time", "skey"};
in HWTEST_F() 186 std::string prefix = secretKeyMeta.GetPrefix(fields);
in HWTEST_F() 188 std::string backupprefix = secretKeyMeta.GetBackupPrefix(fields);
in HWTEST_F() 224 std::string key = storeMetaData.GetKey();
in HWTEST_F() 226 std::string keyloca in HWTEST_F() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
H A D | vktSubgroupsBuiltinVarTests.cpp | 29 #include <string> 380 const string fragment = in initFrameBufferPrograms() 430 const string vertex = in initFrameBufferPrograms() 512 const string controlSource = in initFrameBufferPrograms() 612 const string evaluationSource = in initFrameBufferPrograms() 721 const string controlSource = in initFrameBufferPrograms() 837 const string evaluationSource = in initFrameBufferPrograms() 1022 vector<string> getPerStageHeadDeclarations (const CaseDefinition& caseDef) in getPerStageHeadDeclarations() 1025 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
H A D | vktSubgroupsBuiltinVarTests.cpp | 29 #include <string> 380 const string fragment = in initFrameBufferPrograms() 430 const string vertex = in initFrameBufferPrograms() 512 const string controlSource = in initFrameBufferPrograms() 612 const string evaluationSource = in initFrameBufferPrograms() 721 const string controlSource = in initFrameBufferPrograms() 837 const string evaluationSource = in initFrameBufferPrograms() 1022 vector<string> getPerStageHeadDeclarations (const CaseDefinition& caseDef) in getPerStageHeadDeclarations() 1025 vector<string> result (stageCount, string()); in getPerStageHeadDeclarations() [all...] |
/foundation/ability/ability_lite/frameworks/ability_lite/include/ |
H A D | app_info.h | 20 #include <string> 23 std::string bundleName; 24 std::string srcPath; 25 std::string dataPath; 27 std::list<std::string> moduleNames;
|
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/ |
H A D | mock_constant.h | 18 #include <string> 20 const std::string APP_IDENTIFIER = "appIdentifier"; 21 const std::string BUNDLE_NAME = "com.openHarmony.test"; 22 const std::string FINGERPRINT = "fingerprint"; 23 const std::string HOST = "test.openharmony.com";
|
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | media_remote_thumbnail_column.h | 19 #include <string>
23 const std::string REMOTE_THUMBNAIL_TABLE = "RemoteThumbnailMap";
24 const std::string REMOTE_THUMBNAIL_DB_ID = "id";
25 const std::string REMOTE_THUMBNAIL_DB_FILE_ID = "file_id";
26 const std::string REMOTE_THUMBNAIL_DB_UDID = "udid";
|
H A D | media_directory_type_column.h | 19 #include <string>
23 const std::string DIRECTORY_DB_DIRECTORY_TYPE = "directory_type";
24 const std::string DIRECTORY_DB_MEDIA_TYPE = "media_type";
25 const std::string DIRECTORY_DB_DIRECTORY = "directory";
26 const std::string DIRECTORY_DB_EXTENSION = "extension";
|