MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / Utf8Decode

Function Utf8Decode

internal/utf8.h:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56size_t Utf8Decode(const absl::Cord::CharIterator& it,
57 char32_t* absl_nullable code_point);
58inline std::pair<char32_t, size_t> Utf8Decode(absl::string_view str) {
59 char32_t code_point;
60 size_t code_units = Utf8Decode(str, &code_point);
61 return std::pair{code_point, code_units};
62}
63inline std::pair<char32_t, size_t> Utf8Decode(
64 const absl::Cord::CharIterator& it) {
65 char32_t code_point;

Callers 12

TEST_PFunction · 0.70
NewSourceImplFunction · 0.50
DisplayErrorLocationMethod · 0.50
IndexOfMethod · 0.50
LastIndexOfMethod · 0.50
SubstringImplFunction · 0.50
TrimImplFunction · 0.50
QuoteMethod · 0.50
ReverseMethod · 0.50
SplitMethod · 0.50
ReplaceMethod · 0.50
CharAtMethod · 0.50

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.56