Lines Matching refs:reply_len
118 int32_t reply_len = 0; in call_daemon() local
164 ret = read_all(s, (char *) &reply_len, sizeof(reply_len)); in call_daemon()
171 if (reply_len < 0 || reply_len > buflen) { in call_daemon()
177 ret = read_all(s, (char *) buf, reply_len); in call_daemon()
180 if (reply_len >= (int) (16+sizeof(int))) in call_daemon()
204 int32_t reply_len = 0; in server_loop() local
324 reply_len = strlen((char *) reply_buf)+1; in server_loop()
328 reply_len = strlen((char *) reply_buf)+1; in server_loop()
338 reply_len = sizeof(uu); in server_loop()
348 reply_len = sizeof(uu); in server_loop()
358 reply_len = sizeof(uu); in server_loop()
359 memcpy(reply_buf+reply_len, &num, sizeof(num)); in server_loop()
360 reply_len += sizeof(num); in server_loop()
378 reply_len = (num*16) + sizeof(num); in server_loop()
386 write(ns, &reply_len, sizeof(reply_len)); in server_loop()
387 write(ns, reply_buf, reply_len); in server_loop()