Home
last modified time | relevance | path

Searched refs:ibuff (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/io/disktest/
Ddump.c38 int format_str(size_t iBytes, const char *ibuff, size_t ibuff_siz, char *obuff, in format_str() argument
46 (ibuff == NULL) && (ibuff_siz == 0) && in format_str()
52 if ((ibuff == NULL) || (obuff == NULL) || (iBytes < 1)) in format_str()
63 sprintf(buff, "%02X ", *(ibuff + i)); in format_str()
76 (isprint(*(ibuff + i))) ? *(ibuff + i) : '.'); in format_str()
83 int format_raw(size_t iBytes, const char *ibuff, char *obuff, size_t obuff_siz) in format_raw() argument
89 if ((iBytes == 0) && (ibuff == NULL) && in format_raw()
95 if ((ibuff == NULL) || (obuff == NULL) || (iBytes < 1)) in format_raw()
102 sprintf(buff, "%02X", *(ibuff + i)); in format_raw()
113 char *ibuff, *obuff, *buff_curr; in dump_data() local
[all …]
/external/skqp/src/gpu/gl/
DGrGLVertexArray.cpp203 GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* ibuff) { in bindWithIndexBuffer() argument
205 if (state && fIndexBufferUniqueID != ibuff->uniqueID()) { in bindWithIndexBuffer()
206 if (ibuff->isCPUBacked()) { in bindWithIndexBuffer()
209 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(ibuff); in bindWithIndexBuffer()
213 fIndexBufferUniqueID = ibuff->uniqueID(); in bindWithIndexBuffer()
DGrGLGpu.h536 GrGLAttribArrayState* bindInternalVertexArray(GrGLGpu*, const GrBuffer* ibuff = nullptr);
/external/skia/src/gpu/gl/
DGrGLVertexArray.cpp203 GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* ibuff) { in bindWithIndexBuffer() argument
205 if (state && fIndexBufferUniqueID != ibuff->uniqueID()) { in bindWithIndexBuffer()
206 if (ibuff->isCPUBacked()) { in bindWithIndexBuffer()
209 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(ibuff); in bindWithIndexBuffer()
213 fIndexBufferUniqueID = ibuff->uniqueID(); in bindWithIndexBuffer()
DGrGLGpu.h523 GrGLAttribArrayState* bindInternalVertexArray(GrGLGpu*, const GrBuffer* ibuff = nullptr);
/external/skia/tests/
DGrMeshTest.cpp160 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
161 VALIDATE(ibuff); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
173 mesh.setIndexed(ibuff.get(), repetitionCount * 6, baseRepetition * 6, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
184 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
185 VALIDATE(ibuff); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
193 mesh.setIndexedPatterned(ibuff.get(), 6, 4, kBoxCountX, kIndexPatternRepeatCount); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DGrMeshTest.cpp160 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
161 VALIDATE(ibuff); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
173 mesh.setIndexed(ibuff.get(), repetitionCount * 6, baseRepetition * 6, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
184 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
185 VALIDATE(ibuff); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
193 mesh.setIndexedPatterned(ibuff.get(), 6, 4, kBoxCountX, kIndexPatternRepeatCount); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()