Home
last modified time | relevance | path

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

123

/external/v8/test/mjsunit/
Dstring-case.js37 function charCodeToLower(charCode) { argument
38 if (A_CODE <= charCode && charCode <= Z_CODE) {
39 return charCode + a_CODE - A_CODE;
41 return charCode;
44 function charCodeToUpper(charCode) { argument
45 if (a_CODE <= charCode && charCode <= z_CODE) {
46 return charCode - (a_CODE - A_CODE);
48 return charCode;
/external/chromium_org/v8/test/mjsunit/
Dstring-case.js37 function charCodeToLower(charCode) { argument
38 if (A_CODE <= charCode && charCode <= Z_CODE) {
39 return charCode + a_CODE - A_CODE;
41 return charCode;
44 function charCodeToUpper(charCode) { argument
45 if (a_CODE <= charCode && charCode <= z_CODE) {
46 return charCode - (a_CODE - A_CODE);
48 return charCode;
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DBaseClickableWithKeyInputType.cpp54 int charCode = event->charCode(); in handleKeypressEvent() local
55 if (charCode == '\r') { in handleKeypressEvent()
60 if (charCode == ' ') { in handleKeypressEvent()
DBaseCheckableInputType.cpp75 if (event->charCode() == ' ') { in handleKeypressEvent()
/external/skia/src/core/
DSkGlyphCache.cpp140 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph() argument
142 uint32_t id = SkGlyph::MakeID(charCode); in unicharToGlyph()
148 return fScalerContext->charToGlyphID(charCode); in unicharToGlyph()
162 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() argument
164 uint32_t id = SkGlyph::MakeID(charCode); in getUnicharAdvance()
171 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); in getUnicharAdvance()
192 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics() argument
194 uint32_t id = SkGlyph::MakeID(charCode); in getUnicharMetrics()
202 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); in getUnicharMetrics()
214 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode, in getUnicharMetrics() argument
[all …]
DSkGlyphCache.h82 unsigned getBaseGlyphCount(SkUnichar charCode) const { in getBaseGlyphCount() argument
83 return fScalerContext->getBaseGlyphCount(charCode); in getBaseGlyphCount()
/external/chromium_org/third_party/skia/src/core/
DSkGlyphCache.cpp140 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph() argument
142 uint32_t id = SkGlyph::MakeID(charCode); in unicharToGlyph()
148 return fScalerContext->charToGlyphID(charCode); in unicharToGlyph()
162 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() argument
164 uint32_t id = SkGlyph::MakeID(charCode); in getUnicharAdvance()
171 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); in getUnicharAdvance()
192 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics() argument
194 uint32_t id = SkGlyph::MakeID(charCode); in getUnicharMetrics()
202 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode)); in getUnicharMetrics()
214 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode, in getUnicharMetrics() argument
[all …]
DSkGlyphCache.h82 unsigned getBaseGlyphCount(SkUnichar charCode) const { in getBaseGlyphCount() argument
83 return fScalerContext->getBaseGlyphCount(charCode); in getBaseGlyphCount()
/external/chromium_org/chrome/browser/ui/cocoa/
Dmulti_key_equivalent_button.h14 KeyEquivalentAndModifierMask() : charCode(nil), mask(0) {} in KeyEquivalentAndModifierMask()
15 NSString* charCode; member
Dmulti_key_equivalent_button.mm21 if (key.charCode &&
22 [key.charCode isEqualToString:[event charactersIgnoringModifiers]] &&
/external/chromium/chrome/browser/ui/cocoa/
Dmulti_key_equivalent_button.h15 KeyEquivalentAndModifierMask() : charCode(nil), mask(0) {} in KeyEquivalentAndModifierMask()
16 NSString* charCode; member
Dmulti_key_equivalent_button.mm21 if (key.charCode &&
22 [key.charCode isEqualToString:[event charactersIgnoringModifiers]] &&
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DDateTimeSymbolicFieldElement.cpp78 const UChar charCode = WTF::Unicode::toLower(keyboardEvent->charCode()); in handleKeyboardEvent() local
79 if (charCode < ' ') in handleKeyboardEvent()
DDateTimeNumericFieldElement.cpp119 UChar charCode = static_cast<UChar>(keyboardEvent->charCode()); in handleKeyboardEvent() local
120 String number = localeForOwner().convertFromLocalizedNumber(String(&charCode, 1)); in handleKeyboardEvent()
/external/chromium/chrome/browser/resources/net_internals/
Dlogviewpainter.js159 var charCode = parseInt(hex, 16);
163 if (charCode >= 0x20 && charCode <= 0x7E) {
164 asciiLine += String.fromCharCode(charCode);
165 } else if (charCode == 0x00) {
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Drhino-python.prog18 var charCode, data=[];
19 while ((charCode = isr.read()) >= 0) {
20 data.push(String.fromCharCode(charCode));
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditorKeyBindings.cpp68 unsigned charCode; member
203 …ommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[… in interpretKeyEvent()
222 int mapKey = modifiers << 16 | evt->charCode(); in interpretKeyEvent()
/external/chromium_org/chrome/browser/resources/net_internals/
Dlog_view_painter.js141 var charCode = parseInt(hex, 16);
145 if (charCode >= 0x20 && charCode <= 0x7E) {
146 asciiLine += String.fromCharCode(charCode);
147 } else if (charCode == 0x00) {
/external/chromium_org/third_party/WebKit/Source/core/events/
DKeyboardEvent.cpp188 return charCode(); in keyCode()
191 int KeyboardEvent::charCode() const in charCode() function in WebCore::KeyboardEvent
DUIEvent.cpp87 int UIEvent::charCode() const in charCode() function in WebCore::UIEvent
DUIEvent.h68 virtual int charCode() const;
/external/chromium/chrome/browser/resources/
Dkeyboard_overlay.js197 var charCode = c.charCodeAt(0);
198 return 0x00 <= charCode && charCode <= 0x7F;
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/
Dcontent.js55 if (event.charCode == 13)
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/
Dcontent.js55 if (event.charCode == 13)
/external/chromium_org/chrome/browser/resources/chromeos/
Dkeyboard_overlay.js289 var charCode = c.charCodeAt(0);
290 return 0x00 <= charCode && charCode <= 0x7F;

123