Searched refs:validate_utf8 (Results 1 – 4 of 4) sorted by relevance
/third_party/node/deps/v8/src/wasm/ |
D | module-decoder.cc | 111 bool validate_utf8(Decoder* decoder, WireBytesRef string) { in validate_utf8() function 119 WireBytesRef consume_string(Decoder* decoder, bool validate_utf8, in consume_string() argument 127 if (decoder->ok() && validate_utf8 && in consume_string() 1230 if (inner.ok() && validate_utf8(&inner, name)) { in DecodeNameSection() 2509 if (decoder.ok() && validate_utf8(&decoder, name)) { in DecodeFunctionNames() 2541 if (!validate_utf8(&decoder, name)) continue; in DecodeNameMap() 2579 if (!validate_utf8(&decoder, name)) continue; in DecodeIndirectNameMap()
|
/third_party/node/deps/simdutf/ |
D | simdutf.h | 899 simdutf_warn_unused bool validate_utf8(const char *buf, size_t len) noexcept; 2299 simdutf_warn_unused virtual bool validate_utf8(const char *buf, size_t len) const noexcept = 0;
|
D | simdutf.cpp | 69 simdutf_warn_unused bool validate_utf8(const char *buf, size_t len) const noexcept final; 1269 simdutf_warn_unused bool validate_utf8(const char *buf, size_t len) const noexcept final; 1476 simdutf_warn_unused bool validate_utf8(const char *buf, size_t len) const noexcept final; 2407 simdutf_warn_unused bool validate_utf8(const char *buf, size_t len) const noexcept final; 3348 simdutf_warn_unused bool validate_utf8(const char *buf, size_t len) const noexcept final; 4005 simdutf_warn_unused bool validate_utf8(const char *buf, size_t len) const noexcept final; 4475 if(validate_utf8(input, length)) { return encoding_type::UTF8; } in autodetect_encoding() 4544 …simdutf_warn_unused bool validate_utf8(const char * buf, size_t len) const noexcept final override… in validate_utf8() function in simdutf::internal::detect_best_supported_implementation_on_first_use 4545 return set_best()->validate_utf8(buf, len); in validate_utf8() 4877 simdutf_warn_unused bool validate_utf8(const char *, size_t) const noexcept final override { in validate_utf8() function in simdutf::internal::unsupported_implementation [all …]
|
/third_party/node/src/ |
D | node_buffer.cc | 1238 args.GetReturnValue().Set(simdutf::validate_utf8(abv.data(), abv.length())); in IsUtf8()
|