Lines Matching refs:reply_buf
239 char reply_buf[1024], *cp; in server_loop() local
268 ret = call_daemon(socket_path, 0, reply_buf, sizeof(reply_buf), 0, 0); in server_loop()
272 reply_buf); in server_loop()
331 sprintf(reply_buf, "%8d\n", getpid()); in server_loop()
333 write_all(fd_pidfile, reply_buf, strlen(reply_buf)); in server_loop()
369 sprintf(reply_buf, "%d", getpid()); in server_loop()
370 reply_len = strlen(reply_buf)+1; in server_loop()
373 sprintf(reply_buf, "%d", UUIDD_MAX_OP); in server_loop()
374 reply_len = strlen(reply_buf)+1; in server_loop()
383 memcpy(reply_buf, uu, sizeof(uu)); in server_loop()
393 memcpy(reply_buf, uu, sizeof(uu)); in server_loop()
406 memcpy(reply_buf, uu, sizeof(uu)); in server_loop()
408 memcpy(reply_buf+reply_len, &num, sizeof(num)); in server_loop()
416 if (num*16 > (int) (sizeof(reply_buf)-sizeof(num))) in server_loop()
417 num = (sizeof(reply_buf)-sizeof(num)) / 16; in server_loop()
418 uuid__generate_random((unsigned char *) reply_buf + in server_loop()
422 for (i=0, cp=reply_buf+sizeof(num); in server_loop()
429 memcpy(reply_buf, &num, sizeof(num)); in server_loop()
437 write_all(ns, reply_buf, reply_len); in server_loop()