Searched refs:bufstate (Results 1 – 2 of 2) sorted by relevance
32 struct bufstate { struct37 static void expand_buf(struct bufstate *buf, int newsize) in expand_buf() argument45 static void new_header(struct bufstate *buf, int version, const void *fdt) in new_header()65 static void add_block(struct bufstate *buf, int version, char block, const void *fdt) in add_block()127 struct bufstate buf = {NULL, 0}; in main()
339 bufstate = 0 # meaning: 0 => reading count; 1 => reading data variable in SocketIO358 if self.bufstate == 0 and len(self.buffer) >= 4:362 self.bufstate = 1365 if self.bufstate == 1 and len(self.buffer) >= self.bufneed:369 self.bufstate = 0