Lines Matching defs:key

213     const char *key, const char *val)
218 if (strcmp(key, "checkfs") == 0) {
257 mtree_cmp_key(const struct archive_rb_node *n, const void *key)
261 return (strcmp(e->name, key));
425 bid_keycmp(const char *p, const char *key, ssize_t len)
429 while (len > 0 && *p && *key) {
430 if (*p == *key) {
433 ++key;
439 if (*key != '\0')
506 default: return (0);/* Unknown key */
514 return (0);/* Unknown key */
553 /* Test whether there is a correct key in the line. */
1592 char *val, *key;
1594 key = opt->value;
1596 if (*key == '\0')
1599 if (strcmp(key, "nochange") == 0) {
1603 if (strcmp(key, "optional") == 0) {
1607 if (strcmp(key, "ignore") == 0) {
1616 val = strchr(key, '=');
1619 "Malformed attribute \"%s\" (%d)", key, key[0]);
1626 switch (key[0]) {
1628 if (strcmp(key, "content") == 0
1629 || strcmp(key, "contents") == 0) {
1634 if (strcmp(key, "cksum") == 0)
1638 if (strcmp(key, "device") == 0) {
1652 if (strcmp(key, "flags") == 0) {
1659 if (strcmp(key, "gid") == 0) {
1664 if (strcmp(key, "gname") == 0) {
1671 if (strcmp(key, "inode") == 0) {
1677 if (strcmp(key, "link") == 0) {
1683 if (strcmp(key, "md5") == 0 || strcmp(key, "md5digest") == 0) {
1687 if (strcmp(key, "mode") == 0) {
1702 if (strcmp(key, "nlink") == 0) {
1710 if (strcmp(key, "resdevice") == 0) {
1721 if (strcmp(key, "rmd160") == 0 ||
1722 strcmp(key, "rmd160digest") == 0) {
1728 if (strcmp(key, "sha1") == 0 ||
1729 strcmp(key, "sha1digest") == 0) {
1733 if (strcmp(key, "sha256") == 0 ||
1734 strcmp(key, "sha256digest") == 0) {
1738 if (strcmp(key, "sha384") == 0 ||
1739 strcmp(key, "sha384digest") == 0) {
1743 if (strcmp(key, "sha512") == 0 ||
1744 strcmp(key, "sha512digest") == 0) {
1748 if (strcmp(key, "size") == 0) {
1754 if (strcmp(key, "tags") == 0) {
1762 if (strcmp(key, "time") == 0) {
1788 if (strcmp(key, "type") == 0) {
1842 if (strcmp(key, "uid") == 0) {
1847 if (strcmp(key, "uname") == 0) {
1855 "Unrecognized key %s=%s", key, val);