/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
ByteArrayRingBuffer.java | 44 * Adds |newData| to the ring buffer. Removes existing entries to make room, if necessary. 46 * <p><b>Note:</b> will fail if |newData| itself exceeds the size limit for this buffer. 49 * @param newData data to be added to the ring 52 public boolean appendBuffer(byte[] newData) { 53 pruneToSize(mMaxBytes - newData.length); 54 if (mBytesUsed + newData.length > mMaxBytes) { 58 mArrayList.add(newData); 59 mBytesUsed += newData.length;
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
IntArray.java | 82 int[] newData = new int[newSize]; 83 System.arraycopy(data, 0, newData, 0, data.length); 84 data = newData;
|
/frameworks/base/libs/hwui/ |
ProfileDataContainer.cpp | 61 ProfileData* newData = reinterpret_cast<ProfileData*>( 64 if (newData == MAP_FAILED) { 71 newData->mergeWith(*mData); 73 mData = newData;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
IntArray.m | 82 int[] newData = new int[newSize]; 83 System.arraycopy(data, 0, newData, 0, data.length); 84 data = newData;
|
IntArray.h | 82 int[] newData = new int[newSize]; 83 System.arraycopy(data, 0, newData, 0, data.length); 84 data = newData;
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DerIndefLenConverter.java | 51 private byte[] data, newData; 140 newData[newDataPos++] = (byte)tag; 190 System.arraycopy(lenBytes, 0, newData, newDataPos, 212 newData[newDataPos++] = (byte)curLen; 215 newData[newDataPos++] = (byte)0x81; 216 newData[newDataPos++] = (byte)curLen; 219 newData[newDataPos++] = (byte)0x82; 220 newData[newDataPos++] = (byte)(curLen >> 8); 221 newData[newDataPos++] = (byte)curLen; 224 newData[newDataPos++] = (byte)0x83 [all...] |
/external/skia/src/core/ |
SkCachedData.h | 40 virtual void onDataChange(void* oldData, void* newData) {} 70 void setData(void* newData) { 71 if (newData != fData) { 73 this->onDataChange(fData, newData); 74 fData = newData;
|
SkMipMap.h | 68 void onDataChange(void* oldData, void* newData) override { 69 fLevels = (Level*)newData; // could be nullptr
|
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/ |
BsPatch.java | 60 * Applies a patch from |patchData| to the data in |oldData|, writing the result to |newData|. 63 * @param newData stream to write the new artifact to 69 RandomAccessFile oldData, OutputStream newData, InputStream patchData) 72 newData = new BufferedOutputStream(newData, OUTPUT_STREAM_BUFFER_SIZE); 74 applyPatchInternal(oldData, newData, patchData); 76 newData.flush(); 85 final OutputStream newData, 114 // Offsets into |oldData| and |newData|. 121 // from |oldData| to |newData| by applying byte-by-byte addends. The addend bytes ar [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
M_E_T_A_.py | 76 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: [all...] |
D_S_I_G_.py | 45 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]
|
G_M_A_P_.py | 81 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())
|
/external/javassist/src/main/javassist/bytecode/ |
InnerClassesAttribute.java | 184 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/icu/icu4c/source/test/perf/usetperf/ |
bitset.cpp | 57 int32_t* newData = (int32_t*) uprv_malloc(newLen * BYTES_PER_WORD); 58 uprv_memcpy(newData, data, len * BYTES_PER_WORD); 60 data = newData;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
BytesBufferPool.java | 52 byte[] newData = new byte[data.length * 2]; 53 System.arraycopy(data, 0, newData, 0, data.length); 54 data = newData;
|
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/ |
BsPatchTest.java | 86 ByteArrayOutputStream newData = new ByteArrayOutputStream(); 87 BsPatch.transformBytes(patchInput.length, patchInputStream, oldData, newData, buffer1, buffer2); 88 byte[] actual = newData.toByteArray(); 113 ByteArrayOutputStream newData = new ByteArrayOutputStream(); 116 patchInput.length, patchInputStream, oldData, newData, buffer1, buffer2); 132 ByteArrayOutputStream newData = new ByteArrayOutputStream(); 135 patchInput.length + 1, patchInputStream, oldData, newData, buffer1, buffer2); 171 ByteArrayOutputStream newData = new ByteArrayOutputStream(); 173 BsPatch.applyPatch(new RandomAccessFile(oldFile, "r"), newData, patchIn); 194 ByteArrayOutputStream newData = new ByteArrayOutputStream() [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
OpenTypeTableWriter.java | 94 short[] newData = new short[data.length + 512]; 96 System.arraycopy(data, 0, newData, 0, data.length); 98 data = newData;
|
/packages/apps/Camera2/src/com/android/camera/data/ |
PhotoItemFactory.java | 57 PhotoItem newData = null; 62 newData = get(c); 67 return newData;
|
VideoItemFactory.java | 61 VideoItem newData = null; 66 newData = get(c); 71 return newData;
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
ReportAPI.java | 47 APIData newData; 137 ReportAPI(APIData oldData, APIData newData) { 139 this.newData = newData; 142 removed.removeAll(newData.set); 144 added = (TreeSet<APIInfo>)newData.set.clone(); 203 tempAdded.addAll(newData.set); 289 String title = "ICU4J API Comparison: " + oldData.name + " with " + newData.name; 320 pw.println("<h2>Withdrawn, Deprecated, or Obsoleted in " + newData.name + "</h2>"); 322 pw.println("<h2>Deprecated or Obsoleted in " + newData.name + "</h2>") [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
AtomicFile.java | 168 byte[] newData = new byte[pos+avail]; 169 System.arraycopy(data, 0, newData, 0, pos); 170 data = newData;
|
/frameworks/rs/ |
rsStream.cpp | 108 uint8_t *newData = (uint8_t*)malloc(mLength*2); 109 memcpy(newData, mData, mLength*sizeof(uint8_t)); 112 mData = newData;
|
/frameworks/support/compat/java/android/support/v4/util/ |
AtomicFile.java | 193 byte[] newData = new byte[pos+avail]; 194 System.arraycopy(data, 0, newData, 0, pos); 195 data = newData;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DictionaryBreakEngine.java | 107 int[] newData = new int[data.length * 2]; 108 System.arraycopy(data, 0, newData, 0, data.length); 109 data = newData;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DictionaryBreakEngine.java | 106 int[] newData = new int[data.length * 2]; 107 System.arraycopy(data, 0, newData, 0, data.length); 108 data = newData;
|