Home
last modified time | relevance | path

Searched refs:nparams (Results 1 – 25 of 34) sorted by relevance

12

/external/libpng/contrib/libtests/
Dmakepng.c106 int nparams; member
674 insert->insert(png_ptr, info_ptr, insert->nparams, insert->parameters); in write_png()
873 check_param_count(int nparams, int expect) in check_param_count() argument
875 if (nparams != expect) in check_param_count()
883 insert_iCCP(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_iCCP() argument
890 check_param_count(nparams, 2); in insert_iCCP()
1028 insert_tEXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_tEXt() argument
1033 check_param_count(nparams, 2); in insert_tEXt()
1039 insert_zTXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_zTXt() argument
1044 check_param_count(nparams, 2); in insert_zTXt()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c45 unsigned nparams, i; in si_pipe_shader_vs() local
60 for (nparams = 0, i = 0 ; i < shader->shader.noutput; i++) { in si_pipe_shader_vs()
62 nparams++; in si_pipe_shader_vs()
64 if (nparams < 1) in si_pipe_shader_vs()
65 nparams = 1; in si_pipe_shader_vs()
68 S_0286C4_VS_EXPORT_COUNT(nparams - 1)); in si_pipe_shader_vs()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
Dsi_state_draw.c45 unsigned nparams, i; in si_pipe_shader_vs() local
60 for (nparams = 0, i = 0 ; i < shader->shader.noutput; i++) { in si_pipe_shader_vs()
62 nparams++; in si_pipe_shader_vs()
64 if (nparams < 1) in si_pipe_shader_vs()
65 nparams = 1; in si_pipe_shader_vs()
68 S_0286C4_VS_EXPORT_COUNT(nparams - 1)); in si_pipe_shader_vs()
/external/opencv/cv/src/
Dcvcalibration.cpp62 CvLevMarq::CvLevMarq( int nparams, int nerrs, CvTermCriteria criteria0, bool _completeSymmFlag ) in CvLevMarq() argument
65 init(nparams, nerrs, criteria0, _completeSymmFlag); in CvLevMarq()
87 void CvLevMarq::init( int nparams, int nerrs, CvTermCriteria criteria0, bool _completeSymmFlag ) in init() argument
89 if( !param || param->rows != nparams || nerrs != (err ? err->rows : 0) ) in init()
91 mask = cvCreateMat( nparams, 1, CV_8U ); in init()
93 prevParam = cvCreateMat( nparams, 1, CV_64F ); in init()
94 param = cvCreateMat( nparams, 1, CV_64F ); in init()
95 JtJ = cvCreateMat( nparams, nparams, CV_64F ); in init()
96 JtJN = cvCreateMat( nparams, nparams, CV_64F ); in init()
97 JtJV = cvCreateMat( nparams, nparams, CV_64F ); in init()
[all …]
/external/chromium_org/third_party/skia/third_party/lua/src/
Dldebug.c108 int nparams = clLvalue(ci->func)->p->numparams; in findvararg() local
109 if (n >= ci->u.l.base - ci->func - nparams) in findvararg()
112 *pos = ci->func + nparams + n; in findvararg()
232 ar->nparams = 0; in auxgetinfo()
236 ar->nparams = f->l.p->numparams; in auxgetinfo()
Dlparser.c763 int nparams = 0; in parlist() local
770 nparams++; in parlist()
782 adjustlocalvars(ls, nparams); in parlist()
826 int base, nparams; in funcargs() local
855 nparams = LUA_MULTRET; /* open call */ in funcargs()
859 nparams = fs->freereg - (base+1); in funcargs()
861 init_exp(f, VCALL, luaK_codeABC(fs, OP_CALL, base, nparams+1, 2)); in funcargs()
/external/libpng/
Dpngset.c265 int nparams, png_const_charp units, png_charpp params) in png_set_pCAL() argument
273 || (nparams > 0 && params == NULL)) in png_set_pCAL()
286 if (nparams < 0 || nparams > 255) in png_set_pCAL()
290 for (i=0; i<nparams; ++i) in png_set_pCAL()
310 info_ptr->pcal_nparams = (png_byte)nparams; in png_set_pCAL()
328 (png_size_t)((nparams + 1) * (sizeof (png_charp))))); in png_set_pCAL()
336 memset(info_ptr->pcal_params, 0, (nparams + 1) * (sizeof (png_charp))); in png_set_pCAL()
338 for (i = 0; i < nparams; i++) in png_set_pCAL()
Dpngwutil.c1794 png_int_32 X1, int type, int nparams, png_const_charp units, in png_write_pCAL() argument
1804 png_debug1(1, "in png_write_pCAL (%d parameters)", nparams); in png_write_pCAL()
1817 units_len = strlen(units) + (nparams == 0 ? 0 : 1); in png_write_pCAL()
1822 (png_alloc_size_t)(nparams * (sizeof (png_size_t)))); in png_write_pCAL()
1827 for (i = 0; i < nparams; i++) in png_write_pCAL()
1829 params_len[i] = strlen(params[i]) + (i == nparams - 1 ? 0 : 1); in png_write_pCAL()
1841 buf[9] = (png_byte)nparams; in png_write_pCAL()
1845 for (i = 0; i < nparams; i++) in png_write_pCAL()
Dpngrutil.c2126 png_byte type, nparams; in png_handle_pCAL() local
2188 nparams = buf[10]; in png_handle_pCAL()
2195 if ((type == PNG_EQUATION_LINEAR && nparams != 2) || in png_handle_pCAL()
2196 (type == PNG_EQUATION_BASE_E && nparams != 3) || in png_handle_pCAL()
2197 (type == PNG_EQUATION_ARBITRARY && nparams != 3) || in png_handle_pCAL()
2198 (type == PNG_EQUATION_HYPERBOLIC && nparams != 4)) in png_handle_pCAL()
2215 nparams * (sizeof (png_charp)))); in png_handle_pCAL()
2224 for (i = 0; i < nparams; i++) in png_handle_pCAL()
2242 png_set_pCAL(png_ptr, info_ptr, (png_charp)buffer, X0, X1, type, nparams, in png_handle_pCAL()
Dpngget.c822 png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, in png_get_pCAL() argument
829 nparams != NULL && units != NULL && params != NULL) in png_get_pCAL()
835 *nparams = (int)info_ptr->pcal_nparams; in png_get_pCAL()
Dpngtest.c1190 int type, nparams; in test_one_file() local
1193 &nparams, &units, &params)) in test_one_file()
1196 nparams, units, params); in test_one_file()
/external/opencv/cv/include/
Dcv.hpp373 CvLevMarq( int nparams, int nerrs, CvTermCriteria criteria=
377 void init( int nparams, int nerrs, CvTermCriteria criteria=
/external/qemu/distrib/libpng-1.2.46/
Dpngset.c291 png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, in png_set_pCAL() argument
317 info_ptr->pcal_nparams = (png_byte)nparams; in png_set_pCAL()
331 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); in png_set_pCAL()
338 png_memset(info_ptr->pcal_params, 0, (nparams + 1) * png_sizeof(png_charp)); in png_set_pCAL()
340 for (i = 0; i < nparams; i++) in png_set_pCAL()
Dpngget.c637 png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, in png_get_pCAL() argument
644 nparams != NULL && units != NULL && params != NULL) in png_get_pCAL()
650 *nparams = (int)info_ptr->pcal_nparams; in png_get_pCAL()
Dpngrutil.c1677 png_byte type, nparams; in png_handle_pCAL() local
1741 nparams = buf[10]; in png_handle_pCAL()
1747 if ((type == PNG_EQUATION_LINEAR && nparams != 2) || in png_handle_pCAL()
1748 (type == PNG_EQUATION_BASE_E && nparams != 3) || in png_handle_pCAL()
1749 (type == PNG_EQUATION_ARBITRARY && nparams != 3) || in png_handle_pCAL()
1750 (type == PNG_EQUATION_HYPERBOLIC && nparams != 4)) in png_handle_pCAL()
1767 (png_uint_32)(nparams * png_sizeof(png_charp))) ; in png_handle_pCAL()
1777 for (i = 0; i < (int)nparams; i++) in png_handle_pCAL()
1796 png_set_pCAL(png_ptr, info_ptr, png_ptr->chunkdata, X0, X1, type, nparams, in png_handle_pCAL()
Dpngwutil.c1565 png_int_32 X1, int type, int nparams, png_charp units, png_charpp params) in png_write_pCAL() argument
1576 png_debug1(1, "in png_write_pCAL (%d parameters)", nparams); in png_write_pCAL()
1583 units_len = png_strlen(units) + (nparams == 0 ? 0 : 1); in png_write_pCAL()
1588 (png_uint_32)(nparams * png_sizeof(png_uint_32))); in png_write_pCAL()
1592 for (i = 0; i < nparams; i++) in png_write_pCAL()
1594 params_len[i] = png_strlen(params[i]) + (i == nparams - 1 ? 0 : 1); in png_write_pCAL()
1607 buf[9] = (png_byte)nparams; in png_write_pCAL()
1613 for (i = 0; i < nparams; i++) in png_write_pCAL()
/external/chromium_org/third_party/libpng/
Dpngset.c291 png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, in png_set_pCAL() argument
317 info_ptr->pcal_nparams = (png_byte)nparams; in png_set_pCAL()
331 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); in png_set_pCAL()
338 png_memset(info_ptr->pcal_params, 0, (nparams + 1) * png_sizeof(png_charp)); in png_set_pCAL()
340 for (i = 0; i < nparams; i++) in png_set_pCAL()
Dpngget.c637 png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, in png_get_pCAL() argument
644 nparams != NULL && units != NULL && params != NULL) in png_get_pCAL()
650 *nparams = (int)info_ptr->pcal_nparams; in png_get_pCAL()
Dpngrutil.c1661 png_byte type, nparams; in png_handle_pCAL() local
1725 nparams = buf[10]; in png_handle_pCAL()
1731 if ((type == PNG_EQUATION_LINEAR && nparams != 2) || in png_handle_pCAL()
1732 (type == PNG_EQUATION_BASE_E && nparams != 3) || in png_handle_pCAL()
1733 (type == PNG_EQUATION_ARBITRARY && nparams != 3) || in png_handle_pCAL()
1734 (type == PNG_EQUATION_HYPERBOLIC && nparams != 4)) in png_handle_pCAL()
1751 (png_uint_32)(nparams * png_sizeof(png_charp))) ; in png_handle_pCAL()
1761 for (i = 0; i < (int)nparams; i++) in png_handle_pCAL()
1780 png_set_pCAL(png_ptr, info_ptr, png_ptr->chunkdata, X0, X1, type, nparams, in png_handle_pCAL()
Dpngwutil.c1565 png_int_32 X1, int type, int nparams, png_charp units, png_charpp params) in png_write_pCAL() argument
1576 png_debug1(1, "in png_write_pCAL (%d parameters)", nparams); in png_write_pCAL()
1583 units_len = png_strlen(units) + (nparams == 0 ? 0 : 1); in png_write_pCAL()
1588 (png_uint_32)(nparams * png_sizeof(png_uint_32))); in png_write_pCAL()
1592 for (i = 0; i < nparams; i++) in png_write_pCAL()
1594 params_len[i] = png_strlen(params[i]) + (i == nparams - 1 ? 0 : 1); in png_write_pCAL()
1607 buf[9] = (png_byte)nparams; in png_write_pCAL()
1613 for (i = 0; i < nparams; i++) in png_write_pCAL()
/external/esd/include/
Daudiofile.h580 int nparams);
582 int nparams);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
Dr600_state.c2586 unsigned i, tmp, nparams = 0; in r600_pipe_shader_vs() local
2593 tmp = rshader->output[i].spi_sid << ((nparams & 3) * 8); in r600_pipe_shader_vs()
2594 spi_vs_out_id[nparams / 4] |= tmp; in r600_pipe_shader_vs()
2595 nparams++; in r600_pipe_shader_vs()
2609 if (nparams < 1) in r600_pipe_shader_vs()
2610 nparams = 1; in r600_pipe_shader_vs()
2614 S_0286C4_VS_EXPORT_COUNT(nparams - 1)); in r600_pipe_shader_vs()
Devergreen_state.c3122 unsigned i, tmp, nparams = 0; in evergreen_pipe_shader_vs() local
3129 tmp = rshader->output[i].spi_sid << ((nparams & 3) * 8); in evergreen_pipe_shader_vs()
3130 spi_vs_out_id[nparams / 4] |= tmp; in evergreen_pipe_shader_vs()
3131 nparams++; in evergreen_pipe_shader_vs()
3145 if (nparams < 1) in evergreen_pipe_shader_vs()
3146 nparams = 1; in evergreen_pipe_shader_vs()
3150 S_0286C4_VS_EXPORT_COUNT(nparams - 1)); in evergreen_pipe_shader_vs()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c2586 unsigned i, tmp, nparams = 0; in r600_pipe_shader_vs() local
2593 tmp = rshader->output[i].spi_sid << ((nparams & 3) * 8); in r600_pipe_shader_vs()
2594 spi_vs_out_id[nparams / 4] |= tmp; in r600_pipe_shader_vs()
2595 nparams++; in r600_pipe_shader_vs()
2609 if (nparams < 1) in r600_pipe_shader_vs()
2610 nparams = 1; in r600_pipe_shader_vs()
2614 S_0286C4_VS_EXPORT_COUNT(nparams - 1)); in r600_pipe_shader_vs()
Devergreen_state.c3122 unsigned i, tmp, nparams = 0; in evergreen_pipe_shader_vs() local
3129 tmp = rshader->output[i].spi_sid << ((nparams & 3) * 8); in evergreen_pipe_shader_vs()
3130 spi_vs_out_id[nparams / 4] |= tmp; in evergreen_pipe_shader_vs()
3131 nparams++; in evergreen_pipe_shader_vs()
3145 if (nparams < 1) in evergreen_pipe_shader_vs()
3146 nparams = 1; in evergreen_pipe_shader_vs()
3150 S_0286C4_VS_EXPORT_COUNT(nparams - 1)); in evergreen_pipe_shader_vs()

12