Home
last modified time | relevance | path

Searched refs:AddBytes (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/i18n/
Dstreaming_utf8_validator_unittest.cc82 validator.AddBytes(test, sizeof n) == VALID_ENDPOINT) in TestNumber()
242 validator.AddBytes(sequence.data(), sequence.size())) in CheckRange()
259 state = validator.AddBytes(&*cit, 1); in CheckRangeByteAtATime()
283 validator.AddBytes(c1.data(), c1.size()); in CheckCombinations()
284 EXPECT_EQ(expected, validator.AddBytes(c2.data(), c2.size())) in CheckCombinations()
294 EXPECT_EQ(VALID_ENDPOINT, StreamingUtf8Validator().AddBytes(kNothing, 0)); in TEST()
303 EXPECT_EQ(VALID_ENDPOINT, StreamingUtf8Validator().AddBytes(kNul, 1)); in TEST()
311 StreamingUtf8Validator().AddBytes(kHelloWorld, strlen(kHelloWorld))); in TEST()
317 EXPECT_EQ(INVALID, validator.AddBytes("\xC0", 1)); in TEST()
318 EXPECT_EQ(INVALID, validator.AddBytes("a", 1)); in TEST()
[all …]
Dstreaming_utf8_validator.cc24 StreamingUtf8Validator::State StreamingUtf8Validator::AddBytes(const char* data, in AddBytes() function in base::StreamingUtf8Validator
55 return StreamingUtf8Validator().AddBytes(string.data(), string.size()) == in Validate()
Dstreaming_utf8_validator.h44 State AddBytes(const char* data, size_t size);
/external/perfetto/src/trace_processor/metrics/
Dmetrics.h125 void AddBytes(const uint8_t* data, size_t size);
Dmetrics.cc372 AddBytes(static_cast<const uint8_t*>(value.bytes_value), in AddSqlValue()
376 AddBytes(nullptr, 0); in AddSqlValue()
397 void RepeatedFieldBuilder::AddBytes(const uint8_t* data, size_t size) { in AddBytes() function in perfetto::trace_processor::metrics::RepeatedFieldBuilder
/external/pigweed/pw_trace_tokenized/
Ddocs.rst107 ``AddBytes`` is then called multiple times with chunks of bytes. Finally ``End``