Home
last modified time | relevance | path

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

/external/dtc/tests/
Dmangle-layout.c32 struct bufstate { struct
37 static void expand_buf(struct bufstate *buf, int newsize) in expand_buf() argument
45 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()
/external/python/cpython2/Lib/idlelib/
Drpc.py339 bufstate = 0 # meaning: 0 => reading count; 1 => reading data variable in SocketIO
358 if self.bufstate == 0 and len(self.buffer) >= 4:
362 self.bufstate = 1
365 if self.bufstate == 1 and len(self.buffer) >= self.bufneed:
369 self.bufstate = 0