Home
last modified time | relevance | path

Searched refs:rulestring (Results 1 – 25 of 29) sorted by relevance

12

/dports/www/moodle310/moodle/mod/quiz/accessrule/seb/classes/
H A Dquiz_settings.php597 foreach ($expallowed as $rulestring) {
598 $urlfilterrules[] = $this->create_filter_rule($rulestring, true, false);
600 foreach ($expblocked as $rulestring) {
601 $urlfilterrules[] = $this->create_filter_rule($rulestring, false, false);
603 foreach ($regallowed as $rulestring) {
604 $urlfilterrules[] = $this->create_filter_rule($rulestring, true, true);
606 foreach ($regblocked as $rulestring) {
607 $urlfilterrules[] = $this->create_filter_rule($rulestring, false, true);
615 * @param string $rulestring The expression to filter with.
620 …private function create_filter_rule(string $rulestring, bool $allowed, bool $isregex) : CFDictiona… argument
[all …]
/dports/www/moodle311/moodle/mod/quiz/accessrule/seb/classes/
H A Dquiz_settings.php597 foreach ($expallowed as $rulestring) {
598 $urlfilterrules[] = $this->create_filter_rule($rulestring, true, false);
600 foreach ($expblocked as $rulestring) {
601 $urlfilterrules[] = $this->create_filter_rule($rulestring, false, false);
603 foreach ($regallowed as $rulestring) {
604 $urlfilterrules[] = $this->create_filter_rule($rulestring, true, true);
606 foreach ($regblocked as $rulestring) {
607 $urlfilterrules[] = $this->create_filter_rule($rulestring, false, true);
615 * @param string $rulestring The expression to filter with.
620 …private function create_filter_rule(string $rulestring, bool $allowed, bool $isregex) : CFDictiona… argument
[all …]
/dports/www/moodle39/moodle/mod/quiz/accessrule/seb/classes/
H A Dquiz_settings.php597 foreach ($expallowed as $rulestring) {
598 $urlfilterrules[] = $this->create_filter_rule($rulestring, true, false);
600 foreach ($expblocked as $rulestring) {
601 $urlfilterrules[] = $this->create_filter_rule($rulestring, false, false);
603 foreach ($regallowed as $rulestring) {
604 $urlfilterrules[] = $this->create_filter_rule($rulestring, true, true);
606 foreach ($regblocked as $rulestring) {
607 $urlfilterrules[] = $this->create_filter_rule($rulestring, false, true);
615 * @param string $rulestring The expression to filter with.
620 …private function create_filter_rule(string $rulestring, bool $allowed, bool $isregex) : CFDictiona… argument
[all …]
/dports/science/smoldyn/smoldyn-2.67/source/Smoldyn/
H A Dsmolrule.c196 char rulestring[STRCHAR],string[STRCHAR]; in ruleoutput() local
224 strcpy(rulestring,pattern); in ruleoutput()
225 chptr=rulestring; // next, add in molecule states in ruleoutput()
235 strstrreplace(rulestring," "," + ",STRCHAR); in ruleoutput()
236 strstrreplace(rulestring,"\n"," -> ",STRCHAR); in ruleoutput()
239 simLog(sim,2," reaction rule %s: %s, rate %g",rname,rulestring,rulerate); in ruleoutput()
241 simLog(sim,2," difc rule: %s, value %g",rulestring,rulerate); in ruleoutput()
243 simLog(sim,2," difm rule: %s, matrix:",rulestring); in ruleoutput()
247 simLog(sim,2," drift rule: %s, vector:",rulestring); in ruleoutput()
251 simLog(sim,2," surface drift rule: %s,",rulestring); in ruleoutput()
[all …]
/dports/games/golly/golly-3.3-src/gui-wx/
H A Dwxhelp.cpp409 void LoadRule(const wxString& rulestring, bool fromfile) in LoadRule() argument
437 err = currlayer->algo->setrule( rulestring.mb_str(wxConvLocal) ); in LoadRule()
441 err = tempalgo->setrule( rulestring.mb_str(wxConvLocal) ); in LoadRule()
445 mainptr->ChangeAlgorithm(rule_loader_algo, rulestring); in LoadRule()
462 wxString temprule = rulestring; in LoadRule()
483 wxString msg = _("The rule file is not valid:\n") + rulestring; in LoadRule()
492 err = currlayer->algo->setrule( rulestring.mb_str(wxConvLocal) ); in LoadRule()
498 err = tempalgo->setrule( rulestring.mb_str(wxConvLocal) ); in LoadRule()
502 mainptr->ChangeAlgorithm(i, rulestring); in LoadRule()
515 Warning(_("Given rule is not valid in any algorithm:\n") + rulestring); in LoadRule()
H A Dwxrule.h12 wxString GetRuleName(const wxString& rulestring);
H A Dwxhelp.h25 void LoadRule(const wxString& rulestring, bool fromfile = true);
H A Dwxrule.cpp46 wxString GetRuleName(const wxString& rulestring) in GetRuleName() argument
52 wxString ruleprefix = rulestring; in GetRuleName()
56 rulesuffix = wxT(":") + rulestring.AfterFirst(':'); in GetRuleName()
63 if ( rulestring.IsSameAs(thisrule,false) ) { in GetRuleName()
87 rulename = rulestring; in GetRuleName()
H A Dwxscript.h93 const char* GSF_setrule(const char* rulestring);
H A Dwxscript.cpp271 const char* GSF_setrule(const char* rulestring) in GSF_setrule() argument
288 if (rulestring == NULL || rulestring[0] == 0) { in GSF_setrule()
292 err = currlayer->algo->setrule(rulestring); in GSF_setrule()
299 err = tempalgo->setrule(rulestring); in GSF_setrule()
303 mainptr->ChangeAlgorithm(i, wxString(rulestring,wxConvLocal)); in GSF_setrule()
H A Dwxpython.cpp2078 const char* rulestring = NULL; in py_setrule() local
2080 if (!PyArg_ParseTuple(args, (char*)"s", &rulestring)) return NULL; in py_setrule()
2084 const char* err = GSF_setrule(rulestring); in py_setrule()
/dports/games/golly/golly-3.3-src/gui-common/
H A Dcontrol.h30 void ChangeRule(const std::string& rulestring);
H A Dfile.cpp328 void LoadRule(const std::string& rulestring) in LoadRule() argument
344 err = currlayer->algo->setrule(rulestring.c_str()); in LoadRule()
348 err = tempalgo->setrule(rulestring.c_str()); in LoadRule()
352 ChangeAlgorithm(rule_loader_algo, rulestring.c_str()); in LoadRule()
366 std::string temprule = rulestring; in LoadRule()
386 msg += rulestring; in LoadRule()
H A Dfile.h29 void LoadRule(const std::string& rulestring);
H A Dcontrol.cpp752 void ChangeRule(const std::string& rulestring) in ChangeRule() argument
761 const char* err = currlayer->algo->setrule( rulestring.c_str() ); in ChangeRule()
767 err = tempalgo->setrule( rulestring.c_str() ); in ChangeRule()
771 ChangeAlgorithm(i, rulestring.c_str()); in ChangeRule()
/dports/multimedia/vvdec/vvdec-1.1.2/source/Lib/CommonLib/
H A Ddtrace.cpp197 int CDTrace::addRule( std::string rulestring ) in addRule() argument
199 vstring chans_conds = split( rulestring, ':' ); in addRule()
H A Ddtrace.h132 int addRule ( std::string rulestring );
/dports/games/golly/golly-3.3-src/Scripts/Lua/
H A D3D.lua375 rulestring = "BusyBoxes"
381 rulestring = "BusyBoxesW"
1920 state.saverule = rulestring
2562 trule = rulestring
3352 local newrule = rulestring
3373 local oldrule = rulestring
3382 if oldrule ~= rulestring then
3386 rulestring = oldrule
3394 rulestring = newrule
3887 local trule = rulestring
[all …]
/dports/games/golly/golly-3.3-src/gollybase/
H A Dgenerationsalgo.cpp726 const char *generationsalgo::setrule(const char *rulestring) { in setrule() argument
727 char *r = (char *)rulestring ; in setrule()
747 if (strlen(rulestring) > (size_t) MAXRULESIZE) { in setrule()
H A Dliferules.cpp760 const char *liferules::setrule(const char *rulestring, lifealgo *algo) { in setrule() argument
761 char *r = (char *)rulestring ; in setrule()
782 if (strlen(rulestring) > (size_t) MAXRULESIZE) { in setrule()
/dports/games/xlife/xlife-6.7/
H A Dfile.c118 static char cuttopology(char *rulestring, int addext) { in cuttopology() argument
119 char *p = strrchr(rulestring, ':'); in cuttopology()
123 && p != rulestring + 1 in cuttopology()
129 if (addext && !((p = strrchr(rulestring, '.')) && *(p + 1) == 'r' in cuttopology()
131 strcat(rulestring, ".r"); in cuttopology()
/dports/www/edbrowse/edbrowse-3.7.7/src/
H A Dcss.c3283 void cssText(jsobjtype node, const char *rulestring) in cssText() argument
3288 if (!node || !rulestring) in cssText()
3292 if (!*rulestring) in cssText()
3295 s = allocMem(strlen(rulestring) + 20); in cssText()
3296 sprintf(s, "*{%s}", rulestring); in cssText()
3299 debugPrint(3, "cssText(%s) yields no descriptors", rulestring); in cssText()
3305 rulestring); in cssText()
3310 debugPrint(3, "cssText(%s): %s", rulestring, in cssText()
H A Debprot.h416 void cssText(jsobjtype node, const char *rulestring);
/dports/dns/prometheus-dnssec-exporter/prometheus-dnssec-exporter-caa7d89/vendor/github.com/naoina/toml/
H A Dparse.peg.go42 rulestring const
1812 add(rulestring, position156)
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/naoina/toml/
H A Dparse.peg.go42 rulestring const
1819 add(rulestring, position158)

12