Lines Matching refs:contents_len
64 #define RECV(hdr, contents, contents_len) do { \ argument
73 require_bufeq((const char *) (contents), (contents_len), \
105 recv_data(uint16_t blocknum, const char *contents, size_t contents_len) in recv_data() argument
108 RECV(hdr, contents, contents_len); in recv_data()
131 send_data(uint16_t blocknum, const char *contents, size_t contents_len) in send_data() argument
139 memmove(&buffer[4], contents, contents_len); in send_data()
140 send_bytes(buffer, 4 + contents_len); in send_data()
843 size_t contents_len; variable
845 contents_len = strlen(contents) + 1;
848 send_data(1, contents, contents_len);
856 require_bufeq(contents, contents_len, buffer, (size_t)r);
905 size_t contents_len; variable
911 contents_len = strlen(contents) + 1;
920 send_data(1, contents, contents_len);
928 require_bufeq(contents, contents_len, buffer, (size_t)r);
1077 size_t contents_len; variable
1083 contents_len = sizeof(contents);
1087 send_data(1, contents, contents_len);
1116 size_t contents_len; variable
1122 contents_len = strlen(contents) + 1;
1126 send_data(1, contents, contents_len);
1134 require_bufeq(contents, contents_len, buffer, (size_t)r);