/dports/net/libyang/libyang-1.0.240/src/ |
H A D | plugins.c | 260 for (v = 0; pluginc->substmt[v].stmt; v++) { in ly_register_exts() 261 if (pluginc->substmt[v].stmt >= LY_STMT_SUBMODULE || in ly_register_exts() 271 pluginc->substmt[v].stmt <= LY_STMT_STATUS) { in ly_register_exts() 515 if (!ext->substmt) { in lys_ext_complex_get_substmt() 524 for (i = 0; ext->substmt[i].stmt; i++) { in lys_ext_complex_get_substmt() 526 if (ext->substmt[i].stmt >= LY_STMT_ACTION && ext->substmt[i].stmt <= LY_STMT_USES) { in lys_ext_complex_get_substmt() 528 *info = &ext->substmt[i]; in lys_ext_complex_get_substmt() 532 } else if (ext->substmt[i].stmt == stmt) { in lys_ext_complex_get_substmt() 534 *info = &ext->substmt[i]; in lys_ext_complex_get_substmt() 540 if (ext->substmt[i].stmt) { in lys_ext_complex_get_substmt() [all …]
|
H A D | parser.c | 332 op->substmt = ((struct lyext_plugin_complex *)op->def->plugin)->substmt; in lyp_add_ietf_netconf_annotations_config() 364 op->substmt = ((struct lyext_plugin_complex *)op->def->plugin)->substmt; in lyp_add_ietf_netconf_annotations_config() 404 op->substmt = ((struct lyext_plugin_complex *)op->def->plugin)->substmt; in lyp_add_ietf_netconf_annotations_config() 3117 if (substmt == LYEXT_SUBSTMT_SELF && rfn->ext[m]->def != extdef) { in lyp_rfn_apply_ext_() 3142 target->ext[n]->insubstmt = substmt; in lyp_rfn_apply_ext_() 3309 for (i = 0; ext->substmt[i].stmt; i++) { in lyp_mand_check_ext() 3310 …if (ext->substmt[i].cardinality == LY_STMT_CARD_OPT || ext->substmt[i].cardinality == LY_STMT_CARD… in lyp_mand_check_ext() 3313 } else if (ext->substmt[i].cardinality == LY_STMT_CARD_SOME) { in lyp_mand_check_ext() 3322 switch(ext->substmt[i].stmt) { in lyp_mand_check_ext() 3551 target->ext[n]->insubstmt = substmt; in lyp_deviate_apply_ext() [all …]
|
H A D | printer_yin.c | 30 LYEXT_SUBSTMT substmt, uint8_t substmt_index, 109 if (ext_substmt_info[substmt].flags & SUBST_FLAG_YIN) { in yin_print_substmt() 111 yin_print_open(out, level, NULL, ext_substmt_info[substmt].name, in yin_print_substmt() 114 yin_print_open(out, level, NULL, ext_substmt_info[substmt].name, in yin_print_substmt() 115 ext_substmt_info[substmt].arg, text, content); in yin_print_substmt() 120 i = lys_ext_iter(ext, ext_size, i + 1, substmt); in yin_print_substmt() 127 i = lys_ext_iter(ext, ext_size, i + 1, substmt); in yin_print_substmt() 133 if (ext_substmt_info[substmt].flags & SUBST_FLAG_YIN) { in yin_print_substmt() 134 yin_print_arg(out, level + 1, ext_substmt_info[substmt].arg, text); in yin_print_substmt() 137 yin_print_close(out, level, NULL, ext_substmt_info[substmt].name, content); in yin_print_substmt() [all …]
|
H A D | printer_yang.c | 31 LYEXT_SUBSTMT substmt, uint8_t substmt_index, 155 i = lys_ext_iter(ext, ext_size, i + 1, substmt); in yang_print_substmt() 158 if (ext_substmt_info[substmt].flags & SUBST_FLAG_ID) { in yang_print_substmt() 161 yang_print_text(out, level, ext_substmt_info[substmt].name, text, in yang_print_substmt() 170 i = lys_ext_iter(ext, ext_size, i + 1, substmt); in yang_print_substmt() 430 yang_print_unsigned(struct lyout *out, int level, LYEXT_SUBSTMT substmt, uint8_t substmt_index, in yang_print_unsigned() argument 440 yang_print_substmt(out, level, substmt, substmt_index, str, module, ext, ext_size); in yang_print_unsigned() 445 yang_print_signed(struct lyout *out, int level, LYEXT_SUBSTMT substmt, uint8_t substmt_index, in yang_print_signed() argument 455 yang_print_substmt(out, level, substmt, substmt_index, str, module, ext, ext_size); in yang_print_signed() 1893 LYEXT_SUBSTMT substmt, uint8_t substmt_index, in yang_print_extension_instances() argument [all …]
|
H A D | extensions.h | 204 …struct lyext_substmt *substmt; /**< NULL-terminated array of allowed substatements and … member
|
H A D | parser_yang_bis.c | 7453 if (!substmt) { in yyparse() 7454 substmt = calloc(1, sizeof *substmt); in yyparse() 7455 if (!substmt) { in yyparse() 7462 old_length = (substmt->ext_substmt) ? strlen(substmt->ext_substmt) + 2 : 2; in yyparse() 7468 substmt->ext_substmt = tmp_value; in yyparse() 7483 if (!substmt) { in yyparse() 7484 substmt = calloc(1, sizeof *substmt); in yyparse() 7485 if (!substmt) { in yyparse() 7492 if (!substmt->ext_modules) { in yyparse() 7496 array = realloc(substmt->ext_modules, (i + 2) * sizeof *substmt->ext_modules); in yyparse() [all …]
|
H A D | tree_schema.c | 1531 if (ext[u]->insubstmt == substmt) { in lys_ext_iter() 1578 …ct lys_ext_instance_complex*)result[u])->substmt = ((struct lyext_plugin_complex*)orig[u]->def->pl… in lys_ext_dup() 5424 struct lyext_substmt *substmt; in lys_extension_instances_free() local 5469 substmt = ((struct lys_ext_instance_complex *)e[i])->substmt; in lys_extension_instances_free() 5470 for (j = 0; substmt[j].stmt; j++) { in lys_extension_instances_free() 5471 switch(substmt[j].stmt) { in lys_extension_instances_free() 5505 if (substmt[j].cardinality >= LY_STMT_CARD_SOME && *pp) { in lys_extension_instances_free() 5513 if (substmt[j].cardinality >= LY_STMT_CARD_SOME) { in lys_extension_instances_free() 5521 if (substmt[j].cardinality >= LY_STMT_CARD_SOME) { in lys_extension_instances_free() 5553 if (substmt[j].cardinality >= LY_STMT_CARD_SOME) { /* process array */ in lys_extension_instances_free() [all …]
|
H A D | yang.y.in | 4158 if (!substmt) { 4159 substmt = calloc(1, sizeof *substmt); 4160 if (!substmt) { 4167 old_length = (substmt->ext_substmt) ? strlen(substmt->ext_substmt) + 2 : 2; 4173 substmt->ext_substmt = tmp_value; 4186 if (!substmt) { 4187 substmt = calloc(1, sizeof *substmt); 4188 if (!substmt) { 4195 if (!substmt->ext_modules) { 4199 array = realloc(substmt->ext_modules, (i + 2) * sizeof *substmt->ext_modules); [all …]
|
/dports/devel/py-pydantic/pydantic-1.8.2/pydantic/ |
H A D | mypy.py | 195 for substmt in stmt.defs.body: 196 if not isinstance(substmt, AssignmentStmt): 198 config.update(self.get_config_update(substmt)) 374 lhs = substmt.lvalues[0] 378 if isinstance(substmt.rvalue, StrExpr): 379 forbid_extra = substmt.rvalue.value == 'forbid' 380 elif isinstance(substmt.rvalue, MemberExpr): 381 forbid_extra = substmt.rvalue.name == 'forbid' 388 if isinstance(substmt.rvalue, NameExpr) and substmt.rvalue.fullname == 'builtins.None': 391 …if isinstance(substmt.rvalue, NameExpr) and substmt.rvalue.fullname in ('builtins.True', 'builtins… [all …]
|
/dports/databases/libgda5/libgda-5.2.10/libgda/sql-parser/ |
H A D | gda-statement-struct-compound.c | 197 GdaSqlStatement *substmt; 198 substmt = (GdaSqlStatement *) compound->stmt_list->data; 200 rpart = GDA_SQL_ANY_PART (substmt->contents); 201 substmt->contents = NULL; 202 gda_sql_statement_free (substmt);
|
/dports/databases/libgda5-bdb/libgda-5.2.10/libgda/sql-parser/ |
H A D | gda-statement-struct-compound.c | 197 GdaSqlStatement *substmt; 198 substmt = (GdaSqlStatement *) compound->stmt_list->data; 200 rpart = GDA_SQL_ANY_PART (substmt->contents); 201 substmt->contents = NULL; 202 gda_sql_statement_free (substmt);
|
/dports/databases/libgda5-ui/libgda-5.2.10/libgda/sql-parser/ |
H A D | gda-statement-struct-compound.c | 197 GdaSqlStatement *substmt; 198 substmt = (GdaSqlStatement *) compound->stmt_list->data; 200 rpart = GDA_SQL_ANY_PART (substmt->contents); 201 substmt->contents = NULL; 202 gda_sql_statement_free (substmt);
|
/dports/databases/libgda5-mysql/libgda-5.2.10/libgda/sql-parser/ |
H A D | gda-statement-struct-compound.c | 197 GdaSqlStatement *substmt; in _gda_sql_statement_compound_reduce() local 198 substmt = (GdaSqlStatement *) compound->stmt_list->data; in _gda_sql_statement_compound_reduce() 200 rpart = GDA_SQL_ANY_PART (substmt->contents); in _gda_sql_statement_compound_reduce() 201 substmt->contents = NULL; in _gda_sql_statement_compound_reduce() 202 gda_sql_statement_free (substmt); in _gda_sql_statement_compound_reduce()
|
/dports/databases/libgda5-postgresql/libgda-5.2.10/libgda/sql-parser/ |
H A D | gda-statement-struct-compound.c | 197 GdaSqlStatement *substmt; in _gda_sql_statement_compound_reduce() local 198 substmt = (GdaSqlStatement *) compound->stmt_list->data; in _gda_sql_statement_compound_reduce() 200 rpart = GDA_SQL_ANY_PART (substmt->contents); in _gda_sql_statement_compound_reduce() 201 substmt->contents = NULL; in _gda_sql_statement_compound_reduce() 202 gda_sql_statement_free (substmt); in _gda_sql_statement_compound_reduce()
|
/dports/databases/libgda5-jdbc/libgda-5.2.10/libgda/sql-parser/ |
H A D | gda-statement-struct-compound.c | 197 GdaSqlStatement *substmt; 198 substmt = (GdaSqlStatement *) compound->stmt_list->data; 200 rpart = GDA_SQL_ANY_PART (substmt->contents); 201 substmt->contents = NULL; 202 gda_sql_statement_free (substmt);
|
/dports/databases/libgda5-ldap/libgda-5.2.10/libgda/sql-parser/ |
H A D | gda-statement-struct-compound.c | 197 GdaSqlStatement *substmt; in _gda_sql_statement_compound_reduce() local 198 substmt = (GdaSqlStatement *) compound->stmt_list->data; in _gda_sql_statement_compound_reduce() 200 rpart = GDA_SQL_ANY_PART (substmt->contents); in _gda_sql_statement_compound_reduce() 201 substmt->contents = NULL; in _gda_sql_statement_compound_reduce() 202 gda_sql_statement_free (substmt); in _gda_sql_statement_compound_reduce()
|
/dports/devel/cppcheck/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/ |
H A D | parser.c | 326 op->substmt = ((struct lyext_plugin_complex *)op->def->plugin)->substmt; in lyp_add_ietf_netconf_annotations_config() 358 op->substmt = ((struct lyext_plugin_complex *)op->def->plugin)->substmt; in lyp_add_ietf_netconf_annotations_config() 398 op->substmt = ((struct lyext_plugin_complex *)op->def->plugin)->substmt; in lyp_add_ietf_netconf_annotations_config() 3076 if (substmt == LYEXT_SUBSTMT_SELF && rfn->ext[m]->def != extdef) { in lyp_rfn_apply_ext_() 3101 target->ext[n]->insubstmt = substmt; in lyp_rfn_apply_ext_() 3268 for (i = 0; ext->substmt[i].stmt; i++) { in lyp_mand_check_ext() 3269 …if (ext->substmt[i].cardinality == LY_STMT_CARD_OPT || ext->substmt[i].cardinality == LY_STMT_CARD… in lyp_mand_check_ext() 3272 } else if (ext->substmt[i].cardinality == LY_STMT_CARD_SOME) { in lyp_mand_check_ext() 3281 switch (ext->substmt[i].stmt) { in lyp_mand_check_ext() 3431 target->ext[n]->insubstmt = substmt; in lyp_deviate_apply_ext() [all …]
|
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-19334/ |
H A D | parser.c | 326 op->substmt = ((struct lyext_plugin_complex *)op->def->plugin)->substmt; in lyp_add_ietf_netconf_annotations_config() 358 op->substmt = ((struct lyext_plugin_complex *)op->def->plugin)->substmt; in lyp_add_ietf_netconf_annotations_config() 398 op->substmt = ((struct lyext_plugin_complex *)op->def->plugin)->substmt; in lyp_add_ietf_netconf_annotations_config() 3076 if (substmt == LYEXT_SUBSTMT_SELF && rfn->ext[m]->def != extdef) { in lyp_rfn_apply_ext_() 3101 target->ext[n]->insubstmt = substmt; in lyp_rfn_apply_ext_() 3268 for (i = 0; ext->substmt[i].stmt; i++) { in lyp_mand_check_ext() 3269 …if (ext->substmt[i].cardinality == LY_STMT_CARD_OPT || ext->substmt[i].cardinality == LY_STMT_CARD… in lyp_mand_check_ext() 3272 } else if (ext->substmt[i].cardinality == LY_STMT_CARD_SOME) { in lyp_mand_check_ext() 3281 switch (ext->substmt[i].stmt) { in lyp_mand_check_ext() 3431 target->ext[n]->insubstmt = substmt; in lyp_deviate_apply_ext() [all …]
|
/dports/graphics/py-nwdiag/nwdiag-2.0.0/src/nwdiag/ |
H A D | builder.py | 102 substmt = namedtuple('Statements', 'stmts')([]) 107 substmt.stmts.append(s) 109 self.instantiate(subnetwork, group, substmt) 117 substmt = namedtuple('Statements', 'stmts')([]) 122 substmt.stmts.append(s) 124 self.instantiate(network, subgroup, substmt)
|
/dports/net/libyang/libyang-1.0.240/src/extensions/ |
H A D | libyang_ext_test.c | 195 .substmt = libyang_ext_test_substmt, 212 .substmt = libyang_ext_test_substmt_arrays, 229 .substmt = libyang_ext_test_substmt_mand,
|
H A D | metadata.c | 157 .substmt = annotation_substmt,
|
H A D | yangdata.c | 205 .substmt = yang_data_substmt,
|
/dports/databases/py-sqlalchemy14/SQLAlchemy-1.4.27/lib/sqlalchemy/ext/mypy/ |
H A D | util.py | 223 for substmt in stmt.body[0].body: 224 yield substmt
|
/dports/net/libyang/libyang-1.0.240/swig/cpp/src/ |
H A D | Tree_Schema.hpp | 1049 Substmt(struct lyext_substmt *substmt, S_Deleter deleter); 1052 LY_STMT stmt() {return substmt->stmt;}; in stmt() 1054 size_t offset() {return substmt->offset;}; in offset() 1056 LY_STMT_CARD cardinality() {return substmt->cardinality;}; in cardinality() 1058 struct lyext_substmt *substmt; member in libyang::Substmt
|
/dports/net-mgmt/py-pyang/pyang-1.7.8/pyang/ |
H A D | yang_parser.py | 329 substmt = self._parse_statement(stmt) 330 stmt.substmts.append(substmt)
|