Searched refs:newData (Results 1 - 25 of 75) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
H A DIntArray.java82 int[] newData = new int[newSize];
83 System.arraycopy(data, 0, newData, 0, data.length);
84 data = newData;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DIntArray.m82 int[] newData = new int[newSize];
83 System.arraycopy(data, 0, newData, 0, data.length);
84 data = newData;
H A DIntArray.h82 int[] newData = new int[newSize]; local
83 System.arraycopy(data, 0, newData, 0, data.length);
84 data = newData;
/external/fonttools/Lib/fontTools/ttLib/tables/
H A 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
[all...]
H A DD_S_I_G_.py45 dummy, newData = sstruct.unpack2(DSIG_HeaderFormat, data, self)
50 sigrec, newData = sstruct.unpack2(DSIG_SignatureFormat, newData, SignatureRecord())
54 dummy, newData = sstruct.unpack2(DSIG_SignatureBlockFormat, data[sigrec.ulOffset:], sigrec)
57 sigrec.pkcs7 = newData[:sigrec.cbSignature]
H A DG_M_A_P_.py81 dummy, newData = sstruct.unpack2(GMAPFormat, data, self)
82 self.psFontName = tostr(newData[:self.fontNameLength])
84 newData = data[self.recordsOffset:]
87 gmapRecord, newData = sstruct.unpack2(GMAPRecordFormat1, newData, GMAPRecord())
H A DG_P_K_G_.py23 dummy, newData = sstruct.unpack2(GPKGFormat, data, self)
27 GMAPoffsets.fromstring(newData[:endPos])
38 glyphletOffsets.fromstring(newData[pos:endPos])
/external/fonttools/Tools/fontTools/ttLib/tables/
H A 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
[all...]
H A DD_S_I_G_.py45 dummy, newData = sstruct.unpack2(DSIG_HeaderFormat, data, self)
50 sigrec, newData = sstruct.unpack2(DSIG_SignatureFormat, newData, SignatureRecord())
54 dummy, newData = sstruct.unpack2(DSIG_SignatureBlockFormat, data[sigrec.ulOffset:], sigrec)
57 sigrec.pkcs7 = newData[:sigrec.cbSignature]
H A DG_M_A_P_.py81 dummy, newData = sstruct.unpack2(GMAPFormat, data, self)
82 self.psFontName = tostr(newData[:self.fontNameLength])
84 newData = data[self.recordsOffset:]
87 gmapRecord, newData = sstruct.unpack2(GMAPRecordFormat1, newData, GMAPRecord())
H A DG_P_K_G_.py23 dummy, newData = sstruct.unpack2(GPKGFormat, data, self)
27 GMAPoffsets.fromstring(newData[:endPos])
38 glyphletOffsets.fromstring(newData[pos:endPos])
/external/chromium_org/chrome/browser/resources/ntp4/
H A Dmost_visited_page.js422 * @param {Array} newData The new Most Visited page list.
426 function refreshData(oldData, newData) {
428 newData = newData.slice(0, THUMBNAIL_COUNT);
431 for (var j = 0; j < newData.length; j++) {
432 if (newData[j].pinned) {
433 oldData[j] = newData[j];
436 // Mark the newData page as 'used' so we don't try to re-use it.
437 newData[j].used = true;
441 // Look through old pages; if they exist in the newData lis
[all...]
H A Dsuggestions_page.js402 * @param {Array} newData The new Suggestions page list.
406 function refreshData(oldData, newData) {
408 newData = newData.slice(0, THUMBNAIL_COUNT);
411 for (var i = 0; i < newData.length; i++) {
412 if (newData[i].pinned) {
413 oldData[i] = newData[i];
416 // Mark the newData page as 'used' so we don't try to re-use it.
417 newData[i].used = true;
421 // Look through old pages; if they exist in the newData lis
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DInnerClassesAttribute.java184 byte[] newData = new byte[len + 8];
186 newData[i] = data[i];
189 ByteArray.write16bit(n + 1, newData, 0);
191 ByteArray.write16bit(inner, newData, len);
192 ByteArray.write16bit(outer, newData, len + 2);
193 ByteArray.write16bit(name, newData, len + 4);
194 ByteArray.write16bit(flags, newData, len + 6);
196 set(newData);
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebCString.cpp65 char* newData; local
67 WTF::CString::newUninitialized(length, newData).buffer();
68 memcpy(newData, data, length);
/external/chromium_org/third_party/icu/source/test/perf/usetperf/
H A Dbitset.cpp53 int32_t* newData = (int32_t*) uprv_malloc(newLen * BYTES_PER_WORD); local
54 uprv_memcpy(newData, data, len * BYTES_PER_WORD);
56 data = newData;
/external/icu/icu4c/source/test/perf/usetperf/
H A Dbitset.cpp53 int32_t* newData = (int32_t*) uprv_malloc(newLen * BYTES_PER_WORD); local
54 uprv_memcpy(newData, data, len * BYTES_PER_WORD);
56 data = newData;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DBitArray.java95 long[] newData = new long[size];
97 System.arraycopy(data, 0, newData, 0, data.length);
99 data = newData;
141 long[] newData = new long[data.length + arrayShift];
142 System.arraycopy(data, 0, newData, arrayShift, data.length);
143 data = newData;
/external/chromium_org/third_party/skia/gm/
H A Detc1bitmap.cpp51 etc1_byte *newData = reinterpret_cast<etc1_byte *>(am.get()); local
53 etc1_pkm_format_header(newData, newWidth, newHeight);
54 newData += ETC_PKM_HEADER_SIZE;
58 memcpy(newData, origData, (blockWidth - 1)*ETC1_ENCODED_BLOCK_SIZE);
60 newData += (blockWidth - 1)*ETC1_ENCODED_BLOCK_SIZE;
/external/skia/gm/
H A Detc1bitmap.cpp51 etc1_byte *newData = reinterpret_cast<etc1_byte *>(am.get()); local
53 etc1_pkm_format_header(newData, newWidth, newHeight);
54 newData += ETC_PKM_HEADER_SIZE;
58 memcpy(newData, origData, (blockWidth - 1)*ETC1_ENCODED_BLOCK_SIZE);
60 newData += (blockWidth - 1)*ETC1_ENCODED_BLOCK_SIZE;
/external/chromium_org/remoting/webapp/
H A Dxmpp_stream_parser.js78 var newData = new Uint8Array(this.data_.byteLength + data.byteLength);
79 newData.set(new Uint8Array(this.data_), 0);
80 newData.set(new Uint8Array(data), this.data_.byteLength);
81 this.data_ = newData.buffer;
/external/chromium_org/third_party/skia/bench/
H A DETCBitmapBench.cpp52 etc1_byte* newData = reinterpret_cast<etc1_byte *>( local
54 etc1_pkm_format_header(newData, newWidth, newHeight);
56 etc1_byte* copyInto = newData;
73 return newData;
/external/skia/bench/
H A DETCBitmapBench.cpp52 etc1_byte* newData = reinterpret_cast<etc1_byte *>( local
54 etc1_pkm_format_header(newData, newWidth, newHeight);
56 etc1_byte* copyInto = newData;
73 return newData;
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DContentData.cpp61 OwnPtr<ContentData> newData = contentData->cloneInternal(); local
62 lastNewData->setNext(newData.release());
/external/srec/portable/src/
H A Dpmemory.c740 MemoryData* newData; local
793 newData = (MemoryData *) PortNew(actualSize);
794 if (newData == NULL)
802 memcpy(newData, oldData, actualSize);
806 memcpy(newData, oldData, oldSize);
810 newData = (MemoryData *) realloc(oldData, actualSize);
816 newData = oldData;
820 if (newData != NULL && bMalloc)
834 newData->stackTrace = oldStackTrace;
835 newData
[all...]

Completed in 895 milliseconds

123