Home
last modified time | relevance | path

Searched refs:a (Results 1 – 12 of 12) sorted by relevance

/ext-ds/src/php/
H A Dparameters.h8 #define PARSE_1(spec, a) if (zend_parse_parameters(ZEND_NUM_ARGS(), spec, a) == FAILURE) ret… argument
9 #define PARSE_2(spec, a, b) if (zend_parse_parameters(ZEND_NUM_ARGS(), spec, a, b) == FAILURE) … argument
10 #define PARSE_3(spec, a, b, c) if (zend_parse_parameters(ZEND_NUM_ARGS(), spec, a, b, c) == FAILUR… argument
37 #define PARSE_LONG_AND_LONG(a, b) \ argument
38 zend_long a = 0; \
40 PARSE_2("ll", &a, &b)
68 #define PARSE_LONG(a) \ argument
69 zend_long a = 0; \
70 PARSE_1("l", &a)
/ext-ds/
H A DREADME.md22 If you're on Windows, you can download a compiled .dll on [PECL](https://pecl.php.net/package/ds) o…
47 There is a suite of PHPUnit tests that can be installed using [**Composer**](https://getcomposer.or…
57 You may include the [polyfill](https://github.com/php-ds/polyfill) as a dependency in your project.…
64 ./dev.sh # opens a shell into a development environment
H A DLICENSE4 Permission is hereby granted, free of charge, to any person obtaining a
H A DCONTRIBUTING.md3 …requests](https://github.com/php-ds/ext/pulls). If you would like to report a bug, please create a…
H A DCHANGELOG.md59 - Using a key as reference not working correctly with array access. #86
H A Dappveyor.yml60 phpsdk_deps -u -t %VC_VER% -b %PHP_VER% -a %ARCH% -f -d C:\projects\php-src\deps
/ext-ds/src/ds/
H A Dds_htable.c181 if (Z_OBJCE_P(a) != Z_OBJCE_P(b)) { in user_hashable_equals()
187 zend_call_method_with_1_params(Z_OBJ_P(a), Z_OBJCE_P(a), NULL, "equals", &equals, b); in user_hashable_equals()
189 zend_call_method_with_1_params(a, Z_OBJCE_P(a), NULL, "equals", &equals, b); in user_hashable_equals()
532 ds_htable_bucket_t *x = ((ds_htable_bucket_t*)a); in user_compare_by_value()
554 ZVAL_COPY_VALUE(&params[0], (zval*) a); in user_compare_by_key()
568 static int compare_by_key(const void *a, const void *b) in compare_by_key() argument
582 ds_htable_bucket_t *x = (ds_htable_bucket_t*) a; in compare_by_value()
1132 ds_htable_bucket_t *a = table->buckets; in ds_htable_reverse() local
1135 for (; a < b; ++a, --b) { in ds_htable_reverse()
1136 ds_htable_bucket_t c = *a; in ds_htable_reverse()
[all …]
H A Dds_priority_queue.c23 ds_priority_queue_node_t *a, in ds_priority_queue_node_compare() argument
28 if (compare_function(&retval, &a->priority, &b->priority) == SUCCESS) { in ds_priority_queue_node_compare()
33 return (STAMP(a) < STAMP(b) ? 1 : -1); in ds_priority_queue_node_compare()
236 static int priority_sort(const void *a, const void *b) in priority_sort() argument
240 (ds_priority_queue_node_t *) a in priority_sort()
H A Dds_vector.c389 zval *a, *b, *c; in ds_vector_rotate() local
403 a = vector->buffer; // Start of buffer in ds_vector_rotate()
404 b = a + r; // Pivot in ds_vector_rotate()
405 c = a + n; // End of buffer in ds_vector_rotate()
408 ds_reverse_zval_range(a, b); in ds_vector_rotate()
410 ds_reverse_zval_range(a, c); in ds_vector_rotate()
/ext-ds/src/
H A Dcommon.c52 static int ds_zval_user_compare_func(const void *a, const void *b) in ds_zval_user_compare_func() argument
57 zval *x = (zval*) a; in ds_zval_user_compare_func()
77 static int ds_zval_compare_func(const void *a, const void *b) in ds_zval_compare_func() argument
81 zval *x = (zval*) a; in ds_zval_compare_func()
H A Dcommon.h77 #define SWAP_ZVAL(a, b) \ argument
79 zval _t = a; \
80 a = b; \
/ext-ds/.github/workflows/
H A Dmain.yml12 # This workflow contains a single job called "build"

Completed in 25 milliseconds