Searched refs:key (Results 151 - 175 of 570) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DDirectoryEntryTable.h26 size_t HashKey(KeyType key) const
28 return node_child_hash(key.id, key.name);
36 bool Compare(KeyType key, ValueType* value) const argument
38 return (value->GetParent()->GetID() == key.id
39 && !strcmp(value->GetName(), key.name));
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DIndex.cpp61 Index::Find(const void* key, size_t length, IndexIterator& iterator) argument
64 = key != NULL ? InternalFind(key, length) : NULL;
/haiku/src/bin/screen_blanker/
H A DScreenSaverWindow.cpp48 // we ignore the Print-Screen key to make screen shots of
50 int32 key; local
51 if (message->FindInt32("key", &key) == B_OK && key == 0xe)
66 // Handle the escape key when the password window is showing
/haiku/src/apps/mediaplayer/
H A DNetworkStreamWin.cpp91 int8 key; local
92 if (message->FindInt8("byte", &key) == B_OK
93 && key == B_ENTER) {
/haiku/src/tools/locale/
H A DDefaultCatalog.cpp123 DefaultCatalog::SetRawString(const CatKey& key, const char *translated) argument
125 return fCatMap.Put(key, translated);
293 res = archive.AddString("c:ostr", entry.key.fString.String());
295 res = archive.AddString("c:ctxt", entry.key.fContext.String());
297 res = archive.AddString("c:comt", entry.key.fComment.String());
299 res = archive.AddInt32("c:hash", entry.key.fHashVal);
344 CatKey key; local
362 res = archiveMsg.FindInt32("c:hash", (int32*)&key.fHashVal);
366 key.fString = keyStr;
367 key
[all...]
/haiku/src/kits/debugger/util/
H A DWorker.cpp123 Job::WaitFor(const JobKey& key) argument
125 return fWorker->WaitForJob(this, key);
335 Worker::AbortJob(const JobKey& key) argument
339 Job* job = fJobs.Lookup(key);
348 Worker::GetJob(const JobKey& key) argument
351 return fJobs.Lookup(key);
383 Worker::AddListener(const JobKey& key, JobListener* listener) argument
387 Job* job = fJobs.Lookup(key);
396 Worker::RemoveListener(const JobKey& key, JobListener* listener) argument
400 if (Job* job = fJobs.Lookup(key))
406 WaitForJob(Job* waitingJob, const JobKey& key) argument
[all...]
/haiku/src/system/boot/platform/openfirmware/
H A Dstart.cpp145 // check for key presses once
147 int key = console_check_for_key(); local
148 if (key == 32) {
151 } else if (key == 27) {
/haiku/headers/private/kernel/posix/
H A Dxsi_semaphore.h30 int _user_xsi_semget(key_t key, int numberOfSemaphores, int flags);
/haiku/src/apps/mediaplayer/support/
H A DCommand.cpp85 Command::_GetString(uint32 key, const char* defaultString) const argument
88 // return manager->GetString(key, defaultString);
H A DCommand.h35 const char* _GetString(uint32 key,
/haiku/src/tests/kits/opengl/glsl/
H A Dbrick.c92 Key(unsigned char key, int x, int y) argument
97 switch(key) {
114 SpecialKey(int key, int x, int y) argument
121 switch(key) {
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DTransaction.h89 size_t HashKey(uint64 key) const
91 return (size_t)key;
99 bool Compare(uint64 key, const BlockInfo* value) const argument
101 return value->indexAndCheckSum.blockIndex == key;
/haiku/src/preferences/keymap/
H A DKeyboardLayout.h31 // this is the width of the second row of a kEnterKeyShape key
81 void _AddAlternateKeyCode(Key* key, int32 modifier,
83 bool _AddKey(const Key& key);
91 BPoint& rowLeftTop, Key& key, const char* data,
96 const char* data, Key& key);
/haiku/src/apps/cortex/RouteApp/
H A Droute_app_io.cpp144 // fills in either key or outName/kind for the provided
146 // an appropriate 'preset' key value will be returned.
191 // check context for a key (found if the node has already
193 const char* key; local
194 err = context->getKeyFor(node, &key);
196 outKey = key;
244 // given a key, looks for a system-default node
247 const char* key,
251 if(!strcmp(key, _AUDIO_INPUT_KEY)) {
258 else if(!strcmp(key, _AUDIO_OUTPUT_KE
246 _match_system_node_key( const char* key, const NodeManager* manager, media_node_id* outNode) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/package/
H A DCachedDataReader.h93 size_t HashKey(off_t key) const
95 return size_t(key / kCacheLineSize);
103 bool Compare(off_t key, const CacheLineLocker* value) const argument
105 return value->Offset() == key;
/haiku/src/kits/debugger/model/
H A DStackFrameValues.cpp62 size_t HashKey(const Key& key) const
64 return key.HashValue();
72 bool Compare(const Key& key, const ValueEntry* value) const argument
74 return key == *value;
/haiku/3rdparty/kallisti5/
H A Dconfigure.py88 # Get a config key
89 def get_build_config(key):
92 if i["key"] == key:
96 # Delete a config key
97 def drop_build_config(key):
99 value = get_build_config(key)
101 buildConfig.remove({"key": key, "value": value})
103 # Set a config key
[all...]
/haiku/3rdparty/mmu_man/scripts/
H A DQuickConfig.sh15 trash $hostKeyDir/ssh_host_*key*
/haiku/src/system/kernel/
H A DTeamThreadTables.h150 size_t HashKey(id_type key) const
152 return key;
160 bool Compare(id_type key, Element* value) const argument
162 return value->id == key;
/haiku/src/system/boot/platform/u-boot/
H A Dconsole.cpp159 union key key; local
160 key.ax = serial_getc(true);
161 return key.code.ascii;
/haiku/src/apps/icon-o-matic/generic/gui/stateview/
H A DStateView.h56 bool HandleKeyDown(uint32 key, uint32 modifiers);
57 bool HandleKeyUp(uint32 key, uint32 modifiers);
82 virtual bool _HandleKeyDown(uint32 key, uint32 modifiers);
83 virtual bool _HandleKeyUp(uint32 key, uint32 modifiers);
/haiku/src/kits/debugger/dwarf/
H A DAbbreviationTable.h79 size_t HashKey(uint32 key) const
81 return (size_t)key;
89 bool Compare(uint32 key, AbbreviationTableEntry* value) const argument
91 return value->code == key;
/haiku/src/servers/app/font/
H A DFontManager.cpp164 FontKey key(familyID, 0);
165 FontStyle* style = fStyleHashTable.Get(key);
206 FontKey key(familyID, styleID);
207 FontStyle* style = fStyleHashTable.Get(key);
211 return fDelistedStyleHashTable.Get(key);
349 FontKey key(familyID, styleID);
350 FontStyle* style = fStyleHashTable.Get(key);
352 fDelistedStyleHashTable.Put(key, style);
356 fStyleHashTable.Remove(key);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A Dtest.cpp33 struct key { struct
41 key* gKeys;
57 void bailOutWithKey(void* key, uint16 length);
59 void dumpKey(void* key, int32 length);
96 bailOutWithKey(void* key, uint16 length) argument
98 dumpKey(key, length);
105 dumpKey(void* key, int32 length) argument
109 printf("\"%s\" (%ld bytes)", (char*)key, length);
112 printf("%ld", *(int32*)key);
115 printf("%lu", *(uint32*)key);
329 char key[B_FILE_NAME_LENGTH]; local
[all...]
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DKeyboardProtocolHandler.cpp259 // a consumer/button usage that is handled like a key
377 // this case is for handling key repeats, it means no
379 // any new key events, but a repeated key down is due
402 // we wrote the current repeat key
479 KeyboardProtocolHandler::_WriteKey(uint32 key, bool down) argument
482 info.keycode = key;
520 // we expect timeouts as we do repeat key handling this way,
545 HIDReportItem *key = fKeys[i]; local
546 if (key
778 uint32 key = 0; local
[all...]

Completed in 154 milliseconds

1234567891011>>