Lines Matching refs:bytes
181 KeyboardLayoutView::KeyDown(const char* bytes, int32 numBytes)
188 KeyboardLayoutView::KeyUp(const char* bytes, int32 numBytes)
917 KeyboardLayoutView::_SpecialMappedKeySymbol(const char* bytes, size_t numBytes)
922 if (bytes[0] == B_TAB)
924 if (bytes[0] == B_ENTER)
926 if (bytes[0] == B_BACKSPACE)
929 if (bytes[0] == B_UP_ARROW)
931 if (bytes[0] == B_LEFT_ARROW)
933 if (bytes[0] == B_DOWN_ARROW)
935 if (bytes[0] == B_RIGHT_ARROW)
943 KeyboardLayoutView::_SpecialMappedKeyLabel(const char* bytes, size_t numBytes,
948 if (bytes[0] == B_ESCAPE)
950 if (bytes[0] == B_INSERT)
952 if (bytes[0] == B_DELETE)
954 if (bytes[0] == B_HOME)
956 if (bytes[0] == B_END)
958 if (bytes[0] == B_PAGE_UP) {
964 if (bytes[0] == B_PAGE_DOWN) {
1004 char* bytes = NULL;
1006 fKeymap->GetChars(key->code, fModifiers, fDeadKey, &bytes, &numBytes);
1007 if (bytes != NULL) {
1008 special = _SpecialMappedKeyLabel(bytes, numBytes, true);
1012 delete[] bytes;
1037 char* bytes = NULL;
1039 fKeymap->GetChars(key->code, fModifiers, fDeadKey, &bytes, &numBytes);
1040 if (bytes != NULL) {
1041 special = _SpecialMappedKeyLabel(bytes, numBytes);
1046 special = _SpecialMappedKeySymbol(bytes, numBytes);
1052 fBaseFont.GetHasGlyphs(bytes, 1, &hasGlyphs);
1054 strlcpy(text, bytes, textSize);
1058 delete[] bytes;
1308 message.AddString("bytes", string);