Home
last modified time | relevance | path

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

12345678910>>...66

/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;
57 public function startsBeforeDisjoint(Interval $other) : bool argument
59 return $this->start < $other->start && $this->stop < $other->start;
65 public function startsBeforeNonDisjoint(Interval $other) : bool argument
67 return $this->start <= $other->start && $this->stop >= $other->start;
73 public function startsAfter(Interval $other) : bool argument
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Constraint/
DArraySubset.php44 * @param array|Traversable $other Array or Traversable object to evaluate.
48 protected function matches($other) argument
52 $other = $this->toArray($other);
55 $patched = array_replace_recursive($other, $this->subset);
58 return $other === $patched;
60 return $other == $patched;
80 * @param mixed $other Evaluated value or object.
84 protected function failureDescription($other) argument
90 * @param array|Traversable $other
94 private function toArray($other) argument
[all …]
DIsIdentical.php53 * @param mixed $other Value or object to evaluate.
61 public function evaluate($other, $description = '', $returnResult = false) argument
63 if (is_float($this->value) && is_float($other) &&
64 !is_infinite($this->value) && !is_infinite($other) &&
65 !is_nan($this->value) && !is_nan($other)) {
66 $success = abs($this->value - $other) < self::EPSILON;
68 $success = $this->value === $other;
79 if (is_string($this->value) && is_string($other)) {
82 $other,
84 $other
[all …]
DCount.php31 * @param mixed $other
35 protected function matches($other) argument
37 return $this->expectedCount === $this->getCountOf($other);
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) {
50 if ($other instanceof IteratorAggregate) {
51 $iterator = $other->getIterator();
[all …]
DIsType.php83 * @param mixed $other Value or object to evaluate.
87 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);
[all …]
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),
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),
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,
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);
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
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(),
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',
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)
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
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
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
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
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/
DConstraint.php35 * @param mixed $other Value or object to evaluate.
43 public function evaluate($other, $description = '', $returnResult = false) argument
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
88 …* @param mixed $other Evaluated value or obje…
94 …protected function fail($other, $description, SebastianBergmann\Comparator\ComparisonFailure $comp… argument
98 $this->failureDescription($other)
101 $additionalFailureDescription = $this->additionalFailureDescription($other);
[all …]
/plugin/asciidocjs/node_modules/lodash/
D_equalByTag.js47 function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { argument
50 if ((object.byteLength != other.byteLength) ||
51 (object.byteOffset != other.byteOffset)) {
55 other = other.buffer;
58 if ((object.byteLength != other.byteLength) ||
59 !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
69 return eq(+object, +other);
72 return object.name == other.name && object.message == other.message;
79 return object == (other + '');
88 if (object.size != other.size && !isPartial) {
[all …]
D_equalObjects.js25 function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { argument
29 othProps = getAllKeys(other),
38 if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
44 var othStacked = stack.get(other);
46 return objStacked == other && othStacked == object;
49 stack.set(object, other);
50 stack.set(other, object);
56 othValue = other[key];
60 ? customizer(othValue, objValue, key, other, object, stack)
61 : customizer(objValue, othValue, key, object, other, stack);
[all …]
D_createMathOperation.js13 return function(value, other) { argument
15 if (value === undefined && other === undefined) {
21 if (other !== undefined) {
23 return other;
25 if (typeof value == 'string' || typeof other == 'string') {
27 other = baseToString(other);
30 other = baseToNumber(other);
32 result = operator(value, other);
D_compareAscending.js11 function compareAscending(value, other) { argument
12 if (value !== other) {
18 var othIsDefined = other !== undefined,
19 othIsNull = other === null,
20 othIsReflexive = other === other,
21 othIsSymbol = isSymbol(other);
23 if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||
30 if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||
D_equalArrays.js22 function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { argument
25 othLength = other.length;
32 var othStacked = stack.get(other);
34 return arrStacked == other && othStacked == array;
40 stack.set(array, other);
41 stack.set(other, array);
46 othValue = other[index];
50 ? customizer(othValue, arrValue, index, other, array, stack)
51 : customizer(arrValue, othValue, index, array, other, stack);
62 if (!arraySome(other, function(othValue, othIndex) {
[all …]
D_baseIsEqual.js18 function baseIsEqual(value, other, bitmask, customizer, stack) { argument
19 if (value === other) {
22 if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
23 return value !== value && other !== other;
25 return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
D_baseIsEqualDeep.js38 function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { argument
40 othIsArr = isArray(other),
42 othTag = othIsArr ? arrayTag : getTag(other);
52 if (!isBuffer(other)) {
61 ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
62 : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
66 othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
70 othUnwrapped = othIsWrapped ? other.value() : other;
80 return equalObjects(object, other, bitmask, customizer, equalFunc, stack);

12345678910>>...66