Lines Matching refs:toklen
34 uint toklen; in parsesq() local
38 toklen = strcspn (c, " \t"); /* token length */ in parsesq()
42 switch (toklen) { in parsesq()
44 if (strncasecmp (c, "EchoArea", toklen) == 0) { /* is echo */ in parsesq()
50 if (strncasecmp (c, "NetArea", toklen) == 0) { /* is netmail */ in parsesq()
53 if (strncasecmp (c, "Include", toklen) == 0) { // Include in parsesq()
54 c += toklen; in parsesq()
58 if (!primary && (strncasecmp (c, "Address", toklen) == 0)) { in parsesq()
59 c += toklen; in parsesq()
71 c += toklen; /* skip token */ in parsesq()
74 toklen = strcspn (c, " \t"); /* Tag length */ in parsesq()
75 if (toklen >= TAGSIZE) in parsesq()
77 strncpy (echotag, c, toklen); in parsesq()
78 echotag[toklen] = '\0'; /* echotag copied */ in parsesq()
79 c += toklen; /* skip echotag */ in parsesq()
83 toklen = strcspn (c, " \t"); /* path length */ in parsesq()
84 if (toklen >= PATH_MAX) // Path too long in parsesq()
86 strncpy (path, c, toklen); in parsesq()
87 path[toklen] = '\0'; /* path copied */ in parsesq()
88 c += toklen; /* skip path */ in parsesq()