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

123

/external/v8/test/mjsunit/
H A Dstring-case.js37 function charCodeToLower(charCode) {
38 if (A_CODE <= charCode && charCode <= Z_CODE) {
39 return charCode + a_CODE - A_CODE;
41 return charCode;
44 function charCodeToUpper(charCode) {
45 if (a_CODE <= charCode && charCode <= z_CODE) {
46 return charCode - (a_CODE - A_CODE);
48 return charCode;
[all...]
/external/webkit/Source/WebCore/platform/cocoa/
H A DKeyEventCocoa.h33 String keyIdentifierForCharCode(unichar charCode);
36 int windowsKeyCodeForCharCode(unichar charCode);
H A DKeyEventCocoa.mm42 String keyIdentifierForCharCode(unichar charCode)
44 switch (charCode) {
328 return String::format("U+%04X", toASCIIUpper(charCode));
471 int windowsKeyCodeForCharCode(unichar charCode)
473 switch (charCode) {
/external/chromium/chrome/browser/ui/cocoa/
H A Dmulti_key_equivalent_button.h15 KeyEquivalentAndModifierMask() : charCode(nil), mask(0) {}
16 NSString* charCode; member in struct:KeyEquivalentAndModifierMask
/external/webkit/Source/WebCore/html/
H A DBaseButtonInputType.cpp59 int charCode = event->charCode(); local
60 if (charCode == '\r') {
65 if (charCode == ' ') {
H A DBaseCheckableInputType.cpp74 if (event->charCode() == ' ') {
/external/webkit/Source/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/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
H A Drhino-python.prog18 var charCode, data=[];
19 while ((charCode = isr.read()) >= 0) {
20 data.push(String.fromCharCode(charCode));
/external/webkit/Source/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.cpp126 return charCode();
129 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;
/external/skia/src/core/
H A DSkGlyphCache.cpp63 // init with 0xFF so that the charCode field will be -1, which is invalid
98 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { argument
100 uint32_t id = SkGlyph::MakeID(charCode);
106 return fScalerContext->charToGlyphID(charCode);
120 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { argument
122 uint32_t id = SkGlyph::MakeID(charCode);
129 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode));
150 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { argument
152 uint32_t id = SkGlyph::MakeID(charCode);
160 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode));
172 getUnicharMetrics(SkUnichar charCode, SkFixed x, SkFixed y) argument
[all...]
H A DSkGlyphCache.h79 unsigned getBaseGlyphCount(SkUnichar charCode) const {
80 return fScalerContext->getBaseGlyphCount(charCode);
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/
H A Dcontent.js55 if (event.charCode == 13)
/external/webkit/Source/WebKit/android/WebCoreSupport/
H A DEditorClientAndroid.cpp100 unsigned charCode; member in struct:android::KeyPressEntry
155 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[i].name);
169 int mapKey = modifiers << 16 | evt->charCode();
203 if (event->charCode() < ' ')
/external/chromium/chrome/browser/resources/net_internals/
H A Dlogviewpainter.js159 var charCode = parseInt(hex, 16);
163 if (charCode >= 0x20 && charCode <= 0x7E) {
164 asciiLine += String.fromCharCode(charCode);
165 } else if (charCode == 0x00) {
/external/webkit/Source/WebKit/efl/WebCoreSupport/
H A DEditorClientEfl.cpp239 unsigned charCode; member in struct:WebCore::KeyPressEntry
314 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[i].name);
330 int mapKey = modifiers << 16 | event->charCode();
388 if (event->charCode() < ' ')
/external/webkit/Source/WebKit/wince/WebCoreSupport/
H A DEditorClientWinCE.cpp238 unsigned charCode; member in struct:WebKit::KeyPressEntry
324 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[i].name);
340 int mapKey = modifiers << 16 | event->charCode();
398 if (event->charCode() < ' ')
/external/webkit/Source/WebKit/wx/WebKitSupport/
H A DEditorClientWx.cpp63 unsigned charCode; member in struct:WebCore::KeyPressEntry
404 if (event->charCode() < ' ')
425 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[i].name);
441 int mapKey = modifiers << 16 | evt->charCode();
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
H A DWebPageQt.cpp103 unsigned charCode; member in struct:WebKit::KeyPressEntry
192 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[i].name);
208 int mapKey = modifiers << 16 | evt->charCode();
/external/chromium/chrome/browser/resources/
H A Dkeyboard_overlay.js197 var charCode = c.charCodeAt(0);
198 return 0x00 <= charCode && charCode <= 0x7F;

Completed in 514 milliseconds

123