Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe09.c80 char rebuf[BUFSIZ]; in main() local
161 while ((red = do_read(pipefd[0], rebuf, 100)) > 0) { in main()
163 if (rebuf[i] == 'A') { in main()
167 if (rebuf[i] == 'B') { in main()
172 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.c7392 xmlChar* rebuf = NULL; in xmlBufferResize() local
7451 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufferResize()
7452 if (rebuf == NULL) { in xmlBufferResize()
7456 buf->contentIO = rebuf; in xmlBufferResize()
7457 buf->content = rebuf + start_buf; in xmlBufferResize()
7461 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7463 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufferResize()
7470 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7471 if (rebuf != NULL) { in xmlBufferResize()
7472 memcpy(rebuf, buf->content, buf->use); in xmlBufferResize()
[all …]