Home
last modified time | relevance | path

Searched refs:def (Results 1 – 3 of 3) sorted by relevance

/ext-ds/src/ds/
H A Dds_map.c92 zval *ds_map_get(ds_map_t *map, zval *key, zval *def) in ds_map_get() argument
100 if (def) { in ds_map_get()
101 return def; in ds_map_get()
108 void ds_map_remove(ds_map_t *map, zval *key, zval *def, zval *return_value) in ds_map_remove() argument
115 if ( ! def) { in ds_map_remove()
123 ZVAL_COPY(return_value, def); in ds_map_remove()
H A Dds_map.h24 zval *ds_map_get(ds_map_t *map, zval *key, zval *def);
26 void ds_map_remove(ds_map_t *map, zval *key, zval *def, zval *return_value);
/ext-ds/src/php/classes/
H A Dphp_map_ce.c62 PARSE_ZVAL_OPTIONAL_ZVAL(key, def); in METHOD()
63 RETURN_ZVAL_COPY(ds_map_get(THIS_DS_MAP(), key, def)); in METHOD()
74 PARSE_ZVAL_OPTIONAL_ZVAL(key, def); in METHOD()
75 ds_map_remove(THIS_DS_MAP(), key, def, return_value); in METHOD()

Completed in 7 milliseconds