Searched refs:buf_used (Results 1 – 8 of 8) sorted by relevance
/external/valgrind/main/coregrind/ |
D | m_libcprint.c | 92 Int buf_used; member 103 if (b->buf_used > sizeof(b->buf) - 2 ) { in add_to__printf_buf() 104 send_bytes_to_logging_sink( b->sink, b->buf, b->buf_used ); in add_to__printf_buf() 105 b->buf_used = 0; in add_to__printf_buf() 107 b->buf[b->buf_used++] = c; in add_to__printf_buf() 108 b->buf[b->buf_used] = 0; in add_to__printf_buf() 109 tl_assert(b->buf_used < sizeof(b->buf)); in add_to__printf_buf() 131 if (myprintf_buf.buf_used > 0) { in vprintf_WRK() 134 myprintf_buf.buf_used ); in vprintf_WRK() 213 Int buf_used; member [all …]
|
D | m_errormgr.c | 1071 static Int buf_used = 0; in get_char() local 1073 vg_assert(buf_used >= 0 && buf_used <= buf_size); in get_char() 1074 if (buf_used == buf_size) { in get_char() 1079 buf_used = 0; in get_char() 1084 vg_assert(buf_used >= 0 && buf_used < buf_size); in get_char() 1085 *out_buf = buf[buf_used]; in get_char() 1086 buf_used++; in get_char()
|
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
D | radius.c | 61 msg->buf_used = sizeof(*msg->hdr); in radius_msg_initialize() 91 msg->buf_size = msg->buf_used = 0; in radius_msg_free() 312 msg->hdr->length = htons(msg->buf_used); in radius_msg_finish() 313 hmac_md5(secret, secret_len, msg->buf, msg->buf_used, in radius_msg_finish() 316 msg->hdr->length = htons(msg->buf_used); in radius_msg_finish() 318 if (msg->buf_used > 0xffff) { in radius_msg_finish() 320 (unsigned long) msg->buf_used); in radius_msg_finish() 342 msg->hdr->length = htons(msg->buf_used); in radius_msg_finish_srv() 345 hmac_md5(secret, secret_len, msg->buf, msg->buf_used, in radius_msg_finish_srv() 354 len[2] = msg->buf_used - sizeof(*msg->hdr); in radius_msg_finish_srv() [all …]
|
D | radius.h | 180 size_t buf_used; /* bytes used in buf */ member
|
D | radius_server.c | 468 if (sendto(data->auth_sock, msg->buf, msg->buf_used, 0, in radius_server_reject() 538 sess->last_reply->buf_used, 0, in radius_server_request() 631 res = sendto(data->auth_sock, reply->buf, reply->buf_used, 0, in radius_server_request()
|
D | radius_client.c | 196 if (send(s, entry->msg->buf, entry->msg->buf_used, 0) < 0) in radius_client_retransmit() 491 res = send(s, msg->buf, msg->buf_used, 0); in radius_client_send()
|
/external/valgrind/main/exp-sgcheck/tests/ |
D | bad_percentify.c | 63 Int buf_used; member 74 if (b->buf_used > sizeof(b->buf) - 2 ) { in add_to__printf_buf() 75 send_bytes_to_logging_sink( b->sink, b->buf, b->buf_used ); in add_to__printf_buf() 76 b->buf_used = 0; in add_to__printf_buf() 78 b->buf[b->buf_used++] = c; in add_to__printf_buf() 79 b->buf[b->buf_used] = 0; in add_to__printf_buf() 80 assert(b->buf_used < sizeof(b->buf)); in add_to__printf_buf() 104 if (myprintf_buf.buf_used > 0) { in vprintf_WRK() 107 myprintf_buf.buf_used ); in vprintf_WRK()
|
/external/e2fsprogs/misc/ |
D | badblocks.c | 704 unsigned long buf_used; in test_nd() local 772 buf_used = 0; in test_nd() 788 got = try = blocks_at_once - buf_used; in test_nd() 826 buf_used += got; in test_nd() 839 if ((buf_used != blocks_at_once) && in test_nd() 898 buf_used = 0; in test_nd()
|