Home
last modified time | relevance | path

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

/third_party/json/include/nlohmann/detail/
Djson_pointer.hpp666 static std::vector<string_t> split(const string_t& reference_string) in split() argument
671 if (reference_string.empty()) in split()
677 if (JSON_HEDLEY_UNLIKELY(reference_string[0] != '/')) in split()
679 …il::concat("JSON pointer must be empty or begin with '/' - was: '", reference_string, "'"), nullpt… in split()
687 std::size_t slash = reference_string.find_first_of('/', 1), in split()
696 slash = reference_string.find_first_of('/', start)) in split()
700 auto reference_token = reference_string.substr(start, slash - start); in split()
735 static void flatten(const string_t& reference_string, in flatten() argument
746 result[reference_string] = nullptr; in flatten()
753 flatten(detail::concat(reference_string, '/', std::to_string(i)), in flatten()
[all …]
/third_party/json/tests/abi/include/nlohmann/
Djson_v3_10_5.hpp12860 static std::vector<std::string> split(const std::string& reference_string) in split() argument
12865 if (reference_string.empty()) in split()
12871 if (JSON_HEDLEY_UNLIKELY(reference_string[0] != '/')) in split()
12873 …e(107, 1, "JSON pointer must be empty or begin with '/' - was: '" + reference_string + "'", BasicJ… in split()
12881 std::size_t slash = reference_string.find_first_of('/', 1), in split()
12890 slash = reference_string.find_first_of('/', start)) in split()
12894 auto reference_token = reference_string.substr(start, slash - start); in split()
12928 static void flatten(const std::string& reference_string, in flatten() argument
12939 result[reference_string] = nullptr; in flatten()
12946 flatten(reference_string + "/" + std::to_string(i), in flatten()
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp14347 static std::vector<string_t> split(const string_t& reference_string) in split() argument
14352 if (reference_string.empty()) in split()
14358 if (JSON_HEDLEY_UNLIKELY(reference_string[0] != '/')) in split()
14360 …il::concat("JSON pointer must be empty or begin with '/' - was: '", reference_string, "'"), nullpt… in split()
14368 std::size_t slash = reference_string.find_first_of('/', 1), in split()
14377 slash = reference_string.find_first_of('/', start)) in split()
14381 auto reference_token = reference_string.substr(start, slash - start); in split()
14416 static void flatten(const string_t& reference_string, in flatten() argument
14427 result[reference_string] = nullptr; in flatten()
14434 flatten(detail::concat(reference_string, '/', std::to_string(i)), in flatten()
[all …]