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

1234567891011>>

/haiku/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/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/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/src/system/libroot/posix/libstdthreads/
H A Dtss.c38 tss_create(tss_t *key, tss_dtor_t dtor) argument
41 if (pthread_key_create(key, dtor) != 0)
47 tss_delete(tss_t key) argument
50 (void)pthread_key_delete(key);
54 tss_get(tss_t key) argument
57 return (pthread_getspecific(key));
61 tss_set(tss_t key, void *val) argument
64 if (pthread_setspecific(key, val) != 0)
/haiku/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/src/system/boot/platform/next_m68k/
H A Dkeyboard.cpp17 union key k;
32 extern "C" union key
35 union key key; local
36 key.d0 = mg->mg_getc();
38 return key;
45 union key key; local
48 while ((key.d0 = check_for_key()) != 0) {
49 switch (key
[all...]
/haiku/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/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];
66 for (uint32 key
106 pthread_key_delete(pthread_key_t key) argument
121 pthread_getspecific(pthread_key_t key) argument
139 pthread_setspecific(pthread_key_t key, const void* value) argument
[all...]
/haiku/src/system/libroot/posix/musl/search/
H A Dtfind.c4 void *tfind(const void *key, void *const *rootp, argument
16 int c = cmp(key, n->key);
H A Dtsearch.h8 const void *key; member in struct:node
H A Dlsearch.c4 void *lsearch(const void *key, void *base, size_t *nelp, size_t width, argument
12 if (compar(key, p[i]) == 0)
15 return memcpy(p[n], key, width);
18 void *lfind(const void *key, const void *base, size_t *nelp, argument
26 if (compar(key, p[i]) == 0)
/haiku/src/apps/terminal/
H A DPrefHandler.h30 const char *key; member in struct:pref_defaults
60 int32 getInt32(const char *key);
61 float getFloat(const char *key);
62 const char* getString(const char *key);
63 bool getBool(const char *key);
64 rgb_color getRGB(const char *key);
65 int getCursor(const char *key);
67 void setInt32(const char *key, int32 data);
68 void setFloat(const char *key, float data);
69 void setString(const char *key, cons
[all...]
/haiku/headers/compatibility/gnu/
H A Dcrypt.h28 char *crypt_rn(const char *key, const char *salt, struct crypt_data *data, size_t size);
32 crypt_r(const char *key, const char *salt, struct crypt_data *data) argument
34 return crypt_rn(key, salt, data, sizeof(struct crypt_data));
/haiku/src/libs/gnu/
H A Dcrypt.cpp9 extern "C" char *_crypt_rn(const char* key, const char* setting, struct crypt_data* data, size_t size);
13 crypt_rn(const char* key, const char* setting, struct crypt_data* data, size_t size) argument
15 return _crypt_rn(key, setting, data, size);
/haiku/src/bin/bfs_tools/lib/
H A DHashtable.h27 bool ContainsKey(const void *key);
28 void *GetValue(const void *key);
30 bool Put(const void *key, void *value);
31 void *Remove(const void *key);
44 : next(_next), key(_key), value(_value) {}
47 const void *key; member in class:Hashtable::Entry
52 Entry *GetHashEntry(const void *key);
H A DBPlusTree.h121 status_t GetNextEntry(void *key,uint16 *keyLength,uint16 maxLength,off_t *value);
122 status_t GetPreviousEntry(void *key,uint16 *keyLength,uint16 maxLength,off_t *value);
124 status_t Insert(uint8 *key, uint16 keyLength, off_t value);
126 status_t Insert(const char *key, off_t value);
127 status_t Insert(int32 key, off_t value);
128 status_t Insert(uint32 key, off_t value);
129 status_t Insert(int64 key, off_t value);
130 status_t Insert(uint64 key, off_t value);
131 status_t Insert(float key, off_t value);
132 status_t Insert(double key, off_
190 GetNextEntry(void *key,uint16 *keyLength,uint16 maxLength,off_t *value) argument
195 GetPreviousEntry(void *key,uint16 *keyLength,uint16 maxLength,off_t *value) argument
200 Insert(const char *key,off_t value) argument
207 Insert(int32 key, off_t value) argument
214 Insert(uint32 key, off_t value) argument
221 Insert(int64 key, off_t value) argument
228 Insert(uint64 key, off_t value) argument
235 Insert(float key, off_t value) argument
242 Insert(double key, off_t value) argument
[all...]
/haiku/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/headers/posix/
H A Dsearch.h18 char *key; member in struct:entry
38 extern void *lfind(const void *key, const void *base, size_t *_elementCount,
40 extern void *lsearch(const void *key, void *base, size_t *_elementCount,
43 extern void *tdelete(const void *key, void **_root,
45 extern void *tfind(const void *key, void *const *root,
47 extern void *tsearch(const void *key, void **_root,
/haiku/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...]
/haiku/headers/os/app/
H A DKeyStore.h18 BKey& key);
20 const char* secondaryIdentifier, BKey& key);
24 BKey& key);
28 BKey& key);
31 const char* secondaryIdentifier, BKey& key);
36 BKey& key);
38 status_t AddKey(const BKey& key);
39 status_t AddKey(const char* keyring, const BKey& key);
40 status_t RemoveKey(const BKey& key);
41 status_t RemoveKey(const char* keyring, const BKey& key);
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DStringPool.h71 static StringData* _GetLocked(const StringDataKey& key);
83 static StringData* Create(const StringDataKey& key) argument
85 void* data = malloc(sizeof(StringData) + key.Length());
89 return new(data) StringData(key);
141 StringData(const StringDataKey& key) argument
144 fHash(key.Hash())
146 memcpy(fString, key.String(), key.Length());
147 fString[key.Length()] = '\0';
168 size_t HashKey(const StringDataKey& key) cons
178 Compare(const StringDataKey& key, const StringData* value) const argument
[all...]
/haiku/src/apps/haikudepot/util/
H A DAppUtils.h21 const BString& key, const BString& value);
23 const BString& key, const BString& value);
25 const BString& key, const BString& value);
27 const BString& key, BString* result);
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/
H A Dmd5.h48 const unsigned char* key, int key_len);
51 const unsigned char* key, int key_len);
/haiku/src/apps/debuganalyzer/gui/
H A DSubWindowManager.h26 SubWindow* LookupSubWindow(const SubWindowKey& key) const;
36 size_t HashKey(const SubWindowKey& key) const
38 return key.HashCode();
46 bool Compare(const SubWindowKey& key, argument
49 return key.Equals(value->GetSubWindowKey());
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPDriver.h32 const char* key);
34 const char* key);
36 const char* key);
38 const char* key);
40 const char* key);

Completed in 235 milliseconds

1234567891011>>