Lines Matching refs:array
31 } array; typedef
45 array value;
61 array *array_init(uint32_t n);
64 void array_copy_array(array *dst, const array *src);
67 void array_free_data(array *a);
69 void array_free(array *a);
72 void array_reset_data_strings(array *a);
75 void array_insert_unique(array *a, data_unset *entry);
78 data_unset *array_pop(array *a); /* only works on "simple" lists with autogenerated keys */
82 int array_is_vlist(const array *a);
86 int array_is_kvany(const array *a);
90 int array_is_kvarray(const array *a);
94 int array_is_kvstring(const array *a);
97 data_unset *array_get_element_klen_ext(const array *a, int ext, const char *key, uint32_t klen);
100 const data_unset *array_get_element_klen(const array *a, const char *key, uint32_t klen);
104 data_unset *array_get_data_unset(const array *a, const char *key, uint32_t klen);
107 data_unset *array_extract_element_klen(array *a, const char *key, uint32_t klen); /* removes found …
110 int * array_get_int_ptr(array *a, const char *k, uint32_t klen);
113 buffer * array_get_buf_ptr_ext(array *a, int ext, const char *k, uint32_t klen);
116 buffer * array_get_buf_ptr(array *a, const char *k, uint32_t klen);
118 void array_insert_value(array *a, const char *v, uint32_t vlen);
120 static inline void array_set_key_value(array * const a, const char * const k, const uint32_t klen, …
122 static inline void array_set_key_value(array * const a, const char * const k, const uint32_t klen, … in array_set_key_value()
127 void array_replace(array *a, data_unset *entry);
130 data_unset * array_match_key_prefix_klen (const array * const a, const char * const s, const uint32…
133 data_unset * array_match_key_prefix_nc_klen (const array * const a, const char * const s, const uin…
136 data_unset * array_match_key_prefix (const array * const a, const buffer * const b);
139 data_unset * array_match_key_prefix_nc (const array * const a, const buffer * const b);
142 const buffer * array_match_value_prefix (const array * const a, const buffer * const b);
145 const buffer * array_match_value_prefix_nc (const array * const a, const buffer * const b);
148 data_unset * array_match_key_suffix (const array * const a, const buffer * const b);
151 data_unset * array_match_key_suffix_nc (const array * const a, const buffer * const b);
154 const buffer * array_match_value_suffix (const array * const a, const buffer * const b);
157 const buffer * array_match_value_suffix_nc (const array * const a, const buffer * const b);
160 data_unset * array_match_path_or_ext (const array * const a, const buffer * const b);