Home
last modified time | relevance | path

Searched refs:baseOffset (Results 1 – 25 of 37) sorted by relevance

12

/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/
DHeapByteBuffer.java160 int baseOffset = offset + index; in loadInt() local
165 bytes = bytes | (backingArray[baseOffset + i] & 0xFF); in loadInt()
170 bytes = bytes | (backingArray[baseOffset + i] & 0xFF); in loadInt()
177 int baseOffset = offset + index; in loadLong() local
182 bytes = bytes | (backingArray[baseOffset + i] & 0xFF); in loadLong()
187 bytes = bytes | (backingArray[baseOffset + i] & 0xFF); in loadLong()
194 int baseOffset = offset + index; in loadShort() local
197 bytes = (short)(backingArray[baseOffset] << 8); in loadShort()
198 bytes |= (backingArray[baseOffset + 1] & 0xFF); in loadShort()
200 bytes = (short)(backingArray[baseOffset + 1] << 8); in loadShort()
[all …]
DDirectByteBuffer.java169 protected final int loadInt (int baseOffset) { in loadInt() argument
174 bytes = bytes | (byteArray.get(baseOffset + i) & 0xFF); in loadInt()
179 bytes = bytes | (byteArray.get(baseOffset + i) & 0xFF); in loadInt()
185 protected final long loadLong (int baseOffset) { in loadLong() argument
190 bytes = bytes | (byteArray.get(baseOffset + i) & 0xFF); in loadLong()
195 bytes = bytes | (byteArray.get(baseOffset + i) & 0xFF); in loadLong()
201 protected final short loadShort (int baseOffset) { in loadShort() argument
204 bytes = (short)(byteArray.get(baseOffset) << 8); in loadShort()
205 bytes |= (byteArray.get(baseOffset + 1) & 0xFF); in loadShort()
207 bytes = (short)(byteArray.get(baseOffset + 1) << 8); in loadShort()
[all …]
DStringByteBuffer.java203 protected final int loadInt (int baseOffset) { in loadInt() argument
207 bytes = bytes | (get(baseOffset + i) & 0xFF); in loadInt()
212 protected final short loadShort (int baseOffset) { in loadShort() argument
214 bytes = (short)(get(baseOffset + 1) << 8); in loadShort()
215 bytes |= (get(baseOffset) & 0xFF); in loadShort()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DBaseDexBuffer.java40 /* package private */ final int baseOffset; field in BaseDexBuffer
47 this.baseOffset = offset; in BaseDexBuffer()
52 offset += baseOffset; in readSmallUint()
65 offset += baseOffset; in readOptionalUint()
78 offset += baseOffset; in readUshort()
84 return buf[offset + baseOffset] & 0xff; in readUbyte()
89 offset += baseOffset; in readLong()
102 offset += baseOffset; in readLongAsSmallUint()
119 offset += baseOffset; in readInt()
128 offset += baseOffset; in readShort()
[all …]
DBaseDexReader.java52 int end = dexBuf.baseOffset + offset; in readSleb128()
87 offset = end - dexBuf.baseOffset; in readSleb128()
96 int end = dexBuf.baseOffset + offset; in readUleb128()
132 offset = end - dexBuf.baseOffset; in readUleb128()
153 int end = dexBuf.baseOffset + offset; in readBigUleb128()
182 offset = end - dexBuf.baseOffset; in readBigUleb128()
187 int end = dexBuf.baseOffset + offset; in skipUleb128()
209 offset = end - dexBuf.baseOffset; in skipUleb128()
288 int o = dexBuf.baseOffset + offset; in readSizedInt()
314 offset = o + bytes - dexBuf.baseOffset; in readSizedInt()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DItemLocationBox.java158 …eItem(int itemId, int constructionMethod, int dataReferenceIndex, long baseOffset, List<Extent> ex… in createItem() argument
159 return new Item(itemId, constructionMethod, dataReferenceIndex, baseOffset, extents); in createItem()
170 public long baseOffset; field in ItemLocationBox.Item
183 baseOffset = IsoTypeReaderVariable.read(in, baseOffsetSize); in Item()
185 baseOffset = 0; in Item()
195 …public Item(int itemId, int constructionMethod, int dataReferenceIndex, long baseOffset, List<Exte… in Item() argument
199 this.baseOffset = baseOffset; in Item()
221 public void setBaseOffset(long baseOffset) { in setBaseOffset() argument
222 this.baseOffset = baseOffset; in setBaseOffset()
235 IsoTypeWriterVariable.write(baseOffset, bb, baseOffsetSize); in getContent()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/
DBillboardParticleBatch.java380 int baseOffset = particlesOffset[tp]*currentVertexSize*4; in fillVerticesGPU() local
403 …putVertex(vertices, baseOffset, px, py, pz, u, v2, -sx, -sy, cosRotation, sinRotation, r, g, b, a); in fillVerticesGPU()
404 baseOffset += currentVertexSize; in fillVerticesGPU()
405 …putVertex(vertices, baseOffset, px, py, pz, u2, v2, sx, -sy, cosRotation, sinRotation, r, g, b, a); in fillVerticesGPU()
406 baseOffset += currentVertexSize; in fillVerticesGPU()
407 … putVertex(vertices, baseOffset, px, py, pz, u2, v, sx, sy, cosRotation, sinRotation, r, g, b, a); in fillVerticesGPU()
408 baseOffset += currentVertexSize; in fillVerticesGPU()
409 … putVertex(vertices, baseOffset, px, py, pz, u, v, -sx, sy, cosRotation, sinRotation, r, g, b, a); in fillVerticesGPU()
410 baseOffset += currentVertexSize; in fillVerticesGPU()
542 int baseOffset = particlesOffset[tp]*currentVertexSize*4; in fillVerticesToViewPointCPU() local
[all …]
/external/parameter-framework/upstream/parameter/
DParameterAccessContext.cpp37 size_t baseOffset) in CParameterAccessContext() argument
40 _uiBaseOffset(baseOffset) in CParameterAccessContext()
46 size_t baseOffset) in CParameterAccessContext() argument
47 : base(strError), _pParameterBlackboard(pParameterBlackboard), _uiBaseOffset(baseOffset) in CParameterAccessContext()
68 void CParameterAccessContext::setBaseOffset(size_t baseOffset) in setBaseOffset() argument
70 _uiBaseOffset = baseOffset; in setBaseOffset()
DParameterAccessContext.h82 void setBaseOffset(size_t baseOffset);
DArrayParameter.h72 std::string getValues(size_t baseOffset, CParameterAccessContext &parameterAccessContext) const;
DConfigurableDomains.cpp569 const CConfigurableElement *pConfigurableElement, size_t &baseOffset, bool &bIsLastApplied, in findConfigurationBlackboard() argument
591 baseOffset, bIsLastApplied, strError); in findConfigurationBlackboard()
DConfigurableDomains.h157 const CConfigurableElement *pConfigurableElement, size_t &baseOffset, bool &bIsLastApplied,
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/
DSmalideaSparseSwitchPayload.java56 final int baseOffset; in getSwitchElements() local
59 baseOffset = 0; in getSwitchElements()
61 baseOffset = sparseSwitchInstruction.getOffset(); in getSwitchElements()
82 return label.getOffset() - baseOffset; in getSwitchElements()
DSmalideaPackedSwitchPayload.java57 final int baseOffset; in getSwitchElements() local
60 baseOffset = 0; in getSwitchElements()
62 baseOffset = packedSwitchInstruction.getOffset(); in getSwitchElements()
89 return label.getOffset() - baseOffset; in getSwitchElements()
/external/dng_sdk/source/
Ddng_memory_stream.cpp90 uint64 baseOffset = offset; in DoRead() local
103 uint8 *dPtr = ((uint8 *) data) + (uint32) (offset - baseOffset); in DoRead()
194 uint64 baseOffset = offset; in DoWrite() local
204 const uint8 *sPtr = ((const uint8 *) data) + (uint32) (offset - baseOffset); in DoWrite()
/external/libgdx/gdx/test/com/badlogic/gdx/math/
DIntersectorTest.java15 private static boolean triangleEquals (float[] base, int baseOffset, int stride, float[] comp) { in triangleEquals() argument
17 assertTrue(base.length - baseOffset >= 9); in triangleEquals()
23 int b = baseOffset + i * stride; in triangleEquals()
33 int b = baseOffset + ((offset + i) * stride) % (3 * stride); in triangleEquals()
/external/skia/src/gpu/gl/
DGrGLVertexBuffer.h25 size_t baseOffset() const { return fImpl.baseOffset(); } in baseOffset() function
DGrGLIndexBuffer.h25 size_t baseOffset() const { return fImpl.baseOffset(); } in baseOffset() function
DGrGLTransferBuffer.h25 size_t baseOffset() const { return fImpl.baseOffset(); } in baseOffset() function
DGrGLBufferImpl.h48 size_t baseOffset() const { return reinterpret_cast<size_t>(fCPUData); } in baseOffset() function
/external/icu/icu4c/source/layout/
DGlyphPositionAdjustments.h58 le_int32 baseOffset; variable
141 : xPlacement(0), yPlacement(0), xAdvance(0), yAdvance(0), baseOffset(-1) in Adjustment()
147 : xPlacement(xPlace), yPlacement(yPlace), xAdvance(xAdv), yAdvance(yAdv), baseOffset(baseOff) in Adjustment()
179 return baseOffset; in getBaseOffset()
204 baseOffset = newBaseOffset; in setBaseOffset()
DGlyphIterator.h59 void setCurrGlyphBaseOffset(le_int32 baseOffset);
DGlyphIterator.cpp236 void GlyphIterator::setCurrGlyphBaseOffset(le_int32 baseOffset) in setCurrGlyphBaseOffset() argument
248 glyphPositionAdjustments->setBaseOffset(position, baseOffset); in setCurrGlyphBaseOffset()
/external/skia/src/doc/
DSkDocument_PDF.cpp234 size_t baseOffset = stream->bytesWritten(); in emit_pdf_document() local
242 SkASSERT(offset > baseOffset); in emit_pdf_document()
243 offsets.push(SkToS32(offset - baseOffset)); in emit_pdf_document()
251 int32_t xRefFileOffset = SkToS32(stream->bytesWritten() - baseOffset); in emit_pdf_document()
/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.cpp247 deUint32 addAndCountNodes (BinaryIndexNode* index, deUint32 baseOffset, const SparseIndexNode* grou… in addAndCountNodes() argument
258 const deUint32 subtreeSize = addAndCountNodes(index+curOffset, baseOffset+curOffset, child); in addAndCountNodes()
267 index[childNdx].index = baseOffset+curOffset; in addAndCountNodes()

12