Home
last modified time | relevance | path

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

/third_party/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()
/third_party/gettext/gnulib-local/lib/libxml/
Dbuf.c777 xmlChar* rebuf = NULL; in xmlBufResize() local
846 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufResize()
847 if (rebuf == NULL) { in xmlBufResize()
851 buf->contentIO = rebuf; in xmlBufResize()
852 buf->content = rebuf + start_buf; in xmlBufResize()
856 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
858 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufResize()
865 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
866 if (rebuf != NULL) { in xmlBufResize()
867 memcpy(rebuf, buf->content, buf->use); in xmlBufResize()
[all …]
Dtree.c7421 xmlChar* rebuf = NULL; in xmlBufferResize() local
7480 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufferResize()
7481 if (rebuf == NULL) { in xmlBufferResize()
7485 buf->contentIO = rebuf; in xmlBufferResize()
7486 buf->content = rebuf + start_buf; in xmlBufferResize()
7490 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7492 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufferResize()
7499 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7500 if (rebuf != NULL) { in xmlBufferResize()
7501 memcpy(rebuf, buf->content, buf->use); in xmlBufferResize()
[all …]
/third_party/libxml2/
Dbuf.c749 xmlChar* rebuf = NULL; in xmlBufResize() local
822 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufResize()
823 if (rebuf == NULL) { in xmlBufResize()
827 buf->contentIO = rebuf; in xmlBufResize()
828 buf->content = rebuf + start_buf; in xmlBufResize()
832 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
834 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufResize()
841 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
842 if (rebuf != NULL) { in xmlBufResize()
843 memcpy(rebuf, buf->content, buf->use); in xmlBufResize()
[all …]
Dtree.c7454 xmlChar* rebuf = NULL; in xmlBufferResize() local
7521 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufferResize()
7522 if (rebuf == NULL) { in xmlBufferResize()
7526 buf->contentIO = rebuf; in xmlBufferResize()
7527 buf->content = rebuf + start_buf; in xmlBufferResize()
7531 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7533 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufferResize()
7540 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7541 if (rebuf != NULL) { in xmlBufferResize()
7542 memcpy(rebuf, buf->content, buf->use); in xmlBufferResize()
[all …]
/third_party/chromium/patch/
D0001-cve.patch97417 xmlChar* rebuf = NULL;