Home
last modified time | relevance | path

Searched refs:reference_string (Results 1 – 2 of 2) sorted by relevance

/third_party/json/include/nlohmann/detail/
Djson_pointer.hpp786 static std::vector<std::string> split(const std::string& reference_string) in split() argument
791 if (reference_string.empty()) in split()
797 if (JSON_HEDLEY_UNLIKELY(reference_string[0] != '/')) in split()
799 …e(107, 1, "JSON pointer must be empty or begin with '/' - was: '" + reference_string + "'", BasicJ… in split()
807 std::size_t slash = reference_string.find_first_of('/', 1), in split()
816 slash = reference_string.find_first_of('/', start)) in split()
820 auto reference_token = reference_string.substr(start, slash - start); in split()
854 static void flatten(const std::string& reference_string, in flatten() argument
865 result[reference_string] = nullptr; in flatten()
872 flatten(reference_string + "/" + std::to_string(i), in flatten()
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp13143 static std::vector<std::string> split(const std::string& reference_string) in split() argument
13148 if (reference_string.empty()) in split()
13154 if (JSON_HEDLEY_UNLIKELY(reference_string[0] != '/')) in split()
13156 …e(107, 1, "JSON pointer must be empty or begin with '/' - was: '" + reference_string + "'", BasicJ… in split()
13164 std::size_t slash = reference_string.find_first_of('/', 1), in split()
13173 slash = reference_string.find_first_of('/', start)) in split()
13177 auto reference_token = reference_string.substr(start, slash - start); in split()
13211 static void flatten(const std::string& reference_string, in flatten() argument
13222 result[reference_string] = nullptr; in flatten()
13229 flatten(reference_string + "/" + std::to_string(i), in flatten()
[all …]