Lines Matching defs:id

55 		    int type, int permset, int tag, int id);
57 int type, int permset, int tag, int id, const char *name,
72 int tag, int flags, const wchar_t *wname, int perm, int id);
73 static void append_id_w(wchar_t **wp, int id);
83 int tag, int flags, const char *name, int perm, int id);
84 static void append_id(char **p, int id);
161 ap->type, ap->permset, ap->tag, ap->id);
170 int type, int permset, int tag, int id, const char *name)
176 ap = acl_new_entry(acl, type, permset, tag, id);
190 int type, int permset, int tag, int id, const wchar_t *name, size_t len)
196 ap = acl_new_entry(acl, type, permset, tag, id);
210 int type, int permset, int tag, int id, const char *name, size_t len,
218 ap = acl_new_entry(acl, type, permset, tag, id);
270 int type, int permset, int tag, int id)
332 * TODO: compare names of no id is provided (needs more rework)
338 ap->type == type && ap->tag == tag && ap->id == id) {
339 if (id != -1 || (tag != ARCHIVE_ENTRY_ACL_USER &&
359 ap->id = id;
433 int *type, int *permset, int *tag, int *id, const char **name)
436 *id = -1;
480 *id = -1;
487 *id = acl->acl_p->id;
633 tmp = ap->id;
674 int id, r, want_type;
742 id = ap->id;
744 id = -1;
746 wname, ap->permset, id);
767 append_id_w(wchar_t **wp, int id)
769 if (id < 0)
770 id = 0;
771 if (id > 9)
772 append_id_w(wp, id / 10);
773 *(*wp)++ = L"0123456789"[id % 10];
778 int tag, int flags, const wchar_t *wname, int perm, int id)
789 id = -1;
800 id = -1;
812 id = -1;
817 id = -1;
822 id = -1;
835 append_id_w(wp, id);
837 id = -1;
884 if (id != -1) {
886 append_id_w(wp, id);
905 int id, r, want_type;
976 id = ap->id;
978 id = -1;
981 ap->permset, id);
1000 append_id(char **p, int id)
1002 if (id < 0)
1003 id = 0;
1004 if (id > 9)
1005 append_id(p, id / 10);
1006 *(*p)++ = "0123456789"[id % 10];
1011 int tag, int flags, const char *name, int perm, int id)
1022 id = -1;
1033 id = -1;
1045 id = -1;
1050 id = -1;
1055 id = -1;
1068 append_id(p, id);
1070 id = -1;
1115 if (id != -1) {
1117 append_id(p, id);
1144 int type, types, tag, permset, id;
1193 id = -1;
1220 isint_w(field[n + 1].start, field[n + 1].end, &id);
1222 if (id == -1 && fields > n+3)
1224 &id);
1274 if (id != -1 ||
1335 isint_w(name.start, name.end, &id);
1370 isint_w(field[4 + n].start, field[4 + n].end, &id);
1375 tag, id, name.start, name.end - name.start);
1615 int type, types, tag, permset, id;
1664 id = -1;
1691 isint(field[n + 1].start, field[n + 1].end, &id);
1693 if (id == -1 && fields > (n + 3))
1695 &id);
1745 if (id != -1 ||
1807 isint(name.start, name.end, &id);
1843 &id);
1848 tag, id, name.start, name.end - name.start, sc);