Lines Matching full:cap
94 * Cgetcap searches the capability record buf for the capability cap with
95 * type `type'. A pointer to the value of cap is returned on success, NULL
98 * Specifying a type of ':' means that nothing should follow cap (:cap:).
100 * cap is found.
102 * If (cap, '@') or (cap, terminator, '@') is found before (cap, terminator)
106 cgetcap(char *buf, const char *cap, int type) in cgetcap() argument
116 * the remainder of a field whose name failed to match cap. in cgetcap()
126 * Try to match (cap, type) in buf. in cgetcap()
128 for (cp = cap; *cp == *bp && *bp != '\0'; cp++, bp++) in cgetcap()
173 * *cap and *len.
183 getent(char **cap, u_int *len, char **db_array, int fd, const char *name, in getent() argument
260 *cap = cbuf; in getent()
523 *cap = record; in getent()
771 * Cgetstr retrieves the value of the string capability cap from the
780 cgetstr(char *buf, const char *cap, char **str) in cgetstr() argument
788 * Find string capability cap in cgetstr()
790 bp = cgetcap(buf, cap, '='); in cgetstr()
897 * Cgetustr retrieves the value of the string capability cap from the
907 cgetustr(char *buf, const char *cap, char **str) in cgetustr() argument
915 * Find string capability cap in cgetustr()
917 if ((bp = cgetcap(buf, cap, '=')) == NULL) in cgetustr()
969 * Cgetnum retrieves the value of the numeric capability cap from the
975 cgetnum(char *buf, const char *cap, long *num) in cgetnum() argument
982 * Find numeric capability cap in cgetnum()
984 bp = cgetcap(buf, cap, '#'); in cgetnum()