The f_memory_*() functions already call memset() where appropriate.
} \
if (status == F_none) status = f_memory_resize((void **) & accounts.array, sizeof(f_account_t), accounts.size, new_length); \
if (status == F_none) { \
- if (new_length > accounts.size) { \
- for (f_array_length_t _macro__i = accounts.size; _macro__i < new_length; _macro__i++) { \
- memset(&accounts.array[_macro__i], 0, sizeof(f_account_t)); \
- } \
- } \
accounts.size = new_length; \
if (accounts.used > accounts.size) accounts.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & accounts.array, sizeof(f_account_t), accounts.size, new_length); \
if (status == F_none) { \
- if (new_length > accounts.size) { \
- for (f_array_length_t _macro__i = accounts.size; _macro__i < new_length; _macro__i++) { \
- memset(&accounts.array[_macro__i], 0, sizeof(f_account_t)); \
- } \
- } \
accounts.size = new_length; \
if (accounts.used > accounts.size) accounts.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & structures.array, sizeof(f_directory_status_t), structures.size, new_length); \
if (status == F_none) { \
- if (new_length > structures.size) { \
- for (f_array_length_t _macro__i = structures.size; _macro__i < new_length; _macro__i++) { \
- memset(&structures.array[_macro__i], 0, sizeof(f_directory_status_t)); \
- } \
- } \
structures.size = new_length; \
if (structures.used > structures.size) structures.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & structures.array, sizeof(f_directory_status_t), structures.size, new_length); \
if (status == F_none) { \
- if (new_length > structures.size) { \
- for (f_array_length_t _macro__i = structures.size; _macro__i < new_length; _macro__i++) { \
- memset(&structures.array[_macro__i], 0, sizeof(f_directory_status_t)); \
- } \
- } \
structures.size = new_length; \
if (structures.used > structures.size) structures.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & sets.array, sizeof(f_fss_named_t), sets.size, new_length); \
if (status == F_none) { \
- if (new_length > sets.size) { \
- for (f_array_length_t _macro__i = sets.size; _macro__i < new_length; _macro__i++) { \
- memset(&sets.array[_macro__i], 0, sizeof(f_fss_named_t)); \
- } \
- } \
sets.size = new_length; \
if (sets.used > sets.size) sets.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & sets.array, sizeof(f_fss_named_t), sets.size, new_length); \
if (status == F_none) { \
- if (new_length > sets.size) { \
- for (f_array_length_t _macro__i = sets.size; _macro__i < new_length; _macro__i++) { \
- memset(&sets.array[_macro__i], 0, sizeof(f_fss_named_t)); \
- } \
- } \
sets.size = new_length; \
if (sets.used > sets.size) sets.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & items.array, sizeof(f_fss_item_t), items.size, new_length); \
if (status == F_none) { \
- if (new_length > items.size) { \
- for (f_array_length_t _macro__i = items.size; _macro__i < new_length; _macro__i++) { \
- memset(&items.array[_macro__i], 0, sizeof(f_fss_item_t)); \
- } \
- } \
items.size = new_length; \
if (items.used > items.size) items.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & items.array, sizeof(f_fss_item_t), items.size, new_length); \
if (status == F_none) { \
- if (new_length > items.size) { \
- for (length_variable _macro__i = items.size; _macro__i < new_length; _macro__i++) { \
- memset(&items.array[_macro__i], 0, sizeof(f_fss_item_t)); \
- } \
- } \
items.size = new_length; \
if (items.used > items.size) items.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & nest.depth, sizeof(f_fss_items_t), nest.size, new_length); \
if (status == F_none) { \
- if (new_length > nest.size) { \
- for (f_array_length_t _macro__i = nest.size; _macro__i < new_length; _macro__i++) { \
- memset(&nest.depth[_macro__i], 0, sizeof(f_fss_items_t)); \
- } \
- } \
nest.size = new_length; \
if (nest.used > nest.size) nest.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & nest.depth, sizeof(f_fss_item_t), nest.size, new_length); \
if (status == F_none) { \
- if (new_length > nest.size) { \
- for (f_array_length_t _macro__i = nest.size; _macro__i < new_length; _macro__i++) { \
- memset(&items.depth[_macro__i], 0, sizeof(f_fss_item_t)); \
- } \
- } \
nest.size = new_length; \
if (nest.used > nest.size) nest.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & nests.array, sizeof(f_fss_nest_t), nests.size, new_length); \
if (status == F_none) { \
- if (new_length > nests.size) { \
- for (f_array_length_t _macro__i = nests.size; _macro__i < new_length; _macro__i++) { \
- memset(&nests.array[_macro__i], 0, sizeof(f_fss_nest_t)); \
- } \
- } \
nests.size = new_length; \
if (nests.used > nests.size) nests.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & nests.array, sizeof(f_fss_nest_t), nests.size, new_length); \
if (status == F_none) { \
- if (new_length > nests.size) { \
- for (f_array_length_t _macro__i = nests.size; _macro__i < new_length; _macro__i++) { \
- memset(&nests.array[_macro__i], 0, sizeof(f_fss_nest_t)); \
- } \
- } \
nests.size = new_length; \
if (nests.used > nests.size) nests.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & sets.array, sizeof(f_fss_set_t), sets.size, new_length); \
if (status == F_none) { \
- if (new_length > sets.size) { \
- for (f_array_length_t _macro__i = sets.size; _macro__i < new_length; _macro__i++) { \
- memset(&sets.array[_macro__i], 0, sizeof(f_fss_set_t)); \
- } \
- } \
sets.size = new_length; \
if (sets.used > sets.size) sets.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & sets.array, sizeof(f_fss_set_t), sets.size, new_length); \
if (status == F_none) { \
- if (new_length > sets.size) { \
- for (f_array_length_t _macro__i = sets.size; _macro__i < new_length; _macro__i++) { \
- memset(&sets.array[_macro__i], 0, sizeof(f_fss_set_t)); \
- } \
- } \
sets.size = new_length; \
if (sets.used > sets.size) sets.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & sets.array, sizeof(f_fss_set_quote_t), sets.size, new_length); \
if (status == F_none) { \
- if (new_length > sets.size) { \
- for (f_array_length_t _macro__i = sets.size; _macro__i < new_length; _macro__i++) { \
- memset(&sets.array[_macro__i], 0, sizeof(f_fss_set_quote_t)); \
- } \
- } \
sets.size = new_length; \
if (sets.used > sets.size) sets.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & sets.array, sizeof(f_fss_set_quote_t), sets.size, new_length); \
if (status == F_none) { \
- if (new_length > sets.size) { \
- for (f_array_length_t _macro__i = sets.size; _macro__i < new_length; _macro__i++) { \
- memset(&sets.array[_macro__i], 0, sizeof(f_fss_set_quote_t)); \
- } \
- } \
sets.size = new_length; \
if (sets.used > sets.size) sets.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & structures.array, sizeof(type_structures), structures.size, new_length); \
if (status == F_none) { \
- if (new_length > structures.size) { \
- for (length_variable _macro__i = structures.size; _macro__i < new_length; _macro__i++) { \
- memset(&structures.array[_macro__i], 0, sizeof(type_structures)); \
- } \
- } \
structures.size = new_length; \
if (structures.used > structures.size) structures.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & structures.array, sizeof(type_structures), structures.size, new_length); \
if (status == F_none) { \
- if (new_length > structures.size) { \
- for (length_variable _macro__i = structures.size; _macro__i < new_length; _macro__i++) { \
- memset(&structures.array[_macro__i], 0, sizeof(type_structures)); \
- } \
- } \
structures.size = new_length; \
if (structures.used > structures.size) structures.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & dynamics.array, sizeof(f_string_dynamic_t), dynamics.size, new_length); \
if (status == F_none) { \
- if (new_length > dynamics.size) { \
- for (f_array_length_t _macro__i = dynamics.size; _macro__i < new_length; _macro__i++) { \
- memset(&dynamics.array[_macro__i], 0, sizeof(f_string_dynamic_t)); \
- } \
- } \
dynamics.size = new_length; \
if (dynamics.used > dynamics.size) dynamics.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & dynamics.array, sizeof(f_string_dynamic_t), dynamics.size, new_length); \
if (status == F_none) { \
- if (new_length > dynamics.size) { \
- for (f_array_length_t _macro__i = dynamics.size; _macro__i < new_length; _macro__i++) { \
- memset(&dynamics.array[_macro__i], 0, sizeof(f_string_dynamic_t)); \
- } \
- } \
dynamics.size = new_length; \
if (dynamics.used > dynamics.size) dynamics.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & maps.array, sizeof(f_string_map_t), maps.size, new_length); \
if (status == F_none) { \
- if (new_length > maps.size) { \
- for (f_array_length_t _macro__i = maps.size; _macro__i < new_length; _macro__i++) { \
- memset(&maps.array[_macro__i], 0, sizeof(f_string_map_t)); \
- } \
- } \
maps.size = new_length; \
if (maps.used > maps.size) maps.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & maps.array, sizeof(f_string_map_t), maps.size, new_length); \
if (status == F_none) { \
- if (new_length > maps.size) { \
- for (f_array_length_t _macro__i = maps.size; _macro__i < new_length; _macro__i++) { \
- memset(&maps.array[_macro__i], 0, sizeof(f_string_map_t)); \
- } \
- } \
maps.size = new_length; \
if (maps.used > maps.size) maps.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & maps.array, sizeof(f_string_map_multi_t), maps.size, new_length); \
if (status == F_none) { \
- if (new_length > maps.size) { \
- for (f_array_length_t _macro__i = maps.size; _macro__i < new_length; _macro__i++) { \
- memset(&maps.array[_macro__i], 0, sizeof(f_string_map_multi_t)); \
- } \
- } \
maps.size = new_length; \
if (maps.used > maps.size) maps.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & maps.array, sizeof(f_string_map_multi_t), maps.size, new_length); \
if (status == F_none) { \
- if (new_length > maps.size) { \
- for (f_array_length_t _macro__i = maps.size; _macro__i < new_length; _macro__i++) { \
- memset(&maps.array[_macro__i], 0, sizeof(f_string_map_multi_t)); \
- } \
- } \
maps.size = new_length; \
if (maps.used > maps.size) maps.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & triples.array, sizeof(f_string_triple_t), triples.size, new_length); \
if (status == F_none) { \
- if (new_length > triples.size) { \
- for (f_array_length_t _macro__i = triples.size; _macro__i < new_length; _macro__i++) { \
- memset(&triples.array[_macro__i], 0, sizeof(f_string_triple_t)); \
- } \
- } \
triples.size = new_length; \
if (triples.used > triples.size) triples.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & triples.array, sizeof(f_string_triple_t), triples.size, new_length); \
if (status == F_none) { \
- if (new_length > triples.size) { \
- for (f_array_length_t _macro__i = triples.size; _macro__i < new_length; _macro__i++) { \
- memset(&triples.array[_macro__i], 0, sizeof(f_string_triple_t)); \
- } \
- } \
triples.size = new_length; \
if (triples.used > triples.size) triples.used = new_length; \
}
#define f_macro_thread_attributes_t_resize(status, attributes, new_length) \
status = f_memory_resize((void **) & attributes.array, sizeof(f_thread_attribute_t), attributes.size, new_length); \
if (status == F_none) { \
- if (new_length > attributes.size) { \
- for (f_array_length_t _macro__i = attributes.size; _macro__i < new_length; _macro__i++) { \
- memset(&attributes.array[_macro__i], 0, sizeof(f_thread_attribute_t)); \
- } \
- } \
attributes.size = new_length; \
if (attributes.used > attributes.size) attributes.used = new_length; \
}
#define f_macro_thread_attributes_t_adjust(status, attributes, new_length) \
status = f_memory_adjust((void **) & attributes.array, sizeof(f_thread_attribute_t), attributes.size, new_length); \
if (status == F_none) { \
- if (new_length > attributes.size) { \
- for (f_array_length_t _macro__i = attributes.size; _macro__i < new_length; _macro__i++) { \
- memset(&attributes.array[_macro__i], 0, sizeof(f_thread_attribute_t)); \
- } \
- } \
attributes.size = new_length; \
if (attributes.used > attributes.size) attributes.used = new_length; \
}
#define f_macro_thread_conditions_t_resize(status, conditions, new_length) \
status = f_memory_resize((void **) & conditions.array, sizeof(f_thread_condition_t), conditions.size, new_length); \
if (status == F_none) { \
- if (new_length > conditions.size) { \
- for (f_array_length_t _macro__i = conditions.size; _macro__i < new_length; _macro__i++) { \
- memset(&conditions.array[_macro__i], 0, sizeof(f_thread_condition_t)); \
- } \
- } \
conditions.size = new_length; \
if (conditions.used > conditions.size) conditions.used = new_length; \
}
#define f_macro_thread_conditions_t_adjust(status, conditions, new_length) \
status = f_memory_adjust((void **) & conditions.array, sizeof(f_thread_condition_t), conditions.size, new_length); \
if (status == F_none) { \
- if (new_length > conditions.size) { \
- for (f_array_length_t _macro__i = conditions.size; _macro__i < new_length; _macro__i++) { \
- memset(&conditions.array[_macro__i], 0, sizeof(f_thread_condition_t)); \
- } \
- } \
conditions.size = new_length; \
if (conditions.used > conditions.size) conditions.used = new_length; \
}
#define f_macro_thread_ids_t_resize(status, ids, new_length) \
status = f_memory_resize((void **) & ids.array, sizeof(f_thread_id_t), ids.size, new_length); \
if (status == F_none) { \
- if (new_length > ids.size) { \
- for (f_array_length_t _macro__i = ids.size; _macro__i < new_length; _macro__i++) { \
- memset(&ids.array[_macro__i], 0, sizeof(f_thread_id_t)); \
- } \
- } \
ids.size = new_length; \
if (ids.used > ids.size) ids.used = new_length; \
}
#define f_macro_thread_ids_t_adjust(status, ids, new_length) \
status = f_memory_adjust((void **) & ids.array, sizeof(f_thread_id_t), ids.size, new_length); \
if (status == F_none) { \
- if (new_length > ids.size) { \
- for (f_array_length_t _macro__i = ids.size; _macro__i < new_length; _macro__i++) { \
- memset(&ids.array[_macro__i], 0, sizeof(f_thread_id_t)); \
- } \
- } \
ids.size = new_length; \
if (ids.used > ids.size) ids.used = new_length; \
}
#define f_macro_thread_keys_t_resize(status, keys, new_length) \
status = f_memory_resize((void **) & keys.array, sizeof(f_thread_key_t), keys.size, new_length); \
if (status == F_none) { \
- if (new_length > keys.size) { \
- for (f_array_length_t _macro__i = keys.size; _macro__i < new_length; _macro__i++) { \
- memset(&keys.array[_macro__i], 0, sizeof(f_thread_key_t)); \
- } \
- } \
keys.size = new_length; \
if (keys.used > keys.size) keys.used = new_length; \
}
#define f_macro_thread_keys_t_adjust(status, keys, new_length) \
status = f_memory_adjust((void **) & keys.array, sizeof(f_thread_key_t), keys.size, new_length); \
if (status == F_none) { \
- if (new_length > keys.size) { \
- for (f_array_length_t _macro__i = keys.size; _macro__i < new_length; _macro__i++) { \
- memset(&keys.array[_macro__i], 0, sizeof(f_thread_key_t)); \
- } \
- } \
keys.size = new_length; \
if (keys.used > keys.size) keys.used = new_length; \
}
#define f_macro_thread_locks_t_resize(status, locks, new_length) \
status = f_memory_resize((void **) & locks.array, sizeof(f_thread_lock_t), locks.size, new_length); \
if (status == F_none) { \
- if (new_length > locks.size) { \
- for (f_array_length_t _macro__i = locks.size; _macro__i < new_length; _macro__i++) { \
- memset(&locks.array[_macro__i], 0, sizeof(f_thread_lock_t)); \
- } \
- } \
locks.size = new_length; \
if (locks.used > locks.size) locks.used = new_length; \
}
#define f_macro_thread_locks_t_adjust(status, locks, new_length) \
status = f_memory_adjust((void **) & locks.array, sizeof(f_thread_lock_t), locks.size, new_length); \
if (status == F_none) { \
- if (new_length > locks.size) { \
- for (f_array_length_t _macro__i = locks.size; _macro__i < new_length; _macro__i++) { \
- memset(&locks.array[_macro__i], 0, sizeof(f_thread_lock_t)); \
- } \
- } \
locks.size = new_length; \
if (locks.used > locks.size) locks.used = new_length; \
}
#define f_macro_thread_mutexs_t_resize(status, mutexs, new_length) \
status = f_memory_resize((void **) & mutexs.array, sizeof(f_thread_mutex_t), mutexs.size, new_length); \
if (status == F_none) { \
- if (new_length > mutexs.size) { \
- for (f_array_length_t _macro__i = mutexs.size; _macro__i < new_length; _macro__i++) { \
- memset(&mutexs.array[_macro__i], 0, sizeof(f_thread_mutex_t)); \
- } \
- } \
mutexs.size = new_length; \
if (mutexs.used > mutexs.size) mutexs.used = new_length; \
}
#define f_macro_thread_mutexs_t_adjust(status, mutexs, new_length) \
status = f_memory_adjust((void **) & mutexs.array, sizeof(f_thread_mutex_t), mutexs.size, new_length); \
if (status == F_none) { \
- if (new_length > mutexs.size) { \
- for (f_array_length_t _macro__i = mutexs.size; _macro__i < new_length; _macro__i++) { \
- memset(&mutexs.array[_macro__i], 0, sizeof(f_thread_mutex_t)); \
- } \
- } \
mutexs.size = new_length; \
if (mutexs.used > mutexs.size) mutexs.used = new_length; \
}
#define f_macro_thread_mutex_attributes_t_resize(status, mutex_attributes, new_length) \
status = f_memory_resize((void **) & mutex_attributes.array, sizeof(f_thread_mutex_attribute_t), mutex_attributes.size, new_length); \
if (status == F_none) { \
- if (new_length > mutex_attributes.size) { \
- for (f_array_length_t _macro__i = mutex_attributes.size; _macro__i < new_length; _macro__i++) { \
- memset(&mutex_attributes.array[_macro__i], 0, sizeof(f_thread_mutex_attribute_t)); \
- } \
- } \
mutex_attributes.size = new_length; \
if (mutex_attributes.used > mutex_attributes.size) mutex_attributes.used = new_length; \
}
#define f_macro_thread_mutex_attributes_t_adjust(status, mutex_attributes, new_length) \
status = f_memory_adjust((void **) & mutex_attributes.array, sizeof(f_thread_mutex_attribute_t), mutex_attributes.size, new_length); \
if (status == F_none) { \
- if (new_length > mutex_attributes.size) { \
- for (f_array_length_t _macro__i = mutex_attributes.size; _macro__i < new_length; _macro__i++) { \
- memset(&mutex_attributes.array[_macro__i], 0, sizeof(f_thread_mutex_attribute_t)); \
- } \
- } \
mutex_attributes.size = new_length; \
if (mutex_attributes.used > mutex_attributes.size) mutex_attributes.used = new_length; \
}
#define f_macro_thread_onces_t_resize(status, onces, new_length) \
status = f_memory_resize((void **) & onces.array, sizeof(f_thread_once_t), onces.size, new_length); \
if (status == F_none) { \
- if (new_length > onces.size) { \
- for (f_array_length_t _macro__i = onces.size; _macro__i < new_length; _macro__i++) { \
- memset(&onces.array[_macro__i], 0, sizeof(f_thread_once_t)); \
- } \
- } \
onces.size = new_length; \
if (onces.used > onces.size) onces.used = new_length; \
}
#define f_macro_thread_onces_t_adjust(status, onces, new_length) \
status = f_memory_adjust((void **) & onces.array, sizeof(f_thread_once_t), onces.size, new_length); \
if (status == F_none) { \
- if (new_length > onces.size) { \
- for (f_array_length_t _macro__i = onces.size; _macro__i < new_length; _macro__i++) { \
- memset(&onces.array[_macro__i], 0, sizeof(f_thread_once_t)); \
- } \
- } \
onces.size = new_length; \
if (onces.used > onces.size) onces.used = new_length; \
}
#define f_macro_thread_sets_t_resize(status, threads, new_length) \
status = f_memory_resize((void **) & threads.array, sizeof(f_thread_set_t), threads.size, new_length); \
if (status == F_none) { \
- if (new_length > threads.size) { \
- for (f_array_length_t _macro__i = threads.size; _macro__i < new_length; _macro__i++) { \
- memset(&threads.array[_macro__i], 0, sizeof(f_thread_set_t)); \
- } \
- } \
threads.size = new_length; \
if (threads.used > threads.size) threads.used = new_length; \
}
#define f_macro_thread_sets_t_adjust(status, threads, new_length) \
status = f_memory_adjust((void **) & threads.array, sizeof(f_thread_set_t), threads.size, new_length); \
if (status == F_none) { \
- if (new_length > threads.size) { \
- for (f_array_length_t _macro__i = threads.size; _macro__i < new_length; _macro__i++) { \
- memset(&threads.array[_macro__i], 0, sizeof(f_thread_set_t)); \
- } \
- } \
threads.size = new_length; \
if (threads.used > threads.size) threads.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & dynamics.array, sizeof(f_utf_string_dynamic_t), dynamics.size, new_length); \
if (status == F_none) { \
- if (new_length > dynamics.size) { \
- for (f_utf_string_length_t _macro__i = dynamics.size; _macro__i < new_length; _macro__i++) { \
- memset(&dynamics.array[_macro__i], 0, sizeof(f_utf_string_dynamic_t)); \
- } \
- } \
dynamics.size = new_length; \
if (dynamics.used > dynamics.size) dynamics.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & dynamics.array, sizeof(f_utf_string_dynamic_t), dynamics.size, new_length); \
if (status == F_none) { \
- if (new_length > dynamics.size) { \
- for (f_utf_string_length_t _macro__i = dynamics.size; _macro__i < new_length; _macro__i++) { \
- memset(&dynamics.array[_macro__i], 0, sizeof(f_utf_string_dynamic_t)); \
- } \
- } \
dynamics.size = new_length; \
if (dynamics.used > dynamics.size) dynamics.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & depths.array, sizeof(fss_basic_list_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_basic_list_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & depths.array, sizeof(fss_basic_list_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_basic_list_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & depths.array, sizeof(fss_basic_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_basic_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & depths.array, sizeof(fss_basic_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_basic_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & depths.array, sizeof(fss_embedded_list_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_embedded_list_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & depths.array, sizeof(fss_embedded_list_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_embedded_list_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & depths.array, sizeof(fss_extended_list_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_extended_list_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & depths.array, sizeof(fss_extended_list_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_extended_list_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & depths.array, sizeof(fss_extended_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_extended_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & depths.array, sizeof(fss_extended_read_depth_t), depths.size, new_length); \
if (status == F_none) { \
- if (new_length > depths.size) { \
- f_array_length_t i = depths.size; \
- for (; i < new_length; i++) { \
- memset(&depths.array[i], 0, sizeof(fss_extended_read_depth_t)); \
- } \
- } \
depths.size = new_length; \
if (depths.used > depths.size) depths.used = new_length; \
}
} \
if (status == F_none) status = f_memory_resize((void **) & replacements.array, sizeof(iki_read_substitution_t), replacements.size, new_length); \
if (status == F_none) { \
- if (new_length > replacements.size) { \
- f_array_length_t i = replacements.size; \
- for (; i < new_length; i++) { \
- memset(&replacements.array[i], 0, sizeof(iki_read_substitution_t)); \
- } \
- } \
replacements.size = new_length; \
if (replacements.used > replacements.size) replacements.used = new_length; \
}
} \
if (status == F_none) status = f_memory_adjust((void **) & replacements.array, sizeof(iki_read_substitution_t), replacements.size, new_length); \
if (status == F_none) { \
- if (new_length > replacements.size) { \
- f_array_length_t i = replacements.size; \
- for (; i < new_length; i++) { \
- memset(&replacements.array[i], 0, sizeof(iki_read_substitution_t)); \
- } \
- } \
replacements.size = new_length; \
if (replacements.used > replacements.size) replacements.used = new_length; \
}