/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/ |
H A D | UnicodeMap.java | 407 public UnicodeMap<T> put(String string, T value) { in put() argument 408 int v = UnicodeSet.getSingleCodePoint(string); in put() 417 stringMap.put(string, value); in put() 420 if (stringMap.remove(string) != null) { in put() 438 if (it.string == null) { in putAll() 441 put(it.string, value); in putAll() 642 * Change a new string from the source string according to the mappings. 669 * This will be called with either a string or a code point. The result is the new value for that item. 670 * If the codepoint is used, the string i 674 compose(int codePoint, String string, T a, T b) compose() argument 985 public String string; global() field in UnicodeMap.EntryRange [all...] |
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
H A D | UnicodeMap.java | 404 public UnicodeMap<T> put(String string, T value) { in put() argument 405 int v = UnicodeSet.getSingleCodePoint(string); in put() 414 stringMap.put(string, value); in put() 417 if (stringMap.remove(string) != null) { in put() 435 if (it.string == null) { in putAll() 438 put(it.string, value); in putAll() 639 * Change a new string from the source string according to the mappings. 666 * This will be called with either a string or a code point. The result is the new value for that item. 667 * If the codepoint is used, the string i 671 compose(int codePoint, String string, T a, T b) compose() argument 982 public String string; global() field in UnicodeMap.EntryRange [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | instructions.h | 349 PushBuiltinPointerInstruction(std::string external_name, const Type* type) in PushBuiltinPointerInstruction() 356 std::string external_name; 457 std::vector<std::string> constexpr_arguments) in CallIntrinsicInstruction() 467 std::vector<std::string> constexpr_arguments; 476 std::vector<std::string> constexpr_arguments, in CallCsaMacroInstruction() 490 std::vector<std::string> constexpr_arguments; 500 std::vector<std::string> constexpr_arguments, in CallCsaMacroAndBranchInstruction() 525 std::vector<std::string> constexpr_arguments; 537 std::vector<std::string> constexpr_arguments) in MakeLazyNodeInstruction() 546 std::vector<std::string> constexpr_argument [all...] |
/third_party/pulseaudio/src/daemon/ |
H A D | ohos_daemon-conf.c | 27 #include <string.h> 190 int pa_daemon_conf_set_log_target(pa_daemon_conf *c, const char *string) { in pa_daemon_conf_set_log_target() argument 194 pa_assert(string); in pa_daemon_conf_set_log_target() 196 if (!pa_streq(string, "auto")) { in pa_daemon_conf_set_log_target() 197 log_target = pa_log_parse_target(string); in pa_daemon_conf_set_log_target() 208 int pa_daemon_conf_set_log_level(pa_daemon_conf *c, const char *string) { in pa_daemon_conf_set_log_level() argument 211 pa_assert(string); in pa_daemon_conf_set_log_level() 213 if (pa_atou(string, &u) >= 0) { in pa_daemon_conf_set_log_level() 218 } else if (pa_startswith(string, "debug")) in pa_daemon_conf_set_log_level() 220 else if (pa_startswith(string, "inf in pa_daemon_conf_set_log_level() 234 pa_daemon_conf_set_resample_method(pa_daemon_conf *c, const char *string) pa_daemon_conf_set_resample_method() argument 246 pa_daemon_conf_set_local_server_type(pa_daemon_conf *c, const char *string) pa_daemon_conf_set_local_server_type() argument [all...] |
H A D | daemon-conf.c | 27 #include <string.h> 190 int pa_daemon_conf_set_log_target(pa_daemon_conf *c, const char *string) { in pa_daemon_conf_set_log_target() argument 194 pa_assert(string); in pa_daemon_conf_set_log_target() 196 if (!pa_streq(string, "auto")) { in pa_daemon_conf_set_log_target() 197 log_target = pa_log_parse_target(string); in pa_daemon_conf_set_log_target() 208 int pa_daemon_conf_set_log_level(pa_daemon_conf *c, const char *string) { in pa_daemon_conf_set_log_level() argument 211 pa_assert(string); in pa_daemon_conf_set_log_level() 213 if (pa_atou(string, &u) >= 0) { in pa_daemon_conf_set_log_level() 218 } else if (pa_startswith(string, "debug")) in pa_daemon_conf_set_log_level() 220 else if (pa_startswith(string, "inf in pa_daemon_conf_set_log_level() 234 pa_daemon_conf_set_resample_method(pa_daemon_conf *c, const char *string) pa_daemon_conf_set_resample_method() argument 246 pa_daemon_conf_set_local_server_type(pa_daemon_conf *c, const char *string) pa_daemon_conf_set_local_server_type() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingMemGuaranteeTests.cpp | 226 static inline const std::string getIntersectionPassthrough (void); 227 static inline const std::string getMissPassthrough (void); 228 static inline const std::string getHitPassthrough (void); 259 const std::string RayTracingTestCase::getIntersectionPassthrough (void) in getIntersectionPassthrough() 261 const std::string intersectionPassthrough = in getIntersectionPassthrough() 274 const std::string RayTracingTestCase::getMissPassthrough (void) in getMissPassthrough() 276 const std::string missPassthrough = in getMissPassthrough() 288 const std::string RayTracingTestCase::getHitPassthrough (void) in getHitPassthrough() 290 const std::string hitPassthrough = in getHitPassthrough() 307 const std::string imageQualifier in initPrograms() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | ir_context_test.cpp | 19 #include <string> 184 const std::string text = R"( in TEST_F() 227 const std::string text = R"( in TEST_F() 292 const std::string text = R"( in TEST_F() 344 const std::string text = R"( in TEST_F() 380 const std::string text = R"( in TEST_F() 437 const std::string text = R"( in TEST_F() 499 const std::string text = R"( in TEST_F() 549 const std::string text = R"( in TEST_F() 605 const std::string tex in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | ir_context_test.cpp | 19 #include <string> 184 const std::string text = R"( in TEST_F() 227 const std::string text = R"( in TEST_F() 292 const std::string text = R"( in TEST_F() 344 const std::string text = R"( in TEST_F() 380 const std::string text = R"( in TEST_F() 437 const std::string text = R"( in TEST_F() 499 const std::string text = R"( in TEST_F() 549 const std::string text = R"( in TEST_F() 605 const std::string tex in TEST_F() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTextureWrapTests.cpp | 53 using std::string; 62 const vector<string>& extensions = contextInfo.getExtensions(); in isASTCSupported() 66 const string& ext = extensions[extNdx]; in isASTCSupported() 87 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames, bool enableRelaxedRef = false); 121 const std::vector<std::string> m_filenames; 152 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames, bool enableRelaxedRef) in TextureWrapCase() 346 const tcu::ScopedLogSection section (log, string("Test") + de::toString(m_caseNdx), string("Test ") + de::toString(m_caseNdx)); in iterate() 441 const string name = string("") in init() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingMemGuaranteeTests.cpp | 226 static inline const std::string getIntersectionPassthrough (void); 227 static inline const std::string getMissPassthrough (void); 228 static inline const std::string getHitPassthrough (void); 259 const std::string RayTracingTestCase::getIntersectionPassthrough (void) in getIntersectionPassthrough() 261 const std::string intersectionPassthrough = in getIntersectionPassthrough() 274 const std::string RayTracingTestCase::getMissPassthrough (void) in getMissPassthrough() 276 const std::string missPassthrough = in getMissPassthrough() 288 const std::string RayTracingTestCase::getHitPassthrough (void) in getHitPassthrough() 290 const std::string hitPassthrough = in getHitPassthrough() 307 const std::string imageQualifier in initPrograms() [all...] |
/base/telephony/sms_mms/services/sms/ |
H A D | sms_service.cpp | 101 std::vector<std::string> argsInStr; in Dump() 106 std::string result; in Dump() 135 std::string SmsService::GetBindTime() in GetBindTime() 195 void SmsService::InsertSessionAndDetail(int32_t slotId, const std::string &telephone, const std::string &text, in InsertSessionAndDetail() 214 bool SmsService::QuerySessionByTelephone(const std::string &telephone, uint16_t &sessionId, uint16_t &messageCount) in QuerySessionByTelephone() 222 int32_t slotId, uint16_t sessionId, const std::string &number, const std::string &text, uint16_t &dataBaseId) in InsertSmsMmsInfo() 255 bool isNewSession, uint16_t messageCount, const std::string &number, const std::string in InsertSession() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | ProgramGL.cpp | 133 using LinkImplFunctor = std::function<bool(std::string &)>; 147 const std::string &getInfoLog() { return mInfoLog; } in getInfoLog() 152 std::string mInfoLog; 155 using PostLinkImplFunctor = std::function<angle::Result(bool, const std::string &)>; 175 return mPostLinkImplFunctor(false, std::string()); 241 std::vector<std::string> transformFeedbackVaryingMappedNames; in link() 248 std::string tfVaryingMappedName = in link() 411 auto linkTask = std::make_shared<LinkTask>([this](std::string &infoLog) { in link() 412 std::string workerInfoLog; in link() 433 const std::string in link() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsFboUtil.cpp | 55 using std::string; 99 void FormatDB::addExtensionFormat (ImageFormat format, FormatFlags newFlags, const std::set<std::string>& requiredExtensions) in addExtensionFormat() 143 std::set<std::set<std::string> > FormatDB::getFormatFeatureExtensions (ImageFormat format, FormatFlags requirements) const in getFormatFeatureExtensions() 148 std::set<std::set<std::string> > ret; in getFormatFeatureExtensions() 186 static bool checkExtensionSupport (const ContextInfo& ctxInfo, const RenderContext& ctx, const std::string& extension) in checkExtensionSupport() 201 bool checkExtensionSupport (const RenderContext& ctx, const std::string& extension) in checkExtensionSupport() 207 std::string getExtensionDescription (const std::string& extension) in getExtensionDescription() 237 std::set<std::string> requiredExtensions; in addExtFormats() 241 istringstream tokenStream(string(entryI in addExtFormats() [all...] |
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | json_operate_test.cpp | 60 "\"subtypeId\",\"label\": \"$string:chinese\",\"locale\": " 62 "\"subtypeId1\",\"label\": \"$string:english\",\"locale\": " 100 std::vector<std::string> enableVec; in HWTEST_F() 108 std::vector<std::string> enableVec1; in HWTEST_F() 114 std::vector<std::string> enableVec2; in HWTEST_F() 119 std::vector<std::string> enableVec3; in HWTEST_F() 134 std::vector<std::string> enableVec; in HWTEST_F() 141 std::vector<std::string> enableVec1; in HWTEST_F() 147 std::vector<std::string> enableVec2; in HWTEST_F() 152 std::vector<std::string> enableVec in HWTEST_F() [all...] |
/base/inputmethod/imf/test/unittest/cpp_test/common/src/ |
H A D | tdd_util.cpp | 28 #include <string> 63 std::string TddUtil::currentBundleNameMock_; 111 bool isSystemApp, const std::string &bundleName, const std::vector<std::string> &premission) in AllocTestTokenID() 138 uint64_t TddUtil::GetTestTokenID(const std::string &bundleName) in GetTestTokenID() 169 int32_t TddUtil::GetUid(const std::string &bundleName) in GetUid() 191 bool TddUtil::ExecuteCmd(const std::string &cmd, std::string &result) in ExecuteCmd() 257 int TddUtil::GetUserIdByBundleName(const std::string &bundleName, const int currentUserId) in GetUserIdByBundleName() 301 void TddUtil::PushEnableImeValue(const std::string [all...] |
/base/hiviewdfx/hiview/base/event_raw/decoded/ |
H A D | decoded_event.cpp | 35 std::string TransUInt64ToFixedLengthStr(uint64_t src) in TransUInt64ToFixedLengthStr() 38 std::string uint64Str = std::to_string(src); in TransUInt64ToFixedLengthStr() 42 std::string dest(maxIdLen, '0'); in TransUInt64ToFixedLengthStr() 90 auto eventDomain = std::string(domain); in AppendBaseInfo() 102 auto eventName = std::string(name); in AppendBaseInfo() 148 std::vector<std::string> strVec; in AppendCustomizedArrayParam() 187 std::string strDecodedVal; in AppendCustomizedParam() 222 std::string DecodedEvent::AsJsonStr() in AsJsonStr() 322 const std::string& key, bool isArray) in CreateFloatingNumTypeDecodedParam() 331 const std::string in CreateSignedVarintTypeDecodedParam() [all...] |
/base/account/os_account/frameworks/osaccount/core/test/unittest/ |
H A D | os_account_mock_test.cpp | 27 const std::string STRING_EMPTY = ""; 28 const std::string STRING_NAME = "name"; 30 const std::string PHOTO_IMG = 39 const std::vector<std::string> CONSTANTS_VECTOR { 42 const std::string CONSTANT_PRINT = "constraint.print"; 44 std::string storeID = ""; 45 const std::string STRING_DOMAIN_VALID = "TestDomainUT"; 46 const std::string STRING_DOMAIN_ACCOUNT_NAME_VALID = "TestDomainAccountNameUT"; 72 string testCaseName = string(testinf in SetUp() [all...] |
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/ |
H A D | disallowed_usb_devices_plugin_test.cpp | 30 const std::string TEST_POLICY_DATA = "[{\"baseClass\":3,\"subClass\":1,\"protocol\":2,\"isDeviceType\":false}]"; 31 const std::string TEST_CURRENT_DATA = "[{\"baseClass\":8,\"subClass\":3,\"protocol\":2,\"isDeviceType\":false}]"; 98 std::string result; in HWTEST_F() 123 std::string result; in HWTEST_F() 157 std::string result; in HWTEST_F() 260 std::string result; in HWTEST_F() 324 std::string result; in HWTEST_F() 340 std::string policyData{""}; in HWTEST_F() 357 std::string policyData{TEST_POLICY_DATA}; in HWTEST_F() 374 std::string adminNam in HWTEST_F() [all...] |
/base/request/request/frameworks/native/src/ |
H A D | response_message_receiver.cpp | 23 #include <string> 137 int32_t ResponseMessageReceiver::StringFromParcel(std::string &str, char *&parcel, int32_t &size) in StringFromParcel() 157 std::map<std::string, std::vector<std::string>> &headers, char *&parcel, int32_t &size) in ResponseHeaderFromParcel() 159 std::string s(parcel, size); in ResponseHeaderFromParcel() 161 std::string line; in ResponseHeaderFromParcel() 164 std::string key; in ResponseHeaderFromParcel() 165 std::string valueLine; in ResponseHeaderFromParcel() 169 std::string value; in ResponseHeaderFromParcel() 178 std::map<std::string, st in ProgressExtrasFromParcel() [all...] |
/base/powermgr/display_manager/state_manager/frameworks/napi/ |
H A D | brightness.cpp | 39 const std::string FUNC_SUCEESS_NAME = "success";
40 const std::string FUNC_FAIL_NAME = "fail";
41 const std::string FUNC_COMPLETE_NAME = "complete";
46 const std::string SET_VALUE_ERROR_MGR = "value is not an available number";
47 const std::string GET_VALUE_ERROR_MGR = "get system screen brightness fail";
48 const std::string SET_MODE_ERROR_MGR = "value is not an available number";
49 const std::string SET_MODE_NOT_SUPPORTED_ERROR_MGR = "Auto adjusting brightness is not supported";
50 const std::string SET_KEEP_SCREENON_ERROR_MGR = "value is not an available boolean";
53 std::map<DisplayErrors, std::string> Brightness::Result::errorTable_ = {
214 void Brightness::CreateValueRef(napi_value& options, const std::string [all...] |
/base/notification/common_event_service/services/src/ |
H A D | common_event_manager_service.cpp | 41 const std::string NOTIFICATION_CES_CHECK_SA_PERMISSION = "notification.ces.check.sa.permission"; 199 std::string bundleName = ""; in PublishCommonEventDetailed() 252 std::string bundleName = ""; in SubscribeCommonEvent() 319 bool CommonEventManagerService::GetStickyCommonEvent(const std::string &event, CommonEventData &eventData) in GetStickyCommonEvent() 339 std::string bundleName = DelayedSingleton<BundleManagerHelper>::GetInstance()->GetBundleName(callingUid); in GetStickyCommonEvent() 340 const std::string permission = "ohos.permission.COMMONEVENT_STICKY"; in GetStickyCommonEvent() 352 bool CommonEventManagerService::DumpState(const uint8_t &dumpType, const std::string &event, const int32_t &userId, in DumpState() 353 std::vector<std::string> &state) in DumpState() 373 const sptr<IRemoteObject> &proxy, const int32_t &code, const std::string &receiverData, const bool &abortEvent) in FinishReceiver() 497 std::string resul in Dump() [all...] |
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_slot.cpp | 22 std::map<std::string, NotificationConstant::SlotType> NotificationSlot::convertStrToSlotType_; 59 std::string NotificationSlot::GetDescription() const in GetDescription() 64 void NotificationSlot::SetDescription(const std::string &description) in SetDescription() 69 std::string NotificationSlot::GetId() const in GetId() 200 std::string NotificationSlot::GetName() const in GetName() 205 void NotificationSlot::SetName(const std::string &name) in SetName() 294 std::string NotificationSlot::Dump() const in Dump() 467 std::string NotificationSlot::MergeVectorToString(const std::vector<int64_t> &mergeVector) const in MergeVectorToString() 469 std::string contents; in MergeVectorToString() 479 std::string NotificationSlo [all...] |
/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_sticky_test.cpp | 36 const std::string EVENT = "com.ces.test.event"; 37 const std::string EVENT2 = "com.ces.test.event2"; 38 const std::string EVENT3 = "com.ces.test.event3"; 39 const std::string EVENT4 = "com.ces.test.event4"; 40 const std::string EVENT5 = "com.ces.test.event5"; 41 const std::string EVENT6 = "com.ces.test.event6"; 42 const std::string TYPE = "com.ces.test.type"; 43 const std::string TYPE2 = "com.ces.test.type2"; 44 const std::string PERMISSION = "com.ces.test.permission"; 45 const std::string STRING_EVEN [all...] |
/base/startup/init/test/unittest/innerkits/ |
H A D | innerkits_unittest.cpp | 76 const std::string fstabFile1 = "/data/fstab.updater1"; in HWTEST_F() 79 const std::string fstabFile2 = STARTUP_INIT_UT_PATH"/mount_unitest/ReadFstabFromFile1.fstable"; in HWTEST_F() 95 const std::string fstabFile1 = STARTUP_INIT_UT_PATH"/mount_unitest/ReadFstabFromFile1.fstable"; in HWTEST_F() 100 const std::string path1 = ""; in HWTEST_F() 105 const std::string path2 = "/data"; in HWTEST_F() 110 const std::string path3 = "/data2"; in HWTEST_F() 115 const std::string path4 = "/data2/test"; in HWTEST_F() 133 const std::string fstabFile1 = STARTUP_INIT_UT_PATH"/mount_unitest/ReadFstabFromFile1.fstable"; in HWTEST_F() 138 const std::string mp1 = "/data"; in HWTEST_F() 139 const std::string mp in HWTEST_F() [all...] |
/base/startup/init/services/param/watcher/agent/ |
H A D | watcher_manager_kits.cpp | 117 WatcherManagerKits::ParamWatcher *WatcherManagerKits::GetParamWatcher(const std::string &keyPrefix) in GetParamWatcher() 142 int32_t WatcherManagerKits::AddWatcher(const std::string &keyPrefix, ParameterChangePtr callback, void *context) in AddWatcher() 176 int32_t WatcherManagerKits::DelWatcher(const std::string &keyPrefix, ParameterChangePtr callback, void *context) in DelWatcher() 275 const std::string &prefix, const std::string &name, const std::string &value) in OnParameterChange() 286 void WatcherManagerKits::ParamWatcher::OnParameterChange(const std::string &name, const std::string &value) in OnParameterChange() 301 void WatcherManagerKits::ParameterChangeListener::OnParameterChange(const std::string &name, const std::string [all...] |