Home | History | Annotate | Download | only in tests-m32

Lines Matching refs:len

39 transpose(char *str, int len)
43 for (i = 0; i < len / 2; ++i) {
45 str[i] = str[len - 1 - i];
46 str[len - 1 - i] = c;
54 const int len = strlen(av[1]);
55 assert(len);
70 transpose(av[1], len);
71 assert(sendto(0, av[1], len, MSG_DONTROUTE, NULL, 0) == len);
72 assert(recvfrom(0, av[1], len, MSG_WAITALL, NULL, NULL) == len);
80 assert(recvfrom(1, av[1], len, MSG_WAITALL, NULL, NULL) == len);
81 transpose(av[1], len);
82 assert(sendto(1, av[1], len, MSG_DONTROUTE, NULL, 0) == len);
83 assert(recvfrom(1, av[1], len, MSG_WAITALL, NULL, NULL) == 0);