/ext-ds/src/php/ |
H A D | parameters.h | 8 #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 D | README.md | 22 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 D | LICENSE | 4 Permission is hereby granted, free of charge, to any person obtaining a
|
H A D | CONTRIBUTING.md | 3 …requests](https://github.com/php-ds/ext/pulls). If you would like to report a bug, please create a…
|
H A D | CHANGELOG.md | 59 - Using a key as reference not working correctly with array access. #86
|
H A D | appveyor.yml | 60 phpsdk_deps -u -t %VC_VER% -b %PHP_VER% -a %ARCH% -f -d C:\projects\php-src\deps
|
/ext-ds/src/ds/ |
H A D | ds_htable.c | 181 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(¶ms[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 D | ds_priority_queue.c | 23 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 D | ds_vector.c | 389 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 D | common.c | 52 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 D | common.h | 77 #define SWAP_ZVAL(a, b) \ argument 79 zval _t = a; \ 80 a = b; \
|
/ext-ds/.github/workflows/ |
H A D | main.yml | 12 # This workflow contains a single job called "build"
|