Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
DBCHeaderField.h48 bool Write(uint8_t* buf, size_t buf_len) { in Write() argument
54 if (buf_len < fields_len + pad_len || in Write()
68 bool Read(const uint8_t* buf, size_t buf_len) { in Read() argument
69 if (buf_len < kTagLenSize) return false; in Read()
75 if (buf_len < kTagLenSize + len_) return false; in Read()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc1355 int buf_len; in ParseSimpleFile() local
1356 while (file_stream.Next(&buf, &buf_len)) { in ParseSimpleFile()
1357 if (buf_len == 0) { in ParseSimpleFile()
1361 if (!parser.ParseChunk(StringPiece(static_cast<const char*>(buf), buf_len))) { in ParseSimpleFile()