/dports/textproc/p5-YAML-PP/YAML-PP-0.020/lib/YAML/PP/Schema/ |
H A D | YAML1_1.pm | 50 my ($sign, $oct) = @$matches; 53 $result = -$result if $sign eq '-'; 58 my ($sign, $hex) = @$matches; 60 $result = -$result if $sign eq '-'; 68 my $sign = 1; 69 $float =~ s/^-// and $sign = -1; 75 return $result * $sign; 97 match => [ equals => $_ => undef ], 137 match => [ equals => $_ => 0 + "inf" ], 141 match => [ equals => $_ => 0 - "inf" ], [all …]
|
/dports/ports-mgmt/pkg/pkg-1.17.5/src/ |
H A D | info.c | 51 enum sign { enum 91 int sign = 0; in exec_info() local 135 match = MATCH_ALL; in exec_info() 169 match = MATCH_GLOB; in exec_info() 205 match = MATCH_REGEX; in exec_info() 228 match = MATCH_ALL; in exec_info() 363 sign=LE; in exec_info() 385 sign=GE; in exec_info() 407 sign=EQ; in exec_info() 456 if (sign != LT && sign != LE) { in exec_info() [all …]
|
/dports/www/owncloud/owncloud/lib/composer/punic/punic/src/ |
H A D | Number.php | 71 $sign = ''; 242 $sign = $m[1]; 246 $sign = $m[1]; 250 $sign = $m[1]; 254 $sign = $m[1]; 263 $sign = '-'; 265 $sign = ''; 326 if (isset($match[4])) { 334 if ($match[2]) { 350 switch ($match[1]) { [all …]
|
/dports/devel/tcllib/tcllib-1.20/modules/rest/ |
H A D | facebook | 15 auth { sign sign } 18 check_result { {} {[string match "\{error_code*" $result]} } 25 auth { sign sign } 28 check_result { {} {[string match "\{error_code*" $result]} } 33 auth { sign sign } 38 check_result { {} {[string match "\{error_code*" $result]} } 43 auth { sign sign } 47 check_result { {} {[string match "\{error_code*" $result]} } 52 auth { sign sign } 61 auth { sign sign } [all …]
|
/dports/devel/tcllibc/tcllib-1.20/modules/rest/ |
H A D | facebook | 15 auth { sign sign } 18 check_result { {} {[string match "\{error_code*" $result]} } 25 auth { sign sign } 28 check_result { {} {[string match "\{error_code*" $result]} } 33 auth { sign sign } 38 check_result { {} {[string match "\{error_code*" $result]} } 43 auth { sign sign } 47 check_result { {} {[string match "\{error_code*" $result]} } 52 auth { sign sign } 61 auth { sign sign } [all …]
|
/dports/math/gnumeric/gnumeric-1.12.50/src/ |
H A D | number-match.c | 509 sign = '-'; \ 528 char sign = 0; in format_match_time() local 645 if (sign == '-') in format_match_time() 928 char sign = 0; in format_match_fraction() local 991 if (sign == '-') in format_match_fraction() 1025 char sign = 0; in format_match_decimal_number_with_locale() local 1054 if (!sign) { in format_match_decimal_number_with_locale() 1063 sign = '-'; in format_match_decimal_number_with_locale() 1107 if (!sign) in format_match_decimal_number_with_locale() 1108 sign = '+'; in format_match_decimal_number_with_locale() [all …]
|
/dports/devel/py-isodate/isodate-0.6.0/src/isodate/ |
H A D | isodates.py | 67 sign = 1 69 sign = 0 74 % (sign, yeardigits))) 78 % (sign, yeardigits))) 83 % (sign, yeardigits))) 87 % (sign, yeardigits))) 170 match = pattern.match(datestring) 171 if match: 172 groups = match.groupdict() 175 sign = (groups['sign'] == '-' and -1) or 1 [all …]
|
H A D | isotzinfo.py | 71 match = TZ_RE.match(tzstring) 72 if match: 73 groups = match.groupdict() 100 sign = ((seconds < 0) and '-') or '+' 107 return '%s%02d:%02d' % (sign, hours, minutes) 109 return '%s%02d%02d' % (sign, hours, minutes) 111 return '%s%02d' % (sign, hours)
|
/dports/finance/beancount/beancount-2.3.3/beancount/parser/ |
H A D | booking_method.py | 89 posting._replace(units=-match.units, cost=match.cost) 101 match = matches[0] 102 sign = -1 if posting.units.number < ZERO else 1 104 match_units = Amount(number * sign, match.units.currency) 130 sign = -1 if posting.units.number < ZERO else 1 138 if match.units.number * sign > ZERO: 144 posting._replace(units=Amount(size * sign, match.units.currency), 195 match = matches[0] 196 sign = -1 if posting.units.number < ZERO else 1 198 match_units = Amount(number * sign, match.units.currency) [all …]
|
/dports/math/abella/abella-2.0.7/src/ |
H A D | typing.ml | 57 match t with 63 match t with 229 match aty with 289 match t with 368 match t with 433 match t with 445 match t with 534 match t with 544 match t with 708 (* let () = match sign with *) [all …]
|
/dports/devel/youcompleteme/YouCompleteMe-ab73ca2/python/ycm/tests/ |
H A D | test_utils.py | 153 if match: 158 if match: 163 if match: 172 if match: 201 if match: 316 for sign in VIM_SIGNS: 317 if sign.bufnr == bufnr: 323 REDIR[ 'output' ] += line_output.format( sign.line, sign.id, sign.name ) 338 for sign in VIM_SIGNS: 339 if sign.id == sign_id and sign.bufnr == bufnr: [all …]
|
/dports/devel/liblouis/liblouis-3.20.0/tests/yaml/ |
H A D | attribute.yaml | 2 # be used in a match expression (but not in a multipass expression) 5 sign a 1 6 sign b 12 8 match %5 a - 17 15 # multipass expression (but not in a match expression) 22 sign a 1 23 sign b 12 36 sign a 1 42 sign a 1 48 sign a 1 [all …]
|
/dports/devel/liblouis/liblouis-3.20.0/tables/ |
H A D | km-g1.utb | 173 sign # 3456 175 sign $ 4-234 177 sign % 4-356 180 sign & 4-12346 187 sign * 5-236 199 sign / 34 213 sign @ 4 218 sign \\ 4-16 222 sign ^ 4-26 226 sign _ 4-456 [all …]
|
/dports/astro/py-astropy/astropy-5.0/astropy/coordinates/ |
H A D | jparser.py | 21 sign, h, m, s, frac = g 22 sign = -1 if (sign == '-') else 1 24 return sign * np.array([h, m, s], float) 30 match = JPARSER.search(name) 31 if match is None and raise_: 33 return match 63 match = search(name) 64 return ''.join(match.group(1, 3, 4, 7, 8, 9))
|
/dports/devel/py-pytimeparse/pytimeparse-1.1.5/pytimeparse/ |
H A D | timeparse.py | 146 match = re.match(r'\s*' + SIGN + r'\s*(?P<unsigned>.*)$', sval) 147 sign = -1 if match.groupdict()['sign'] == '-' else 1 148 sval = match.groupdict()['unsigned'] 150 match = re.match(r'\s*' + timefmt + r'\s*$', sval, re.I) 151 if match and match.group(0).strip(): 152 mdict = match.groupdict() 157 return sign * sum([MULTIPLIERS[k] * int(v, 10) for (k, v) in 165 sign * int(sum([MULTIPLIERS[k] * float(v) for (k, v) in 170 return sign * sum([MULTIPLIERS[k] * float(v) for (k, v) in
|
/dports/math/clasp/clasp-3.3.5/src/ |
H A D | parser.cpp | 177 bool sign = stream()->peek() == '-'; in matchLit() local 178 if (sign) { stream()->get(); } in matchLit() 182 return Literal(static_cast<uint32>(id), sign); in matchLit() 203 require(!x.sign(), "project: positive literal expected"); in parseProject() 218 require(!atom.sign(), "heuristic: positive literal expected"); in parseHeuristic() 326 const int sign = match("<= ") ? -1 : int(require(match(">= "), "invalid constraint operator")); in doParse() local 330 wlc.push_back(WeightLiteral(*it, sign)); in doParse() 332 program_->addConstraint(wlc, bound * sign); in doParse() 423 if (match("[")) { in parseConstraint() 456 bool sign = match("~"); // optionally in parseTerm() local [all …]
|
/dports/math/clingo/clingo-5.5.1/clasp/clasp-da10954/src/ |
H A D | parser.cpp | 177 bool sign = stream()->peek() == '-'; in matchLit() local 178 if (sign) { stream()->get(); } in matchLit() 182 return Literal(static_cast<uint32>(id), sign); in matchLit() 203 require(!x.sign(), "project: positive literal expected"); in parseProject() 218 require(!atom.sign(), "heuristic: positive literal expected"); in parseHeuristic() 326 const int sign = match("<= ") ? -1 : int(require(match(">= "), "invalid constraint operator")); in doParse() local 330 wlc.push_back(WeightLiteral(*it, sign)); in doParse() 332 program_->addConstraint(wlc, bound * sign); in doParse() 423 if (match("[")) { in parseConstraint() 456 bool sign = match("~"); // optionally in parseTerm() local [all …]
|
/dports/math/clingo/clingo-5.5.1/clasp/src/ |
H A D | parser.cpp | 177 bool sign = stream()->peek() == '-'; in matchLit() local 178 if (sign) { stream()->get(); } in matchLit() 182 return Literal(static_cast<uint32>(id), sign); in matchLit() 203 require(!x.sign(), "project: positive literal expected"); in parseProject() 218 require(!atom.sign(), "heuristic: positive literal expected"); in parseHeuristic() 326 const int sign = match("<= ") ? -1 : int(require(match(">= "), "invalid constraint operator")); in doParse() local 330 wlc.push_back(WeightLiteral(*it, sign)); in doParse() 332 program_->addConstraint(wlc, bound * sign); in doParse() 423 if (match("[")) { in parseConstraint() 456 bool sign = match("~"); // optionally in parseTerm() local [all …]
|
/dports/devel/9base/9base-6/sam/ |
H A D | address.c | 38 sign = -sign; in address() 39 if(sign == 0) in address() 40 sign = -1; in address() 43 nextmatch(f, ap->are, sign>=0? a.r.p2 : a.r.p1, sign); in address() 82 sign = 1; in address() 84 sign = -1; in address() 125 File *match = 0; in matchfile() local 133 if(match) in matchfile() 135 match = f; in matchfile() 138 if(!match) in matchfile() [all …]
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/sam/ |
H A D | address.c | 38 sign = -sign; in address() 39 if(sign == 0) in address() 40 sign = -1; in address() 43 nextmatch(f, ap->are, sign>=0? a.r.p2 : a.r.p1, sign); in address() 82 sign = 1; in address() 84 sign = -1; in address() 125 File *match = 0; in matchfile() local 133 if(match) in matchfile() 135 match = f; in matchfile() 138 if(!match) in matchfile() [all …]
|
/dports/databases/py-pycql/pycql-0.0.12/pycql/ |
H A D | util.py | 52 match = RE_ISO_8601.match(value) 53 if not match: 57 match = match.groupdict() 59 sign = -1 if "-" == match['sign'] else 1 60 days = float(match['days'] or 0) 61 days += float(match['months'] or 0) * 30 # ?! 62 days += float(match['years'] or 0) * 365 # ?! 63 fsec = float(match['seconds'] or 0) 64 fsec += float(match['minutes'] or 0) * 60 65 fsec += float(match['hours'] or 0) * 3600 [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/crewjam/saml/ |
H A D | duration.go | 68 sign time.Duration = 1 71 if match == nil || strings.Join(match[2:6], "") == "" { 74 if match[1] == "-" { 75 sign = -1 77 if match[2] != "" { 84 if match[3] != "" { 91 if match[4] != "" { 98 if match[5] != "" { 99 match := durationTimeRegexp.FindStringSubmatch(match[5]) 100 if match == nil { [all …]
|
/dports/net/sems/sems-f89581a/core/ |
H A D | jsonxx.cpp | 73 if (!match("\"", input)) { in parse_string() 204 int sign = 1; in parse_number() local 215 if (match("-", input)) { in parse_number() 216 sign = -1; in parse_number() 218 match("+", input); in parse_number() 290 *value*=sign; in parse_number() 322 int sign = 1; in parse_float() local 334 if (match("-", input)) { in parse_float() 335 sign = -1; in parse_float() 337 match("+", input); in parse_float() [all …]
|
/dports/textproc/py-tomli/tomli-1.2.2/tomli/ |
H A D | _re.py | 46 def match_to_datetime(match: "re.Match") -> Union[datetime, date]: 64 ) = match.groups() 83 sign = 1 if sign_str == "+" else -1 86 hours=sign * int(hour_str), 87 minutes=sign * int(minute_str), 92 def match_to_localtime(match: "re.Match") -> time: 93 hour_str, minute_str, sec_str, micros_str = match.groups() 98 def match_to_number(match: "re.Match", parse_float: "ParseFloat") -> Any: 99 if match.group("floatpart"): 100 return parse_float(match.group()) [all …]
|
/dports/devel/py-isort/isort-5.10.1/isort/_vendored/tomli/ |
H A D | _re.py | 47 def match_to_datetime(match: "re.Match") -> Union[datetime, date]: 65 ) = match.groups() 82 sign = 1 if sign_str == "+" else -1 85 hours=sign * int(hour_str), 86 minutes=sign * int(minute_str), 91 def match_to_localtime(match: "re.Match") -> time: 92 hour_str, minute_str, sec_str, micros_str = match.groups() 97 def match_to_number(match: "re.Match", parse_float: "ParseFloat") -> Any: 98 if match.group("floatpart"): 99 return parse_float(match.group()) [all …]
|