Searched refs:cmp (Results 1 - 18 of 18) sorted by relevance

/PHP_TRUNK/TSRM/
H A Dbuildconf14 if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
27 if cmp configure.old configure > /dev/null 2>&1; then
/PHP_TRUNK/Zend/
H A Dbuildconf14 if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
27 if cmp configure.old configure > /dev/null 2>&1; then
H A Dzend_sort.h26 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp);
27 ZEND_API void zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp);
28 ZEND_API void zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp);
H A Dzend_sort.c93 static inline void zend_sort_2(void *a, void *b, compare_func_t cmp, swap_func_t swp) /* {{{ */ { argument
94 if (cmp(a, b) > 0) {
100 static inline void zend_sort_3(void *a, void *b, void *c, compare_func_t cmp, swap_func_t swp) /* {{{ */ { argument
101 if (!(cmp(a, b) > 0)) {
102 if (!(cmp(b, c) > 0)) {
106 if (cmp(a, b) > 0) {
111 if (!(cmp(c, b) > 0)) {
116 if (cmp(b, c) > 0) {
122 static void zend_sort_4(void *a, void *b, void *c, void *d, compare_func_t cmp, swap_func_t swp) /* {{{ */ { argument
123 zend_sort_3(a, b, c, cmp, sw
136 zend_sort_5(void *a, void *b, void *c, void *d, void *e, compare_func_t cmp, swap_func_t swp) argument
153 zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp) argument
159 zend_sort_2(base, (char *)base + siz, cmp, swp); local
162 zend_sort_3(base, (char *)base + siz, (char *)base + siz + siz, cmp, swp); local
167 zend_sort_4(base, (char *)base + siz, (char *)base + siz2, (char *)base + siz + siz2, cmp, swp); local
173 zend_sort_5(base, (char *)base + siz, (char *)base + siz2, (char *)base + siz + siz2, (char *)base + siz2 + siz2, cmp, swp); local
317 zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp) argument
[all...]
H A Dzend_strtod.c1077 cmp function
1091 Bug("cmp called with a->x[a->wds-1] == 0");
1093 Bug("cmp called with b->x[b->wds-1] == 0");
1130 i = cmp(a,b);
2254 if (cmp(b, S) >= 0) {
3111 i = cmp(delta, bs);
3160 if (cmp(delta, bs) <= 0)
3252 if (cmp(delta, bs) > 0)
4216 if (cmp(b,S) < 0) {
4225 if (ilim < 0 || cmp(
[all...]
H A Dzend_operators.c2830 int cmp = strcmp(&ptr[-digits], long_min_digits); local
2832 if (!(cmp < 0 || (cmp == 0 && *str == '-'))) {
/PHP_TRUNK/ext/bcmath/libbcmath/
H A Dconfigure1527 if cmp -s $cache_file confcache; then
1830 if cmp -s $ac_file conftest.h 2>/dev/null; then
/PHP_TRUNK/build/
H A Dshtool923 if cmp -s "$src" "$dst"; then
/PHP_TRUNK/main/
H A Dmergesort.c69 static void setup(u_char *list1, u_char *list2, size_t n, size_t size, int (*cmp)(const void *, const void *));
70 static void insertionsort(u_char *a, size_t n, size_t size, int (*cmp)(const void *, const void *));
105 PHPAPI int php_mergesort(void *base, size_t nmemb, size_t size, int (*cmp)(const void *, const void *))
133 setup(list1, list2, nmemb, size, cmp);
147 if ((*cmp)(f1, f2) <= 0) {
157 while ((b += size) < t && cmp(q, b) >sense)
166 (*cmp)(q, p) <= sense)
171 } else if ((*cmp)(q, p) <= sense) {
180 if ((*cmp)(q, p = b + i) <= sense)
187 if ((*cmp)(
[all...]
H A Dphp.h333 PHPAPI int php_mergesort(void *base, size_t nmemb, register size_t size, int (*cmp)(const void *, const void *));
/PHP_TRUNK/ext/date/lib/
H A Dparse_tz.c314 int cmp = strcasecmp(timezone, tzdb->index[mid].id); local
316 if (cmp < 0) {
318 } else if (cmp > 0) {
320 } else { /* (cmp == 0) */
/PHP_TRUNK/ext/zip/lib/
H A Dzip_name_locate.c53 int (*cmp)(const char *, const char *);
65 cmp = (flags & ZIP_FL_NOCASE) ? strcasecmp : strcmp;
80 if (cmp(fname, fn) == 0) {
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c97943 int cmp; local
134788 int cmp; /* memcmp() result */ local
150941 int cmp = (c - aEntry[iTest].iCode); local
[all...]
/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c1196 int cmp = strncmp((char*)YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1); local
1198 if (!(cmp < 0 || (cmp == 0 && start[2] == '-'))) {
H A Dvar_unserializer.re600 int cmp = strncmp((char*)YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1);
602 if (!(cmp < 0 || (cmp == 0 && start[2] == '-'))) {
H A Dstring.c5249 char *p, *endp, cmp; local
5288 cmp = needle[0];
5290 while ((p = memchr(p, cmp, endp - p))) {
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c61 spl_ptr_heap_cmp_func cmp; member in struct:_spl_ptr_heap
223 static spl_ptr_heap *spl_ptr_heap_init(spl_ptr_heap_cmp_func cmp, spl_ptr_heap_ctor_func ctor, spl_ptr_heap_dtor_func dtor) /* {{{ */ argument
229 heap->cmp = cmp;
250 for (i = heap->count; i > 0 && heap->cmp(&heap->elements[(i-1)/2], elem, cmp_userdata) < 0; i = (i-1)/2) {
289 if(j != heap->count && heap->cmp(&heap->elements[j+1], &heap->elements[j], cmp_userdata) > 0) {
294 if(heap->cmp(bottom, &heap->elements[j], cmp_userdata) < 0) {
317 heap->cmp = from->cmp;
401 intern->heap->cmp
[all...]
/PHP_TRUNK/ext/json/
H A Djson_scanner.c306 int cmp = strncmp((char *) (s->token + negative), LONG_MIN_DIGITS, PHP_JSON_INT_MAX_LENGTH); local
307 if (!(cmp < 0 || (cmp == 0 && negative))) {

Completed in 175 milliseconds