Searched refs:keys (Results 1 - 22 of 22) sorted by relevance

/haiku/src/system/libroot/posix/musl/misc/
H A Dgetsubopt.c4 int getsubopt(char **opt, char *const *keys, char **val) argument
14 for (i=0; keys[i]; i++) {
15 size_t l = strlen(keys[i]);
16 if (strncmp(keys[i], s, l)) continue;
/haiku/src/tests/system/libroot/posix/
H A Dgetsubopt_test.cpp15 char* const keys[] = { local
21 int result = getsubopt(&option, keys, &value);
26 result = getsubopt(&option, keys, &value);
31 result = getsubopt(&option, keys, &value);
/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeymap.cpp82 // Caps, Caps+shift, Caps+option, and Caps+option+shift keys.
106 key_map* keys; local
107 _get_key_map(&keys, &fChars, (ssize_t*)&fCharsSize);
108 if (!keys) {
113 memcpy(&fKeys, keys, sizeof(fKeys));
114 free(keys);
/haiku/3rdparty/kallisti5/
H A DlicenseReport.rb30 license = entry.keys.first
/haiku/src/add-ons/input_server/filters/shortcut_catcher/
H A DKeyInfos.cpp33 // This is a table of keys-codes that have special, hard-coded labels.
126 char* keys; local
127 get_key_map(&map, &keys);
129 if (map == NULL || keys == NULL)
140 const char* mapDesc = &keys[keyCode];
165 free(keys);
H A DCommandActuators.cpp660 char* keys; local
661 get_key_map(&map, &keys);
680 int32 key = _LookupKeyCode(map, keys, map->normal_map, next,
683 key = _LookupKeyCode(map, keys, map->shift_map, next, states,
688 key = _LookupKeyCode(map, keys, map->caps_map, next, states,
693 key = _LookupKeyCode(map, keys, map->caps_shift_map, next,
699 key = _LookupKeyCode(map, keys, map->option_map, next, states,
704 key = _LookupKeyCode(map, keys, map->option_shift_map, next,
710 key = _LookupKeyCode(map, keys, map->option_caps_map, next,
716 key = _LookupKeyCode(map, keys, ma
801 _LookupKeyCode(key_map* map, char* keys, int32 offsets[128], char c, uint8* setStates, int32& setModifier, int32 setTo) const argument
[all...]
H A DCommandActuators.h125 int32 _LookupKeyCode(key_map* map, char* keys,
/haiku/src/system/libroot/stubbed/
H A Dgenerate_stubs.py58 for symbol in sorted(versionedDataSymbolsByName.keys()):
66 for symbol in sorted(versionedFunctionSymbolsByName.keys()):
/haiku/src/bin/unzip/
H A Dcrypt.c99 local ulg keys[3]; /* keys defining the pseudo-random sequence */ variable
126 temp = ((unsigned)GLOBAL(keys[2]) & 0xffff) | 2;
131 * Update the encryption keys with the next byte of plain text
137 GLOBAL(keys[0]) = CRC32(GLOBAL(keys[0]), c); variable
138 GLOBAL(keys[1]) += GLOBAL(keys[0]) & 0xff;
139 GLOBAL(keys[1]) = GLOBAL(keys[ variable
142 GLOBAL(keys[2]) = CRC32(GLOBAL(keys[2]), keyshift); variable
156 GLOBAL(keys[0]) = 305419896L; variable
157 GLOBAL(keys[1]) = 591751049L; variable
158 GLOBAL(keys[2]) = 878082192L; variable
[all...]
H A Dcryptf.c102 local ulg keys[3]; /* keys defining the pseudo-random sequence */ variable
129 temp = ((unsigned)GLOBAL(keys[2]) & 0xffff) | 2;
134 * Update the encryption keys with the next byte of plain text
140 GLOBAL(keys[0]) = CRC32(GLOBAL(keys[0]), c); variable
141 GLOBAL(keys[1]) += GLOBAL(keys[0]) & 0xff;
142 GLOBAL(keys[1]) = GLOBAL(keys[ variable
145 GLOBAL(keys[2]) = CRC32(GLOBAL(keys[2]), keyshift); variable
159 GLOBAL(keys[0]) = 305419896L; variable
160 GLOBAL(keys[1]) = 591751049L; variable
161 GLOBAL(keys[2]) = 878082192L; variable
[all...]
H A Dglobals.h296 ulg keys[3]; /* crypt static: keys defining pseudo-random sequence */ member in struct:Globals
/haiku/src/add-ons/input_server/devices/virtio/
H A DVirtioInputDevice.cpp392 SetBitTo(fNewState.keys[pkt.code / 8], pkt.code % 8,
407 return key < 256 && IsBitSet(state.keys[key / 8], key % 8);
551 msg->AddData("states", B_UINT8_TYPE, fNewState.keys, 16);
566 diff[i] = fState.keys[i] ^ fNewState.keys[i];
577 msg->AddData("states", B_UINT8_TYPE, fNewState.keys, 16);
592 if (fNewState.keys[i / 8] & (1 << (i % 8))) {
612 fState.keys[j] = fNewState.keys[j];
H A DVirtioInputDevice.h21 uint8 keys[256 / 8]; member in struct:KeyboardState
/haiku/src/bin/bfs_tools/lib/
H A DBPlusTree.cpp659 uint8 *keys = node->Keys(); local
681 // move keys and copy new key into them
684 memmove(keys + newKeyLengths[index],keys + newKeyLengths[index] - keyLength,size);
686 memcpy(keys + keyStart,key,keyLength);
694 // /* handle dup keys */
741 // how many keys will fit in one (half) page?
767 // we have found the number of keys in the new node!
772 // if the new key was not inserted, set the length of the keys
780 //printf("put %ld keys i
790 int32 keys = out > keyIndex ? keyIndex : out; local
[all...]
/haiku/src/kits/shared/
H A DKeymap.cpp120 key_map* keys = NULL; local
124 _get_key_map(&keys, &fChars, &charsSize);
125 if (!keys)
128 memcpy(&fKeys, keys, sizeof(fKeys));
129 free(keys);
277 out via isEnabled (isEnabled is not touched for non-dead keys).
/haiku/src/apps/terminal/
H A DTermApp.cpp361 const char * keys[kANSIColorCount] = { local
383 *color++ = handler->getRGB(keys[i]);
H A DTermWindow.cpp1236 const char * keys[kANSIColorCount] = { local
1256 termView->SetTermColor(i, handler->getRGB(keys[i]), false);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_cam.c152 /* all slots for pairwise keys. */
160 /* first 4 - for group keys, others for pairwise. */
180 /* XXX check and remove keys with the same MAC address */
282 const struct ieee80211_key *k = rvp->keys[i];
338 rvp->keys[k->wk_keyix] = (set ? k : NULL);
H A Dif_rtwnvar.h121 const struct ieee80211_key *keys[IEEE80211_WEP_NKID]; member in struct:rtwn_vap
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp1374 uint8* keys = node->Keys(); local
1402 // move keys and copy new key into them
1406 memmove(keys + length, keys + length - keyLength, size);
1408 memcpy(keys + keyStart, key, keyLength);
1431 FATAL(("key index out of bounds: %d, num keys: %u, inode %" B_PRIdOFF
1436 // How many keys will fit in one (half) page?
1465 // we have found the number of keys in the new node!
1470 // if the new key was not inserted, set the length of the keys
1489 int32 keys local
2062 uint8* keys = node->Keys(); local
[all...]
/haiku/src/apps/deskcalc/
H A DCalcView.cpp654 int keys = fRows * fColumns; local
655 for (int i = 0; i < keys; i++) {
705 int keys = fRows * fColumns; local
706 for (int i = 0; i < keys; i++) {
1332 int keys = fRows * fColumns; local
1333 for (int i = 0; i < keys; i++) {
/haiku/src/bin/keymap/
H A DKeymap.cpp181 dump_keys(FILE* file, const char* name, int32* keys) argument
188 fprintf(file, "0x%04" B_PRIx32 ",%s", keys[i * 8 + j],
638 // version, default lock settings, modifier keys
672 // dead keys

Completed in 115 milliseconds