Home
last modified time | relevance | path

Searched refs:dataStart (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/fetch/
DCachedMetadata.h70 if (m_serializedData.size() < dataStart) in data()
72 return m_serializedData.data() + dataStart; in data()
77 if (m_serializedData.size() < dataStart) in size()
79 return m_serializedData.size() - dataStart; in size()
100 ASSERT(size > dataStart); in CachedMetadata()
117 static const size_t dataStart = sizeof(unsigned); variable
DTextResourceDecoder.cpp252 const char* dataStart = m_buffer.data(); in checkForCSSCharset() local
253 const char* dataEnd = dataStart + m_buffer.size(); in checkForCSSCharset()
255 if (bytesEqual(dataStart, '@', 'c', 'h', 'a', 'r', 's', 'e', 't', ' ', '"')) { in checkForCSSCharset()
256 dataStart += 10; in checkForCSSCharset()
257 const char* pos = dataStart; in checkForCSSCharset()
264 int encodingNameLength = pos - dataStart; in checkForCSSCharset()
269 setEncoding(findTextEncoding(dataStart, encodingNameLength), EncodingFromCSSCharset); in checkForCSSCharset()
/external/chromium_org/third_party/icu/source/i18n/
Ducol_elm.cpp1456 uint8_t *dataStart; in uprv_uca_assembleTable() local
1473 dataStart = (uint8_t *)uprv_malloc(toAllocate); in uprv_uca_assembleTable()
1475 if (dataStart == NULL) { in uprv_uca_assembleTable()
1480 UCATableHeader *myData = (UCATableHeader *)dataStart; in uprv_uca_assembleTable()
1482 uprv_memset(dataStart, 0, toAllocate); in uprv_uca_assembleTable()
1501 uprv_memcpy(dataStart+tableOffset, t->options, sizeof(UColOptionSet)); in uprv_uca_assembleTable()
1507 uprv_memcpy(dataStart+tableOffset, expansions->CEs, expansions->position*sizeof(uint32_t)); in uprv_uca_assembleTable()
1515 … uprv_memcpy(dataStart+tableOffset, contractions->codePoints, contractionsSize*sizeof(UChar)); in uprv_uca_assembleTable()
1521 uprv_memcpy(dataStart+tableOffset, contractions->CEs, contractionsSize*sizeof(uint32_t)); in uprv_uca_assembleTable()
1534 …utrie_serialize(mapping, dataStart+tableOffset, toAllocate-tableOffset, getFoldedValue, FALSE, sta… in uprv_uca_assembleTable()
[all …]
/external/icu4c/i18n/
Ducol_elm.cpp1465 uint8_t *dataStart; in uprv_uca_assembleTable() local
1482 dataStart = (uint8_t *)uprv_malloc(toAllocate); in uprv_uca_assembleTable()
1484 if (dataStart == NULL) { in uprv_uca_assembleTable()
1489 UCATableHeader *myData = (UCATableHeader *)dataStart; in uprv_uca_assembleTable()
1491 uprv_memset(dataStart, 0, toAllocate); in uprv_uca_assembleTable()
1510 uprv_memcpy(dataStart+tableOffset, t->options, sizeof(UColOptionSet)); in uprv_uca_assembleTable()
1516 uprv_memcpy(dataStart+tableOffset, expansions->CEs, expansions->position*sizeof(uint32_t)); in uprv_uca_assembleTable()
1524 … uprv_memcpy(dataStart+tableOffset, contractions->codePoints, contractionsSize*sizeof(UChar)); in uprv_uca_assembleTable()
1530 uprv_memcpy(dataStart+tableOffset, contractions->CEs, contractionsSize*sizeof(uint32_t)); in uprv_uca_assembleTable()
1543 …utrie_serialize(mapping, dataStart+tableOffset, toAllocate-tableOffset, getFoldedValue, FALSE, sta… in uprv_uca_assembleTable()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSTokenizer-in.cpp318 inline LChar* CSSTokenizer::dataStart<LChar>() in dataStart() function in WebCore::CSSTokenizer
324 inline UChar* CSSTokenizer::dataStart<UChar>() in dataStart() function in WebCore::CSSTokenizer
335 location.offset = tokenStart<CharacterType>() - dataStart<CharacterType>(); in tokenLocation()
933 if (name - 1 == dataStart<CharacterType>()) in detectAtToken()
1392 …unsigned startOffset = currentCharacter<SrcCharacterType>() - dataStart<SrcCharacterType>() - 1; /… in realLex()
1409 … unsigned endOffset = currentCharacter<SrcCharacterType>() - dataStart<SrcCharacterType>(); in realLex()
DCSSTokenizer.h83 inline CharacterType* dataStart();
/external/aac/libAACdec/src/
Daacdecoder.cpp349 UINT dataStart; in CDataStreamElement_Read() local
369 dataStart = FDKgetValidBits(bs); in CDataStreamElement_Read()
378 FDKpushBack(bs, dataStart-FDKgetValidBits(bs)); in CDataStreamElement_Read()
385 FDKpushBiDirectional(bs, FDKgetValidBits(bs)-dataStart+dataBits); in CDataStreamElement_Read()
/external/icu4c/tools/genrb/
Dreslist.c389 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_preWrite() local
391 if (dataStart % BIN_ALIGNMENT) { in bin_preWrite()
392 pad = (BIN_ALIGNMENT - dataStart % BIN_ALIGNMENT); in bin_preWrite()
550 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_write() local
552 if (dataStart % BIN_ALIGNMENT) { in bin_write()
553 pad = (BIN_ALIGNMENT - dataStart % BIN_ALIGNMENT); in bin_write()
/external/chromium_org/third_party/icu/source/tools/genrb/
Dreslist.c387 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_preWrite() local
389 if (dataStart % BIN_ALIGNMENT) { in bin_preWrite()
390 pad = (BIN_ALIGNMENT - dataStart % BIN_ALIGNMENT); in bin_preWrite()
548 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_write() local
550 if (dataStart % BIN_ALIGNMENT) { in bin_write()
551 pad = (BIN_ALIGNMENT - dataStart % BIN_ALIGNMENT); in bin_write()
/external/skia/src/ports/
DSkFontHost_mac.cpp1695 char* dataStart = (char*)stream->getMemoryBase(); in onOpenStream() local
1696 sk_bzero(dataStart, totalSize); in onOpenStream()
1697 char* dataPtr = dataStart; in onOpenStream()
1727 entry->offset = SkEndian_SwapBE32(dataPtr - dataStart); in onOpenStream()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_mac.cpp1695 char* dataStart = (char*)stream->getMemoryBase(); in onOpenStream() local
1696 sk_bzero(dataStart, totalSize); in onOpenStream()
1697 char* dataPtr = dataStart; in onOpenStream()
1727 entry->offset = SkEndian_SwapBE32(dataPtr - dataStart); in onOpenStream()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorStyleSheet.cpp203 inline void StyleSheetHandler::setRuleHeaderEnd(const CharacterType* dataStart, unsigned listEndOff… in setRuleHeaderEnd() argument
206 if (isHTMLSpace<CharacterType>(*(dataStart + listEndOffset - 1))) in setRuleHeaderEnd()