Home
last modified time | relevance | path

Searched refs:ibuff (Results 1 – 6 of 6) 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.cpp180 GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* ibuff) { in bindWithIndexBuffer() argument
182 if (state && fIndexBufferUniqueID != ibuff->uniqueID()) { in bindWithIndexBuffer()
183 if (ibuff->isCPUBacked()) { in bindWithIndexBuffer()
186 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(ibuff); in bindWithIndexBuffer()
190 fIndexBufferUniqueID = ibuff->uniqueID(); in bindWithIndexBuffer()
DGrGLGpu.h536 GrGLAttribArrayState* bindInternalVertexArray(GrGLGpu*, const GrBuffer* ibuff = nullptr);
/external/skia/src/gpu/gl/
DGrGLVertexArray.cpp195 GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* ibuff) { in bindWithIndexBuffer() argument
200 if (ibuff->isCpuBuffer()) { in bindWithIndexBuffer()
203 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(ibuff); in bindWithIndexBuffer()
205 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(ibuff); in bindWithIndexBuffer()
DGrGLGpu.h633 GrGLAttribArrayState* bindInternalVertexArray(GrGLGpu*, const GrBuffer* ibuff = nullptr);
/external/skqp/tests/
DGrMeshTest.cpp167 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
168 VALIDATE(ibuff); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
180 mesh.setIndexed(ibuff, repetitionCount * 6, baseRepetition * 6, baseRepetition * 4, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
191 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
192 VALIDATE(ibuff); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
200 mesh.setIndexedPatterned(ibuff, 6, 4, kBoxCountX, kIndexPatternRepeatCount); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()