Home
last modified time | relevance | path

Searched refs:other (Results 1 – 8 of 8) sorted by relevance

/ext-ds/src/ds/
H A Dds_set.h57 ds_set_t *ds_set_diff(ds_set_t *set, ds_set_t *other);
58 ds_set_t *ds_set_intersect(ds_set_t *set, ds_set_t *other);
59 ds_set_t *ds_set_xor(ds_set_t *set, ds_set_t *other);
60 ds_set_t *ds_set_union(ds_set_t *set, ds_set_t *other);
63 void ds_set_assign_diff(ds_set_t *set, ds_set_t *other);
64 void ds_set_assign_intersect(ds_set_t *set, ds_set_t *other);
65 void ds_set_assign_xor(ds_set_t *set, ds_set_t *other);
66 void ds_set_assign_union(ds_set_t *set, ds_set_t *other);
H A Dds_set.c177 ds_set_t *ds_set_diff(ds_set_t *set, ds_set_t *other) in ds_set_diff() argument
182 void ds_set_assign_diff(ds_set_t *set, ds_set_t *other) in ds_set_assign_diff() argument
185 DS_SET_FOREACH(other, value) { in ds_set_assign_diff()
200 if ( ! ds_set_contains(other, value)) { in ds_set_assign_intersect()
208 ds_set_t *ds_set_xor(ds_set_t *set, ds_set_t *other) in ds_set_xor() argument
214 void ds_set_assign_xor(ds_set_t *set, ds_set_t *other) in ds_set_assign_xor() argument
219 if (ds_set_contains(other, value)) { in ds_set_assign_xor()
225 DS_SET_FOREACH(other, value) { in ds_set_assign_xor()
231 ds_set_t *ds_set_union(ds_set_t *set, ds_set_t *other) in ds_set_union() argument
248 void ds_set_assign_union(ds_set_t *set, ds_set_t *other) in ds_set_assign_union() argument
[all …]
H A Dds_map.h60 ds_map_t *ds_map_xor(ds_map_t *map, ds_map_t *other);
61 ds_map_t *ds_map_diff(ds_map_t *map, ds_map_t *other);
62 ds_map_t *ds_map_intersect(ds_map_t *map, ds_map_t *other);
63 ds_map_t *ds_map_union(ds_map_t *map, ds_map_t *other);
H A Dds_map.c227 ds_map_t *ds_map_xor(ds_map_t *map, ds_map_t *other) in ds_map_xor() argument
229 return ds_map_ex(ds_htable_xor(map->table, other->table)); in ds_map_xor()
232 ds_map_t *ds_map_diff(ds_map_t *map, ds_map_t *other) in ds_map_diff() argument
234 return ds_map_ex(ds_htable_diff(map->table, other->table)); in ds_map_diff()
237 ds_map_t *ds_map_intersect(ds_map_t *map, ds_map_t *other) in ds_map_intersect() argument
239 return ds_map_ex(ds_htable_intersect(map->table, other->table)); in ds_map_intersect()
242 ds_map_t *ds_map_union(ds_map_t *map, ds_map_t *other) in ds_map_union() argument
244 return ds_map_ex(ds_htable_merge(map->table, other->table)); in ds_map_union()
H A Dds_htable.h208 ds_htable_t *ds_htable_xor(ds_htable_t *table, ds_htable_t *other);
209 ds_htable_t *ds_htable_diff(ds_htable_t *table, ds_htable_t *other);
210 ds_htable_t *ds_htable_intersect(ds_htable_t *table, ds_htable_t *other);
211 ds_htable_t *ds_htable_merge(ds_htable_t *table, ds_htable_t *other);
H A Dds_htable.c195 static inline bool key_is_identical(zval *key, zval *other) in key_is_identical() argument
198 return Z_TYPE_P(other) == IS_OBJECT && user_hashable_equals(key, other); in key_is_identical()
201 return zend_is_identical(key, other); in key_is_identical()
1062 ds_htable_t *ds_htable_xor(ds_htable_t *table, ds_htable_t *other) in ds_htable_xor() argument
1068 if ( ! ds_htable_has_key(other, &bucket->key)) { in ds_htable_xor()
1074 DS_HTABLE_FOREACH_BUCKET(other, bucket) { in ds_htable_xor()
1084 ds_htable_t *ds_htable_diff(ds_htable_t *table, ds_htable_t *other) in ds_htable_diff() argument
1090 if ( ! ds_htable_has_key(other, &bucket->key)) { in ds_htable_diff()
1106 if (ds_htable_has_key(other, &bucket->key)) { in ds_htable_intersect()
1115 ds_htable_t *ds_htable_merge(ds_htable_t *table, ds_htable_t *other) in ds_htable_merge() argument
[all …]
/ext-ds/
H A DCONTRIBUTING.md15 - **Document any change in behaviour** - Make sure the README and any other relevant documentation …
H A DREADME.md8 …da7af674cd) which highlights the API, performance (relative to PHP 7) and other benefits of using …

Completed in 19 milliseconds