20 if (incoming ==
NULL) {
24 if (chunk_size == 0) {
43 if (incoming ==
NULL) {
49 if (self_destroy ==
true) {
68 node->
end =
buf + buf_size;
71 if (last_node !=
NULL) {
72 last_node->
next = node;
79 node->
prev = last_node;
118 if (new_node ==
NULL) {
125 new_node->
end = node->
end;
127 new_node->
prev = node;
131 node->
next = new_node;
134 new_node->
use = node->
use;
166 if (return_node !=
NULL && *return_node != node) {
174 if (return_node !=
NULL && *return_node != node) {
199 if (return_node !=
NULL && *return_node != node) {
207 if (return_node !=
NULL && *return_node != node) {
@ LXB_STATUS_ERROR_OBJECT_IS_NULL
@ LXB_STATUS_ERROR_WRONG_ARGS
lxb_status_t lexbor_dobject_init(lexbor_dobject_t *dobject, size_t chunk_size, size_t struct_size)
void lexbor_dobject_clean(lexbor_dobject_t *dobject)
lexbor_dobject_t * lexbor_dobject_destroy(lexbor_dobject_t *dobject, bool destroy_self)
void * lexbor_dobject_free(lexbor_dobject_t *dobject, void *data)
lexbor_dobject_t * lexbor_dobject_create(void)
void * lexbor_dobject_alloc(lexbor_dobject_t *dobject)
memset(ptr, 0, type->size)
zend_ffi_ctype_name_buf buf
lexbor_in_node_t * lexbor_in_node_next_noi(const lexbor_in_node_t *node)
void lexbor_in_clean(lexbor_in_t *incoming)
lexbor_in_t * lexbor_in_node_in_noi(const lexbor_in_node_t *node)
lexbor_in_node_t * lexbor_in_node_split(lexbor_in_node_t *node, const lxb_char_t *pos)
size_t lexbor_in_node_offset_noi(const lexbor_in_node_t *node)
lexbor_in_node_t * lexbor_in_node_find(lexbor_in_node_t *node, const lxb_char_t *pos)
lexbor_in_t * lexbor_in_destroy(lexbor_in_t *incoming, bool self_destroy)
lexbor_in_node_t * lexbor_in_node_destroy(lexbor_in_t *incoming, lexbor_in_node_t *node, bool self_destroy)
const lxb_char_t * lexbor_in_node_pos_down(lexbor_in_node_t *node, lexbor_in_node_t **return_node, const lxb_char_t *pos, size_t offset)
const lxb_char_t * lexbor_in_node_pos_up(lexbor_in_node_t *node, lexbor_in_node_t **return_node, const lxb_char_t *pos, size_t offset)
lexbor_in_node_t * lexbor_in_node_prev_noi(const lexbor_in_node_t *node)
const lxb_char_t * lexbor_in_node_end_noi(const lexbor_in_node_t *node)
lxb_status_t lexbor_in_init(lexbor_in_t *incoming, size_t chunk_size)
lexbor_in_t * lexbor_in_create(void)
lexbor_in_node_t * lexbor_in_node_make(lexbor_in_t *incoming, lexbor_in_node_t *last_node, const lxb_char_t *buf, size_t buf_size)
const lxb_char_t * lexbor_in_node_begin_noi(const lexbor_in_node_t *node)
bool lexbor_in_segment_noi(const lexbor_in_node_t *node, const lxb_char_t *data)
void lexbor_in_node_clean(lexbor_in_node_t *node)
lxb_inline bool lexbor_in_segment(const lexbor_in_node_t *node, const lxb_char_t *data)
lxb_inline lexbor_in_node_t * lexbor_in_node_next(const lexbor_in_node_t *node)
lxb_inline const lxb_char_t * lexbor_in_node_begin(const lexbor_in_node_t *node)
struct lexbor_in_node lexbor_in_node_t
lxb_inline const lxb_char_t * lexbor_in_node_end(const lexbor_in_node_t *node)
lxb_inline lexbor_in_node_t * lexbor_in_node_prev(const lexbor_in_node_t *node)
lxb_inline lexbor_in_t * lexbor_in_node_in(const lexbor_in_node_t *node)
lxb_inline size_t lexbor_in_node_offset(const lexbor_in_node_t *node)
LXB_API void * lexbor_free(void *dst)
LXB_API void * lexbor_calloc(size_t num, size_t size)
unsigned const char * pos
unsigned int lxb_status_t