Lines Matching defs:byte_str_ref_t
308 struct byte_str_ref_t struct
310 byte_str_ref_t () { init (); } in byte_str_ref_t() argument
312 void init () in init()
319 void fini () {} in fini()
321 byte_str_ref_t (const byte_str_t &str_, unsigned int offset_ = 0) in byte_str_ref_t() argument
324 void reset (const byte_str_t &str_, unsigned int offset_ = 0) in reset()
331 const unsigned char& operator [] (int i) { in operator []()
341 operator byte_str_t () const { return str.sub_str (offset, str.length - offset); } in operator byte_str_t()
343 byte_str_t sub_str (unsigned int offset_, unsigned int len_) const in sub_str()
346 bool avail (unsigned int count=1) const in avail()
348 void inc (unsigned int count=1) in inc()
361 void set_error () { error = true; } in set_error()
362 bool in_error () const { return error; } in in_error()
364 byte_str_t str;
365 unsigned int offset; /* beginning of the sub-string within str */
368 bool error;