Home
last modified time | relevance | path

Searched refs:charCode (Results 1 – 25 of 43) sorted by relevance

12

/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Object/
Dregress-90596-003.js214 var charCode = 0;
219 charCode = text.charCodeAt(i);
221 if (!isWhiteSpace(charCode) && !isQuote(charCode))
229 function isWhiteSpace(charCode) argument
231 switch (charCode)
248 function isQuote(charCode) argument
250 switch (charCode)
Dregress-90596-001.js190 var charCode = 0;
195 charCode = text.charCodeAt(i);
197 if (!isWhiteSpace(charCode))
205 function isWhiteSpace(charCode) argument
207 switch (charCode)
Dregress-90596-002.js190 var charCode = 0;
195 charCode = text.charCodeAt(i);
197 if (!isWhiteSpace(charCode))
205 function isWhiteSpace(charCode) argument
207 switch (charCode)
/external/skia/src/core/
DSkGlyphCache.cpp119 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph() argument
121 uint32_t id = SkGlyph::MakeID(charCode); in unicharToGlyph()
127 return fScalerContext->charToGlyphID(charCode); in unicharToGlyph()
137 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() argument
139 uint32_t id = SkGlyph::MakeID(charCode); in getUnicharAdvance()
146 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); in getUnicharAdvance()
167 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics() argument
169 uint32_t id = SkGlyph::MakeID(charCode); in getUnicharMetrics()
177 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); in getUnicharMetrics()
189 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode, in getUnicharMetrics() argument
[all …]
/external/v8/src/
Djson.js86 var charCode = c.charCodeAt(0);
88 if (charCode < 16) result = '\\u000';
89 else if (charCode < 256) result = '\\u00';
90 else if (charCode < 4096) result = '\\u0';
92 result += charCode.toString(16);
/external/webkit/WebKit/android/WebCoreSupport/
DEditorClientAndroid.cpp97 unsigned charCode; member
152 …ommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[… in interpretKeyEvent()
166 int mapKey = modifiers << 16 | evt->charCode(); in interpretKeyEvent()
200 if (event->charCode() < ' ') in handleKeyboardEvent()
/external/webkit/WebKitTools/DumpRenderTree/gtk/
DEventSender.cpp533 int charCode = JSStringGetCharactersPtr(character)[0]; in keyDownCallback() local
534 if (charCode == '\n' || charCode == '\r') in keyDownCallback()
536 else if (charCode == '\t') in keyDownCallback()
538 else if (charCode == '\x8') in keyDownCallback()
541 gdkKeySym = gdk_unicode_to_keyval(charCode); in keyDownCallback()
542 if (WTF::isASCIIUpper(charCode)) in keyDownCallback()
/external/webkit/WebKit/wx/WebKitSupport/
DEditorClientWx.cpp64 unsigned charCode; member
399 if (event->charCode() < ' ') in handleEditingKeyboardEvent()
420 …ommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[… in interpretKeyEvent()
436 int mapKey = modifiers << 16 | evt->charCode(); in interpretKeyEvent()
/external/webkit/WebCore/dom/
DKeyboardEvent.cpp125 return charCode(); in keyCode()
128 int KeyboardEvent::charCode() const in charCode() function in WebCore::KeyboardEvent
DUIEvent.cpp67 int UIEvent::charCode() const in charCode() function in WebCore::UIEvent
DUIEvent.h54 virtual int charCode() const;
DKeyboardEvent.h85 int charCode() const; // character code for keypress, 0 for keydown and keyup
DUIEvent.idl35 readonly attribute long charCode;
DKeyboardEvent.idl62 readonly attribute long charCode;
DSelectElement.cpp804 …yboardEvent->altKey() && !keyboardEvent->metaKey() && isPrintableChar(keyboardEvent->charCode())) { in defaultEventHandler()
851 UChar c = event->charCode(); in typeAheadFind()
/external/webkit/WebKitTools/DumpRenderTree/win/
DEventSender.cpp447 int charCode = 0; in keyDownCallback() local
473 charCode = JSStringGetCharactersPtr(character)[0]; in keyDownCallback()
474 virtualKeyCode = LOBYTE(VkKeyScan(charCode)); in keyDownCallback()
475 if (WTF::isASCIIUpper(charCode)) in keyDownCallback()
518 ::PostMessage(webViewWindow, WM_CHAR, charCode, 0); in keyDownCallback()
/external/webkit/WebKit/gtk/WebCoreSupport/
DEditorClientGtk.cpp347 unsigned charCode; member
422 …ommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[… in interpretEditorCommandKeyEvent()
438 int mapKey = modifiers << 16 | evt->charCode(); in interpretEditorCommandKeyEvent()
504 if (event->charCode() < ' ') in handleKeyboardEvent()
/external/webkit/WebKit/win/
DDOMEventsClasses.h263 virtual HRESULT STDMETHODCALLTYPE charCode(
372 virtual HRESULT STDMETHODCALLTYPE charCode( in charCode() function
373 /* [retval][out] */ long* result) { return DOMUIEvent::charCode(result); } in charCode()
520 virtual HRESULT STDMETHODCALLTYPE charCode( in charCode() function
521 /* [retval][out] */ long* result) { return DOMUIEvent::charCode(result); } in charCode()
879 virtual HRESULT STDMETHODCALLTYPE charCode( in charCode() function
880 /* [retval][out] */ long* result) { return DOMUIEvent::charCode(result); } in charCode()
/external/webkit/WebKit/chromium/src/
DEditorClientImpl.cpp382 unsigned charCode; member
519 … keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, in interpretKeyEvent()
539 int mapKey = modifiers << 16 | evt->charCode(); in interpretKeyEvent()
/external/webkit/WebKit/win/Interfaces/
DDOMEvents.idl214 //readonly attribute long charCode;
215 //HRESULT charCode([out, retval] long* result);
390 //readonly attribute long charCode;
391 HRESULT charCode([out, retval] long* result);
/external/webkit/WebCore/html/
DHTMLButtonElement.cpp120 switch (static_cast<KeyboardEvent*>(evt)->charCode()) { in defaultEventHandler()
DHTMLInputElement.cpp2098 int charCode = static_cast<KeyboardEvent*>(evt)->charCode(); in defaultEventHandler() local
2100 if (charCode == '\r') { in defaultEventHandler()
2134 } else if (charCode == ' ') { in defaultEventHandler()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp509 SkUnichar charCode = FT_Get_First_Char( fFace, &glyphIndex ); in generateGlyphToChar() local
513 return charCode; in generateGlyphToChar()
515 charCode = FT_Get_Next_Char( fFace, charCode, &glyphIndex ); in generateGlyphToChar()
/external/webkit/WebKit/mac/Misc/
DWebNSURLExtras.mm60 static inline BOOL isLookalikeCharacter(int charCode)
71 …if (!u_isprint(charCode) || u_isUWhiteSpace(charCode) || u_hasBinaryProperty(charCode, UCHAR_DEFAU…
74 switch (charCode) {
/external/webkit/WebCore/wml/
DWMLInputElement.cpp288 if (static_cast<KeyboardEvent*>(evt)->charCode() == '\r') in defaultEventHandler()

12