Home
last modified time | relevance | path

Searched refs:GOOGLE_PREDICT_TRUE (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h794 if (GOOGLE_PREDICT_TRUE(buffer_ < buffer_end_) && *buffer_ < 0x80) { in ReadVarint32()
804 if (GOOGLE_PREDICT_TRUE(buffer_ < buffer_end_) && *buffer_ < 0x80) { in ReadVarint64()
852 if (GOOGLE_PREDICT_TRUE(BufferSize() >= static_cast<int>(sizeof(*value)))) { in ReadLittleEndian32()
866 if (GOOGLE_PREDICT_TRUE(BufferSize() >= static_cast<int>(sizeof(*value)))) { in ReadLittleEndian64()
879 if (GOOGLE_PREDICT_TRUE(buffer_ < buffer_end_) && buffer_[0] < 0x80) { in ReadTag()
894 if (GOOGLE_PREDICT_TRUE(buffer_ < buffer_end_)) { in ReadTagWithCutoff()
908 GOOGLE_PREDICT_TRUE(buffer_ + 1 < buffer_end_) && in ReadTagWithCutoff()
909 GOOGLE_PREDICT_TRUE((buffer_[0] & ~buffer_[1]) >= 0x80)) { in ReadTagWithCutoff()
938 if (GOOGLE_PREDICT_TRUE(buffer_ < buffer_end_) && buffer_[0] == expected) { in ExpectTag()
945 if (GOOGLE_PREDICT_TRUE(BufferSize() >= 2) && in ExpectTag()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h230 #ifndef GOOGLE_PREDICT_TRUE
233 #define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) macro
235 #define GOOGLE_PREDICT_TRUE macro