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

1234567891011>>

/haiku-fatelf/src/system/boot/platform/amiga_m68k/
H A Dkeyboard.cpp29 extern "C" union key
33 union key key; local
35 return key;
42 union key key; local
45 while ((key.d0 = check_for_key()) != 0) {
46 switch (key.code.ascii) {
/haiku-fatelf/src/system/boot/platform/u-boot/
H A Dkeyboard.cpp31 extern "C" union key
34 union key key; local
35 key.ax=0;
36 return key;
/haiku-fatelf/src/libs/posix_error_mapper/
H A Dpthread_specific.cpp12 (pthread_key_t *key, void (*destructorFunc)(void*)),
13 return B_TO_POSITIVE_ERROR(sReal_pthread_key_create(key, destructorFunc));
17 WRAPPER_FUNCTION(int, pthread_key_delete, (pthread_key_t key),
18 return B_TO_POSITIVE_ERROR(sReal_pthread_key_delete(key));
23 (pthread_key_t key, const void *value),
24 return B_TO_POSITIVE_ERROR(sReal_pthread_setspecific(key, value));
/haiku-fatelf/src/system/boot/platform/atari_m68k/
H A Dkeyboard.cpp17 union key k;
34 extern "C" union key
37 union key key; local
38 key.d0 = Bconin(DEV_CON);
40 return key;
47 union key key; local
50 while ((key.d0 = check_for_key()) != 0) {
51 switch (key
[all...]
/haiku-fatelf/src/libs/libtelnet/
H A Dencrypt.h73 #define VALIDKEY(key) ( key[0] | key[1] | key[2] | key[3] | \
74 key[4] | key[5] | key[6] | key[7])
/haiku-fatelf/src/system/libroot/posix/pthread/
H A Dpthread_key.cpp17 /*! Retrieves the destructor of a key locklessly.
21 get_key_destructor(uint32 key, int32& sequence) argument
26 sequence = sKeyTable[key].sequence;
30 destructor = sKeyTable[key].destructor;
31 } while (sKeyTable[key].sequence != sequence);
37 /*! Function to get the thread specific value of a key in a lockless
39 \a sequence must be the sequence of the key table that this value
43 get_key_value(pthread_thread* thread, uint32 key, int32 sequence) argument
45 pthread_key_data& keyData = thread->specific[key];
64 for (uint32 key
104 pthread_key_delete(pthread_key_t key) argument
119 pthread_getspecific(pthread_key_t key) argument
137 pthread_setspecific(pthread_key_t key, const void* value) argument
[all...]
/haiku-fatelf/src/system/boot/platform/raspberrypi_arm/
H A Dkeyboard.cpp29 extern "C" union key
33 union key key; local
34 return key;
H A Dkeyboard.h12 union key { union
26 extern union key wait_for_key(void);
/haiku-fatelf/src/system/boot/platform/routerboard_mipsel/
H A Dkeyboard.cpp29 extern "C" union key
33 union key key; local
34 return key;
H A Dkeyboard.h12 union key { union
26 extern union key wait_for_key(void);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_getspecific/
H A D3-1.c10 * It shall return the thread-specific data value associated with the given 'key'. If no
11 * thread-specific data value is associated with 'key, then the value NULL shall be returned.
15 * 1. Create pthread_key_t object and do no specify a key accociated with this key
28 pthread_key_t key; local
31 if(pthread_key_create(&key, NULL) != 0)
37 rc = pthread_getspecific(key);
44 if(pthread_key_delete(key) != 0)
/haiku-fatelf/src/bin/coreutils/lib/glthread/
H A Dtls.c44 glthread_tls_get_multithreaded (thread_key_t key) argument
48 if (thr_getspecific (key, &value) != 0)
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_create/
H A D2-1.c10 * Upon key creation, the value NULL shall be associated with the new key in all active threads.
15 * 1. Create a key
29 pthread_key_t key; local
32 /* Verify that the value associated with "key" in a new thread is NULL */
33 rc = pthread_getspecific(key);
40 if(pthread_key_create(&key, NULL) != 0)
46 /* Verify that the value associated with "key" after it is newly created is
48 rc = pthread_getspecific(key);
/haiku-fatelf/src/apps/terminal/
H A DPrefHandler.h22 const char *key; member in struct:pref_defaults
47 int32 getInt32(const char *key);
48 float getFloat(const char *key);
49 const char* getString(const char *key);
50 bool getBool(const char *key);
51 rgb_color getRGB(const char *key);
53 void setInt32(const char *key, int32 data);
54 void setFloat(const char *key, float data);
55 void setString(const char *key, const char *data);
56 void setBool(const char *key, boo
[all...]
H A DPrefHandler.cpp181 const char *key; local
185 fContainer.GetInfo(B_STRING_TYPE, i, &key, &type) == B_OK;
187 fContainer.GetInfo(B_STRING_TYPE, i, (char**)&key, &type) == B_OK;
190 int len = snprintf(buffer, sizeof(buffer), "\"%s\" , \"%s\"\n", key, getString(key));
203 PrefHandler::getInt32(const char *key) argument
205 const char *value = fContainer.FindString(key);
214 PrefHandler::getFloat(const char *key) argument
216 const char *value = fContainer.FindString(key);
227 PrefHandler::getString(const char *key) argument
239 getBool(const char *key) argument
255 getRGB(const char *key) argument
279 setInt32(const char *key, int32 data) argument
290 setFloat(const char *key, float data) argument
301 setBool(const char *key, bool data) argument
313 setString(const char *key, const char *data) argument
324 setRGB(const char *key, const rgb_color data) argument
342 _ConfirmFont(const char *key, const BFont *fallback) argument
391 char key[B_FIELD_NAME_LENGTH], data[512]; local
[all...]
/haiku-fatelf/src/libs/fluidsynth/src/
H A Dfluid_hash.h30 * - only string as key
41 typedef int (*fluid_hash_iter_t)(char* key, void* value, int type, void* data);
47 void fluid_hashtable_insert(fluid_hashtable_t *hash_table, char* key, void* value, int type);
49 void fluid_hashtable_replace(fluid_hashtable_t *hash_table, char* key, void* value, int type);
52 int fluid_hashtable_lookup(fluid_hashtable_t *hash_table, char* key, void** value, int* type);
55 int fluid_hashtable_remove(fluid_hashtable_t *hash_table, char* key);
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DHashtable.h26 bool ContainsKey(const void *key);
27 void *GetValue(const void *key);
29 bool Put(const void *key, void *value);
30 void *Remove(const void *key);
43 : next(_next), key(_key), value(_value) {}
46 const void *key; member in class:Hashtable::Entry
51 Entry *GetHashEntry(const void *key);
/haiku-fatelf/src/bin/network/wget/src/
H A Dhash.c72 retrieved by providing the key. Fast lookup tables are typically
78 hash_table_put -- establishes or updates key->value mapping.
79 hash_table_get -- retrieves value of key.
80 hash_table_get_pair -- get key/value pair for key.
81 hash_table_contains -- test whether the table contains key.
82 hash_table_remove -- remove key->value mapping for given key.
100 "hash" and "test". The hash function transforms the key into an
116 The above means that all the cells (each cell containing a key an
149 void *key; member in struct:cell
320 find_cell(const struct hash_table *ht, const void *key) argument
341 hash_table_get(const struct hash_table *ht, const void *key) argument
373 hash_table_contains(const struct hash_table *ht, const void *key) argument
426 hash_table_put(struct hash_table *ht, const void *key, void *value) argument
455 hash_table_remove(struct hash_table *ht, const void *key) argument
530 void *key; local
642 hash_string(const void *key) argument
680 hash_string_nocase(const void *key) argument
720 uintptr_t key = (uintptr_t) ptr; local
[all...]
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dgather-docs78 $key = $name;
79 $key =~ tr/A-Z/a-z/;
80 $key =~ s/[^a-z0-9]+/ /g;
81 $name{$key} = $node;
82 $lines{$key} = '';
83 $src_file{$key} = $in;
84 $src_line{$key} = $line;
88 $node_lines{$key} .= $_;
91 $node_lines{$key} .= $_;
115 for $key (sor
[all...]
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto.c57 * Default "null" key management routines.
66 * Not in the global key table, the driver should handle this
67 * by allocating a slot in the h/w key table/cache. In
68 * lieu of that return key slot 0 for any unicast key
69 * request. We disallow the request if this is a group key.
71 * with a 4 key table. It also handles devices that pass
73 * and key index 0.
77 *keyix = 0; /* NB: use key index 0 for ucast key */
101 cipher_detach(struct ieee80211_key *key) argument
107 cipher_attach(struct ieee80211vap *vap, struct ieee80211_key *key) argument
116 dev_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *key, ieee80211_keyix *keyix, ieee80211_keyix *rxkeyix) argument
124 dev_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *key) argument
131 dev_key_set(struct ieee80211vap *vap, const struct ieee80211_key *key) argument
271 ieee80211_crypto_newkey(struct ieee80211vap *vap, int cipher, int flags, struct ieee80211_key *key) argument
430 _ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument
464 ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument
496 ieee80211_crypto_setkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/foomatic/
H A Dmk_printerlist.in20 my ($junk, $key, $id) = split;
22 my ($string) = sprintf("%-30s %-15s %s\n", $printer_list{$id}, $key,
23 $printer_name{$key});
/haiku-fatelf/src/system/boot/platform/bios_ia32/
H A Dkeyboard.cpp23 // the zero flag is set when there is no key stroke waiting for us
27 // remove the key from the buffer
43 extern "C" union key
46 union key key; local
48 key.ax = check_for_key();
49 } while (key.ax == 0);
51 return key;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_setspecific/
H A D1-2.c10 * shall acssociate a thread-specific value with a key obtained via a previouse call to
11 * pthread_key_create. Different threads may bind different values to the same key.
12 * Calling pthread_setspecific with a key value not obtiained from pthread_key_create of after
13 * the key has been deleted with pthread_key_delete is undefined.
16 * 1. Create a key
17 * 2. Bind a value from the main thread to this key
18 * 3. Create a thread and bind another value to this key
19 * 4. Compare the values bound to the key between the main thread and the newly created thread,
33 pthread_key_t key; variable
39 /* Bind a value to key fo
[all...]
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dvi_mode.c152 _rl_vi_set_last (key, repeat, sign)
153 int key, repeat, sign;
155 _rl_vi_last_command = key;
163 rl_vi_start_inserting (key, repeat, sign)
164 int key, repeat, sign;
166 _rl_vi_set_last (key, repeat, sign);
167 rl_vi_insertion_mode (1, key);
250 rl_vi_undo (count, key)
251 int count, key;
253 return (rl_undo_command (count, key));
1021 int key; local
[all...]
/haiku-fatelf/src/apps/text_search/
H A DChangesIterator.cpp65 sprintf(buffer, "%s", entry.key.GetString());
88 HashString key(path);
89 if (fPathMap.ContainsKey(key))
94 fPathMap.Put(key, ENTRY_ADDED);
101 HashString key(path);
102 if (fPathMap.ContainsKey(key)) {
104 fPathMap.Remove(key);
112 HashString key(path);
113 if (fPathMap.ContainsKey(key) && fPathMap.Get(key)
[all...]

Completed in 169 milliseconds

1234567891011>>