Home | History | Annotate | Download | only in racoon

Lines Matching defs:len

100 	int len, l, i;
104 len = sizeof(buf);
108 l = strftime(p, len, format, tm);
110 len -= l;
111 if (len < 0)
114 l = snprintf(p, len, "%%");
115 if (l < 0 || l >= len)
118 len -= l;
119 if (len < 0)
122 i = getnameinfo(sa_args->src, sysdep_sa_len(sa_args->src), p, len, NULL, 0, NIFLAGS);
127 len -= l;
128 if (len < 0)
131 l = snprintf(p, len, " ");
132 if (l < 0 || l >= len)
135 len -= l;
136 if (len < 0)
139 i = getnameinfo(sa_args->dst, sysdep_sa_len(sa_args->dst), p, len, NULL, 0, NIFLAGS);
144 len -= l;
145 if (len < 0)
148 l = snprintf(p, len,
160 if (l < 0 || l >= len)
163 len -= l;
164 if (len < 0)
168 l = snprintf(p, len, " %s", k);
170 if (l < 0 || l >= len)
173 len -= l;
174 if (len < 0)
366 int i, len;
382 len = 2;
383 tm->tm_mday = str2num(p, len);
386 p += len;
391 len = 2;
392 tm->tm_hour = str2num(p, len);
395 p += len;
400 len = 2;
401 tm->tm_min = str2num(p, len);
404 p += len;
409 len = 2;
410 tm->tm_sec = str2num(p, len);
413 p += len;
418 len = 4;
419 tm->tm_year = str2num(p, len);
423 p += len;
429 str2num(p, len)
431 int len;
436 for (i = len; i > 0; i--) {