Home
last modified time | relevance | path

Searched refs:dataEnd (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/WebCore/platform/image-decoders/
DImageDecoder.cpp268 const int* dataEnd = dataStart + scaledValues.size(); in getScaledValue() local
269 const int* matched = std::lower_bound(dataStart + searchStart, dataEnd, valueToMatch); in getScaledValue()
272 return matched != dataEnd && *matched == valueToMatch ? matched - dataStart : -1; in getScaledValue()
274 …return matched != dataEnd && *matched == valueToMatch ? matched - dataStart : matched - dataStart … in getScaledValue()
277 return matched != dataEnd ? matched - dataStart : -1; in getScaledValue()
/external/webkit/Source/JavaScriptCore/wtf/unicode/
DUTF8.cpp317 unsigned calculateStringHashAndLengthFromUTF8(const char* data, const char* dataEnd, unsigned& data… in calculateStringHashAndLengthFromUTF8() argument
326 while (data < dataEnd || (!dataEnd && *data)) { in calculateStringHashAndLengthFromUTF8()
337 if (!dataEnd) { in calculateStringHashAndLengthFromUTF8()
342 } else if (dataEnd - data < utf8SequenceLength) in calculateStringHashAndLengthFromUTF8()
DUTF8.h73 …unsigned calculateStringHashAndLengthFromUTF8(const char* data, const char* dataEnd, unsigned& dat…
/external/webkit/Source/WebCore/loader/
DTextResourceDecoder.cpp382 static inline bool skipWhitespace(const char*& pos, const char* dataEnd) in skipWhitespace() argument
384 while (pos < dataEnd && (*pos == '\t' || *pos == ' ')) in skipWhitespace()
386 return pos != dataEnd; in skipWhitespace()
449 const char* dataEnd = dataStart + m_buffer.size(); in checkForCSSCharset() local
456 if (!skipWhitespace(pos, dataEnd)) in checkForCSSCharset()
464 while (pos < dataEnd && *pos != quotationMark) in checkForCSSCharset()
466 if (pos == dataEnd) in checkForCSSCharset()
472 if (!skipWhitespace(pos, dataEnd)) in checkForCSSCharset()
/external/skia/src/sfnt/
DSkOTUtils.cpp29 SK_OT_ULONG *dataEnd = data + ((length + 3) & ~3) / sizeof(SK_OT_ULONG); in CalcTableChecksum() local
30 for (; data < dataEnd; ++data) { in CalcTableChecksum()