Home
last modified time | relevance | path

Searched refs:oldbuf (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Dheaprealloc.cpp8 char *oldbuf; in main() local
11 oldbuf = (char *)HeapAlloc(procHeap, 0, sz); in main()
12 char *newbuf = oldbuf; in main()
13 while (oldbuf == newbuf) { in main()
15 newbuf = (char *)HeapReAlloc(procHeap, 0, oldbuf, sz); in main()
19 oldbuf[0] = 'a'; in main()
/external/ltp/testcases/kernel/syscalls/dup2/
Ddup204.c68 struct stat oldbuf, newbuf; in main() local
87 SAFE_FSTAT(cleanup, fd[i], &oldbuf); in main()
90 if (oldbuf.st_ino != newbuf.st_ino) in main()
Ddup202.c91 struct stat oldbuf, newbuf; in main() local
117 SAFE_FSTAT(cleanup, ofd, &oldbuf); in main()
122 if (oldbuf.st_mode != newbuf.st_mode) in main()
/external/e2fsprogs/util/
Dsubst.c286 char oldbuf[2048], newbuf[2048], *oldcp, *newcp; in compare_file() local
290 oldcp = fgets(oldbuf, sizeof(oldbuf), old_f); in compare_file()
296 if (!oldcp || !newcp || strcmp(oldbuf, newbuf)) { in compare_file()
/external/elfutils/libcpu/
Di386_disasm.c456 char *oldbuf; in i386_disasm() local
458 oldbuf = buf; in i386_disasm()
465 buf = oldbuf; in i386_disasm()
Driscv_disasm.c1320 char *oldbuf; in riscv_disasm() local
1322 oldbuf = buf; in riscv_disasm()
1329 buf = oldbuf; in riscv_disasm()
/external/libwebsockets/lib/roles/h1/
Dops-h1.c44 unsigned char *last_char, *oldbuf = buf; in lws_read_h1() local
279 return lws_ptr_diff(buf, oldbuf); in lws_read_h1()
/external/libwebsockets/lib/roles/h2/
Dhttp2.c2529 unsigned char *oldbuf = buf; in lws_read_h2() local
2597 return lws_ptr_diff(buf, oldbuf); in lws_read_h2()