Home
last modified time | relevance | path

Searched refs:compare (Results 176 – 193 of 193) sorted by path

12345678

/php-src/ext/standard/tests/strings/
H A Dstrncmp_variation2.phpt15 /* loop through to compare each string with the other string */
H A Dstrncmp_variation3.phpt12 /* loop through to compare the strings, for various length values */
H A Dstrncmp_variation8.phpt14 /* loop through to compare each string with the other string */
H A Dstrncmp_variation9.phpt42 /* loop through to compare each string with the other string */
/php-src/ext/standard/tests/versioning/
H A Dversion_compare.phpt38 $compare = version_compare($v1, $v2);
39 switch ($compare) {
/php-src/ext/standard/
H A Dversioning.c127 int compare = 0; in php_version_compare() local
171 if (compare != 0) { in php_version_compare()
181 if (compare == 0) { in php_version_compare()
184 compare = 1; in php_version_compare()
190 compare = -1; in php_version_compare()
198 return compare; in php_version_compare()
209 int compare; in PHP_FUNCTION() local
220 RETURN_LONG(compare); in PHP_FUNCTION()
226 RETURN_BOOL(compare != 1); in PHP_FUNCTION()
229 RETURN_BOOL(compare == 1); in PHP_FUNCTION()
[all …]
/php-src/ext/sysvmsg/
H A Dsysvmsg.c111 sysvmsg_queue_object_handlers.compare = zend_objects_not_comparable; in PHP_MINIT_FUNCTION()
/php-src/ext/sysvsem/
H A Dsysvsem.c156 sysvsem_object_handlers.compare = zend_objects_not_comparable; in PHP_MINIT_FUNCTION()
/php-src/ext/sysvshm/
H A Dsysvshm.c110 sysvshm_object_handlers.compare = zend_objects_not_comparable; in PHP_MINIT_FUNCTION()
/php-src/ext/xml/
H A Dxml.c238 xml_parser_object_handlers.compare = zend_objects_not_comparable; in PHP_MINIT_FUNCTION()
/php-src/ext/zlib/
H A Dzlib.c1348 inflate_context_object_handlers.compare = zend_objects_not_comparable; in PHP_INI_END()
1359 deflate_context_object_handlers.compare = zend_objects_not_comparable; in PHP_INI_END()
/php-src/main/
H A Dphp_scandir.c52 …dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct di… in php_scandir()
105 if (compare) { in php_scandir()
106 …qsort (*namelist, nfiles, sizeof(struct dirent *), (int (*) (const void *, const void *)) compare); in php_scandir()
H A Dphp_scandir.h37 …dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct di…
H A Dphp_streams.h391 int (*compare) (const zend_string **a, const zend_string **b));
392 …am_scandir(dirname, namelist, context, compare) _php_stream_scandir((dirname), (namelist), 0, (con… argument
/php-src/main/streams/
H A Dstreams.c2441 int (*compare) (const zend_string **a, const zend_string **b))
2488 if (nfiles > 0 && compare) {
2489 qsort(*namelist, nfiles, sizeof(zend_string *), (int(*)(const void *, const void *))compare);
/php-src/tests/lang/
H A Dcompare_objects_basic1.phpt2 Test standard 'compare' object handler
6 echo "Simple test for standard compare object handler\n";
26 // Define a bunch of objects all of which will use standard compare object handler
33 echo "\n-- The following compare should return TRUE --\n";
46 Simple test for standard compare object handler
48 -- The following compare should return TRUE --
H A Dcompare_objects_basic2.phpt2 Test object compare when object handler different
9 echo "Simple test comparing two objects with different compare callback handler\n";
20 Simple test comparing two objects with different compare callback handler
/php-src/win32/
H A Dglob.c139 static int compare(const void *, const void *);
498 pglob->gl_pathc - oldpathc, sizeof(char *), compare); in glob0()
502 static int compare(const void *p, const void *q) in compare() function

Completed in 81 milliseconds

12345678