Lines Matching refs:string
25 #include <string>
51 std::vector<std::string> path;
52 std::string password = "";
53 std::string scheme = "";
54 std::string query = "";
55 std::string username = "";
56 std::string fragment = "";
57 std::string host = "";
61 std::string DecodeSpecialChars(std::string input);
62 void DeleteC0OrSpace(std::string& str);
63 void DeleteTabOrNewline(std::string& str1);
64 std::string DealIpv4(std::string str);
65 std::string SplitNum(std::string num, size_t& number);
66 void FormatIpv6(std::string& str);
67 bool ISFileNohost(const std::string& input);
68 bool AnalysisScheme(std::string& input, std::string& scheme,
70 void AnalysisUsernameAndPasswd(std::string& input, std::string& username, std::string& password,
72 void AnalysisPath(std::string& input, std::vector<std::string>& path,
74 void AnalysisOpaqueHost(std::string input, std::string& host,
76 void AnalyseIPv4(const std::string& input, std::string& host,
78 void AnalysisHost(std::string& input, std::string& host,
80 void AnalysisFilePath(std::string& input, UrlData& urlinfo,
82 void AnalysisFilescheme(const std::string& input, UrlData& urlinfo,
85 UrlData& urlinfo, const std::string& input);
86 void AnalyHostPath(std::string &strHost, std::bitset<static_cast<size_t>(BitsetStatusFlag::BIT_STATUS_11)>& flags,
88 void AnalyStrHost(std::string &strHost, UrlData& urlinfo,
90 void AnalysisNoDefaultProtocol(std::string& input, UrlData& urlinfo,
92 void AnalysisOnlyHost(const std::string& input, UrlData& urlinfo,
94 void FormatIpv4(std::vector<std::string> nums, std::string& host,
96 void AnalysisSpecialFile(std::string& temp, size_t pos, UrlData& urlinfo,
98 void AnalysisFile(std::string& input, UrlData& urlinfo,
100 void ParsingHostAndPath(std::string& input, UrlData& urlinfo, size_t& pos,
103 void RemoveLeadingZeros(std::vector<std::string> &ipv6);
104 void IPv6Host(std::string& input, std::string& host,
106 std::string BasePathToStr(UrlData& urlData);
112 * @param input Constructs a URI by parsing a given string.
114 explicit URL(const std::string& input);
119 * @param input Constructs a URI by parsing a given string.
120 * @param base The input parameter is a character string.
122 URL(const std::string& input, const std::string& base);
127 * @param input Constructs a URI by parsing a given string.
130 URL(const std::string& input, const URL& base);
142 * @param input Constructs a URI by parsing a given string.
144 void SetHostname(const std::string& input);
149 * @param input Constructs a URI by parsing a given string.
151 void SetUsername(const std::string& input);
156 * @param input Constructs a URI by parsing a given string.
158 void SetPassword(const std::string& input);
163 * @param input Constructs a URI by parsing a given string.
165 void SetScheme(const std::string& input);
170 * @param input Constructs a URI by parsing a given string.
172 void SetFragment(const std::string& input);
177 * @param input Constructs a URI by parsing a given string.
179 void SetSearch(const std::string& input);
184 * @param input Constructs a URI by parsing a given string.
186 void SetHost(const std::string& input);
191 * @param input Constructs a URI by parsing a given string.
193 void SetPort(const std::string& input);
198 * @param input Constructs a URI by parsing a given string.
200 void SetHref(const std::string& input);
205 * @param input Constructs a URI by parsing a given string.
207 void SetPath(const std::string& input);
382 * Sets the string array of searchParams.
387 void SetArray(napi_env env, std::vector<std::string> input);
390 * Gets the string array of searchParams.
397 * This function will decode the string and put the parsed key and value values into the
401 * @param Stringpar The input parameter of urlsearchparams is string.
403 std::vector<std::string> StringParmas(napi_env env, std::string Stringpar);
406 std::string ToUSVString(std::string inputStr);
408 std::vector<std::string> searchParams {};