Searched refs:charCode (Results 1 - 25 of 34) sorted by relevance

12

/external/v8/src/
H A 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/JavaScriptCore/tests/mozilla/js1_5/Object/
H A Dregress-90596-003.js214 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 Dregress-90596-001.js190 var charCode = 0;
195 charCode = text.charCodeAt(i);
197 if (!isWhiteSpace(charCode))
205 function isWhiteSpace(charCode)
207 switch (charCode)
H A Dregress-90596-002.js190 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 DUIEvent.idl35 readonly attribute long charCode;
H A DUIEvent.cpp67 int UIEvent::charCode() const function in class:WebCore::UIEvent
H A DKeyboardEvent.cpp125 return charCode();
128 int KeyboardEvent::charCode() const function in class:WebCore::KeyboardEvent
H A DKeyboardEvent.idl62 readonly attribute long charCode;
H A DUIEvent.h54 virtual int charCode() const;
H A DKeyboardEvent.h85 int charCode() const; // character code for keypress, 0 for keydown and keyup
H A DSelectElement.cpp799 if (!keyboardEvent->ctrlKey() && !keyboardEvent->altKey() && !keyboardEvent->metaKey() && isPrintableChar(keyboardEvent->charCode())) {
846 UChar c = event->charCode();
/external/skia/src/core/
H A DSkGlyphCache.cpp69 // 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 DEditorClientAndroid.cpp97 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 DEditorClientWx.cpp64 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 DEventSender.cpp533 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 DHTMLButtonElement.cpp120 switch (static_cast<KeyboardEvent*>(evt)->charCode()) {
H A DHTMLInputElement.cpp2098 int charCode = static_cast<KeyboardEvent*>(evt)->charCode(); local
2100 if (charCode == '\r') {
2134 } else if (charCode == ' ') {
/external/webkit/WebKitTools/DumpRenderTree/win/
H A DEventSender.cpp447 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 DEditorClientGtk.cpp347 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 DDOMEventsClasses.h263 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 DDOMEventsClasses.cpp223 HRESULT STDMETHODCALLTYPE DOMUIEvent::charCode( function in class:DOMUIEvent
/external/webkit/WebKit/chromium/src/
H A DEditorClientImpl.cpp382 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 DSkFontHost_FreeType.cpp485 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 DWebNSURLExtras.mm60 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 DWMLInputElement.cpp288 if (static_cast<KeyboardEvent*>(evt)->charCode() == '\r')

Completed in 210 milliseconds

12