Searched refs:totalSize (Results 1 - 25 of 66) sorted by relevance

123

/external/icu/icu4c/source/i18n/
H A Dcollationdatawriter.cpp222 int32_t totalSize = indexesLength * 4; local
230 indexes[CollationDataReader::IX_REORDER_CODES_OFFSET] = totalSize;
231 totalSize += reorderCodesLength * 4;
233 indexes[CollationDataReader::IX_REORDER_TABLE_OFFSET] = totalSize;
235 totalSize += 256;
238 indexes[CollationDataReader::IX_TRIE_OFFSET] = totalSize;
242 if(totalSize < capacity) {
243 length = utrie2_serialize(data.trie, dest + totalSize,
244 capacity - totalSize, &errorCode2);
255 totalSize
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
H A DDynamicArray.java63 int totalSize = 1;
68 totalSize *= size;
70 this.array = (T[]) new Object[totalSize];
82 int totalSize = 1;
87 totalSize *= size;
89 if (totalSize != data.length) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDictionaryData.java62 int totalSize = indexes[IX_TOTAL_SIZE] - offset;
66 byte[] data = new byte[totalSize];
71 Assert.assrt(i == totalSize);
74 Assert.assrt(totalSize % 2 == 0);
75 int num = totalSize / 2;
76 char[] data = new char[totalSize / 2];
H A DRBBIRuleBuilder.java182 int totalSize = headerSize + forwardTableSize + reverseTableSize
198 header[RBBIDataWrapper.DH_LENGTH] = totalSize; // fLength, the total size of all rule sections.
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DStatistics.java119 private int totalSize; field in class:Statistics.Data
138 this.totalSize = size;
152 totalSize += size;
182 totalSize + " bytes total\n");
187 int average = totalSize / count;
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
H A DDDSLoader.java433 * @param totalSize Total size of the image in bytes including the mipmaps
437 public ByteBuffer readGrayscale2D(boolean flip, int totalSize) throws IOException { argument
438 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize);
468 * @param totalSize Size of the image in bytes including mipmaps
472 public ByteBuffer readRGB2D(boolean flip, int totalSize) throws IOException { argument
489 ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize);
534 * @param totalSize Total size of the image in bytes, including mipmaps
538 public ByteBuffer readDXT2D(boolean flip, int totalSize) throws IOException { argument
541 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize);
571 * @param totalSize Tota
575 readGrayscale3D(boolean flip, int totalSize) argument
613 readRGB3D(boolean flip, int totalSize) argument
681 readDXT3D(boolean flip, int totalSize) argument
[all...]
/external/freetype/src/cff/
H A Dcf2arrst.c70 arrstack->totalSize = 0;
85 arrstack->totalSize = 0;
113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) )
116 arrstack->totalSize = newSize;
H A Dcf2arrst.h60 size_t totalSize; /* total bytes allocated */ member in struct:CF2_ArrStackRec_
/external/pdfium/third_party/freetype/src/cff/
H A Dcf2arrst.c70 arrstack->totalSize = 0;
85 arrstack->totalSize = 0;
113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) )
116 arrstack->totalSize = newSize;
H A Dcf2arrst.h60 size_t totalSize; /* total bytes allocated */ member in struct:CF2_ArrStackRec_
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMultidimensionalCounter.java61 private final int totalSize; field in class:MultidimensionalCounter
186 totalSize = tS;
217 index >= totalSize) {
218 throw new OutOfRangeException(index, 0, totalSize);
280 return totalSize;
/external/guava/guava/src/com/google/common/collect/
H A DAbstractMapBasedMultimap.java111 private transient int totalSize; field in class:AbstractMapBasedMultimap
128 totalSize = 0;
131 totalSize += values.size();
178 return totalSize;
194 totalSize++;
201 totalSize++;
236 totalSize -= collection.size();
241 totalSize++;
263 totalSize -= collection.size();
290 totalSize
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DAbstractMapBasedMultimap.java110 private transient int totalSize; field in class:AbstractMapBasedMultimap
127 totalSize = 0;
130 totalSize += values.size();
177 return totalSize;
193 totalSize++;
200 totalSize++;
235 totalSize -= collection.size();
240 totalSize++;
262 totalSize -= collection.size();
289 totalSize
[all...]
/external/skia/src/utils/
H A DSkFrontBufferedStream.cpp177 SkDEBUGCODE(const size_t totalSize = size;)
187 SkASSERT(size + (fOffset - start) == totalSize);
201 SkASSERT(size + (fOffset - start) == totalSize);
210 SkASSERT(size + (fOffset - start) == totalSize);
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_array.cpp35 pdfium::base::CheckedNumeric<int> totalSize = nNewSize; local
36 totalSize *= m_nUnitSize;
37 if (!totalSize.IsValid()) {
41 m_pData = FX_Alloc(FX_BYTE, totalSize.ValueOrDie());
50 pdfium::base::CheckedNumeric<int> totalSize = nNewMax;
51 totalSize *= m_nUnitSize;
52 if (!totalSize.IsValid() || nNewMax < m_nSize) {
55 FX_LPBYTE pNewData = FX_Realloc(FX_BYTE, m_pData, totalSize.ValueOrDie());
/external/lzma/C/
H A DXzIn.c60 ADD_SIZE_CHECH(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3);
104 READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize);
106 if (block->totalSize == 0)
206 UInt64 totalSize = Xz_GetPackSize(p); local
207 UInt64 sum = XZ_STREAM_HEADER_SIZE + totalSize + indexSize;
208 if (totalSize == XZ_SIZE_OVERFLOW ||
210 totalSize >= ((UInt64)1 << 63))
H A DXzEnc.c94 pos = Xz_WriteVarInt(buf, block->totalSize);
124 SRes Xz_AddIndexRecord(CXzStream *p, UInt64 unpackSize, UInt64 totalSize, ISzAlloc *alloc) argument
146 block->totalSize = totalSize;
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
H A DTerrainQuad.java96 protected int totalSize; // the size of this entire terrain tree (on one side) field in class:TerrainQuad
98 protected int size; // size of this quad, can be between totalSize and patchSize
144 * @param totalSize the size of this entire terrain tree (on one side)
148 public TerrainQuad(String name, int patchSize, int totalSize, float[] heightMap) { argument
149 this(name, patchSize, totalSize, Vector3f.UNIT_XYZ, heightMap);
158 * @param totalSize the size of this entire terrain tree (on one side)
162 public TerrainQuad(String name, int patchSize, int quadSize, int totalSize, float[] heightMap) { argument
163 this(name, patchSize, totalSize, quadSize, Vector3f.UNIT_XYZ, heightMap);
171 * @param size size of this quad, can be between totalSize and patchSize
188 * @param totalSize th
194 TerrainQuad(String name, int patchSize, int totalSize, int quadSize, Vector3f scale, float[] heightMap) argument
201 TerrainQuad(String name, int patchSize, int quadSize, Vector3f scale, float[] heightMap, int totalSize, Vector2f offset, float offsetAmount) argument
[all...]
H A DTerrainPatch.java90 protected int totalSize; field in class:TerrainPatch
160 * @param totalSize
169 float[] heightMap, Vector3f origin, int totalSize,
174 this.totalSize = totalSize;
181 Mesh m = geomap.createMesh(stepScale, new Vector2f(1,1), offset, offsetAmount, totalSize, false);
631 return totalSize;
684 * @param totalSize
687 public void setTotalSize(int totalSize) { argument
688 this.totalSize
168 TerrainPatch(String name, int size, Vector3f stepScale, float[] heightMap, Vector3f origin, int totalSize, Vector2f offset, float offsetAmount) argument
[all...]
/external/icu/icu4c/source/tools/toolutil/
H A Dcollationinfo.cpp29 int32_t totalSize = indexes[CollationDataReader::IX_TOTAL_SIZE]; local
30 if(sizeWithHeader > totalSize) {
31 printf(" header size: %6ld\n", (long)(sizeWithHeader - totalSize));
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
H A DMipMapGenerator.java90 int totalSize = 0;
97 totalSize += converted.getData(0).capacity();
111 ByteBuffer combinedData = BufferUtils.createByteBuffer(totalSize);
/external/icu/icu4c/source/common/
H A Drbbirb.cpp165 int32_t totalSize = headerSize + forwardTableSize + reverseTableSize local
169 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize);
174 uprv_memset(data, 0, totalSize);
182 data->fLength = totalSize;
H A Ducnvsel.cpp183 int32_t totalSize = 0; local
186 totalSize +=
189 // 4-align the totalSize to 4-align the size of the serialized form
190 int32_t encodingStrPadding = totalSize & 3;
194 newSelector->encodingStrLength = totalSize += encodingStrPadding;
195 char* allStrings = (char*) uprv_malloc(totalSize);
315 int32_t totalSize = local
321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize;
322 if (totalSize > bufferCapacity) {
324 return totalSize;
506 int32_t totalSize = ucnvsel_swap(ds, p, -1, NULL, status); local
[all...]
H A Drbbidata.cpp365 int32_t totalSize = headerSize + breakDataLength; local
367 return totalSize;
373 if (length < totalSize) {
470 return totalSize;
/external/skia/src/gpu/
H A DGrMemoryPool.cpp144 size_t totalSize = ptrOffset + block->fFreeSize; local
145 size_t userSize = totalSize - kHeaderSize;
149 SkASSERT(!(totalSize % kAlignment));

Completed in 3944 milliseconds

123