Lines Matching refs:s
62 size_t s; in rand_len() local
70 s = (w % max); in rand_len()
71 if (s == 0) in rand_len()
72 s = 1; in rand_len()
74 return s; in rand_len()
146 int s = rand_int(0, count - 1); in rand_mess() local
147 int l = rand_len(count - s); in rand_mess()
148 rand_fill(buf + s, l); in rand_mess()
162 int s = rand_int(0, count - 2); in rand_mess() local
163 int l = rand_len((count - s) / 2); in rand_mess()
164 memcpy(buf + s + l, buf + s, l); in rand_mess()
169 int s = rand_int(0, count - 1); in rand_mess() local
170 int l = rand_len(count - s); in rand_mess()
171 rand_fill_protobuf(buf + s, l, count - s, 1); in rand_mess()
184 size_t s = rand_fill_protobuf(tmp, rand_len(max_size), bufsize - *msglen, 1000); in rand_protobuf_noise() local
185 memmove(buffer + s, buffer, *msglen); in rand_protobuf_noise()
186 memcpy(buffer, tmp, s); in rand_protobuf_noise()
188 *msglen += s; in rand_protobuf_noise()
193 … size_t s = rand_fill_protobuf(buffer + *msglen, rand_len(max_size), bufsize - *msglen, 1000); in rand_protobuf_noise() local
194 *msglen += s; in rand_protobuf_noise()