Lines Matching refs:result
80 $result = preg_quote($format, '/');
81 $result = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $result);
82 $result = str_replace('%s', '[^\r\n]+', $result);
83 $result = str_replace('%S', '[^\r\n]*', $result);
84 $result = str_replace('%w', '\s*', $result);
85 $result = str_replace('%i', '[+-]?\d+', $result);
86 $result = str_replace('%d', '\d+', $result);
87 $result = str_replace('%x', '[0-9a-fA-F]+', $result);
88 $result = str_replace('%f', '[+-]?\.?\d+\.?\d*(?:[Ee][+-]?\d+)?', $result);
89 $result = str_replace('%c', '.', $result);
90 $result = str_replace('%0', '\0', $result);
91 return "/^$result$/s";
105 $result = [];
108 $result[] = $elem->old;
110 $result[] = normalizeOutput($elem->new);
113 return implode("\n", $result);
208 $result = [];
223 $result[] = new DiffElem(DiffElem::TYPE_KEEP, $a[$x-1], $b[$y-1]);
233 $result[] = new DiffElem(DiffElem::TYPE_REMOVE, $a[$x-1], null);
238 $result[] = new DiffElem(DiffElem::TYPE_ADD, null, $b[$y-1]);
242 return array_reverse($result);