Home
last modified time | relevance | path

Searched refs:ci_orig (Results 1 – 4 of 4) sorted by relevance

/dports/net-mgmt/collectd5/collectd-5.12.0/src/liboconfig/
H A Doconfig.c97 oconfig_item_t *oconfig_clone(const oconfig_item_t *ci_orig) { in oconfig_clone() argument
109 ci_copy->key = strdup(ci_orig->key); in oconfig_clone()
116 if (ci_orig->values_num > 0) /* {{{ */ in oconfig_clone()
125 ci_copy->values_num = ci_orig->values_num; in oconfig_clone()
128 ci_copy->values[i].type = ci_orig->values[i].type; in oconfig_clone()
131 strdup(ci_orig->values[i].value.string); in oconfig_clone()
139 ci_copy->values[i].value = ci_orig->values[i].value; in oconfig_clone()
144 if (ci_orig->children_num > 0) /* {{{ */ in oconfig_clone()
147 calloc(ci_orig->children_num, sizeof(*ci_copy->children)); in oconfig_clone()
153 ci_copy->children_num = ci_orig->children_num; in oconfig_clone()
[all …]
/dports/security/samhain-server/samhain-4.4.3/src/
H A Ddnmalloc.c2803 if (hash(chunk(ci_orig)) != hash(chunk(ci_insert))) { in hashtable_insert()
2808 ci_insert->hash_next = ci_orig->hash_next; in hashtable_insert()
2809 ci_orig->hash_next = ci_insert; in hashtable_insert()
2819 ci_insert->prev_size = chunksize(ci_orig); in hashtable_insert()
2824 ci_insert->prev_size = chunksize(ci_orig); in hashtable_insert()
2882 if (ci_orig->hash_next != ci_todelete) {
2896 ci_orig->hash_next = ci_todelete->hash_next;
2897 if (!ci_orig->hash_next) {
2898 next = next_chunkinfo(ci_orig);
2900 next = ci_orig->hash_next;
[all …]
/dports/security/samhain-client/samhain-4.4.3/src/
H A Ddnmalloc.c2803 if (hash(chunk(ci_orig)) != hash(chunk(ci_insert))) { in hashtable_insert()
2808 ci_insert->hash_next = ci_orig->hash_next; in hashtable_insert()
2809 ci_orig->hash_next = ci_insert; in hashtable_insert()
2819 ci_insert->prev_size = chunksize(ci_orig); in hashtable_insert()
2824 ci_insert->prev_size = chunksize(ci_orig); in hashtable_insert()
2882 if (ci_orig->hash_next != ci_todelete) {
2896 ci_orig->hash_next = ci_todelete->hash_next;
2897 if (!ci_orig->hash_next) {
2898 next = next_chunkinfo(ci_orig);
2900 next = ci_orig->hash_next;
[all …]
/dports/security/samhain/samhain-4.4.3/src/
H A Ddnmalloc.c2803 if (hash(chunk(ci_orig)) != hash(chunk(ci_insert))) { in hashtable_insert()
2808 ci_insert->hash_next = ci_orig->hash_next; in hashtable_insert()
2809 ci_orig->hash_next = ci_insert; in hashtable_insert()
2819 ci_insert->prev_size = chunksize(ci_orig); in hashtable_insert()
2824 ci_insert->prev_size = chunksize(ci_orig); in hashtable_insert()
2882 if (ci_orig->hash_next != ci_todelete) {
2896 ci_orig->hash_next = ci_todelete->hash_next;
2897 if (!ci_orig->hash_next) {
2898 next = next_chunkinfo(ci_orig);
2900 next = ci_orig->hash_next;
[all …]