Lines Matching refs:reply_len
148 int32_t reply_len = 0; in call_daemon() local
195 ret = read_all(s, (char *) &reply_len, sizeof(reply_len)); in call_daemon()
202 if (reply_len < 0 || reply_len > buflen) { in call_daemon()
208 ret = read_all(s, (char *) buf, reply_len); in call_daemon()
211 if (reply_len >= (int) (16+sizeof(int))) in call_daemon()
234 int32_t reply_len = 0; in server_loop() local
368 reply_len = strlen(reply_buf)+1; in server_loop()
372 reply_len = strlen(reply_buf)+1; in server_loop()
382 reply_len = sizeof(uu); in server_loop()
392 reply_len = sizeof(uu); in server_loop()
405 reply_len = sizeof(uu); in server_loop()
406 memcpy(reply_buf+reply_len, &num, sizeof(num)); in server_loop()
407 reply_len += sizeof(num); in server_loop()
426 reply_len = (num*16) + sizeof(num); in server_loop()
434 write_all(ns, (char *) &reply_len, sizeof(reply_len)); in server_loop()
435 write_all(ns, reply_buf, reply_len); in server_loop()