/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/ |
D | FontDataTable.java | 119 WritableFontData newData; in data() local 125 newData = WritableFontData.createWritableFontData(size); in data() 126 this.subSerialize(newData); in data() 129 newData = WritableFontData.createWritableFontData(data != null ? data.length() : 0); in data() 131 data.copyTo(newData); in data() 134 return newData; in data() 176 WritableFontData newData = WritableFontData.createWritableFontData(size); in build() local 177 this.subSerialize(newData); in build() 178 data = newData; in build() 204 WritableFontData newData = in internalWriteData() local [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
D | LookupList.java | 41 ReadableFontData newData; in readLookupData() local 50 newData = data.slice(offset, nextOffset - offset); in readLookupData() 52 newData = data.slice(offset); in readLookupData() 54 return newData; in readLookupData() 97 private int serializeFromBuilders(WritableFontData newData) { in serializeFromBuilders() argument 101 newData.writeUShort(LOOKUP_COUNT_OFFSET, serializedCount); in serializeFromBuilders() 108 newData.writeUShort(rpos, spos); in serializeFromBuilders() 111 WritableFontData targetData = newData.slice(spos); in serializeFromBuilders() 120 protected int subSerialize(WritableFontData newData) { in subSerialize() argument 124 data.copyTo(newData); in subSerialize() [all …]
|
D | LayoutCommonTable.java | 114 protected int subSerialize(WritableFontData newData) { in subSerialize() argument 118 newData.writeULong(VERSION_OFFSET, VERSION_ID); in subSerialize() 120 newData.writeUShort(SCRIPT_LIST_OFFSET, pos); in subSerialize() 121 pos += serializedScriptListBuilder.subSerialize(newData.slice(pos)); in subSerialize() 122 newData.writeUShort(FEATURE_LIST_OFFSET, pos); in subSerialize() 123 pos += serializedFeatureListBuilder.subSerialize(newData.slice(pos)); in subSerialize() 124 newData.writeUShort(LOOKUP_LIST_OFFSET, pos); in subSerialize() 125 pos += serializedLookupListBuilder.subSerialize(newData.slice(pos)); in subSerialize()
|
D | ReverseChainSingleSubst.java | 83 public int subSerialize(WritableFontData newData) { in subSerialize() argument 90 return serializeFromData(newData); in subSerialize() 99 coverageBuilder.subSerialize(newData); in subSerialize() 101 backtrackGlyphsBuilder.subSerialize(newData, subTableWriteOffset); in subSerialize() 105 lookAheadGlyphsBuilder.subSerialize(newData.slice(tableWriteOffset), subTableWriteOffset); in subSerialize() 155 private int serializeFromData(WritableFontData newData) { in serializeFromData() argument 158 data.copyTo(newData); in serializeFromData()
|
D | ScriptTable.java | 26 ReadableFontData newData = data.slice(defaultLangSysOffset); in defaultLangSysTable() local 27 LangSysTable langSysTable = new LangSysTable(newData, dataIsCanonical); in defaultLangSysTable() 105 public int subSerialize(WritableFontData newData) { in subSerialize() argument 106 int byteCount = super.subSerialize(newData); in subSerialize() 108 byteCount += defLangSysBuilder.subSerialize(newData.slice(byteCount)); in subSerialize()
|
D | OTSubTable.java | 118 public final int subSerialize(WritableFontData newData) { in subSerialize() argument 120 internalReadData().copyTo(newData); in subSerialize() 122 writeModel(newData); in subSerialize()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/ |
D | TagOffsetsTable.java | 126 public int subSerialize(WritableFontData newData) { in subSerialize() argument 131 int writtenBytes = super.subSerialize(newData); in subSerialize() 133 return serializeFromBuilders(newData.slice(writtenBytes)); in subSerialize() 135 return serializeFromData(newData.slice(writtenBytes)); in subSerialize() 248 private int serializeFromBuilders(WritableFontData newData) { in serializeFromBuilders() argument 260 TagOffsetRecordList recordList = new TagOffsetRecordList(newData); in serializeFromBuilders() 267 subTableFillPos += builder.subSerialize(newData.slice(subTableFillPos)); in serializeFromBuilders() 270 recordList.writeTo(newData); in serializeFromBuilders() 274 private int serializeFromData(WritableFontData newData) { in serializeFromData() argument 277 data.copyTo(newData); in serializeFromData() [all …]
|
D | OffsetRecordTable.java | 199 public int subSerialize(WritableFontData newData, int subTableWriteOffset) { in subSerialize() argument 205 return serializeFromBuilders(newData, subTableWriteOffset); in subSerialize() 207 return serializeFromData(newData); in subSerialize() 211 public int subSerialize(WritableFontData newData) { in subSerialize() argument 212 return subSerialize(newData, 0); in subSerialize() 310 private int serializeFromBuilders(WritableFontData newData, int subTableWriteOffset) { in serializeFromBuilders() argument 325 NumRecordList recordList = new NumRecordList(newData); in serializeFromBuilders() 330 subTableFillPos += builder.subSerialize(newData.slice(subTableFillPos)); in serializeFromBuilders() 333 recordList.writeTo(newData); in serializeFromBuilders() 337 private int serializeFromData(WritableFontData newData) { in serializeFromData() argument [all …]
|
D | RecordsTable.java | 100 public int subSerialize(WritableFontData newData) { in subSerialize() argument 106 return serializeFromData(newData); in subSerialize() 109 return records.writeTo(newData); in subSerialize() 157 private int serializeFromData(WritableFontData newData) { in serializeFromData() argument 160 data.copyTo(newData); in serializeFromData()
|
D | SubstLookupRecord.java | 19 public int writeTo(WritableFontData newData, int base) { in writeTo() argument 20 newData.writeUShort(base + SEQUENCE_INDEX_OFFSET, sequenceIndex); in writeTo() 21 newData.writeUShort(base + LOOKUP_LIST_INDEX_OFFSET, lookupListIndex); in writeTo()
|
D | RangeRecord.java | 22 public int writeTo(WritableFontData newData, int base) { in writeTo() argument 23 newData.writeUShort(base + START_OFFSET, start); in writeTo() 24 newData.writeUShort(base + END_OFFSET, end); in writeTo()
|
D | TagOffsetRecord.java | 24 public int writeTo(WritableFontData newData, int base) { in writeTo() argument 25 newData.writeULong(base + TAG_POS, tag); in writeTo() 26 newData.writeUShort(base + OFFSET_POS, offset); in writeTo()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/chaincontextsubst/ |
D | ChainSubGenericRule.java | 61 public int subSerialize(WritableFontData newData) { in subSerialize() argument 68 return serializeFromData(newData); in subSerialize() 71 return backtrackGlyphsBuilder.writeTo(newData) + inputGlyphsBuilder.writeTo(newData) in subSerialize() 72 + lookAheadGlyphsBuilder.writeTo(newData) + lookupRecordsBuilder.writeTo(newData); in subSerialize() 115 private int serializeFromData(WritableFontData newData) { in serializeFromData() argument 118 data.copyTo(newData); in serializeFromData()
|
D | InnerArraysFmt3.java | 73 public int subSerialize(WritableFontData newData) { in subSerialize() argument 80 return serializeFromData(newData); in subSerialize() 88 + lookupRecordsBuilder.writeTo(newData.slice(tableOnlySize)); in subSerialize() 90 backtrackGlyphsBuilder.subSerialize(newData, subTableWriteOffset); in subSerialize() 94 inputGlyphsBuilder.subSerialize(newData.slice(tableWriteOffset), subTableWriteOffset); in subSerialize() 98 lookAheadGlyphsBuilder.subSerialize(newData.slice(tableWriteOffset), subTableWriteOffset); in subSerialize() 155 private int serializeFromData(WritableFontData newData) { in serializeFromData() argument 158 data.copyTo(newData); in serializeFromData()
|
/third_party/skia/src/core/ |
D | SkCachedData.h | 41 virtual void onDataChange(void* oldData, void* newData) {} in onDataChange() argument 71 void setData(void* newData) { in setData() argument 72 if (newData != fData) { in setData() 74 this->onDataChange(fData, newData); in setData() 75 fData = newData; in setData()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
D | CMapFormat4.java | 467 protected int subSerialize(WritableFontData newData) { in subSerialize() argument 469 return super.subSerialize(newData); in subSerialize() 473 index += newData.writeUShort(index, CMapFormat.Format4.value()); in subSerialize() 476 index += newData.writeUShort(index, this.language()); in subSerialize() 478 index += newData.writeUShort(index, segCount * 2); in subSerialize() 481 index += newData.writeUShort(index, searchRange); in subSerialize() 483 index += newData.writeUShort(index, entrySelector); in subSerialize() 485 index += newData.writeUShort(index, rangeShift); in subSerialize() 488 index += newData.writeUShort(index, this.segments.get(i).getEndCount()); in subSerialize() 492 index += newData.writeUShort(index, this.segments.get(i).getStartCount()); in subSerialize() [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/contextsubst/ |
D | DoubleRecordTable.java | 66 public int subSerialize(WritableFontData newData) { in subSerialize() argument 72 return serializeFromData(newData); in subSerialize() 75 return inputGlyphIdsBuilder.writeTo(newData) + substLookupRecordsBuilder.writeTo(newData); in subSerialize() 114 private int serializeFromData(WritableFontData newData) { in serializeFromData() argument 117 data.copyTo(newData); in serializeFromData()
|
/third_party/node/deps/npm/node_modules/libnpmpublish/lib/ |
D | publish.js | 198 const patchMetadata = (current, newData) => { 205 const newVersion = Object.keys(newData.versions)[0] 208 const { name: pkgid, version } = newData 220 current.versions[newVersion] = newData.versions[newVersion] 221 for (const i in newData) { 227 for (const j in newData[i]) { 229 current[i][j] = newData[i][j] 235 current[i] = newData[i]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/ |
D | EblcTable.java | 343 protected int subSerialize(WritableFontData newData) { in subSerialize() argument 345 int size = newData.writeFixed(0, this.version); in subSerialize() 346 size += newData.writeULong(size, this.sizeTableBuilders.size()); in subSerialize() 393 newData.writeUShort(indexSubTableArrayOffset, indexSubTableBuilder.firstGlyphIndex()); in subSerialize() 395 newData.writeUShort(indexSubTableArrayOffset, indexSubTableBuilder.lastGlyphIndex()); in subSerialize() 396 indexSubTableArrayOffset += newData.writeULong( in subSerialize() 401 indexSubTableBuilder.subSerialize(newData.slice(indexSubTableOffset)); in subSerialize() 410 indexSubTableOffset += newData.writePadding(indexSubTableOffset, padding); in subSerialize() 415 sizeTableOffset += sizeBuilder.subSerialize(newData.slice(sizeTableOffset)); in subSerialize()
|
D | IndexSubTableFormat5.java | 267 protected int subSerialize(WritableFontData newData) { in subSerialize() argument 268 int size = super.serializeIndexSubHeader(newData); in subSerialize() 272 .copyTo(newData.slice(Offset.indexSubTable5_imageSize.offset)); in subSerialize() 274 size += newData.writeULong(Offset.indexSubTable5_imageSize.offset, this.imageSize()); in subSerialize() 275 size += this.bigMetrics().subSerialize(newData.slice(size)); in subSerialize() 276 size += newData.writeULong(size, this.glyphArray.size()); in subSerialize() 278 size += newData.writeUShort(size, glyphId); in subSerialize()
|
D | IndexSubTableFormat2.java | 200 protected int subSerialize(WritableFontData newData) { in subSerialize() argument 201 int size = super.serializeIndexSubHeader(newData); in subSerialize() 203 size += this.internalReadData().slice(size).copyTo(newData.slice(size)); in subSerialize() 205 size += newData.writeLong(Offset.indexSubTable2_imageSize.offset, this.imageSize()); in subSerialize() 206 size += this.metrics.subSerialize(newData.slice(size)); in subSerialize()
|
/third_party/skia/tools/viewer/ |
D | StatsLayer.cpp | 38 TimerData& newData = fTimers.push_back(); in addTimer() local 39 memset(newData.fTimes, 0, sizeof(newData.fTimes)); in addTimer() 40 newData.fLabel = label; in addTimer() 41 newData.fColor = color; in addTimer() 42 newData.fLabelColor = labelColor ? labelColor : color; in addTimer()
|
/third_party/icu/icu4c/source/test/perf/usetperf/ |
D | bitset.cpp | 57 int32_t* newData = (int32_t*) uprv_malloc(newLen * BYTES_PER_WORD); in ensureCapacity() local 58 uprv_memcpy(newData, data, len * BYTES_PER_WORD); in ensureCapacity() 60 data = newData; in ensureCapacity()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | MutableCodePointTrie.java | 449 int[] newData = new int[capacity]; in allocDataBlock() local 450 for (int j = 0; j < dataLength; ++j) { newData[j] = data[j]; } in allocDataBlock() 451 data = newData; in allocDataBlock() 1023 int fastILimit, int[] newData, int dataNullIndex, MixedBlocks mixedBlocks) { in compactData() argument 1032 mixedBlocks.init(newData.length, blockLength); in compactData() 1033 mixedBlocks.extend(newData, 0, 0, newDataLength); in compactData() 1043 mixedBlocks.init(newData.length, blockLength); in compactData() 1044 mixedBlocks.extend(newData, 0, 0, newDataLength); in compactData() 1050 int n = mixedBlocks.findAllSameBlock(newData, value); in compactData() 1060 n = findAllSameBlock(newData, n + 1, newDataLength, value, blockLength); in compactData() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | MutableCodePointTrie.java | 441 int[] newData = new int[capacity]; in allocDataBlock() local 442 for (int j = 0; j < dataLength; ++j) { newData[j] = data[j]; } in allocDataBlock() 443 data = newData; in allocDataBlock() 1015 int fastILimit, int[] newData, int dataNullIndex, MixedBlocks mixedBlocks) { in compactData() argument 1024 mixedBlocks.init(newData.length, blockLength); in compactData() 1025 mixedBlocks.extend(newData, 0, 0, newDataLength); in compactData() 1035 mixedBlocks.init(newData.length, blockLength); in compactData() 1036 mixedBlocks.extend(newData, 0, 0, newDataLength); in compactData() 1042 int n = mixedBlocks.findAllSameBlock(newData, value); in compactData() 1052 n = findAllSameBlock(newData, n + 1, newDataLength, value, blockLength); in compactData() [all …]
|