Searched refs:key (Results 1 - 25 of 506) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/router/samba/source/registry/
H A Dreg_frontend.c75 BOOL store_reg_keys( REGISTRY_KEY *key, REGSUBKEY_CTR *subkeys ) argument
77 if ( key->hook && key->hook->ops && key->hook->ops->store_subkeys_fn )
78 return key->hook->ops->store_subkeys_fn( key->name, subkeys );
88 BOOL store_reg_values( REGISTRY_KEY *key, REGVAL_CTR *val ) argument
90 if ( key->hook && key->hook->ops && key
102 fetch_reg_keys( REGISTRY_KEY *key, REGSUBKEY_CTR *subkey_ctr ) argument
117 fetch_reg_keys_specific( REGISTRY_KEY *key, char** subkey, uint32 key_index ) argument
168 fetch_reg_values( REGISTRY_KEY *key, REGVAL_CTR *val ) argument
184 fetch_reg_values_specific( REGISTRY_KEY *key, REGISTRY_VALUE **val, uint32 val_index ) argument
[all...]
H A Dreg_cachehook.c50 pstring key; local
55 pstrcpy( key, "\\");
56 pstrcat( key, hook->keyname );
58 pstring_sub( key, "\\", "/" );
60 DEBUG(10,("reghook_cache_add: Adding key [%s]\n", key));
62 return sorted_tree_add( cache_tree, key, hook );
71 char *key; local
81 if ( !(key = malloc( len + 2 )) ) {
87 *key
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/python/samba/
H A Dprinterdata.py24 def __getitem__(self, key):
25 return self.hnd.getprinterdata(key)['data']
27 def __setitem__(self, key, value):
29 self.hnd.setprinterdata({"key": "", "value": key, "type": 3,
41 def has_key(self, key):
43 if k == key:
48 def __init__(self, host, key):
50 self.key = key
[all...]
/asus-wl-520gu-7.0.1.45/src/router/LPRng/UTILS/
H A Dtest_read9 my($pc_path,$file,$Printer,$key,$value,$Pc_value);
25 foreach $key (sort keys %$Pc_value ){
26 print " '$key'='$Pc_value->{$key}'\n";
H A Dtest_read.in9 my($pc_path,$file,$Printer,$key,$value,$Pc_value);
25 foreach $key (sort keys %$Pc_value ){
26 print " '$key'='$Pc_value->{$key}'\n";
/asus-wl-520gu-7.0.1.45/src/router/shared/bcmcrypto/
H A Dprf.h26 int PRF(unsigned char *key, int key_len, unsigned char *prefix,
30 int fPRF(unsigned char *key, int key_len, unsigned char *prefix,
34 void hmac_sha1(unsigned char *text, int text_len, unsigned char *key,
37 void hmac_md5(unsigned char *text, int text_len, unsigned char *key,
/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Dopencrypto.h22 int aes_wrap(size_t kl, uint8 *key, size_t il, uint8 *input, uint8 *output);
24 /* AES-based key unwrap function defined in RFC3394 */
25 int aes_unwrap(size_t kl, uint8 *key, size_t il, uint8 *input, uint8 *output);
28 int fPRF(unsigned char *key, int key_len, unsigned char *prefix,
33 void hmac_sha1(unsigned char *text, int text_len, unsigned char *key,
/asus-wl-520gu-7.0.1.45/src/router/shared.asus/bcmcrypto/
H A Dprf.h26 int PRF(unsigned char *key, int key_len, unsigned char *prefix,
30 int fPRF(unsigned char *key, int key_len, unsigned char *prefix,
34 void hmac_sha1(unsigned char *text, int text_len, unsigned char *key,
37 void hmac_md5(unsigned char *text, int text_len, unsigned char *key,
/asus-wl-520gu-7.0.1.45/src/router/libbcmcrypto/openssl/
H A Daes.h87 AES_KEY *key);
89 AES_KEY *key);
92 const AES_KEY *key);
94 const AES_KEY *key);
97 const AES_KEY *key, const int enc);
99 const unsigned long length, const AES_KEY *key,
102 const unsigned long length, const AES_KEY *key,
105 const unsigned long length, const AES_KEY *key,
108 const unsigned long length, const AES_KEY *key,
111 const int nbits,const AES_KEY *key,
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/libsmb/
H A Dnamecache.c85 * Generates a key for netbios name lookups on basis of
87 * The caller must free returned key string when finished.
119 char *key, *value_string; local
140 key = namecache_key(name, name_type);
149 SAFE_FREE(key);
155 ret = gencache_set(key, value_string, expiry);
156 SAFE_FREE(key);
178 char *key, *value; local
190 * Use gencache interface - lookup the key
192 key
222 flush_netbios_name(const char* key, const char *value, time_t timeout, void* dptr) argument
268 char *key; local
296 char *key = NULL; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/pptp/
H A Dvector.h21 int vector_insert(VECTOR *v, int key, PPTP_CALL * call);
22 int vector_remove(VECTOR *v, int key);
23 int vector_search(VECTOR *v, int key, PPTP_CALL ** call);
25 int vector_contains(VECTOR *v, int key);
26 /* find first unused key. Returns TRUE on success, FALSE if no. */
27 int vector_scan(VECTOR *v, int lo, int hi, int *key);
H A Dvector.c22 int key; member in struct:vector_item
35 static struct vector_item *binary_search(VECTOR *v, int key);
76 int vector_insert(VECTOR *v, int key, PPTP_CALL * call) argument
80 assert(!vector_contains(v, key));
82 assert(v->key_max < key);
96 if (v->item[i].key < key)
101 v->item[i + 1].key = key;
105 if (v->key_max < key) /* i
112 vector_remove(VECTOR *v, int key) argument
124 vector_search(VECTOR *v, int key, PPTP_CALL **call) argument
135 vector_contains(VECTOR *v, int key) argument
142 binary_search(VECTOR *v, int key) argument
164 vector_scan(VECTOR *v, int lo, int hi, int *key) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pptp-client/
H A Dvector.h21 int vector_insert(VECTOR *v, int key, PPTP_CALL * call);
22 int vector_remove(VECTOR *v, int key);
23 int vector_search(VECTOR *v, int key, PPTP_CALL ** call);
25 int vector_contains(VECTOR *v, int key);
26 /* find first unused key. Returns TRUE on success, FALSE if no. */
27 int vector_scan(VECTOR *v, int lo, int hi, int *key);
H A Dvector.c22 int key; member in struct:vector_item
35 static struct vector_item *binary_search(VECTOR *v, int key);
76 int vector_insert(VECTOR *v, int key, PPTP_CALL * call) argument
80 assert(!vector_contains(v, key));
82 assert(v->key_max < key);
96 if (v->item[i].key < key)
101 v->item[i + 1].key = key;
105 if (v->key_max < key) /* i
112 vector_remove(VECTOR *v, int key) argument
124 vector_search(VECTOR *v, int key, PPTP_CALL **call) argument
135 vector_contains(VECTOR *v, int key) argument
142 binary_search(VECTOR *v, int key) argument
164 vector_scan(VECTOR *v, int lo, int hi, int *key) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/scripts/lxdialog/
H A Dmsgbox.c32 int i, x, y, key = 0; local
75 while (key != ESC && key != '\n' && key != ' ' &&
76 key != 'O' && key != 'o' && key != 'X' && key != 'x')
77 key = wgetch (dialog);
79 key
[all...]
/asus-wl-520gu-7.0.1.45/src/router/config/
H A Dmsgbox.c32 int i, x, y, key = 0; local
75 while (key != ESC && key != '\n' && key != ' ' &&
76 key != 'O' && key != 'o' && key != 'X' && key != 'x')
77 key = wgetch (dialog);
79 key
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dsysrq.h10 * overhauled to use key registration
32 * ASCII code of the key, pointer to registers and kbd/tty structs (if they
56 struct sysrq_key_op *__sysrq_get_key_op (int key);
57 void __sysrq_put_key_op (int key, struct sysrq_key_op *op_p);
60 __sysrq_swap_key_ops_nolock(int key, struct sysrq_key_op *insert_op_p, argument
64 if (__sysrq_get_key_op(key) == remove_op_p) {
65 __sysrq_put_key_op(key, insert_op_p);
74 __sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p, argument
78 retval = __sysrq_swap_key_ops_nolock(key, insert_op_p, remove_op_p);
83 static inline int register_sysrq_key(int key, struc argument
88 unregister_sysrq_key(int key, struct sysrq_key_op *op_p) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dsysrq.h10 * overhauled to use key registration
32 * ASCII code of the key, pointer to registers and kbd/tty structs (if they
56 struct sysrq_key_op *__sysrq_get_key_op (int key);
57 void __sysrq_put_key_op (int key, struct sysrq_key_op *op_p);
60 __sysrq_swap_key_ops_nolock(int key, struct sysrq_key_op *insert_op_p, argument
64 if (__sysrq_get_key_op(key) == remove_op_p) {
65 __sysrq_put_key_op(key, insert_op_p);
74 __sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p, argument
78 retval = __sysrq_swap_key_ops_nolock(key, insert_op_p, remove_op_p);
83 static inline int register_sysrq_key(int key, struc argument
88 unregister_sysrq_key(int key, struct sysrq_key_op *op_p) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/stf/
H A Dstf.py80 for key in sample_dict.keys():
81 # Check existing key and type
82 if not real_dict.has_key(key):
83 raise ValueError, "dict does not contain key '%s'" % key
84 if type(sample_dict[key]) != type(real_dict[key]):
85 raise ValueError, "dict has differing types (%s vs %s) for key " \
86 "'%s'" % (type(sample_dict[key]), type(real_dict[key]), ke
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/tdb/
H A Dtdbtest.c57 TDB_DATA d, key, nextkey; local
60 key = tdb_firstkey(db);
61 while (key.dptr) {
62 d = tdb_fetch(db, key);
63 gkey.dptr = key.dptr;
64 gkey.dsize = key.dsize;
68 if (!gd.dptr) fatal("key not in gdbm");
74 nextkey = tdb_nextkey(db, key);
75 free(key.dptr);
78 key
120 TDB_DATA key, data; local
153 datum key, data; local
182 traverse_fn(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, void *state) argument
195 TDB_DATA key, data; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/plugins/pppoe/
H A Dpppoehash.c21 static int hash_con(int key_len, char* key) argument
27 hash[i% sizeof(int)] = hash[i%sizeof(int)] ^ key[i];
37 struct pppoe_con *get_con(int len, char *key) argument
39 int hash = hash_con(len, key);
44 while (ret && !keycmp(ret->key,key, ret->key_len, len))
52 int hash = hash_con(pc->key_len, pc->key);
57 if (!keycmp(ret->key, pc->key, ret->key_len, pc->key_len))
71 struct pppoe_con *delete_con(unsigned long len, char *key) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ia64/sn/sn1/
H A Daddrs.h239 #define ADD_HUBWID_KEY(key,hubwid)\
240 (key|=((__psunsigned_t)hubwid << KEY_HUBWID_SHFT))
242 #define ADD_HSTNASID_KEY(key,hstnasid)\
243 (key|=((__psunsigned_t)hstnasid << KEY_HSTNASID_SHFT))
245 #define GET_DEVNASID_FROM_KEY(key) ((short)(key >> KEY_DEVNASID_SHFT))
246 #define GET_WIDID_FROM_KEY(key) ((uchar)(key >> KEY_WIDID_SHFT))
247 #define GET_PCIID_FROM_KEY(key) ((uchar)(key >> KEY_PCIID_SHF
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ia64/sn/sn1/
H A Daddrs.h239 #define ADD_HUBWID_KEY(key,hubwid)\
240 (key|=((__psunsigned_t)hubwid << KEY_HUBWID_SHFT))
242 #define ADD_HSTNASID_KEY(key,hstnasid)\
243 (key|=((__psunsigned_t)hstnasid << KEY_HSTNASID_SHFT))
245 #define GET_DEVNASID_FROM_KEY(key) ((short)(key >> KEY_DEVNASID_SHFT))
246 #define GET_WIDID_FROM_KEY(key) ((uchar)(key >> KEY_WIDID_SHFT))
247 #define GET_PCIID_FROM_KEY(key) ((uchar)(key >> KEY_PCIID_SHF
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dpppcrypt.c53 MakeKey(key, des_key)
54 u_char *key; /* IN 56 bit DES key missing parity bits */
55 u_char *des_key; /* OUT 64 bit DES key with parity bits added */
57 des_key[0] = Get7Bits(key, 0);
58 des_key[1] = Get7Bits(key, 7);
59 des_key[2] = Get7Bits(key, 14);
60 des_key[3] = Get7Bits(key, 21);
61 des_key[4] = Get7Bits(key, 28);
62 des_key[5] = Get7Bits(key, 3
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
H A Dpppcrypt.c53 MakeKey(key, des_key)
54 u_char *key; /* IN 56 bit DES key missing parity bits */
55 u_char *des_key; /* OUT 64 bit DES key with parity bits added */
57 des_key[0] = Get7Bits(key, 0);
58 des_key[1] = Get7Bits(key, 7);
59 des_key[2] = Get7Bits(key, 14);
60 des_key[3] = Get7Bits(key, 21);
61 des_key[4] = Get7Bits(key, 28);
62 des_key[5] = Get7Bits(key, 3
[all...]

Completed in 244 milliseconds

1234567891011>>