/external/v8/src/ |
H A D | json.js | 86 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/JavaScriptCore/tests/mozilla/js1_5/Object/ |
H A D | regress-90596-003.js | 214 var charCode = 0; 219 charCode = text.charCodeAt(i); 221 if (!isWhiteSpace(charCode) && !isQuote(charCode)) 229 function isWhiteSpace(charCode) 231 switch (charCode) 248 function isQuote(charCode) 250 switch (charCode)
|
H A D | regress-90596-001.js | 190 var charCode = 0; 195 charCode = text.charCodeAt(i); 197 if (!isWhiteSpace(charCode)) 205 function isWhiteSpace(charCode) 207 switch (charCode)
|
H A D | regress-90596-002.js | 190 var charCode = 0; 195 charCode = text.charCodeAt(i); 197 if (!isWhiteSpace(charCode)) 205 function isWhiteSpace(charCode) 207 switch (charCode)
|
/external/webkit/WebCore/dom/ |
H A D | UIEvent.idl | 35 readonly attribute long charCode;
|
H A D | UIEvent.cpp | 67 int UIEvent::charCode() const function in class:WebCore::UIEvent
|
H A D | KeyboardEvent.cpp | 125 return charCode(); 128 int KeyboardEvent::charCode() const function in class:WebCore::KeyboardEvent
|
H A D | KeyboardEvent.idl | 62 readonly attribute long charCode;
|
H A D | UIEvent.h | 54 virtual int charCode() const;
|
H A D | KeyboardEvent.h | 85 int charCode() const; // character code for keypress, 0 for keydown and keyup
|
H A D | SelectElement.cpp | 799 if (!keyboardEvent->ctrlKey() && !keyboardEvent->altKey() && !keyboardEvent->metaKey() && isPrintableChar(keyboardEvent->charCode())) { 846 UChar c = event->charCode();
|
/external/skia/src/core/ |
H A D | SkGlyphCache.cpp | 69 // init with 0xFF so that the charCode field will be -1, which is invalid 119 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { argument 121 uint32_t id = SkGlyph::MakeID(charCode); 127 return fScalerContext->charToGlyphID(charCode); 137 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { argument 139 uint32_t id = SkGlyph::MakeID(charCode); 146 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); 167 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { argument 169 uint32_t id = SkGlyph::MakeID(charCode); 177 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); 189 getUnicharMetrics(SkUnichar charCode, SkFixed x, SkFixed y) argument [all...] |
/external/webkit/WebKit/android/WebCoreSupport/ |
H A D | EditorClientAndroid.cpp | 97 unsigned charCode; member in struct:android::KeyPressEntry 152 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[i].name); 166 int mapKey = modifiers << 16 | evt->charCode(); 200 if (event->charCode() < ' ')
|
/external/webkit/WebKit/wx/WebKitSupport/ |
H A D | EditorClientWx.cpp | 64 unsigned charCode; member in struct:WebCore::KeyPressEntry 399 if (event->charCode() < ' ') 420 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[i].name); 436 int mapKey = modifiers << 16 | evt->charCode();
|
/external/webkit/WebKitTools/DumpRenderTree/gtk/ |
H A D | EventSender.cpp | 533 int charCode = JSStringGetCharactersPtr(character)[0]; local 534 if (charCode == '\n' || charCode == '\r') 536 else if (charCode == '\t') 538 else if (charCode == '\x8') 541 gdkKeySym = gdk_unicode_to_keyval(charCode); 542 if (WTF::isASCIIUpper(charCode))
|
/external/webkit/WebCore/html/ |
H A D | HTMLButtonElement.cpp | 120 switch (static_cast<KeyboardEvent*>(evt)->charCode()) {
|
H A D | HTMLInputElement.cpp | 2098 int charCode = static_cast<KeyboardEvent*>(evt)->charCode(); local 2100 if (charCode == '\r') { 2134 } else if (charCode == ' ') {
|
/external/webkit/WebKitTools/DumpRenderTree/win/ |
H A D | EventSender.cpp | 447 int charCode = 0; local 473 charCode = JSStringGetCharactersPtr(character)[0]; 474 virtualKeyCode = LOBYTE(VkKeyScan(charCode)); 475 if (WTF::isASCIIUpper(charCode)) 518 ::PostMessage(webViewWindow, WM_CHAR, charCode, 0);
|
/external/webkit/WebKit/gtk/WebCoreSupport/ |
H A D | EditorClientGtk.cpp | 347 unsigned charCode; member in struct:WebKit::KeyPressEntry 422 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[i].name); 438 int mapKey = modifiers << 16 | evt->charCode(); 504 if (event->charCode() < ' ')
|
/external/webkit/WebKit/win/ |
H A D | DOMEventsClasses.h | 263 virtual HRESULT STDMETHODCALLTYPE charCode( 372 virtual HRESULT STDMETHODCALLTYPE charCode( function in class:DOMKeyboardEvent 373 /* [retval][out] */ long* result) { return DOMUIEvent::charCode(result); } 520 virtual HRESULT STDMETHODCALLTYPE charCode( function in class:DOMMouseEvent 521 /* [retval][out] */ long* result) { return DOMUIEvent::charCode(result); } 879 virtual HRESULT STDMETHODCALLTYPE charCode( function in class:DOMWheelEvent 880 /* [retval][out] */ long* result) { return DOMUIEvent::charCode(result); }
|
H A D | DOMEventsClasses.cpp | 223 HRESULT STDMETHODCALLTYPE DOMUIEvent::charCode( function in class:DOMUIEvent
|
/external/webkit/WebKit/chromium/src/ |
H A D | EditorClientImpl.cpp | 382 unsigned charCode; member in struct:WebKit::KeyPressEntry 519 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, 539 int mapKey = modifiers << 16 | evt->charCode();
|
/external/skia/src/ports/ |
H A D | SkFontHost_FreeType.cpp | 485 SkUnichar charCode = FT_Get_First_Char( fFace, &glyphIndex ); local 489 return charCode; 491 charCode = FT_Get_Next_Char( fFace, charCode, &glyphIndex );
|
/external/webkit/WebKit/mac/Misc/ |
H A D | WebNSURLExtras.mm | 60 static inline BOOL isLookalikeCharacter(int charCode) 71 if (!u_isprint(charCode) || u_isUWhiteSpace(charCode) || u_hasBinaryProperty(charCode, UCHAR_DEFAULT_IGNORABLE_CODE_POINT)) 74 switch (charCode) {
|
/external/webkit/WebCore/wml/ |
H A D | WMLInputElement.cpp | 288 if (static_cast<KeyboardEvent*>(evt)->charCode() == '\r')
|