Lines Matching refs:fieldsep

138 	const char *fieldsep = COLONSTR;  in irp_marshall_pw()  local
200 strcpy(*buffer, pw->pw_name); strcat(*buffer, fieldsep); in irp_marshall_pw()
201 strcat(*buffer, pw->pw_passwd); strcat(*buffer, fieldsep); in irp_marshall_pw()
202 strcat(*buffer, pwUid); strcat(*buffer, fieldsep); in irp_marshall_pw()
203 strcat(*buffer, pwGid); strcat(*buffer, fieldsep); in irp_marshall_pw()
204 strcat(*buffer, pwClass); strcat(*buffer, fieldsep); in irp_marshall_pw()
205 strcat(*buffer, pwChange); strcat(*buffer, fieldsep); in irp_marshall_pw()
206 strcat(*buffer, pwExpire); strcat(*buffer, fieldsep); in irp_marshall_pw()
207 strcat(*buffer, pw->pw_gecos); strcat(*buffer, fieldsep); in irp_marshall_pw()
208 strcat(*buffer, pw->pw_dir); strcat(*buffer, fieldsep); in irp_marshall_pw()
209 strcat(*buffer, pw->pw_shell); strcat(*buffer, fieldsep); in irp_marshall_pw()
238 char fieldsep = ':'; in irp_unmarshall_pw() local
246 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0) { in irp_unmarshall_pw()
252 if (getfield(&pass, 0, &p, fieldsep) == NULL) { /*%< field can be empty */ in irp_unmarshall_pw()
259 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pw()
276 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pw()
293 if (getfield(&class, 0, &p, fieldsep) == NULL) { in irp_unmarshall_pw()
301 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pw()
318 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pw()
335 if (getfield(&gecos, 0, &p, fieldsep) == NULL) { in irp_unmarshall_pw()
343 if (getfield(&dir, 0, &p, fieldsep) == NULL) { in irp_unmarshall_pw()
351 if (getfield(&shell, 0, &p, fieldsep) == NULL) { in irp_unmarshall_pw()
409 const char *fieldsep = COLONSTR; in irp_marshall_gr() local
448 strcpy(*buffer, gr->gr_name); strcat(*buffer, fieldsep); in irp_marshall_gr()
452 strcat(*buffer, fieldsep); in irp_marshall_gr()
453 strcat(*buffer, grGid); strcat(*buffer, fieldsep); in irp_marshall_gr()
454 joinarray(gr->gr_mem, *buffer, COMMA) ; strcat(*buffer, fieldsep); in irp_marshall_gr()
482 char fieldsep = ':'; in irp_unmarshall_gr() local
494 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_gr()
501 if (getfield(&pass, 0, &p, fieldsep) == NULL) { in irp_unmarshall_gr()
508 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_gr()
523 q = strchr(p, fieldsep); in irp_unmarshall_gr()
578 const char *fieldsep = COLONSTR; in irp_marshall_sv() local
617 strcpy(*buffer, sv->s_name); strcat(*buffer, fieldsep); in irp_marshall_sv()
618 joinarray(sv->s_aliases, *buffer, COMMA); strcat(*buffer, fieldsep); in irp_marshall_sv()
619 strcat(*buffer, svPort); strcat(*buffer, fieldsep); in irp_marshall_sv()
620 strcat(*buffer, sv->s_proto); strcat(*buffer, fieldsep); in irp_marshall_sv()
648 char fieldsep = ':'; in irp_unmarshall_sv() local
659 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_sv()
665 q = strchr(p, fieldsep); in irp_unmarshall_sv()
679 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_sv()
695 if (getfield(&proto, 0, &p, fieldsep) == NULL) { in irp_unmarshall_sv()
738 const char *fieldsep = COLONSTR; in irp_marshall_pr() local
772 strcpy(*buffer, pr->p_name); strcat(*buffer, fieldsep); in irp_marshall_pr()
773 joinarray(pr->p_aliases, *buffer, COMMA); strcat(*buffer, fieldsep); in irp_marshall_pr()
774 strcat(*buffer, prProto); strcat(*buffer, fieldsep); in irp_marshall_pr()
801 char fieldsep = ':'; in irp_unmarshall_pr() local
813 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_pr()
819 q = strchr(p, fieldsep); in irp_unmarshall_pr()
833 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pr()
890 const char *fieldsep = "@"; in irp_marshall_ho() local
946 strcpy(*buffer, ho->h_name); strcat(*buffer, fieldsep); in irp_marshall_ho()
947 joinarray(ho->h_aliases, *buffer, COMMA); strcat(*buffer, fieldsep); in irp_marshall_ho()
948 strcat(*buffer, hoaddrtype); strcat(*buffer, fieldsep); in irp_marshall_ho()
949 strcat(*buffer, holength); strcat(*buffer, fieldsep); in irp_marshall_ho()
962 strcat(*buffer, fieldsep); in irp_marshall_ho()
1001 char fieldsep = '@'; in irp_unmarshall_ho() local
1013 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_ho()
1019 q = strchr(p, fieldsep); in irp_unmarshall_ho()
1033 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_ho()
1047 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_ho()
1062 q = strchr(p, fieldsep); in irp_unmarshall_ho()
1146 const char *fieldsep = ","; in irp_marshall_ng() local
1182 strcat(*buffer, fieldsep); in irp_marshall_ng()
1186 strcat(*buffer, fieldsep); in irp_marshall_ng()
1219 char fieldsep = ','; in irp_unmarshall_ng() local
1240 while (*q && *q != fieldsep) in irp_unmarshall_ng()
1251 } else if (*p != fieldsep) { in irp_unmarshall_ng()
1253 while (*q && *q != fieldsep) in irp_unmarshall_ng()
1314 const char *fieldsep = COLONSTR; in irp_marshall_nw() local
1354 strcpy(*buffer, ne->n_name); strcat(*buffer, fieldsep); in irp_marshall_nw()
1355 joinarray(ne->n_aliases, *buffer, COMMA) ; strcat(*buffer, fieldsep); in irp_marshall_nw()
1356 strcat(*buffer, nAddrType); strcat(*buffer, fieldsep); in irp_marshall_nw()
1357 strcat(*buffer, nNet); strcat(*buffer, fieldsep); in irp_marshall_nw()
1385 char fieldsep = ':'; in irp_unmarshall_nw() local
1396 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_nw()
1402 q = strchr(p, fieldsep); in irp_unmarshall_nw()
1416 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_nw()
1430 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_nw()
1488 const char *fieldsep = COLONSTR; in irp_marshall_ne() local
1528 strcpy(*buffer, ne->n_name); strcat(*buffer, fieldsep); in irp_marshall_ne()
1529 joinarray(ne->n_aliases, *buffer, COMMA) ; strcat(*buffer, fieldsep); in irp_marshall_ne()
1530 strcat(*buffer, nAddrType); strcat(*buffer, fieldsep); in irp_marshall_ne()
1531 strcat(*buffer, nNet); strcat(*buffer, fieldsep); in irp_marshall_ne()
1559 char fieldsep = ':'; in irp_unmarshall_ne() local
1570 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_ne()
1576 q = strchr(p, fieldsep); in irp_unmarshall_ne()
1590 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_ne()
1604 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_ne()