Home
last modified time | relevance | path

Searched refs:rebuf (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe09.c81 char rebuf[BUFSIZ]; in main() local
160 while ((red = do_read(pipefd[0], rebuf, 100)) > 0) { in main()
162 if (rebuf[i] == 'A') { in main()
166 if (rebuf[i] == 'B') { in main()
171 rebuf[i]); in main()
Dpipe10.c74 char wrbuf[BUFSIZ], rebuf[BUFSIZ]; in main() local
114 red = do_read(fd[0], rebuf, written); in main()
121 greater = strcmp(rebuf, wrbuf); in main()
/external/libxml2/
Dbuf.c748 xmlChar* rebuf = NULL; in xmlBufResize() local
817 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufResize()
818 if (rebuf == NULL) { in xmlBufResize()
822 buf->contentIO = rebuf; in xmlBufResize()
823 buf->content = rebuf + start_buf; in xmlBufResize()
827 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
829 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufResize()
836 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
837 if (rebuf != NULL) { in xmlBufResize()
838 memcpy(rebuf, buf->content, buf->use); in xmlBufResize()
[all …]
Dtree.c7438 xmlChar* rebuf = NULL; in xmlBufferResize() local
7502 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufferResize()
7503 if (rebuf == NULL) { in xmlBufferResize()
7507 buf->contentIO = rebuf; in xmlBufferResize()
7508 buf->content = rebuf + start_buf; in xmlBufferResize()
7512 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7514 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufferResize()
7521 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7522 if (rebuf != NULL) { in xmlBufferResize()
7523 memcpy(rebuf, buf->content, buf->use); in xmlBufferResize()
[all …]