101typedef enum as_list_sort_flags_e {
101typedef enum as_list_sort_flags_e { {
…};
118typedef enum as_list_write_flags_e {
118typedef enum as_list_write_flags_e { {
…};
152typedef struct as_list_policy_s {
152typedef struct as_list_policy_s {
…};
162typedef enum as_list_return_type_e {
162typedef enum as_list_return_type_e { {
…};
288 policy->
order = order;
289 policy->
flags = flags;
388 int64_t index,
as_val* val
416 int64_t index,
as_val* incr
430 int64_t index,
as_val* val
450 int64_t index, uint64_t count
1003 as_operations* ops,
const char* name,
const char* value,
bool free
1037 as_operations* ops,
const char* name,
const uint8_t* value, uint32_t size,
bool free
1056 as_operations* ops,
const char* name,
const uint8_t* value, uint32_t size
1129 as_operations* ops,
const char* name, int64_t index, int64_t value
1146 as_operations* ops,
const char* name, int64_t index,
double value
1165 as_operations* ops,
const char* name, int64_t index,
const char* value,
bool free
1184 as_operations* ops,
const char* name, int64_t index,
const char* value
1201 as_operations* ops,
const char* name, int64_t index,
const uint8_t* value, uint32_t size,
1221 as_operations* ops,
const char* name, int64_t index,
const uint8_t* value, uint32_t size
1325 as_operations* ops,
const char* name, int64_t index, int64_t value
1342 as_operations* ops,
const char* name, int64_t index,
double value
1361 as_operations* ops,
const char* name, int64_t index,
const char* value,
bool free
1380 as_operations* ops,
const char* name, int64_t index,
const char* value
1397 as_operations* ops,
const char* name, int64_t index,
const uint8_t* value, uint32_t size,
1417 as_operations* ops,
const char* name, int64_t index,
const uint8_t* value, uint32_t size
1443 as_operations* ops,
const char* name, int64_t index, uint64_t count
1484 as_operations* ops,
const char* name, int64_t index, uint64_t count
1643 as_operations* ops,
const char* name, int64_t index, uint64_t count,
1687 as_operations* ops,
const char* name, int64_t rank, uint64_t count,
1704 as_operations* ops,
const char* name, int64_t index, uint64_t count
1758 as_operations* ops,
const char* name, int64_t index, uint64_t count
1917 as_operations* ops,
const char* name, int64_t index, uint64_t count,
1962 as_operations* ops,
const char* name, int64_t rank, uint64_t count,
AS_EXTERN as_bytes * as_bytes_init_wrap(as_bytes *bytes, uint8_t *value, uint32_t size, bool free)
AS_EXTERN as_double * as_double_init(as_double *value_ptr, double value)
AS_EXTERN as_integer * as_integer_init(as_integer *integer, int64_t value)
@ AS_CDT_OP_LIST_INCREMENT
@ AS_CDT_OP_LIST_GET_BY_INDEX_RANGE
@ AS_CDT_OP_LIST_REMOVE_ALL_BY_VALUE
@ AS_CDT_OP_LIST_GET_BY_RANK
@ AS_CDT_OP_LIST_GET_RANGE
@ AS_CDT_OP_LIST_REMOVE_BY_RANK_RANGE
@ AS_CDT_OP_LIST_REMOVE_BY_VALUE_INTERVAL
@ AS_CDT_OP_LIST_REMOVE_BY_RANK
@ AS_CDT_OP_LIST_POP_RANGE
@ AS_CDT_OP_LIST_REMOVE_RANGE
@ AS_CDT_OP_LIST_GET_BY_INDEX
@ AS_CDT_OP_LIST_REMOVE_BY_VALUE_REL_RANK_RANGE
@ AS_CDT_OP_LIST_REMOVE_BY_VALUE_LIST
@ AS_CDT_OP_LIST_GET_ALL_BY_VALUE
@ AS_CDT_OP_LIST_SET_TYPE
@ AS_CDT_OP_LIST_REMOVE_BY_INDEX_RANGE
@ AS_CDT_OP_LIST_APPEND_ITEMS
@ AS_CDT_OP_LIST_GET_BY_VALUE_REL_RANK_RANGE
@ AS_CDT_OP_LIST_REMOVE_BY_INDEX
@ AS_CDT_OP_LIST_GET_BY_RANK_RANGE
@ AS_CDT_OP_LIST_GET_BY_VALUE_LIST
@ AS_CDT_OP_LIST_INSERT_ITEMS
@ AS_CDT_OP_LIST_GET_BY_VALUE_INTERVAL
AS_EXTERN as_string * as_string_init(as_string *string, char *value, bool free)
AS_EXTERN bool as_operations_list_remove_range_from(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index)
AS_EXTERN bool as_operations_list_trim(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, uint64_t count)
AS_EXTERN bool as_operations_list_get_by_value(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_val *value, as_list_return_type return_type)
static bool as_operations_add_list_get_by_value_range(as_operations *ops, const char *name, as_val *begin, as_val *end, as_list_return_type return_type)
static bool as_operations_add_list_append_int64(as_operations *ops, const char *name, int64_t value)
static bool as_operations_add_list_remove_by_rank_range_to_end(as_operations *ops, const char *name, int64_t rank, as_list_return_type return_type)
static bool as_operations_add_list_remove_by_value_list(as_operations *ops, const char *name, as_list *values, as_list_return_type return_type)
static bool as_operations_add_list_get_by_value(as_operations *ops, const char *name, as_val *value, as_list_return_type return_type)
static bool as_operations_add_list_set(as_operations *ops, const char *name, int64_t index, as_val *val)
static bool as_operations_add_list_set_double(as_operations *ops, const char *name, int64_t index, double value)
AS_EXTERN bool as_operations_list_increment(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_policy *policy, int64_t index, as_val *incr)
static bool as_operations_add_list_get_by_value_rel_rank_range_to_end(as_operations *ops, const char *name, as_val *value, int64_t rank, as_list_return_type return_type)
static bool as_operations_add_list_append_str(as_operations *ops, const char *name, const char *value)
AS_EXTERN bool as_operations_list_get_by_value_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_val *begin, as_val *end, as_list_return_type return_type)
static bool as_operations_add_list_pop(as_operations *ops, const char *name, int64_t index)
AS_EXTERN bool as_operations_list_pop_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, uint64_t count)
AS_EXTERN bool as_operations_list_remove_by_index_range_to_end(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_get_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, uint64_t count)
static bool as_operations_add_list_pop_range(as_operations *ops, const char *name, int64_t index, uint64_t count)
static bool as_operations_add_list_increment(as_operations *ops, const char *name, int64_t index, as_val *incr)
AS_EXTERN bool as_operations_list_remove_by_index(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, as_list_return_type return_type)
static bool as_operations_add_list_get_by_rank_range(as_operations *ops, const char *name, int64_t rank, uint64_t count, as_list_return_type return_type)
static bool as_operations_add_list_size(as_operations *ops, const char *name)
AS_EXTERN bool as_operations_list_append(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_policy *policy, as_val *val)
static bool as_operations_add_list_get_by_index_range_to_end(as_operations *ops, const char *name, int64_t index, as_list_return_type return_type)
static bool as_operations_add_list_insert_raw(as_operations *ops, const char *name, int64_t index, const uint8_t *value, uint32_t size)
static bool as_operations_add_list_append_items_with_policy(as_operations *ops, const char *name, as_list_policy *policy, as_list *list)
AS_EXTERN bool as_operations_list_append_items(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_policy *policy, as_list *list)
static bool as_operations_add_list_insert_rawp(as_operations *ops, const char *name, int64_t index, const uint8_t *value, uint32_t size, bool free)
static bool as_operations_add_list_append_items(as_operations *ops, const char *name, as_list *list)
static bool as_operations_add_list_insert_items_with_policy(as_operations *ops, const char *name, as_list_policy *policy, int64_t index, as_list *list)
static bool as_operations_add_list_set_rawp(as_operations *ops, const char *name, int64_t index, const uint8_t *value, uint32_t size, bool free)
AS_EXTERN bool as_operations_list_pop_range_from(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index)
static bool as_operations_add_list_get_by_rank(as_operations *ops, const char *name, int64_t rank, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_create(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_order order, bool pad)
AS_EXTERN bool as_operations_list_remove_by_rank_range_to_end(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t rank, as_list_return_type return_type)
static bool as_operations_add_list_get_range_from(as_operations *ops, const char *name, int64_t index)
static bool as_operations_add_list_remove_by_rank_range(as_operations *ops, const char *name, int64_t rank, uint64_t count, as_list_return_type return_type)
static bool as_operations_add_list_set_str(as_operations *ops, const char *name, int64_t index, const char *value)
AS_EXTERN bool as_operations_list_size(as_operations *ops, const char *name, as_cdt_ctx *ctx)
static bool as_operations_add_list_insert_int64(as_operations *ops, const char *name, int64_t index, int64_t value)
static bool as_operations_add_list_set_raw(as_operations *ops, const char *name, int64_t index, const uint8_t *value, uint32_t size)
AS_EXTERN bool as_operations_list_insert(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_policy *policy, int64_t index, as_val *val)
static bool as_operations_add_list_remove_range(as_operations *ops, const char *name, int64_t index, uint64_t count)
static bool as_operations_add_list_insert_strp(as_operations *ops, const char *name, int64_t index, const char *value, bool free)
static bool as_operations_add_list_remove_by_value_rel_rank_range_to_end(as_operations *ops, const char *name, as_val *value, int64_t rank, as_list_return_type return_type)
static bool as_operations_add_list_remove_by_index_range(as_operations *ops, const char *name, int64_t index, uint64_t count, as_list_return_type return_type)
static void as_list_policy_set(as_list_policy *policy, as_list_order order, as_list_write_flags flags)
AS_EXTERN bool as_operations_list_remove_by_value_list(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list *values, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_remove_by_rank(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t rank, as_list_return_type return_type)
static bool as_operations_add_list_get_range(as_operations *ops, const char *name, int64_t index, uint64_t count)
static bool as_operations_add_list_get_by_rank_range_to_end(as_operations *ops, const char *name, int64_t rank, as_list_return_type return_type)
static bool as_operations_add_list_get_by_index_range(as_operations *ops, const char *name, int64_t index, uint64_t count, as_list_return_type return_type)
static void as_list_policy_init(as_list_policy *policy)
static bool as_operations_add_list_append_double(as_operations *ops, const char *name, double value)
static bool as_operations_add_list_insert_double(as_operations *ops, const char *name, int64_t index, double value)
static bool as_operations_add_list_remove_range_from(as_operations *ops, const char *name, int64_t index)
static bool as_operations_add_list_remove_by_rank(as_operations *ops, const char *name, int64_t rank, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_get_by_index_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, uint64_t count, as_list_return_type return_type)
static bool as_operations_add_list_increment_with_policy(as_operations *ops, const char *name, as_list_policy *policy, int64_t index, as_val *incr)
AS_EXTERN bool as_operations_list_get_by_index(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, as_list_return_type return_type)
static bool as_operations_add_list_clear(as_operations *ops, const char *name)
AS_EXTERN bool as_operations_list_get_range_from(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index)
AS_EXTERN bool as_operations_list_remove_by_value_rel_rank_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_val *value, int64_t rank, uint64_t count, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_set(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_policy *policy, int64_t index, as_val *val)
static bool as_operations_add_list_append(as_operations *ops, const char *name, as_val *val)
static bool as_operations_add_list_remove_by_index(as_operations *ops, const char *name, int64_t index, as_list_return_type return_type)
static bool as_operations_add_list_insert_with_policy(as_operations *ops, const char *name, as_list_policy *policy, int64_t index, as_val *val)
AS_EXTERN bool as_operations_list_insert_items(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_policy *policy, int64_t index, as_list *list)
static bool as_operations_add_list_sort(as_operations *ops, const char *name, as_list_sort_flags flags)
static bool as_operations_add_list_remove_by_value_rel_rank_range(as_operations *ops, const char *name, as_val *value, int64_t rank, uint64_t count, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_sort(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_sort_flags flags)
static bool as_operations_add_list_remove_by_value(as_operations *ops, const char *name, as_val *value, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_clear(as_operations *ops, const char *name, as_cdt_ctx *ctx)
AS_EXTERN bool as_operations_list_remove_by_rank_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t rank, uint64_t count, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_remove_by_value_rel_rank_range_to_end(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_val *value, int64_t rank, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_remove_by_value_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_val *begin, as_val *end, as_list_return_type return_type)
static bool as_operations_add_list_get(as_operations *ops, const char *name, int64_t index)
static bool as_operations_add_list_remove_by_index_range_to_end(as_operations *ops, const char *name, int64_t index, as_list_return_type return_type)
static bool as_operations_add_list_get_by_value_list(as_operations *ops, const char *name, as_list *values, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_get_by_rank_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t rank, uint64_t count, as_list_return_type return_type)
static bool as_operations_add_list_append_strp(as_operations *ops, const char *name, const char *value, bool free)
static bool as_operations_add_list_insert_str(as_operations *ops, const char *name, int64_t index, const char *value)
AS_EXTERN bool as_operations_list_get_by_value_rel_rank_range_to_end(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_val *value, int64_t rank, as_list_return_type return_type)
static bool as_operations_add_list_append_raw(as_operations *ops, const char *name, const uint8_t *value, uint32_t size)
AS_EXTERN bool as_operations_list_remove_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, uint64_t count)
static bool as_operations_add_list_insert_items(as_operations *ops, const char *name, int64_t index, as_list *list)
static bool as_operations_add_list_remove_by_value_range(as_operations *ops, const char *name, as_val *begin, as_val *end, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_remove_by_index_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, uint64_t count, as_list_return_type return_type)
static bool as_operations_add_list_trim(as_operations *ops, const char *name, int64_t index, uint64_t count)
static bool as_operations_add_list_set_order(as_operations *ops, const char *name, as_list_order order)
AS_EXTERN bool as_operations_list_get_by_value_list(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list *values, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_get_by_index_range_to_end(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_get_by_rank(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t rank, as_list_return_type return_type)
static bool as_operations_add_list_get_by_value_rel_rank_range(as_operations *ops, const char *name, as_val *value, int64_t rank, uint64_t count, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_set_order(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_order order)
static bool as_operations_add_list_pop_range_from(as_operations *ops, const char *name, int64_t index)
AS_EXTERN bool as_operations_list_get(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index)
static bool as_operations_add_list_get_by_index(as_operations *ops, const char *name, int64_t index, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_remove_by_value(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_val *value, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_get_by_rank_range_to_end(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t rank, as_list_return_type return_type)
AS_EXTERN bool as_operations_list_pop(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index)
AS_EXTERN bool as_operations_list_get_by_value_rel_rank_range(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_val *value, int64_t rank, uint64_t count, as_list_return_type return_type)
static bool as_operations_add_list_remove(as_operations *ops, const char *name, int64_t index)
static bool as_operations_add_list_insert(as_operations *ops, const char *name, int64_t index, as_val *val)
static bool as_operations_add_list_set_strp(as_operations *ops, const char *name, int64_t index, const char *value, bool free)
static bool as_operations_add_list_append_with_policy(as_operations *ops, const char *name, as_list_policy *policy, as_val *val)
static bool as_operations_add_list_set_int64(as_operations *ops, const char *name, int64_t index, int64_t value)
static bool as_operations_add_list_append_rawp(as_operations *ops, const char *name, const uint8_t *value, uint32_t size, bool free)
static bool as_operations_add_list_set_with_policy(as_operations *ops, const char *name, as_list_policy *policy, int64_t index, as_val *val)
AS_EXTERN bool as_operations_list_remove(as_operations *ops, const char *name, as_cdt_ctx *ctx, int64_t index)
@ AS_LIST_WRITE_INSERT_BOUNDED
@ AS_LIST_WRITE_ADD_UNIQUE
@ AS_LIST_RETURN_REVERSE_INDEX
@ AS_LIST_RETURN_REVERSE_RANK
@ AS_LIST_RETURN_INVERTED
@ AS_LIST_SORT_DROP_DUPLICATES
AS_EXTERN bool as_operations_list_create_all(as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list_order order, bool pad, bool persist_index)
as_list_write_flags flags