Searched refs:VALID_ENDPOINT (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/base/i18n/
H A Dstreaming_utf8_validator.h23 // The validator exposes 3 states. It starts in state VALID_ENDPOINT. As it
24 // processes characters it alternates between VALID_ENDPOINT and
28 VALID_ENDPOINT, enumerator in enum:base::StreamingUtf8Validator::State
38 // string, returns VALID_ENDPOINT. If it could be the prefix of a valid UTF-8
H A Dstreaming_utf8_validator.cc44 return state == 0 ? VALID_ENDPOINT
56 VALID_ENDPOINT;
H A Dstreaming_utf8_validator_unittest.cc43 const StreamingUtf8Validator::State VALID_ENDPOINT = member in namespace:base::__anon2293
44 StreamingUtf8Validator::VALID_ENDPOINT;
80 validator.AddBytes(test, sizeof n) == VALID_ENDPOINT)
255 StreamingUtf8Validator::State state = VALID_ENDPOINT;
294 EXPECT_EQ(VALID_ENDPOINT, StreamingUtf8Validator().AddBytes(kNothing, 0));
303 EXPECT_EQ(VALID_ENDPOINT, StreamingUtf8Validator().AddBytes(kNul, 1));
310 VALID_ENDPOINT,
320 EXPECT_EQ(VALID_ENDPOINT, validator.AddBytes("a", 1));
324 CheckRange(valid, valid_end, VALID_ENDPOINT);
336 CheckRangeByteAtATime(valid, valid_end, VALID_ENDPOINT);
[all...]
/external/chromium_org/net/websockets/
H A Dwebsocket_channel.cc404 DCHECK(!fin || state == StreamingUtf8Validator::VALID_ENDPOINT);
925 DCHECK(!final || state == StreamingUtf8Validator::VALID_ENDPOINT);

Completed in 3074 milliseconds