/third_party/rust/crates/unicode-width/src/ |
H A D | tests.rs | 23 let string = iter::repeat('a').take(4096).collect::<String>(); in cargo() 26 for c in string.chars() { in cargo() 36 let string = iter::repeat('a').take(4096).collect::<String>(); in stdlib() 39 for c in string.chars() { in stdlib() 48 let string = iter::repeat('a').take(4096).collect::<String>(); in simple_if() 51 for c in string.chars() { in simple_if() 60 let string = iter::repeat('a').take(4096).collect::<String>(); in simple_match() 63 for c in string.chars() { in simple_match() 101 let string = std::fs::read_to_string(data_path).unwrap_or_default(); in enwik8() 102 b.iter(|| test::black_box(UnicodeWidthStr::width(string in enwik8() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_app_service_fwk_installer.cpp | 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::string VERSION_ONE_LIBRARY_ONE_PAT [all...] |
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/ |
H A D | napi_fileaccess_helper.cpp | 45 const std::string FILEACCESS_CLASS_NAME = "FileAccessHelper"; 234 const std::string procedureName = "getFileAccessAbilityInfo"; in NAPI_GetFileAccessAbilityInfo() 337 string uriString(uri.get()); in NAPI_OpenFile() 349 const std::string procedureName = "openFile"; in NAPI_OpenFile() 382 auto result = std::make_shared<string>(); in NAPI_CreateFile() 388 string uriString(uri.get()); in NAPI_CreateFile() 389 string name(displayName.get()); in NAPI_CreateFile() 392 std::string newFile = ""; in NAPI_CreateFile() 404 const std::string procedureName = "createFile"; in NAPI_CreateFile() 439 auto result = std::make_shared<string>(); in NAPI_Mkdir() [all...] |
/third_party/googletest/googlemock/test/ |
H A D | gmock-more-actions_test.cc | 44 #include <string> 54 using ::std::string; 78 bool ByConstRef(const std::string& s) { return s == "Hi"; } in ByConstRef() 113 std::string Concat7(const char* s1, const char* s2, const char* s3, in Concat7() 116 return std::string(s1) + s2 + s3 + s4 + s5 + s6 + s7; in Concat7() 119 std::string Concat8(const char* s1, const char* s2, const char* s3, in Concat8() 122 return std::string(s1) + s2 + s3 + s4 + s5 + s6 + s7 + s8; in Concat8() 125 std::string Concat9(const char* s1, const char* s2, const char* s3, in Concat9() 128 return std::string(s1) + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9; in Concat9() 131 std::string Concat1 [all...] |
/third_party/json/tests/src/ |
H A D | unit-deserialization.cpp | 51 bool number_float(json::number_float_t /*val*/, const std::string& s) override 57 bool string(std::string& val) override 59 events.push_back("string(" + val + ")"); 65 std::string binary_contents = "binary("; 66 std::string comma_space; 91 bool key(std::string& val) override 122 bool parse_error(std::size_t position, const std::string& /*last_token*/, const json::exception& /*ex*/) override 128 std::vector<std::string> events {}; 149 bool key(std::string [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract.h | 55 std::string value; 56 std::string icon; 67 OptionParam(const std::string &valueParam, const std::string &iconParam, const std::function<void()> &actionParam) in OptionParam() 70 OptionParam(const std::string &valueParam, const std::string &iconParam, bool enabledParam, in OptionParam() 74 OptionParam(const std::string &valueParam, const std::function<void()> &actionParam) in OptionParam() 77 OptionParam(const std::string& valueParam, const std::string& iconParam, in OptionParam() 81 OptionParam(const std::string in OptionParam() [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/json/ |
H A D | json.h | 23 #include <base/containers/string.h> 33 using writable_string_t = BASE_NS::string; 42 string, member in json::type 50 /** Tag for JSON values which contain read-only strings. The source JSON string must be kept alive until the parsing 55 * JSON string.*/ 61 /** JSON structure which contains read-only strings. The source JSON string must be kept alive until the parsing 66 * the parser, the source string doesn't need to be stored while the instance is used.*/ 70 * @param data JSON as a null terminated string. 76 /** Converts a JSON structure into a string. 78 * @return JSON as string 250 new (&string_) string(BASE_NS::move(rhs.string_)); global() variable 286 new (&string_) string(BASE_NS::move(rhs.string_)); global() variable [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/ |
H A D | distributeddb_data_generator.cpp | 23 std::string cntStr = std::to_string(keyNo); in GenerateRecord() 62 void GenerateFixedLenRandString(unsigned int neededLen, RandType randType, std::string &genString) in GenerateFixedLenRandString() 83 std::string cntStr = std::to_string(keyNo); in GenerateRandRecord() 113 std::string cntStr = std::to_string(keyNo); in GenerateLongRecord() 136 std::string cntStr = std::to_string(keyNo); in GenerateMaxBigRecord() 219 std::string serialNoStr = std::to_string(serialNo); in GenerateFixedLenKVRecord() 234 std::string cntStr = std::to_string(cnt); in GenerateFixedRecords() 254 std::string ind = std::to_string(entryNo); in GenerateOneRecordForImage() 287 std::string recNo = std::to_string(recordNo); in GenerateAppointPrefixAndSizeRecord() 342 std::string cntSt in GenerateFixedLenRandRecords() [all...] |
/foundation/distributedhardware/device_manager/services/service/src/softbus/ |
H A D | softbus_listener.cpp | 71 static std::map<std::string, 73 static std::map<std::string, std::shared_ptr<ISoftbusDiscoveringCallback>> lnnOpsCbkMap; 74 static std::set<std::string> deviceIdSet; 78 std::string SoftbusListener::hostName_ = ""; 150 void SoftbusListener::DeviceNotTrust(const std::string &msg) in DeviceNotTrust() 156 void SoftbusListener::DeviceTrustedChange(const std::string &msg) in DeviceTrustedChange() 168 void SoftbusListener::CredentialAuthStatusProcess(std::string deviceList, uint16_t deviceTypeId, int32_t errcode) in CredentialAuthStatusProcess() 182 std::string deviceListStr; in OnCredentialAuthStatus() 184 deviceListStr = std::string(deviceList, deviceListLen); in OnCredentialAuthStatus() 252 std::string peerUdi in OnSoftbusDeviceOnline() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineInterfaceMatchingTests.cpp | 428 std::string glslType; 431 std::string components[4]; 436 std::string namePart; 437 std::string glslDecoration; 438 std::string glslComponent; 449 typedef std::map<std::string, std::string> SpecializationMap; 451 std::string genOutAssignment (const std::string& variableName, const VecData& outVecData) const; 452 std::string genInVerificatio [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineInterfaceMatchingTests.cpp | 426 std::string glslType; 429 std::string components[4]; 434 std::string namePart; 435 std::string glslDecoration; 436 std::string glslComponent; 447 typedef std::map<std::string, std::string> SpecializationMap; 449 std::string genOutAssignment (const std::string& variableName, const VecData& outVecData) const; 450 std::string genInVerificatio [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/include/ |
H A D | continue_scene_session_handler.h | 19 #include <string> 31 void UpdateContinueSessionId(const std::string& bundleName, const std::string& abilityName); 32 std::string GetContinueSessionId() const; 36 std::string continueSessionId_;
|
/foundation/ability/form_fwk/interfaces/inner_api/include/ |
H A D | form_instances_filter.h | 19 #include <string> 25 std::string bundleName; 26 std::string formName; 27 std::string moduleName; 28 std::string abilityName;
|
/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | string_builder.h | 19 #include <string> 29 StringBuilder& Append(const char* string); 31 StringBuilder& Append(const std::string& string); 35 std::string ToString() const;
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/ |
H A D | ierror_observer.h | 19 #include <string> 24 std::string name; 25 std::string message; 26 std::string stack; 38 virtual void OnUnhandledException(std::string errMsg) = 0;
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
H A D | caller_info.h | 19 #include <string> 31 std::string deviceId; 32 std::string bundleName; 33 std::string abilityName; 34 std::string moduleName;
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | router_recover_record.h | 19 #include <string> 23 std::string url; 24 std::string params; 28 RouterRecoverRecord(const std::string& url, const std::string& params, bool isNamedRouter) in RouterRecoverRecord()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bundle_resource/ |
H A D | bundle_resource_image_info.h | 19 #include <string> 29 bool ConvertToBase64(const std::unique_ptr<uint8_t[]> originalData, const size_t length, std::string &imageInfo); 32 bool ConvertToString(const std::shared_ptr<Media::PixelMap> pixelMap, std::string &imageInfo); 35 bool EncodeBase64(const std::string &originalData, std::string &dstData);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_scanner.h | 21 #include <string> 35 const std::list<std::string> &Scan(const std::string &dirPath); 43 bool ScanImpl(const std::string &dirPath); 46 std::list<std::string> entries_;
|
H A D | bms_param.h | 34 bool GetBmsParam(const std::string &key, std::string &value); 41 bool SaveBmsParam(const std::string ¶mKeyInfo, const std::string ¶mValueInfo); 48 bool DeleteBmsParam(const std::string &key);
|
/foundation/bundlemanager/bundle_framework/common/log/src/ |
H A D | app_log_wrapper.cpp | 29 std::string AppLogWrapper::GetBriefFileName(const char *str) in GetBriefFileName() 32 return std::string(); in GetBriefFileName() 34 std::string fullPath(str); in GetBriefFileName() 36 if (pos == std::string::npos) { in GetBriefFileName() 37 return std::string(); in GetBriefFileName()
|
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_hitrace.h | 20 #include <string> 27 static void BluetoothStartSyncTrace(const std::string& value); 28 static void BluetoothFinishSyncTrace(const std::string& value); 29 static void BluetoothStartAsyncTrace(const std::string& value, int32_t taskId); 30 static void BluetoothFinishAsyncTrace(const std::string& value, int32_t taskId);
|
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/include/ |
H A D | event_report.h | 19 #include <string> 33 std::string deviceID; 34 std::string bundleName; 35 std::string localeInfo; 36 std::string abilityName;
|
/foundation/bundlemanager/bundle_tool/frameworks/include/ |
H A D | quick_fix_command.h | 27 static int32_t ApplyQuickFix(const std::vector<std::string> &quickFixFiles, std::string &resultInfo, 29 static int32_t GetApplyedQuickFixInfo(const std::string &bundleName, std::string &resultInfo); 30 static std::string GetQuickFixInfoString(const AAFwk::ApplicationQuickFixInfo &quickFixInfo);
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | hap_sign_verify.h | 30 #include <string> 35 std::string appId; 36 std::string provisionBundleName; 37 std::vector<std::string> restrictedPermissions; 42 static uint8_t VerifySignature(const std::string &hapFilepath, SignatureInfo &signatureInfo);
|