Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 1386) sorted by relevance

12345678910>>...56

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DInterval.php43 public function equals(object $other) : bool argument
45 if ($this === $other) {
49 return $other instanceof self
50 && $this->start === $other->start
51 && $this->stop === $other->stop;
55 * Does this start completely before other? Disjoint.
57 public function startsBeforeDisjoint(Interval $other) : bool argument
59 return $this->start < $other->start && $this->stop < $other->start;
63 * Does this start at or before other
65 startsBeforeNonDisjoint(Interval $other) global() argument
73 startsAfter(Interval $other) global() argument
81 startsAfterDisjoint(Interval $other) global() argument
89 startsAfterNonDisjoint(Interval $other) global() argument
98 disjoint(Interval $other) global() argument
106 adjacent(Interval $other) global() argument
114 union(Interval $other) global() argument
122 intersection(Interval $other) global() argument
[all...]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Constraint/
H A DArraySubset.php48 protected function matches($other) argument
52 $other = $this->toArray($other);
58 return $other === $patched;
60 return $other == $patched;
90 * @param array|Traversable $other
94 private function toArray($other) argument
96 if (is_array($other)) {
97 return $other;
99 return $other->getArrayCopy();
101 return iterator_to_array($other);
[all …]
H A DIsIdentical.php63 if (is_float($this->value) && is_float($other) &&
65 !is_nan($this->value) && !is_nan($other)) {
68 $success = $this->value === $other;
82 $other,
84 $other
88 $this->fail($other, $description, $f);
98 * @param mixed $other Evaluated value or object.
102 protected function failureDescription($other) argument
104 if (is_object($this->value) && is_object($other)) {
108 if (is_string($this->value) && is_string($other)) {
[all …]
H A DCount.php31 * @param mixed $other
35 protected function matches($other) argument
41 * @param mixed $other
45 protected function getCountOf($other) argument
47 if ($other instanceof Countable || is_array($other)) {
48 return count($other);
49 } elseif ($other instanceof Traversable) {
51 $iterator = $other->getIterator();
53 $iterator = $other;
103 protected function failureDescription($other) argument
[all …]
H A DIsType.php87 protected function matches($other) argument
91 return is_numeric($other);
95 return is_int($other);
100 return is_float($other);
103 return is_string($other);
107 return is_bool($other);
110 return is_null($other);
113 return is_array($other);
116 return is_object($other);
119 return is_resource($other) || is_string(@get_resource_type($other));
[all …]
H A DException.php31 * @param mixed $other Value or object to evaluate.
35 protected function matches($other) argument
37 return $other instanceof $this->className;
46 * @param mixed $other Evaluated value or object.
50 protected function failureDescription($other) argument
52 if ($other !== null) {
54 if ($other instanceof Exception || $other instanceof Throwable) {
55 $message = '. Message was: "' . $other->getMessage() . '" at'
56 . "\n" . PHPUnit_Util_Filter::getFilteredStacktrace($other);
61 get_class($other),
H A DIsJson.php20 * @param mixed $other Value or object to evaluate.
24 protected function matches($other) argument
26 if ($other === '') {
30 json_decode($other);
44 * @param mixed $other Evaluated value or object.
48 protected function failureDescription($other) argument
50 if ($other === '') {
54 json_decode($other);
61 $this->exporter->shortenedExport($other),
H A DClassHasAttribute.php37 * @param mixed $other Value or object to evaluate.
41 protected function matches($other) argument
43 $class = new ReflectionClass($other);
67 * @param mixed $other Evaluated value or object.
71 protected function failureDescription($other) argument
75 is_object($other) ? 'object of ' : '',
76 is_object($other) ? get_class($other) : $other,
H A DIsEmpty.php20 * @param mixed $other Value or object to evaluate.
24 protected function matches($other) argument
26 if ($other instanceof Countable) {
27 return count($other) === 0;
30 return empty($other);
49 * @param mixed $other Evaluated value or object.
53 protected function failureDescription($other) argument
55 $type = gettype($other);
H A DArrayHasKey.php39 * @param mixed $other Value or object to evaluate.
43 protected function matches($other) argument
45 if (is_array($other)) {
46 return array_key_exists($this->key, $other);
49 if ($other instanceof ArrayAccess) {
50 return $other->offsetExists($this->key);
72 * @param mixed $other Evaluated value or object.
76 protected function failureDescription($other) argument
H A DExceptionMessage.php31 * @param Exception $other
35 protected function matches($other) argument
38 return $other->getMessage() === '';
41 return strpos($other->getMessage(), $this->expectedMessage) !== false;
50 * @param mixed $other Evaluated value or object.
54 protected function failureDescription($other) argument
59 $other->getMessage()
65 $other->getMessage(),
H A DTraversableContains.php60 * @param mixed $other Value or object to evaluate.
64 protected function matches($other) argument
66 if ($other instanceof SplObjectStorage) {
67 return $other->contains($this->value);
71 foreach ($other as $element) {
79 foreach ($other as $element) {
111 * @param mixed $other Evaluated value or object.
115 protected function failureDescription($other) argument
119 is_array($other) ? 'an array' : 'a traversable',
H A DIsReadable.php22 * @param mixed $other Value or object to evaluate.
26 protected function matches($other) argument
28 return is_readable($other);
37 * @param mixed $other Evaluated value or object.
41 protected function failureDescription($other) argument
45 $other
H A DIsWritable.php22 * @param mixed $other Value or object to evaluate.
26 protected function matches($other) argument
28 return is_writable($other);
37 * @param mixed $other Evaluated value or object.
41 protected function failureDescription($other) argument
45 $other
H A DDirectoryExists.php22 * @param mixed $other Value or object to evaluate.
26 protected function matches($other) argument
28 return is_dir($other);
37 * @param mixed $other Evaluated value or object.
41 protected function failureDescription($other) argument
45 $other
H A DFileExists.php22 * @param mixed $other Value or object to evaluate.
26 protected function matches($other) argument
28 return file_exists($other);
37 * @param mixed $other Evaluated value or object.
41 protected function failureDescription($other) argument
45 $other
H A DNot.php81 * @param mixed $other Value or object to evaluate.
89 public function evaluate($other, $description = '', $returnResult = false) argument
91 $success = !$this->constraint->evaluate($other, $description, true);
98 $this->fail($other, $description);
108 * @param mixed $other Evaluated value or object.
112 protected function failureDescription($other) argument
118 return 'not( ' . $this->constraint->failureDescription($other) . ' )';
122 $this->constraint->failureDescription($other)
H A DExceptionCode.php31 * @param Exception $other
35 protected function matches($other) argument
37 return (string) $other->getCode() == (string) $this->expectedCode;
46 * @param mixed $other Evaluated value or object.
50 protected function failureDescription($other) argument
54 $this->exporter->export($other->getCode()),
H A DExceptionMessageRegExp.php31 * @param Exception $other
35 protected function matches($other) argument
37 … $match = PHPUnit_Util_Regex::pregMatchSafe($this->expectedMessageRegExp, $other->getMessage());
54 * @param mixed $other Evaluated value or object.
58 protected function failureDescription($other) argument
62 $other->getMessage(),
H A DIsInstanceOf.php37 * @param mixed $other Value or object to evaluate.
41 protected function matches($other) argument
43 return ($other instanceof $this->className);
52 * @param mixed $other Evaluated value or object.
56 protected function failureDescription($other) argument
60 $this->exporter->shortenedExport($other),
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/
H A DConstraint.php35 * @param mixed $other Value or object to evaluate.
47 if ($this->matches($other)) {
56 $this->fail($other, $description);
66 * @param mixed $other Value or object to evaluate.
70 protected function matches($other) argument
98 $this->failureDescription($other)
123 * @param mixed $other Evaluated value or object.
127 protected function additionalFailureDescription($other) argument
141 * @param mixed $other Evaluated value or object.
145 protected function failureDescription($other) argument
[all …]
/plugin/sequencediagram/bower_components/lodash/perf/asset/
H A Dperf-ui.js11 var other = (other = /other=([^&]+)/.exec(location.search)) && decodeURIComponent(other[1]); variable
34 'other=' + (otherIndex < 0 ? other : otherList[otherIndex].value);
71 switch (other) {
98 switch (other) {
101 case null: other = 'underscore';
103 default: return other;
108 ui.urlParams = { 'build': build, 'other': other }; property in ui.urlParams
/plugin/statdisplay/pchart/
H A DShadowProperties.php54 static public function Copy(ShadowProperties $other) { argument
55 $copy = ShadowProperties::FromSettings($other->xDistance,
56 $other->yDistance,
57 $other->color,
58 $other->alpha,
59 $other->blur);
60 $copy->active = $other->active;
/plugin/statistics/inc/pchart/
H A DShadowProperties.php54 static public function Copy(ShadowProperties $other) { argument
56 $other->xDistance,
57 $other->yDistance,
58 $other->color,
59 $other->alpha,
60 $other->blur
62 $copy->active = $other->active;
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/Transitions/
H A DActionTransition.php51 public function equals(object $other) : bool argument
53 if ($this === $other) {
57 if (!$other instanceof self) {
61 return $this->ruleIndex === $other->ruleIndex
62 && $this->actionIndex === $other->actionIndex
63 && $this->isCtxDependent === $other->isCtxDependent
64 && $this->target->equals($other->target);

12345678910>>...56