Searched refs:n_buf (Results 1 - 9 of 9) sorted by relevance

/external/valgrind/main/coregrind/
H A Dm_vkiscnums.c49 Char* VG_(sysnum_string)(Word sysnum, SizeT n_buf, Char* buf) argument
51 VG_(snprintf)(buf, n_buf, "%3ld", sysnum);
55 Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf) argument
57 return VG_(sysnum_string)(sysnum, n_buf, buf);
64 Char* VG_(sysnum_string)(Word sysnum, SizeT n_buf, Char* buf) argument
74 VG_(snprintf)(buf, n_buf, "%s:%3ld",
79 Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf) argument
81 return VG_(sysnum_string)(sysnum, n_buf, buf);
H A Dpub_core_libcfile.h48 extern Bool VG_(resolve_filename) ( Int fd, HChar* buf, Int n_buf );
H A Dm_libcfile.c80 Bool VG_(resolve_filename) ( Int fd, HChar* buf, Int n_buf )
85 VG_(memset)(buf, 0, n_buf);
86 if (VG_(readlink)(tmp, buf, n_buf) > 0 && buf[0] == '/')
94 if (n_buf > 0) {
95 VG_(strncpy)( buf, tmp, n_buf < sizeof(tmp) ? n_buf : sizeof(tmp) );
96 buf[n_buf-1] = 0;
H A Dm_libcprint.c270 void VG_(percentify)(ULong n, ULong m, UInt d, Int n_buf, char buf[]) argument
279 VG_(sprintf)(fmt, "%%-%ds", n_buf);
280 // fmt is now "%<n_buf>s" where <d> is 1,2,3...
307 space = n_buf - len;
/external/valgrind/main/include/
H A Dpub_tool_vkiscnums.h42 extern Char* VG_(sysnum_string) (Word sysnum, SizeT n_buf, Char* buf);
46 extern Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf);
H A Dpub_tool_libcprint.h54 extern void VG_(percentify)(ULong n, ULong m, UInt d, Int n_buf, char buf[]);
H A Dpub_tool_debuginfo.h126 'n_buf' gives length of 'buf'. Returns 'buf'.
128 extern Char* VG_(describe_IP)(Addr eip, Char* buf, Int n_buf);
/external/valgrind/main/exp-sgcheck/tests/
H A Dbad_percentify.c561 void VG_percentify(ULong n, ULong m, UInt d, Int n_buf, HChar buf[]) argument
570 VG_(sprintf)(fmt, "%%-%ds", n_buf);
571 // fmt is now "%<n_buf>s" where <d> is 1,2,3...
599 space = n_buf - len;
/external/valgrind/main/coregrind/m_debuginfo/
H A Ddebuginfo.c1765 /* Copy str into buf starting at n, but not going past buf[n_buf-1]
1768 static Int putStr ( Int n, Int n_buf, Char* buf, Char* str ) argument
1770 vg_assert(n_buf > 0);
1771 vg_assert(n >= 0 && n < n_buf);
1772 for (; n < n_buf-1 && *str != 0; n++,str++)
1774 vg_assert(n >= 0 && n < n_buf);
1780 also not adding more than count chars to n_buf. */
1782 static Int putStrEsc ( Int n, Int n_buf, Int count, Char* buf, Char* str ) argument
1785 vg_assert(n_buf > 0);
1786 vg_assert(count >= 0 && count < n_buf);
1823 describe_IP(Addr eip, Char* buf, Int n_buf) argument
[all...]

Completed in 7090 milliseconds