Searched refs:characters (Results 1 - 25 of 503) sorted by last modified time

1234567891011>>

/external/wpa_supplicant_8/hostapd/
H A DAndroid.mk48 # To allow non-ASCII characters in SSID
/external/webkit/Source/WebCore/platform/
H A DKURL.cpp243 // Copies the source to the destination, assuming all the source characters are
244 // ASCII. The destination buffer must be large enough. Null characters are allowed
255 copyASCII(base.characters(), base.length(), buffer.data());
261 // Returns the index of the first index in string |s| of any of the characters
262 // in |toFind|. |toFind| should be a null-terminated string, all characters up
346 // characters from URLs. Note that c is an *unsigned* char here
347 // so this comparison should only catch control characters.
369 bool allASCII = charactersAreAllASCII(rel.characters(), rel.length());
376 copyASCII(rel.characters(), len, strBuffer.data());
386 // Get rid of leading whitespace and control characters
[all...]
H A DKURLGoogle.cpp97 // Returns the characters for the given string, or a pointer to a static empty
103 return str.characters() ?
104 reinterpret_cast<const url_parse::UTF16Char*>(str.characters()) :
121 // Both strings are equal (ignoring case) if and only if all of the characters were equal,
214 init(base, relative.characters(), relative.length(), queryEncoding);
299 // if string() is UTF-16 and input contains non-ASCII characters.
301 // characters is 'ref' at the end of the string. In that case,
549 const UChar* pos = query.characters();
550 const UChar* end = query.characters() + query.length();
610 if (!url_canon::CanonicalizeScheme(newProtocol.characters(),
[all...]
H A DLength.cpp90 const UChar* data = string.characters();
103 len = countCharacter(str->characters(), str->length(), ' ') + 1;
111 r[i++] = parseLength(str->characters() + pos, pos2 - pos);
114 r[i] = parseLength(str->characters() + pos, str->length() - pos);
129 len = countCharacter(str->characters(), str->length(), ',') + 1;
137 r[i++] = parseLength(str->characters() + pos, pos2 - pos);
145 r[i] = parseLength(str->characters() + pos, str->length() - pos);
H A DLinkHash.cpp34 static inline size_t findSlashDotDotSlash(const UChar* characters, size_t length, size_t position) argument
40 if (characters[i] == '/' && characters[i + 1] == '.' && characters[i + 2] == '.' && characters[i + 3] == '/')
46 static inline size_t findSlashSlash(const UChar* characters, size_t length, size_t position) argument
52 if (characters[i] == '/' && characters[i + 1] == '/')
58 static inline size_t findSlashDotSlash(const UChar* characters, size_t length, size_t position) argument
64 if (characters[
70 containsColonSlashSlash(const UChar* characters, unsigned length) argument
172 needsTrailingSlash(const UChar* characters, unsigned length) argument
213 const UChar* characters = attributeURL.characters(); local
[all...]
/external/webkit/Source/WebCore/platform/android/
H A DPopupMenuAndroid.cpp112 // Convert a WTF::String into an array of characters where the first
120 memcpy((void*)firstChar, text.characters(), sizeof(UChar)*length);
/external/webkit/Source/WebCore/platform/brew/
H A DFileSystemBrew.cpp95 buffer.append(path.characters(), path.length());
100 buffer.append(component.characters(), component.length());
/external/webkit/Source/WebCore/platform/cf/
H A DBinaryPropertyList.cpp288 const UChar* characters = string.characters(); local
291 if (!charactersAreAllASCII(characters, length))
697 const UChar* characters = string.characters(); local
699 if (charactersAreAllASCII(characters, length)) {
707 appendByte(characters[i]);
716 appendByte(characters[i] >> 8);
717 appendByte(characters[i]);
/external/webkit/Source/WebCore/platform/chromium/
H A DPopupMenuChromium.cpp837 // String::startWith does not fold non-ASCII characters. This code can be changed
963 TextRun textRun(itemText.characters(), itemText.length(), false, 0, 0, TextRun::AllowTrailingExpansion, rtl, style.hasTextDirectionOverride());
991 TextRun labelTextRun(itemLabel.characters(), itemLabel.length(), false, 0, 0, TextRun::AllowTrailingExpansion, rtl, style.hasTextDirectionOverride());
/external/webkit/Source/WebCore/platform/graphics/
H A DColor.cpp152 return parseHexColor(name.characters(), name.length(), rgb);
166 m_valid = parseHexColor(name.characters() + 1, name.length() - 1, m_color);
H A DFont.cpp239 String Font::normalizeSpaces(const UChar* characters, unsigned length) argument
245 buffer[i] = normalizeSpaces(characters[i]);
285 // Start from 0 since drawing and highlighting also measure the characters before run->from
318 if (c < 0x1E00) // U+1E00 through U+2000 characters with diacritics and stacked diacritics
444 unsigned Font::expansionOpportunityCount(const UChar* characters, size_t length, TextDirection direction, bool& isAfterExpansion) argument
450 UChar32 character = characters[i];
456 if (U16_IS_LEAD(character) && i + 1 < length && U16_IS_TRAIL(characters[i + 1])) {
457 character = U16_GET_SUPPLEMENTARY(character, characters[i + 1]);
471 UChar32 character = characters[i - 1];
477 if (U16_IS_TRAIL(character) && i > 1 && U16_IS_LEAD(characters[
[all...]
H A DFontCache.h63 const SimpleFontData* getFontDataForCharacters(const Font&, const UChar* characters, int length);
H A DSegmentedFontData.cpp59 bool SegmentedFontData::containsCharacters(const UChar* characters, int length) const argument
63 U16_NEXT(characters, i, length, c)
H A DStringTruncator.cpp66 TextBreakIterator* it = characterBreakIterator(string.characters(), length);
73 memcpy(buffer, string.characters(), sizeof(UChar) * omitStart);
75 memcpy(&buffer[omitStart + 1], &string.characters()[omitEnd], sizeof(UChar) * (length - omitEnd));
85 TextBreakIterator* it = characterBreakIterator(string.characters(), length);
89 memcpy(buffer, string.characters(), sizeof(UChar) * keepLength);
95 static float stringWidth(const Font& renderer, const UChar* characters, unsigned length)
97 TextRun run(characters, length);
120 memcpy(stringBuffer, string.characters(), sizeof(UChar) * length);
194 return stringWidth(font, string.characters(), string.length());
H A DTextRun.h66 : m_characters(s.characters())
88 const UChar* characters() const { return m_characters; } function in class:WebCore::TextRun
H A DWidthIterator.cpp66 unsigned expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion);
/external/webkit/Source/WebCore/platform/graphics/android/
H A DImageSourceAndroid.cpp165 m_decoder.m_url.setUTF16(url.characters(), url.length());
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
H A DFontAndroid.cpp314 width = paint.measureText(run.characters(), run.length() << 1);
336 canvas->drawText(run.characters(), run.length() << 1,
349 SkScalar width = paint.measureText(run.characters(), run.length() << 1);
363 count = paint.getTextWidths(run.characters(), count << 1, widths);
410 // all the characters have the same script (e.g. Arabic, Thai etc). Shaping is
567 m_item.string = m_run.characters();
640 if (!hb_utf16_script_run_prev(&m_numCodePoints, &m_item.item, m_run.characters(),
644 if (!hb_utf16_script_run_next(&m_numCodePoints, &m_item.item, m_run.characters(),
892 // Iterate characters in source and mirror character if needed.
924 // 2) Convert spacing characters int
[all...]
H A DFontCacheAndroid.cpp87 SkASSERT(sizeof(uint16_t) == sizeof(utf16.characters()[0]));
88 const uint16_t* uni = (uint16_t*)utf16.characters();
103 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters, int length) argument
106 // that each font supports all characters.
H A DFontDataAndroid.cpp108 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const argument
114 return paint.containsText(characters, length << 1);
H A DHarfbuzzSkia.cpp54 static HB_Bool stringToGlyphs(HB_Font hbFont, const HB_UChar16* characters, hb_uint32 length, HB_Glyph* glyphs, hb_uint32* glyphsSize, HB_Bool isRTL) argument
61 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), reinterpret_cast<uint16_t*>(glyphs));
102 static HB_Bool canRender(HB_Font hbFont, const HB_UChar16* characters, hb_uint32 length) argument
112 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), glyphs16.get());
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DComplexTextControllerLinux.cpp74 m_item.string = m_run.characters();
150 m_item.string = m_run.characters();
152 if (!hb_utf16_script_run_next(0, &m_item.item, m_run.characters(), m_run.length(), &m_indexOfNextScriptRun))
198 m_item.string = m_smallCapsString.characters();
330 // Iterate characters in source and mirror character if needed.
359 // 2) Convert spacing characters into plain spaces, as some fonts will provide glyphs
360 // for characters like '\n' otherwise.
361 // 3) Convert mirrored characters such as parenthesis for rtl text.
370 icu::Normalizer::normalize(icu::UnicodeString(originalRun.characters(),
384 sourceText = originalRun.characters();
[all...]
H A DFontCacheChromiumWin.cpp56 return WTF::charactersAreAllASCII(s.characters(), s.length());
243 memcpy(winfont->lfFaceName, family.characters(), len * sizeof(WORD));
264 // characters. Because it's family names rather than font faces we use
272 // FIXME: For non-BMP characters, GetFontUnicodeRanges is of
430 // font that can be used to render the given range of characters.
431 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters, int length) argument
438 const wchar_t* family = getFallbackFamily(characters, length,
472 // once installed, cover a very wide range of characters.
495 // Font returned from GetFallbackFamily may not cover |characters|
599 memcpy(logFont.lfFaceName, familyName.characters(), familyLengt
[all...]
H A DFontCacheLinux.cpp58 const UChar* characters,
62 String family = PlatformBridge::getFontFamilyForCharacters(characters, length, locale.getLanguage());
57 getFontDataForCharacters(const Font& font, const UChar* characters, int length) argument
H A DFontUtilsChromiumWin.cpp83 // did, the results of tests with CJK characters would have to be
192 // There are a lot of characters in USCRIPT_COMMON that can be covered
325 // - All the characters (or characters up to the point a single
327 const UChar* getFallbackFamily(const UChar* characters,
333 ASSERT(characters && characters[0] && length > 0);
336 // Sometimes characters common to script (e.g. space) is at
342 U16_NEXT(characters, i, length, ucs4);
346 // For the full-width ASCII characters (
[all...]

Completed in 1930 milliseconds

1234567891011>>