MCPcopy Create free account
hub / github.com/NativeScript/android / is_ascii

Function is_ascii

test-app/runtime/src/main/cpp/ada/ada.cpp:9559–9566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9557namespace ada::idna {
9558
9559bool constexpr is_ascii(std::u32string_view view) {
9560 for (uint32_t c : view) {
9561 if (c >= 0x80) {
9562 return false;
9563 }
9564 }
9565 return true;
9566}
9567
9568bool constexpr is_ascii(std::string_view view) {
9569 for (uint8_t c : view) {

Callers 6

from_ascii_to_asciiFunction · 0.85
to_asciiFunction · 0.85
to_unicodeFunction · 0.85
tokenizeFunction · 0.85
escape_pattern_stringFunction · 0.85
escape_regexp_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected