Searched refs:bpos (Results 1 – 9 of 9) sorted by relevance
/device/google/coral/json-c/ |
D | printbuf.c | 40 p->bpos = 0; in printbuf_new() 71 p->bpos, min_size, p->size, new_size); in printbuf_extend() 82 if (p->size <= p->bpos + size + 1) { in printbuf_memappend() 83 if (printbuf_extend(p, p->bpos + size + 1) < 0) in printbuf_memappend() 86 memcpy(p->buf + p->bpos, buf, size); in printbuf_memappend() 87 p->bpos += size; in printbuf_memappend() 88 p->buf[p->bpos]= '\0'; in printbuf_memappend() 97 offset = pb->bpos; in printbuf_memset() 106 if (pb->bpos < size_needed) in printbuf_memset() 107 pb->bpos = size_needed; in printbuf_memset() [all …]
|
D | printbuf.h | 25 int bpos; member 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 47 p->buf[p->bpos]= '\0'; \ 51 #define printbuf_length(p) ((p)->bpos)
|
D | json_tokener.c | 484 current = json_object_new_string_len(tok->pb->buf, tok->pb->bpos); in json_tokener_parse_ex()
|
/device/google/redbull/json-c/ |
D | printbuf.c | 40 p->bpos = 0; in printbuf_new() 71 p->bpos, min_size, p->size, new_size); in printbuf_extend() 82 if (p->size <= p->bpos + size + 1) { in printbuf_memappend() 83 if (printbuf_extend(p, p->bpos + size + 1) < 0) in printbuf_memappend() 86 memcpy(p->buf + p->bpos, buf, size); in printbuf_memappend() 87 p->bpos += size; in printbuf_memappend() 88 p->buf[p->bpos]= '\0'; in printbuf_memappend() 97 offset = pb->bpos; in printbuf_memset() 106 if (pb->bpos < size_needed) in printbuf_memset() 107 pb->bpos = size_needed; in printbuf_memset() [all …]
|
D | printbuf.h | 25 int bpos; member 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 47 p->buf[p->bpos]= '\0'; \ 51 #define printbuf_length(p) ((p)->bpos)
|
D | json_tokener.c | 484 current = json_object_new_string_len(tok->pb->buf, tok->pb->bpos); in json_tokener_parse_ex()
|
/device/google/sunfish/json-c/ |
D | printbuf.c | 40 p->bpos = 0; in printbuf_new() 71 p->bpos, min_size, p->size, new_size); in printbuf_extend() 82 if (p->size <= p->bpos + size + 1) { in printbuf_memappend() 83 if (printbuf_extend(p, p->bpos + size + 1) < 0) in printbuf_memappend() 86 memcpy(p->buf + p->bpos, buf, size); in printbuf_memappend() 87 p->bpos += size; in printbuf_memappend() 88 p->buf[p->bpos]= '\0'; in printbuf_memappend() 97 offset = pb->bpos; in printbuf_memset() 106 if (pb->bpos < size_needed) in printbuf_memset() 107 pb->bpos = size_needed; in printbuf_memset() [all …]
|
D | printbuf.h | 25 int bpos; member 44 if ((p->size - p->bpos) > bufsize) { \ 45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \ 46 p->bpos += bufsize; \ 47 p->buf[p->bpos]= '\0'; \ 51 #define printbuf_length(p) ((p)->bpos)
|
D | json_tokener.c | 484 current = json_object_new_string_len(tok->pb->buf, tok->pb->bpos); in json_tokener_parse_ex()
|