• Home
  • Raw
  • Download

Lines Matching +refs:po +refs:mark +refs:bash +refs:string

652  #include <string>
663 @@ -36,11 +37,17 @@ int GetIntParam(const std::vector<std::string>& params, int index) {
670 std::vector<std::string> params;
674 + std::vector<std::string> params;
693 #include <string>
971 const std::string& cpu_brand() const { return cpu_brand_; }
1073 +bool EndsWith(const std::string& s, const std::string& suffix) {
1138 + // So, now, we reverse the string (except for the possible "-" sign).
1262 + std::string backtrace = ToStringWithPrefix(prefix_string);
1275 + std::string proc_maps;
1564 // The Android system may truncate the string if it's too long.
2272 @@ -307,7 +308,8 @@ Process LaunchProcess(const std::vector<std::string>& argv,
2366 #include <string>
2624 @@ -48,7 +48,8 @@ BASE_EXPORT std::string SystemErrorCodeToString(int error_code) {
2917 +/* Define to 1 if you have the <string.h> header file. */
3195 +/* Define to 1 if you have the <string.h> header file. */
3475 +std::string GetStringFromArgs(const char* name,
3479 + std::string str(name);
3492 +std::string GetStringFromArgs(const char* name,
3498 + std::string str(name);
3837 +std::string GetStringFromArg(const BytraceArg& arg) {
3851 +std::string GetStringWithArgs(const std::string& name) {
3855 +void StartBytrace(const std::string& value) {
3867 +void StartAsyncBytrace(const std::string& value, int32_t taskId) {
3873 +void FinishAsyncBytrace(const std::string& value, int32_t taskId) {
3879 +void CountBytrace(const std::string& name, int64_t count) {
3885 +ScopedBytrace::ScopedBytrace(const std::string& proc) : proc_(proc) {
3920 +#include <string>
3942 +std::string GetStringFromArg(const BytraceArg& arg);
3943 +std::string GetStringWithArgs(const std::string& name);
3946 +std::string GetStringWithArgs(const std::string& name,
3957 +std::string GetStringWithArgs(const std::string& name,
3971 +void StartBytrace(const std::string& value);
3973 +void StartAsyncBytrace(const std::string& value, int32_t taskId);
3974 +void FinishAsyncBytrace(const std::string& value, int32_t taskId);
3975 +void CountBytrace(const std::string& name, int64_t count);
3979 + ScopedBytrace(const std::string& proc);
3983 + std::string proc_;
4047 // The compiler thinks std::string::const_iterator and "const char*" are
5930 - "//cef/tools/cef_version.py", [ "plist" ], "trim string", [])
5932 + exec_script("//cef/tools/cef_version.py", [ "plist" ], "trim string", [])
5936 - "//cef/tools/cef_version.py", [ "dylib" ], "trim string", [])
5938 + exec_script("//cef/tools/cef_version.py", [ "dylib" ], "trim string", [])
8527 + // The resulting string must be freed by calling cef_string_userfree_free().
8564 + // The resulting string must be freed by calling cef_string_userfree_free().
8685 + // Execute a string of JavaScript code, return result by callback
9213 +// Convert string cookie to CefCookie. The function will return true (1) when
9231 + // them into one string line. The string cookie line will be passed into this
9679 + // The resulting string must be freed by calling cef_string_userfree_free().
10592 + // Execute a string of JavaScript code, return result by callback
10935 + // Convert string cookie to CefCookie. The method will return true when
11001 + // them into one string line. The string cookie line will be passed into this
12581 +#include <string>
12633 +std::map<std::string, AlloyCert> AlloyClientCertLookupTable::certs_;
12634 +std::set<std::string> AlloyClientCertLookupTable::denieds_;
12641 +bool AlloyClientCertLookupTable::IsDenied(const std::string& host, int port) {
12642 + std::string host_port = HostAndPort(host, port);
12650 +void AlloyClientCertLookupTable::Allow(const std::string& host,
12652 + const std::string& private_key,
12653 + const std::string& cert_chain) {
12654 + std::string host_port = HostAndPort(host, port);
12660 +void AlloyClientCertLookupTable::Deny(const std::string& host, int port) {
12661 + std::string host_port = HostAndPort(host, port);
12666 +bool AlloyClientCertLookupTable::GetCertData(const std::string& host,
12669 + std::string host_port = HostAndPort(host, port);
12678 +std::string AlloyClientCertLookupTable::HostAndPort(const std::string& host,
12709 +#include <string>
12715 + AlloyCert(const std::string& private_key, const std::string& cert_chain)
12722 + std::string private_key_;
12724 + std::string cert_chain_;
12735 + static void Allow(const std::string& host,
12737 + const std::string& private_key,
12738 + const std::string& cert_chain);
12740 + static void Deny(const std::string& host, int port);
12742 + static bool GetCertData(const std::string& host, int port, AlloyCert& cert);
12744 + static bool IsDenied(const std::string& host, int port);
12746 + static std::string HostAndPort(const std::string& host, int port);
12749 + static std::map<std::string, AlloyCert> certs_;
12750 + static std::set<std::string> denieds_;
12823 +void TransferVector(const std::vector<std::string>& source,
12829 + std::vector<std::string>::const_iterator it = source.begin();
12845 + const std::string& host,
12905 + void DoSelect(const std::string& private_key_file,
12906 + const std::string& cert_chain_file) {
12926 + const std::string& host,
12942 + const std::string& host,
12972 + const std::string& private_key_file,
12973 + std::string& pkcs8) {
12997 + const std::string& private_key_file,
12998 + const std::string& cert_chain_file,
12999 + const std::string& host,
13005 + std::string cert_data;
13010 + LOG(ERROR) << "RunSelectNow: read cert file to string failed";
13047 + std::string prikey_data;
13052 + LOG(ERROR) << "RunSelectNow: private key file to string failed";
13066 + std::string host_;
13078 const std::string& process_type) {
13082 const std::string& process_type =
13110 + std::string host = cert_request_info->host_and_port.host();
13134 + std::vector<std::string> key_types;
13343 @@ -1463,6 +1764,12 @@ std::string AlloyContentBrowserClient::GetReducedUserAgent() {
13455 std::string GetProduct() override;
13456 std::string GetChromeProduct() override;
13457 std::string GetUserAgent() override;
13460 std::string GetReducedUserAgent() override;
13462 base::flat_set<std::string> GetPluginMimeTypesWithExternalHandlers(
13539 + std::string GetProviderName() override { return "EVP_PKEY"; }
14340 +const std::string WEB_ARCHIVE_EXTENSION = ".mht";
14345 + std::string file_name = url.ExtractFileName();
14350 + std::string test_name =
14431 +// copy settings string params
14527 + std::vector<std::string> method_vector;
14539 + std::vector<std::string> method_vector;
14597 + std::string jscode("{if(document.fullscreenElement){document.exitFullscreen()}}");
14734 + std::string update_locale = locale.ToString();
14741 + std::string origin_locale =
14747 + std::string result =
14803 + std::string origin,
14813 +void CefBrowserHostBase::OnGeolocationShow(std::string origin) {
14844 +void CefBrowserHostBase::RemoveGeolocationPrompt(std::string origin) {
14907 void CefBrowserHostBase::ViewText(const std::string& text) {
14968 + std::string msg = message.empty() ? "" : message.ToString();
14969 + std::string uri = targetUri.empty() ? "" : targetUri.ToString();
15089 + std::string pointer0 = portHandle.ToString();
15198 +bool CefBrowserHostBase::IsBase64Encoded(std::string encoding) {
15202 +std::string CefBrowserHostBase::GetDataURI(const std::string& data) {
15228 + std::string dataBase = data.empty() ? "" : data;
15229 + std::string mimeTypeBase = mimeType.empty() ? "text/html" : mimeType;
15230 + std::string url = baseUrl.empty() ? "about:blank" : baseUrl;
15231 + std::string historyUrlBase = historyUrl.empty() ? "about:blank" : historyUrl;
15233 + std::string buildData = "data:";
15271 + std::string dataBase = data.empty() ? "" : data;
15272 + std::string mimeTypeBase = mimeType.empty() ? "text/html" : mimeType;
15274 + std::string buildData = "data:";
15305 + std::string json;
15587 + void PopupGeolocationPrompt(std::string origin,
15589 + void RemoveGeolocationPrompt(std::string origin);
15590 + void OnGeolocationShow(std::string origin);
15601 void ViewText(const std::string& text);
15607 + bool IsBase64Encoded(std::string encoding);
15608 + std::string GetDataURI(const std::string& data);
15652 + typedef std::pair<std::string, cef_permission_callback_t> OriginCallback;
15660 + std::set<std::string> postedPorts_;
15661 + std::unordered_map<std::string, scoped_refptr<base::SequencedTaskRunner>>
15663 + std::unordered_map<std::string, std::shared_ptr<WebMessageReceiverImpl>>
16053 + base::BindOnce([](const std::string& locale,
16114 + std::string url,
16223 + void OnGetImageFromCache(std::string url,
16651 + const std::string& object_name,
16652 + const std::vector<std::string>& method_list) {
16660 + std::unordered_set<std::string> method_set = it->second.second;
16661 + for (std::string method : method_list) {
16671 + std::unordered_set<std::string> method_set;
16672 + for (std::string s : method_list) {
16691 + const std::string& object_name,
16692 + const std::vector<std::string>& method_list) {
16713 + const std::string copied_name(object_name);
16732 + std::set<std::string>* returned_method_names) {
16746 + const std::string& method_name,
16801 + const std::string& method_name,
16818 + std::string method = method_name;
16819 + std::string classname = object_pair.first;
16868 + void AddNamedObject(const std::string& classname,
16869 + const std::vector<std::string>& method_list);
16870 + void RemoveNamedObject(const std::string& classname,
16871 + const std::vector<std::string>& method_list);
16883 + std::set<std::string>* returned_method_names);
16885 + const std::string& method_name,
16889 + const std::string& method_name,
16899 + typedef std::map<ObjectID, std::string> ObjectMap;
16907 + using MethodPair = std::pair<std::string, std::unordered_set<std::string>>;
17067 + std::set<std::string>* returned_method_names) {
17072 + *returned_method_names = std::set<std::string>();
17078 + const std::string& method_name,
17090 + const std::string& method_name,
17183 + std::set<std::string>* returned_method_names);
17185 + const std::string& method_name,
17188 + const std::string& method_name,
17468 + const std::string& object_name,
17469 + const std::vector<std::string> method_list) {
17475 + const std::string& object_name,
17476 + const std::vector<std::string> method_list) {
17514 + void AddInterface(const std::string& object_name,
17515 + const std::vector<std::string> method_list);
17516 + void RemoveInterface(const std::string& object_name,
17517 + const std::vector<std::string> method_list);
17628 +void TransferVector(const std::vector<std::string>& source,
17634 + std::vector<std::string>::const_iterator it = source.begin();
17682 + std::vector<std::string> result;
17780 + std::vector<std::string> result;
17861 +void CacheHostName(const std::string& hostname) {
17871 +net::AddressList GetAddrList(const std::string& hostname) {
17885 + ? absl::optional<std::string>(std::string(addrInfo->ai_canonname))
17886 + : absl::optional<std::string>();
17888 + std::vector<std::string> aliases({*canonical_name});
17917 +void CacheHostName(const std::string& hostname);
17919 +net::AddressList GetAddrList(const std::string& hostname);
18009 + std::string cookie_line = net::CanonicalCookie::BuildCookieLine(cookies);
18695 + std::string header_name, header_value;
18702 + std::string mime_type;
18703 + std::string encoding;
19057 +#include <string>
19174 + const std::string& cookie,
19254 +#include <string>
19305 + const std::string& cookie,
21381 +std::string AlloyGeolocationAccess::GetOriginKey(std::string& origin) {
21397 +#include <string>
21417 + std::string GetOriginKey(std::string& origin);
21418 + const std::string pref_prefix_ = "AlloyGeolocationAccess%";
21437 +#include <string>
22495 + std::vector<std::string> origin_;
22782 + const std::vector<std::string>& origin,
22792 + std::string res;
22866 + base::OnceCallback<void(const std::vector<std::string>&,
22884 + const std::vector<std::string>& origin,
22991 std::string locale = command_line->GetSwitchValueASCII(switches::kLang);
23185 + std::string /* name */,
23189 + std::string /* name */)
23193 + std::set<std::string> /* returned_method_names */)
23199 + std::string /* method_name */,
23204 + std::string /* method_name */,
23468 + string image_extension;
23475 + string extra_data_for_type;
23490 + UpdateLocale(string locale);
23751 + const std::string& http_method,
23752 + std::string* error_html) override;
23755 + const std::string& http_method,
23757 + std::string* error_html) override;
24065 +const std::string kAddressPrefix = "geo:0,0?q=";
24066 +const std::string kEmailPrefix = "mailto:";
24067 +const std::string kPhoneNumberPrefix = "tel:";
24194 + std::string image_extension;
24253 +bool CefFrameImpl::RemovePrefixAndAssignIfMatches(const std::string prefix,
24255 + std::string* dest) {
24317 +void CefFrameImpl::UpdateLocale(const std::string& locale) {
24323 + std::string origin_locale =
24329 + std::string result =
24378 + void UpdateLocale(const std::string& locale) override;
24385 + bool RemovePrefixAndAssignIfMatches(const std::string prefix,
24387 + std::string* dest);
24462 +void OhGinJavascriptBridgeDispatcher::OnAddNamedObject(const std::string& name,
24470 + const std::string& name) {
24482 + std::set<std::string>* methods) {
24489 + const std::string& method_name) {
24500 + const std::string& method_name,
24587 + void GetJavascriptMethods(ObjectID object_id, std::set<std::string>* methods);
24588 + bool HasJavascriptMethod(ObjectID object_id, const std::string& method_name);
24592 + const std::string& method_name,
24603 + void OnAddNamedObject(const std::string& name, ObjectID object_id);
24604 + void OnRemoveNamedObject(const std::string& name);
24606 + typedef std::map<std::string, ObjectID> NamedObjectMap;
24643 + const std::string& object_name,
24709 + const std::string& property) {
24710 + std::map<std::string, bool>::iterator method_pos =
24728 +std::vector<std::string> OhGinJavascriptBridgeObject::EnumerateNamedProperties(
24730 + std::set<std::string> method_names;
24733 + return std::vector<std::string>(method_names.begin(), method_names.end());
24738 + const std::string& name) {
24802 + const std::string& property) override;
24803 + std::vector<std::string> EnumerateNamedProperties(
24809 + const std::string& object_name,
24825 + const std::string& name);
24830 + std::map<std::string, bool> known_methods_;
24831 + v8::StdGlobalValueMap<std::string, v8::FunctionTemplate> template_cache_;
25108 + const std::string& method_name,
25216 + const std::string& method_name,
25229 + std::string method_name_;
25286 std::string safe_strerror(int err) {
25327 + // Return type: string
25835 + // Return type: string
25948 + // Return type: string
30113 + // Return type: string
30631 + // Return type: string
30756 + // Return type: string
36281 std::string GetMacAddress(IsValidMacAddressCallback is_valid_mac_address) {
36289 @@ -169,6 +171,10 @@ std::string GetMacAddress(IsValidMacAddressCallback is_valid_mac_address) {
36522 const std::string& serialized_report) override {
36570 const std::vector<std::string>& allowlist_domains) {
36705 const std::vector<std::string>& allowlist_domains)>
36940 - const std::vector<std::string>& keys) {
37017 - const std::vector<std::string>& keys);
37123 const std::vector<std::string>& keys) {
37183 - value_store::ValueStore::ReadResult Get(const std::vector<std::string>& keys);
37188 + const std::vector<std::string>& keys);
37207 @@ -1607,8 +1607,10 @@ void DevToolsWindow::ShowCertificateViewer(const std::string& cert_chain) {
37348 // Converts DownloadDangerType into their corresponding string.
37646 for (const std::string& entry : data_.text)
37655 std::string tag;
37662 profile_, url_, "Text data", std::string(), "text/plain",
37681 std::string tag;
37711 std::string tag;
37730 std::string full_text;
37731 for (const std::string& text : data_.text)
37808 @@ -460,6 +460,7 @@ absl::optional<std::string> ConnectorsService::GetDMTokenForRealTimeUrlCheck()
37843 absl::optional<std::string> GetDMTokenForRealTimeUrlCheck() const;
37883 @@ -262,10 +266,12 @@ std::vector<std::string> ContextInfoFetcher::GetAnalysisConnectorProviders(
37894 std::vector<std::string> ContextInfoFetcher::GetOnSecurityEventProviders() {
37898 std::vector<std::string> ContextInfoFetcher::GetDnsServers() {
37899 std::vector<std::string> dns_addresses;
37914 #include <string>
37929 std::vector<std::string> on_file_downloaded_providers;
37930 std::vector<std::string> on_bulk_data_entry_providers;
37931 std::vector<std::string> on_security_event_providers;
37935 std::string browser_version;
37949 std::vector<std::string> GetAnalysisConnectorProviders(
37956 std::vector<std::string> GetOnSecurityEventProviders();
38030 std::string* error) {
38055 [](const Extension& extension, Profile* profile, std::string* error,
38066 std::string type = host->GetType();
38067 std::string target_type = kTargetTypeOther;
38094 const std::string& expected_error);
38097 + const std::string& expected_error);
38103 const GURL& url, const std::string& expected_error) {
38113 + const std::string& expected_error) {
38116 std::string debugee_by_tab = base::StringPrintf("{\"tabId\": %d}", tab_id);
38291 @@ -101,6 +102,7 @@ std::string MalwareRuleToThreatType(const std::string& rule_name) {
38297 bool IsClientValid(const std::string& dm_token,
38403 const std::string& malware_category,
38404 const std::string& evidence_locker_filepath,
38405 const std::string& scan_id) {
38491 const std::string& reason,
38530 const std::string& mime_type,
38531 const std::string& scan_id,
38560 std::string SafeBrowsingPrivateEventRouter::GetProfileUserName() const {
38925 void BlocklistStateFetcher::Request(const std::string& id,
38932 @@ -53,7 +54,7 @@ void BlocklistStateFetcher::Request(const std::string& id,
38948 const std::string& code) const {
38971 const std::string& extension_id,
38979 void ExtensionService::OnGreylistStateRemoved(const std::string& extension_id) {
38995 void RemoveDisableReasonAndMaybeEnable(const std::string& extension_id,
39000 void PerformActionBasedOnOmahaAttributes(const std::string& extension_id,
39012 const std::string& extension_id,
39052 std::string GenerateLastPickedDirectoryKey(const std::string& id) {
39106 std::string brand;
39570 const std::string& username,
39998 @@ -73,7 +73,7 @@ std::vector<std::string> GetAggregatedSelectors(
40071 const std::vector<std::string>& aggregated_selectors) {
40127 std::vector<std::string>,
40157 std::string selector,
40560 + const std::string no_op_script = "// No-op script";
41960 const std::string enterprise_manager =
42330 std::set<std::string> file_handler_extensions;
42331 std::set<std::string> file_handler_mime_types;
42332 std::set<std::string> protocol_handlers;
42348 const std::string script = "share_multiple_files()";
42506 @@ -185,10 +186,11 @@ void ShareServiceImpl::Share(const std::string& title,
42526 #include <string>
42543 void Share(const std::string& title,
42549 #include <string>
42561 - ShareError ShareGeneratedFileData(const std::string& extension,
42563 const std::string& content_type,
42570 - const std::string name =
42591 - blink::mojom::SharedFilePtr CreateSharedFile(const std::string& name,
42592 - const std::string& content_type,
42596 + const std::string& content_type,
42598 const std::string uuid = base::GenerateGUID();
42784 - blink::mojom::SharedFilePtr CreateSharedFile(const std::string& name,
42785 - const std::string& content_type,
42786 - const std::string& contents) {
42789 + const std::string& content_type,
42790 + const std::string& contents) {
42792 const std::string uuid = base::GenerateGUID();
42821 std::string(kMaxSharedFileBytesForTest, '*')));
42830 std::string(kMaxSharedFileBytesForTest + 1, '*')));
42839 std::string(kMaxSharedFileBytesForTest / 2, '*')));
42843 std::string(kMaxSharedFileBytesForTest / 2, '*')));
42852 std::string(kMaxSharedFileBytesForTest / 2, '*')));
42856 std::string((kMaxSharedFileBytesForTest / 2) + 1, '*')));
42926 @@ -107,7 +107,7 @@ std::string GetChannelSuffixForDataDir();
42934 std::string GetDesktopName(base::Environment* env);
42939 @@ -93,7 +93,7 @@ std::string GetChannelSuffixForDataDir() {
42945 std::string GetDesktopName(base::Environment* env) {
43798 void CrashWithoutDumping(const std::string& message) {
43821 const std::map<std::string, std::string>& override_annotations = {});
43828 void CrashWithoutDumping(const std::string& message);
43885 @@ -409,7 +409,7 @@ std::string GetFullUserAgent(
43887 std::string product =
44751 #include <string>
44869 #include <string>
44901 std::string WeightedString::ToString() const {
44961 @@ -273,6 +273,7 @@ std::string OSCrypt::GetRawEncryptionKey() {
44969 @@ -296,3 +297,4 @@ void OSCrypt::SetEncryptionPasswordForTesting(const std::string& password) {
45043 std::string GetMachineName() {
45313 @@ -113,6 +113,8 @@ std::string GetPlatformString() {
45425 + std::string process_type =
45583 + const std::vector<std::string> argv_str = command_line()->argv();
45779 suggested_name, std::string(), std::string());
45967 u"", std::vector<std::string>({}),
45968 std::vector<std::string>(
46058 const std::string& hash,
46079 const std::string& hash,
46136 const std::string& presentation_id,
46261 + const std::string user_agent = GetContentClient()->browser()->GetUserAgent();
46776 +void RenderFrameHostImpl::GetImageFromCache(const std::string& url,
46816 + void GetImageFromCache(const std::string& url,
47059 + const std::string& utterance,
47060 + const std::string& lang,
47247 +void WebContentsImpl::PostWebMessage(std::string& message,
47249 + std::string& targetUri) {
47265 std::string touch_enabled_default_switch =
47271 const std::string touch_enabled_switch =
47358 + void PostWebMessage(std::string& message,
47360 + std::string& targetUri) override;
47559 // Build a single string which consists of all the arguments separated
47571 + const std::string& process_type =
47619 virtual void ProcessExiting(const std::string& process_type) {}
47713 + virtual void GetImageFromCache(const std::string& url,
47771 + virtual void PostWebMessage(std::string& message,
47773 + std::string& targetUri) = 0;
47783 @@ -49,7 +49,7 @@ std::string GetCorsExemptRequestedWithHeaderName() {
47798 CONTENT_EXPORT std::string GetCorsExemptRequestedWithHeaderName();
48007 const std::string& presentation_id,
48740 const std::string& process_type,
48963 @@ -122,6 +123,7 @@ void UpdateService::OnEvent(Events event, const std::string& extension_id) {
48971 @@ -129,6 +131,7 @@ void UpdateService::OnEvent(Events event, const std::string& extension_id) {
49310 static std::string GenerateUniqueRandomChannelID();
49356 @@ -349,7 +349,7 @@ void ParamTraits<unsigned int>::Log(const param_type& p, std::string* l) {
49363 void ParamTraits<long>::Log(const param_type& p, std::string* l) {
49476 + const std::string& device_id,
49483 + const std::string& device_id,
49491 + const std::string& device_id,
49498 + const std::string& output_device_id,
49545 + const std::string& device_id,
49549 + const std::string& device_id,
49553 + const std::string& device_id,
49558 + const std::string& output_device_id,
50055 + const std::string& user_agent,
50377 +int32_t OHOSMediaPlayerBridge::SetFdSource(const std::string& path) {
50458 + const std::string& user_agent,
50484 + int32_t SetFdSource(const std::string& path);
50490 + const std::string surfaceFormat = "SURFACE_FORMAT";
50778 @@ -33,6 +33,10 @@ std::string GetRendererName(RendererType renderer_type) {
51107 const std::string& audio_device_id,
51128 const std::string& presentation_id,
51423 #include <string>
51718 +#include <string>
51753 + std::vector<std::string>* chain_bytes) {
51814 +int CertVerify(const std::vector<std::string>& cert_bytes) {
51955 +void X509CertChainVerify(const std::vector<std::string>& cert_chain,
51960 + std::vector<std::string>* verified_chain) {
51976 + const std::string& hostname,
51978 + std::vector<std::string>* verified_chain) {
51979 + std::vector<std::string> cert_bytes;
51985 + std::vector<std::string> candidate_verified_chain;
51997 +int TryVerifyWithAIAFetching(const std::vector<std::string>& cert_bytes,
51998 + const std::string& hostname,
52001 + std::vector<std::string>* verified_chain) {
52091 +bool VerifyFromOhosTrustManager(const std::vector<std::string>& cert_bytes,
52092 + const std::string& hostname,
52096 + std::vector<std::string> verified_chain;
52191 + const std::string& hostname,
52192 + const std::string& ocsp_response,
52193 + const std::string& sct_list,
52199 + std::vector<std::string> cert_bytes;
52252 + const std::string& hostname,
52253 + const std::string& ocsp_response,
52254 + const std::string& sct_list,
52316 + // The prefix matches, now check if the value string contains a subsequent
52669 +absl::optional<HostCache::Entry> ServeFromPreDns(const std::string& hostname) {
52696 + const std::string cache_host_name(GetHostname(job_key.host));
52731 @@ -176,8 +176,8 @@ int SystemHostResolverCall(const std::string& host,
53190 +```bash
53236 +#include <string>
53251 + std::string dump_path = "";
53253 + std::list<std::string> web_engine_args_to_add;
53254 + std::list<std::string> web_engine_args_to_delete;
53322 + * @return title string for the current page.
53324 + virtual int Load(const std::string& url) const = 0;
53399 + * @param code string: javascript code
53406 + virtual void ExecuteJavaScript(const std::string& code) const = 0;
53410 + * @param code string: javascript code
53416 + const std::string& code,
53417 + std::shared_ptr<NWebValueCallback<std::string>> callback) const = 0;
53481 + * @return title string for the current page.
53483 + virtual std::string Title() = 0;
53519 + std::string& url,
53520 + std::map<std::string, std::string> additionalHttpHeaders) = 0;
53539 + virtual int LoadWithDataAndBaseUrl(const std::string& baseUrl,
53540 + const std::string& data,
53541 + const std::string& mimeType,
53542 + const std::string& encoding,
53543 + const std::string& historyUrl) = 0;
53554 + virtual int LoadWithData(const std::string& data,
53555 + const std::string& mimeType,
53556 + const std::string& encoding) = 0;
53565 + const std::string& object_name,
53566 + const std::vector<std::string>& method_list) = 0;
53575 + const std::string& object_name,
53576 + const std::vector<std::string>& method_list) = 0;
53599 + * @param searchStr String: target string to find.
53601 + virtual void FindAllAsync(const std::string& searchStr) const = 0;
53627 + const std::string& baseName,
53629 + std::shared_ptr<NWebValueCallback<std::string>> callback) const = 0;
53636 + virtual void CreateWebMessagePorts(std::vector<std::string>& ports) = 0;
53645 + virtual void PostWebMessage(std::string& message, std::vector<std::string>& ports, std::string
53652 + virtual void ClosePort(std::string& portHandle) = 0;
53660 + virtual void PostPortMessage(std::string& portHandle, std::string& data) = 0;
53668 + virtual void SetPortMessageCallback(std::string& portHandle,
53669 + std::shared_ptr<NWebValueCallback<std::string>> callback) = 0;
53683 + virtual std::string GetUrl() const = 0;
53696 + virtual void UpdateLocale(const std::string& language, const std::string& region) = 0;
53725 +#include <string>
53749 + virtual std::string Origin() = 0;
53802 +#include <string>
53818 + std::string message,
53820 + std::string sourceId)
53842 + const std::string& Log() const {
53860 + const std::string& SourceId() const {
53866 + std::string log_;
53868 + std::string sourceId_;
53899 +#include <string>
53946 + virtual std::string GetLinkUrl() = 0;
53948 + virtual std::string GetUnfilteredLinkUrl() = 0;
53950 + virtual std::string GetSourceUrl() = 0;
53954 + virtual std::string GetTitleText() = 0;
53956 + virtual std::string GetPageUrl() = 0;
54040 +#include <string>
54084 +#include <string>
54140 + virtual void ReturnCookie(const std::string &url,
54141 + std::shared_ptr<NWebValueCallback<std::string>> callback) = 0;
54148 + virtual std::string ReturnCookie(const std::string &url) = 0;
54153 + * @param value the cookie as a string, using the format of the 'Set-Cookie' HTTP response hea…
54156 + virtual void SetCookie(const std::string &url,
54157 + const std::string &value,
54163 + * @param value the cookie as a string, using the format of the 'Set-Cookie' HTTP response hea…
54166 + virtual int SetCookie(const std::string &url,
54167 + const std::string &value) = 0;
54236 +#include <string>
54271 + virtual void SaveHttpAuthCredentials(const std::string& host, const std::string& realm,
54272 + const std::string& username, const char* password) = 0;
54281 + virtual std::vector<std::string> GetHttpAuthCredentials(const std::string& host,
54282 + const std::string& realm) const = 0;
54291 + virtual bool ExistPermissionByOrigin(const std::string& origin, int type) = 0;
54301 + virtual bool GetPermissionResultByOrigin(const std::string& origin, int type, bool& result) = …
54311 + virtual int SetPermissionByOrigin(const std::string& origin, int type, bool result) = 0;
54320 + virtual int ClearPermissionByOrigin(const std::string& origin, int type) = 0;
54335 + virtual std::vector<std::string> GetOriginsByPermission(int type) = 0;
54353 +#include <string>
54397 +#include <string>
54416 + virtual void OnDownloadStart(const std::string& url,
54417 + const std::string& userAgent,
54418 + const std::string& contentDisposition,
54419 + const std::string& mimetype,
54523 +#include <string>
54528 +using AcceptTypeList = std::vector<std::string>;
54542 + virtual const std::string Title() const = 0;
54546 + virtual const std::string DefaultFilename() const = 0;
54580 +#include <string>
54633 +#include <string>
54673 +#include <string>
54691 + virtual void GeolocationCallbackInvoke(const std::string& origin,
54724 +#include <string>
54815 +using FileSelectorCallback = NWebValueCallback<std::vector<std::string>&>;
54827 + virtual void OnRouterPush(const std::string& param) {}
54829 + virtual void OnMessage(const std::string& param) {}
54838 + virtual void OnPageLoadEnd(int httpStatusCode, const std::string& url) {}
54846 + virtual void OnPageLoadBegin(const std::string& url) {}
54856 + const std::string& description,
54857 + const std::string& failingUrl) {}
54866 + virtual bool OnHandleInterceptUrlLoading(const std::string& url) {
54876 + virtual void OnResource(const std::string& url) {}
54883 + virtual void OnPageTitle(const std::string& title) {}
54903 + virtual const std::vector<std::string> VisitedUrlHistory() {
54904 + return std::vector<std::string>();
54961 + virtual void OnDesktopIconUrl(const std::string& icon_url, bool precomposed) {
54979 + virtual void OnGeolocationShow(const std::string& origin,
54992 + virtual bool OnAlertDialogByJS(const std::string& url,
54993 + const std::string& message,
55008 + virtual bool OnBeforeUnloadByJS(const std::string& url,
55009 + const std::string& message,
55025 + virtual bool OnPromptDialogByJS(const std::string& url,
55026 + const std::string& message,
55027 + const std::string& defaultValue,
55042 + virtual bool OnConfirmDialogByJS(const std::string& url,
55043 + const std::string& message,
55083 + virtual void OnRefreshAccessedHistory(const std::string& url, bool isReload) {}
55117 + const std::string& host,
55118 + const std::string& realm) {
55135 + const std::string& host,
55137 + const std::vector<std::string>& keyTypes,
55138 + const std::vector<std::string>& issuers) {
55163 + const std::string& targetUrl,
55176 + virtual void OnPageVisible(const std::string& url) {}
55211 +#include <string>
55267 + void SetExtra(std::string extra) {
55275 + std::string GetExtra() {
55280 + std::string extra_;
55309 +#include <string>
55323 + const std::string &method,
55324 + const std::string &object_name) = 0;
55342 +#include <string>
55358 + virtual void Confirm(const std::string &message) = 0;
55381 +#include <string>
55391 + virtual bool Confirm(std::string &userName, std::string &pwd) = 0;
55429 +#include <string>
55473 +#include <string>
55484 + virtual void Confirm(const std::string& privateKeyFile, const std::string& certChainFile) = 0;
55523 +#include <string>
55571 + virtual void PutCursiveFontFamilyName(std::string font) = 0;
55603 + virtual void PutDefaultTextEncodingFormat(std::string encoding) = 0;
55615 + virtual void PutFantasyFontFamilyName(std::string font) = 0;
55622 + virtual void PutFixedFontFamilyName(std::string font) = 0;
55675 + virtual void PutSansSerifFontFamilyName(std::string font) = 0;
55682 + virtual void PutSerifFontFamilyName(std::string font) = 0;
55689 + virtual void PutStandardFontFamilyName(std::string font) = 0;
55692 + * Put the user-agent string to the nweb. If it is null or empty,
55696 + * @param ua user-agent string. The value may be null.
55698 + virtual void PutUserAgent(std::string ua) = 0;
55818 + virtual std::string CursiveFontFamilyName() = 0;
55846 + virtual std::string DefaultTextEncodingFormat() = 0;
55849 + * Get the default user-agent string to the nweb.
55855 + virtual std::string DefaultUserAgent() = 0;
55869 + virtual std::string FantasyFontFamilyName() = 0;
55876 + virtual std::string FixedFontFamilyName() = 0;
55932 + virtual std::string SansSerifFontFamilyName() = 0;
55939 + virtual std::string SerifFontFamilyName() = 0;
55946 + virtual std::string StandardFontFamilyName() = 0;
55949 + * Get the user-agent string to the nweb.
55953 + virtual std::string UserAgent() = 0;
56050 +#include <string>
56109 +#include <string>
56126 + virtual const std::string &ErrorInfo() const = 0;
56163 +#include <string>
56179 + virtual const std::string &Method() = 0;
56186 + virtual const std::map<std::string, std::string> &RequestHeaders() = 0;
56191 + * @retval URL url string
56193 + virtual const std::string &Url() = 0;
56247 +#include <string>
56276 + NWebUrlResourceResponse(const std::string& mime_type,
56277 + const std::string& encoding,
56279 + const std::string& reason_phrase,
56280 + const std::map<std::string, std::string>& response_headers,
56281 + std::string& input_stream)
56289 + NWebUrlResourceResponse(const std::string& mime_type,
56290 + const std::string& encoding,
56291 + std::string& input_stream)
56301 + * @retval inputstream string
56303 + const std::string& ResponseData()
56314 + void PutResponseData(std::string& input_stream)
56326 + void PutResponseEncoding(const std::string& encoding)
56336 + std::string ResponseEncoding()
56346 + void PutResponseMimeType(const std::string& mime_type)
56356 + std::string ResponseMimeType()
56366 + void PutResponseHeaders(const std::map<std::string, std::string>& response_headers)
56376 + const std::map<std::string, std::string>& ResponseHeaders()
56388 + std::string reason_phrase)
56409 + std::string ResponseStatus()
56449 + std::string mime_type_;
56450 + std::string encoding_;
56452 + std::string reason_phrase_;
56453 + std::map<std::string, std::string> response_headers_;
56454 + std::string input_stream_;
56488 +#include <string>
56519 + void SetString(std::string str) { str_ = str; }
56521 + std::string GetString() { return str_; }
56531 + void SetJsonString(std::string json_string) { str_json_ = json_string; }
56533 + std::string GetJsonString() { return str_json_; }
56544 + std::string str_;
56545 + std::string str_json_;
56615 +#include <string>
56631 + virtual int DeleteOrigin(const std::string& origin) = 0;
56634 + virtual void GetOriginQuota(const std::string& origin,
56636 + virtual long GetOriginQuota(const std::string& origin) = 0;
56637 + virtual void GetOriginUsage(const std::string& origin,
56639 + virtual long GetOriginUsage(const std::string& origin) = 0;
56646 + void SetOrigin(const std::string& origin) { origin_ = origin; }
56649 + std::string GetOrigin() { return origin_; }
56654 + std::string origin_;
56764 +std::string NWebAccessRequestDelegate::Origin() {
56827 + std::string Origin() override;
56873 + std::string url,
56883 +std::string NWebApplication::GetURL() {
56945 + std::string url;
56992 +#include <string>
57009 + std::string url,
57022 + std::string GetURL();
57038 + std::string url_;
57190 +std::string NWebContextMenuParamsImpl::GetLinkUrl() {
57194 + return std::string();
57197 +std::string NWebContextMenuParamsImpl::GetUnfilteredLinkUrl() {
57201 + return std::string();
57204 +std::string NWebContextMenuParamsImpl::GetSourceUrl() {
57208 + return std::string();
57218 +std::string NWebContextMenuParamsImpl::GetTitleText() {
57222 + return std::string();
57225 +std::string NWebContextMenuParamsImpl::GetPageUrl() {
57229 + return std::string();
57386 + std::string GetLinkUrl() override;
57387 + std::string GetUnfilteredLinkUrl() override;
57388 + std::string GetSourceUrl() override;
57390 + std::string GetTitleText() override;
57391 + std::string GetPageUrl() override;
57661 + std::shared_ptr<NWebValueCallback<std::string>> callback)
57663 + cookie_line_(std::string()),
57698 + std::string ReturnCookieLine() const { return cookie_line_; }
57702 + std::string cookie_line_;
57704 + std::shared_ptr<NWebValueCallback<std::string>> callback_;
57810 + const std::string& url,
57811 + std::shared_ptr<NWebValueCallback<std::string>> callback) {
57824 +std::string NWebCookieManagerDelegate::ReturnCookie(
57825 + const std::string& url) {
57845 + const std::string& url,
57846 + const std::string& value,
57868 + const std::string& url,
57869 + const std::string& value) {
57964 + if (!cookie_manager->DeleteCookies(CefString(std::string()),
57965 + CefString(std::string()), true,
57983 + if (!cookie_manager->DeleteCookies(CefString(std::string()),
57984 + CefString(std::string()), false,
58037 + const std::string& url,
58038 + std::shared_ptr<NWebValueCallback<std::string>> callback) override;
58039 + std::string ReturnCookie(const std::string& url) override;
58040 + void SetCookie(const std::string& url,
58041 + const std::string& value,
58043 + int SetCookie(const std::string &url,
58044 + const std::string &value) override;
58113 +void NWebDataBaseDelegate::SaveHttpAuthCredentials(const std::string& host,
58114 + const std::string& realm,
58115 + const std::string& username, const char* password) {
58123 +std::vector<std::string> NWebDataBaseDelegate::GetHttpAuthCredentials(const std::string& host, con…
58132 + std::vector<std::string> username_password;
58133 + for (std::string value : method_vector) {
58139 +bool NWebDataBaseDelegate::ExistPermissionByOrigin(const std::string& origin, int type)
58148 +bool NWebDataBaseDelegate::GetPermissionResultByOrigin(const std::string& origin, int type, bool& …
58157 +int NWebDataBaseDelegate::SetPermissionByOrigin(const std::string& origin, int type, bool result)
58171 +int NWebDataBaseDelegate::ClearPermissionByOrigin(const std::string& origin, int type)
58194 +std::vector<std::string> NWebDataBaseDelegate::GetOriginsByPermission(int type)
58204 + std::vector<std::string> origins;
58205 + for (std::string value : method_vector) {
58244 +#include <string>
58261 + void SaveHttpAuthCredentials(const std::string& host, const std::string& realm,
58262 + const std::string& username, const char* password);
58264 + std::vector<std::string> GetHttpAuthCredentials(const std::string& host, const std::string& real…
58266 + bool ExistPermissionByOrigin(const std::string& origin, int type);
58268 + bool GetPermissionResultByOrigin(const std::string& origin, int type, bool& result);
58270 + int SetPermissionByOrigin(const std::string& origin, int type, bool result);
58272 + int ClearPermissionByOrigin(const std::string& origin, int type);
58276 + std::vector<std::string> GetOriginsByPermission(int type);
58417 + std::shared_ptr<NWebValueCallback<std::string>> callback)
58426 + std::shared_ptr<NWebValueCallback<std::string>> callback_;
58435 + std::shared_ptr<NWebValueCallback<std::string>> callback)
58444 + std::shared_ptr<NWebValueCallback<std::string>> callback_;
58491 + std::string url_for_init = "";
58539 +void NWebDelegate::FindAllAsync(const std::string& search_string) const {
58704 +int NWebDelegate::Load(const std::string& url) {
58804 +void NWebDelegate::SetBrowserUserAgentString(const std::string& user_agent) {
58812 + const std::string& base_name,
58814 + std::shared_ptr<NWebValueCallback<std::string>> callback) const {
58914 +void NWebDelegate::ExecuteJavaScript(const std::string& code) const {
58923 + const std::string& code,
58924 + std::shared_ptr<NWebValueCallback<std::string>> callback) const {
58984 +void NWebDelegate::InitializeCef(std::string url, void* window) {
59027 +std::string NWebDelegate::Title() {
59034 +void NWebDelegate::CreateWebMessagePorts(std::vector<std::string>& ports) {
59047 +void NWebDelegate::PostWebMessage(std::string& message, std::vector<std::string>& ports, std::stri…
59054 + for (std::string port : ports) {
59068 +void NWebDelegate::ClosePort(std::string& portHandle) {
59079 +void NWebDelegate::PostPortMessage(std::string& portHandle, std::string& data) {
59092 +void NWebDelegate::SetPortMessageCallback(std::string& portHandle,
59093 + std::shared_ptr<NWebValueCallback<std::string>> callback) {
59104 +std::string NWebDelegate::GetUrl() const {
59140 + std::string& url,
59141 + std::map<std::string, std::string> additionalHttpHeaders) {
59149 + std::map<std::string, std::string>::iterator iter;
59150 + std::string extra = "";
59153 + const std::string& key = iter->first;
59154 + const std::string& value = iter->second;
59159 + extra += std::string(key) + ": " + std::string(value);
59171 +int NWebDelegate::LoadWithDataAndBaseUrl(const std::string& baseUrl,
59172 + const std::string& data,
59173 + const std::string& mimeType,
59174 + const std::string& encoding,
59175 + const std::string& historyUrl) {
59186 +int NWebDelegate::LoadWithData(const std::string& data,
59187 + const std::string& mimeType,
59188 + const std::string& encoding) {
59216 + std::vector<std::string> outUrls = handler_delegate_->GetVisitedHistory();
59234 + const std::string& object_name,
59235 + const std::vector<std::string>& method_list) const {
59238 + for (std::string method : method_list) {
59245 + const std::string& object_name,
59246 + const std::vector<std::string>& method_list) const {
59249 + for (std::string method : method_list) {
59282 +void NWebDelegate::UpdateLocale(const std::string& language, const std::string& region) {
59379 +#include <string>
59427 + int Load(const std::string& url) override;
59443 + void ExecuteJavaScript(const std::string& code) const override;
59445 + const std::string& code,
59446 + std::shared_ptr<NWebValueCallback<std::string>> callback) const override;
59452 + std::string Title() override;
59453 + void CreateWebMessagePorts(std::vector<std::string>& ports) override;
59454 + void PostWebMessage(std::string& message, std::vector<std::string>& ports, std::string& targetUr…
59455 + void ClosePort(std::string& port_handle) override;
59456 + void PostPortMessage(std::string& port_handle, std::string& data) override;
59457 + void SetPortMessageCallback(std::string& port_handle,
59458 + std::shared_ptr<NWebValueCallback<std::string>> callback) override;
59462 + int Load(std::string& url,
59463 + std::map<std::string, std::string> additionalHttpHeaders) override;
59464 + int LoadWithDataAndBaseUrl(const std::string& baseUrl,
59465 + const std::string& data,
59466 + const std::string& mimeType,
59467 + const std::string& encoding,
59468 + const std::string& historyUrl) override;
59469 + int LoadWithData(const std::string& data,
59470 + const std::string& mimeType,
59471 + const std::string& encoding) override;
59474 + const std::string& object_name,
59475 + const std::vector<std::string>& method_list) const override;
59478 + const std::string& object_name,
59479 + const std::vector<std::string>& method_list) const override;
59488 + void FindAllAsync(const std::string& search_string) const override;
59491 + std::string GetUrl() const override;
59501 + const std::string& base_name,
59503 + std::shared_ptr<NWebValueCallback<std::string>> callback) const override;
59504 + void SetBrowserUserAgentString(const std::string& user_agent) override;
59507 + void UpdateLocale(const std::string& language, const std::string& region) override;
59518 + void InitializeCef(std::string url, void* window);
59925 + const std::string& title,
59927 + const std::string& default_filename,
59938 +const std::string FileSelectorParamsImpl::Title() const {
59946 +const std::string FileSelectorParamsImpl::DefaultFilename() const {
59958 +void FileSelectorCallbackImpl::OnReceiveValue(std::vector<std::string>& value) {
59999 +#include <string>
60009 + const std::string &title,
60011 + const std::string &default_filename,
60014 + const std::string Title() const override;
60016 + const std::string DefaultFilename() const override;
60022 + std::string title_;
60023 + std::string default_filename_;
60036 + void OnReceiveValue(std::vector<std::string>& value) override;
60220 +#include <string>
60382 + const std::string& origin,
60430 + void GeolocationCallbackInvoke(const std::string& origin,
60577 + std::map<std::string, std::string>& map) {
60789 + const std::string& messageName = message->GetName();
61003 + std::string error_type = "";
61004 + std::string error_desc =
61043 +std::string GetDataURI(const std::string& data, const std::string& mime_type) {
61069 + << std::string(failed_url) << " with error " << std::string(error_text)
61076 + std::string error_type = "failded url";
61080 + std::string(error_text));
61093 + std::map<std::string, std::string> request_headers;
61106 + std::string error_type = "resource load error";
61123 + std::map<std::string, std::string> request_headers;
61129 + std::string data;
61139 + std::string error_type = "http error";
61143 + std::string(response->GetStatusText()));
61215 + std::vector<std::string> key_types_str;
61216 + for (std::string value : key_types) {
61220 + std::vector<std::string> principals_str;
61221 + for (std::string value : principals) {
61256 + std::string error_desc = "";
61295 + std::string error_type = "render exitted";
61392 + std::map<std::string, std::string> request_headers;
61403 + std::string str = "";
61612 + return nweb_handler_->OnBeforeUnloadByJS(std::string(), message_text,
61631 + std::string file_selector_title = title.ToString();
61863 +const std::vector<std::string> NWebHandlerDelegate::GetVisitedHistory() {
61867 + return std::vector<std::string>();
62044 +#include <string>
62389 + const std::vector<std::string> GetVisitedHistory();
62707 +const std::unordered_map<std::string, std::unordered_map<int, int>>
62729 +bool NWebInputDelegate::KeyValueConvert(const std::string keyValue,
62739 +int NWebInputDelegate::CefConverter(const std::string keyValue, int input) {
62751 +int NWebInputDelegate::OhosConverter(const std::string keyValue, int input) {
62847 + static int CefConverter(const std::string keyValue, int input);
62848 + static int OhosConverter(const std::string keyValue, int input);
62865 + static bool KeyValueConvert(const std::string keyValue,
63009 + callback_->Continue(true, CefString(std::string()));
63014 +void NWebJSDialogResultImpl::Confirm(const std::string &message) {
63023 + callback_->Continue(false, CefString(std::string()));
63062 + void Confirm(const std::string &message) override;
63100 +bool NWebJSHttpAuthResultImpl::Confirm(std::string &userName, std::string &pwd) {
63154 + bool Confirm(std::string &userName, std::string &pwd) override;
63276 +void NWebJSSslSelectCertResultImpl::Confirm(const std::string& private_key_file, const std::string
63330 + void Confirm(const std::string& private_key_file, const std::string& cert_chain_file) override;
63396 +const std::string ACCESS_LOCATION = "ohos.permission.INTERNET";
63545 +void NWebPreferenceDelegate::PutCursiveFontFamilyName(std::string font) {
63564 + std::string encoding) {
63574 +void NWebPreferenceDelegate::PutFantasyFontFamilyName(std::string font) {
63579 +void NWebPreferenceDelegate::PutFixedFontFamilyName(std::string font) {
63619 +void NWebPreferenceDelegate::PutSansSerifFontFamilyName(std::string font) {
63624 +void NWebPreferenceDelegate::PutSerifFontFamilyName(std::string font) {
63629 +void NWebPreferenceDelegate::PutStandardFontFamilyName(std::string font) {
63634 +void NWebPreferenceDelegate::PutUserAgent(std::string ua) {
63635 + std::string old_user_agent = user_agent_;
63726 +std::string NWebPreferenceDelegate::CursiveFontFamilyName() {
63742 +std::string NWebPreferenceDelegate::DefaultTextEncodingFormat() {
63746 +std::string NWebPreferenceDelegate::DefaultUserAgent() {
63751 + std::string ua = browser_->GetHost()->DefaultUserAgent();
63759 +std::string NWebPreferenceDelegate::FantasyFontFamilyName() {
63763 +std::string NWebPreferenceDelegate::FixedFontFamilyName() {
63795 +std::string NWebPreferenceDelegate::SansSerifFontFamilyName() {
63799 +std::string NWebPreferenceDelegate::SerifFontFamilyName() {
63803 +std::string NWebPreferenceDelegate::StandardFontFamilyName() {
63807 +std::string NWebPreferenceDelegate::UserAgent() {
63927 + void PutCursiveFontFamilyName(std::string font) override;
63931 + void PutDefaultTextEncodingFormat(std::string encoding) override;
63933 + void PutFantasyFontFamilyName(std::string font) override;
63934 + void PutFixedFontFamilyName(std::string font) override;
63942 + void PutSansSerifFontFamilyName(std::string font) override;
63943 + void PutSerifFontFamilyName(std::string font) override;
63944 + void PutStandardFontFamilyName(std::string font) override;
63945 + void PutUserAgent(std::string ua) override;
63963 + std::string CursiveFontFamilyName() override;
63967 + std::string DefaultTextEncodingFormat() override;
63968 + std::string DefaultUserAgent() override;
63970 + std::string FantasyFontFamilyName() override;
63971 + std::string FixedFontFamilyName() override;
63979 + std::string SansSerifFontFamilyName() override;
63980 + std::string SerifFontFamilyName() override;
63981 + std::string StandardFontFamilyName() override;
63982 + std::string UserAgent() override;
64004 + std::string standard_font_family_name_{"sans-serif"};
64005 + std::string fixed_font_family_name_{"monospace"};
64006 + std::string serif_font_family_name_{"serif"};
64007 + std::string sans_serif_font_family_name_{"sans-serif"};
64008 + std::string cursive_font_family_name_{"cursive"};
64009 + std::string fantasy_font_family_name_{"fantasy"};
64014 + std::string default_encoding_{"UTF-8"};
64030 + std::string user_agent_{""};
64578 + const std::map<std::string, std::string> response_map) {
64580 + const std::string& key = iter->first;
64581 + const std::string& value = iter->second;
64588 + std::string& str)
64688 + std::map<std::string, std::string> request_headers =
64739 +#include <string>
64747 + NWebResourceHandler(std::shared_ptr<NWebUrlResourceResponse> web_response, std::string& str);
64777 + std::string data_;
64974 + std::string origin = origins[i].ToString();
64998 + std::vector<std::string> origins_;
65049 +int NWebWebStorageDelegate::DeleteOrigin(const std::string& origin) {
65085 +void NWebWebStorageDelegate::GetOriginQuota(const std::string& origin,
65094 +long NWebWebStorageDelegate::GetOriginQuota(const std::string& origin) {
65113 +void NWebWebStorageDelegate::GetOriginUsage(const std::string& origin,
65122 +long NWebWebStorageDelegate::GetOriginUsage(const std::string& origin) {
65178 + int DeleteOrigin(const std::string& origin) override;
65181 + void GetOriginQuota(const std::string& origin,
65183 + long GetOriginQuota(const std::string& origin) override;
65184 + void GetOriginUsage(const std::string& origin,
65186 + long GetOriginUsage(const std::string& origin) override;
65218 +#include <string>
65232 + const std::string& url,
65233 + std::shared_ptr<NWebValueCallback<std::string>> callback) = 0;
65234 + virtual std::string ReturnCookie(const std::string &url) = 0;
65235 + virtual void SetCookie(const std::string& url,
65236 + const std::string& value,
65238 + virtual int SetCookie(const std::string &url,
65239 + const std::string &value) = 0;
65338 + const std::string& url,
65339 + const std::string& value,
65347 + const std::string& url,
65348 + const std::string& value) {
65356 + const std::string& url,
65357 + std::shared_ptr<NWebValueCallback<std::string>> callback) {
65363 +std::string NWebCookieManagerImpl::ReturnCookie(
65364 + const std::string& url) {
65456 + const std::string& url,
65457 + std::shared_ptr<NWebValueCallback<std::string>> callback) override;
65458 + std::string ReturnCookie(const std::string &url) override;
65459 + void SetCookie(const std::string& url,
65460 + const std::string& value,
65462 + int SetCookie(const std::string &url,
65463 + const std::string &value) override;
65533 +void NWebDataBaseImpl::SaveHttpAuthCredentials(const std::string& host, const std::string& realm,
65534 + const std::string& username, const char* password) {
65540 +std::vector<std::string> NWebDataBaseImpl::GetHttpAuthCredentials(const std::string& host,
65541 + const std::string& realm) const {
65548 +bool NWebDataBaseImpl::ExistPermissionByOrigin(const std::string& origin, int type)
65556 +bool NWebDataBaseImpl::GetPermissionResultByOrigin(const std::string& origin, int type, bool& resu…
65564 +int NWebDataBaseImpl::SetPermissionByOrigin(const std::string& origin, int type, bool result)
65572 +int NWebDataBaseImpl::ClearPermissionByOrigin(const std::string& origin, int type)
65587 +std::vector<std::string> NWebDataBaseImpl::GetOriginsByPermission(int type)
65650 + void SaveHttpAuthCredentials(const std::string& host, const std::string& realm,
65651 + const std::string& username, const char* password) override;
65653 + std::vector<std::string> GetHttpAuthCredentials(const std::string& host,
65654 + const std::string& realm) const override;
65656 + bool ExistPermissionByOrigin(const std::string& origin, int type) override;
65658 + bool GetPermissionResultByOrigin(const std::string& origin, int type, bool& result) override;
65660 + int SetPermissionByOrigin(const std::string& origin, int type, bool result) override;
65662 + int ClearPermissionByOrigin(const std::string& origin, int type) override;
65666 + std::vector<std::string> GetOriginsByPermission(int type) override;
65792 +#include <string>
65849 + virtual int Load(const std::string& url) = 0;
65865 + virtual void ExecuteJavaScript(const std::string& code) const = 0;
65867 + const std::string& code,
65868 + std::shared_ptr<NWebValueCallback<std::string>> callback) const = 0;
65874 + virtual std::string Title() = 0;
65875 + virtual void CreateWebMessagePorts(std::vector<std::string>& ports) = 0;
65876 + virtual void PostWebMessage(std::string& message, std::vector<std::string>& ports, std::string& …
65877 + virtual void ClosePort(std::string& portHandle) = 0;
65878 + virtual void PostPortMessage(std::string& portHandle, std::string& data) = 0;
65879 + virtual void SetPortMessageCallback(std::string& portHandle,
65880 + std::shared_ptr<NWebValueCallback<std::string>> callback) = 0;
65885 + std::string& url,
65886 + std::map<std::string, std::string> additionalHttpHeaders) = 0;
65887 + virtual int LoadWithDataAndBaseUrl(const std::string& baseUrl,
65888 + const std::string& data,
65889 + const std::string& mimeType,
65890 + const std::string& encoding,
65891 + const std::string& historyUrl) = 0;
65892 + virtual int LoadWithData(const std::string& data,
65893 + const std::string& mimeType,
65894 + const std::string& encoding) = 0;
65897 + const std::string& object_name,
65898 + const std::vector<std::string>& method_list) const = 0;
65900 + const std::string& object_name,
65901 + const std::vector<std::string>& method_list) const = 0;
65908 + virtual void FindAllAsync(const std::string& str) const = 0;
65911 + virtual void UpdateLocale(const std::string& language, const std::string& region) = 0;
65918 + const std::string& base_name,
65920 + std::shared_ptr<NWebValueCallback<std::string>> callback) const = 0;
65922 + virtual void SetBrowserUserAgentString(const std::string& user_agent) = 0;
65925 + virtual std::string GetUrl() const = 0;
66018 +#include <string>
66084 +base::LazyInstance<std::vector<std::string>>::DestructorAtExit g_browser_args =
66093 +void NWebImpl::InitBrowserServiceApi(std::vector<std::string>& browser_args) {
66096 + for (const std::string& arg : browser_args) {
66231 + for (const std::string& arg : args) {
66366 +int NWebImpl::Load(const std::string& url) const {
66481 +void NWebImpl::ExecuteJavaScript(const std::string& code) const {
66527 +std::string NWebImpl::Title() {
66534 +void NWebImpl::CreateWebMessagePorts(std::vector<std::string>& ports) {
66543 +void NWebImpl::PostWebMessage(std::string& message, std::vector<std::string>& ports, std::string& …
66551 +void NWebImpl::ClosePort(std::string& portHandle) {
66559 +void NWebImpl::PostPortMessage(std::string& portHandle, std::string& data) {
66567 +void NWebImpl::SetPortMessageCallback(std::string& portHandle,
66568 + std::shared_ptr<NWebValueCallback<std::string>> callback) {
66605 +int NWebImpl::Load(std::string& url,
66606 + std::map<std::string, std::string> additionalHttpHeaders) {
66613 +int NWebImpl::LoadWithDataAndBaseUrl(const std::string& baseUrl,
66614 + const std::string& data,
66615 + const std::string& mimeType,
66616 + const std::string& encoding,
66617 + const std::string& historyUrl) {
66625 +int NWebImpl::LoadWithData(const std::string& data,
66626 + const std::string& mimeType,
66627 + const std::string& encoding) {
66635 + const std::string& object_name,
66636 + const std::vector<std::string>& method_list) {
66644 + const std::string& object_name,
66645 + const std::vector<std::string>& method_list) {
66661 + const std::string& code,
66662 + std::shared_ptr<NWebValueCallback<std::string>> callback) const {
66695 +void NWebImpl::SetBrowserUserAgentString(const std::string& user_agent) {
66709 +void NWebImpl::FindAllAsync(const std::string& search_string) const {
66731 + const std::string& base_name,
66733 + std::shared_ptr<NWebValueCallback<std::string>> callback) const {
66753 +std::string NWebImpl::GetUrl() const {
66760 +void NWebImpl::UpdateLocale(const std::string& language, const std::string& region) {
66831 + int Load(const std::string& url) const override;
66846 + void ExecuteJavaScript(const std::string& code) const override;
66848 + const std::string& code,
66849 + std::shared_ptr<NWebValueCallback<std::string>> callback) const override;
66859 + std::string Title() override;
66860 + void CreateWebMessagePorts(std::vector<std::string>& ports) override;
66861 + void PostWebMessage(std::string& message, std::vector<std::string>& ports, std::string& targetUr…
66862 + void ClosePort(std::string& port_handle) override;
66863 + void PostPortMessage(std::string& port_handle, std::string& data) override;
66864 + void SetPortMessageCallback(std::string& port_handle,
66865 + std::shared_ptr<NWebValueCallback<std::string>> callback) override;
66871 + int Load(std::string& url,
66872 + std::map<std::string, std::string> additionalHttpHeaders) override;
66873 + int LoadWithDataAndBaseUrl(const std::string& baseUrl,
66874 + const std::string& data,
66875 + const std::string& mimeType,
66876 + const std::string& encoding,
66877 + const std::string& historyUrl) override;
66878 + int LoadWithData(const std::string& data,
66879 + const std::string& mimeType,
66880 + const std::string& encoding) override;
66882 + const std::string& object_name,
66883 + const std::vector<std::string>& method_list) override;
66885 + const std::string& object_name,
66886 + const std::vector<std::string>& method_list) override;
66892 + const std::string& base_name,
66894 + std::shared_ptr<NWebValueCallback<std::string>> callback) const override;
66897 + void FindAllAsync(const std::string& search_string) const override;
66902 + void UpdateLocale(const std::string& language, const std::string& region) override;
66907 + static void InitBrowserServiceApi(std::vector<std::string>& browser_args);
66909 + void SetBrowserUserAgentString(const std::string& user_agent);
66910 + std::string GetUrl() const override;
66931 + std::list<std::string> web_engine_args_;
67830 + const std::string kFileName = "1.bmp";
67831 + std::string full_name = outputHandler->dump_path_ + kFileName;
67936 +void NWebOutputHandler::SetDumpPath(const std::string& path) {
67940 +void NWebOutputHandler::BmpDumpHelper::DumpToBmp(const std::string& filename,
67975 + const std::string& filename,
68071 + void SetDumpPath(const std::string& path);
68081 + void DumpToBmp(const std::string& filename,
68088 + void WriteToBmp(const std::string& filename,
68106 + std::string dump_path_;
68156 + std::string args_str = args;
68159 + std::vector<std::string> argv_str;
68160 + std::string arg_str;
68230 + UrlResourceErrorImpl(int error_code, const std::string& error_info)
68234 + const std::string& ErrorInfo() const override { return error_info_; }
68239 + std::string error_info_;
68269 + const std::string& method,
68270 + const std::map<std::string, std::string>& request_headers,
68271 + const std::string& url,
68282 +const std::string& NWebUrlResourceRequestImpl::Method() {
68286 +const std::map<std::string, std::string>& NWebUrlResourceRequestImpl::RequestHeaders() {
68290 +const std::string& NWebUrlResourceRequestImpl::Url() {
68335 + NWebUrlResourceRequestImpl(const std::string& method,
68336 + const std::map<std::string, std::string>& request_headers,
68337 + const std::string& url,
68343 + const std::string& Method() override;
68344 + const std::map<std::string, std::string>& RequestHeaders() override;
68345 + const std::string& Url() override;
68351 + std::string method_;
68352 + std::map<std::string, std::string> request_headers_;
68353 + std::string url_;
68386 +#include <string>
68397 + virtual int DeleteOrigin(const std::string& origin) = 0;
68400 + virtual void GetOriginQuota(const std::string& origin,
68402 + virtual long GetOriginQuota(const std::string& origin) = 0;
68403 + virtual void GetOriginUsage(const std::string& origin,
68405 + virtual long GetOriginUsage(const std::string& origin) = 0;
68455 +int NWebWebStorageImpl::DeleteOrigin(const std::string& origin) {
68476 +void NWebWebStorageImpl::GetOriginQuota(const std::string& origin,
68483 +long NWebWebStorageImpl::GetOriginQuota(const std::string& origin) {
68490 +void NWebWebStorageImpl::GetOriginUsage(const std::string& origin,
68497 +long NWebWebStorageImpl::GetOriginUsage(const std::string& origin) {
68540 + int DeleteOrigin(const std::string& origin) override;
68543 + void GetOriginQuota(const std::string& origin,
68545 + long GetOriginQuota(const std::string& origin) override;
68546 + void GetOriginUsage(const std::string& origin,
68548 + long GetOriginUsage(const std::string& origin) override;
68589 + const std::string LIB_PATH_NWEB_RENDER = "libnweb_render.so";
68590 + const std::string LIB_PATH_WEB_ENGINE = "libweb_engine.so";
68602 + const std::string LOAD_LIB_DIR_INSTALLATION = "/data/app/el1/bundle/public/com.ohos.nweb/libs/ar…
68603 + const std::string LIB_PATH_WEB_ENGINE = LOAD_LIB_DIR_INSTALLATION + "/libweb_engine.so";
68604 + const std::string LIB_PATH_NWEB_RENDER = LOAD_LIB_DIR_INSTALLATION + "/libnweb_render.so";
68617 + const std::string NWEB_RENDER_MAIN = "NWebRenderMain";
68703 …ReportPageLoadErrorInfo(int instanceId, const std::string errorType, int errorCode, const std::str…
68704 + std::string error_type = "";
68705 + std::string error_desc = "";
68741 +#include <string>
68747 …ReportPageLoadErrorInfo(int instanceId, const std::string errorType, int errorCode, const std::str…
68765 std::vector<SearchStringResult> SearchString(const char16_t* string,
68770 std::u16string haystack = std::u16string(string);
68959 #include <string>
69078 @@ -291,7 +291,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandbox_type) {
69408 +void LocationProviderCallback::OnNewErrorAvailable(std::string message) {
69576 + void OnNewErrorAvailable(std::string message);
69716 + const std::string& description,
69907 -bool Database::FullIntegrityCheck(std::vector<std::string>* messages) {
69912 - std::vector<std::string> messages;
69918 std::string Database::GetDiagnosticInfo(int extended_error,
69921 @@ -1838,39 +1827,71 @@ std::string Database::GetDiagnosticInfo(int extended_error,
69927 - std::vector<std::string>* messages) {
69928 +bool Database::FullIntegrityCheck(std::vector<std::string>* messages) {
69957 + // string, and a statement size that includes the zero byte. Fortunately,
69958 + // C++'s string literal and sizeof() operator do exactly that.
69971 - // as a single string. This doesn't appear to be an API contract,
69974 - std::string result(stmt.ColumnString(0));
69984 + std::vector<std::string> result_lines;
70024 void set_histogram_tag(const std::string& tag);
70038 + // will contain exactly one "ok" string. This unusual API design is explained
70041 bool FullIntegrityCheck(std::vector<std::string>* messages);
70050 std::string GetDiagnosticInfo(int extended_error, Statement* statement);
70056 - std::vector<std::string>* messages);
70096 + std::vector<std::string> messages;
70105 - const std::string kOk("ok");
70106 - std::vector<std::string> messages;
70127 + std::vector<std::string> messages;
70558 - const std::string results = ExecuteWithResult(&db_, kSelectSql);
70656 #include <string>
71001 #include <string>
71047 -// sql statement. Perhaps a version with a string parameter would be
71091 @@ -184,14 +190,12 @@ void DatabaseTracker::DatabaseOpened(const std::string& origin_identifier,
71108 void DatabaseTracker::DatabaseModified(const std::string& origin_identifier,
71111 const std::string& origin_identifier,
71130 bool DatabaseTracker::GetOriginInfo(const std::string& origin_identifier,
71151 @@ -465,13 +477,10 @@ bool DatabaseTracker::DeleteOrigin(const std::string& origin_identifier,
71198 - const std::string& origin_identifier, bool create_if_needed) {
71199 + const std::string& origin_identifier,
71205 int64_t DatabaseTracker::GetDBFileSize(const std::string& origin_identifier,
71225 const std::string& origin_identifier,
71630 + GetImageFromCache(string url) => (uint32 buffer_size, mojo_base.mojom.ReadOnlySharedMemoryRegion…
71781 - string name;
73193 std::string& name);
73261 const std::string& filename,
74131 std::string mach_service;
74389 @@ -119,6 +119,8 @@ std::string MinidumpMiscInfoDebugBuildString() {
74436 DCHECK(name.value().find('/') == std::string::npos);
74616 @@ -131,7 +132,8 @@ std::string CheckedAddressRangeGeneric<ValueType, SizeType>::AsString() const {
75270 @@ -125,7 +125,7 @@ string VersionString(int version) {
75277 const string& message) {
75296 -// must have application lifetime (statics or literals). The same applies to arg_names, and string
75297 -// argument values. However, you can force a copy of a string argument value with TRACE_STR_COPY:
75298 -// TRACE_EVENT1("category", "name", "arg1", "literal string is only referenced");
75299 -// TRACE_EVENT1("category", "name", "arg1", TRACE_STR_COPY("string will be copied"));
75302 +// same applies to arg_names, and string argument values. However, you can force
75303 +// a copy of a string argument value with TRACE_STR_COPY:
75304 +// TRACE_EVENT1("category", "name", "arg1", "literal string is only
75306 +// TRACE_STR_COPY("string will be copied"));
76141 + // "fontdir" - optional, the data type should be string
77033 + "string",
78583 # <<mark>>
78586 # <</mark>>
78593 # <<mark>>
78596 # <</mark>>
78633 # <<mark>>
79663 +#include <string.h>
79868 -#include <string.h>
79897 +#include <string.h>
80084 +#include <string.h>
80183 +** by the input string.
80553 -** text string in the style of "ls -l".
81413 +** The function will return a string of the form 'ieee754(Y,Z)' where
81494 #include <string.h>
81520 - int szRow; /* Length of the zCurrentRow string */
82162 -** (2) If the file ends with the appendvfs trailer string
82166 -** (3) If the file begins with the standard SQLite prefix string
82179 -** This VFS will not read or write past the 1GiB mark. This restriction
82225 -#include <string.h>
82227 +#include <string.h>
82229 -/* The append mark at the end of the database is:
82301 -** Maximum size of the combined prefix + database + append-mark. This
82353 -** append-mark.
82358 -** | prefix-file | padding | database | append-mark |
82369 -** "append-mark" - The 25-byte "Start-Of-SQLite3-NNNNNNNN" that indicates
82386 - sqlite3_int64 iMark; /* Offset of the append mark. -1 if unwritten */
82553 -** Add the append-mark onto what should become the end of the file.
82555 -* Parameter iWriteEnd is the appendvfs-relative offset of the new mark.
82628 - /* If append-mark is absent or will be overwritten, write it. */
82687 - /* The append mark goes out first so truncate failure does not lose it. */
82689 - /* Truncate underlying file just past append mark */
82718 -** If the append mark is not yet there, the file-size is 0.
82894 +** string to be matched. By registering this function, SQLite will also
82907 +** ^X X occurring at the beginning of the string
82908 +** X$ X occurring at the end of the string
82928 +** expression and M is the size of the input string. The matcher never
82938 +#include <string.h>
83019 +/* An input string read one character at a time.
83111 -** Try to read the append-mark off the end of a file. Return the
83112 -** start of the appended database if the append-mark is present.
83113 -** If there is no valid append-mark, return -1;
83115 -** An append-mark is only valid if the NNNNNNNN start-of-database offset
83151 +** string zIn[]. Return true on a match and false if there is no match.
83424 +** return a pointer to the error message string.
83636 - pApndFile->iMark = -1; /* Append mark not yet written */
83675 - pApndFile->iMark = sz - APND_MARK_SIZE; /* Append mark found */
83699 - ** The append mark will be written along with first content write.
83721 + ** string looking for the initial match without having to run the whole
83722 + ** regex engine over the string. Do not worry able trying to match
83751 +** pattern and the second argument is the string. So, the SQL statements:
83927 -#include <string.h>
84070 -#include <string.h>
84185 #include <string.h>
84261 -** by the input string.
85072 +** text string in the style of "ls -l".
85321 -** The function will return a string of the form 'ieee754(Y,Z)' where
85394 -#include <string.h>
86001 #include <string.h>
86031 + int szRow; /* Length of the zCurrentRow string */
86708 -** string to be matched. By registering this function, SQLite will also
86730 -** ^X X occurring at the beginning of the string
86731 -** X$ X occurring at the end of the string
86750 +** (2) If the file ends with the appendvfs trailer string
86753 +** (3) If the file begins with the standard SQLite prefix string
86763 +** This VFS will not read or write past the 1GiB mark. This restriction
86769 -** expression and M is the size of the input string. The matcher never
86775 -#include <string.h>
86782 +#include <string.h>
86789 +/* The append mark at the end of the database is:
86811 +** Maximum size of the combined prefix + database + append-mark. This
86858 -/* An input string read one character at a time.
86879 +** append-mark.
86884 +** | prefix-file | padding | database | append-mark |
86895 +** "append-mark" - The 25-byte "Start-Of-SQLite3-NNNNNNNN" that indicates
86921 + sqlite3_int64 iMark; /* Offset of the append mark. -1 if unwritten */
87088 -** string zIn[]. Return true on a match and false if there is no match.
87090 +** Add the append-mark onto what should become the end of the file.
87092 +* Parameter iWriteEnd is the appendvfs-relative offset of the new mark.
87278 + /* If append-mark is absent or will be overwritten, write it. */
87305 + /* The append mark goes out first so truncate failure does not lose it. */
87307 + /* Truncate underlying file just past append mark */
87326 +** If the append mark is not yet there, the file-size is 0.
87423 -** return a pointer to the error message string.
87657 +** Try to read the append-mark off the end of a file. Return the
87658 +** start of the appended database if the append-mark is present.
87659 +** If there is no valid append-mark, return -1;
87661 +** An append-mark is only valid if the NNNNNNNN start-of-database offset
87769 + pApndFile->iMark = -1; /* Append mark not yet written */
87811 + pApndFile->iMark = sz - APND_MARK_SIZE; /* Append mark found */
87834 - ** string looking for the initial match without having to run the whole
87835 - ** regex engine over the string. Do not worry able trying to match
87858 + ** The append mark will be written along with first content write.
87870 -** pattern and the second argument is the string. So, the SQL statements:
88230 + const char * zInput; /* Input string from wasm/JS proxy */
88372 +** specific token that we can point to, return an empty string.
88433 + const char *zSql /* SQL string, or NULL */
89002 " --bom Put a UTF8 byte-order mark on intermediate file",
89090 " --bom Put a UTF8 byte-order mark at the beginning",
89114 " --bom Prefix output with a UTF8 byte-order mark",
89455 + * string (if any) must be sqlite3_free()'ed by the caller.
89475 +/* Define character (as C string) to separate generated column ordinal
90341 + unsigned char zBOM[4]; /* Byte-order mark to using if --bom is present */
91102 ** ^(Memory to hold the error message string is managed internally
91196 +** Space to hold the string that is returned by sqlite3_db_name() is managed
91197 +** by SQLite itself. The string might be deallocated by any operation that
91201 +** remember the string long-term should make their own copy. Applications that
91338 +** method of a [virtual table]. This function returns a pointer to a string
93128 + int n; /* Number of characters in string value, excluding '\0' */
93132 - int n; /* Number of characters in string value, excluding '\0' */
93167 +** * MEM_Str A string, stored in Mem.z with
93191 ** set, then the string is nul terminated. The MEM_Int and MEM_Real
93196 #define MEM_Str 0x0002 /* Value is a string */
93216 -/* Whenever Mem contains a valid string or blob representation, one of
93219 -** string is \000 or \u0000 terminated
93220 +/* Bits that determine the storage for Mem.z for a string or blob or
93225 -#define MEM_Static 0x0800 /* Mem.z points to a static string */
93226 -#define MEM_Ephem 0x1000 /* Mem.z points to an ephemeral string */
93235 +#define MEM_Static 0x2000 /* Mem.z points to a static string */
93236 +#define MEM_Ephem 0x4000 /* Mem.z points to an ephemeral string */
93975 }/* End for loop over the format string */
93980 +** The z string points to the first character of a token that is
94926 ** If it is not NULL, string zFormat specifies the format of the
94927 -** error string in the style of the printf functions: The following
94930 -** %s Insert a string
94931 -** %z A string that should be freed after use
94936 -** zFormat and any string tokens that follow it are assumed to be
94938 +** error string. zFormat and any string tokens that follow it are
94949 -** %s Insert a string
94950 -** %z A string that should be freed after use
96050 + u8 *pEnd; /* End mark for a varint */
97018 ** If pMem represents a string value, its encoding might be changed.
97041 ** is required to store the string, then value of pMem is unchanged. In
97044 +** The "enc" parameter is the text encoding for the string, or zero
97047 +** If n is negative, then the string consists of all bytes up to but
97052 Mem *pMem, /* Memory cell to set to string value */
97056 int iLimit; /* Maximum allowed string or blob size */
97434 int bUndefine /* If true, mark registers as undefined */
97880 -** deleted out from under the cursor and if it has, mark the row as
98928 ** is made of any string or blob constant. See also OP_SCopy.
99338 char *zAffinity; /* The affinity string for the record */
101692 -** so that any string literals that use double-quotes are modified so that
101696 +** Rewrite the DDL statement "SQL" so that any string literals that use
101702 ** returns the string:
101704 ** CREATE VIEW v1 AS SELECT "a", 'string' FROM t1
101707 +** if PRAGMA writable_schema=ON, then just return the input string
102399 -** the argument. If the argument is NULL, the return value is the string
102410 + /* As currently implemented, the string must be initially empty.
102511 +** embedded NUL characters cannot be represented as string literals in SQL
102512 +** and hence the returned string literal is truncated prior to the first NUL.
102531 ** for the first character of the input string.
103073 const char **pzTail /* OUT: End of parsed string */
103439 -** an ordinary term that omits the EP_FromJoin mark.
103446 +** an ordinary term that omits the EP_OuterON mark. Or if iTable<0, then
103447 +** just clear every EP_OuterON and EP_InnerON mark from the expression tree.
104507 - char *zToFree; /* Malloced string that needs to be freed */
105158 ** Convert the pStep->zTarget string into a SrcList and return a pointer
105541 char *idxStr; /* Index identifier string */
105759 + StrAccum str; /* EQP output string */
105760 + char zBuf[100]; /* Initial space for EQP output string */
107734 + ** cause many rows to be omitted, then mark that table as
114261 -** Run the parser on the given SQL string. The parser structure is
114266 +** Run the parser on the given SQL string.
114823 -/* #include <string.h> */
115270 -** Return the top-level "type" of a JSON string. Throw an error if
115272 +** Return the top-level "type" of a JSON string. json_type() raises an
115935 ** ^(Memory to hold the error message string is managed internally
116029 +** Space to hold the string that is returned by sqlite3_db_name() is managed
116030 +** by SQLite itself. The string might be deallocated by any operation that
116034 +** remember the string long-term should make their own copy. Applications that
116171 +** method of a [virtual table]. This function returns a pointer to a string
117298 +#include <string.h>
117503 -#include <string.h>
117532 +#include <string.h>
117719 +#include <string.h>
117818 +** by the input string.
118188 -** text string in the style of "ls -l".
119048 +** The function will return a string of the form 'ieee754(Y,Z)' where
119129 #include <string.h>
119155 - int szRow; /* Length of the zCurrentRow string */
119797 -** (2) If the file ends with the appendvfs trailer string
119801 -** (3) If the file begins with the standard SQLite prefix string
119814 -** This VFS will not read or write past the 1GiB mark. This restriction
119860 -#include <string.h>
119862 +#include <string.h>
119864 -/* The append mark at the end of the database is:
119936 -** Maximum size of the combined prefix + database + append-mark. This
119988 -** append-mark.
119993 -** | prefix-file | padding | database | append-mark |
120004 -** "append-mark" - The 25-byte "Start-Of-SQLite3-NNNNNNNN" that indicates
120021 - sqlite3_int64 iMark; /* Offset of the append mark. -1 if unwritten */
120188 -** Add the append-mark onto what should become the end of the file.
120190 -* Parameter iWriteEnd is the appendvfs-relative offset of the new mark.
120263 - /* If append-mark is absent or will be overwritten, write it. */
120322 - /* The append mark goes out first so truncate failure does not lose it. */
120324 - /* Truncate underlying file just past append mark */
120353 -** If the append mark is not yet there, the file-size is 0.
120529 +** string to be matched. By registering this function, SQLite will also
120542 +** ^X X occurring at the beginning of the string
120543 +** X$ X occurring at the end of the string
120563 +** expression and M is the size of the input string. The matcher never
120573 +#include <string.h>
120654 +/* An input string read one character at a time.
120746 -** Try to read the append-mark off the end of a file. Return the
120747 -** start of the appended database if the append-mark is present.
120748 -** If there is no valid append-mark, return -1;
120750 -** An append-mark is only valid if the NNNNNNNN start-of-database offset
120786 +** string zIn[]. Return true on a match and false if there is no match.
121059 +** return a pointer to the error message string.
121271 - pApndFile->iMark = -1; /* Append mark not yet written */
121310 - pApndFile->iMark = sz - APND_MARK_SIZE; /* Append mark found */
121334 - ** The append mark will be written along with first content write.
121356 + ** string looking for the initial match without having to run the whole
121357 + ** regex engine over the string. Do not worry able trying to match
121386 +** pattern and the second argument is the string. So, the SQL statements:
121562 -#include <string.h>
121705 -#include <string.h>
121820 #include <string.h>
121896 -** by the input string.
122707 +** text string in the style of "ls -l".
122956 -** The function will return a string of the form 'ieee754(Y,Z)' where
123029 -#include <string.h>
123636 #include <string.h>
123666 + int szRow; /* Length of the zCurrentRow string */
124343 -** string to be matched. By registering this function, SQLite will also
124365 -** ^X X occurring at the beginning of the string
124366 -** X$ X occurring at the end of the string
124385 +** (2) If the file ends with the appendvfs trailer string
124388 +** (3) If the file begins with the standard SQLite prefix string
124398 +** This VFS will not read or write past the 1GiB mark. This restriction
124404 -** expression and M is the size of the input string. The matcher never
124410 -#include <string.h>
124417 +#include <string.h>
124424 +/* The append mark at the end of the database is:
124446 +** Maximum size of the combined prefix + database + append-mark. This
124493 -/* An input string read one character at a time.
124514 +** append-mark.
124519 +** | prefix-file | padding | database | append-mark |
124530 +** "append-mark" - The 25-byte "Start-Of-SQLite3-NNNNNNNN" that indicates
124556 + sqlite3_int64 iMark; /* Offset of the append mark. -1 if unwritten */
124723 -** string zIn[]. Return true on a match and false if there is no match.
124725 +** Add the append-mark onto what should become the end of the file.
124727 +* Parameter iWriteEnd is the appendvfs-relative offset of the new mark.
124913 + /* If append-mark is absent or will be overwritten, write it. */
124940 + /* The append mark goes out first so truncate failure does not lose it. */
124942 + /* Truncate underlying file just past append mark */
124961 +** If the append mark is not yet there, the file-size is 0.
125058 -** return a pointer to the error message string.
125292 +** Try to read the append-mark off the end of a file. Return the
125293 +** start of the appended database if the append-mark is present.
125294 +** If there is no valid append-mark, return -1;
125296 +** An append-mark is only valid if the NNNNNNNN start-of-database offset
125404 + pApndFile->iMark = -1; /* Append mark not yet written */
125446 + pApndFile->iMark = sz - APND_MARK_SIZE; /* Append mark found */
125469 - ** string looking for the initial match without having to run the whole
125470 - ** regex engine over the string. Do not worry able trying to match
125493 + ** The append mark will be written along with first content write.
125505 -** pattern and the second argument is the string. So, the SQL statements:
125865 + const char * zInput; /* Input string from wasm/JS proxy */
126007 +** specific token that we can point to, return an empty string.
126068 + const char *zSql /* SQL string, or NULL */
126637 " --bom Put a UTF8 byte-order mark on intermediate file",
126725 " --bom Put a UTF8 byte-order mark at the beginning",
126749 " --bom Prefix output with a UTF8 byte-order mark",
127090 + * string (if any) must be sqlite3_free()'ed by the caller.
127110 +/* Define character (as C string) to separate generated column ordinal
127976 + unsigned char zBOM[4]; /* Byte-order mark to using if --bom is present */
128737 ** ^(Memory to hold the error message string is managed internally
128831 +** Space to hold the string that is returned by sqlite3_db_name() is managed
128832 +** by SQLite itself. The string might be deallocated by any operation that
128836 +** remember the string long-term should make their own copy. Applications that
128973 +** method of a [virtual table]. This function returns a pointer to a string
130769 + int n; /* Number of characters in string value, excluding '\0' */
130773 - int n; /* Number of characters in string value, excluding '\0' */
130808 +** * MEM_Str A string, stored in Mem.z with
130832 ** set, then the string is nul terminated. The MEM_Int and MEM_Real
130837 #define MEM_Str 0x0002 /* Value is a string */
130857 -/* Whenever Mem contains a valid string or blob representation, one of
130860 -** string is \000 or \u0000 terminated
130861 +/* Bits that determine the storage for Mem.z for a string or blob or
130866 -#define MEM_Static 0x0800 /* Mem.z points to a static string */
130867 -#define MEM_Ephem 0x1000 /* Mem.z points to an ephemeral string */
130876 +#define MEM_Static 0x2000 /* Mem.z points to a static string */
130877 +#define MEM_Ephem 0x4000 /* Mem.z points to an ephemeral string */
131616 }/* End for loop over the format string */
131621 +** The z string points to the first character of a token that is
132567 ** If it is not NULL, string zFormat specifies the format of the
132568 -** error string in the style of the printf functions: The following
132571 -** %s Insert a string
132572 -** %z A string that should be freed after use
132577 -** zFormat and any string tokens that follow it are assumed to be
132579 +** error string. zFormat and any string tokens that follow it are
132590 -** %s Insert a string
132591 -** %z A string that should be freed after use
133691 + u8 *pEnd; /* End mark for a varint */
134659 ** If pMem represents a string value, its encoding might be changed.
134682 ** is required to store the string, then value of pMem is unchanged. In
134685 +** The "enc" parameter is the text encoding for the string, or zero
134688 +** If n is negative, then the string consists of all bytes up to but
134693 Mem *pMem, /* Memory cell to set to string value */
134697 int iLimit; /* Maximum allowed string or blob size */
135075 int bUndefine /* If true, mark registers as undefined */
135521 -** deleted out from under the cursor and if it has, mark the row as
136569 ** is made of any string or blob constant. See also OP_SCopy.
136979 char *zAffinity; /* The affinity string for the record */
139333 -** so that any string literals that use double-quotes are modified so that
139337 +** Rewrite the DDL statement "SQL" so that any string literals that use
139343 ** returns the string:
139345 ** CREATE VIEW v1 AS SELECT "a", 'string' FROM t1
139348 +** if PRAGMA writable_schema=ON, then just return the input string
140040 -** the argument. If the argument is NULL, the return value is the string
140051 + /* As currently implemented, the string must be initially empty.
140152 +** embedded NUL characters cannot be represented as string literals in SQL
140153 +** and hence the returned string literal is truncated prior to the first NUL.
140172 ** for the first character of the input string.
140714 const char **pzTail /* OUT: End of parsed string */
141080 -** an ordinary term that omits the EP_FromJoin mark.
141087 +** an ordinary term that omits the EP_OuterON mark. Or if iTable<0, then
141088 +** just clear every EP_OuterON and EP_InnerON mark from the expression tree.
142148 - char *zToFree; /* Malloced string that needs to be freed */
142801 ** Convert the pStep->zTarget string into a SrcList and return a pointer
143184 char *idxStr; /* Index identifier string */
143402 + StrAccum str; /* EQP output string */
143403 + char zBuf[100]; /* Initial space for EQP output string */
145375 + ** cause many rows to be omitted, then mark that table as
152653 -** Run the parser on the given SQL string. The parser structure is
152658 +** Run the parser on the given SQL string.
153215 -/* #include <string.h> */
153662 -** Return the top-level "type" of a JSON string. Throw an error if
153664 +** Return the top-level "type" of a JSON string. json_type() raises an
154327 ** ^(Memory to hold the error message string is managed internally
154421 +** Space to hold the string that is returned by sqlite3_db_name() is managed
154422 +** by SQLite itself. The string might be deallocated by any operation that
154426 +** remember the string long-term should make their own copy. Applications that
154563 +** method of a [virtual table]. This function returns a pointer to a string
154947 # This message is too long to be a string in the A/UX 3.1 sh.
155730 + { type: string, data: type-specific value }
155742 + layer. The data property is the string of the output, noting
155756 + data: {text:string|null, step:1-based-integer}
155829 + if(!f._) f._ = fiddleModule.cwrap('fiddle_db_filename', "string", ['string']);
155838 + if(!f._) f._ = fiddleModule.cwrap('fiddle_exec', null, ['string']);
155890 + error: on error, a message string and no buffer property.
155964 + text: string | null, // null at end of load process
156423 + it to a string. */
156476 + Returns a brief help text string for the currently-selected
157351 + JSON string constructed within our current confines is
157406 + ["sqlite3_bind_parameter_index","number",["number", "string"]],
157419 + ["sqlite3_column_name","string",["number", "number"]],
157420 + ["sqlite3_column_text","string",["number", "number"]],
157422 + ["sqlite3_compileoption_get", "string", ["number"]],
157423 + ["sqlite3_compileoption_used", "number", ["string"]],
157425 + ["number", "string", "number", "number","number",
157428 + ["sqlite3_db_filename", "string", ["number", "string"]],
157429 + ["sqlite3_errmsg", "string", ["number"]],
157430 + ["sqlite3_exec", "number", ["number", "string", "number", "number", "number"]],
157433 + ["sqlite3_libversion", "string", []],
157434 + ["sqlite3_open", "number", ["string", "number"]],
157435 + //["sqlite3_open_v2", "number", ["string", "number", "number", "string"]],
157437 + ["sqlite3_prepare_v2", "number", ["number", "string", "number", "number", "number"]],
157440 + the SQL string, instead of being converted to a
157441 + string. This is used for cases where we require a non-NULL
157443 + statements from one input string). */
157448 + ["sqlite3_result_error",null,["number", "string", "number"]],
157451 + ["sqlite3_result_text",null,["number", "string", "number", "number"]],
157452 + ["sqlite3_sourceid", "string", []],
157453 + ["sqlite3_sql", "string", ["number"]],
157458 + ["sqlite3_value_text", "string", ["number"]],
157460 + //["sqlite3_normalized_sql", "string", ["number"]]
157517 + if('string'===typeof arg){
157557 + string: 3,
157607 + if('string'===typeof args[0]){
157621 + if('string'!==typeof out.sql) toss("Missing SQL argument.");
157646 + still throw but the error string might be "Not an error."
157790 + string. Its arguments must be either (sql,optionsObject) or
157795 + If no SQL is provided, or a non-string is provided, an
157818 + - .rowMode = a string describing what type of argument
157831 + don't have the string until after that). Empty SQL
157978 + }else if('string' !== typeof name){
158023 + case 'string':
158141 + case BindTypes.string:
158215 + string: function(stmt, ndx, val, asBlob){
158231 + case BindTypes.string:{
158232 + rc = f._.string(stmt, ndx, val, false);
158248 + if('string'===typeof val){
158249 + rc = f._.string(stmt, ndx, val, true);
158438 + or named bind index. The value must be of type string,
158450 + if(BindTypes.string !== t && BindTypes.blob !== t
158489 + to, e.g., fetch an integer value as a string, in which case
158490 + sqlite3 will convert the value to a string.
158504 + result as a string and passes it (if it's not null) to
158565 + string. */
158572 + as a string and then, if it is not null, passes it to
158575 + string, on the other hand, will trigger an exception.
158687 + 'string'===typeof optName
158803 + string (SQL to execute) or an options object in the form
158812 + options.callback is a string then it is assumed to be a
158830 + one if passed only a string), noting that
158838 + 'string'===typeof ev.data
158855 + if('string' === typeof callbackMsgType){
158868 + if('string'===typeof callbackMsgType){
158881 + mimetype: string
158962 + message: error string,
159529 + T.assert('string' === typeof ev.filename)
159538 + T.assert('string' === typeof ev.filename);
159903 - set n [string length $text]
159905 - set stars [string range $s78 0 $nstar]
160397 +#include <string.h>
163118 -** so that any string literals that use double-quotes are modified so that
163122 +** Rewrite the DDL statement "SQL" so that any string literals that use
163128 ** returns the string:
163130 ** CREATE VIEW v1 AS SELECT "a", 'string' FROM t1
163133 +** if PRAGMA writable_schema=ON, then just return the input string
163426 + u8 *pEnd; /* End mark for a varint */
166173 -** the argument. If the argument is NULL, the return value is the string
166184 + /* As currently implemented, the string must be initially empty.
166285 +** embedded NUL characters cannot be represented as string literals in SQL
166286 +** and hence the returned string literal is truncated prior to the first NUL.
166305 ** for the first character of the input string.
166558 -#include <string.h>
167006 -** Return the top-level "type" of a JSON string. Throw an error if
167008 +** Return the top-level "type" of a JSON string. json_type() raises an
168765 const char **pzTail /* OUT: End of parsed string */
168918 }/* End for loop over the format string */
168923 +** The z string points to the first character of a token that is
169888 -** an ordinary term that omits the EP_FromJoin mark.
169894 +** an ordinary term that omits the EP_OuterON mark. Or if iTable<0, then
169895 +** just clear every EP_OuterON and EP_InnerON mark from the expression tree.
170956 - char *zToFree; /* Malloced string that needs to be freed */
171762 + const char * zInput; /* Input string from wasm/JS proxy */
171904 +** specific token that we can point to, return an empty string.
171965 + const char *zSql /* SQL string, or NULL */
172534 " --bom Put a UTF8 byte-order mark on intermediate file",
172622 " --bom Put a UTF8 byte-order mark at the beginning",
172646 " --bom Prefix output with a UTF8 byte-order mark",
172987 + * string (if any) must be sqlite3_free()'ed by the caller.
173007 +/* Define character (as C string) to separate generated column ordinal
173873 + unsigned char zBOM[4]; /* Byte-order mark to using if --bom is present */
174613 ** ^(Memory to hold the error message string is managed internally
174707 +** Space to hold the string that is returned by sqlite3_db_name() is managed
174708 +** by SQLite itself. The string might be deallocated by any operation that
174712 +** remember the string long-term should make their own copy. Applications that
174849 +** method of a [virtual table]. This function returns a pointer to a string
176690 -** Run the parser on the given SQL string. The parser structure is
176695 +** Run the parser on the given SQL string.
177761 ** Convert the pStep->zTarget string into a SrcList and return a pointer
178064 ** If it is not NULL, string zFormat specifies the format of the
178065 -** error string in the style of the printf functions: The following
178068 -** %s Insert a string
178069 -** %z A string that should be freed after use
178074 -** zFormat and any string tokens that follow it are assumed to be
178076 +** error string. zFormat and any string tokens that follow it are
178087 -** %s Insert a string
178088 -** %z A string that should be freed after use
178421 ** is made of any string or blob constant. See also OP_SCopy.
178831 char *zAffinity; /* The affinity string for the record */
179709 + int n; /* Number of characters in string value, excluding '\0' */
179713 - int n; /* Number of characters in string value, excluding '\0' */
179748 +** * MEM_Str A string, stored in Mem.z with
179772 ** set, then the string is nul terminated. The MEM_Int and MEM_Real
179777 #define MEM_Str 0x0002 /* Value is a string */
179797 -/* Whenever Mem contains a valid string or blob representation, one of
179800 -** string is \000 or \u0000 terminated
179801 +/* Bits that determine the storage for Mem.z for a string or blob or
179806 -#define MEM_Static 0x0800 /* Mem.z points to a static string */
179807 -#define MEM_Ephem 0x1000 /* Mem.z points to an ephemeral string */
179816 +#define MEM_Static 0x2000 /* Mem.z points to a static string */
179817 +#define MEM_Ephem 0x4000 /* Mem.z points to an ephemeral string */
180611 int bUndefine /* If true, mark registers as undefined */
181056 -** deleted out from under the cursor and if it has, mark the row as
181579 ** If pMem represents a string value, its encoding might be changed.
181602 ** is required to store the string, then value of pMem is unchanged. In
181605 +** The "enc" parameter is the text encoding for the string, or zero
181608 +** If n is negative, then the string consists of all bytes up to but
181613 Mem *pMem, /* Memory cell to set to string value */
181617 int iLimit; /* Maximum allowed string or blob size */
182536 + ** cause many rows to be omitted, then mark that table as
183842 char *idxStr; /* Index identifier string */
184063 + StrAccum str; /* EQP output string */
184064 + char zBuf[100]; /* Initial space for EQP output string */
186000 + regsub -all {[ \t\n]+} [string trim $in] { }
187033 + set sql [string map [list %$ii% $a] $sql]
187034 + set sql [string map [list %I$ii% [join $a ,]] $sql]
189268 - SELECT typeof(replace("This is the main test string", NULL, "ALT"));
189269 + SELECT typeof(replace('This is the main test string', NULL, 'ALT'));
189280 - SELECT typeof(replace("This is the main test string", "main", NULL));
189281 + SELECT typeof(replace('This is the main test string', 'main', NULL));
189286 - SELECT replace("This is the main test string", "main", "ALT");
189287 + SELECT replace('This is the main test string', 'main', 'ALT');
189289 } {{This is the ALT test string}}
189292 - SELECT replace("This is the main test string", "main", "larger-main");
189293 + SELECT replace('This is the main test string', 'main', 'larger-main');
189295 } {{This is the larger-main test string}}
190288 zRfR?SaSn|bC=Z0XQSx%Q^ObL9h}|f+fWBSj=2$~po)bx=+5`U0gwI;Z7txl^X)S-q
191596 zeiJIY=_j!Rx>PHfr?c1h?rgzX+`g=H^=iBsJUFc;po^{{=bcf1<ww7uhVT0V8SD09
192409 zUSuy)t!=d~po>j<;FaU!$Cgf>T4J>hgZ0V!7@85I|9~f-(UK>vk8^Z?lD<*I9Hz{y
192784 z`$ANf;yyk#<jdnXl;DkI;5G7lIb%6po=DtJaW9BUWx}wsNKRgzj@KpQ<wXeKtBBlt
193350 zt}0X~kiba@xbE{4=@?}TM91tj_&po?2pLmsTZ`V(*F-+vHbd!MW0rfp<GCfh_HkP{
194260 +#include <string.h>
246591 + catchcmd test.db [string trim {
246948 return [string map [list \\ /] \
246949 - [string trim [exec -- $comSpec /c echo %CD%]]]
246950 + [string trim [exec -- $comSpec /c CD]]]
248875 -# Split a string on a regex, return all parts in order.
248891 - lappend chunks [string range $str $cix [expr $mbx - 1]]
248892 - lappend chunks [string range $str $mbx $mex]
248895 - lappend chunks [string range $str $cix end]
248928 puts $cfd [string trim $options($o)]
249114 set nnc [string length $namechars]
249695 #include <string>
249706 + const std::map<std::string, std::vector<int>>& html_img_src_set() const { return html_img_src_se…
249707 + void set_html_img_src_set(std::map<std::string, std::vector<int>>& src_set) {
249714 std::string text_;
249720 + std::map<std::string, std::vector<int>> html_img_src_set_;
249755 +ClipboardFormatType::ClipboardFormatType(const std::string& native_format)
249758 +std::string ClipboardFormatType::Serialize() const {
249764 + const std::string& serialization) {
249768 +std::string ClipboardFormatType::GetName() const {
249782 + const std::string& format_string) {
249788 +std::string ClipboardFormatType::WebCustomFormatName(int index) {
249794 +std::string ClipboardFormatType::WebCustomFormatMapName() {
249809 + const std::string& format_string) {
249923 +const std::string kImgTagPattern = "<img.*?data-ohos=.*?>";
249924 +const std::string kImgTagSrcPattern = "src=*\"([^\"]+)";
249925 +const std::string kImgTagSrcHead = "src=\"";
249952 +std::string GetImgLocalPath(const char* img_src) {
249966 + return std::string(img_src);
250074 + std::shared_ptr<std::string> text = read_data_->ReadText();
250076 + std::string data = *text;
250083 + std::string* src_url,
250097 + std::string data;
250098 + std::shared_ptr<std::string> html = read_data_->ReadHtml();
250099 + std::shared_ptr<std::string> text = read_data_->ReadText();
250197 + std::shared_ptr<std::string> html =
250198 + std::make_shared<std::string>(currentData->markup_data());
250208 + std::shared_ptr<std::string> text =
250209 + std::make_shared<std::string>(currentData->text());
250218 + std::map<std::string, std::vector<int>>::const_iterator it;
250268 + std::shared_ptr<std::string> html = record->GetHtmlText();
250269 + std::shared_ptr<std::string> text = record->GetPlainText();
250313 + data->set_text(std::string(text_data, text_len));
250323 + data->set_markup_data(std::string(markup_data, markup_len));
250324 + data->set_url(std::string(url_data, url_len));
250329 + static void WriteData(const std::string& format,
250334 + data->SetCustomData(format, std::string(data_data, data_len));
250370 + std::map<std::string, std::vector<int>> img_src_set;
250411 + std::map<std::string, std::vector<int>>& img_src_set,
250413 + std::string img_path = GetImgLocalPath(img_src);
250416 + std::map<std::string, std::vector<int>>::iterator iter =
250572 + std::string* result) const {
250579 + std::string* src_url,
250601 + std::string* result) const {
250633 + std::string* url) const {
250639 + std::string* result) const {
250759 + std::string* result) const override;
250763 + std::string* src_url,
250771 + std::string* result) const override;
250784 + std::string* url) const override;
250787 + std::string* result) const override;
250840 +const std::string kImgPasteboardDir = "/data/storage/el2/base/cache/pasteboard";
250850 + std::shared_ptr<std::string> new_uri = record->GetUri();
250863 +void ClipboardOhosReadData::SaveImgFile(const std::string& old_uri,
250864 + std::string& new_uri,
250895 +std::shared_ptr<std::string> ClipboardOhosReadData::ReadHtml() {
250907 +void ClipboardOhosReadData::ReplaceHTMLImgUriList(std::string& html) {
250908 + std::map<std::string, std::string> uri_map;
250909 + std::map<int, std::string> offset_map;
250913 + std::shared_ptr<std::string> new_uri = record->GetUri();
250934 + std::map<int, std::string>::iterator iter;
250935 + std::map<std::string, std::string>::iterator find_uri_map_iter;
250942 + std::string new_uri = find_uri_map_iter->second;
250979 +using FileUrlMap = std::unordered_map<std::string, base::File>;
250984 + std::unordered_map<std::string, base::File>& GetFileMap() {
250992 + std::shared_ptr<std::string> ReadHtml();
250993 + std::shared_ptr<std::string> ReadText() { return text_; }
250997 + void ReplaceHTMLImgUriList(std::string& html);
250998 + void SaveImgFile(const std::string& old_uri,
250999 + std::string& new_uri,
251007 + std::shared_ptr<std::string> html_ = nullptr;
251008 + std::shared_ptr<std::string> text_ = nullptr;
251093 + locale_file_path.AppendASCII(std::string("locales/") + app_locale + kPakFileExtension);
252590 diff --git a/src/v8/src/inspector/string-util.h b/src/v8/src/inspector/string-util.h
252592 --- a/src/v8/src/inspector/string-util.h
252593 +++ b/src/v8/src/inspector/string-util.h
252952 + CHECK_NE(toString16(message->string()).find(expected_response_matcher_),