OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StreamingUtf8Validator
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/base/i18n/
streaming_utf8_validator.h
21
class BASE_I18N_EXPORT
StreamingUtf8Validator
{
33
StreamingUtf8Validator
() : state_(0u) {}
58
DISALLOW_COPY_AND_ASSIGN(
StreamingUtf8Validator
);
streaming_utf8_validator.cc
24
StreamingUtf8Validator
::State
StreamingUtf8Validator
::AddBytes(const char* data,
50
void
StreamingUtf8Validator
::Reset() {
54
bool
StreamingUtf8Validator
::Validate(const std::string& string) {
55
return
StreamingUtf8Validator
().AddBytes(string.data(), string.size()) ==
streaming_utf8_validator_unittest.cc
43
const
StreamingUtf8Validator
::State VALID_ENDPOINT =
44
StreamingUtf8Validator
::VALID_ENDPOINT;
45
const
StreamingUtf8Validator
::State VALID_MIDPOINT =
46
StreamingUtf8Validator
::VALID_MIDPOINT;
47
const
StreamingUtf8Validator
::State INVALID =
StreamingUtf8Validator
::INVALID;
73
// verifies that IsStringUtf8 and
StreamingUtf8Validator
agree on
78
StreamingUtf8Validator
validator;
237
StreamingUtf8Validator
::State expected) {
239
StreamingUtf8Validator
validator
[
all
...]
streaming_utf8_validator_perftest.cc
63
DCHECK(
StreamingUtf8Validator
::Validate(previous));
76
DCHECK(
StreamingUtf8Validator
::Validate(next))
139
{&
StreamingUtf8Validator
::Validate, "
StreamingUtf8Validator
"},
/external/chromium_org/net/websockets/
websocket_channel.cc
42
using base::
StreamingUtf8Validator
;
391
StreamingUtf8Validator
::State state =
393
if (state ==
StreamingUtf8Validator
::INVALID ||
394
(state ==
StreamingUtf8Validator
::VALID_MIDPOINT && fin)) {
404
DCHECK(!fin || state ==
StreamingUtf8Validator
::VALID_ENDPOINT);
502
StreamingUtf8Validator
::Validate(reason) ? reason : std::string()) ==
[
all
...]
websocket_channel.h
393
base::
StreamingUtf8Validator
outgoing_utf8_validator_;
397
base::
StreamingUtf8Validator
incoming_utf8_validator_;
Completed in 447 milliseconds