Searched defs:cmp (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_strtod.c887 static int cmp(Bigint *a, Bigint *b) function
896 Bug("cmp called with a->x[a->wds-1] == 0");
898 Bug("cmp called with b->x[b->wds-1] == 0");
926 i = cmp(a,b);
1342 if (cmp(b, S) >= 0) {
1893 if (cmp(b,S) < 0) {
1902 if (ilim < 0 || cmp(b,S = multadd(S,5,0)) <= 0) {
1933 j = cmp(b, mlo);
1935 j1 = delta->sign ? 1 : cmp(b, delta);
1954 j1 = cmp(
[all...]
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_operators.c2753 int cmp = strcmp(&ptr[-digits], long_min_digits); local
2755 if (!(cmp < 0 || (cmp == 0 && *str == '-'))) {
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c95676 int cmp; local
131400 int cmp; /* memcmp() result */ local
147422 int cmp = (c - aEntry[iTest].iCode); local
[all...]
/PHP_TRUNK/ext/date/lib/
H A Dparse_tz.c274 int cmp = strcasecmp(timezone, tzdb->index[mid].id); local
276 if (cmp < 0) {
278 } else if (cmp > 0) {
280 } else { /* (cmp == 0) */
/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c1194 int cmp = strncmp((char*)YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1); local
1196 if (!(cmp < 0 || (cmp == 0 && start[2] == '-'))) {
H A Dstring.c5304 char *p, *endp, cmp; local
5343 cmp = needle[0];
5345 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
227 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
233 heap->cmp = cmp;
256 for (i = heap->count++; i > 0 && heap->cmp(&heap->elements[(i-1)/2], elem, cmp_userdata) < 0; i = (i-1)/2) {
294 if(j != heap->count && heap->cmp(&heap->elements[j+1], &heap->elements[j], cmp_userdata) > 0) {
299 if(heap->cmp(bottom, &heap->elements[j], cmp_userdata) < 0) {
323 heap->cmp = from->cmp;
423 intern->heap->cmp
[all...]
/PHP_TRUNK/ext/json/
H A Djson_scanner.c260 int cmp = strncmp((char *) (s->token + negative), LONG_MIN_DIGITS, PHP_JSON_INT_MAX_LENGTH); local
261 if (!(cmp < 0 || (cmp == 0 && negative))) {

Completed in 148 milliseconds