/third_party/node/deps/npm/node_modules/wrap-ansi/ |
D | index.js | 107 let rowLength = stringWidth(rows[rows.length - 1]); variable 110 if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) { 113 rowLength = 0; 116 if (rowLength > 0 || options.trim === false) { 118 rowLength++; 125 const remainingColumns = (columns - rowLength); 136 if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) { 137 if (options.wordWrap === false && rowLength < columns) { 145 if (rowLength + lengths[index] > columns && options.wordWrap === false) {
|
/third_party/mesa3d/src/glx/ |
D | pixel.c | 87 GLint rowLength = state->storeUnpack.rowLength; in FillBitmap() local 97 if (rowLength > 0) { in FillBitmap() 98 groupsPerRow = rowLength; in FillBitmap() 169 GLint rowLength = state->storeUnpack.rowLength; in __glFillImage() local 186 if (rowLength > 0) { in __glFillImage() 187 groupsPerRow = rowLength; in __glFillImage() 275 GLint rowLength = state->storePack.rowLength; in EmptyBitmap() local 288 if (rowLength > 0) { in EmptyBitmap() 289 groupsPerRow = rowLength; in EmptyBitmap() 396 GLint rowLength = state->storePack.rowLength; in __glEmptyImage() local [all …]
|
D | pixelstore.c | 86 state->storePack.rowLength = a; in __indirect_glPixelStoref() 147 state->storeUnpack.rowLength = a; in __indirect_glPixelStoref() 234 state->storePack.rowLength = param; in __indirect_glPixelStorei() 289 state->storeUnpack.rowLength = param; in __indirect_glPixelStorei()
|
D | single2.c | 249 *data = (GLintptr) state->storePack.rowLength; in get_client_data() 273 *data = (GLintptr) state->storeUnpack.rowLength; in get_client_data()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | UnpackRowLength.cpp | 47 void testRowLength(int texSize, int rowLength) in testRowLength() argument 49 glPixelStorei(GL_UNPACK_ROW_LENGTH, rowLength); in testRowLength() 56 std::vector<GLubyte> buf(rowLength * texSize * 4); in testRowLength() 59 std::vector<GLubyte>::iterator rowIter = buf.begin() + y * rowLength * 4; in testRowLength() 61 std::fill(rowIter + texSize * 4, rowIter + rowLength * 4, static_cast<GLubyte>(0u)); in testRowLength()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | UnpackRowLength.cpp | 47 void testRowLength(int texSize, int rowLength) in testRowLength() argument 49 glPixelStorei(GL_UNPACK_ROW_LENGTH, rowLength); in testRowLength() 56 std::vector<GLubyte> buf(rowLength * texSize * 4); in testRowLength() 59 std::vector<GLubyte>::iterator rowIter = buf.begin() + y * rowLength * 4; in testRowLength() 61 std::fill(rowIter + texSize * 4, rowIter + rowLength * 4, static_cast<GLubyte>(0u)); in testRowLength()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 1066 …, const char* desc, deUint32 internalFormat, int width, int height, int rowLength, int skipRows, i… in TexImage2DParamsCase() argument 1069 , m_rowLength (rowLength) in TexImage2DParamsCase() 1081 int rowLength = m_rowLength > 0 ? m_rowLength : m_width; in createTexture() local 1082 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() 1128 int rowLength, in TexImage3DParamsCase() argument 1136 , m_rowLength (rowLength) in TexImage3DParamsCase() 1149 int rowLength = m_rowLength > 0 ? m_rowLength : m_width; in createTexture() local 1150 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() 1359 int rowLength, in TexSubImage2DParamsCase() argument 1369 , m_rowLength (rowLength) in TexSubImage2DParamsCase() [all …]
|
D | es3fReadPixelsTests.cpp | 69 …st char* name, const char* description, int flags, int alignment, GLint rowLength, GLint skipRows,… 92 …st char* name, const char* description, int flags, int alignment, GLint rowLength, GLint skipRows,… in ReadPixelsTest() argument 98 , m_rowLength (rowLength) in ReadPixelsTest()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureSpecificationTests.cpp | 410 int rowLength, in TexImageCubeArrayBufferCase() argument 419 , m_rowLength (rowLength) in TexImageCubeArrayBufferCase() 433 int rowLength = m_rowLength > 0 ? m_rowLength : m_size; in createTexture() local 434 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() 497 int rowLength, in TexSubImageCubeArrayBufferCase() argument 512 , m_rowLength (rowLength) in TexSubImageCubeArrayBufferCase() 548 int rowLength = m_rowLength > 0 ? m_rowLength : m_subW; in createTexture() local 549 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() 726 int rowLength = m_size; in createTexture() local 728 int rowPitch = deAlign32(rowLength*pixelSize, alignment); in createTexture() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fBufferTestUtil.cpp | 370 static void renderQuadGridReference (tcu::Surface& dst, int numQuads, int rowLength, const deUint8*… in renderQuadGridReference() argument 374 …dst.setSize(rowLength*VERIFY_QUAD_SIZE, (numQuads/rowLength + (numQuads%rowLength != 0 ? 1 : 0))*V… in renderQuadGridReference() 381 int x0 = (quadNdx%rowLength)*VERIFY_QUAD_SIZE; in renderQuadGridReference() 382 int y0 = (quadNdx/rowLength)*VERIFY_QUAD_SIZE; in renderQuadGridReference()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | FramebufferGL.cpp | 507 packBuffer && packState.rowLength != 0 && in readPixels() 508 packState.rowLength < clippedArea.width; in readPixels() 521 packState.rowLength, &rowBytes)); in readPixels() 525 if (packState.rowLength == 0 && clippedArea.width != area.width) in readPixels() 529 packState.rowLength = area.width; in readPixels() 534 packState.rowLength && !GetImplAs<ContextGL>(context)->getNativeExtensions().packSubimage; in readPixels() 1287 pack.rowLength, &rowBytes)); in readPixelsRowByRow() 1331 pack.rowLength, &rowBytes)); in readPixelsAllAtOnce()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcPackedPixelsTests.cpp | 567 int rowLength; // number of groups in the row member 896 m_initialPackProperties.rowLength = 0; in resetInitialStorageModes() 905 m_initialUnpackProperties.rowLength = 0; in resetInitialStorageModes() 924 gl.pixelStorei(GL_PACK_ROW_LENGTH, pp.rowLength); in applyInitialStorageModes() 929 gl.pixelStorei(GL_UNPACK_ROW_LENGTH, up.rowLength); in applyInitialStorageModes() 1208 int rowLength = m_unpackProperties.rowLength; in makeGradient() local 1209 if (rowLength == 0) in makeGradient() 1210 rowLength = GRADIENT_WIDTH + m_unpackProperties.skipPixels; in makeGradient() 1215 int elementsInRowNoAlign = elementsInGroup * rowLength; in makeGradient() 1220 …elementsInRow = (int)(alignment * deFloatCeil(elementSize * elementsInGroup * rowLength / ((float)… in makeGradient() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsBufferTestUtil.cpp | 531 static void renderQuadGridReference (tcu::Surface& dst, int numQuads, int rowLength, const deUint8*… in renderQuadGridReference() argument 535 …dst.setSize(rowLength*VERIFY_QUAD_SIZE, (numQuads/rowLength + (numQuads%rowLength != 0 ? 1 : 0))*V… in renderQuadGridReference() 542 int x0 = (quadNdx%rowLength)*VERIFY_QUAD_SIZE; in renderQuadGridReference() 543 int y0 = (quadNdx/rowLength)*VERIFY_QUAD_SIZE; in renderQuadGridReference()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | FramebufferGL.cpp | 356 pack.rowLength, &originalReadFormatRowBytes)); in RearrangeEXTTextureNorm16Pixels() 691 packBuffer && packState.rowLength != 0 && in readPixels() 692 packState.rowLength < clippedArea.width; in readPixels() 705 packState.rowLength, &rowBytes)); in readPixels() 709 if (packState.rowLength == 0 && clippedArea.width != area.width) in readPixels() 713 packState.rowLength = area.width; in readPixels() 718 packState.rowLength && !GetImplAs<ContextGL>(context)->getNativeExtensions().packSubimageNV; in readPixels() 1497 pack.rowLength, &rowBytes)); in readPixelsRowByRow() 1552 pack.rowLength, &rowBytes)); in readPixelsAllAtOnce()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | formatutils.h | 90 GLint rowLength, 100 GLint rowLength,
|
D | State.h | 433 void setPackRowLength(GLint rowLength); 434 GLint getPackRowLength() const { return mPack.rowLength; } in getPackRowLength() 445 void setUnpackRowLength(GLint rowLength); 446 GLint getUnpackRowLength() const { return mUnpack.rowLength; } in getUnpackRowLength()
|
D | State.cpp | 1718 void State::setPackRowLength(GLint rowLength) in setPackRowLength() argument 1720 mPack.rowLength = rowLength; in setPackRowLength() 1742 void State::setUnpackRowLength(GLint rowLength) in setUnpackRowLength() argument 1744 mUnpack.rowLength = rowLength; in setUnpackRowLength() 2098 *params = mPack.rowLength; in getIntegerv() 2110 *params = mUnpack.rowLength; in getIntegerv()
|
/third_party/flutter/skia/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 324 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp); in setTextureData() local 325 if (static_cast<size_t>(rowLength * bpp) != rowBytes) { in setTextureData() 329 callgl(PixelStorei, GR_GL_UNPACK_ROW_LENGTH, rowLength); in setTextureData()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | PixelTransfer11.cpp | 138 static_cast<unsigned int>((unpack.rowLength > 0) ? unpack.rowLength : destArea.width); in setBufferToTextureCopyParams()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | PixelTransfer11.cpp | 139 static_cast<unsigned int>((unpack.rowLength > 0) ? unpack.rowLength : destArea.width); in setBufferToTextureCopyParams()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | formatutils.h | 149 GLint rowLength, 159 GLint rowLength,
|
D | State.h | 545 void setPackRowLength(GLint rowLength); 546 GLint getPackRowLength() const { return mPack.rowLength; } in getPackRowLength() 557 void setUnpackRowLength(GLint rowLength); 558 GLint getUnpackRowLength() const { return mUnpack.rowLength; } in getUnpackRowLength()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 885 void Context::setPackRowLength(GLint rowLength) in setPackRowLength() argument 887 mState.packParameters.rowLength = rowLength; in setPackRowLength() 900 void Context::setUnpackRowLength(GLint rowLength) in setUnpackRowLength() argument 902 mState.unpackParameters.rowLength = rowLength; in setUnpackRowLength() 1583 …GLint pixelsPerRow = (mState.unpackParameters.rowLength) > 0 ? mState.unpackParameters.rowLength :… in getRequiredBufferSize() 2344 *params = mState.packParameters.rowLength; in getIntegerv() 2381 *params = mState.unpackParameters.rowLength; in getIntegerv() 3377 …GLsizei outputWidth = (mState.packParameters.rowLength > 0) ? mState.packParameters.rowLength : wi… in readPixels()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | FramebufferNULL.cpp | 123 pack.rowLength, &rowBytes)); in readPixels()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | FramebufferNULL.cpp | 151 packState.rowLength, &rowBytes)); in readPixels()
|