Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dmakepng.c175 int nparams; member
936 insert->insert(png_ptr, info_ptr, insert->nparams, insert->parameters); in write_png()
1144 check_param_count(int nparams, int expect) in check_param_count() argument
1146 if (nparams != expect) in check_param_count()
1154 insert_iCCP(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_iCCP() argument
1161 check_param_count(nparams, 2); in insert_iCCP()
1299 insert_tEXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_tEXt() argument
1304 check_param_count(nparams, 2); in insert_tEXt()
1310 insert_zTXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_zTXt() argument
1315 check_param_count(nparams, 2); in insert_zTXt()
[all …]
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dmakepng.c175 int nparams; member
936 insert->insert(png_ptr, info_ptr, insert->nparams, insert->parameters); in write_png()
1144 check_param_count(int nparams, int expect) in check_param_count() argument
1146 if (nparams != expect) in check_param_count()
1154 insert_iCCP(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_iCCP() argument
1161 check_param_count(nparams, 2); in insert_iCCP()
1299 insert_tEXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_tEXt() argument
1304 check_param_count(nparams, 2); in insert_tEXt()
1310 insert_zTXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_zTXt() argument
1315 check_param_count(nparams, 2); in insert_zTXt()
[all …]
/third_party/python/Objects/
Dgenericaliasobject.c269 Py_ssize_t nparams = PyTuple_GET_SIZE(params); in subs_tvars() local
278 Py_ssize_t iparam = tuple_index(params, nparams, arg); in subs_tvars()
300 Py_ssize_t nparams = PyTuple_GET_SIZE(parameters); in _Py_subs_parameters() local
301 if (nparams == 0) { in _Py_subs_parameters()
309 if (nitems != nparams) { in _Py_subs_parameters()
312 nitems > nparams ? "many" : "few", in _Py_subs_parameters()
334 Py_ssize_t iparam = tuple_index(parameters, nparams, arg); in _Py_subs_parameters()
/third_party/skia/third_party/externals/libpng/
Dpngset.c314 int nparams, png_const_charp units, png_charpp params) in png_set_pCAL() argument
322 || (nparams > 0 && params == NULL)) in png_set_pCAL()
339 if (nparams < 0 || nparams > 255) in png_set_pCAL()
347 for (i=0; i<nparams; ++i) in png_set_pCAL()
374 info_ptr->pcal_nparams = (png_byte)nparams; in png_set_pCAL()
393 (size_t)(((unsigned int)nparams + 1) * (sizeof (png_charp))))); in png_set_pCAL()
402 memset(info_ptr->pcal_params, 0, ((unsigned int)nparams + 1) * in png_set_pCAL()
405 for (i = 0; i < nparams; i++) in png_set_pCAL()
Dpngwutil.c1745 png_int_32 X1, int type, int nparams, png_const_charp units, in png_write_pCAL() argument
1755 png_debug1(1, "in png_write_pCAL (%d parameters)", nparams); in png_write_pCAL()
1768 units_len = strlen(units) + (nparams == 0 ? 0 : 1); in png_write_pCAL()
1773 (png_alloc_size_t)((png_alloc_size_t)nparams * (sizeof (size_t)))); in png_write_pCAL()
1778 for (i = 0; i < nparams; i++) in png_write_pCAL()
1780 params_len[i] = strlen(params[i]) + (i == nparams - 1 ? 0 : 1); in png_write_pCAL()
1792 buf[9] = (png_byte)nparams; in png_write_pCAL()
1796 for (i = 0; i < nparams; i++) in png_write_pCAL()
Dpngrutil.c2250 png_byte type, nparams; in png_handle_pCAL() local
2312 nparams = buf[10]; in png_handle_pCAL()
2319 if ((type == PNG_EQUATION_LINEAR && nparams != 2) || in png_handle_pCAL()
2320 (type == PNG_EQUATION_BASE_E && nparams != 3) || in png_handle_pCAL()
2321 (type == PNG_EQUATION_ARBITRARY && nparams != 3) || in png_handle_pCAL()
2322 (type == PNG_EQUATION_HYPERBOLIC && nparams != 4)) in png_handle_pCAL()
2339 nparams * (sizeof (png_charp)))); in png_handle_pCAL()
2348 for (i = 0; i < nparams; i++) in png_handle_pCAL()
2366 png_set_pCAL(png_ptr, info_ptr, (png_charp)buffer, X0, X1, type, nparams, in png_handle_pCAL()
Dpngget.c892 png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, in png_get_pCAL() argument
900 nparams != NULL && units != NULL && params != NULL) in png_get_pCAL()
906 *nparams = (int)info_ptr->pcal_nparams; in png_get_pCAL()
Dpngtest.c1245 int type, nparams; in test_one_file() local
1248 &nparams, &units, &params) != 0) in test_one_file()
1251 nparams, units, params); in test_one_file()
Dpng.h2040 png_int_32 *X1, int *type, int *nparams, png_charp *units,
2047 int type, int nparams, png_const_charp units, png_charpp params));
Dpngpriv.h1219 png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams,
/third_party/flutter/skia/third_party/externals/libpng/
Dpngset.c314 int nparams, png_const_charp units, png_charpp params) in png_set_pCAL() argument
322 || (nparams > 0 && params == NULL)) in png_set_pCAL()
339 if (nparams < 0 || nparams > 255) in png_set_pCAL()
347 for (i=0; i<nparams; ++i) in png_set_pCAL()
374 info_ptr->pcal_nparams = (png_byte)nparams; in png_set_pCAL()
393 (size_t)(((unsigned int)nparams + 1) * (sizeof (png_charp))))); in png_set_pCAL()
402 memset(info_ptr->pcal_params, 0, ((unsigned int)nparams + 1) * in png_set_pCAL()
405 for (i = 0; i < nparams; i++) in png_set_pCAL()
Dpngwutil.c1745 png_int_32 X1, int type, int nparams, png_const_charp units, in png_write_pCAL() argument
1755 png_debug1(1, "in png_write_pCAL (%d parameters)", nparams); in png_write_pCAL()
1768 units_len = strlen(units) + (nparams == 0 ? 0 : 1); in png_write_pCAL()
1773 (png_alloc_size_t)((png_alloc_size_t)nparams * (sizeof (size_t)))); in png_write_pCAL()
1778 for (i = 0; i < nparams; i++) in png_write_pCAL()
1780 params_len[i] = strlen(params[i]) + (i == nparams - 1 ? 0 : 1); in png_write_pCAL()
1792 buf[9] = (png_byte)nparams; in png_write_pCAL()
1796 for (i = 0; i < nparams; i++) in png_write_pCAL()
Dpngrutil.c2250 png_byte type, nparams; in png_handle_pCAL() local
2312 nparams = buf[10]; in png_handle_pCAL()
2319 if ((type == PNG_EQUATION_LINEAR && nparams != 2) || in png_handle_pCAL()
2320 (type == PNG_EQUATION_BASE_E && nparams != 3) || in png_handle_pCAL()
2321 (type == PNG_EQUATION_ARBITRARY && nparams != 3) || in png_handle_pCAL()
2322 (type == PNG_EQUATION_HYPERBOLIC && nparams != 4)) in png_handle_pCAL()
2339 nparams * (sizeof (png_charp)))); in png_handle_pCAL()
2348 for (i = 0; i < nparams; i++) in png_handle_pCAL()
2366 png_set_pCAL(png_ptr, info_ptr, (png_charp)buffer, X0, X1, type, nparams, in png_handle_pCAL()
Dpngget.c892 png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, in png_get_pCAL() argument
900 nparams != NULL && units != NULL && params != NULL) in png_get_pCAL()
906 *nparams = (int)info_ptr->pcal_nparams; in png_get_pCAL()
Dpngtest.c1245 int type, nparams; in test_one_file() local
1248 &nparams, &units, &params) != 0) in test_one_file()
1251 nparams, units, params); in test_one_file()
Dpng.h2040 png_int_32 *X1, int *type, int *nparams, png_charp *units,
2047 int type, int nparams, png_const_charp units, png_charpp params));
Dpngpriv.h1219 png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams,
/third_party/flutter/skia/third_party/externals/freetype/src/bdf/
Dbdf.h92 unsigned long nparams,
/third_party/freetype/src/bdf/
Dbdf.h91 unsigned long nparams,
/third_party/skia/third_party/externals/freetype/src/bdf/
Dbdf.h91 unsigned long nparams,
/third_party/toybox/toys/pending/
Dbc.c266 size_t nparams; member
2364 f->nparams = 0; in bc_func_init()
2375 f->nparams = 0; in bc_func_reset()
3183 size_t nparams; in bc_parse_params() local
3188 for (nparams = 0; p->l.t != BC_LEX_RPAREN; ++nparams) { in bc_parse_params()
3203 bc_parse_pushIndex(p, nparams); in bc_parse_params()
3853 ++p->func->nparams; in bc_parse_func()
5142 size_t i, nparams = bc_program_index(code, idx); in bc_program_call() local
5154 if (nparams != f->nparams) in bc_program_call()
5155 return bc_vm_verr(BC_ERROR_EXEC_PARAMS, f->nparams, nparams); in bc_program_call()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c2600 unsigned i, tmp, nparams = 0; in r600_update_vs_state() local
2604 tmp = rshader->output[i].spi_sid << ((nparams & 3) * 8); in r600_update_vs_state()
2605 spi_vs_out_id[nparams / 4] |= tmp; in r600_update_vs_state()
2606 nparams++; in r600_update_vs_state()
2621 if (nparams < 1) in r600_update_vs_state()
2622 nparams = 1; in r600_update_vs_state()
2625 S_0286C4_VS_EXPORT_COUNT(nparams - 1)); in r600_update_vs_state()
Devergreen_state.c3600 unsigned i, tmp, nparams = 0; in evergreen_update_vs_state() local
3604 tmp = rshader->output[i].spi_sid << ((nparams & 3) * 8); in evergreen_update_vs_state()
3605 spi_vs_out_id[nparams / 4] |= tmp; in evergreen_update_vs_state()
3606 nparams++; in evergreen_update_vs_state()
3621 if (nparams < 1) in evergreen_update_vs_state()
3622 nparams = 1; in evergreen_update_vs_state()
3625 S_0286C4_VS_EXPORT_COUNT(nparams - 1)); in evergreen_update_vs_state()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.cpp1354 unsigned nparams, es_vgpr_comp_cnt, gs_vgpr_comp_cnt; in gfx10_shader_ngg() local
1448 nparams = MAX2(shader->info.nr_param_exports, 1); in gfx10_shader_ngg()
1450 S_0286C4_VS_EXPORT_COUNT(nparams - 1) | in gfx10_shader_ngg()
1635 unsigned nparams, oc_lds_en; in si_shader_vs() local
1695 nparams = MAX2(shader->info.nr_param_exports, 1); in si_shader_vs()
1696 shader->ctx_reg.vs.spi_vs_out_config = S_0286C4_VS_EXPORT_COUNT(nparams - 1); in si_shader_vs()
/third_party/python/Lib/
Dtyping.py1111 def __init__(self, origin, nparams, *, inst=True, name=None): argument
1115 self._nparams = nparams

12