Lines Matching refs:fieldsep

142 	const char *fieldsep = COLONSTR;  in irp_marshall_pw()  local
204 strcpy(*buffer, pw->pw_name); strcat(*buffer, fieldsep); in irp_marshall_pw()
205 strcat(*buffer, pw->pw_passwd); strcat(*buffer, fieldsep); in irp_marshall_pw()
206 strcat(*buffer, pwUid); strcat(*buffer, fieldsep); in irp_marshall_pw()
207 strcat(*buffer, pwGid); strcat(*buffer, fieldsep); in irp_marshall_pw()
208 strcat(*buffer, pwClass); strcat(*buffer, fieldsep); in irp_marshall_pw()
209 strcat(*buffer, pwChange); strcat(*buffer, fieldsep); in irp_marshall_pw()
210 strcat(*buffer, pwExpire); strcat(*buffer, fieldsep); in irp_marshall_pw()
211 strcat(*buffer, pw->pw_gecos); strcat(*buffer, fieldsep); in irp_marshall_pw()
212 strcat(*buffer, pw->pw_dir); strcat(*buffer, fieldsep); in irp_marshall_pw()
213 strcat(*buffer, pw->pw_shell); strcat(*buffer, fieldsep); in irp_marshall_pw()
242 char fieldsep = ':'; in irp_unmarshall_pw() local
250 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0) { in irp_unmarshall_pw()
256 if (getfield(&pass, 0, &p, fieldsep) == NULL) { /*%< field can be empty */ in irp_unmarshall_pw()
263 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pw()
280 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pw()
297 if (getfield(&class, 0, &p, fieldsep) == NULL) { in irp_unmarshall_pw()
305 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pw()
322 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pw()
339 if (getfield(&gecos, 0, &p, fieldsep) == NULL) { in irp_unmarshall_pw()
347 if (getfield(&dir, 0, &p, fieldsep) == NULL) { in irp_unmarshall_pw()
355 if (getfield(&shell, 0, &p, fieldsep) == NULL) { in irp_unmarshall_pw()
413 const char *fieldsep = COLONSTR; in irp_marshall_gr() local
452 strcpy(*buffer, gr->gr_name); strcat(*buffer, fieldsep); in irp_marshall_gr()
456 strcat(*buffer, fieldsep); in irp_marshall_gr()
457 strcat(*buffer, grGid); strcat(*buffer, fieldsep); in irp_marshall_gr()
458 joinarray(gr->gr_mem, *buffer, COMMA) ; strcat(*buffer, fieldsep); in irp_marshall_gr()
486 char fieldsep = ':'; in irp_unmarshall_gr() local
498 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_gr()
505 if (getfield(&pass, 0, &p, fieldsep) == NULL) { in irp_unmarshall_gr()
512 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_gr()
527 q = strchr(p, fieldsep); in irp_unmarshall_gr()
582 const char *fieldsep = COLONSTR; in irp_marshall_sv() local
621 strcpy(*buffer, sv->s_name); strcat(*buffer, fieldsep); in irp_marshall_sv()
622 joinarray(sv->s_aliases, *buffer, COMMA); strcat(*buffer, fieldsep); in irp_marshall_sv()
623 strcat(*buffer, svPort); strcat(*buffer, fieldsep); in irp_marshall_sv()
624 strcat(*buffer, sv->s_proto); strcat(*buffer, fieldsep); in irp_marshall_sv()
652 char fieldsep = ':'; in irp_unmarshall_sv() local
663 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_sv()
669 q = strchr(p, fieldsep); in irp_unmarshall_sv()
683 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_sv()
699 if (getfield(&proto, 0, &p, fieldsep) == NULL) { in irp_unmarshall_sv()
742 const char *fieldsep = COLONSTR; in irp_marshall_pr() local
776 strcpy(*buffer, pr->p_name); strcat(*buffer, fieldsep); in irp_marshall_pr()
777 joinarray(pr->p_aliases, *buffer, COMMA); strcat(*buffer, fieldsep); in irp_marshall_pr()
778 strcat(*buffer, prProto); strcat(*buffer, fieldsep); in irp_marshall_pr()
805 char fieldsep = ':'; in irp_unmarshall_pr() local
817 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_pr()
823 q = strchr(p, fieldsep); in irp_unmarshall_pr()
837 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_pr()
894 const char *fieldsep = "@"; in irp_marshall_ho() local
950 strcpy(*buffer, ho->h_name); strcat(*buffer, fieldsep); in irp_marshall_ho()
951 joinarray(ho->h_aliases, *buffer, COMMA); strcat(*buffer, fieldsep); in irp_marshall_ho()
952 strcat(*buffer, hoaddrtype); strcat(*buffer, fieldsep); in irp_marshall_ho()
953 strcat(*buffer, holength); strcat(*buffer, fieldsep); in irp_marshall_ho()
966 strcat(*buffer, fieldsep); in irp_marshall_ho()
1005 char fieldsep = '@'; in irp_unmarshall_ho() local
1017 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_ho()
1023 q = strchr(p, fieldsep); in irp_unmarshall_ho()
1037 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_ho()
1051 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_ho()
1066 q = strchr(p, fieldsep); in irp_unmarshall_ho()
1150 const char *fieldsep = ","; in irp_marshall_ng() local
1186 strcat(*buffer, fieldsep); in irp_marshall_ng()
1190 strcat(*buffer, fieldsep); in irp_marshall_ng()
1223 char fieldsep = ','; in irp_unmarshall_ng() local
1244 while (*q && *q != fieldsep) in irp_unmarshall_ng()
1255 } else if (*p != fieldsep) { in irp_unmarshall_ng()
1257 while (*q && *q != fieldsep) in irp_unmarshall_ng()
1318 const char *fieldsep = COLONSTR; in irp_marshall_nw() local
1358 strcpy(*buffer, ne->n_name); strcat(*buffer, fieldsep); in irp_marshall_nw()
1359 joinarray(ne->n_aliases, *buffer, COMMA) ; strcat(*buffer, fieldsep); in irp_marshall_nw()
1360 strcat(*buffer, nAddrType); strcat(*buffer, fieldsep); in irp_marshall_nw()
1361 strcat(*buffer, nNet); strcat(*buffer, fieldsep); in irp_marshall_nw()
1389 char fieldsep = ':'; in irp_unmarshall_nw() local
1400 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_nw()
1406 q = strchr(p, fieldsep); in irp_unmarshall_nw()
1420 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_nw()
1434 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_nw()
1492 const char *fieldsep = COLONSTR; in irp_marshall_ne() local
1532 strcpy(*buffer, ne->n_name); strcat(*buffer, fieldsep); in irp_marshall_ne()
1533 joinarray(ne->n_aliases, *buffer, COMMA) ; strcat(*buffer, fieldsep); in irp_marshall_ne()
1534 strcat(*buffer, nAddrType); strcat(*buffer, fieldsep); in irp_marshall_ne()
1535 strcat(*buffer, nNet); strcat(*buffer, fieldsep); in irp_marshall_ne()
1563 char fieldsep = ':'; in irp_unmarshall_ne() local
1574 if (getfield(&name, 0, &p, fieldsep) == NULL || strlen(name) == 0U) { in irp_unmarshall_ne()
1580 q = strchr(p, fieldsep); in irp_unmarshall_ne()
1594 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_ne()
1608 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || in irp_unmarshall_ne()