Searched refs:policy_id (Results 1 – 4 of 4) sorted by relevance
521 if (n->type_id()->name_ == "INDEXED" && n->policy_id()->name_ != "AUTO") { in visit_table_decl_stmt_node()523 n->policy_id()->name_ = "AUTO"; in visit_table_decl_stmt_node()525 if (n->policy_id()->name_ != "AUTO" && n->policy_id()->name_ != "NONE") in visit_table_decl_stmt_node()526 return mkstatus_(n, "Unsupported policy type %s", n->policy_id()->c_str()); in visit_table_decl_stmt_node()
595 IdentExprNode * policy_id() { return templates_.at(3).get(); } in policy_id() function
811 if (n->table_->policy_id()->name_ == "AUTO") { in visit_table_index_expr_node()838 } else if (n->table_->policy_id()->name_ == "NONE") { in visit_table_index_expr_node()
1164 const char *policy_id) in read_policy_file() argument1169 ctx->root_dir, policy_id); in read_policy_file()1197 char *policy_id; in build_policy() local1200 policy_id = db_get_val(ctx, user, realm, "policy", use_dmacc); in build_policy()1201 if (policy_id == NULL || strlen(policy_id) == 0) { in build_policy()1202 free(policy_id); in build_policy()1203 policy_id = strdup("default"); in build_policy()1204 if (policy_id == NULL) in build_policy()1207 policy = read_policy_file(ctx, policy_id); in build_policy()1208 free(policy_id); in build_policy()