Home
last modified time | relevance | path

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

/external/jemalloc/src/
Dprof.c112 static size_t prof_dump_buf_end; variable
966 err = write(prof_dump_fd, prof_dump_buf, prof_dump_buf_end); in prof_dump_flush()
976 prof_dump_buf_end = 0; in prof_dump_flush()
1005 if (prof_dump_buf_end == PROF_DUMP_BUFSIZE) in prof_dump_write()
1009 if (prof_dump_buf_end + slen <= PROF_DUMP_BUFSIZE) { in prof_dump_write()
1014 n = PROF_DUMP_BUFSIZE - prof_dump_buf_end; in prof_dump_write()
1016 memcpy(&prof_dump_buf[prof_dump_buf_end], &s[i], n); in prof_dump_write()
1017 prof_dump_buf_end += n; in prof_dump_write()
1457 prof_dump_buf_end += nread; in prof_dump_maps()
1458 if (prof_dump_buf_end == PROF_DUMP_BUFSIZE) { in prof_dump_maps()
[all …]
/external/jemalloc_new/src/
Dprof.c128 static size_t prof_dump_buf_end; variable
981 err = malloc_write_fd(prof_dump_fd, prof_dump_buf, prof_dump_buf_end); in prof_dump_flush()
992 prof_dump_buf_end = 0; in prof_dump_flush()
1019 if (prof_dump_buf_end == PROF_DUMP_BUFSIZE) { in prof_dump_write()
1025 if (prof_dump_buf_end + slen <= PROF_DUMP_BUFSIZE) { in prof_dump_write()
1030 n = PROF_DUMP_BUFSIZE - prof_dump_buf_end; in prof_dump_write()
1032 memcpy(&prof_dump_buf[prof_dump_buf_end], &s[i], n); in prof_dump_write()
1033 prof_dump_buf_end += n; in prof_dump_write()
1465 prof_dump_buf_end += nread; in prof_dump_maps()
1466 if (prof_dump_buf_end == PROF_DUMP_BUFSIZE) { in prof_dump_maps()
[all …]