Searched refs:VALID_ENDPOINT (Results 1 - 4 of 4) sorted by relevance
/external/chromium_org/base/i18n/ |
H A D | streaming_utf8_validator.h | 23 // 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 D | streaming_utf8_validator.cc | 44 return state == 0 ? VALID_ENDPOINT 56 VALID_ENDPOINT;
|
H A D | streaming_utf8_validator_unittest.cc | 43 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 D | websocket_channel.cc | 404 DCHECK(!fin || state == StreamingUtf8Validator::VALID_ENDPOINT); 925 DCHECK(!final || state == StreamingUtf8Validator::VALID_ENDPOINT);
|
Completed in 3074 milliseconds