Lines Matching refs:run_length
67 tmp->run_length = 0; in msg_new_with_arg()
94 if (++msg->run_length >= msg->run_num_allocated) { in msg_run_add()
98 msg->run_data[msg->run_length - 1] = run_new(); in msg_run_add()
99 if (msg->run_data[msg->run_length - 1] == NULL) in msg_run_add()
102 return (msg->run_data[msg->run_length - 1]); in msg_run_add()
104 --msg->run_length; in msg_run_add()
173 if (!msg->run_set || off < 0 || off >= msg->run_length) in msg_run_assign()
236 if (!msg->run_set || offset < 0 || offset >= msg->run_length) in msg_run_get()
262 for (i = 0; i < tmp->run_length; ++i) { in msg_clear()
268 tmp->run_length = 0; in msg_clear()
284 for (i = 0; i < tmp->run_length; ++i) { in msg_free()
290 tmp->run_length = 0; in msg_free()
307 for (i = 0; i < tmp->run_length; ++i) { in msg_marshal()
361 if (tmp->run_length >= tmp->run_num_allocated && in msg_unmarshal()
366 tmp->run_data[tmp->run_length] = run_new(); in msg_unmarshal()
367 if (tmp->run_data[tmp->run_length] == NULL) in msg_unmarshal()
369 if (evtag_unmarshal_run(evbuf, MSG_RUN, tmp->run_data[tmp->run_length]) == -1) { in msg_unmarshal()
373 ++tmp->run_length; in msg_unmarshal()
398 for (i = 0; i < msg->run_length; ++i) { in msg_complete()