/haiku/src/servers/app/font/ |
H A D | FontManager.cpp | 164 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);
|
H A D | FontCacheEntry.cpp | 52 size_t HashKey(uint32 key) const 54 return key; 62 bool Compare(uint32 key, GlyphCache* value) const argument 64 return value->glyph_index == key;
|
/haiku/headers/private/kernel/util/ |
H A D | VectorMap.h | 48 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/bin/ |
H A D | finddir.c | 20 const char *key; member in struct:__anon5 24 #define KEYVALUE_PAIR(key) {#key, key} 162 for (i = 0; directoryTypes[i].key; i++) { 163 printf("%s\n", directoryTypes[i].key); 169 retrieveDirValue(directoryType *list, const char *key, argument 174 while (list[i].key != NULL) { 175 if (strcmp(list[i].key, key) [all...] |
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 542 const struct vnode_hash_key *key = (vnode_hash_key *)_key; local 544 if (vnode->device == key->device && vnode->id == key->vnode) 555 const struct vnode_hash_key *key = (vnode_hash_key *)_key; local 562 return VHASH(key->device, key->vnode) % range; 748 struct vnode_hash_key key; local 750 key.device = mountID; 751 key.vnode = vnodeID; 753 return (vnode *)hash_lookup(sVnodeTable, &key); [all...] |
/haiku/src/kits/tracker/ |
H A D | ContainerWindow.cpp | 813 uint32 key = BUnicodeChar::FromUTF8(unmodified.ItemAt(i)); local 814 if (!HasShortcut(key, 0)) { 818 AddShortcut(key, B_COMMAND_KEY, increaseSize, PoseView()); 2501 // create relative links with the Shift key down. 2943 ((eachAddOn)(item->model, item->model->Name(), item->key,
|
H A D | FilePanelPriv.cpp | 128 uchar key; 129 if (message->FindInt8("byte", (int8*)&key) != B_OK) 135 if (modifier & B_COMMAND_KEY && key == B_UP_ARROW) { 140 if (modifier & B_COMMAND_KEY && key == 'w') { 145 if (!modifier && key == B_ESCAPE) { 156 if (key == B_RETURN && view->ActivePose()) {
|
H A D | TextWidget.cpp | 308 uchar key; local 309 if (message->FindInt8("byte", (int8*)&key) != B_OK) 321 if (key == B_RETURN || key == B_ESCAPE) { 322 view->CommitActivePose(key == B_RETURN); 326 if (key == B_TAB) {
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | AVFormatReader.cpp | 77 if (strcmp(entry->key, "TALB") == 0 || strcmp(entry->key, "TAL") == 0) 79 else if (strcmp(entry->key, "TCOM") == 0) 81 else if (strcmp(entry->key, "TCON") == 0 || strcmp(entry->key, "TCO") == 0) 83 else if (strcmp(entry->key, "TCOP") == 0) 85 else if (strcmp(entry->key, "TDRL") == 0 || strcmp(entry->key, "TDRC") == 0) 87 else if (strcmp(entry->key, "TENC") == 0 || strcmp(entry->key, "TE [all...] |
/haiku/src/preferences/screen/ |
H A D | ScreenMode.cpp | 383 const struct pnp_id key = { id, "dummy" }; local 385 const pnp_id* element = std::find(kPNPIDs, lastElement, key);
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Inode.cpp | 190 TRACE("Inode::FindBlock(%" B_PRIdINO ") key.Offset() %" B_PRId64 "\n", 264 TRACE("Inode::ReadAt(%" B_PRIdINO ") key.Offset() %" B_PRId64 "\n", ID(), 386 btrfs_key key; local 387 key.SetObjectID(fID); 388 key.SetType(BTRFS_KEY_TYPE_DIR_INDEX); 389 key.SetOffset(-1); 391 if (fVolume->FSTree()->FindPrevious(path, key, NULL)) 394 return key.Offset() + 1; 406 item.key.SetObjectID(fID); 407 item.key 427 btrfs_key key; local 521 btrfs_key key; local [all...] |
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 276 size_t HashKey(KeyType key) const 278 return VHASH(key.device, key.vnode); 288 bool Compare(KeyType key, ValueType* vnode) const argument 290 return vnode->device == key.device && vnode->id == key.vnode; 306 size_t HashKey(KeyType key) const 308 return key; 316 bool Compare(KeyType key, ValueType* mount) const argument 318 return mount->id == key; 870 struct vnode_hash_key key; local [all...] |
/haiku/src/apps/terminal/ |
H A D | TermWindow.cpp | 568 uint32 key = BUnicodeChar::FromUTF8(unmodified.ItemAt(i)); local 569 if (!HasShortcut(key, 0)) { 571 AddShortcut(key, B_COMMAND_KEY,
|
H A D | TermViewStates.cpp | 199 int32 key; local 207 currentMessage->FindInt32("key", &key); 212 // Handle the Option key when used as Meta 219 // Option key 228 bytes = &fView->fKeymapChars[(*keymapTable)[key]]; 280 // Terminal filters RET, ENTER, F1...F12, and ARROW key code. 294 // Translate only the actual backspace key to the backspace 397 if (key == function_keycode_table[i]) {
|
/haiku/src/apps/haikudepot/model/ |
H A D | Model.cpp | 730 BPasswordKey key; local 734 passwordIdentifier, key); 738 result = keyStore.RemoveKey(kHaikuDepotKeyring, key); 767 BPasswordKey key; local 772 passwordIdentifier, key) == B_OK) { 773 password = key.Password(); 802 // adding a key that is already there does not seem to override the 803 // existing key so the old key needs to be removed first. 811 BPasswordKey key(passwordClea [all...] |
/haiku/src/add-ons/kernel/network/stack/ |
H A D | stack.cpp | 108 size_t HashKey(KeyType key) const 110 return HASH(&key); 120 bool Compare(KeyType key, ValueType* chain) const argument 122 if (chain->family == key.family 123 && chain->type == key.type 124 && chain->protocol == key.protocol) 140 size_t HashKey(KeyType key) const 142 return key; 150 bool Compare(KeyType key, ValueType* family) const argument 152 return family->type == key; 336 struct chain_key key = { family, type, protocol }; local [all...] |
/haiku/src/system/kernel/platform/atari_m68k/ |
H A D | platform.cpp | 418 uint8 key = 0; local 425 key = special; 427 return key; 430 key = special2; 432 return key; 441 //kprintf("no key\n"); 446 key = in8(IKBD_BASE+IKBD_DATA); 448 kprintf("key: %02x, %sshift %scontrol %salt\n", 449 key, 455 if (key [all...] |
/haiku/src/apps/haikudepot/util/ |
H A D | AppUtils.cpp | 44 AppUtils::MarkItemWithKeyValueInMenuOrFirst(BMenu* menu, const BString& key, const BString& value) argument 46 status_t result = AppUtils::MarkItemWithKeyValueInMenu(menu, key, value); 54 AppUtils::MarkItemWithKeyValueInMenu(BMenu* menu, const BString& key, const BString& value) argument 59 int32 index = AppUtils::IndexOfKeyValueInMenu(menu, key, value); 62 HDINFO("unable to find the menu item with [%s] = [%s]", key.String(), value.String()); 72 AppUtils::IndexOfKeyValueInMenu(BMenu* menu, const BString& key, const BString& value) argument 76 if (AppUtils::GetValueForKeyAtIndexInMenu(menu, i, key, &itemCode) == B_OK) { 87 AppUtils::GetValueForKeyAtIndexInMenu(BMenu* menu, int32 index, const BString& key, BString* result) argument 92 return itemMessage->FindString(key, result);
|
H A D | AppUtils.h | 21 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/apps/haikudepot/ui/ |
H A D | RatePackageWindow.cpp | 313 int8 key; local 315 if ((message->FindInt8("byte", &key) == B_OK) 316 && key == B_ESCAPE) {
|
/haiku/src/apps/deskcalc/ |
H A D | CalcView.cpp | 386 int32 key; local 387 if (message->FindInt32("key", &key) == B_OK) 388 _FlashKey(key, 0); 550 CalcKey* key = fKeypad; local 568 if (key->flags != 0) 578 be_control_look->DrawLabel(this, key->label, frame, updateRect, 582 key++; 637 // process key press 638 int key local 975 int32 key = _KeyForLabel(temp.String()); local 1214 CalcKey* key = fKeypad; local 1248 _PressKey(int key) argument 1323 int32 key = _KeyForLabel(label); local 1343 _FlashKey(int32 key, uint32 flashFlags) argument [all...] |
H A D | CalcView.h | 82 // Flash the key on the keypad 85 // Toggle whether or not the Num Lock key starts on 100 void _PressKey(int key); 103 void _FlashKey(int32 key, uint32 flashFlags);
|
/haiku/src/apps/deskbar/ |
H A D | Switcher.cpp | 114 void DoKey(uint32 key, uint32 modifiers); 269 IsKeyDown(int32 key) argument 274 return (keyInfo.key_states[key >> 3] & (1 << ((7 - key) & 7))) != 0; 590 int32 key = 0; local 591 message->FindInt32("key", &key); 593 Process((modifiers & B_SHIFT_KEY) == 0, key == 0x11); 672 int32 key; local 673 message->FindInt32("key", (int3 771 int32 key = 0; local 1727 DoKey(uint32 key, uint32 modifiers) argument [all...] |
/haiku/src/add-ons/kernel/network/protocols/tcp/ |
H A D | EndpointManager.cpp | 145 ConnectionHashDefinition::HashKey(const KeyType& key) const 148 key.first).HashPair(key.second); 160 ConnectionHashDefinition::Compare(const KeyType& key, argument 163 return endpoint->LocalAddress().EqualTo(key.first, true) 164 && endpoint->PeerAddress().EqualTo(key.second, true);
|
H A D | EndpointManager.h | 44 size_t HashKey(const KeyType& key) const; 46 bool Compare(const KeyType& key,
|