Home
last modified time | relevance | path

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

/external/valgrind/coregrind/m_gdbserver/
Dserver.c94 PBUFSIZ - POVERHSIZ - 1) + 1; in write_qxfer_response()
750 if (len * 2 > (PBUFSIZ + POVERHSIZ)) in handle_query()
751 len = (PBUFSIZ + POVERHSIZ) / 2; in handle_query()
850 if (len > PBUFSIZ - POVERHSIZ) in handle_query()
851 len = PBUFSIZ - POVERHSIZ; in handle_query()
883 if (len > PBUFSIZ - POVERHSIZ) in handle_query()
884 len = PBUFSIZ - POVERHSIZ; in handle_query()
949 if (len > PBUFSIZ - 2) in handle_query()
950 len = PBUFSIZ - 2; in handle_query()
994 if (len > PBUFSIZ - POVERHSIZ) in handle_query()
[all …]
Dserver.h363 #define PBUFSIZ 16384 macro
368 #define DATASIZ ((PBUFSIZ-POVERHSIZ)/2)
Dremote-utils.c817 buf2 = malloc (PBUFSIZ+POVERHSIZ); in putpkt_binary()
820 vg_assert (cnt <= PBUFSIZ); // be tolerant for GDB bug. in putpkt_binary()
941 static unsigned char buf[PBUFSIZ]; in readchar()
/external/valgrind/coregrind/
Dvgdb.c358 #define PBUFSIZ 16384 /* keep in sync with server.h */ macro
368 nrread = read(fd, buf, PBUFSIZ); in read_buf()
432 char buf[PBUFSIZ+1]; // +1 for trailing \0 in read_from_gdb_write_to_pid()
456 char buf[PBUFSIZ+1]; // +1 for trailing \0 in read_from_pid_write_to_gdb()
563 static char buf[PBUFSIZ+1]; // +1 for trailing \0 in readchar()
950 char buf[PBUFSIZ+1]; // +1 for trailing \0 in standalone_send_commands()
1419 if (packet_len_for_command(commands[last_command]) > PBUFSIZ) { in parse_options()