Lines Matching refs:reply_len
150 int32_t reply_len = 0; in call_daemon() local
197 ret = read_all(s, (char *) &reply_len, sizeof(reply_len)); in call_daemon()
204 if (reply_len < 0 || reply_len > buflen) { in call_daemon()
210 ret = read_all(s, (char *) buf, reply_len); in call_daemon()
213 if (reply_len >= (int) (16+sizeof(int))) in call_daemon()
236 int32_t reply_len = 0; in server_loop() local
370 reply_len = strlen(reply_buf)+1; in server_loop()
374 reply_len = strlen(reply_buf)+1; in server_loop()
384 reply_len = sizeof(uu); in server_loop()
394 reply_len = sizeof(uu); in server_loop()
407 reply_len = sizeof(uu); in server_loop()
408 memcpy(reply_buf+reply_len, &num, sizeof(num)); in server_loop()
409 reply_len += sizeof(num); in server_loop()
428 reply_len = (num*16) + sizeof(num); in server_loop()
436 write_all(ns, (char *) &reply_len, sizeof(reply_len)); in server_loop()
437 write_all(ns, reply_buf, reply_len); in server_loop()