Home
last modified time | relevance | path

Searched refs:indexSize (Results 1 – 13 of 13) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DItemLocationBox.java64 public int indexSize = 0; field in ItemLocationBox
88 IsoTypeWriter.writeUInt8(byteBuffer, (baseOffsetSize << 4 | indexSize)); in getContent()
108 indexSize = tmp & 0xf; in _parseDetails()
142 return indexSize; in getIndexSize()
145 public void setIndexSize(int indexSize) { in setIndexSize() argument
146 this.indexSize = indexSize; in setIndexSize()
305 if ((getVersion() == 1) && indexSize > 0) { in Extent()
306 extentIndex = IsoTypeReaderVariable.read(in, indexSize); in Extent()
313 if ((getVersion() == 1) && indexSize > 0) { in getContent()
314 IsoTypeWriterVariable.write(extentIndex, os, indexSize); in getContent()
[all …]
/external/pdfium/core/fpdftext/
Dcpdf_textpagefind.cpp51 int indexSize = pdfium::CollectionSize<int>(m_CharIndex); in CPDF_TextPageFind() local
54 if (indexSize % 2) { in CPDF_TextPageFind()
57 if (indexSize <= 0) in CPDF_TextPageFind()
59 m_CharIndex[indexSize - 1] += 1; in CPDF_TextPageFind()
62 if (indexSize % 2) { in CPDF_TextPageFind()
63 if (indexSize <= 0) in CPDF_TextPageFind()
65 m_CharIndex[indexSize - 1] = i + 1; in CPDF_TextPageFind()
71 int indexSize = pdfium::CollectionSize<int>(m_CharIndex); in CPDF_TextPageFind() local
72 if (indexSize % 2) in CPDF_TextPageFind()
73 m_CharIndex.erase(m_CharIndex.begin() + indexSize - 1); in CPDF_TextPageFind()
Dcpdf_textpage.cpp181 int indexSize = pdfium::CollectionSize<int>(m_CharIndex); in ParseTextPage() local
185 if (indexSize % 2) { in ParseTextPage()
188 if (indexSize <= 0) in ParseTextPage()
190 m_CharIndex[indexSize - 1] += 1; in ParseTextPage()
193 if (indexSize % 2) { in ParseTextPage()
194 if (indexSize <= 0) in ParseTextPage()
196 m_CharIndex[indexSize - 1] = i + 1; in ParseTextPage()
202 int indexSize = pdfium::CollectionSize<int>(m_CharIndex); in ParseTextPage() local
203 if (indexSize % 2) in ParseTextPage()
204 m_CharIndex.erase(m_CharIndex.begin() + indexSize - 1); in ParseTextPage()
[all …]
/external/lzma/C/
DXzIn.c124 static SRes Xz_ReadIndex(CXzStream *p, ILookInStream *stream, UInt64 indexSize, ISzAllocPtr alloc) in Xz_ReadIndex() argument
129 if (indexSize > ((UInt32)1 << 31)) in Xz_ReadIndex()
131 size = (size_t)indexSize; in Xz_ReadIndex()
132 if (size != indexSize) in Xz_ReadIndex()
153 UInt64 indexSize; in Xz_ReadBackward() local
208 indexSize = ((UInt64)GetUi32(buf + 4) + 1) << 2; in Xz_ReadBackward()
210 if (pos < indexSize) in Xz_ReadBackward()
213 pos -= indexSize; in Xz_ReadBackward()
215 RINOK(Xz_ReadIndex(p, stream, indexSize, alloc)); in Xz_ReadBackward()
DXzDec.c764 static BoolInt Xz_CheckFooter(CXzStreamFlags flags, UInt64 indexSize, const Byte *buf) in Xz_CheckFooter() argument
766 return indexSize == (((UInt64)GetUi32(buf + 4) + 1) << 2) in Xz_CheckFooter()
960 p->indexSize = 0; in XzUnpacker_PrepareToRandomBlockDecoding()
975 p->indexSize += num; in XzUnpacker_UpdateIndex()
1112 p->indexSize = 0; in XzUnpacker_Code()
1133 p->indexSize += p->indexPreSize; in XzUnpacker_Code()
1234 if (p->indexPos < p->indexSize) in XzUnpacker_Code()
1236 UInt64 cur = p->indexSize - p->indexPos; in XzUnpacker_Code()
1251 p->indexSize++; in XzUnpacker_Code()
1259 p->indexSize += 4; in XzUnpacker_Code()
[all …]
DXz.h230 UInt64 indexSize; member
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c428 unsigned indexSize, in r300_emit_draw_elements() argument
453 if (indexSize == 2 && (start & 1) && in r300_emit_draw_elements()
469 offset_dwords = indexSize * start / sizeof(uint32_t); in r300_emit_draw_elements()
476 if (indexSize == 4) { in r300_emit_draw_elements()
589 unsigned indexSize = info->index_size; in r300_draw_elements() local
605 &indexSize, index_offset, &start, count); in r300_draw_elements()
608 if (indexSize == 2 && (start & 1) && indexBuffer) { in r300_draw_elements()
621 r300_upload_index_buffer(r300, &indexBuffer, indexSize, &start, in r300_draw_elements()
626 r300_upload_index_buffer(r300, &indexBuffer, indexSize, in r300_draw_elements()
639 r300_emit_draw_elements(r300, indexBuffer, indexSize, in r300_draw_elements()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.cpp357 const deUint32 indexSize = getIndexSize(root); in buildFinalIndex() local
359 if (indexSize > 0) in buildFinalIndex()
361 dst->resize(indexSize); in buildFinalIndex()
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java373 final int indexSize = mIndexBuffer.capacity() * 2; in generateHardwareBuffers() local
376 gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, indexSize, mIndexBuffer, in generateHardwareBuffers()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dfrontend.cpp1528 uint32_t indexSize = 0; in ProcessDraw() local
1537 indexSize = sizeof(uint32_t); in ProcessDraw()
1541 indexSize = sizeof(uint16_t); in ProcessDraw()
1546 indexSize = sizeof(uint8_t); in ProcessDraw()
1688 …ices = (int32_t *)((uint8_t *)fetchInfo_lo.pIndices + KNOB_SIMD_WIDTH * indexSize); // 1/2 of K… in ProcessDraw()
1919 …tchInfo_lo.pIndices = (int32_t *)((uint8_t*)fetchInfo_lo.pIndices + KNOB_SIMD16_WIDTH * indexSize); in ProcessDraw()
1920 …tchInfo_hi.pIndices = (int32_t *)((uint8_t*)fetchInfo_hi.pIndices + KNOB_SIMD16_WIDTH * indexSize); in ProcessDraw()
2108 … fetchInfo.pIndices = (int*)((uint8_t*)fetchInfo.pIndices + KNOB_SIMD_WIDTH * indexSize); in ProcessDraw()
Dapi.cpp1305 uint32_t indexSize = 0; in DrawIndexedInstance() local
1308 case R32_UINT: indexSize = sizeof(uint32_t); break; in DrawIndexedInstance()
1309 case R16_UINT: indexSize = sizeof(uint16_t); break; in DrawIndexedInstance()
1310 case R8_UINT: indexSize = sizeof(uint8_t); break; in DrawIndexedInstance()
1317 pIB += (uint64_t)indexOffset * (uint64_t)indexSize; in DrawIndexedInstance()
1370 pIB += maxIndicesPerDraw * indexSize; in DrawIndexedInstance()
/external/deqp/modules/glshared/
DglsDrawTest.cpp2963 int indexSize = 0; in isCompatibilityTest() local
2965 indexSize = 1; in isCompatibilityTest()
2967 indexSize = 2; in isCompatibilityTest()
2969 indexSize = 4; in isCompatibilityTest()
2973 if (indexPointerOffset % indexSize != 0) in isCompatibilityTest()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp690 const deUint32 indexSize = m_data.params.firstIndex + m_data.params.indexCount; in generateDrawData() local
693 m_data.indexes = std::vector<deUint32>(indexSize, 0); in generateDrawData()