Home
last modified time | relevance | path

Searched refs:replace_substring (Results 1 – 3 of 3) sorted by relevance

/third_party/json/include/nlohmann/detail/
Dstring_escape.hpp24 inline void replace_substring(std::string& s, const std::string& f, in replace_substring() function
44 replace_substring(s, "~", "~0"); in escape()
45 replace_substring(s, "/", "~1"); in escape()
58 replace_substring(s, "~1", "/"); in unescape()
59 replace_substring(s, "~0", "~"); in unescape()
/third_party/node/src/tracing/
Dnode_trace_writer.cc63 void replace_substring(std::string* target, in replace_substring() function
80 replace_substring(&filepath, "${pid}", std::to_string(uv_os_getpid())); in OpenNewFileForStreaming()
81 replace_substring(&filepath, "${rotation}", std::to_string(file_num_)); in OpenNewFileForStreaming()
/third_party/json/single_include/nlohmann/
Djson.hpp2536 inline void replace_substring(std::string& s, const std::string& f, in replace_substring() function
2556 replace_substring(s, "~", "~0"); in escape()
2557 replace_substring(s, "/", "~1"); in escape()
2570 replace_substring(s, "~1", "/"); in unescape()
2571 replace_substring(s, "~0", "~"); in unescape()