Home
last modified time | relevance | path

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

/external/valgrind/exp-sgcheck/
Dpc_common.h60 /*OUT*/HChar* buf, Int nBuf );
62 /*OUT*/HChar* buf, Int nBuf );
Dpc_common.c780 /*OUT*/HChar* buf, Int nBuf ) in pc_get_extra_suppression_info() argument
784 tl_assert(nBuf >= 1); in pc_get_extra_suppression_info()
789 return VG_(snprintf)(buf, nBuf, "%s", errstr); in pc_get_extra_suppression_info()
797 /*OUT*/HChar* buf, Int nBuf ) in pc_print_extra_suppression_use() argument
799 tl_assert(nBuf >= 1); in pc_print_extra_suppression_use()
Dsg_main.c944 static void show_Invar( HChar* buf, Word nBuf, Invar* inv, Word depth ) in show_Invar() argument
947 tl_assert(nBuf >= 128); in show_Invar()
/external/valgrind/coregrind/
Dm_errormgr.c1116 SizeT nBuf = *nBufp; in get_nbnc_line() local
1142 if (i > 0 && i == nBuf-1) { in get_nbnc_line()
1143 *nBufp = nBuf = nBuf * 2; in get_nbnc_line()
1145 vg_assert2(nBuf < RIDICULOUS, // Just a sanity check, really. in get_nbnc_line()
1148 *bufpp = buf = VG_(realloc)("errormgr.get_line.1", buf, nBuf); in get_nbnc_line()
1258 SizeT nBuf = 200; in load_one_suppressions_file() local
1259 HChar* buf = VG_(malloc)("errormgr.losf.1", nBuf); in load_one_suppressions_file()
1300 eof = get_nbnc_line ( fd, &buf, &nBuf, &lineno ); in load_one_suppressions_file()
1308 eof = get_nbnc_line ( fd, &buf, &nBuf, &lineno ); in load_one_suppressions_file()
1316 eof = get_nbnc_line ( fd, &buf, &nBuf, &lineno ); in load_one_suppressions_file()
[all …]
/external/valgrind/helgrind/
Dhg_errors.h48 /*OUT*/HChar* buf, Int nBuf );
50 /*OUT*/HChar* buf, Int nBuf );
Dhg_errors.c1371 /*OUT*/HChar* buf, Int nBuf ) in HG_()
1373 tl_assert(nBuf >= 1); in HG_()
1380 /*OUT*/HChar* buf, Int nBuf ) in HG_()
1382 tl_assert(nBuf >= 1); in HG_()
/external/dng_sdk/source/
Ddng_string.cpp934 const uint8 *nBuf = (const uint8 *) s; in DecodeUTF8() local
936 uint32 aChar = nBuf [0]; in DecodeUTF8()
959 if ((nBuf [extra] & 0xC0) != 0x80) in DecodeUTF8()
1000 aChar = ((aChar << 6) + nBuf [1]) - (uint32) 0x00003080UL; in DecodeUTF8()
1009 aChar = ((((aChar << 6) + nBuf [1]) in DecodeUTF8()
1010 << 6) + nBuf [2]) - (uint32) 0x000E2080UL; in DecodeUTF8()
1019 aChar = ((((((aChar << 6) + nBuf [1]) in DecodeUTF8()
1020 << 6) + nBuf [2]) in DecodeUTF8()
1021 << 6) + nBuf [3]) - (uint32) 0x03C82080UL; in DecodeUTF8()
/external/valgrind/drd/
Ddrd_error.c606 /*OUT*/HChar* buf, Int nBuf) in drd_get_extra_suppression_info() argument
608 tl_assert(nBuf >= 1); in drd_get_extra_suppression_info()
615 /*OUT*/HChar* buf, Int nBuf) in drd_print_extra_suppression_use() argument
617 tl_assert(nBuf >= 1); in drd_print_extra_suppression_use()
/external/valgrind/memcheck/
Dmc_errors.c1523 /*OUT*/HChar* buf, Int nBuf ) in MC_()
1527 tl_assert(nBuf >= 1); in MC_()
1532 return VG_(snprintf)(buf, nBuf, "%s", errstr); in MC_()
1535 return VG_(snprintf) (buf, nBuf, "match-leak-kinds: %s", in MC_()
1539 return VG_(snprintf) (buf, nBuf, "%s(%s)", in MC_()
1549 /*OUT*/HChar *buf, Int nBuf ) in MC_()
1551 tl_assert(nBuf >= 1); in MC_()
1558 return VG_(snprintf) (buf, nBuf, in MC_()
Dmc_include.h513 SizeT* nBuf, Int* lineno, Supp *su );
518 /*OUT*/HChar* buf, Int nBuf );
520 /*OUT*/HChar* buf, Int nBuf );
/external/bzip2/
Dbzip2.c299 Int32 nBuf = 0; in uInt64_toAscii() local
303 buf[nBuf] = q + '0'; in uInt64_toAscii()
304 nBuf++; in uInt64_toAscii()
306 outbuf[nBuf] = 0; in uInt64_toAscii()
307 for (i = 0; i < nBuf; i++) in uInt64_toAscii()
308 outbuf[i] = buf[nBuf-i-1]; in uInt64_toAscii()
/external/valgrind/include/
Dpub_tool_tooliface.h344 /*OUT*/HChar* buf, Int nBuf),
350 /*OUT*/HChar* buf, Int nBuf),
/external/sqlite/dist/
Dsqlite3.c29896 int nBuf, /* Size of buffer pBuf in bytes */
29901 assert( nBuf==(nBuf&0x1ffff) );
29903 nBuf &= 0x1ffff;
29907 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR );
29909 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
29919 rc = osWrite(fd, pBuf, nBuf);
30427 static int unixGetTempname(int nBuf, char *zBuf);
32109 static int unixGetTempname(int nBuf, char *zBuf){
32129 if( (strlen(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 18) >= (size_t)nBuf ){
32134 sqlite3_snprintf(nBuf-18, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX, zDir);
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c29878 int nBuf, /* Size of buffer pBuf in bytes */
29883 assert( nBuf==(nBuf&0x1ffff) );
29885 nBuf &= 0x1ffff;
29889 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR );
29891 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
29901 rc = osWrite(fd, pBuf, nBuf);
30409 static int unixGetTempname(int nBuf, char *zBuf);
32091 static int unixGetTempname(int nBuf, char *zBuf){
32111 if( (strlen(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 18) >= (size_t)nBuf ){
32116 sqlite3_snprintf(nBuf-18, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX, zDir);
[all …]
/external/selinux/libsemanage/src/
Ddirect_api.c433 size_t nBuf; in bunzip() local
469 nBuf = BZ2_bzRead ( &bzerror, b, buf, bufsize); in bunzip()
471 if (total + nBuf > size) { in bunzip()
480 memcpy(&uncompress[total], buf, nBuf); in bunzip()
481 total += nBuf; in bunzip()