Searched refs:characters (Results 1 - 25 of 303) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSMarkup.cpp36 static inline bool isCSSTokenizerIdentifier(const CharacterType* characters, unsigned length) argument
38 const CharacterType* end = characters + length;
41 if (characters != end && characters[0] == '-')
42 ++characters;
45 if (characters == end || !(characters[0] == '_' || characters[0] >= 128 || isASCIIAlpha(characters[0])))
47 ++characters;
72 isCSSTokenizerURL(const CharacterType* characters, unsigned length) argument
112 quoteCSSStringInternal(const CharacterType* characters, unsigned length) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/frame/csp/
H A DSourceListDirective.cpp20 Vector<UChar> characters; local
21 value.appendTo(characters);
23 m_sourceList.parse(characters.data(), characters.data() + characters.size());
H A DMediaListDirective.cpp19 Vector<UChar> characters; local
20 value.appendTo(characters);
21 parse(characters.data(), characters.data() + characters.size());
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLDimension.cpp40 static HTMLDimension parseDimension(const CharacterType* characters, size_t lastParsedIndex, size_t endOfCurrentToken) argument
46 while (lastParsedIndex < endOfCurrentToken && isASCIISpace((characters[lastParsedIndex])))
54 while (position < endOfCurrentToken && isASCIIDigit(characters[position]))
59 unsigned integerValue = charactersToUIntStrict(characters + lastParsedIndex, position - lastParsedIndex, &ok);
63 if (position < endOfCurrentToken && characters[position] == '.') {
66 while (position < endOfCurrentToken && (isASCIIDigit(characters[position]) || isASCIISpace(characters[position]))) {
67 if (isASCIIDigit(characters[position]))
68 fractionNumbers.append(characters[position]);
81 while (position < endOfCurrentToken && isASCIISpace(characters[positio
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DLatin1TextIterator.h33 Latin1TextIterator(const LChar* characters, int currentCharacter, int lastCharacter, int /*endCharacter*/) argument
34 : m_characters(characters)
57 const LChar* characters() const { return m_characters; } function in class:blink::Latin1TextIterator
H A DCharacter.cpp74 CodePath Character::characterRangeCodePath(const UChar* characters, unsigned len) argument
127 const UChar c = characters[i];
133 // U+1E00 through U+2000 characters with diacritics and stacked diacritics
144 UChar next = characters[++i];
264 unsigned Character::expansionOpportunityCount(const LChar* characters, size_t length, TextDirection direction, bool& isAfterExpansion) argument
269 if (treatAsSpace(characters[i])) {
278 if (treatAsSpace(characters[i - 1])) {
289 unsigned Character::expansionOpportunityCount(const UChar* characters, size_t length, TextDirection direction, bool& isAfterExpansion) argument
295 UChar32 character = characters[i];
301 if (U16_IS_LEAD(character) && i + 1 < length && U16_IS_TRAIL(characters[
354 normalizeSpacesInternal(const CharacterType* characters, unsigned length) argument
365 normalizeSpaces(const LChar* characters, unsigned length) argument
370 normalizeSpaces(const UChar* characters, unsigned length) argument
[all...]
H A DWidthCache.h66 template<typename CharacterType> SmallStringKey(CharacterType* characters, unsigned short length) argument
78 m_characters[i] = characters[i];
79 m_characters[i + 1] = characters[i + 1];
80 hasher.addCharactersAssumingAligned(characters[i], characters[i + 1]);
85 m_characters[i] = characters[i];
86 hasher.addCharacter(characters[i]);
92 const UChar* characters() const { return m_characters; } function in class:blink::WidthCache::SmallStringKey
208 return WTF::equal(a.characters(), b.characters(),
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringBuffer.h46 CharType* characters; local
47 m_data = StringImpl::createUninitialized(length, characters);
57 CharType* characters() { return length() ? const_cast<CharType*>(m_data->getCharacters<CharType>()) : 0; } function in class:WTF::StringBuffer
59 CharType& operator[](unsigned i) { ASSERT_WITH_SECURITY_IMPLICATION(i < length()); return characters()[i]; }
H A DTextCodecUserDefined.cpp66 static CString encodeComplexUserDefined(const CharType* characters, size_t length, UnencodableHandling handling) argument
74 U16_NEXT(characters, i, length, c);
93 CString TextCodecUserDefined::encodeCommon(const CharType* characters, size_t length, UnencodableHandling handling) argument
101 UChar c = characters[i];
110 return encodeComplexUserDefined(characters, length, handling);
113 CString TextCodecUserDefined::encode(const UChar* characters, size_t length, UnencodableHandling handling) argument
115 return encodeCommon(characters, length, handling);
118 CString TextCodecUserDefined::encode(const LChar* characters, size_t length, UnencodableHandling handling) argument
120 return encodeCommon(characters, length, handling);
H A DASCIIFastPath.h76 inline bool charactersAreAllASCII(const CharacterType* characters, size_t length) argument
79 const CharacterType* end = characters + length;
82 while (!isAlignedToMachineWord(characters) && characters != end) {
83 allCharBits |= *characters;
84 ++characters;
90 while (characters < wordEnd) {
91 allCharBits |= *(reinterpret_cast_ptr<const MachineWord*>(characters));
92 characters += loopIncrement;
96 while (characters !
[all...]
H A DStringBufferTest.cpp20 EXPECT_FALSE(buf1.characters());
24 EXPECT_FALSE(buf2.characters());
28 EXPECT_TRUE(buf3.characters());
H A DIntegerToStringConversion.h40 static inline ReturnType flush(LChar* characters, unsigned length, void*) { return StringImpl::create(characters, length); } argument
45 static inline ReturnType flush(LChar* characters, unsigned length, StringBuilder* stringBuilder) { stringBuilder->append(characters, length); } argument
50 static inline ReturnType flush(LChar* characters, unsigned length, void*) { return AtomicString(characters, length); } argument
H A DTextCodecUTF16.cpp90 UChar* q = buffer.characters();
130 buffer.shrink(q - buffer.characters());
135 CString TextCodecUTF16::encode(const UChar* characters, size_t length, UnencodableHandling) argument
149 // null characters inside it. Perhaps the result of encode should not be a CString.
152 UChar c = characters[i];
158 UChar c = characters[i];
167 CString TextCodecUTF16::encode(const LChar* characters, size_t length, UnencodableHandling) argument
177 bytes[i * 2] = characters[i];
183 bytes[i * 2 + 1] = characters[i];
H A DStringBuilder.cpp262 void StringBuilder::append(const UChar* characters, unsigned length) argument
267 ASSERT(characters);
270 if (length == 1 && !(*characters & ~0xff)) {
272 LChar lChar = static_cast<LChar>(*characters);
291 memcpy(m_bufferCharacters16 + m_length, characters, static_cast<size_t>(length) * sizeof(UChar));
294 memcpy(appendUninitialized<UChar>(length), characters, static_cast<size_t>(length) * sizeof(UChar)); local
297 void StringBuilder::append(const LChar* characters, unsigned length) argument
301 ASSERT(characters);
306 memcpy(dest, characters, static_cast<size_t>(length) * sizeof(LChar));
308 const LChar* end = characters
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DTextBoundaries.h39 PLATFORM_EXPORT int endOfFirstWordBoundaryContext(const UChar* characters, int length);
40 PLATFORM_EXPORT int startOfLastWordBoundaryContext(const UChar* characters, int length);
H A DTextBoundaries.cpp38 int endOfFirstWordBoundaryContext(const UChar* characters, int length) argument
43 U16_NEXT(characters, i, length, ch);
50 int startOfLastWordBoundaryContext(const UChar* characters, int length) argument
55 U16_PREV(characters, 0, i, ch);
H A DSurrogatePairAwareTextIterator.cpp33 SurrogatePairAwareTextIterator::SurrogatePairAwareTextIterator(const UChar* characters, int currentCharacter, int lastCharacter, int endCharacter) argument
34 : m_characters(characters)
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
H A Dcharacter_predicate.cc36 AcceptSet::AcceptSet(IntegerSet* characters) argument
37 : characters_(characters) {
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHeaderParser.java22 * contains a character from {@code characters}. Returns the input length if
23 * none of the requested characters can be found.
25 public static int skipUntil(String input, int pos, String characters) { argument
27 if (characters.indexOf(input.charAt(pos)) != -1) {
36 * space. Result is undefined if input contains newline characters.
/external/sfntly/cpp/src/sample/subtly/
H A Dcharacter_predicate.cc36 AcceptSet::AcceptSet(IntegerSet* characters) argument
37 : characters_(characters) {
/external/clang/test/Lexer/
H A Dunicode.c5 // This file contains Unicode characters; please do not "fix" them!
25 CHECK: The preprocessor should not complain about Unicode characters like ©.
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DStringEncoding.py26 def append(self, characters):
27 if isinstance(characters, _bytes):
29 characters = characters.decode("ASCII")
30 assert isinstance(characters, _unicode), str(type(characters))
31 self.chars.append(characters)
64 def append(self, characters):
65 if isinstance(characters, _unicode):
66 characters
[all...]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A DToSAXHandler.java114 * @param characters The string of characters to process.
118 * @see ExtendedContentHandler#characters(String)
120 public void characters(String characters) throws SAXException argument
122 final int len = characters.length();
127 characters.getChars(0,len, m_charsBuff, 0);
128 characters(m_charsBuff, 0, len);
347 public void characters(org.w3c.dom.Node node) method in class:ToSAXHandler
360 this.characters(dat
[all...]
H A DToTextSAXHandler.java349 * @see ExtendedContentHandler#characters(String)
351 public void characters(String characters) argument
354 final int length = characters.length();
359 characters.getChars(0, length, m_charsBuff, 0);
361 m_saxHandler.characters(m_charsBuff, 0, length);
365 * @see org.xml.sax.ContentHandler#characters(char[], int, int)
367 public void characters(char[] characters, int offset, int length) argument
371 m_saxHandler.characters(character
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DComplexTextController.h76 static PassRefPtr<ComplexTextRun> create(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange) argument
78 return adoptRef(new ComplexTextRun(ctRun, fontData, characters, stringLocation, stringLength, runRange));
81 static PassRefPtr<ComplexTextRun> create(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) argument
83 return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr));
88 const UChar* characters() const { return m_characters; } function in class:blink::ComplexTextController::ComplexTextRun
102 ComplexTextRun(CTRunRef, const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange);
103 ComplexTextRun(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);

Completed in 377 milliseconds

1234567891011>>