/third_party/node/deps/npm/node_modules/wrap-ansi/ |
D | index.js | 21 const wrapWord = (rows, word, columns) => { argument 25 let visible = stringWidth(stripAnsi(rows[rows.length - 1])); 31 rows[rows.length - 1] += character; 33 rows.push(character); 51 rows.push(''); 58 if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) { 59 rows[rows.length - 2] += rows.pop(); 100 let rows = ['']; variable 104 rows[rows.length - 1] = rows[rows.length - 1].trimLeft(); 107 let rowLength = stringWidth(rows[rows.length - 1]); [all …]
|
/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLType.cpp | 34 if (this->columns() == other.columns() && this->rows() == other.rows()) { in coercionCost() 50 const Type& Type::toCompound(const Context& context, int columns, int rows) const { in toCompound() 52 if (columns == 1 && rows == 1) { in toCompound() 56 switch (rows) { in toCompound() 85 default: ABORT("unsupported row count (%d)", rows); in toCompound() 88 switch (rows) { in toCompound() 117 default: ABORT("unsupported row count (%d)", rows); in toCompound() 120 switch (rows) { in toCompound() 149 default: ABORT("unsupported row count (%d)", rows); in toCompound() 152 switch (rows) { in toCompound() [all …]
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
D | CsvParserTest.java | 100 List<List<String>> rows = parse(CsvParser.commaSeparated().allowMultiline(), in testMultiline() local 103 assertThat(rows).hasSize(1); in testMultiline() 104 assertThat(rows.get(0)).containsExactly("foo", "Hello,\nWorld!").inOrder(); in testMultiline() 109 List<List<String>> rows = parse( in testMultilineWithTrimming() local 113 assertThat(rows).hasSize(1); in testMultilineWithTrimming() 114 assertThat(rows.get(0)).containsExactly("foo", " Hello,\nWorld! ").inOrder(); in testMultilineWithTrimming() 129 List<ImmutableMap<String, String>> rows = parseMap( in testRowMapping() local 138 assertThat(rows).hasSize(5); in testRowMapping() 139 assertThat(rows.get(0)).containsExactly("FOO", "foo", "BAR", "bar").inOrder(); in testRowMapping() 140 assertThat(rows.get(1)).containsExactly("FOO", "Hello", "BAR", "World!").inOrder(); in testRowMapping() [all …]
|
/third_party/boost/boost/qvm/ |
D | mat_access.hpp | 30 BOOST_STATIC_ASSERT(R<mat_traits<M>::rows); in A() 44 BOOST_STATIC_ASSERT(R<mat_traits<M>::rows); in A() 52 …lar_type>::type A00( M const & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 0<mat_traits<M>:… in A00() 53 …lar_type>::type A01( M const & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 1<mat_traits<M>:… in A01() 54 …lar_type>::type A02( M const & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 2<mat_traits<M>:… in A02() 55 …lar_type>::type A03( M const & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 3<mat_traits<M>:… in A03() 56 …lar_type>::type A04( M const & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 4<mat_traits<M>:… in A04() 57 …lar_type>::type A05( M const & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 5<mat_traits<M>:… in A05() 58 …lar_type>::type A06( M const & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 6<mat_traits<M>:… in A06() 59 …lar_type>::type A07( M const & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 7<mat_traits<M>:… in A07() [all …]
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_bottlenecks.h | 55 uint32 rows, 65 uint32 rows, 75 uint32 rows, 87 uint32 rows, 100 uint32 rows, 113 uint32 rows, 126 uint32 rows, 139 uint32 rows, 152 uint32 rows, 165 uint32 rows, [all …]
|
D | dng_pixel_buffer.cpp | 548 uint32 rows = area.H (); in SetConstant() local 561 rows, in SetConstant() 574 if (rows == 1 && cols == 1 && dPlaneStep == 1 && value == 0) in SetConstant() 586 rows, in SetConstant() 602 if (rows == 1 && cols == 1 && dPlaneStep == 1 && value == 0) in SetConstant() 614 rows, in SetConstant() 630 if (rows == 1 && cols == 1 && dPlaneStep == 1 && value == 0) in SetConstant() 642 rows, in SetConstant() 717 uint32 rows = area.H (); in CopyArea() local 740 rows, in CopyArea() [all …]
|
D | dng_reference.h | 44 uint32 rows, 53 uint32 rows, 62 uint32 rows, 73 uint32 rows, 85 uint32 rows, 97 uint32 rows, 109 uint32 rows, 121 uint32 rows, 133 uint32 rows, 145 uint32 rows, [all …]
|
/third_party/boost/libs/numeric/odeint/test_external/eigen/ |
D | resize.cpp | 40 BOOST_CHECK_EQUAL( a.rows() , 1 ); in BOOST_AUTO_TEST_CASE() 49 BOOST_CHECK_EQUAL( a.rows() , 5 ); in BOOST_AUTO_TEST_CASE() 51 BOOST_CHECK_EQUAL( b.rows() , 0 ); in BOOST_AUTO_TEST_CASE() 57 BOOST_CHECK_EQUAL( a.rows() , 5 ); in BOOST_AUTO_TEST_CASE() 59 BOOST_CHECK_EQUAL( b.rows() , 5 ); in BOOST_AUTO_TEST_CASE() 70 BOOST_CHECK_EQUAL( a.rows() , 5 ); in BOOST_AUTO_TEST_CASE() 72 BOOST_CHECK_EQUAL( b.rows() , 2 ); in BOOST_AUTO_TEST_CASE() 78 BOOST_CHECK_EQUAL( a.rows() , 5 ); in BOOST_AUTO_TEST_CASE() 80 BOOST_CHECK_EQUAL( b.rows() , 5 ); in BOOST_AUTO_TEST_CASE() 97 BOOST_CHECK_EQUAL( a.rows() , 1 ); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/node/lib/internal/repl/ |
D | utils.js | 166 return cursorPos.rows === displayPos.rows && 173 const rows = displayPos.rows - cursorPos.rows + 1; 174 moveCursor(repl.output, 0, rows); 176 moveCursor(repl.output, 0, -rows); 183 let pos, rows; 187 rows = pos.displayPos.rows - pos.cursorPos.rows; 188 moveCursor(repl.output, 0, rows); 194 if (newPos.rows === 0 || (pos && pos.displayPos.rows === newPos.rows)) { 201 moveCursor(repl.output, 0, -rows); 272 moveCursor(repl.output, 0, displayPos.rows - cursorPos.rows); [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmCompositeInsertTests.cpp | 44 string getColType (deUint32 rows) in getColType() argument 46 return string("%v") + de::toString(rows) + "f32"; in getColType() 49 string getMatrixType (deUint32 cols, deUint32 rows) in getMatrixType() argument 51 return string("%mat") + de::toString(cols) + "v" + de::toString(rows) + "f"; in getMatrixType() 54 string getMatrixDeclarations (deUint32 cols, deUint32 rows, bool skipColDecl = false) in getMatrixDeclarations() argument 56 string colType = getColType(rows); in getMatrixDeclarations() 57 … ? "" : string(" ") + colType + " = OpTypeVector %f32 " + de::toString(rows) + "\n"; in getMatrixDeclarations() 58 string matType = getMatrixType(cols, rows); in getMatrixDeclarations() 65 string getIdentityVectors (deUint32 cols, deUint32 rows) in getIdentityVectors() argument 71 …y = " %identity" + de::toString(c) + " = OpConstantComposite " + getColType(rows) + " "; in getIdentityVectors() [all …]
|
/third_party/node/deps/npm/node_modules/term-size/ |
D | index.js | 5 const create = (columns, rows) => ({ argument 7 rows: parseInt(rows, 10) property 15 if (stdout && stdout.columns && stdout.rows) { 16 return create(stdout.columns, stdout.rows); 19 if (stderr && stderr.columns && stderr.rows) { 20 return create(stderr.columns, stderr.rows); 61 const rows = execa.sync('tput', ['lines']).stdout; constant 63 if (columns && rows) { 64 return create(columns, rows);
|
/third_party/python/Modules/_decimal/libmpdec/ |
D | transpose.c | 53 std_trans(mpd_uint_t dest[], mpd_uint_t src[], mpd_size_t rows, mpd_size_t cols) in std_trans() argument 58 for (r = 0; r < rows; r++) { in std_trans() 64 idest += rows; in std_trans() 75 swap_halfrows_pow2(mpd_uint_t *matrix, mpd_size_t rows, mpd_size_t cols, int dir) in swap_halfrows_pow2() argument 88 assert(cols == mul_size_t(2, rows)); in swap_halfrows_pow2() 91 r = rows; in swap_halfrows_pow2() 101 hmax = rows; /* cycles start at odd halfrows */ in swap_halfrows_pow2() 247 transpose_pow2(mpd_uint_t *matrix, mpd_size_t rows, mpd_size_t cols) in transpose_pow2() argument 249 mpd_size_t size = mul_size_t(rows, cols); in transpose_pow2() 251 assert(ispower2(rows)); in transpose_pow2() [all …]
|
/third_party/skia/src/sksl/ir/ |
D | SkSLConstructorMatrixResize.cpp | 24 if (type.rows() == arg->type().rows() && type.columns() == arg->type().columns()) { in Make() 32 int rows = this->type().rows(); in getConstantValue() local 33 int row = n % rows; in getConstantValue() 34 int col = n / rows; in getConstantValue() 39 SkASSERT(row < this->type().rows()); in getConstantValue() 48 if (col < this->argument()->type().columns() && row < this->argument()->type().rows()) { in getConstantValue() 50 n = row + (col * this->argument()->type().rows()); in getConstantValue()
|
/third_party/boost/boost/qvm/gen/ |
D | mat_operations2.hpp | 27 mat_traits<A>::rows==2 && mat_traits<B>::rows==2 && 33 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::rows==2); in operator +() 66 mat_traits<A>::rows==2 && mat_traits<B>::rows==2 && 72 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::rows==2); in operator +() 103 mat_traits<A>::rows==1 && mat_traits<B>::rows==1 && 109 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::rows==1); in operator +() 140 mat_traits<A>::rows==2 && mat_traits<B>::rows==2 && 146 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::rows==2); in operator -() 179 mat_traits<A>::rows==2 && mat_traits<B>::rows==2 && 185 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::rows==2); in operator -() [all …]
|
/third_party/freetype/src/base/ |
D | ftbitmap.c | 102 size = (FT_ULong)pitch * source->rows; in FT_Bitmap_Copy() 112 target_size = (FT_ULong)target_pitch * target->rows; in FT_Bitmap_Copy() 139 t += (FT_ULong)pitch * ( target->rows - 1 ); in FT_Bitmap_Copy() 141 for ( i = target->rows; i > 0; i-- ) in FT_Bitmap_Copy() 173 height = bitmap->rows; in ft_bitmap_assure_buffer() 236 if ( FT_QALLOC_MULT( buffer, bitmap->rows + ypixels, new_pitch ) ) in ft_bitmap_assure_buffer() 248 unsigned char* limit = bitmap->buffer + pitch * bitmap->rows; in ft_bitmap_assure_buffer() 274 unsigned char* limit = bitmap->buffer + pitch * bitmap->rows; in ft_bitmap_assure_buffer() 386 p = bitmap->buffer + (FT_UInt)pitch * ( bitmap->rows - 1 ); in FT_Bitmap_Embolden() 390 for ( y = 0; y < bitmap->rows; y++ ) in FT_Bitmap_Embolden() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftbitmap.c | 103 size = (FT_ULong)pitch * source->rows; in FT_Bitmap_Copy() 113 target_size = (FT_ULong)target_pitch * target->rows; in FT_Bitmap_Copy() 140 t += (FT_ULong)pitch * ( target->rows - 1 ); in FT_Bitmap_Copy() 142 for ( i = target->rows; i > 0; i-- ) in FT_Bitmap_Copy() 174 height = bitmap->rows; in ft_bitmap_assure_buffer() 237 if ( FT_QALLOC_MULT( buffer, bitmap->rows + ypixels, new_pitch ) ) in ft_bitmap_assure_buffer() 249 unsigned char* limit = bitmap->buffer + pitch * bitmap->rows; in ft_bitmap_assure_buffer() 275 unsigned char* limit = bitmap->buffer + pitch * bitmap->rows; in ft_bitmap_assure_buffer() 387 p = bitmap->buffer + (FT_UInt)pitch * ( bitmap->rows - 1 ); in FT_Bitmap_Embolden() 391 for ( y = 0; y < bitmap->rows; y++ ) in FT_Bitmap_Embolden() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftbitmap.c | 102 size = (FT_ULong)pitch * source->rows; in FT_Bitmap_Copy() 112 target_size = (FT_ULong)target_pitch * target->rows; in FT_Bitmap_Copy() 139 t += (FT_ULong)pitch * ( target->rows - 1 ); in FT_Bitmap_Copy() 141 for ( i = target->rows; i > 0; i-- ) in FT_Bitmap_Copy() 173 height = bitmap->rows; in ft_bitmap_assure_buffer() 236 if ( FT_QALLOC_MULT( buffer, bitmap->rows + ypixels, new_pitch ) ) in ft_bitmap_assure_buffer() 248 unsigned char* limit = bitmap->buffer + pitch * bitmap->rows; in ft_bitmap_assure_buffer() 274 unsigned char* limit = bitmap->buffer + pitch * bitmap->rows; in ft_bitmap_assure_buffer() 386 p = bitmap->buffer + (FT_UInt)pitch * ( bitmap->rows - 1 ); in FT_Bitmap_Embolden() 390 for ( y = 0; y < bitmap->rows; y++ ) in FT_Bitmap_Embolden() [all …]
|
/third_party/boost/libs/numeric/ublas/test/ |
D | test_matrix_vector.cpp | 45 RowVector rows(matrix); in test_matrix_row_facade() local 47 pass &= (rows.size() == num_rows); in test_matrix_row_facade() 51 guardSparsePreserveResize( rows, new_num_rows, typename Matrix::storage_category()); in test_matrix_row_facade() 55 pass &= (rows.size() == new_num_rows); in test_matrix_row_facade() 63 RowVector rows(A); in test_matrix_row_facade() local 70 rows(i) = matrix_row<Matrix>(RA, i); in test_matrix_row_facade() 80 RowVector rows(A); in test_matrix_row_facade() local 87 rows[i] = matrix_row<Matrix>(RA, i); in test_matrix_row_facade() 97 RowVector rows(RA); in test_matrix_row_facade() local 104 pass &= compare_distance(rows[i], matrix_row<Matrix>(RA, i)); in test_matrix_row_facade() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | matrix_utils.h | 33 ASSERT(rows() >= 1 && rows() <= 4); in Matrix() 40 ASSERT(rows() >= 1 && rows() <= 4); in Matrix() 46 ASSERT(rows() >= 1 && rows() <= 4); in Matrix() 75 ASSERT(columns() == m.rows()); 77 unsigned int resultRows = rows(); 96 ASSERT(columns() == m.rows()); 106 ASSERT(rows() == m.rows()); 115 ASSERT(rows() == m.rows()); in nearlyEqual() 127 ASSERT(rows() == columns()); in size() 128 return rows(); in size() [all …]
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | matrix_utils.h | 33 ASSERT(rows() >= 1 && rows() <= 4); in Matrix() 40 ASSERT(rows() >= 1 && rows() <= 4); in Matrix() 46 ASSERT(rows() >= 1 && rows() <= 4); in Matrix() 75 ASSERT(columns() == m.rows()); 77 unsigned int resultRows = rows(); 96 ASSERT(columns() == m.rows()); 106 ASSERT(rows() == m.rows()); 115 ASSERT(rows() == m.rows()); in nearlyEqual() 127 ASSERT(rows() == columns()); in size() 128 return rows(); in size() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | dynamic_hdr10_plus.c | 86 int rows, cols; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() local 89 rows = get_bits(gb, 5); in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 91 if (((rows < 2) || (rows > 25)) || ((cols < 2) || (cols > 25))) { in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 94 s->num_rows_targeted_system_display_actual_peak_luminance = rows; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 97 if (get_bits_left(gb) < (rows * cols * 4)) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 100 for (int i = 0; i < rows; i++) { in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 139 int rows, cols; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() local 142 rows = get_bits(gb, 5); in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 144 if (((rows < 2) || (rows > 25)) || ((cols < 2) || (cols > 25))) { in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 147 s->num_rows_mastering_display_actual_peak_luminance = rows; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() [all …]
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | type_trait.hpp | 48 static length_t const rows = 0; member 109 rows = 2 enumerator 123 rows = 3 enumerator 137 rows = 4 enumerator 151 rows = 2 enumerator 165 rows = 3 enumerator 179 rows = 4 enumerator 193 rows = 2 enumerator 207 rows = 3 enumerator 221 rows = 4 enumerator
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
D | copy_constant_to_storage_tests.cpp | 41 void int_test(unsigned rows); 42 void uint_test(unsigned rows); 43 void bool_test(unsigned rows); 45 void float_test(unsigned columns, unsigned rows); 72 copy_constant_to_storage::int_test(unsigned rows) in int_test() argument 75 generate_data(mem_ctx, GLSL_TYPE_INT, 1, rows, val); in int_test() 92 copy_constant_to_storage::uint_test(unsigned rows) in uint_test() argument 95 generate_data(mem_ctx, GLSL_TYPE_UINT, 1, rows, val); in uint_test() 112 copy_constant_to_storage::float_test(unsigned columns, unsigned rows) in float_test() argument 115 generate_data(mem_ctx, GLSL_TYPE_FLOAT, columns, rows, val); in float_test() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | propsvec.cpp | 34 int32_t rows; member 70 pv->rows=2+(UPVEC_MAX_CP-UPVEC_FIRST_SPECIAL_CP); in upvec_open() 74 uprv_memset(row, 0, pv->rows*columns*4); in upvec_open() 100 limit=pv->rows; in _findRow() 202 int32_t count, rows; in upvec_setValue() local 204 rows=pv->rows; in upvec_setValue() 205 if((rows+splitFirstRow+splitLastRow)>pv->maxRows) { in upvec_setValue() 223 uprv_memcpy(newVectors, pv->v, (size_t)rows*columns*4); in upvec_setValue() 232 count = (int32_t)((pv->v+rows*columns)-(lastRow+columns)); in upvec_setValue() 239 pv->rows=rows+splitFirstRow+splitLastRow; in upvec_setValue() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | propsvec.cpp | 34 int32_t rows; member 70 pv->rows=2+(UPVEC_MAX_CP-UPVEC_FIRST_SPECIAL_CP); in upvec_open() 74 uprv_memset(row, 0, pv->rows*columns*4); in upvec_open() 100 limit=pv->rows; in _findRow() 202 int32_t count, rows; in upvec_setValue() local 204 rows=pv->rows; in upvec_setValue() 205 if((rows+splitFirstRow+splitLastRow)>pv->maxRows) { in upvec_setValue() 223 uprv_memcpy(newVectors, pv->v, (size_t)rows*columns*4); in upvec_setValue() 232 count = (int32_t)((pv->v+rows*columns)-(lastRow+columns)); in upvec_setValue() 239 pv->rows=rows+splitFirstRow+splitLastRow; in upvec_setValue() [all …]
|