Searched refs:buf_len (Results 1 – 2 of 2) sorted by relevance
48 bool Write(uint8_t* buf, size_t buf_len) { in Write() argument54 if (buf_len < fields_len + pad_len || in Write()68 bool Read(const uint8_t* buf, size_t buf_len) { in Read() argument69 if (buf_len < kTagLenSize) return false; in Read()75 if (buf_len < kTagLenSize + len_) return false; in Read()
1355 int buf_len; in ParseSimpleFile() local1356 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()