Home
last modified time | relevance | path

Searched refs:fCharsSize (Results 1 – 7 of 7) sorted by relevance

/haiku/src/kits/shared/
H A DKeymap.cpp50 fCharsSize(0) in BKeymap()
95 if (stream.Read(&fCharsSize, sizeof(uint32)) < 1) in SetTo()
98 fCharsSize = B_BENDIAN_TO_HOST_INT32(fCharsSize); in SetTo()
99 if (fCharsSize > 16 * 1024) { in SetTo()
105 fChars = new char[fCharsSize]; in SetTo()
107 if (stream.Read(fChars, fCharsSize) != (ssize_t)fCharsSize) { in SetTo()
131 fCharsSize = (uint32)charsSize; in SetToCurrent()
146 fCharsSize = kSystemKeyCharsSize; in SetToDefault()
149 fChars = new (std::nothrow) char[fCharsSize]; in SetToDefault()
155 memcpy(fChars, kSystemKeyChars, fCharsSize); in SetToDefault()
[all …]
/haiku/src/preferences/keymap/
H A DKeymap.cpp172 fCharsSize = B_HOST_TO_BENDIAN_INT32(fCharsSize); in Save()
174 bytesWritten = file.Write(&fCharsSize, sizeof(uint32)); in Save()
178 fCharsSize = B_BENDIAN_TO_HOST_INT32(fCharsSize); in Save()
182 bytesWritten = file.Write(fChars, fCharsSize); in Save()
183 if (bytesWritten < (ssize_t)fCharsSize) in Save()
289 if (offset < 0 || offset >= (int32)fCharsSize) in GetDeadKeyTrigger()
318 if (offset < 0 || offset >= (int32)fCharsSize) in SetDeadKeyTrigger()
399 fChars = new(std::nothrow) char[other.fCharsSize]; in operator =()
401 memcpy(fChars, other.fChars, other.fCharsSize); in operator =()
402 fCharsSize = other.fCharsSize; in operator =()
[all …]
/haiku/src/servers/input/
H A DInputServer.cpp258 if (file.Read(&fCharsSize, sizeof(uint32)) < (ssize_t)sizeof(uint32)) in _LoadKeymap()
261 fCharsSize = B_BENDIAN_TO_HOST_INT32(fCharsSize); in _LoadKeymap()
262 if (fCharsSize <= 0) in _LoadKeymap()
266 fChars = new (nothrow) char[fCharsSize]; in _LoadKeymap()
270 if (file.Read(fChars, fCharsSize) != (signed)fCharsSize) in _LoadKeymap()
282 fCharsSize = kSystemKeyCharsSize; in _LoadSystemKeymap()
283 fChars = new (nothrow) char[fCharsSize]; in _LoadSystemKeymap()
287 memcpy(fChars, kSystemKeyChars, fCharsSize); in _LoadSystemKeymap()
322 uint32 size = B_HOST_TO_BENDIAN_INT32(fCharsSize); in _SaveKeymap()
327 if ((err = file.Write(fChars, fCharsSize)) < (ssize_t)fCharsSize) in _SaveKeymap()
[all …]
H A DInputServer.h232 uint32 fCharsSize; // current keymap char count variable
/haiku/headers/private/shared/
H A DKeymap.h61 uint32 fCharsSize; variable
/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeymap.cpp107 _get_key_map(&keys, &fChars, (ssize_t*)&fCharsSize); in RetrieveCurrent()
/haiku/src/bin/keymap/
H A DKeymap.cpp334 fCharsSize = CHARS_TABLE_MAXSIZE; in LoadSource()
482 fCharsSize = offset; in LoadSource()
542 uint32 charSize = B_HOST_TO_BENDIAN_INT32(fCharsSize); in Save()
550 bytesWritten = file.Write(fChars, fCharsSize); in Save()
551 if (bytesWritten < (ssize_t)fCharsSize) in Save()
692 for (uint32 i = 0; i < fCharsSize; i++) { in SaveAsCppHeader()
705 fCharsSize); in SaveAsCppHeader()