Home | History | Annotate | Download | only in misc

Lines Matching full:sizeof

138 		    sizeof(struct sockaddr_un)) < 0) {
152 memcpy(op_buf+1, num, sizeof(int));
153 op_len += sizeof(int);
164 ret = read_all(s, (char *) &reply_len, sizeof(reply_len));
180 if (reply_len >= (int) (16+sizeof(int)))
181 memcpy(buf+16, num, sizeof(int));
186 if (*num >= (int) sizeof(int))
187 memcpy(buf, num, sizeof(int));
235 ret = call_daemon(socket_path, 0, reply_buf, sizeof(reply_buf), 0, 0);
259 sizeof(struct sockaddr_un)) < 0) {
292 fromlen = sizeof(from_addr);
313 if (read_all(ns, (char *) &num, sizeof(num)) != 4)
337 memcpy(reply_buf, uu, sizeof(uu));
338 reply_len = sizeof(uu);
347 memcpy(reply_buf, uu, sizeof(uu));
348 reply_len = sizeof(uu);
357 memcpy(reply_buf, uu, sizeof(uu));
358 reply_len = sizeof(uu);
359 memcpy(reply_buf+reply_len, &num, sizeof(num));
360 reply_len += sizeof(num);
367 if (num*16 > (int) (sizeof(reply_buf)-sizeof(num)))
368 num = (sizeof(reply_buf)-sizeof(num)) / 16;
369 uuid__generate_random(reply_buf+sizeof(num), &num);
372 for (i=0, cp=reply_buf+sizeof(num);
378 reply_len = (num*16) + sizeof(num);
379 memcpy(reply_buf, &num, sizeof(num));
386 write(ns, &reply_len, sizeof(reply_len));
476 sizeof(buf), &num, &err_context);
483 if (ret != sizeof(uu) + sizeof(num))
492 if (ret != (int) (sizeof(num) + num*sizeof(uu)))
503 sizeof(uu), 0, &err_context);
509 if (ret != sizeof(uu)) {
522 ret = call_daemon(socket_path, 0, buf, sizeof(buf), 0, 0);