Home
last modified time | relevance | path

Searched refs:newData (Results 1 – 25 of 70) sorted by relevance

123

/external/perfetto/ui/src/controller/
Dadb_socket_controller.ts180 private canCompleteSizeHeader(newData: Uint8Array) {
181 return newData.length + this.incomingBufferLen > WIRE_PROTOCOL_HEADER_SIZE;
184 private canParseFullMessage(newData: Uint8Array) {
186 this.incomingBufferLen + newData.length >= this.frameToParseLen;
194 handleReceivedData(newData: Uint8Array) {
195 if (this.incompleteSizeHeader() && this.canCompleteSizeHeader(newData)) {
200 this.appendToIncomingBuffer(newData.subarray(0, newDataBytesToRead));
201 newData = newData.subarray(newDataBytesToRead);
208 while (this.canParseFullMessage(newData)) {
211 this.parseMessage(newData.subarray(0, this.frameToParseLen));
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DM_E_T_A_.py76 dummy, newData = sstruct.unpack2(METAHeaderFormat, data, self)
79 glyphRecord, newData = sstruct.unpack2(METAGlyphRecordFormat, newData, GlyphRecord())
81 [glyphRecord.offset] = struct.unpack(">H", newData[:2])
82 newData = newData[2:]
84 [glyphRecord.offset] = struct.unpack(">H", newData[:4])
85 newData = newData[4:]
89 newData = data[glyphRecord.offset:]
91 stringRec, newData = sstruct.unpack2(METAStringRecordFormat, newData, StringRecord())
93 [stringRec.offset] = struct.unpack(">H", newData[:2])
94 newData = newData[2:]
[all …]
DD_S_I_G_.py44 dummy, newData = sstruct.unpack2(DSIG_HeaderFormat, data, self)
49 sigrec, newData = sstruct.unpack2(DSIG_SignatureFormat, newData, SignatureRecord())
53 dummy, newData = sstruct.unpack2(DSIG_SignatureBlockFormat, data[sigrec.ulOffset:], sigrec)
56 sigrec.pkcs7 = newData[:sigrec.cbSignature]
DG_M_A_P_.py77 dummy, newData = sstruct.unpack2(GMAPFormat, data, self)
78 self.psFontName = tostr(newData[:self.fontNameLength])
80 newData = data[self.recordsOffset:]
83 gmapRecord, newData = sstruct.unpack2(GMAPRecordFormat1, newData, GMAPRecord())
/external/javassist/src/main/javassist/bytecode/
DInnerClassesAttribute.java200 byte[] newData = new byte[len + 8]; in append()
202 newData[i] = data[i]; in append()
205 ByteArray.write16bit(n + 1, newData, 0); in append()
207 ByteArray.write16bit(inner, newData, len); in append()
208 ByteArray.write16bit(outer, newData, len + 2); in append()
209 ByteArray.write16bit(name, newData, len + 4); in append()
210 ByteArray.write16bit(flags, newData, len + 6); in append()
212 set(newData); in append()
236 byte[] newData = new byte[len - 8]; in remove()
237 ByteArray.write16bit(n - 1, newData, 0); in remove()
[all …]
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DReportAPI.java47 APIData newData; field in ReportAPI
137 ReportAPI(APIData oldData, APIData newData) { in ReportAPI() argument
139 this.newData = newData; in ReportAPI()
142 removed.removeAll(newData.set); in ReportAPI()
144 added = (TreeSet<APIInfo>)newData.set.clone(); in ReportAPI()
203 tempAdded.addAll(newData.set); in ReportAPI()
289 String title = "ICU4J API Comparison: " + oldData.name + " with " + newData.name; in writeReport()
320 pw.println("<h2>Withdrawn, Deprecated, or Obsoleted in " + newData.name + "</h2>"); in writeReport()
322 pw.println("<h2>Deprecated or Obsoleted in " + newData.name + "</h2>"); in writeReport()
332 pw.println("<h2>Changed in " + newData.name + " (old, new)</h2>"); in writeReport()
[all …]
/external/skqp/src/core/
DSkCachedData.h41 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()
/external/skia/src/core/
DSkCachedData.h41 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()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DIntArrayQueue.java101 int[] newData = new int[newCapacity]; in doubleArraySize() local
104 System.arraycopy(data, headIndex, newData, 0, itemsToRight); in doubleArraySize()
105 System.arraycopy(data, 0, newData, itemsToRight, itemsToLeft); in doubleArraySize()
109 data = newData; in doubleArraySize()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DThreadContextElementTest.kt67 val newData = MyData() in <lambda>() constant
68 GlobalScope.async(it + MyElement(newData)) { in <lambda>()
69 assertSame(newData, myThreadLocal.get()) in <lambda>()
73 withContext(it + MyElement(newData)) { in <lambda>()
74 assertSame(newData, myThreadLocal.get()) in <lambda>()
/external/cldr/tools/java/org/unicode/cldr/icu/
DLDML2ICUBinaryWriter.java437 String newData = ""; in stripRules() local
459 while (newData.length() > 0 in stripRules()
460 … && (isNewLine(newData.charAt(newData.length() - 1)) || isUWhiteSpace(newData.charAt(newData in stripRules()
462 if (newData.length() == 1) { in stripRules()
463 newData = ""; in stripRules()
465 newData = newData.substring(0, newData.length() - 2); in stripRules()
545 newData += curChar; in stripRules()
548 newData += curChar2; in stripRules()
555 if (newData.length() > data.length()) { in stripRules()
558 return newData; in stripRules()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/misc/
DIntArray.java82 int[] newData = new int[newSize]; in ensureCapacity() local
83 System.arraycopy(data, 0, newData, 0, data.length); in ensureCapacity()
84 data = newData; in ensureCapacity()
/external/skqp/tools/viewer/
DStatsLayer.cpp32 TimerData& newData = fTimers.push_back(); in addTimer() local
33 memset(newData.fTimes, 0, sizeof(newData.fTimes)); in addTimer()
34 newData.fLabel = label; in addTimer()
35 newData.fColor = color; in addTimer()
36 newData.fLabelColor = labelColor ? labelColor : color; in addTimer()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/decoder/
DDecoderInputBuffer.java147 ByteBuffer newData = createReplacementByteBuffer(requiredCapacity); in ensureSpaceForWrite() local
148 newData.order(data.order()); in ensureSpaceForWrite()
152 newData.put(data); in ensureSpaceForWrite()
155 data = newData; in ensureSpaceForWrite()
/external/skia/tools/viewer/
DStatsLayer.cpp38 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()
/external/icu/icu4c/source/test/perf/usetperf/
Dbitset.cpp57 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()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeAdaptiveDataSet.java144 FakeData newData = this.newData(uri); in FakeAdaptiveDataSet() local
146 newData.appendReadData((int) (avgChunkLength * bitrateFactors[j])); in FakeAdaptiveDataSet()
151 newData.appendReadData(lastChunkLength); in FakeAdaptiveDataSet()
DFakeTrackOutput.java78 byte[] newData = new byte[length]; in sampleData()
79 int bytesAppended = input.read(newData, 0, length); in sampleData()
86 newData = Arrays.copyOf(newData, bytesAppended); in sampleData()
87 sampleData = TestUtil.joinByteArrays(sampleData, newData); in sampleData()
93 byte[] newData = new byte[length]; in sampleData()
94 data.readBytes(newData, 0, length); in sampleData()
95 sampleData = TestUtil.joinByteArrays(sampleData, newData); in sampleData()
DFakeDataSet.java259 return newData(uri).appendReadData(data).endData(); in setData()
263 public FakeData newData(String uri) { in newData() method in FakeDataSet
264 return newData(Uri.parse(uri)); in newData()
268 public FakeData newData(Uri uri) { in newData() method in FakeDataSet
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DOpenTypeTableWriter.java94 short[] newData = new short[data.length + 512]; in writeData() local
96 System.arraycopy(data, 0, newData, 0, data.length); in writeData()
98 data = newData; in writeData()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DFrameworkMediaDrm.java459 ByteBuffer newData = ByteBuffer.allocate(length + extraBytes); in addLaUrlAttributeIfMissing() local
460 newData.order(ByteOrder.LITTLE_ENDIAN); in addLaUrlAttributeIfMissing()
461 newData.putInt(length + extraBytes); in addLaUrlAttributeIfMissing()
462 newData.putShort((short) objectRecordCount); in addLaUrlAttributeIfMissing()
463 newData.putShort((short) recordType); in addLaUrlAttributeIfMissing()
464 newData.putShort((short) (xmlWithMockLaUrl.length() * UTF_16_BYTES_PER_CHARACTER)); in addLaUrlAttributeIfMissing()
465 newData.put(xmlWithMockLaUrl.getBytes(Charset.forName(C.UTF16LE_NAME))); in addLaUrlAttributeIfMissing()
466 return newData.array(); in addLaUrlAttributeIfMissing()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMutableCodePointTrie.java441 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 …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java449 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 …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DUnicodeEscapeProcessingProvider.java294 char[] newData = new char[_data.length + 1024]; in pushBack() local
295 _len = newData.length; in pushBack()
296 _pos = newData.length - _data.length; in pushBack()
297 System.arraycopy(_data, 0, newData, _pos, _data.length); in pushBack()
298 _data = newData; in pushBack()
/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/
DFakeDataSourceTest.java49 .newData(uri.toString()) in setUp()
104 .newData(uri.toString()) in testDummyData()
125 .newData(uri.toString()) in testException()
162 .newData(uri.toString()) in testRunnable()
194 new FakeDataSource(new FakeDataSet().newData(uri.toString()).endData()); in testOpenSourceFailures()

123