Searched refs:dataStart (Results 1 – 6 of 6) sorted by relevance
/external/webkit/Source/WebCore/loader/ |
D | CachedMetadata.h | 69 if (m_serializedData.size() < dataStart) in data() 71 return m_serializedData.data() + dataStart; in data() 76 if (m_serializedData.size() < dataStart) in size() 78 return m_serializedData.size() - dataStart; in size() 99 ASSERT(size > dataStart); in CachedMetadata() 116 static const size_t dataStart = sizeof(unsigned); variable
|
D | TextResourceDecoder.cpp | 448 const char* dataStart = m_buffer.data(); in checkForCSSCharset() local 449 const char* dataEnd = dataStart + m_buffer.size(); in checkForCSSCharset() 451 …if (dataStart[0] == '@' && dataStart[1] == 'c' && dataStart[2] == 'h' && dataStart[3] == 'a' && da… in checkForCSSCharset() 452 dataStart[5] == 's' && dataStart[6] == 'e' && dataStart[7] == 't') { in checkForCSSCharset() 454 dataStart += 8; in checkForCSSCharset() 455 const char* pos = dataStart; in checkForCSSCharset() 462 dataStart = pos; in checkForCSSCharset() 469 int encodingNameLength = pos - dataStart; in checkForCSSCharset() 476 … setEncoding(findTextEncoding(dataStart, encodingNameLength), EncodingFromCSSCharset); in checkForCSSCharset()
|
/external/webkit/Source/WebCore/platform/image-decoders/ |
D | ImageDecoder.cpp | 267 const int* dataStart = scaledValues.data(); in getScaledValue() local 268 const int* dataEnd = dataStart + scaledValues.size(); in getScaledValue() 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 …urn matched != dataEnd && *matched == valueToMatch ? matched - dataStart : matched - dataStart - 1; in getScaledValue() 277 return matched != dataEnd ? matched - dataStart : -1; in getScaledValue()
|
/external/icu4c/i18n/ |
D | ucol_elm.cpp | 1456 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/skia/src/ports/ |
D | SkFontHost_mac_coretext.cpp | 819 char* dataStart = (char*)stream->getMemoryBase(); in OpenStream() local 820 sk_bzero(dataStart, totalSize); in OpenStream() 821 char* dataPtr = dataStart; in OpenStream() 851 entry->fOffset = SkEndian_SwapBE32(dataPtr - dataStart); in OpenStream()
|
/external/icu4c/tools/genrb/ |
D | reslist.c | 387 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()
|