Home
last modified time | relevance | path

Searched refs:alignSize (Results 1 – 6 of 6) sorted by relevance

/external/lzma/C/
DAlloc.c401 size_t alignSize = (size_t)1 << p->numAlignBits; in AlignOffsetAlloc_Alloc() local
403 if (alignSize < sizeof(void *)) in AlignOffsetAlloc_Alloc()
404 alignSize = sizeof(void *); in AlignOffsetAlloc_Alloc()
406 if (p->offset >= alignSize) in AlignOffsetAlloc_Alloc()
412 newSize = size + alignSize + extra + ADJUST_ALLOC_SIZE; in AlignOffsetAlloc_Alloc()
422 alignSize - p->offset + extra + ADJUST_ALLOC_SIZE, alignSize) + p->offset; in AlignOffsetAlloc_Alloc()
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs128 var alignSize = in Prep()
132 while (_space < alignSize + size + additionalBytes) in Prep()
139 if (alignSize > 0) in Prep()
140 Pad(alignSize); in Prep()
/external/flatbuffers/python/flatbuffers/
Dbuilder.py331 alignSize = (~(len(self.Bytes) - self.Head() + additionalBytes)) + 1
332 alignSize &= (size - 1)
335 while self.Head() < alignSize+size+additionalBytes:
340 self.Pad(alignSize)
/external/flatbuffers/go/
Dbuilder.go254 alignSize := (^(len(b.Bytes) - int(b.Head()) + additionalBytes)) + 1
255 alignSize &= (size - 1)
258 for int(b.head) <= alignSize+size+additionalBytes {
263 b.Pad(alignSize)
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.cpp460 const unsigned alignSize = (unsigned)1 << alignShifts; in SkipToAligned() local
462 pos &= (alignSize - 1); in SkipToAligned()
465 unsigned skip = alignSize - pos; in SkipToAligned()
467 skip += alignSize; in SkipToAligned()
/external/v8/tools/profviz/
Dgnuplot-4.6.3-emscripten.js298 type.alignSize = 0;
302 var size, alignSize;
305 alignSize = Runtime.getAlignSize(field, size);
308 alignSize = Runtime.getAlignSize(null, Types.types[field].alignSize);
312 alignSize = 1;
316 if (type.packed) alignSize = 1;
317 type.alignSize = Math.max(type.alignSize, alignSize);
318 …var curr = Runtime.alignMemory(type.flatSize, alignSize); // if necessary, place this on aligned m…
326 type.flatSize = Runtime.alignMemory(type.flatSize, type.alignSize);