Home
last modified time | relevance | path

Searched refs:ibuff (Results 1 – 4 of 4) 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/skia/src/gpu/gl/
DGrGLVertexArray.cpp132 GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* ibuff) { in bindWithIndexBuffer() argument
134 if (state && fIndexBufferUniqueID != ibuff->uniqueID()) { in bindWithIndexBuffer()
135 if (ibuff->isCPUBacked()) { in bindWithIndexBuffer()
138 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(ibuff); in bindWithIndexBuffer()
142 fIndexBufferUniqueID = ibuff->uniqueID(); in bindWithIndexBuffer()
DGrGLGpu.h522 GrGLAttribArrayState* bindInternalVertexArray(GrGLGpu*, const GrBuffer* ibuff = nullptr);
/external/skia/tests/
DGrMeshTest.cpp159 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
160 VALIDATE(ibuff); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
172 mesh.setIndexed(ibuff.get(), repetitionCount * 6, baseRepetition * 6, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 auto ibuff = helper->getIndexBuffer(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
184 VALIDATE(ibuff); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
192 mesh.setIndexedPatterned(ibuff.get(), 6, 4, kBoxCountX, kIndexPatternRepeatCount); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()