Home
last modified time | relevance | path

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

/tools/testing/selftests/proc/
Dproc-pid-vm.c302 char buf0[256]; in main() local
303 memset(buf0, ' ', sizeof(buf0)); in main()
304 int len = snprintf(buf0, sizeof(buf0), in main()
309 buf0[len] = ' '; in main()
310 snprintf(buf0 + MAPS_OFFSET, sizeof(buf0) - MAPS_OFFSET, in main()
315 const size_t len = strlen(buf0) + (g_vsyscall ? strlen(str_vsyscall) : 0); in main()
327 assert(memcmp(buf, buf0, strlen(buf0)) == 0); in main()
329 assert(memcmp(buf + strlen(buf0), str_vsyscall, strlen(str_vsyscall)) == 0); in main()
347 assert(rv >= strlen(buf0)); in main()
348 assert(memcmp(buf, buf0, strlen(buf0)) == 0); in main()