Home
last modified time | relevance | path

Searched refs:fChars (Results 1 – 9 of 9) sorted by relevance

/haiku/src/kits/shared/
H A DKeymap.cpp49 fChars(NULL), in BKeymap()
58 delete[] fChars; in ~BKeymap()
104 delete[] fChars; in SetTo()
105 fChars = new char[fCharsSize]; in SetTo()
107 if (stream.Read(fChars, fCharsSize) != (ssize_t)fCharsSize) { in SetTo()
123 delete[] fChars; in SetToCurrent()
124 _get_key_map(&keys, &fChars, &charsSize); in SetToCurrent()
148 delete[] fChars; in SetToDefault()
149 fChars = new (std::nothrow) char[fCharsSize]; in SetToDefault()
150 if (fChars == NULL) { in SetToDefault()
[all …]
/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeymap.cpp87 print_key(fChars, fKeys.normal_map[i]); in DumpKeymap()
88 print_key(fChars, fKeys.shift_map[i]); in DumpKeymap()
89 print_key(fChars, fKeys.control_map[i]); in DumpKeymap()
90 print_key(fChars, fKeys.option_map[i]); in DumpKeymap()
91 print_key(fChars, fKeys.option_shift_map[i]); in DumpKeymap()
92 print_key(fChars, fKeys.caps_map[i]); in DumpKeymap()
93 print_key(fChars, fKeys.caps_shift_map[i]); in DumpKeymap()
94 print_key(fChars, fKeys.option_caps_map[i]); in DumpKeymap()
95 print_key(fChars, fKeys.option_caps_shift_map[i], true); in DumpKeymap()
107 _get_key_map(&keys, &fChars, (ssize_t*)&fCharsSize); in RetrieveCurrent()
/haiku/src/preferences/keymap/
H A DKeymap.cpp108 print_key(fChars, fKeys.normal_map[i]); in DumpKeymap()
109 print_key(fChars, fKeys.shift_map[i]); in DumpKeymap()
110 print_key(fChars, fKeys.control_map[i]); in DumpKeymap()
111 print_key(fChars, fKeys.option_map[i]); in DumpKeymap()
112 print_key(fChars, fKeys.option_shift_map[i]); in DumpKeymap()
113 print_key(fChars, fKeys.caps_map[i]); in DumpKeymap()
114 print_key(fChars, fKeys.caps_shift_map[i]); in DumpKeymap()
115 print_key(fChars, fKeys.option_caps_map[i]); in DumpKeymap()
116 print_key(fChars, fKeys.option_caps_shift_map[i], true); in DumpKeymap()
182 bytesWritten = file.Write(fChars, fCharsSize); in Save()
[all …]
/haiku/src/add-ons/input_server/devices/virtio/
H A DVirtioInputDevice.cpp324 fChars.SetTo(chars); in KeyboardHandler()
327 TRACE(" fChars: %p\n", fChars.Get()); in KeyboardHandler()
364 fChars.SetTo(chars); in Control()
418 ch = fChars.Get() + fKeyMap->option_caps_shift_map[code]; in _KeyString()
421 ch = fChars.Get() + fKeyMap->option_caps_map[code]; in _KeyString()
424 ch = fChars.Get() + fKeyMap->option_shift_map[code]; in _KeyString()
427 ch = fChars.Get() + fKeyMap->option_map[code]; in _KeyString()
430 ch = fChars.Get() + fKeyMap->caps_shift_map[code]; in _KeyString()
433 ch = fChars.Get() + fKeyMap->caps_map[code]; in _KeyString()
436 ch = fChars.Get() + fKeyMap->shift_map[code]; in _KeyString()
[all …]
H A DVirtioInputDevice.h112 fChars; variable
/haiku/src/bin/keymap/
H A DKeymap.cpp332 delete[] fChars; in LoadSource()
333 fChars = new char[CHARS_TABLE_MAXSIZE]; in LoadSource()
550 bytesWritten = file.Write(fChars, fCharsSize); in Save()
700 fprintf(file, "0x%02x,", (uint8)fChars[i]); in SaveAsCppHeader()
971 GetKey(fChars, fKeys.normal_map[i], normalKey, 32);
972 GetKey(fChars, fKeys.shift_map[i], shiftKey, 32);
973 GetKey(fChars, fKeys.control_map[i], controlKey, 32);
974 GetKey(fChars, fKeys.option_map[i], optionKey, 32);
975 GetKey(fChars, fKeys.option_shift_map[i], optionShiftKey, 32);
976 GetKey(fChars, fKeys.caps_map[i], capsKey, 32);
[all …]
/haiku/headers/private/shared/
H A DKeymap.h59 char* fChars;
/haiku/src/servers/input/
H A DInputServer.cpp149 fChars(NULL), in InputServer()
265 delete[] fChars; in _LoadKeymap()
266 fChars = new (nothrow) char[fCharsSize]; in _LoadKeymap()
267 if (fChars == NULL) in _LoadKeymap()
270 if (file.Read(fChars, fCharsSize) != (signed)fCharsSize) in _LoadKeymap()
280 delete[] fChars; in _LoadSystemKeymap()
283 fChars = new (nothrow) char[fCharsSize]; in _LoadSystemKeymap()
284 if (fChars == NULL) in _LoadSystemKeymap()
287 memcpy(fChars, kSystemKeyChars, fCharsSize); in _LoadSystemKeymap()
327 if ((err = file.Write(fChars, fCharsSize)) < (ssize_t)fCharsSize) in _SaveKeymap()
[all …]
H A DInputServer.h231 char* fChars; // current keymap chars variable