Home
last modified time | relevance | path

Searched refs:expr_str (Results 1 – 23 of 23) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_geq.c51 char *expr_str[4+3]; ///< expression strings for each plane member
72 …{ "lum_expr", "set luminance expression", OFFSET(expr_str[Y]), AV_OPT_TYPE_STRING, {.str=NULL}…
73 …{ "lum", "set luminance expression", OFFSET(expr_str[Y]), AV_OPT_TYPE_STRING, {.str=NULL}…
74 …{ "cb_expr", "set chroma blue expression", OFFSET(expr_str[U]), AV_OPT_TYPE_STRING, {.str=NULL}…
75 …{ "cb", "set chroma blue expression", OFFSET(expr_str[U]), AV_OPT_TYPE_STRING, {.str=NULL}…
76 …{ "cr_expr", "set chroma red expression", OFFSET(expr_str[V]), AV_OPT_TYPE_STRING, {.str=NULL}…
77 …{ "cr", "set chroma red expression", OFFSET(expr_str[V]), AV_OPT_TYPE_STRING, {.str=NULL}…
78 …{ "alpha_expr", "set alpha expression", OFFSET(expr_str[A]), AV_OPT_TYPE_STRING, {.str=NULL}…
79 …{ "a", "set alpha expression", OFFSET(expr_str[A]), AV_OPT_TYPE_STRING, {.str=NULL}…
80 …{ "red_expr", "set red expression", OFFSET(expr_str[R]), AV_OPT_TYPE_STRING, {.str=NULL}…
[all …]
Dvf_perspective.c41 char *expr_str[4][2]; member
72 …{ "x0", "set top left x coordinate", OFFSET(expr_str[0][0]), AV_OPT_TYPE_STRING, {.str="0"}, 0…
73 …{ "y0", "set top left y coordinate", OFFSET(expr_str[0][1]), AV_OPT_TYPE_STRING, {.str="0"}, 0…
74 …{ "x1", "set top right x coordinate", OFFSET(expr_str[1][0]), AV_OPT_TYPE_STRING, {.str="W"}, 0…
75 …{ "y1", "set top right y coordinate", OFFSET(expr_str[1][1]), AV_OPT_TYPE_STRING, {.str="0"}, 0…
76 …{ "x2", "set bottom left x coordinate", OFFSET(expr_str[2][0]), AV_OPT_TYPE_STRING, {.str="0"}, 0…
77 …{ "y2", "set bottom left y coordinate", OFFSET(expr_str[2][1]), AV_OPT_TYPE_STRING, {.str="H"}, 0…
78 …{ "x3", "set bottom right x coordinate", OFFSET(expr_str[3][0]), AV_OPT_TYPE_STRING, {.str="W"}, 0…
79 …{ "y3", "set bottom right y coordinate", OFFSET(expr_str[3][1]), AV_OPT_TYPE_STRING, {.str="H"}, 0…
148 if (!s->expr_str[i][j]) in calc_persp_luts()
[all …]
Dsetpts.c92 char *expr_str; member
103 if ((ret = av_expr_parse(&setpts->expr, setpts->expr_str, in init()
105 av_log(ctx, AV_LOG_ERROR, "Error while parsing expression '%s'\n", setpts->expr_str); in init()
271 …{ "expr", "Expression determining the frame timestamp", OFFSET(expr_str), AV_OPT_TYPE_STRING, { .s…
311 …{ "expr", "Expression determining the frame timestamp", OFFSET(expr_str), AV_OPT_TYPE_STRING, { .s…
Df_select.c146 char *expr_str; member
165 …{ "expr", "set an expression to use for selecting frames", OFFSET(expr_str), AV_OPT_TYPE_STRING, {…
166 …{ "e", "set an expression to use for selecting frames", OFFSET(expr_str), AV_OPT_TYPE_STRING, {…
179 if ((ret = av_expr_parse(&select->expr, select->expr_str, in init()
182 select->expr_str); in init()
185 select->do_scene_detect = !!strstr(select->expr_str, "scene"); in init()
Df_metadata.c81 char *expr_str; member
114 …{ "expr", "set expression for expr function", OFFSET(expr_str), AV_OPT_TYPE_STRING, {.str = NULL }…
248 if (!s->expr_str) { in init()
252 if ((ret = av_expr_parse(&s->expr, s->expr_str, in init()
254 av_log(ctx, AV_LOG_ERROR, "Error while parsing expression '%s'\n", s->expr_str); in init()
Dblend.h69 char *expr_str; member
Dvf_blend.c107 …{ "c0_expr", "set color component #0 expression", OFFSET(params[0].expr_str), AV_OPT_TYPE_STRING,…
108 …{ "c1_expr", "set color component #1 expression", OFFSET(params[1].expr_str), AV_OPT_TYPE_STRING,…
109 …{ "c2_expr", "set color component #2 expression", OFFSET(params[2].expr_str), AV_OPT_TYPE_STRING,…
110 …{ "c3_expr", "set color component #3 expression", OFFSET(params[3].expr_str), AV_OPT_TYPE_STRING,…
798 if (s->all_expr && !param->expr_str) { in config_params()
799 param->expr_str = av_strdup(s->all_expr); in config_params()
800 if (!param->expr_str) in config_params()
803 if (param->expr_str) { in config_params()
804 ret = av_expr_parse(&param->e, param->expr_str, var_names, in config_params()
Dvf_dctdnoiz.c46 char *expr_str; member
84 …{ "expr", "set coefficient factor expression", OFFSET(expr_str), AV_OPT_TYPE_STRING, {.str…
85 …{ "e", "set coefficient factor expression", OFFSET(expr_str), AV_OPT_TYPE_STRING, {.str…
585 if (s->expr_str) { in config_input()
587 int ret = av_expr_parse(&s->expr[i], s->expr_str, var_names, in config_input()
638 if (s->expr_str) { in init()
/third_party/ltp/lib/newlib_tests/
Dtst_bool_expr.c56 static void do_eval_test(const char *expr_str, int set_a, int set_b, int set_c, int exp_res) in do_eval_test() argument
65 tst_res(TINFO, "'%s' A=%i B=%i C=%i == %i", expr_str, a, b, c, exp_res); in do_eval_test()
67 expr = tst_bool_expr_parse(expr_str); in do_eval_test()
/third_party/selinux/libsepol/cil/src/
Dcil_policy.c970 char *expr_str; in cil_mlsconstrains_to_policy() local
976 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_mlsconstrains_to_policy()
979 fprintf(out, "mlsconstrain %s %s;\n", cp_str, expr_str); in cil_mlsconstrains_to_policy()
982 free(expr_str); in cil_mlsconstrains_to_policy()
993 char *expr_str; in cil_validatetrans_to_policy() local
998 expr_str = cil_cons_expr_to_string(db, trans->datum_expr); in cil_validatetrans_to_policy()
1001 fprintf(out, "%s %s %s;\n", kind, class->datum.fqn, expr_str); in cil_validatetrans_to_policy()
1003 free(expr_str); in cil_validatetrans_to_policy()
1639 char *expr_str; in cil_constrains_to_policy() local
1645 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_constrains_to_policy()
[all …]
Dcil_internal.h631 struct cil_list *expr_str; member
Dcil_write_ast.c308 write_expr(out, permx->expr_str); in write_permx()
817 write_expr(out, permx->expr_str); in cil_write_ast_node()
Dcil_binary.c4560 char *expr_str; in __cil_print_permissionx() local
4571 __cil_expr_to_string(px->expr_str, CIL_PERMISSIONX, &expr_str); in __cil_print_permissionx()
4573 cil_log(CIL_ERR, "%s %s (%s)", kind_str, DATUM(px->obj)->fqn, expr_str); in __cil_print_permissionx()
4575 free(expr_str); in __cil_print_permissionx()
Dcil_copy_ast.c804 cil_copy_expr(db, orig->expr_str, &new->expr_str); in cil_copy_fill_permissionx()
Dcil.c2460 (*permx)->expr_str = NULL; in cil_permissionx_init()
Dcil_post.c1025 …rc = __cil_expr_to_bitmap(permx->expr_str, permx->perms, 0x10000, db); // max is one more than 0xF… in __evaluate_permissionx_expression()
Dcil_build_ast.c2170 rc = cil_gen_expr(parse_current->next->next, CIL_PERMISSIONX, &permx->expr_str); in cil_fill_permissionx()
2235 cil_list_destroy(&permx->expr_str, CIL_TRUE); in cil_destroy_permissionx()
/third_party/python/Lib/test/
Dtest_dis.py225 expr_str = "x + 1" variable
611 self.do_disassembly_test(expr_str, dis_expr_str)
870 (expr_str, code_info_expr_str),
/third_party/python/Parser/
Dstring_parser.c287 fstring_find_expr_location(Token *parent, const char* expr_start, char *expr_str, int *p_lines, int… in fstring_find_expr_location() argument
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.cpp4507 static bool expression_ends_with(const string &expr_str, const std::string &ending) in expression_ends_with() argument
4509 if (expr_str.length() >= ending.length()) in expression_ends_with()
4510 return (expr_str.compare(expr_str.length() - ending.length(), ending.length(), ending) == 0); in expression_ends_with()
4518 string CompilerMSL::unpack_expression_type(string expr_str, const SPIRType &type, uint32_t physical… in unpack_expression_type() argument
4523 return expr_str; in unpack_expression_type()
4536 …physical_type->vecsize > type.vecsize && !expression_ends_with(expr_str, swizzle_lut[type.vecsize … in unpack_expression_type()
4540 return enclose_expression(expr_str) + swizzle_lut[type.vecsize - 1]; in unpack_expression_type()
4546 return enclose_expression(expr_str) + swizzle_lut[type.vecsize - 1]; in unpack_expression_type()
4577 unpack_expr += join(base_type, physical_vecsize, "(", expr_str, "[", i, "]", ")", load_swiz); in unpack_expression_type()
4579 unpack_expr += join(expr_str, "[", i, "]", load_swiz); in unpack_expression_type()
[all …]
Dspirv_msl.hpp756 …std::string unpack_expression_type(std::string expr_str, const SPIRType &type, uint32_t physical_t…
Dspirv_glsl.hpp434 …virtual std::string unpack_expression_type(std::string expr_str, const SPIRType &type, uint32_t ph…
Dspirv_glsl.cpp4230 string CompilerGLSL::unpack_expression_type(string expr_str, const SPIRType &, uint32_t, bool, bool) in unpack_expression_type() argument
4232 return expr_str; in unpack_expression_type()