Home
last modified time | relevance | path

Searched refs:key (Results 76 – 100 of 235) sorted by relevance

12345678910

/original-bsd/old/mkpasswd/
H A Dmkpasswd.c51 datum key, content; local
132 key.dptr = _pw_passwd.pw_name;
133 key.dsize = strlen(_pw_passwd.pw_name);
134 if (dbm_store(dp, key, content, DBM_INSERT) < 0)
136 key.dptr = (char *)&_pw_passwd.pw_uid;
137 key.dsize = sizeof(int);
139 if (dbm_store(dp, key, content, DBM_INSERT) < 0)
/original-bsd/usr.sbin/amd/maps/
H A Da_master10 dylan type:=auto;fs:=${map};pref:=${key}/
24 hostd!=${key}.${domain};type:=nfs;rhost:=${key}.${domain};rfs:=/home/${key}
30 hostd!=${key}.${domain};type:=nfs;rhost:=${key}.${domain};rfs:=/home/${key}
36 hostd!=toytown.doc;type:=nfs;rhost:=toytown.doc;rfs:=/home/${key}
/original-bsd/lib/libc/db/recno/
H A Drec_seq.c35 __rec_seq(dbp, key, data, flags) in __rec_seq() argument
37 DBT *key, *data;
55 if ((nrec = *(recno_t *)key->data) == 0)
99 status = __rec_ret(t, e, nrec, key, data);
/original-bsd/lib/libc/gen/
H A Dttyname.c31 DBT data, key; local
48 key.data = &bkey;
49 key.size = sizeof(bkey);
50 if (!(db->get)(db, &key, &data, 0)) {
H A Dcrypt.c451 crypt(key, setting) in crypt() argument
452 register const char *key; in crypt()
464 key++;
476 while (*key) {
482 key++;
553 des_setkey(key) in des_setkey() argument
554 register const char *key; in des_setkey()
567 key = (char *)&KS[0];
570 key += sizeof(C_block);
873 setkey(key) in setkey() argument
[all …]
/original-bsd/lib/libedit/
H A Dmap.c982 el_action_t *key = el->el_map.key; local
993 key[i] = vii[i];
1017 el_action_t *key = el->el_map.key; local
1163 if (el->el_map.key[prev] == el->el_map.key[i])
1205 int key; local
1229 key = 1;
1261 if (key)
1271 if (key) {
1285 if (key)
1307 if (key)
[all …]
/original-bsd/usr.bin/diction/style1/
H A Dnhash.c40 int ii, key, c, p1, p2; local
42 key =0;
44 key = key + (key<<5) + c;
45 key &= 077777;
46 p1 = key%aapr1;
47 p2 = key%aapr2;
/original-bsd/contrib/bib/src/
H A Dinvert.c162 char key[maxstr], newkey[maxstr], local
175 sscanf(line,"%s%s%d%d", key, file, &start, &length);
176 fprintf(out, "%s :%s %d/%d", key, file, start, length);
179 if (strcmp(key,newkey)!=0)
180 { strcpy(key, newkey);
182 fprintf(out, "\n%s :%s %d/%d", key, file, start, length);
/original-bsd/sbin/mount_portal/
H A Dpt_file.c28 int portal_file(pcr, key, v, so, fdp) in portal_file() argument
30 char *key;
42 strcpy(pbuf+1, key + (v[1] ? strlen(v[1]) : 0));
H A Dpt_exec.c26 int portal_exec(pcr, key, v, so, fdp) in portal_exec() argument
28 char *key;
H A Dpt_tcp.c38 int portal_tcp(pcr, key, v, kso, fdp) in portal_tcp() argument
40 char *key;
47 char *p = key + (v[1] ? strlen(v[1]) : 0);
/original-bsd/lib/libc/db/hash/
H A Dhash_bigkey.c62 __big_insert(hashp, bufp, key, val)
65 const DBT *key, *val; variable
75 key_data = (char *)key->data;
76 key_size = key->size;
244 char *key; variable
256 kkey = key;
483 DBT *key, *val; variable
487 if (key->size == -1)
489 key->data = (u_char *)hashp->tmp_key;
556 DBT key, val; variable
[all …]
H A Dhash.c503 hash_get(dbp, key, data, flag) in hash_get() argument
505 const DBT *key;
520 hash_put(dbp, key, data, flag) in hash_put() argument
522 DBT *key;
542 hash_delete(dbp, key, flag) in hash_delete() argument
544 const DBT *key;
568 DBT *key, *val;
582 size = key->size;
583 kp = (char *)key->data;
694 hash_seq(dbp, key, data, flag) in hash_seq() argument
[all …]
/original-bsd/usr.sbin/sendmail/src/
H A Dmap.c721 bcopy(key.dptr, keybuf, key.dsize + 1);
763 datum key; local
1094 key.size++;
1129 DBT key; local
1145 key.size++;
2516 char *key;
2530 return map_rewrite(map, key, strlen(key), NULL);
2843 char *key;
2892 char *key;
2936 char *key;
[all …]
/original-bsd/etc/kerberosIV/
H A DREADME5 The file master_key contains a copy of the master key under which the
6 entire Kerberos database is encrypted. Disclosing this key would be bad
8 programs need to inspect or modify the kereros database, and so the key
16 host. Any host offering network services would have a key here, although
33 with "."), each of which contains a des key used for registering new users
/original-bsd/usr.bin/ctags/
H A DC.c409 skip_string(key) in skip_string() argument
410 int key; in skip_string()
424 if (c == key && !skip)
435 skip_key(key) in skip_key() argument
436 int key; in skip_key()
470 if (c == key && !skip)
/original-bsd/usr.bin/finger/
H A Dutil.c142 DBT data, key; local
149 key.data = pw->pw_name;
150 key.size = strlen(pw->pw_name);
152 switch ((*db->get)(db, &key, &data, 0)) {
168 if ((*db->put)(db, &key, &data, 0))
179 DBT data, key; local
190 key.data = buf;
191 key.size = cnt;
193 if ((*db->get)(db, &key, &data, 0))
/original-bsd/bin/stty/
H A Dkey.c41 static struct key { struct
74 return (strcmp(((struct key *)a)->name, ((struct key *)b)->name));
83 struct key *kp, tmp;
93 if (!(kp = (struct key *)bsearch(&tmp, keys,
94 sizeof(keys)/sizeof(struct key), sizeof(struct key), c_key)))
/original-bsd/old/refer/NOTUSED/
H A Dthash.c62 char key[20], *p; local
74 p = key;
85 if (outkey(p=key))
87 tkey(key,k);
/original-bsd/usr.sbin/dev_mkdb/
H A Ddev_mkdb.c50 DBT data, key; local
86 key.data = &bkey;
87 key.size = sizeof(bkey);
112 if ((db->put)(db, &key, &data, 0))
/original-bsd/usr.sbin/amd/amd/
H A Dinfo_hes.c85 int hesiod_search(m, map, key, pval, tp) in hesiod_search() argument
88 char *key;
99 sprintf(hes_key, "%s.%s", key, map+HES_PREFLEN);
400 char key[PACKETSZ]; local
425 if ((n = dn_expand(msg, eom, cp, key, PACKETSZ)) < 0)
435 if (type == T_TXT && hs_strip_our_domain(key)) {
439 key_cpy = strdup(key);
441 dlog("hs_parse: Parsed key: %s, value: %s", key,
570 char key[PACKETSZ], name[PACKETSZ], msg[PACKETSZ], *eom; local
600 if ((n = dn_expand(msg, eom, cp, key, PACKETSZ)) < 0)
[all …]
/original-bsd/old/dump.4.1/
H A Ddumpoptr.c353 fstabsearch(key) in fstabsearch() argument
354 char *key; in fstabsearch()
364 if (strcmp(fs->fs_file, key) == 0)
366 if (strcmp(fs->fs_spec, key) == 0)
368 if (strcmp(rawname(fs->fs_spec), key) == 0)
370 if (key[0] != '/'){
372 strcmp(fs->fs_spec + 1, key) == 0)
375 strcmp(fs->fs_file + 1, key) == 0)
/original-bsd/sbin/dump/
H A Doptr.c427 fstabsearch(key) in fstabsearch() argument
428 char *key; in fstabsearch()
436 if (strcmp(fs->fs_file, key) == 0 ||
437 strcmp(fs->fs_spec, key) == 0)
440 if (rn != NULL && strcmp(rn, key) == 0)
442 if (key[0] != '/') {
444 strcmp(fs->fs_spec + 1, key) == 0)
447 strcmp(fs->fs_file + 1, key) == 0)
/original-bsd/lib/libc/db/test/
H A DREADME18 associated with the specified key is compared to the specified
37 + set the current key value to the contents of the line.
38 K [file]: key file
39 + set the current key value to the contents of the file
41 + set the current key value to the contents of the line.
/original-bsd/lib/libtelnet/
H A Drsaencpwd.c178 char *cp, key[160]; local
199 j = getc(fp); key[i]=j;
203 r = accept_rsa_encpwd(&auth, key, challenge,
261 j = getc(fp); key[i]=j;
276 memmove(ptr, key, i);
456 prkey(msg, key) in prkey() argument
458 unsigned char *key;
463 printf(" %3d", key[i]);

12345678910