Searched refs:key (Results 26 - 50 of 570) sorted by relevance

1234567891011>>

/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_pae_output.c67 struct ieee80211_eapol_key *key; local
80 key = (struct ieee80211_eapol_key *)&eh[1];
81 key->version = EAPOL_VERSION;
82 key->type = EAPOL_KEY;
83 key->desc = (ni->ni_rsnprotos == IEEE80211_PROTO_RSN) ?
86 info = BE_READ_2(key->info);
96 BE_WRITE_2(key->info, info);
99 BE_WRITE_2(key->paylen, len - sizeof(*key));
100 BE_WRITE_2(key
258 struct ieee80211_eapol_key *key; local
313 struct ieee80211_eapol_key *key; local
365 struct ieee80211_eapol_key *key; local
443 struct ieee80211_eapol_key *key; local
488 struct ieee80211_eapol_key *key; local
568 struct ieee80211_eapol_key *key; local
612 struct ieee80211_eapol_key *key; local
[all...]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto.c61 * Default "null" key management routines.
70 * Not in the global key table, the driver should handle this
71 * by allocating a slot in the h/w key table/cache. In
72 * lieu of that return key slot 0 for any unicast key
73 * request. We disallow the request if this is a group key.
75 * with a 4 key table. It also handles devices that pass
77 * and key index 0.
81 *keyix = 0; /* NB: use key index 0 for ucast key */
104 cipher_detach(struct ieee80211_key *key) argument
110 cipher_attach(struct ieee80211vap *vap, struct ieee80211_key *key) argument
119 dev_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *key, ieee80211_keyix *keyix, ieee80211_keyix *rxkeyix) argument
127 dev_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *key) argument
134 dev_key_set(struct ieee80211vap *vap, const struct ieee80211_key *key) argument
264 ieee80211_crypto_newkey(struct ieee80211vap *vap, int cipher, int flags, struct ieee80211_key *key) argument
423 _ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument
457 ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument
489 ieee80211_crypto_setkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument
606 ieee80211_crypto_decap(struct ieee80211_node *ni, struct mbuf *m, int hdrlen, struct ieee80211_key **key) argument
[all...]
/haiku/src/system/libroot/posix/musl/crypt/
H A Dencrypt.c9 void setkey(const char *key) argument
16 for (j = 7; j >= 0; j--, key++)
17 bkey[i] |= (uint32_t)(*key & 1) << j;
25 struct expanded_key decrypt_key, *key; local
37 key = &__encrypt_key;
39 key = &decrypt_key;
46 __do_des(b[0], b[1], b, b + 1, 1, 0, key);
/haiku/src/servers/package/
H A DPackage.h67 size_t HashKey(const char* key) const
69 return BString::HashValue(key);
77 bool Compare(const char* key, const Package* value) const argument
79 return value->FileName() == key;
93 size_t HashKey(const node_ref& key) const
95 return (size_t)key.device + 17 * (size_t)key.node;
103 bool Compare(const node_ref& key, const Package* value) const argument
105 return key == value->NodeRef();
/haiku/src/apps/cortex/Persistence/
H A Dxml_export_utils.h66 // Writes the given key/value as an XML attribute (a newline
72 const char* key,
77 stream << endl << context.indentString() << key;
78 pad_with_spaces(stream, key, context) << " = '" << value << '\'';
71 write_attr( const char* key, T value, ostream& stream, ExportContext& context) argument
H A DExportContext.h105 // const char* key,
122 // out << "\n" << indentString() << key;
123 // _pad_with_spaces(out, key, *this, m_attrColumn) << " = '" << value << '\'';
132 const char* key,
136 const char* key,
140 const char* key,
144 const char* key,
148 const char* key,
152 const char* key,
156 const char* key,
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEEntry.h111 size_t HashKey(const FUSEEntryRef& key) const
112 { return ((uint32)key.parentID ^ (uint32)(key.parentID >> 32)) * 37
113 + string_hash(key.name); }
116 bool Compare(const FUSEEntryRef& key, const FUSEEntry* value) const argument
117 { return value->parent->id == key.parentID
118 && strcmp(value->name, key.name) == 0; }
128 size_t HashKey(ino_t key) const
129 { return (uint32)key ^ (uint32)(key >> 3
132 Compare(ino_t key, const FUSENode* value) const argument
[all...]
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPDriver.cpp111 const char* key = capability->fKey.c_str(); local
114 AddDriverSpecificSetting(id, key);
117 AddDriverSpecificBooleanSetting(id, key);
120 AddDriverSpecificIntSetting(id, key);
123 AddDriverSpecificDimensionSetting(id, key);
126 AddDriverSpecificDoubleSetting(id, key);
134 GPDriver::AddDriverSpecificSetting(PrinterCap::CapID category, const char* key) { argument
136 if (GetJobData()->Settings().HasString(key))
138 const string& value = GetJobData()->Settings().GetString(key);
153 fConfiguration.fStringSettings[key]
158 AddDriverSpecificBooleanSetting(PrinterCap::CapID category, const char* key) argument
167 AddDriverSpecificIntSetting(PrinterCap::CapID category, const char* key) argument
176 AddDriverSpecificDimensionSetting(PrinterCap::CapID category, const char* key) argument
185 AddDriverSpecificDoubleSetting(PrinterCap::CapID category, const char* key) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DNodeTable.h18 size_t HashKey(KeyType key) const
20 return uint32(key & 0xffffffff);
28 bool Compare(KeyType key, ValueType* value) const argument
30 return value->GetID() == key;
/haiku/src/system/boot/platform/amiga_m68k/
H A Dkeyboard.h8 union key { union
33 extern union key wait_for_key(void);
/haiku/src/system/boot/platform/atari_m68k/
H A Dkeyboard.h8 union key { union
33 extern union key wait_for_key(void);
/haiku/src/system/boot/platform/bios_ia32/
H A Dkeyboard.h8 union key { union
30 extern union key wait_for_key(void);
/haiku/src/system/boot/platform/u-boot/
H A Dkeyboard.h8 union key { union
30 extern union key wait_for_key(void);
/haiku/src/add-ons/translators/gif/
H A DSFHash.h26 unsigned int key; member in class:HashItem
38 HashItem* GetItem(unsigned int key);
/haiku/src/system/boot/platform/next_m68k/
H A Dkeyboard.h8 union key { union
33 extern union key wait_for_key(void);
/haiku/src/tests/apps/haikudepot/
H A DJwtTokenHelperTest.h26 void _AssertStringValue(const BMessage& message, const char* key,
28 void _AssertDoubleValue(const BMessage& message, const char* key,
/haiku/src/kits/app/
H A DKeyStore.cpp32 BKeyStore::GetKey(BKeyType type, const char* identifier, BKey& key) argument
34 return GetKey(NULL, type, identifier, NULL, true, key);
40 const char* secondaryIdentifier, BKey& key)
42 return GetKey(NULL, type, identifier, secondaryIdentifier, false, key);
49 BKey& key)
52 secondaryIdentifierOptional, key);
58 BKey& key)
60 return GetKey(keyring, type, identifier, NULL, true, key);
66 const char* secondaryIdentifier, BKey& key)
68 return GetKey(keyring, type, identifier, secondaryIdentifier, false, key);
39 GetKey(BKeyType type, const char* identifier, const char* secondaryIdentifier, BKey& key) argument
47 GetKey(BKeyType type, const char* identifier, const char* secondaryIdentifier, bool secondaryIdentifierOptional, BKey& key) argument
57 GetKey(const char* keyring, BKeyType type, const char* identifier, BKey& key) argument
65 GetKey(const char* keyring, BKeyType type, const char* identifier, const char* secondaryIdentifier, BKey& key) argument
73 GetKey(const char* keyring, BKeyType type, const char* identifier, const char* secondaryIdentifier, bool secondaryIdentifierOptional, BKey& key) argument
98 AddKey(const BKey& key) argument
105 AddKey(const char* keyring, const BKey& key) argument
120 RemoveKey(const BKey& key) argument
127 RemoveKey(const char* keyring, const BKey& key) argument
142 GetNextKey(uint32& cookie, BKey& key) argument
149 GetNextKey(BKeyType type, BKeyPurpose purpose, uint32& cookie, BKey& key) argument
157 GetNextKey(const char* keyring, uint32& cookie, BKey& key) argument
164 GetNextKey(const char* keyring, BKeyType type, BKeyPurpose purpose, uint32& cookie, BKey& key) argument
228 SetUnlockKey(const char* keyring, const BKey& key) argument
255 SetMasterUnlockKey(const BKey& key) argument
[all...]
/haiku/headers/private/kernel/util/
H A DVectorMap.h48 references to the entry's key/value. This allows EntryStrategy::Entry
79 status_t Insert(const Key &key, const Value &value);
80 status_t Put(const Key &key, const Value &value);
81 Value &Get(const Key &key);
82 const Value &Get(const Key &key) const;
84 int32 Remove(const Key &key);
98 Iterator Find(const Key &key);
99 ConstIterator Find(const Key &key) const;
100 Iterator FindClose(const Key &key, bool less);
101 ConstIterator FindClose(const Key &key, boo
299 Insert(const Key &key, const Value &value) argument
318 Put(const Key &key, const Value &value) argument
334 Get(const Key &key) argument
371 Remove(const Key &key) argument
535 Find(const Key &key) argument
587 FindClose(const Key &key, bool less) argument
628 FindClose(const Key &key, bool less) const argument
655 _FindInsertionIndex(const Key &key, bool &exists) const argument
688 Entry(const Key &key, const Value &value) argument
691 Key key; member in class:VectorMapEntryStrategy::Pair::Entry
710 MakeEntry(const Key &key, const Value &value) const argument
756 AreCompatible(const Key &key, const Value &value) const argument
[all...]
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dmtctxres.c15 static pthread_key_t key; variable
30 * Initialize the TSD key. By doing this at library load time, we're
38 pthread_keycreate_ret = pthread_key_create(&key, __res_destroy_ctx);
67 if (pthread_getspecific(key) != 0) {
79 if ((ret = pthread_setspecific(key, mt)) != 0) {
122 if (((mt = pthread_getspecific(key)) != 0) ||
124 (mt = pthread_getspecific(key)) != 0)) {
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DHashRevokeManager.h27 size_t HashKey(KeyType key) const
29 return key;
37 bool Compare(KeyType key, ValueType* value) const argument
39 return value->block == key;
63 static int Compare(void* element, const void* key);
64 static uint32 Hash(void* element, const void* key, uint32 range);
/haiku/src/system/libnetwork/netresolv/dst/
H A Ddst_api.c30 * void dst_write_key() Function to write out a key.
33 * int dst_key_to_dnskey() Function to return a public key in DNS
36 * int *dst_key_to_buffer() Writes out DST_KEY key matterial in buffer
37 * void dst_free_key() Releases all memory referenced by key structure
75 static int dst_s_write_public_key(const DST_KEY *key);
76 static int dst_s_write_private_key(const DST_KEY *key);
152 * This function allocates key structure and fills in some of the
155 * name: the name of the key
157 * flags: the dns flags of the key
158 * protocol: the dns protocol of the key
370 dst_write_key(const DST_KEY *key, const int type) argument
409 dst_s_write_private_key(const DST_KEY *key) argument
591 dst_s_write_public_key(const DST_KEY *key) argument
709 dst_key_to_dnskey(const DST_KEY *key, u_char *out_storage, const int out_len) argument
797 dst_key_to_buffer(DST_KEY *key, u_char *out_buff, int buf_len) argument
1040 dst_sig_size(DST_KEY *key) argument
[all...]
/haiku/src/apps/cortex/RouteApp/
H A DNodeSetIOContext.cpp60 const char* key) {
69 // already in set; does key match?
70 if(key &&
72 strcmp(key, (*it).first.String()) != 0) {
75 " found matching node with key '%s'!\n",
76 node, key, (*it).first.String()));
82 if(key)
83 m_nodes.push_back(node_entry(key, node));
158 const char* key,
161 if(!key || !*ke
58 addNode( media_node_id node, const char* key) argument
157 getNodeFor( const char* key, media_node_id* outNode) const argument
[all...]
/haiku/src/preferences/keymap/
H A DKeyboardLayoutView.cpp205 Key* key = _KeyAt(point); local
206 if (fKeymap == NULL || key == NULL) {
215 if (fEditable && !is_mappable_to_modifier(key->code)) {
217 // the key to. Currently we only add an option to remove the
218 // current key mapping.
222 message->AddUInt32("keyCode", key->code);
234 bool isLockKey = is_lock_key(key->code);
237 if (is_left_modifier_key(key->code) || isLockKey) {
240 map.left_shift_key, key->code);
242 if (key
371 Key* key = _KeyAt(fClickPoint); local
454 Key* key = _KeyAt(fClickPoint); local
513 Key* key = fLayout->KeyAt(i); local
581 Key* key = _KeyForCode(keyCode); local
616 Key* key = _KeyForCode(keyCode); local
709 _DrawKey(BView* view, BRect updateRect, const Key* key, BRect rect, bool pressed) argument
988 _GetAbbreviatedKeyLabelIfNeeded(BView* view, BRect rect, const Key* key, char* text, size_t textSize) argument
1018 _GetKeyLabel(const Key* key, char* text, size_t textSize, key_kind& keyKind) argument
1102 Key* key = fLayout->KeyAt(i); local
1119 _InvalidateKey(const Key* key) argument
1131 _HandleDeadKey(uint32 key, int32 modifiers) argument
1157 int32 key; local
1205 Key* key = fLayout->KeyAt(i); local
1234 _FrameFor(const Key* key) argument
1290 _SendKeyDown(const Key* key) argument
[all...]
/haiku/src/apps/cortex/Persistence/Wrappers/
H A DMediaFormatIO.cpp195 const char* key,
201 context.writeAttr(key, "B_RGB32");
204 context.writeAttr(key, "B_RGBA32");
207 context.writeAttr(key, "B_RGB24");
210 context.writeAttr(key, "B_RGB16");
213 context.writeAttr(key, "B_RGB15");
216 context.writeAttr(key, "B_RGBA15");
219 context.writeAttr(key, "B_CMAP8");
222 context.writeAttr(key, "B_GRAY8");
225 context.writeAttr(key, "B_GRAY
194 write_colorspace_attr( const char* key, color_space c, ExportContext& context) argument
982 import_raw_audio_attribute( media_raw_audio_format& f, const char* key, const char* value, ImportContext& context) argument
1012 import_multi_audio_info_attribute( media_multi_audio_info& f, const char* key, const char* value, ImportContext& context) argument
1026 import_raw_video_attribute( media_raw_video_format& f, const char* key, const char* value, ImportContext& context) argument
1052 import_video_display_info_attribute( media_video_display_info& d, const char* key, const char* value, ImportContext& context) argument
1073 import_multistream_attribute( media_multistream_format& f, const char* key, const char* value, ImportContext& context) argument
1105 import_multistream_flags_attribute( uint32& flags, const char* key, const char* value, ImportContext& context) argument
1122 import_multistream_vid_info_attribute( media_multistream_format::vid_info& f, const char* key, const char* value, ImportContext& context) argument
1158 import_multistream_avi_info_attribute( media_multistream_format::avi_info& f, const char* key, const char* value, ImportContext& context) argument
1172 import_encoded_audio_attribute( media_encoded_audio_format& f, const char* key, const char* value, ImportContext& context) argument
1188 import_encoded_video_attribute( media_encoded_video_format& f, const char* key, const char* value, ImportContext& context) argument
1240 xmlImportAttribute( const char* key, const char* value, ImportContext& context) argument
1350 xmlImportChildAttribute( const char* key, const char* value, ImportContext& context) argument
[all...]
/haiku/headers/private/shared/
H A DHashSet.h32 HashSetElement(const Key& key) argument
34 fKey(key),
50 size_t HashKey(const KeyType& key) const
51 { return key.GetHashCode(); }
54 bool Compare(const KeyType& key, const ValueType* value) const argument
55 { return value->fKey == key; }
124 status_t Add(const Key& key);
125 bool Remove(const Key& key);
128 bool Contains(const Key& key) const;
158 status_t Add(const Key& key) argument
166 Remove(const Key& key) argument
244 Add(const Key& key) argument
268 Remove(const Key& key) argument
[all...]

Completed in 162 milliseconds

1234567891011>>