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

123

/external/chromium_org/v8/test/mjsunit/
H A Dstring-case.js38 function charCodeToLower(charCode) {
39 if (A_CODE <= charCode && charCode <= Z_CODE) {
40 return charCode + a_CODE - A_CODE;
42 return charCode;
45 function charCodeToUpper(charCode) {
46 if (a_CODE <= charCode && charCode <= z_CODE) {
47 return charCode - (a_CODE - A_CODE);
49 return charCode;
[all...]
/external/chromium_org/chrome/browser/ui/cocoa/
H A Dmulti_key_equivalent_button.h14 KeyEquivalentAndModifierMask() : charCode(nil), mask(0) {}
15 NSString* charCode; member in struct:KeyEquivalentAndModifierMask
/external/fonttools/Lib/fontTools/
H A Dunicode.py24 def __getitem__(self, charCode):
26 return self.codes[charCode]
32 def __getitem__(self, charCode):
35 return unicodedata.name(unichr(charCode))
/external/fonttools/Tools/fontTools/
H A Dunicode.py24 def __getitem__(self, charCode):
26 return self.codes[charCode]
32 def __getitem__(self, charCode):
35 return unicodedata.name(unichr(charCode))
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DBaseClickableWithKeyInputType.cpp54 int charCode = event->charCode(); local
55 if (charCode == '\r') {
60 if (charCode == ' ') {
H A DBaseCheckableInputType.cpp75 if (event->charCode() == ' ') {
H A DTypeAhead.cpp69 UChar c = event->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/chromium_org/third_party/WebKit/Source/core/html/shadow/
H A DPickerIndicatorElement.cpp88 int charCode = toKeyboardEvent(event)->charCode(); local
89 if (charCode == ' ' || charCode == '\r') {
H A DDateTimeSymbolicFieldElement.cpp78 const UChar charCode = WTF::Unicode::toLower(keyboardEvent->charCode());
79 if (charCode < ' ')
H A DDateTimeNumericFieldElement.cpp121 UChar charCode = static_cast<UChar>(keyboardEvent->charCode());
122 String number = localeForOwner().convertFromLocalizedNumber(String(&charCode, 1));
/external/chromium_org/third_party/WebKit/Source/core/events/
H A DUIEvent.idl40 readonly attribute long charCode;
H A DUIEvent.cpp84 int UIEvent::charCode() const function in class:blink::UIEvent
H A DUIEvent.h68 virtual int charCode() const;
H A DKeyboardEvent.cpp178 return charCode();
181 int KeyboardEvent::charCode() const function in class:blink::KeyboardEvent
/external/chromium_org/third_party/skia/src/fonts/
H A DSkTestScalerContext.cpp49 int SkTestFont::codeToIndex(SkUnichar charCode) const {
53 if (charCode >= ' ' && charCode <= '~') {
54 int bitOffset = charCode - ' ';
58 while (fDebugOverage[index] != 0 && fDebugOverage[index] != charCode
64 fDebugOverage[index] = charCode;
70 if (fCharCodes[index] == (unsigned) charCode) {
74 SkDEBUGF(("missing '%c' (%d) from %s %d\n", (char) charCode, charCode,
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DEditingBehavior.cpp66 unsigned charCode; member in struct:blink::KeyPressEntry
201 keyPressCommandsMap->set(keyPressEntries[i].modifiers << 16 | keyPressEntries[i].charCode, keyPressEntries[i].name);
220 int mapKey = modifiers << 16 | event.charCode();
/external/chromium_org/third_party/skia/src/core/
H A DSkGlyphCache.cpp89 // init with 0xFF so that the charCode field will be -1, which is invalid
146 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { argument
148 uint32_t id = SkGlyph::MakeID(charCode);
154 return fScalerContext->charToGlyphID(charCode);
168 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { argument
170 uint32_t id = SkGlyph::MakeID(charCode);
177 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode));
198 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { argument
200 uint32_t id = SkGlyph::MakeID(charCode);
208 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode));
220 getUnicharMetrics(SkUnichar charCode, SkFixed x, SkFixed y) argument
[all...]
/external/skia/src/core/
H A DSkGlyphCache.cpp89 // init with 0xFF so that the charCode field will be -1, which is invalid
146 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { argument
148 uint32_t id = SkGlyph::MakeID(charCode);
154 return fScalerContext->charToGlyphID(charCode);
168 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { argument
170 uint32_t id = SkGlyph::MakeID(charCode);
177 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode));
198 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { argument
200 uint32_t id = SkGlyph::MakeID(charCode);
208 id = SkGlyph::MakeID(fScalerContext->charToGlyphID(charCode));
220 getUnicharMetrics(SkUnichar charCode, SkFixed x, SkFixed y) argument
[all...]
H A DSkGlyphCache.h82 unsigned getBaseGlyphCount(SkUnichar charCode) const {
83 return fScalerContext->getBaseGlyphCount(charCode);
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_c_m_a_p.py324 # second byte of charCode = 66
346 charCode = firstByte
353 cmap[charCode] = gi
358 charCode = charCodeOffset + offsetIndex
364 cmap[charCode] = gi
428 charCode = charCodes[0]
429 if charCode > 255:
440 for charCode, gid in items:
443 firstbyte = charCode >> 8
444 secondByte = charCode
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A D_c_m_a_p.py324 # second byte of charCode = 66
346 charCode = firstByte
353 cmap[charCode] = gi
358 charCode = charCodeOffset + offsetIndex
364 cmap[charCode] = gi
428 charCode = charCodes[0]
429 if charCode > 255:
440 for charCode, gid in items:
443 firstbyte = charCode >> 8
444 secondByte = charCode
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/
H A Dcontent.js55 if (event.charCode == 13)
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLSummaryElement.cpp110 switch (toKeyboardEvent(event)->charCode()) {
/external/pdfium/core/src/fpdftext/
H A Dfpdf_text_search.cpp64 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) argument
66 if(charCode == -1) {
69 int w = pFont->GetCharWidthF(charCode);
72 pFont->AppendChar(str, charCode);
76 pFont->GetCharBBox(charCode, BBox);

Completed in 2210 milliseconds

123