Searched defs:match (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_crop.c120 int color, corners, match; local
158 match = 1;
159 for (y = 0; match && y < height; y++) {
160 for (x = 0; match && x < width; x++) {
162 match = (color == c2);
174 match = 1;
175 for (y = height - 1; match && y >= 0; y--) {
176 for (x = 0; match && x < width; x++) {
177 match = (color == gdImageGetPixel(im, x,y));
187 match
233 int match; local
[all...]
/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php299 * Expect exact line for line match
406 $this->match[] = str_replace(
411 default: $this->match[] = $line;
452 if (!$line && !isset($this->match[$num]))
457 if (strcmp($line, $this->match[$num]) !== 0) {
458 $this->diff['wants'][$num] = &$this->match[$num];
464 if (strpos($line, $this->match[$num]) === false) {
465 $this->diff['wants'][$num] = &$this->match[$num];
471 if (stripos($line, $this->match[$num]) === false) {
472 $this->diff['wants'][$num] = &$this->match[
550 protected $match; variable
[all...]
/PHP_TRUNK/win32/
H A Dglob.c163 static int match(Char *, Char *, Char *);
508 * If there was no match we are going to append the pattern
680 if (!match(pathend, pattern, restpattern)) {
771 match(name, pat, patend) function
784 if (match(name, pat, patend))
/PHP_TRUNK/ext/mbstring/libmbfl/filters/
H A Dmbfilter_sjis_mobile.c250 int i, match = 0; local
255 match = 1;
259 return match;
265 int i, match = 0; local
270 match = 1;
274 return match;
406 int i, match = 0, c1s; local
415 match = 1;
418 match = 1;
421 match
465 int i, match = 0, c1s; local
536 int i, match = 0, c1s; local
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_open.c494 unsigned char *buf, *match; local
531 match = buf+ (buflen < CDBUFSIZE ? 0 : EOCD64LOCLEN);
534 while ((match=_zip_memmem(match, buflen-(size_t)(match-buf)-(EOCDLEN-4),
536 /* found match -- check, if good */
537 /* to avoid finding the same match all over again */
538 match++;
539 if ((cdirnew=_zip_readcdir(fp, buf_offset, buf, match-1, buflen, flags,
/PHP_TRUNK/ext/standard/
H A Dscanf.c245 int i, match = 0; local
249 match = 1;
253 if (!match) {
257 match = 1;
262 return (cset->exclude ? !match : match);
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeTILEGX_64.c548 const struct Format* match = NULL; local
554 match = b;
559 return match;
573 const struct Format* match = compute_format(); local
575 if (match == NULL)
586 /* Don't include Rzero in the match set, to avoid triggering
591 inst_buf[i].pipe = match->pipe[i];
595 if (inst_buf_index == 2 && !tilegx_is_x_pipeline(match->pipe[0])) {
1147 mechanism will match this fixed 4-instruction pattern. */
1162 mechanism will match thi
[all...]
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c293 ** verify that values returned by these interfaces match the macros in
3130 ** parameter on F or if the value of P is does not match any of the
4306 ** nArg parameter is a better match than a function implementation with
4309 ** match than a function where the encoding is different.
4311 ** is a closer match than a function where the encoding difference is
4467 ** last time when the xFinal callback is invoked. ^(When no rows match
6070 ** ^If there is no match, a NULL pointer is returned.
6376 ** ^If the second parameter (zDbName) does not match the name of any
7333 ** the glob pattern P, and it returns non-zero if string X does not match
7339 ** Note that this routine returns zero on a match an
94296 int match; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_strtod.c1595 match function
2725 if (match(&s,"nf")) {
2727 if (!match(&s,"inity"))
2736 if (match(&s, "an")) {
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_exec.c72 of call to match(). We do it this way to save on using another stack variable,
78 /* Non-error returns from the match() function. Error returns are externally
84 /* Special internal returns from the match() function. Make them sufficiently
146 negative, so the match always fails. However, in JavaScript compatibility mode,
154 md points to match data block
158 -1 no match
159 -2 partial match; always given if at end subject
213 if (eptr >= md->end_subject) return -2; /* Partial match */
237 if (eptr >= md->end_subject) return -2; /* Partial match */
254 if (eptr >= md->end_subject) return -2; /* Partial match */
511 match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode, function
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dsoftmagic.c53 private int match(struct magic_set *, struct magic *, uint32_t,
94 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode,
113 "%s, %" SIZE_T_FORMAT "u: format `%s' does not match"
124 * Go through the whole list, stopping if you find a match. Process all
125 * the continuations of that match before returning.
129 * At any time when processing a successful top-level match, there is a
135 * lower-level continuation preceding them - failed to match.
151 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, function
158 int returnvalv = 0, e; /* if a match is found it is set to 1*/
216 * main entry didn't match,
2048 zval *match, *offset; local
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c535 /* Add (match, offset) to the return value */
553 zend_string *subject; /* String to match against */
590 a global match */
592 subpattern after a global match */
601 int g_notempty = 0; /* If the match should not be empty */
606 int offset_capture; /* Capture match offsets: yes/no */
681 /* Allocate match sets array and initialize the values. */
841 /* If we previously set PCRE_NOTEMPTY after a null match,
857 the match again at the same point. If this fails (picked up above) we
861 /* Advance to the position right after the last full match */
1046 *match, /* The current match */ local
[all...]

Completed in 185 milliseconds