This simplifies the design.
Doing this comes at a cost of some flexibility and hackability.
After some consideration, I have decided that it can introduce more complicated handling when needing to process both f_array_length_t and f_number_unsigned_t during I/O.
This should keep things simple.
I decided to maintain the custom functions for managing this.
I could use an ifdef wrapper and call the appropriate calls within, but I can do that for another time if I decide to (and remember to).
#define _di_compiler_attributes_d_
-#define _di_f_array_lengthss_t_
-#define _di_f_array_lengths_t_
-#define _di_f_array_length_t_
#define _di_f_cellss_t_
#define _di_f_cells_t_
#define _di_f_cell_t_
-#define _di_f_array_lengths_adjust_
-#define _di_f_array_lengths_append_
-#define _di_f_array_lengths_append_all_
-#define _di_f_array_lengths_decimate_by_
-#define _di_f_array_lengths_decrease_by_
-#define _di_f_array_lengths_increase_
-#define _di_f_array_lengths_increase_by_
-#define _di_f_array_lengths_resize_
-#define _di_f_array_lengthss_adjust_
-#define _di_f_array_lengthss_append_
-#define _di_f_array_lengthss_append_all_
-#define _di_f_array_lengthss_decimate_by_
-#define _di_f_array_lengthss_decrease_by_
-#define _di_f_array_lengthss_increase_
-#define _di_f_array_lengthss_increase_by_
-#define _di_f_array_lengthss_resize_
-#define _di_f_array_lengthss_t_
-#define _di_f_array_lengths_t_
#define _di_f_cells_adjust_
#define _di_f_cells_append_
#define _di_f_cells_append_all_
#define _di_f_int8ss_resize_
#define _di_f_int8ss_t_
#define _di_f_int8_t_
+#define _di_f_number_unsigneds_adjust_
+#define _di_f_number_unsigneds_append_
+#define _di_f_number_unsigneds_append_all_
+#define _di_f_number_unsigneds_decimate_by_
+#define _di_f_number_unsigneds_decrease_by_
+#define _di_f_number_unsigneds_increase_
+#define _di_f_number_unsigneds_increase_by_
+#define _di_f_number_unsigneds_resize_
+#define _di_f_number_unsignedss_adjust_
+#define _di_f_number_unsignedss_append_
+#define _di_f_number_unsignedss_append_all_
+#define _di_f_number_unsignedss_decimate_by_
+#define _di_f_number_unsignedss_decrease_by_
+#define _di_f_number_unsignedss_increase_
+#define _di_f_number_unsignedss_increase_by_
+#define _di_f_number_unsignedss_resize_
+#define _di_f_number_unsignedss_t_
+#define _di_f_number_unsigneds_t_
#define _di_f_states_adjust_
#define _di_f_states_append_
#define _di_f_states_append_all_
build_sources_library string/range.c string/ranges.c string/rangess.c
build_sources_library string/static.c string/statics.c string/staticss.c
build_sources_library string/triple.c string/triples.c string/tripless.c
-build_sources_library type_array/array_length.c type_array/cell.c type_array/fll_id.c type_array/int8.c type_array/int16.c type_array/int32.c type_array/int64.c type_array/int128.c type_array/state.c type_array/status.c type_array/uint8.c type_array/uint16.c type_array/uint32.c type_array/uint64.c type_array/uint128.c
-build_sources_library type_array/private-array_length.c type_array/private-cell.c type_array/private-fll_id.c type_array/private-int8.c type_array/private-int16.c type_array/private-int32.c type_array/private-int64.c type_array/private-int128.c type_array/private-state.c type_array/private-status.c type_array/private-uint8.c type_array/private-uint16.c type_array/private-uint32.c type_array/private-uint64.c type_array/private-uint128.c
+build_sources_library type_array/cell.c type_array/fll_id.c type_array/int8.c type_array/int16.c type_array/int32.c type_array/int64.c type_array/int128.c type_array/number_unsigned.c type_array/state.c type_array/status.c type_array/uint8.c type_array/uint16.c type_array/uint32.c type_array/uint64.c type_array/uint128.c
+build_sources_library type_array/private-cell.c type_array/private-fll_id.c type_array/private-int8.c type_array/private-int16.c type_array/private-int32.c type_array/private-int64.c type_array/private-int128.c type_array/private-number_unsinged.c type_array/private-state.c type_array/private-status.c type_array/private-uint8.c type_array/private-uint16.c type_array/private-uint32.c type_array/private-uint64.c type_array/private-uint128.c
build_sources_library utf.c private-utf.c private-utf_alphabetic.c private-utf_combining.c private-utf_control.c private-utf_digit.c private-utf_emoji.c private-utf_numeric.c private-utf_phonetic.c private-utf_private.c private-utf_punctuation.c private-utf_subscript.c private-utf_superscript.c private-utf_symbol.c private-utf_unassigned.c private-utf_valid.c private-utf_whitespace.c private-utf_wide.c private-utf_word.c private-utf_zero_width.c
build_sources_library utf/common.c utf/convert.c
build_sources_library utf/dynamic.c utf/dynamics.c utf/dynamicss.c
build_sources_headers string/triple.h string/triples.h string/tripless.h
build_sources_headers type.h type_file.h
build_sources_headers type_array.h type_array/common.h
-build_sources_headers type_array/array_length.h type_array/cell.h type_array/fll_id.h type_array/int8.h type_array/int16.h type_array/int32.h type_array/int64.h type_array/int128.h type_array/state.h type_array/status.h type_array/uint8.h type_array/uint16.h type_array/uint32.h type_array/uint64.h type_array/uint128.h
+build_sources_headers type_array/cell.h type_array/fll_id.h type_array/int8.h type_array/int16.h type_array/int32.h type_array/int64.h type_array/int128.h type_array/number_unsigned.h type_array/state.h type_array/status.h type_array/uint8.h type_array/uint16.h type_array/uint32.h type_array/uint64.h type_array/uint128.h
build_sources_headers utf.h utf/common.h utf/convert.h utf/dynamic.h utf/dynamics.h utf/dynamicss.h utf/is.h utf/is_character.h utf/map.h utf/maps.h utf/mapss.h utf/map_multi.h utf/map_multis.h utf/map_multiss.h utf/static.h utf/statics.h utf/staticss.h utf/string.h utf/triple.h utf/triples.h utf/tripless.h
build_sources_headers-thread thread.h thread/attribute.h thread/barrier.h thread/barrier_attribute.h thread/condition.h thread/condition_attribute.h thread/id.h thread/key.h thread/lock.h thread/lock_attribute.h thread/mutex.h thread/mutex_attribute.h thread/once.h thread/semaphore.h thread/set.h thread/spin.h
build_sources_library level_0/string/range.c level_0/string/ranges.c level_0/string/rangess.c
build_sources_library level_0/string/static.c level_0/string/statics.c level_0/string/staticss.c
build_sources_library level_0/string/triple.c level_0/string/triples.c level_0/string/tripless.c
-build_sources_library level_0/type_array/array_length.c level_0/type_array/cell.c level_0/type_array/fll_id.c level_0/type_array/int8.c level_0/type_array/int16.c level_0/type_array/int32.c level_0/type_array/int64.c level_0/type_array/int128.c level_0/type_array/state.c level_0/type_array/status.c level_0/type_array/uint8.c level_0/type_array/uint16.c level_0/type_array/uint32.c level_0/type_array/uint64.c level_0/type_array/uint128.c
-build_sources_library level_0/type_array/private-array_length.c level_0/type_array/private-cell.c level_0/type_array/private-fll_id.c level_0/type_array/private-int8.c level_0/type_array/private-int16.c level_0/type_array/private-int32.c level_0/type_array/private-int64.c level_0/type_array/private-int128.c level_0/type_array/private-state.c level_0/type_array/private-status.c level_0/type_array/private-uint8.c level_0/type_array/private-uint16.c level_0/type_array/private-uint32.c level_0/type_array/private-uint64.c level_0/type_array/private-uint128.c
+build_sources_library level_0/type_array/cell.c level_0/type_array/fll_id.c level_0/type_array/int8.c level_0/type_array/int16.c level_0/type_array/int32.c level_0/type_array/int64.c level_0/type_array/int128.c level_0/type_array/number_unsigned.c level_0/type_array/state.c level_0/type_array/status.c level_0/type_array/uint8.c level_0/type_array/uint16.c level_0/type_array/uint32.c level_0/type_array/uint64.c level_0/type_array/uint128.c
+build_sources_library level_0/type_array/private-cell.c level_0/type_array/private-fll_id.c level_0/type_array/private-int8.c level_0/type_array/private-int16.c level_0/type_array/private-int32.c level_0/type_array/private-int64.c level_0/type_array/private-int128.c level_0/type_array/private-number_unsigned.c level_0/type_array/private-state.c level_0/type_array/private-status.c level_0/type_array/private-uint8.c level_0/type_array/private-uint16.c level_0/type_array/private-uint32.c level_0/type_array/private-uint64.c level_0/type_array/private-uint128.c
build_sources_library level_0/utf.c level_0/private-utf.c level_0/private-utf_alphabetic.c level_0/private-utf_combining.c level_0/private-utf_control.c level_0/private-utf_digit.c level_0/private-utf_emoji.c level_0/private-utf_numeric.c level_0/private-utf_phonetic.c level_0/private-utf_private.c level_0/private-utf_punctuation.c level_0/private-utf_subscript.c level_0/private-utf_superscript.c level_0/private-utf_symbol.c level_0/private-utf_unassigned.c level_0/private-utf_valid.c level_0/private-utf_whitespace.c level_0/private-utf_wide.c level_0/private-utf_word.c level_0/private-utf_zero_width.c
build_sources_library level_0/utf/common.c level_0/utf/convert.c
build_sources_library level_0/utf/dynamic.c level_0/utf/dynamics.c level_0/utf/dynamicss.c
build_sources_headers level_0/string/triple.h level_0/string/triples.h level_0/string/tripless.h
build_sources_headers level_0/type.h level_0/type_file.h
build_sources_headers level_0/type_array.h level_0/type_array/common.h
-build_sources_headers level_0/type_array/array_length.h level_0/type_array/cell.h level_0/type_array/fll_id.h level_0/type_array/int8.h level_0/type_array/int16.h level_0/type_array/int32.h level_0/type_array/int64.h level_0/type_array/int128.h level_0/type_array/state.h level_0/type_array/status.h level_0/type_array/uint8.h level_0/type_array/uint16.h level_0/type_array/uint32.h level_0/type_array/uint64.h level_0/type_array/uint128.h
+build_sources_headers level_0/type_array/cell.h level_0/type_array/fll_id.h level_0/type_array/int8.h level_0/type_array/int16.h level_0/type_array/int32.h level_0/type_array/int64.h level_0/type_array/int128.h level_0/type_array/number_unsigned.h level_0/type_array/state.h level_0/type_array/status.h level_0/type_array/uint8.h level_0/type_array/uint16.h level_0/type_array/uint32.h level_0/type_array/uint64.h level_0/type_array/uint128.h
build_sources_headers level_0/utf.h level_0/utf/common.h level_0/utf/convert.h level_0/utf/dynamic.h level_0/utf/dynamics.h level_0/utf/dynamicss.h level_0/utf/is.h level_0/utf/is_character.h level_0/utf/map.h level_0/utf/maps.h level_0/utf/mapss.h level_0/utf/map_multi.h level_0/utf/map_multis.h level_0/utf/map_multiss.h level_0/utf/static.h level_0/utf/statics.h level_0/utf/staticss.h level_0/utf/string.h level_0/utf/triple.h level_0/utf/triples.h level_0/utf/tripless.h
build_sources_headers level_1/control_group.h
#define _di_f_file_write_range_
#define _di_f_file_write_until_
-
#define _di_f_memory_adjust_
//#define _di_f_memory_default_d_
#define _di_f_memory_delete_
#define _di_f_memory_structure_increase_by_
#define _di_f_memory_structure_resize_
+#define _di_f_number_unsigneds_adjust_
+#define _di_f_number_unsigneds_append_
+#define _di_f_number_unsigneds_append_all_
+#define _di_f_number_unsigneds_decimate_by_
+#define _di_f_number_unsigneds_decrease_by_
+//#define _di_f_number_unsigneds_increase_
+//#define _di_f_number_unsigneds_increase_by_
+//#define _di_f_number_unsigneds_resize_
+#define _di_f_number_unsignedss_adjust_
+#define _di_f_number_unsignedss_append_
+#define _di_f_number_unsignedss_append_all_
+#define _di_f_number_unsignedss_decimate_by_
+#define _di_f_number_unsignedss_decrease_by_
+#define _di_f_number_unsignedss_increase_
+#define _di_f_number_unsignedss_increase_by_
+#define _di_f_number_unsignedss_resize_
+#define _di_f_number_unsignedss_t_
+//#define _di_f_number_unsigneds_t_
+//#define _di_f_number_unsigned_t_
+
#define _di_f_pipe_error_exists_
//#define _di_f_pipe_input_exists_
#define _di_f_pipe_output_exists_
//#define _di_f_string_triples_t_
//#define _di_f_string_triple_t_
-#define _di_f_array_lengths_adjust_
-#define _di_f_array_lengths_append_
-#define _di_f_array_lengths_append_all_
-#define _di_f_array_lengths_decimate_by_
-#define _di_f_array_lengths_decrease_by_
-//#define _di_f_array_lengths_increase_
-//#define _di_f_array_lengths_increase_by_
-//#define _di_f_array_lengths_resize_
-#define _di_f_array_lengthss_adjust_
-#define _di_f_array_lengthss_append_
-#define _di_f_array_lengthss_append_all_
-#define _di_f_array_lengthss_decimate_by_
-#define _di_f_array_lengthss_decrease_by_
-#define _di_f_array_lengthss_increase_
-#define _di_f_array_lengthss_increase_by_
-#define _di_f_array_lengthss_resize_
-//#define _di_f_array_lengthss_t_
-//#define _di_f_array_lengths_t_
#define _di_f_cells_adjust_
#define _di_f_cells_append_
#define _di_f_cells_append_all_
build_sources_program fll/level_0/print.c fll/level_0/private-print.c fll/level_0/print/common.c fll/level_0/print/to.c fll/level_0/print/private-to.c
build_sources_program fll/level_0/signal.c
build_sources_program fll/level_0/string.c fll/level_0/private-string.c fll/level_0/string/common.c fll/level_0/string/dynamic.c fll/level_0/string/map.c fll/level_0/string/map_multi.c fll/level_0/string/private-dynamic.c fll/level_0/string/private-map.c fll/level_0/string/private-map_multi.c fll/level_0/string/private-quantity.c fll/level_0/string/private-range.c fll/level_0/string/private-triple.c fll/level_0/string/quantity.c fll/level_0/string/range.c fll/level_0/string/static.c fll/level_0/string/triple.c
-build_sources_program fll/level_0/type_array/array_length.c fll/level_0/type_array/cell.c fll/level_0/type_array/fll_id.c fll/level_0/type_array/int8.c fll/level_0/type_array/int16.c fll/level_0/type_array/int32.c fll/level_0/type_array/int64.c fll/level_0/type_array/int128.c fll/level_0/type_array/state.c fll/level_0/type_array/status.c fll/level_0/type_array/uint8.c fll/level_0/type_array/uint16.c fll/level_0/type_array/uint32.c fll/level_0/type_array/uint64.c fll/level_0/type_array/uint128.c
-build_sources_program fll/level_0/type_array/private-array_length.c fll/level_0/type_array/private-cell.c fll/level_0/type_array/private-fll_id.c fll/level_0/type_array/private-int8.c fll/level_0/type_array/private-int16.c fll/level_0/type_array/private-int32.c fll/level_0/type_array/private-int64.c fll/level_0/type_array/private-int128.c fll/level_0/type_array/private-state.c fll/level_0/type_array/private-status.c fll/level_0/type_array/private-uint8.c fll/level_0/type_array/private-uint16.c fll/level_0/type_array/private-uint32.c fll/level_0/type_array/private-uint64.c fll/level_0/type_array/private-uint128.c
+build_sources_program fll/level_0/type_array/cell.c fll/level_0/type_array/fll_id.c fll/level_0/type_array/int8.c fll/level_0/type_array/int16.c fll/level_0/type_array/int32.c fll/level_0/type_array/int64.c fll/level_0/type_array/int128.c fll/level_0/type_array/number_unsigned.c fll/level_0/type_array/state.c fll/level_0/type_array/status.c fll/level_0/type_array/uint8.c fll/level_0/type_array/uint16.c fll/level_0/type_array/uint32.c fll/level_0/type_array/uint64.c fll/level_0/type_array/uint128.c
+build_sources_program fll/level_0/type_array/private-cell.c fll/level_0/type_array/private-fll_id.c fll/level_0/type_array/private-int8.c fll/level_0/type_array/private-int16.c fll/level_0/type_array/private-int32.c fll/level_0/type_array/private-int64.c fll/level_0/type_array/private-int128.c fll/level_0/type_array/private-number_unsigned.c fll/level_0/type_array/private-state.c fll/level_0/type_array/private-status.c fll/level_0/type_array/private-uint8.c fll/level_0/type_array/private-uint16.c fll/level_0/type_array/private-uint32.c fll/level_0/type_array/private-uint64.c fll/level_0/type_array/private-uint128.c
build_sources_program fll/level_0/utf.c fll/level_0/private-utf.c fll/level_0/private-utf_alphabetic.c fll/level_0/private-utf_combining.c fll/level_0/private-utf_control.c fll/level_0/private-utf_digit.c fll/level_0/private-utf_emoji.c fll/level_0/private-utf_numeric.c fll/level_0/private-utf_phonetic.c fll/level_0/private-utf_private.c fll/level_0/private-utf_punctuation.c fll/level_0/private-utf_subscript.c fll/level_0/private-utf_superscript.c fll/level_0/private-utf_symbol.c fll/level_0/private-utf_unassigned.c fll/level_0/private-utf_valid.c fll/level_0/private-utf_whitespace.c fll/level_0/private-utf_wide.c fll/level_0/private-utf_word.c fll/level_0/private-utf_zero_width.c
build_sources_program fll/level_0/utf/common.c fll/level_0/utf/convert.c fll/level_0/utf/dynamic.c fll/level_0/utf/is.c fll/level_0/utf/is_character.c fll/level_0/utf/map.c fll/level_0/utf/map_multi.c fll/level_0/utf/static.c fll/level_0/utf/string.c fll/level_0/utf/triple.c fll/level_0/utf/private-dynamic.c fll/level_0/utf/private-map.c fll/level_0/utf/private-map_multi.c fll/level_0/utf/private-triple.c fll/level_0/utf/private-string.c
#define _di_f_accounts_t_
//#define _di_f_account_t_
-#define _di_f_array_lengths_adjust_
-#define _di_f_array_lengths_append_
-#define _di_f_array_lengths_append_all_
-#define _di_f_array_lengths_decimate_by_
-#define _di_f_array_lengths_decrease_by_
-//#define _di_f_array_lengths_increase_
-//#define _di_f_array_lengths_increase_by_
-//#define _di_f_array_lengths_resize_
-#define _di_f_array_lengthss_adjust_
-#define _di_f_array_lengthss_append_
-#define _di_f_array_lengthss_append_all_
-#define _di_f_array_lengthss_decimate_by_
-#define _di_f_array_lengthss_decrease_by_
-#define _di_f_array_lengthss_increase_
-#define _di_f_array_lengthss_increase_by_
-#define _di_f_array_lengthss_resize_
-#define _di_f_array_lengthss_t_
-//#define _di_f_array_lengths_t_
-//#define _di_f_array_length_t_
-
#define _di_f_capability_ambient_get_
#define _di_f_capability_ambient_reset_
#define _di_f_capability_ambient_set_
//#define _di_f_mode_t_
+#define _di_f_number_unsigneds_adjust_
+#define _di_f_number_unsigneds_append_
+#define _di_f_number_unsigneds_append_all_
+#define _di_f_number_unsigneds_decimate_by_
+#define _di_f_number_unsigneds_decrease_by_
+//#define _di_f_number_unsigneds_increase_
+//#define _di_f_number_unsigneds_increase_by_
+//#define _di_f_number_unsigneds_resize_
+#define _di_f_number_unsignedss_adjust_
+#define _di_f_number_unsignedss_append_
+#define _di_f_number_unsignedss_append_all_
+#define _di_f_number_unsignedss_decimate_by_
+#define _di_f_number_unsignedss_decrease_by_
+#define _di_f_number_unsignedss_increase_
+#define _di_f_number_unsignedss_increase_by_
+#define _di_f_number_unsignedss_resize_
+#define _di_f_number_unsignedss_t_
+//#define _di_f_number_unsigneds_t_
+//#define _di_f_number_unsigned_t_
+
#define _di_f_parse_dynamic_partial_fll_identify_
#define _di_f_parse_dynamic_seek_line_to_utf_character_
#define _di_f_parse_dynamic_seek_line_until_graph_
build_sources_program fll/level_0/signal.c
build_sources_program fll/level_0/string.c fll/level_0/private-string.c fll/level_0/string/common.c fll/level_0/string/private-dynamic.c fll/level_0/string/private-dynamics.c fll/level_0/string/private-dynamicss.c fll/level_0/string/private-maps.c fll/level_0/string/private-mapss.c fll/level_0/string/private-map_multis.c fll/level_0/string/private-map_multiss.c fll/level_0/string/private-quantitys.c fll/level_0/string/private-quantityss.c fll/level_0/string/private-ranges.c fll/level_0/string/private-rangess.c fll/level_0/string/private-triples.c fll/level_0/string/private-tripless.c
build_sources_program fll/level_0/string/dynamic.c fll/level_0/string/dynamics.c fll/level_0/string/dynamicss.c fll/level_0/string/map.c fll/level_0/string/maps.c fll/level_0/string/mapss.c fll/level_0/string/map_multi.c fll/level_0/string/map_multis.c fll/level_0/string/map_multiss.c fll/level_0/string/quantity.c fll/level_0/string/quantitys.c fll/level_0/string/quantityss.c fll/level_0/string/range.c fll/level_0/string/ranges.c fll/level_0/string/rangess.c fll/level_0/string/static.c fll/level_0/string/statics.c fll/level_0/string/staticss.c fll/level_0/string/triple.c fll/level_0/string/triples.c fll/level_0/string/tripless.c
-build_sources_program fll/level_0/type_array/array_length.c fll/level_0/type_array/cell.c fll/level_0/type_array/fll_id.c fll/level_0/type_array/int8.c fll/level_0/type_array/int16.c fll/level_0/type_array/int32.c fll/level_0/type_array/int64.c fll/level_0/type_array/int128.c fll/level_0/type_array/state.c fll/level_0/type_array/status.c fll/level_0/type_array/uint8.c fll/level_0/type_array/uint16.c fll/level_0/type_array/uint32.c fll/level_0/type_array/uint64.c fll/level_0/type_array/uint128.c
-build_sources_program fll/level_0/type_array/private-array_length.c fll/level_0/type_array/private-cell.c fll/level_0/type_array/private-fll_id.c fll/level_0/type_array/private-int8.c fll/level_0/type_array/private-int16.c fll/level_0/type_array/private-int32.c fll/level_0/type_array/private-int64.c fll/level_0/type_array/private-int128.c fll/level_0/type_array/private-state.c fll/level_0/type_array/private-status.c fll/level_0/type_array/private-uint8.c fll/level_0/type_array/private-uint16.c fll/level_0/type_array/private-uint32.c fll/level_0/type_array/private-uint64.c fll/level_0/type_array/private-uint128.c
+build_sources_program fll/level_0/type_array/cell.c fll/level_0/type_array/fll_id.c fll/level_0/type_array/int8.c fll/level_0/type_array/int16.c fll/level_0/type_array/int32.c fll/level_0/type_array/int64.c fll/level_0/type_array/int128.c fll/level_0/type_array/number_unsigned.c fll/level_0/type_array/state.c fll/level_0/type_array/status.c fll/level_0/type_array/uint8.c fll/level_0/type_array/uint16.c fll/level_0/type_array/uint32.c fll/level_0/type_array/uint64.c fll/level_0/type_array/uint128.c
+build_sources_program fll/level_0/type_array/private-cell.c fll/level_0/type_array/private-fll_id.c fll/level_0/type_array/private-int8.c fll/level_0/type_array/private-int16.c fll/level_0/type_array/private-int32.c fll/level_0/type_array/private-int64.c fll/level_0/type_array/private-int128.c fll/level_0/type_array/private-number_unsigned.c fll/level_0/type_array/private-state.c fll/level_0/type_array/private-status.c fll/level_0/type_array/private-uint8.c fll/level_0/type_array/private-uint16.c fll/level_0/type_array/private-uint32.c fll/level_0/type_array/private-uint64.c fll/level_0/type_array/private-uint128.c
build_sources_program fll/level_0/utf.c fll/level_0/private-utf.c fll/level_0/private-utf_alphabetic.c fll/level_0/private-utf_combining.c fll/level_0/private-utf_control.c fll/level_0/private-utf_digit.c fll/level_0/private-utf_emoji.c fll/level_0/private-utf_numeric.c fll/level_0/private-utf_phonetic.c fll/level_0/private-utf_private.c fll/level_0/private-utf_punctuation.c fll/level_0/private-utf_subscript.c fll/level_0/private-utf_superscript.c fll/level_0/private-utf_symbol.c fll/level_0/private-utf_unassigned.c fll/level_0/private-utf_valid.c fll/level_0/private-utf_whitespace.c fll/level_0/private-utf_wide.c fll/level_0/private-utf_word.c fll/level_0/private-utf_zero_width.c
build_sources_program fll/level_0/utf/common.c fll/level_0/utf/convert.c fll/level_0/utf/dynamic.c fll/level_0/utf/dynamics.c fll/level_0/utf/dynamicss.c fll/level_0/utf/is.c fll/level_0/utf/is_character.c fll/level_0/utf/map.c fll/level_0/utf/maps.c fll/level_0/utf/mapss.c fll/level_0/utf/map_multi.c fll/level_0/utf/map_multis.c fll/level_0/utf/map_multiss.c fll/level_0/utf/static.c fll/level_0/utf/statics.c fll/level_0/utf/staticss.c fll/level_0/utf/string.c fll/level_0/utf/triple.c fll/level_0/utf/triples.c fll/level_0/utf/tripless.c
build_sources_program fll/level_0/utf/private-dynamic.c fll/level_0/utf/private-dynamics.c fll/level_0/utf/private-dynamicss.c fll/level_0/utf/private-maps.c fll/level_0/utf/private-mapss.c fll/level_0/utf/private-map_multis.c fll/level_0/utf/private-map_multiss.c fll/level_0/utf/private-string.c fll/level_0/utf/private-triples.c fll/level_0/utf/private-tripless.c
#define _di_f_memory_structure_increase_by_
#define _di_f_memory_structure_resize_
+#define _di_f_number_unsigneds_adjust_
+#define _di_f_number_unsigneds_append_
+#define _di_f_number_unsigneds_append_all_
+#define _di_f_number_unsigneds_decimate_by_
+#define _di_f_number_unsigneds_decrease_by_
+//#define _di_f_number_unsigneds_increase_
+//#define _di_f_number_unsigneds_increase_by_
+//#define _di_f_number_unsigneds_resize_
+#define _di_f_number_unsignedss_adjust_
+#define _di_f_number_unsignedss_append_
+#define _di_f_number_unsignedss_append_all_
+#define _di_f_number_unsignedss_decimate_by_
+#define _di_f_number_unsignedss_decrease_by_
+#define _di_f_number_unsignedss_increase_
+#define _di_f_number_unsignedss_increase_by_
+#define _di_f_number_unsignedss_resize_
+#define _di_f_number_unsignedss_t_
+//#define _di_f_number_unsigneds_t_
+//#define _di_f_number_unsigned_t_
+
#define _di_f_path_change_
#define _di_f_path_change_at_
#define _di_f_path_current_
#define _di_f_thread_spin_unlock_
#define _di_f_thread_unlock_
-#define _di_f_array_lengths_adjust_
-#define _di_f_array_lengths_append_
-#define _di_f_array_lengths_append_all_
-#define _di_f_array_lengths_decimate_by_
-#define _di_f_array_lengths_decrease_by_
-//#define _di_f_array_lengths_increase_
-//#define _di_f_array_lengths_increase_by_
-//#define _di_f_array_lengths_resize_
-#define _di_f_array_lengthss_adjust_
-#define _di_f_array_lengthss_append_
-#define _di_f_array_lengthss_append_all_
-#define _di_f_array_lengthss_decimate_by_
-#define _di_f_array_lengthss_decrease_by_
-#define _di_f_array_lengthss_increase_
-#define _di_f_array_lengthss_increase_by_
-#define _di_f_array_lengthss_resize_
-//#define _di_f_array_lengthss_t_
-//#define _di_f_array_lengths_t_
#define _di_f_cells_adjust_
#define _di_f_cells_append_
#define _di_f_cells_append_all_
build_sources_program fll/level_0/signal.c
build_sources_program fll/level_0/string.c fll/level_0/private-string.c fll/level_0/string/common.c fll/level_0/string/dynamic.c fll/level_0/string/map.c fll/level_0/string/map_multi.c fll/level_0/string/private-dynamic.c fll/level_0/string/private-map.c fll/level_0/string/private-map_multi.c fll/level_0/string/private-quantity.c fll/level_0/string/private-range.c fll/level_0/string/private-triple.c fll/level_0/string/quantity.c fll/level_0/string/range.c fll/level_0/string/static.c fll/level_0/string/triple.c
build_sources_program fll/level_0/thread.c fll/level_0/private-thread.c fll/level_0/thread/attribute.c fll/level_0/thread/barrier.c fll/level_0/thread/barrier_attribute.c fll/level_0/thread/condition.c fll/level_0/thread/condition_attribute.c fll/level_0/thread/id.c fll/level_0/thread/key.c fll/level_0/thread/lock.c fll/level_0/thread/lock_attribute.c fll/level_0/thread/mutex.c fll/level_0/thread/mutex_attribute.c fll/level_0/thread/once.c fll/level_0/thread/semaphore.c fll/level_0/thread/set.c fll/level_0/thread/spin.c
-build_sources_program fll/level_0/type_array/array_length.c fll/level_0/type_array/cell.c fll/level_0/type_array/fll_id.c fll/level_0/type_array/int8.c fll/level_0/type_array/int16.c fll/level_0/type_array/int32.c fll/level_0/type_array/int64.c fll/level_0/type_array/int128.c fll/level_0/type_array/state.c fll/level_0/type_array/status.c fll/level_0/type_array/uint8.c fll/level_0/type_array/uint16.c fll/level_0/type_array/uint32.c fll/level_0/type_array/uint64.c fll/level_0/type_array/uint128.c
-build_sources_program fll/level_0/type_array/private-array_length.c fll/level_0/type_array/private-cell.c fll/level_0/type_array/private-fll_id.c fll/level_0/type_array/private-int8.c fll/level_0/type_array/private-int16.c fll/level_0/type_array/private-int32.c fll/level_0/type_array/private-int64.c fll/level_0/type_array/private-int128.c fll/level_0/type_array/private-state.c fll/level_0/type_array/private-status.c fll/level_0/type_array/private-uint8.c fll/level_0/type_array/private-uint16.c fll/level_0/type_array/private-uint32.c fll/level_0/type_array/private-uint64.c fll/level_0/type_array/private-uint128.c
+build_sources_program fll/level_0/type_array/cell.c fll/level_0/type_array/fll_id.c fll/level_0/type_array/int8.c fll/level_0/type_array/int16.c fll/level_0/type_array/int32.c fll/level_0/type_array/int64.c fll/level_0/type_array/int128.c fll/level_0/type_array/number_unsigned.c fll/level_0/type_array/state.c fll/level_0/type_array/status.c fll/level_0/type_array/uint8.c fll/level_0/type_array/uint16.c fll/level_0/type_array/uint32.c fll/level_0/type_array/uint64.c fll/level_0/type_array/uint128.c
+build_sources_program fll/level_0/type_array/private-cell.c fll/level_0/type_array/private-fll_id.c fll/level_0/type_array/private-int8.c fll/level_0/type_array/private-int16.c fll/level_0/type_array/private-int32.c fll/level_0/type_array/private-int64.c fll/level_0/type_array/private-int128.c fll/level_0/type_array/private-number_unsigned.c fll/level_0/type_array/private-state.c fll/level_0/type_array/private-status.c fll/level_0/type_array/private-uint8.c fll/level_0/type_array/private-uint16.c fll/level_0/type_array/private-uint32.c fll/level_0/type_array/private-uint64.c fll/level_0/type_array/private-uint128.c
build_sources_program fll/level_0/utf.c fll/level_0/private-utf.c fll/level_0/private-utf_alphabetic.c fll/level_0/private-utf_combining.c fll/level_0/private-utf_control.c fll/level_0/private-utf_digit.c fll/level_0/private-utf_emoji.c fll/level_0/private-utf_numeric.c fll/level_0/private-utf_phonetic.c fll/level_0/private-utf_private.c fll/level_0/private-utf_punctuation.c fll/level_0/private-utf_subscript.c fll/level_0/private-utf_superscript.c fll/level_0/private-utf_symbol.c fll/level_0/private-utf_unassigned.c fll/level_0/private-utf_valid.c fll/level_0/private-utf_whitespace.c fll/level_0/private-utf_wide.c fll/level_0/private-utf_word.c fll/level_0/private-utf_zero_width.c
build_sources_program fll/level_0/utf/common.c fll/level_0/utf/convert.c fll/level_0/utf/dynamic.c fll/level_0/utf/is.c fll/level_0/utf/is_character.c fll/level_0/utf/map.c fll/level_0/utf/map_multi.c fll/level_0/utf/static.c fll/level_0/utf/string.c fll/level_0/utf/triple.c fll/level_0/utf/private-dynamic.c fll/level_0/utf/private-map.c fll/level_0/utf/private-map_multi.c fll/level_0/utf/private-triple.c fll/level_0/utf/private-string.c
#define _di_f_memory_structure_increase_by_
#define _di_f_memory_structure_resize_
+#define _di_f_number_unsigneds_adjust_
+#define _di_f_number_unsigneds_append_
+#define _di_f_number_unsigneds_append_all_
+#define _di_f_number_unsigneds_decimate_by_
+#define _di_f_number_unsigneds_decrease_by_
+//#define _di_f_number_unsigneds_increase_
+//#define _di_f_number_unsigneds_increase_by_
+//#define _di_f_number_unsigneds_resize_
+#define _di_f_number_unsignedss_adjust_
+#define _di_f_number_unsignedss_append_
+#define _di_f_number_unsignedss_append_all_
+#define _di_f_number_unsignedss_decimate_by_
+#define _di_f_number_unsignedss_decrease_by_
+#define _di_f_number_unsignedss_increase_
+#define _di_f_number_unsignedss_increase_by_
+#define _di_f_number_unsignedss_resize_
+#define _di_f_number_unsignedss_t_
+//#define _di_f_number_unsigneds_t_
+//#define _di_f_number_unsigned_t_
+
#define _di_f_pipe_error_exists_
//#define _di_f_pipe_input_exists_
#define _di_f_pipe_output_exists_
//#define _di_f_string_triples_t_
//#define _di_f_string_triple_t_
-#define _di_f_array_lengths_adjust_
-#define _di_f_array_lengths_append_
-#define _di_f_array_lengths_append_all_
-#define _di_f_array_lengths_decimate_by_
-#define _di_f_array_lengths_decrease_by_
-//#define _di_f_array_lengths_increase_
-//#define _di_f_array_lengths_increase_by_
-//#define _di_f_array_lengths_resize_
-#define _di_f_array_lengthss_adjust_
-#define _di_f_array_lengthss_append_
-#define _di_f_array_lengthss_append_all_
-#define _di_f_array_lengthss_decimate_by_
-#define _di_f_array_lengthss_decrease_by_
-#define _di_f_array_lengthss_increase_
-#define _di_f_array_lengthss_increase_by_
-#define _di_f_array_lengthss_resize_
-#define _di_f_array_lengthss_t_
-//#define _di_f_array_lengths_t_
#define _di_f_cells_adjust_
#define _di_f_cells_append_
#define _di_f_cells_append_all_
build_sources_program fll/level_0/signal.c
build_sources_program fll/level_0/string.c fll/level_0/private-string.c fll/level_0/string/common.c fll/level_0/string/private-dynamic.c fll/level_0/string/private-dynamics.c fll/level_0/string/private-dynamicss.c fll/level_0/string/private-maps.c fll/level_0/string/private-mapss.c fll/level_0/string/private-map_multis.c fll/level_0/string/private-map_multiss.c fll/level_0/string/private-quantitys.c fll/level_0/string/private-quantityss.c fll/level_0/string/private-ranges.c fll/level_0/string/private-rangess.c fll/level_0/string/private-triples.c fll/level_0/string/private-tripless.c
build_sources_program fll/level_0/string/dynamic.c fll/level_0/string/dynamics.c fll/level_0/string/dynamicss.c fll/level_0/string/map.c fll/level_0/string/maps.c fll/level_0/string/mapss.c fll/level_0/string/map_multi.c fll/level_0/string/map_multis.c fll/level_0/string/map_multiss.c fll/level_0/string/quantity.c fll/level_0/string/quantitys.c fll/level_0/string/quantityss.c fll/level_0/string/range.c fll/level_0/string/ranges.c fll/level_0/string/rangess.c fll/level_0/string/static.c fll/level_0/string/statics.c fll/level_0/string/staticss.c fll/level_0/string/triple.c fll/level_0/string/triples.c fll/level_0/string/tripless.c
-build_sources_program fll/level_0/type_array/array_length.c fll/level_0/type_array/cell.c fll/level_0/type_array/fll_id.c fll/level_0/type_array/int8.c fll/level_0/type_array/int16.c fll/level_0/type_array/int32.c fll/level_0/type_array/int64.c fll/level_0/type_array/int128.c fll/level_0/type_array/state.c fll/level_0/type_array/status.c fll/level_0/type_array/uint8.c fll/level_0/type_array/uint16.c fll/level_0/type_array/uint32.c fll/level_0/type_array/uint64.c fll/level_0/type_array/uint128.c
-build_sources_program fll/level_0/type_array/private-array_length.c fll/level_0/type_array/private-cell.c fll/level_0/type_array/private-fll_id.c fll/level_0/type_array/private-int8.c fll/level_0/type_array/private-int16.c fll/level_0/type_array/private-int32.c fll/level_0/type_array/private-int64.c fll/level_0/type_array/private-int128.c fll/level_0/type_array/private-state.c fll/level_0/type_array/private-status.c fll/level_0/type_array/private-uint8.c fll/level_0/type_array/private-uint16.c fll/level_0/type_array/private-uint32.c fll/level_0/type_array/private-uint64.c fll/level_0/type_array/private-uint128.c
+build_sources_program fll/level_0/type_array/cell.c fll/level_0/type_array/fll_id.c fll/level_0/type_array/int8.c fll/level_0/type_array/int16.c fll/level_0/type_array/int32.c fll/level_0/type_array/int64.c fll/level_0/type_array/int128.c fll/level_0/type_array/number_unsigned.c fll/level_0/type_array/state.c fll/level_0/type_array/status.c fll/level_0/type_array/uint8.c fll/level_0/type_array/uint16.c fll/level_0/type_array/uint32.c fll/level_0/type_array/uint64.c fll/level_0/type_array/uint128.c
+build_sources_program fll/level_0/type_array/private-cell.c fll/level_0/type_array/private-fll_id.c fll/level_0/type_array/private-int8.c fll/level_0/type_array/private-int16.c fll/level_0/type_array/private-int32.c fll/level_0/type_array/private-int64.c fll/level_0/type_array/private-int128.c fll/level_0/type_array/private-number_unsigned.c fll/level_0/type_array/private-state.c fll/level_0/type_array/private-status.c fll/level_0/type_array/private-uint8.c fll/level_0/type_array/private-uint16.c fll/level_0/type_array/private-uint32.c fll/level_0/type_array/private-uint64.c fll/level_0/type_array/private-uint128.c
build_sources_program fll/level_0/utf.c fll/level_0/private-utf.c fll/level_0/private-utf_alphabetic.c fll/level_0/private-utf_combining.c fll/level_0/private-utf_control.c fll/level_0/private-utf_digit.c fll/level_0/private-utf_emoji.c fll/level_0/private-utf_numeric.c fll/level_0/private-utf_phonetic.c fll/level_0/private-utf_private.c fll/level_0/private-utf_punctuation.c fll/level_0/private-utf_subscript.c fll/level_0/private-utf_superscript.c fll/level_0/private-utf_symbol.c fll/level_0/private-utf_unassigned.c fll/level_0/private-utf_valid.c fll/level_0/private-utf_whitespace.c fll/level_0/private-utf_wide.c fll/level_0/private-utf_word.c fll/level_0/private-utf_zero_width.c
build_sources_program fll/level_0/utf/common.c fll/level_0/utf/convert.c fll/level_0/utf/dynamic.c fll/level_0/utf/dynamics.c fll/level_0/utf/dynamicss.c fll/level_0/utf/is.c fll/level_0/utf/is_character.c fll/level_0/utf/map.c fll/level_0/utf/maps.c fll/level_0/utf/mapss.c fll/level_0/utf/map_multi.c fll/level_0/utf/map_multis.c fll/level_0/utf/map_multiss.c fll/level_0/utf/static.c fll/level_0/utf/statics.c fll/level_0/utf/staticss.c fll/level_0/utf/string.c fll/level_0/utf/triple.c fll/level_0/utf/triples.c fll/level_0/utf/tripless.c
build_sources_program fll/level_0/utf/private-dynamic.c fll/level_0/utf/private-dynamics.c fll/level_0/utf/private-dynamicss.c fll/level_0/utf/private-maps.c fll/level_0/utf/private-mapss.c fll/level_0/utf/private-map_multis.c fll/level_0/utf/private-map_multiss.c fll/level_0/utf/private-string.c fll/level_0/utf/private-triples.c fll/level_0/utf/private-tripless.c
else {
if (!pointer) return F_exist_not;
- const f_array_length_t name_length = strnlen(group_data.gr_name, length);
+ const f_number_unsigned_t name_length = strnlen(group_data.gr_name, length);
name->used = 0;
if (!pointer) return F_exist_not;
- const f_array_length_t name_length = strnlen(group_data.gr_name, length);
+ const f_number_unsigned_t name_length = strnlen(group_data.gr_name, length);
name->used = 0;
else {
if (!pointer) return F_exist_not;
- const f_array_length_t name_length = strnlen(password.pw_name, length);
+ const f_number_unsigned_t name_length = strnlen(password.pw_name, length);
name->used = 0;
if (!pointer) return F_exist_not;
- const f_array_length_t name_length = strnlen(password.pw_name, length);
+ const f_number_unsigned_t name_length = strnlen(password.pw_name, length);
name->used = 0;
#endif // _di_f_account_destroy_
#ifndef _di_f_accounts_adjust_
- f_status_t f_accounts_adjust(const f_array_length_t length, f_accounts_t *accounts) {
+ f_status_t f_accounts_adjust(const f_number_unsigned_t length, f_accounts_t *accounts) {
#ifndef _di_level_0_parameter_checking_
if (!accounts) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_accounts_append_all_
#ifndef _di_f_accounts_decimate_by_
- f_status_t f_accounts_decimate_by(const f_array_length_t amount, f_accounts_t *accounts) {
+ f_status_t f_accounts_decimate_by(const f_number_unsigned_t amount, f_accounts_t *accounts) {
#ifndef _di_level_0_parameter_checking_
if (!accounts) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_accounts_decimate_by_
#ifndef _di_f_accounts_decrease_by_
- f_status_t f_accounts_decrease_by(const f_array_length_t amount, f_accounts_t *accounts) {
+ f_status_t f_accounts_decrease_by(const f_number_unsigned_t amount, f_accounts_t *accounts) {
#ifndef _di_level_0_parameter_checking_
if (!accounts) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_accounts_decrease_by_
#ifndef _di_f_accounts_increase_
- f_status_t f_accounts_increase(const f_array_length_t step, f_accounts_t *accounts) {
+ f_status_t f_accounts_increase(const f_number_unsigned_t step, f_accounts_t *accounts) {
#ifndef _di_level_0_parameter_checking_
if (!accounts) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && accounts->used + 1 > accounts->size) {
- f_array_length_t size = accounts->used + step;
+ f_number_unsigned_t size = accounts->used + step;
- if (size > F_array_length_t_size_d) {
- if (accounts->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (accounts->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_accounts_resize(size, accounts);
#endif // _di_f_accounts_increase_
#ifndef _di_f_accounts_increase_by_
- f_status_t f_accounts_increase_by(const f_array_length_t amount, f_accounts_t *accounts) {
+ f_status_t f_accounts_increase_by(const f_number_unsigned_t amount, f_accounts_t *accounts) {
#ifndef _di_level_0_parameter_checking_
if (!accounts) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (accounts->used + amount > accounts->size) {
- if (accounts->used + amount > F_array_length_t_size_d) {
+ if (accounts->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_accounts_increase_by_
#ifndef _di_f_accounts_resize_
- f_status_t f_accounts_resize(const f_array_length_t length, f_accounts_t *accounts) {
+ f_status_t f_accounts_resize(const f_number_unsigned_t length, f_accounts_t *accounts) {
#ifndef _di_level_0_parameter_checking_
if (!accounts) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_accounts_resize_
#ifndef _di_f_accountss_adjust_
- f_status_t f_accountss_adjust(const f_array_length_t length, f_accountss_t *accountss) {
+ f_status_t f_accountss_adjust(const f_number_unsigned_t length, f_accountss_t *accountss) {
#ifndef _di_level_0_parameter_checking_
if (!accountss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_accountss_append_all_
#ifndef _di_f_accountss_decimate_by_
- f_status_t f_accountss_decimate_by(const f_array_length_t amount, f_accountss_t *accountss) {
+ f_status_t f_accountss_decimate_by(const f_number_unsigned_t amount, f_accountss_t *accountss) {
#ifndef _di_level_0_parameter_checking_
if (!accountss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_accountss_decimate_by_
#ifndef _di_f_accountss_decrease_by_
- f_status_t f_accountss_decrease_by(const f_array_length_t amount, f_accountss_t *accountss) {
+ f_status_t f_accountss_decrease_by(const f_number_unsigned_t amount, f_accountss_t *accountss) {
#ifndef _di_level_0_parameter_checking_
if (!accountss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_accountss_decrease_by_
#ifndef _di_f_accountss_increase_
- f_status_t f_accountss_increase(const f_array_length_t step, f_accountss_t *accountss) {
+ f_status_t f_accountss_increase(const f_number_unsigned_t step, f_accountss_t *accountss) {
#ifndef _di_level_0_parameter_checking_
if (!accountss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && accountss->used + 1 > accountss->size) {
- f_array_length_t size = accountss->used + step;
+ f_number_unsigned_t size = accountss->used + step;
- if (size > F_array_length_t_size_d) {
- if (accountss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (accountss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_accountss_resize(size, accountss);
#endif // _di_f_accountss_increase_
#ifndef _di_f_accountss_increase_by_
- f_status_t f_accountss_increase_by(const f_array_length_t amount, f_accountss_t *accountss) {
+ f_status_t f_accountss_increase_by(const f_number_unsigned_t amount, f_accountss_t *accountss) {
#ifndef _di_level_0_parameter_checking_
if (!accountss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (accountss->used + amount > accountss->size) {
- if (accountss->used + amount > F_array_length_t_size_d) {
+ if (accountss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_accountss_increase_by_
#ifndef _di_f_accountss_resize_
- f_status_t f_accountss_resize(const f_array_length_t length, f_accountss_t *accountss) {
+ f_status_t f_accountss_resize(const f_number_unsigned_t length, f_accountss_t *accountss) {
#ifndef _di_level_0_parameter_checking_
if (!accountss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* @see f_string_dynamic_adjust()
*/
#ifndef _di_f_accounts_adjust_
- extern f_status_t f_accounts_adjust(const f_array_length_t length, f_accounts_t *accounts);
+ extern f_status_t f_accounts_adjust(const f_number_unsigned_t length, f_accounts_t *accounts);
#endif // _di_f_accounts_adjust_
/**
* @see f_string_dynamic_adjust()
*/
#ifndef _di_f_accounts_decimate_by_
- extern f_status_t f_accounts_decimate_by(const f_array_length_t amount, f_accounts_t *accounts);
+ extern f_status_t f_accounts_decimate_by(const f_number_unsigned_t amount, f_accounts_t *accounts);
#endif // _di_f_accounts_decimate_by_
/**
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_accounts_decrease_by_
- extern f_status_t f_accounts_decrease_by(const f_array_length_t amount, f_accounts_t *accounts);
+ extern f_status_t f_accounts_decrease_by(const f_number_unsigned_t amount, f_accounts_t *accounts);
#endif // _di_f_accounts_decrease_by_
/**
* Increase the size of the accounts array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_accounts_increase_
- extern f_status_t f_accounts_increase(const f_array_length_t step, f_accounts_t *accounts);
+ extern f_status_t f_accounts_increase(const f_number_unsigned_t step, f_accounts_t *accounts);
#endif // _di_f_accounts_increase_
/**
* Resize the accounts array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_accounts_increase_by_
- extern f_status_t f_accounts_increase_by(const f_array_length_t amount, f_accounts_t *accounts);
+ extern f_status_t f_accounts_increase_by(const f_number_unsigned_t amount, f_accounts_t *accounts);
#endif // _di_f_accounts_increase_by_
/**
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_accounts_resize_
- extern f_status_t f_accounts_resize(const f_array_length_t length, f_accounts_t *accounts);
+ extern f_status_t f_accounts_resize(const f_number_unsigned_t length, f_accounts_t *accounts);
#endif // _di_f_accounts_resize_
/**
* @see f_string_dynamic_adjust()
*/
#ifndef _di_f_accountss_adjust_
- extern f_status_t f_accountss_adjust(const f_array_length_t length, f_accountss_t *accountss);
+ extern f_status_t f_accountss_adjust(const f_number_unsigned_t length, f_accountss_t *accountss);
#endif // _di_f_accountss_adjust_
/**
* @see f_string_dynamic_adjust()
*/
#ifndef _di_f_accountss_decimate_by_
- extern f_status_t f_accountss_decimate_by(const f_array_length_t amount, f_accountss_t *accountss);
+ extern f_status_t f_accountss_decimate_by(const f_number_unsigned_t amount, f_accountss_t *accountss);
#endif // _di_f_accountss_decimate_by_
/**
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_accountss_decrease_by_
- extern f_status_t f_accountss_decrease_by(const f_array_length_t amount, f_accountss_t *accountss);
+ extern f_status_t f_accountss_decrease_by(const f_number_unsigned_t amount, f_accountss_t *accountss);
#endif // _di_f_accountss_decrease_by_
/**
* Increase the size of the string accountss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_accountss_increase_
- extern f_status_t f_accountss_increase(const f_array_length_t step, f_accountss_t *accountss);
+ extern f_status_t f_accountss_increase(const f_number_unsigned_t step, f_accountss_t *accountss);
#endif // _di_f_accountss_increase_
/**
* Resize the string accountss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_accountss_increase_by_
- extern f_status_t f_accountss_increase_by(const f_array_length_t amount, f_accountss_t *accountss);
+ extern f_status_t f_accountss_increase_by(const f_number_unsigned_t amount, f_accountss_t *accountss);
#endif // _di_f_accountss_increase_by_
/**
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_accountss_resize_
- extern f_status_t f_accountss_resize(const f_array_length_t length, f_accountss_t *accountss);
+ extern f_status_t f_accountss_resize(const f_number_unsigned_t length, f_accountss_t *accountss);
#endif // _di_f_accountss_resize_
#ifdef __cplusplus
typedef struct {
f_account_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_accounts_t;
#define f_accounts_t_initialize { 0, 0, 0 }
typedef struct {
f_accounts_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_accountss_t;
#define f_accountss_t_initialize { 0, 0, 0 }
#endif // !defined(_di_f_account_destroy_) || !defined(_di_f_accounts_adjust_) || !defined(_di_f_accounts_decimate_by_) || !defined(_di_f_accountss_adjust_) || !defined(_di_f_accountss_decimate_by_)
#if !defined(_di_f_accounts_adjust_) || !defined(_di_f_accounts_decimate_by_) || !defined(_di_f_accountss_adjust_) || !defined(_di_f_accountss_decimate_by_)
- f_status_t private_f_accounts_adjust(const f_array_length_t length, f_accounts_t *accounts) {
+ f_status_t private_f_accounts_adjust(const f_number_unsigned_t length, f_accounts_t *accounts) {
f_status_t status = F_none;
if (length < accounts->size) {
- for (f_array_length_t i = length; i < accounts->size; ++i) {
+ for (f_number_unsigned_t i = length; i < accounts->size; ++i) {
status = private_f_account_destroy(&accounts->array[i]);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].home.used = 0;
destination->array[destination->used].label.used = 0;
#endif // !defined(_di_f_accounts_append_) || !defined(_di_f_accounts_append_all_) || !defined(_di_f_accountss_append_all_)
#if !defined(_di_f_accounts_resize_) || !defined(_di_f_accounts_append_) || !defined(_di_f_accounts_decimate_by_) || !defined(_di_f_accountss_append_) || !defined(_di_f_accountss_decrease_by_) || !defined(_di_f_accountss_increase_) || !defined(_di_f_accountss_increase_by_) || !defined(_di_f_accountss_resize_)
- f_status_t private_f_accounts_resize(const f_array_length_t length, f_accounts_t *accounts) {
+ f_status_t private_f_accounts_resize(const f_number_unsigned_t length, f_accounts_t *accounts) {
f_status_t status = F_none;
if (length < accounts->size) {
- for (f_array_length_t i = length; i < accounts->size; ++i) {
+ for (f_number_unsigned_t i = length; i < accounts->size; ++i) {
status = f_string_dynamic_resize(0, &accounts->array[i].home);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_accounts_resize_) || !defined(_di_f_accounts_append_) || !defined(_di_f_accounts_decimate_by_) || !defined(_di_f_accountss_append_) || !defined(_di_f_accountss_decrease_by_) || !defined(_di_f_accountss_increase_) || !defined(_di_f_accountss_increase_by_) || !defined(_di_f_accountss_resize_)
#if !defined(_di_f_accountss_adjust_) || !defined(_di_f_accountss_decimate_by_)
- f_status_t private_f_accountss_adjust(const f_array_length_t length, f_accountss_t *accountss) {
+ f_status_t private_f_accountss_adjust(const f_number_unsigned_t length, f_accountss_t *accountss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < accountss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < accountss->size; ++i) {
status = private_f_accounts_adjust(0, &accountss->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_accountss_adjust_) || !defined(_di_f_accountss_decimate_by_)
#if !defined(_di_f_accountss_decrease_by_) || !defined(_di_f_accountss_increase_) || !defined(_di_f_accountss_increase_by_) || !defined(_di_f_accountss_resize_)
- f_status_t private_f_accountss_resize(const f_array_length_t length, f_accountss_t *accountss) {
+ f_status_t private_f_accountss_resize(const f_number_unsigned_t length, f_accountss_t *accountss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < accountss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < accountss->size; ++i) {
status = private_f_accounts_resize(0, &accountss->array[i]);
if (F_status_is_error(status)) return status;
* @see f_accountss_decimate_by()
*/
#if !defined(_di_f_accounts_adjust_) || !defined(_di_f_accounts_decimate_by_) || !defined(_di_f_accountss_adjust_) || !defined(_di_f_accountss_decimate_by_)
- extern f_status_t private_f_accounts_adjust(const f_array_length_t length, f_accounts_t *accounts) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_accounts_adjust(const f_number_unsigned_t length, f_accounts_t *accounts) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_accounts_adjust_) || !defined(_di_f_accounts_decimate_by_) || !defined(_di_f_accountss_adjust_) || !defined(_di_f_accountss_decimate_by_)
/**
* @see f_accountss_resize()
*/
#if !defined(_di_f_accounts_resize_) || !defined(_di_f_accounts_append_) || !defined(_di_f_accounts_decimate_by_) || !defined(_di_f_accountss_append_) || !defined(_di_f_accountss_decrease_by_) || !defined(_di_f_accountss_increase_) || !defined(_di_f_accountss_increase_by_) || !defined(_di_f_accountss_resize_)
- extern f_status_t private_f_accounts_resize(const f_array_length_t length, f_accounts_t *accounts) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_accounts_resize(const f_number_unsigned_t length, f_accounts_t *accounts) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_accounts_resize_) || !defined(_di_f_accounts_append_) || !defined(_di_f_accounts_decimate_by_) || !defined(_di_f_accountss_append_) || !defined(_di_f_accountss_decrease_by_) || !defined(_di_f_accountss_increase_) || !defined(_di_f_accountss_increase_by_) || !defined(_di_f_accountss_resize_)
/**
* @see f_accountss_decimate_by()
*/
#if !defined(_di_f_accountss_adjust_) || !defined(_di_f_accountss_decimate_by_)
- extern f_status_t private_f_accountss_adjust(const f_array_length_t length, f_accountss_t *accountss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_accountss_adjust(const f_number_unsigned_t length, f_accountss_t *accountss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_accountss_adjust_) || !defined(_di_f_accountss_decimate_by_)
/**
* @see f_accountss_resize()
*/
#if !defined(_di_f_accountss_decrease_by_) || !defined(_di_f_accountss_increase_) || !defined(_di_f_accountss_increase_by_) || !defined(_di_f_accountss_resize_)
- extern f_status_t private_f_accountss_resize(const f_array_length_t length, f_accountss_t *accountss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_accountss_resize(const f_number_unsigned_t length, f_accountss_t *accountss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_accountss_decrease_by_) || !defined(_di_f_accountss_increase_) || !defined(_di_f_accountss_increase_by_) || !defined(_di_f_accountss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_account_by_name_) || !defined(_di_f_account_by_id_)
- f_status_t private_f_account_from_passwd(const struct passwd password, const f_array_length_t password_length, f_account_t * const account) {
+ f_status_t private_f_account_from_passwd(const struct passwd password, const f_number_unsigned_t password_length, f_account_t * const account) {
f_status_t status = F_none;
account->id_group = password.pw_gid;
// Account home directory.
- f_array_length_t string_length = strnlen(password.pw_dir, password_length);
+ f_number_unsigned_t string_length = strnlen(password.pw_dir, password_length);
account->home.used = 0;
* @see f_string_dynamic_increase_by()
*/
#if !defined(_di_f_account_by_name_) || !defined(_di_f_account_by_id_)
- extern f_status_t private_f_account_from_passwd(const struct passwd password, const f_array_length_t password_length, f_account_t * const account) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_account_from_passwd(const struct passwd password, const f_number_unsigned_t password_length, f_account_t * const account) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_account_by_name_) || !defined(_di_f_account_by_id_)
#ifdef __cplusplus
f_accounts_t:
f_account_t
- f_array_length_t
+ f_number_unsigned_t
f_accountss_t:
f_accounts_t
- f_array_length_t
+ f_number_unsigned_t
assert_int_equal(destination.array[0].used, sources.used);
assert_int_equal(destination.array[0].size, sources.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_string_equal(destination.array[0].array[i].home.string, source.home.string);
assert_string_equal(destination.array[0].array[i].label.string, source.label.string);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
char *result = cap_to_name(code);
if (result) {
- const f_array_length_t length = strlen(result);
+ const f_number_unsigned_t length = strlen(result);
if (name->used + length + 1 > name->size) {
if (name->used + length + 1 > F_string_t_size_d) {
void test__f_color_context_delete__frees_memory(void **state) {
- const f_array_length_t size = 3;
+ const f_number_unsigned_t size = 3;
f_color_context_t context = f_color_context_t_initialize;
void test__f_color_context_destroy__frees_memory(void **state) {
- const f_array_length_t size = 3;
+ const f_number_unsigned_t size = 3;
f_color_context_t context = f_color_context_t_initialize;
#endif
#ifndef _di_f_compare_
- f_status_t f_compare(const f_string_t string1, const f_string_t string2, const f_array_length_t length1, const f_array_length_t length2) {
+ f_status_t f_compare(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2) {
return private_f_compare(string1, string2, 0, 0, length1, length2);
}
#endif // _di_f_compare_
#ifndef _di_f_compare_except_
- f_status_t f_compare_except(const f_string_t string1, const f_string_t string2, const f_array_length_t length1, const f_array_length_t length2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_except(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except(string1, string2, 0, 0, length1, length2, except1, except2);
}
#endif // _di_f_compare_except_
#ifndef _di_f_compare_except_trim_
- f_status_t f_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t length1, const f_array_length_t length2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except_trim(string1, string2, 0, 0, length1, length2, except1, except2);
}
#endif // _di_f_compare_dynamic_
#ifndef _di_f_compare_dynamic_except_
- f_status_t f_compare_dynamic_except(const f_string_static_t string1, const f_string_static_t string2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_except(const f_string_static_t string1, const f_string_static_t string2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except(string1.string, string2.string, 0, 0, string1.used, string2.used, except1, except2);
}
#endif // _di_f_compare_dynamic_except_
#ifndef _di_f_compare_dynamic_except_string_
- f_status_t f_compare_dynamic_except_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_except_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except(string1, string2.string, 0, 0, length1, string2.used, except1, except2);
}
#endif // _di_f_compare_dynamic_except_string_
#ifndef _di_f_compare_dynamic_except_trim_
- f_status_t f_compare_dynamic_except_trim(const f_string_static_t string1, const f_string_static_t string2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_except_trim(const f_string_static_t string1, const f_string_static_t string2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except_trim(string1.string, string2.string, 0, 0, string1.used, string2.used, except1, except2);
}
#endif // _di_f_compare_dynamic_except_trim_
#ifndef _di_f_compare_dynamic_except_trim_string_
- f_status_t f_compare_dynamic_except_trim_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_except_trim_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except_trim(string1, string2.string, 0, 0, length1, string2.used, except1, except2);
}
#endif // _di_f_compare_dynamic_except_trim_string_
#ifndef _di_f_compare_dynamic_string_
- f_status_t f_compare_dynamic_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1) {
+ f_status_t f_compare_dynamic_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1) {
return private_f_compare(string1, string2.string, 0, 0, length1, string2.used);
}
#endif // _di_f_compare_dynamic_trim_
#ifndef _di_f_compare_dynamic_trim_string_
- f_status_t f_compare_dynamic_trim_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1) {
+ f_status_t f_compare_dynamic_trim_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1) {
return private_f_compare_trim(string1, string2.string, 0, 0, length1, string2.used);
}
#endif // _di_f_compare_dynamic_partial_dynamic_
#ifndef _di_f_compare_dynamic_partial_string_
- f_status_t f_compare_dynamic_partial_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2) {
+ f_status_t f_compare_dynamic_partial_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2) {
return private_f_compare(
string1,
#endif // _di_f_compare_dynamic_partial_string_
#ifndef _di_f_compare_dynamic_partial_except_
- f_status_t f_compare_dynamic_partial_except(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_partial_except(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except(
string1.string,
#endif // _di_f_compare_dynamic_partial_except_
#ifndef _di_f_compare_dynamic_partial_except_dynamic_
- f_status_t f_compare_dynamic_partial_except_dynamic(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_partial_except_dynamic(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except(
string1.string,
#endif // _di_f_compare_dynamic_partial_except_dynamic_
#ifndef _di_f_compare_dynamic_partial_except_string_
- f_status_t f_compare_dynamic_partial_except_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_partial_except_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except(
string1,
#endif // _di_f_compare_dynamic_partial_except_string_
#ifndef _di_f_compare_dynamic_partial_except_trim_
- f_status_t f_compare_dynamic_partial_except_trim(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_partial_except_trim(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except_trim(
string1.string,
#endif // _di_f_compare_dynamic_partial_except_trim_
#ifndef _di_f_compare_dynamic_partial_except_trim_dynamic_
- f_status_t f_compare_dynamic_partial_except_trim_dynamic(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_partial_except_trim_dynamic(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except_trim(
string1.string,
#endif // _di_f_compare_dynamic_partial_except_trim_dynamic_
#ifndef _di_f_compare_dynamic_partial_except_trim_string_
- f_status_t f_compare_dynamic_partial_except_trim_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_dynamic_partial_except_trim_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_except_trim(
string1,
#endif // _di_f_compare_dynamic_partial_trim_dynamic_
#ifndef _di_f_compare_dynamic_partial_trim_string_
- f_status_t f_compare_dynamic_partial_trim_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2) {
+ f_status_t f_compare_dynamic_partial_trim_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2) {
return private_f_compare_trim(
string1,
#endif // _di_f_compare_dynamic_partial_trim_string_
#ifndef _di_f_compare_trim_
- f_status_t f_compare_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t length1, const f_array_length_t length2) {
+ f_status_t f_compare_trim(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2) {
return private_f_compare_trim(string1, string2, 0, 0, length1, length2);
}
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_
- extern f_status_t f_compare(const f_string_t string1, const f_string_t string2, const f_array_length_t length1, const f_array_length_t length2);
+ extern f_status_t f_compare(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2);
#endif // _di_f_compare_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_except_
- extern f_status_t f_compare_except(const f_string_t string1, const f_string_t string2, const f_array_length_t length1, const f_array_length_t length2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_except(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_except_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_except_trim_
- extern f_status_t f_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t length1, const f_array_length_t length2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_except_trim_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_dynamic_except_
- extern f_status_t f_compare_dynamic_except(const f_string_static_t string1, const f_string_static_t string2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_except(const f_string_static_t string1, const f_string_static_t string2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_except_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_dynamic_except_string_
- extern f_status_t f_compare_dynamic_except_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_except_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_except_string_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_dynamic_except_trim_
- extern f_status_t f_compare_dynamic_except_trim(const f_string_static_t string1, const f_string_static_t string2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_except_trim(const f_string_static_t string1, const f_string_static_t string2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_except_trim_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_dynamic_except_trim_string_
- extern f_status_t f_compare_dynamic_except_trim_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_except_trim_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_except_trim_string_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_dynamic_string_
- extern f_status_t f_compare_dynamic_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1);
+ extern f_status_t f_compare_dynamic_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1);
#endif // _di_f_compare_dynamic_string_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_dynamic_trim_string_
- extern f_status_t f_compare_dynamic_trim_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1);
+ extern f_status_t f_compare_dynamic_trim_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1);
#endif // _di_f_compare_dynamic_trim_string_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_dynamic_partial_except_
- extern f_status_t f_compare_dynamic_partial_except(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_partial_except(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_partial_except_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_dynamic_partial_except_dynamic_
- extern f_status_t f_compare_dynamic_partial_except_dynamic(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_partial_except_dynamic(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_partial_except_dynamic_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_dynamic_partial_except_string_
- extern f_status_t f_compare_dynamic_partial_except_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_partial_except_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_partial_except_string_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_dynamic_partial_except_trim_
- extern f_status_t f_compare_dynamic_partial_except_trim(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_partial_except_trim(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_partial_except_trim_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_dynamic_partial_except_trim_dynamic_
- extern f_status_t f_compare_dynamic_partial_except_trim_dynamic(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_partial_except_trim_dynamic(const f_string_static_t string1, const f_string_static_t string2, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_partial_except_trim_dynamic_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_dynamic_partial_except_trim_string_
- extern f_status_t f_compare_dynamic_partial_except_trim_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_dynamic_partial_except_trim_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_dynamic_partial_except_trim_string_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_dynamic_partial_string_
- extern f_status_t f_compare_dynamic_partial_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2);
+ extern f_status_t f_compare_dynamic_partial_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2);
#endif // _di_f_compare_dynamic_partial_string_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_dynamic_partial_trim_string_
- extern f_status_t f_compare_dynamic_partial_trim_string(const f_string_t string1, const f_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2);
+ extern f_status_t f_compare_dynamic_partial_trim_string(const f_string_t string1, const f_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2);
#endif // _di_f_compare_dynamic_partial_trim_string_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_compare_trim_
- extern f_status_t f_compare_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t length1, const f_array_length_t length2);
+ extern f_status_t f_compare_trim(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2);
#endif // _di_f_compare_trim_
#ifdef __cplusplus
#endif
#if !defined(_di_f_compare_utf_) || !defined(_di_f_compare_utf_dynamic_) || !defined(_di_f_compare_utf_dynamic_string_) || !defined(_di_f_compare_utf_dynamic_partial_) || !defined(_di_f_compare_utf_dynamic_partial_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_string_)
- f_status_t private_f_compare_utf(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) {
+ f_status_t private_f_compare_utf(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2) {
- f_array_length_t i1 = offset1;
- f_array_length_t i2 = offset2;
+ f_number_unsigned_t i1 = offset1;
+ f_number_unsigned_t i2 = offset2;
for (; i1 < stop1 && i2 < stop2; ++i1, ++i2) {
#endif // !defined(_di_f_compare_utf_) || !defined(_di_f_compare_utf_dynamic_) || !defined(_di_f_compare_utf_dynamic_string_) || !defined(_di_f_compare_utf_dynamic_partial_) || !defined(_di_f_compare_utf_dynamic_partial_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_string_)
#if !defined(_di_f_compare_utf_dynamic_except_) || !defined(_di_f_compare_utf_dynamic_except_string_) || !defined(_di_f_compare_utf_dynamic_partial_except_) || !defined(_di_f_compare_utf_dynamic_partial_except_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_except_string_) || !defined(_di_f_compare_utf_except_)
- f_status_t private_f_compare_utf_except(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t private_f_compare_utf_except(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
- f_array_length_t i1 = offset1;
- f_array_length_t i2 = offset2;
+ f_number_unsigned_t i1 = offset1;
+ f_number_unsigned_t i2 = offset2;
- f_array_length_t e1 = 0;
- f_array_length_t e2 = 0;
+ f_number_unsigned_t e1 = 0;
+ f_number_unsigned_t e2 = 0;
while (i1 < stop1 && i2 < stop2) {
#endif // !defined(_di_f_compare_utf_dynamic_except_) || !defined(_di_f_compare_utf_dynamic_except_string_) || !defined(_di_f_compare_utf_dynamic_partial_except_) || !defined(_di_f_compare_utf_dynamic_partial_except_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_except_string_) || !defined(_di_f_compare_utf_except_)
#if !defined(_di_f_compare_utf_dynamic_except_trim_) || !defined(_di_f_compare_utf_dynamic_except_trim_string_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_string_) || !defined(_di_f_compare_utf_except_trim_)
- f_status_t private_f_compare_utf_except_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t private_f_compare_utf_except_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
- f_array_length_t i1 = offset1;
- f_array_length_t i2 = offset2;
+ f_number_unsigned_t i1 = offset1;
+ f_number_unsigned_t i2 = offset2;
- f_array_length_t e1 = 0;
- f_array_length_t e2 = 0;
+ f_number_unsigned_t e1 = 0;
+ f_number_unsigned_t e2 = 0;
- f_array_length_t previous = 0;
+ f_number_unsigned_t previous = 0;
f_status_t status = F_none;
previous = i2;
} // for
- f_array_length_t last1 = i1;
- f_array_length_t last2 = i2;
+ f_number_unsigned_t last1 = i1;
+ f_number_unsigned_t last2 = i2;
{
// The size1 and size2 are to represent to total number of characters after trim that are not ignored via "except".
- f_array_length_t size1 = 0;
- f_array_length_t size2 = 0;
+ f_number_unsigned_t size1 = 0;
+ f_number_unsigned_t size2 = 0;
- f_array_length_t j = 0;
- f_array_length_t ej = e1;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t ej = e1;
// Determine where the last non-whitespace is in string1.
for (j = i1; j < stop1; ++j) {
#endif // !defined(_di_f_compare_utf_dynamic_except_trim_) || !defined(_di_f_compare_utf_dynamic_except_trim_string_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_string_) || !defined(_di_f_compare_utf_except_trim_)
#if !defined(_di_f_compare_utf_dynamic_trim_) || !defined(_di_f_compare_utf_dynamic_trim_string_) || !defined(_di_f_compare_utf_dynamic_partial_trim_) || !defined(_di_f_compare_utf_dynamic_partial_trim_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_trim_string_) || !defined(_di_f_compare_utf_trim_)
- f_status_t private_f_compare_utf_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) {
+ f_status_t private_f_compare_utf_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2) {
- f_array_length_t i1 = offset1;
- f_array_length_t i2 = offset2;
- f_array_length_t previous = 0;
+ f_number_unsigned_t i1 = offset1;
+ f_number_unsigned_t i2 = offset2;
+ f_number_unsigned_t previous = 0;
f_status_t status = F_none;
// Skip past leading whitespace in string1.
previous = i2;
} // for
- f_array_length_t last1 = i1;
- f_array_length_t last2 = i2;
+ f_number_unsigned_t last1 = i1;
+ f_number_unsigned_t last2 = i2;
{
// Size1 and size2 are to represent to total number of characters after trim.
- f_array_length_t size1 = 0;
- f_array_length_t size2 = 0;
+ f_number_unsigned_t size1 = 0;
+ f_number_unsigned_t size2 = 0;
previous = i1;
// Determine where the last non-whitespace is in string1.
- for (f_array_length_t j = i1; j < stop1; j += macro_f_utf_byte_width(string1[j])) {
+ for (f_number_unsigned_t j = i1; j < stop1; j += macro_f_utf_byte_width(string1[j])) {
// Skip past NULL in string1.
while (j < stop1 && !string1[j]) ++j;
previous = i2;
// Determine where the last non-whitespace is in string2.
- for (f_array_length_t j = i2; j < stop2; j += macro_f_utf_byte_width(string2[j])) {
+ for (f_number_unsigned_t j = i2; j < stop2; j += macro_f_utf_byte_width(string2[j])) {
// Skip past NULL in string2.
while (j < stop2 && !string2[j]) ++j;
* @see f_compare_utf_dynamic_partial_string()
*/
#if !defined(_di_f_compare_utf_) || !defined(_di_f_compare_utf_dynamic_) || !defined(_di_f_compare_utf_dynamic_string_) || !defined(_di_f_compare_utf_dynamic_partial_) || !defined(_di_f_compare_utf_dynamic_partial_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_string_)
- extern f_status_t private_f_compare_utf(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_compare_utf(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_compare_utf_) || !defined(_di_f_compare_utf_dynamic_) || !defined(_di_f_compare_utf_dynamic_string_) || !defined(_di_f_compare_utf_dynamic_partial_) || !defined(_di_f_compare_utf_dynamic_partial_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_string_)
/**
* @see f_compare_utf_except_
*/
#if !defined(_di_f_compare_utf_dynamic_except_) || !defined(_di_f_compare_utf_dynamic_except_string_) || !defined(_di_f_compare_utf_dynamic_partial_except_) || !defined(_di_f_compare_utf_dynamic_partial_except_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_except_string_) || !defined(_di_f_compare_utf_except_)
- extern f_status_t private_f_compare_utf_except(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_compare_utf_except(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_compare_utf_dynamic_except_) || !defined(_di_f_compare_utf_dynamic_except_string_) || !defined(_di_f_compare_utf_dynamic_partial_except_) || !defined(_di_f_compare_utf_dynamic_partial_except_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_except_string_) || !defined(_di_f_compare_utf_except_)
/**
* @see f_compare_utf_except_trim()
*/
#if !defined(_di_f_compare_utf_dynamic_except_trim_) || !defined(_di_f_compare_utf_dynamic_except_trim_string_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_string_) || !defined(_di_f_compare_utf_except_trim_)
- extern f_status_t private_f_compare_utf_except_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_compare_utf_except_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_compare_utf_dynamic_except_trim_) || !defined(_di_f_compare_utf_dynamic_except_trim_string_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_except_trim_string_) || !defined(_di_f_compare_utf_except_trim_)
/**
* @see f_compare_utf_trim()
*/
#if !defined(_di_f_compare_utf_dynamic_trim_) || !defined(_di_f_compare_utf_dynamic_trim_string_) || !defined(_di_f_compare_utf_dynamic_partial_trim_) || !defined(_di_f_compare_utf_dynamic_partial_trim_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_trim_string_) || !defined(_di_f_compare_utf_trim_)
- extern f_status_t private_f_compare_utf_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_compare_utf_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_compare_utf_dynamic_trim_) || !defined(_di_f_compare_utf_dynamic_trim_string_) || !defined(_di_f_compare_utf_dynamic_partial_trim_) || !defined(_di_f_compare_utf_dynamic_partial_trim_dynamic_) || !defined(_di_f_compare_utf_dynamic_partial_trim_string_) || !defined(_di_f_compare_utf_trim_)
#ifdef __cplusplus
#endif
#ifndef _di_f_compare_utf_
- f_status_t f_compare_utf(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t length1, const f_array_length_t length2) {
+ f_status_t f_compare_utf(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2) {
return private_f_compare_utf(string1, string2, 0, 0, length1, length2);
}
#endif // _di_f_compare_utf_dynamic_
#ifndef _di_f_compare_utf_dynamic_except_
- f_status_t f_compare_utf_dynamic_except(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_except(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except(string1.string, string2.string, 0, 0, string1.used, string2.used, except1, except2);
}
#endif // _di_f_compare_utf_dynamic_except_
#ifndef _di_f_compare_utf_dynamic_except_string_
- f_status_t f_compare_utf_dynamic_except_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_except_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except(string1, string2.string, 0, 0, length1, string2.used, except1, except2);
}
#endif // _di_f_compare_utf_dynamic_except_string_
#ifndef _di_f_compare_utf_dynamic_except_trim_
- f_status_t f_compare_utf_dynamic_except_trim(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_except_trim(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except_trim(string1.string, string2.string, 0, 0, string1.used, string2.used, except1, except2);
}
#endif // _di_f_compare_utf_dynamic_except_trim_
#ifndef _di_f_compare_utf_dynamic_except_trim_string_
- f_status_t f_compare_utf_dynamic_except_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_except_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except_trim(string1, string2.string, 0, 0, length1, string2.used, except1, except2);
}
#endif // _di_f_compare_utf_dynamic_except_trim_string_
#ifndef _di_f_compare_utf_dynamic_string_
- f_status_t f_compare_utf_dynamic_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1) {
+ f_status_t f_compare_utf_dynamic_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1) {
return private_f_compare_utf(string1, string2.string, 0, 0, length1, string2.used);
}
#endif // _di_f_compare_utf_dynamic_trim_
#ifndef _di_f_compare_utf_dynamic_trim_string_
- f_status_t f_compare_utf_dynamic_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1) {
+ f_status_t f_compare_utf_dynamic_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1) {
return private_f_compare_utf_trim(string1, string2.string, 0, 0, length1, string2.used);
}
#endif // _di_f_compare_utf_dynamic_partial_dynamic_
#ifndef _di_f_compare_utf_dynamic_partial_string_
- f_status_t f_compare_utf_dynamic_partial_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2) {
+ f_status_t f_compare_utf_dynamic_partial_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2) {
return private_f_compare_utf(
string1,
#endif // _di_f_compare_utf_dynamic_partial_string_
#ifndef _di_f_compare_utf_dynamic_partial_except_
- f_status_t f_compare_utf_dynamic_partial_except(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_partial_except(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except(
string1.string,
#endif // _di_f_compare_utf_dynamic_partial_except_
#ifndef _di_f_compare_utf_dynamic_partial_except_dynamic_
- f_status_t f_compare_utf_dynamic_partial_except_dynamic(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_partial_except_dynamic(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except(
string1.string,
#endif // _di_f_compare_utf_dynamic_partial_except_dynamic_
#ifndef _di_f_compare_utf_dynamic_partial_except_string_
- f_status_t f_compare_utf_dynamic_partial_except_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_partial_except_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except(
string1,
#endif // _di_f_compare_utf_dynamic_partial_except_string_
#ifndef _di_f_compare_utf_dynamic_partial_except_trim_
- f_status_t f_compare_utf_dynamic_partial_except_trim(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_partial_except_trim(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except_trim(
string1.string,
#endif // _di_f_compare_utf_dynamic_partial_except_trim_
#ifndef _di_f_compare_utf_dynamic_partial_except_trim_dynamic_
- f_status_t f_compare_utf_dynamic_partial_except_trim_dynamic(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_partial_except_trim_dynamic(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except_trim(
string1.string,
#endif // _di_f_compare_utf_dynamic_partial_except_trim_dynamic_
#ifndef _di_f_compare_utf_dynamic_partial_except_trim_string_
- f_status_t f_compare_utf_dynamic_partial_except_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_dynamic_partial_except_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except_trim(
string1,
#endif // _di_f_compare_utf_dynamic_partial_trim_dynamic_
#ifndef _di_f_compare_utf_dynamic_partial_trim_string_
- f_status_t f_compare_utf_dynamic_partial_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2) {
+ f_status_t f_compare_utf_dynamic_partial_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2) {
return private_f_compare_utf_trim(
string1,
#endif // _di_f_compare_utf_dynamic_partial_trim_string_
#ifndef _di_f_compare_utf_except_
- f_status_t f_compare_utf_except(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t length1, const f_array_length_t length2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_except(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except(string1, string2, 0, 0, length1, length2, except1, except2);
}
#endif // _di_f_compare_utf_except_
#ifndef _di_f_compare_utf_except_trim_
- f_status_t f_compare_utf_except_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t length1, const f_array_length_t length2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t f_compare_utf_except_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
return private_f_compare_utf_except_trim(string1, string2, 0, 0, length1, length2, except1, except2);
}
#endif // _di_f_compare_utf_except_trim_
#ifndef _di_f_compare_utf_trim_
- f_status_t f_compare_utf_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t length1, const f_array_length_t length2) {
+ f_status_t f_compare_utf_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2) {
return private_f_compare_utf_trim(string1, string2, 0, 0, length1, length2);
}
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_utf_
- extern f_status_t f_compare_utf(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t length1, const f_array_length_t length2);
+ extern f_status_t f_compare_utf(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2);
#endif // _di_f_compare_utf_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_utf_dynamic_except_
- extern f_status_t f_compare_utf_dynamic_except(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_except(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_except_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_dynamic_except_string_
- extern f_status_t f_compare_utf_dynamic_except_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_except_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_except_string_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_dynamic_except_trim_
- extern f_status_t f_compare_utf_dynamic_except_trim(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_except_trim(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_except_trim_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_dynamic_except_trim_string_
- extern f_status_t f_compare_utf_dynamic_except_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_except_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_except_trim_string_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_dynamic_string_
- extern f_status_t f_compare_utf_dynamic_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1);
+ extern f_status_t f_compare_utf_dynamic_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1);
#endif // _di_f_compare_utf_dynamic_string_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_dynamic_trim_string_
- extern f_status_t f_compare_utf_dynamic_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1);
+ extern f_status_t f_compare_utf_dynamic_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1);
#endif // _di_f_compare_utf_dynamic_trim_string_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_utf_dynamic_partial_except_
- extern f_status_t f_compare_utf_dynamic_partial_except(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_partial_except(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_partial_except_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_utf_dynamic_partial_except_dynamic_
- extern f_status_t f_compare_utf_dynamic_partial_except_dynamic(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_partial_except_dynamic(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_partial_except_dynamic_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_utf_dynamic_partial_except_string_
- extern f_status_t f_compare_utf_dynamic_partial_except_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_partial_except_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_partial_except_string_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_dynamic_partial_except_trim_
- extern f_status_t f_compare_utf_dynamic_partial_except_trim(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_partial_except_trim(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_partial_except_trim_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_dynamic_partial_except_trim_dynamic_
- extern f_status_t f_compare_utf_dynamic_partial_except_trim_dynamic(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_partial_except_trim_dynamic(const f_utf_string_static_t string1, const f_utf_string_static_t string2, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_partial_except_trim_dynamic_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_dynamic_partial_except_trim_string_
- extern f_status_t f_compare_utf_dynamic_partial_except_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_dynamic_partial_except_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_dynamic_partial_except_trim_string_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_utf_dynamic_partial_string_
- extern f_status_t f_compare_utf_dynamic_partial_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2);
+ extern f_status_t f_compare_utf_dynamic_partial_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2);
#endif // _di_f_compare_utf_dynamic_partial_string_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_dynamic_partial_trim_string_
- extern f_status_t f_compare_utf_dynamic_partial_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_array_length_t length1, const f_string_range_t range2);
+ extern f_status_t f_compare_utf_dynamic_partial_trim_string(const f_utf_string_t string1, const f_utf_string_static_t string2, const f_number_unsigned_t length1, const f_string_range_t range2);
#endif // _di_f_compare_utf_dynamic_partial_trim_string_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_compare_utf_except_
- extern f_status_t f_compare_utf_except(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t length1, const f_array_length_t length2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_except(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_except_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_except_trim_
- extern f_status_t f_compare_utf_except_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t length1, const f_array_length_t length2, const f_array_lengths_t except1, const f_array_lengths_t except2);
+ extern f_status_t f_compare_utf_except_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2);
#endif // _di_f_compare_utf_except_trim_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_compare_utf_trim_
- extern f_status_t f_compare_utf_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_array_length_t length1, const f_array_length_t length2);
+ extern f_status_t f_compare_utf_trim(const f_utf_string_t string1, const f_utf_string_t string2, const f_number_unsigned_t length1, const f_number_unsigned_t length2);
#endif // _di_f_compare_utf_trim_
#ifdef __cplusplus
#endif
#if !defined(_di_f_compare_) || !defined(_di_f_compare_dynamic_) || !defined(_di_f_compare_dynamic_string_) || !defined(_di_f_compare_dynamic_partial_) || !defined(_di_f_compare_dynamic_partial_dynamic_)
- f_status_t private_f_compare(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) {
+ f_status_t private_f_compare(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2) {
- f_array_length_t i1 = offset1;
- f_array_length_t i2 = offset2;
+ f_number_unsigned_t i1 = offset1;
+ f_number_unsigned_t i2 = offset2;
for (; i1 < stop1 && i2 < stop2; ++i1, ++i2) {
#endif // !defined(_di_f_compare_) || !defined(_di_f_compare_dynamic_) || !defined(_di_f_compare_dynamic_string_) || !defined(_di_f_compare_dynamic_partial_) || !defined(_di_f_compare_dynamic_partial_dynamic_)
#if !defined(_di_f_compare_dynamic_except_) || !defined(_di_f_compare_dynamic_except_string_) || !defined(_di_f_compare_dynamic_partial_except_) || !defined(_di_f_compare_dynamic_partial_except_dynamic_) || !defined(_di_f_compare_dynamic_partial_except_string_) || !defined(_di_f_compare_except_)
- f_status_t private_f_compare_except(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t private_f_compare_except(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
- f_array_length_t i1 = offset1;
- f_array_length_t i2 = offset2;
+ f_number_unsigned_t i1 = offset1;
+ f_number_unsigned_t i2 = offset2;
- f_array_length_t e1 = 0;
- f_array_length_t e2 = 0;
+ f_number_unsigned_t e1 = 0;
+ f_number_unsigned_t e2 = 0;
while (i1 < stop1 && i2 < stop2) {
#endif // !defined(_di_f_compare_dynamic_except_) || !defined(_di_f_compare_dynamic_except_string_) || !defined(_di_f_compare_dynamic_partial_except_) || !defined(_di_f_compare_dynamic_partial_except_dynamic_) || !defined(_di_f_compare_dynamic_partial_except_string_) || !defined(_di_f_compare_except_)
#if !defined(_di_f_compare_dynamic_except_trim_) || !defined(_di_f_compare_dynamic_except_trim_string_) || !defined(_di_f_compare_dynamic_partial_except_trim_) || !defined(_di_f_compare_dynamic_partial_except_trim_dynamic_) || !defined(_di_f_compare_dynamic_partial_except_trim_string_) || !defined(_di_f_compare_except_trim_)
- f_status_t private_f_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) {
+ f_status_t private_f_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) {
- f_array_length_t i1 = offset1;
- f_array_length_t i2 = offset2;
+ f_number_unsigned_t i1 = offset1;
+ f_number_unsigned_t i2 = offset2;
- f_array_length_t e1 = 0;
- f_array_length_t e2 = 0;
+ f_number_unsigned_t e1 = 0;
+ f_number_unsigned_t e2 = 0;
uint8_t width = 0;
- f_array_length_t width_max = 0;
- f_array_length_t previous = 0;
+ f_number_unsigned_t width_max = 0;
+ f_number_unsigned_t previous = 0;
f_status_t status = F_none;
previous = i2;
} // for
- f_array_length_t last1 = i1;
- f_array_length_t last2 = i2;
+ f_number_unsigned_t last1 = i1;
+ f_number_unsigned_t last2 = i2;
{
// The size1 and size2 are to represent to total number of characters after trim that are not ignored via "except".
- f_array_length_t size1 = 0;
- f_array_length_t size2 = 0;
+ f_number_unsigned_t size1 = 0;
+ f_number_unsigned_t size2 = 0;
- f_array_length_t j = 0;
- f_array_length_t ej = e1;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t ej = e1;
// Determine where the last non-whitespace is in string1.
for (j = i1; j < stop1; j += width) {
#endif // !defined(_di_f_compare_dynamic_except_trim_) || !defined(_di_f_compare_dynamic_except_trim_string_) || !defined(_di_f_compare_dynamic_partial_except_trim_) || !defined(_di_f_compare_dynamic_partial_except_trim_dynamic_) || !defined(_di_f_compare_dynamic_partial_except_trim_string_) || !defined(_di_f_compare_except_trim_)
#if !defined(_di_f_compare_dynamic_trim_) || !defined(_di_f_compare_dynamic_trim_string_) || !defined(_di_f_compare_dynamic_partial_trim_) || !defined(_di_f_compare_dynamic_partial_trim_dynamic_) || !defined(_di_f_compare_dynamic_partial_trim_string_) || !defined(_di_f_compare_trim_)
- f_status_t private_f_compare_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) {
+ f_status_t private_f_compare_trim(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2) {
- f_array_length_t i1 = offset1;
- f_array_length_t i2 = offset2;
- f_array_length_t previous = 0;
+ f_number_unsigned_t i1 = offset1;
+ f_number_unsigned_t i2 = offset2;
+ f_number_unsigned_t previous = 0;
f_status_t status = F_none;
// Skip past leading whitespace in string1.
previous = i2;
} // for
- f_array_length_t last1 = i1;
- f_array_length_t last2 = i2;
+ f_number_unsigned_t last1 = i1;
+ f_number_unsigned_t last2 = i2;
{
// Size1 and size2 are to represent to total number of characters after trim.
- f_array_length_t size1 = 0;
- f_array_length_t size2 = 0;
+ f_number_unsigned_t size1 = 0;
+ f_number_unsigned_t size2 = 0;
previous = i1;
// Determine where the last non-whitespace is in string1.
- for (f_array_length_t j = i1; j < stop1; j += macro_f_utf_byte_width(string1[j])) {
+ for (f_number_unsigned_t j = i1; j < stop1; j += macro_f_utf_byte_width(string1[j])) {
// Skip past NULL in string1.
while (j < stop1 && !string1[j]) ++j;
previous = i2;
// Determine where the last non-whitespace is in string2.
- for (f_array_length_t j = i2; j < stop2; j += macro_f_utf_byte_width(string2[j])) {
+ for (f_number_unsigned_t j = i2; j < stop2; j += macro_f_utf_byte_width(string2[j])) {
// Skip past NULL in string2.
while (j < stop2 && !string2[j]) ++j;
* @see f_compare_dynamic_partial_dynamic()
*/
#if !defined(_di_f_compare_) || !defined(_di_f_compare_dynamic_) || !defined(_di_f_compare_dynamic_string_) || !defined(_di_f_compare_dynamic_partial_) || !defined(_di_f_compare_dynamic_partial_dynamic_)
- extern f_status_t private_f_compare(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_compare(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_compare_) || !defined(_di_f_compare_dynamic_) || !defined(_di_f_compare_dynamic_string_) || !defined(_di_f_compare_dynamic_partial_) || !defined(_di_f_compare_dynamic_partial_dynamic_)
/**
* @see f_compare_except()
*/
#if !defined(_di_f_compare_dynamic_except_) || !defined(_di_f_compare_dynamic_except_string_) || !defined(_di_f_compare_dynamic_partial_except_) || !defined(_di_f_compare_dynamic_partial_except_dynamic_) || !defined(_di_f_compare_dynamic_partial_except_string_) || !defined(_di_f_compare_except_)
- extern f_status_t private_f_compare_except(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_compare_except(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_compare_dynamic_except_) || !defined(_di_f_compare_dynamic_except_string_) || !defined(_di_f_compare_dynamic_partial_except_) || !defined(_di_f_compare_dynamic_partial_except_dynamic_) || !defined(_di_f_compare_dynamic_partial_except_string_) || !defined(_di_f_compare_except_)
/**
* @see f_compare_except_trim()
*/
#if !defined(_di_f_compare_dynamic_except_trim_) || !defined(_di_f_compare_dynamic_except_trim_string_) || !defined(_di_f_compare_dynamic_partial_except_trim_) || !defined(_di_f_compare_dynamic_partial_except_trim_dynamic_) || !defined(_di_f_compare_dynamic_partial_except_trim_string_) || !defined(_di_f_compare_except_trim_)
- extern f_status_t private_f_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2, const f_array_lengths_t except1, const f_array_lengths_t except2) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_compare_except_trim(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2, const f_number_unsigneds_t except1, const f_number_unsigneds_t except2) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_compare_dynamic_except_trim_) || !defined(_di_f_compare_dynamic_except_trim_string_) || !defined(_di_f_compare_dynamic_partial_except_trim_) || !defined(_di_f_compare_dynamic_partial_except_trim_dynamic_) || !defined(_di_f_compare_dynamic_partial_except_trim_string_) || !defined(_di_f_compare_except_trim_)
/**
* @see f_compare_trim()
*/
#if !defined(_di_f_compare_dynamic_trim_) || !defined(_di_f_compare_dynamic_trim_string_) || !defined(_di_f_compare_dynamic_partial_trim_) || !defined(_di_f_compare_dynamic_partial_trim_dynamic_) || !defined(_di_f_compare_dynamic_partial_trim_string_) || !defined(_di_f_compare_trim_)
- extern f_status_t private_f_compare_trim(const f_string_t string1, const f_string_t string2, const f_array_length_t offset1, const f_array_length_t offset2, const f_array_length_t stop1, const f_array_length_t stop2) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_compare_trim(const f_string_t string1, const f_string_t string2, const f_number_unsigned_t offset1, const f_number_unsigned_t offset2, const f_number_unsigned_t stop1, const f_number_unsigned_t stop2) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_compare_dynamic_trim_) || !defined(_di_f_compare_dynamic_trim_string_) || !defined(_di_f_compare_dynamic_partial_trim_) || !defined(_di_f_compare_dynamic_partial_trim_dynamic_) || !defined(_di_f_compare_dynamic_partial_trim_string_) || !defined(_di_f_compare_trim_)
#ifdef __cplusplus
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
for (; i < 64; ++i) {
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
for (; i < 64; ++i) {
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
for (; i < 64; ++i) {
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
for (; i < 64; ++i) {
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
for (; i < 64; ++i) {
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
for (; i < 64; ++i) {
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
F_equal_to,
};
- f_array_length_t except_1[] = {
+ f_number_unsigned_t except_1[] = {
0, 1, 2, 3,
};
- const f_array_lengths_t excepts_1 = macro_f_array_lengths_t_initialize_1(except_1, 0, 4);
- const f_array_lengths_t excepts_2 = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t excepts_1 = macro_f_number_unsigneds_t_initialize_1(except_1, 0, 4);
+ const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
f_status_t status = F_none;
utf->used = 0;
- for (f_array_length_t i = 0; i < dynamic.used; ++i, ++utf->used) {
+ for (f_number_unsigned_t i = 0; i < dynamic.used; ++i, ++utf->used) {
status = f_utf_char_to_character(dynamic.string + i, dynamic.used - i, &utf->string[i]);
if (F_status_is_error(status)) return status;
if (!arguments.envp) return F_data_not;
- f_array_length_t total = 0;
+ f_number_unsigned_t total = 0;
while (arguments.envp[total]) {
++total;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; arguments.envp[i]; ++i) {
+ for (f_number_unsigned_t i = 0; arguments.envp[i]; ++i) {
for (total = 0; arguments.envp[i][total]; ++total) {
if (arguments.envp[i][total] == f_string_ascii_equal_s.string[0]) break;
#endif // _di_f_console_identify_
#ifndef _di_f_console_parameter_prioritize_left_
- f_status_t f_console_parameter_prioritize_left(const f_console_parameters_t parameters, const f_uint16s_t choices, f_array_length_t * const decision) {
+ f_status_t f_console_parameter_prioritize_left(const f_console_parameters_t parameters, const f_uint16s_t choices, f_number_unsigned_t * const decision) {
#ifndef _di_level_0_parameter_checking_
if (!decision) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!choices.used) return F_data_not;
if (!parameters.used) return F_data_not;
- f_array_length_t location = 0;
- f_array_length_t location_sub = 0;
- f_array_length_t priority = 0;
+ f_number_unsigned_t location = 0;
+ f_number_unsigned_t location_sub = 0;
+ f_number_unsigned_t priority = 0;
- for (f_array_length_t i = 0; i < choices.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < choices.used; ++i) {
if (choices.array[i] > parameters.used) return F_status_set_error(F_parameter);
#endif // _di_f_console_parameter_prioritize_left_
#ifndef _di_f_console_parameter_prioritize_right_
- f_status_t f_console_parameter_prioritize_right(const f_console_parameters_t parameters, const f_uint16s_t choices, f_array_length_t * const decision) {
+ f_status_t f_console_parameter_prioritize_right(const f_console_parameters_t parameters, const f_uint16s_t choices, f_number_unsigned_t * const decision) {
#ifndef _di_level_0_parameter_checking_
if (!decision) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!choices.used) return F_data_not;
if (!parameters.used) return F_data_not;
- f_array_length_t location = 0;
- f_array_length_t location_sub = 0;
- f_array_length_t priority = 0;
+ f_number_unsigned_t location = 0;
+ f_number_unsigned_t location_sub = 0;
+ f_number_unsigned_t priority = 0;
- for (f_array_length_t i = 0; i < choices.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < choices.used; ++i) {
if (choices.array[i] > parameters.used) return F_status_set_error(F_parameter);
state->status = f_string_dynamics_increase_by(arguments.argc, ¶meters->arguments);
if (F_status_is_error(state->status)) return;
- state->status = f_array_lengths_increase(state->step_small, &process.needs);
+ state->status = f_number_unsigneds_increase(state->step_small, &process.needs);
if (F_status_is_error(state->status)) return;
// Append the program name parameter as a static string.
// Parameter 0 represents the program name so skip it.
process.location = 1;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
f_utf_char_t utf_argument = 0;
f_utf_char_t utf_console = 0;
process.location_sub = 1;
process.needs.used = 0;
- state->status = f_array_lengths_increase_by(parameters->arguments.array[process.location].used, &process.needs);
+ state->status = f_number_unsigneds_increase_by(parameters->arguments.array[process.location].used, &process.needs);
if (F_status_is_error(state->status)) break;
// The process.location_sub is used on a per-increment basis (such as 'tar -xcf', the '-' would have an increment of 1, therefore x, c, and f would all be three separate parameters).
}
if (state->status == F_process) {
- state->status = f_array_lengths_increase(state->step_small, ¶meters->array[i].locations);
+ state->status = f_number_unsigneds_increase(state->step_small, ¶meters->array[i].locations);
if (F_status_is_error(state->status)) break;
- state->status = f_array_lengths_increase(state->step_small, ¶meters->array[i].locations_sub);
+ state->status = f_number_unsigneds_increase(state->step_small, ¶meters->array[i].locations_sub);
if (F_status_is_error(state->status)) break;
if (parameters->array[i].location != process.location) {
process.needs.array[process.needs.used++] = i;
} // for
- state->status = f_array_lengths_increase_by(process.needs.used, ¶meters->array[i].values);
+ state->status = f_number_unsigneds_increase_by(process.needs.used, ¶meters->array[i].values);
if (F_status_is_error(state->status)) break;
}
}
if (state->status == F_process && process.found && i < parameters->used) {
- state->status = f_array_lengths_increase(state->step_small, ¶meters->array[i].locations);
+ state->status = f_number_unsigneds_increase(state->step_small, ¶meters->array[i].locations);
if (F_status_is_error(state->status)) break;
- state->status = f_array_lengths_increase(state->step_small, ¶meters->array[i].locations_sub);
+ state->status = f_number_unsigneds_increase(state->step_small, ¶meters->array[i].locations_sub);
if (F_status_is_error(state->status)) break;
parameters->array[i].result |= process.result | f_console_result_found_e;
process.needs.array[process.needs.used++] = i;
} // for
- state->status = f_array_lengths_increase_by(process.needs.used, ¶meters->array[i].values);
+ state->status = f_number_unsigneds_increase_by(process.needs.used, ¶meters->array[i].values);
if (F_status_is_error(state->status)) break;
}
}
if (state->status == F_process) {
- state->status = f_array_lengths_increase(state->step_small, ¶meters->remaining);
+ state->status = f_number_unsigneds_increase(state->step_small, ¶meters->remaining);
if (F_status_is_error(state->status)) break;
parameters->remaining.array[parameters->remaining.used++] = process.location;
}
}
- f_array_lengths_resize(0, &process.needs);
+ f_number_unsigneds_resize(0, &process.needs);
}
#endif // _di_f_console_parameter_process_
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_console_parameter_prioritize_left_
- extern f_status_t f_console_parameter_prioritize_left(const f_console_parameters_t parameters, const f_uint16s_t choices, f_array_length_t * const decision);
+ extern f_status_t f_console_parameter_prioritize_left(const f_console_parameters_t parameters, const f_uint16s_t choices, f_number_unsigned_t * const decision);
#endif // _di_f_console_parameter_prioritize_left_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_console_parameter_prioritize_right_
- extern f_status_t f_console_parameter_prioritize_right(const f_console_parameters_t parameters, const f_uint16s_t choices, f_array_length_t * const decision);
+ extern f_status_t f_console_parameter_prioritize_right(const f_console_parameters_t parameters, const f_uint16s_t choices, f_number_unsigned_t * const decision);
#endif // _di_f_console_parameter_prioritize_right_
/**
* (optional) A variable passed to the callback, if provided.
* Set to NULL to not use.
*
- * Errors (with error bit) from: f_array_lengths_increase().
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_string_dynamics_increase_by().
* Errors (with error bit) from: f_utf_char_to_character().
*
- * @see f_array_lengths_increase()
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase()
+ * @see f_number_unsigneds_increase_by()
* @see f_string_dynamics_increase_by()
* @see f_utf_char_to_character()
*/
if (!state) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return f_array_lengths_resize(0, &state->needs);
+ return f_number_unsigneds_resize(0, &state->needs);
}
#endif // _di_f_console_parameter_state_delete_
if (!state) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return f_array_lengths_adjust(0, &state->needs);
+ return f_number_unsigneds_adjust(0, &state->needs);
}
#endif // _di_f_console_parameter_state_destroy_
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < parameters->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < parameters->used; ++i) {
- status = f_array_lengths_resize(0, ¶meters->array[i].locations);
+ status = f_number_unsigneds_resize(0, ¶meters->array[i].locations);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_resize(0, ¶meters->array[i].locations_sub);
+ status = f_number_unsigneds_resize(0, ¶meters->array[i].locations_sub);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_resize(0, ¶meters->array[i].values);
+ status = f_number_unsigneds_resize(0, ¶meters->array[i].values);
if (F_status_is_error(status)) return status;
} // for
status = f_string_dynamics_resize(0, ¶meters->arguments);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_resize(0, ¶meters->remaining);
+ status = f_number_unsigneds_resize(0, ¶meters->remaining);
if (F_status_is_error(status)) return status;
return F_none;
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < parameters->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < parameters->used; ++i) {
- status = f_array_lengths_adjust(0, ¶meters->array[i].locations);
+ status = f_number_unsigneds_adjust(0, ¶meters->array[i].locations);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_adjust(0, ¶meters->array[i].locations_sub);
+ status = f_number_unsigneds_adjust(0, ¶meters->array[i].locations_sub);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_adjust(0, ¶meters->array[i].values);
+ status = f_number_unsigneds_adjust(0, ¶meters->array[i].values);
if (F_status_is_error(status)) return status;
} // for
status = f_string_dynamics_adjust(0, ¶meters->arguments);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_adjust(0, ¶meters->remaining);
+ status = f_number_unsigneds_adjust(0, ¶meters->remaining);
if (F_status_is_error(status)) return status;
return F_none;
/**
* The maximum size for a single parameter (the length of the string representing the parameter).
*
- * The ideal parameter value is F_array_length_t_size_d, which generally defaults to 2^64 (unsigned).
+ * The ideal parameter value is F_number_t_size_unsigned_d, which generally defaults to 2^64 (unsigned).
* However, the libc/POSIX appears to limit this to 2^63 (signed).
*/
#ifndef _di_f_console_length_size_d_
f_console_result_t result;
f_state_t *state;
- f_array_length_t at;
- f_array_length_t location;
- f_array_length_t location_sub;
- f_array_lengths_t needs;
+ f_number_unsigned_t at;
+ f_number_unsigned_t location;
+ f_number_unsigned_t location_sub;
+ f_number_unsigneds_t needs;
} f_console_parameter_state_t;
#define f_console_parameter_state_t_initialize { \
F_false, \
f_console_result_t_initialize, \
0, \
- f_array_length_t_initialize, \
- f_array_length_t_initialize, \
- f_array_length_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigned_t_initialize, \
+ f_number_unsigned_t_initialize, \
+ f_number_unsigned_t_initialize, \
+ f_number_unsigneds_t_initialize, \
}
#endif // _di_f_console_parameter_state_t_
f_string_static_t match_long;
f_string_static_t match_simple;
- f_array_length_t values_total;
+ f_number_unsigned_t values_total;
f_console_flag_t flag;
f_console_result_t result;
- f_array_length_t location;
- f_array_length_t location_sub;
+ f_number_unsigned_t location;
+ f_number_unsigned_t location_sub;
- f_array_lengths_t locations;
- f_array_lengths_t locations_sub;
+ f_number_unsigneds_t locations;
+ f_number_unsigneds_t locations_sub;
- f_array_lengths_t values;
+ f_number_unsigneds_t values;
} f_console_parameter_t;
#define f_console_parameter_t_initialize { \
f_string_static_t_initialize, \
f_console_flag_t_initialize, \
f_console_result_t_initialize, \
- f_array_length_t_initialize, \
- f_array_length_t_initialize, \
- f_array_length_t_initialize, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigned_t_initialize, \
+ f_number_unsigned_t_initialize, \
+ f_number_unsigned_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
}
#define macro_f_console_parameter_t_initialize_1(match_short, match_long, match_simple, values_total, flag, result, location, location_sub, locations, locations_sub, values) { \
f_console_result_none_e, \
0, \
0, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
}
#define macro_f_console_parameter_t_initialize_3(match_short, match_long, values_total, flag) { \
f_console_result_none_e, \
0, \
0, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
}
#define macro_f_console_parameter_t_initialize_4(match_short, values_total, flag) { \
f_console_result_none_e, \
0, \
0, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
}
#define macro_f_console_parameter_t_initialize_5(match_long, values_total, flag) { \
f_console_result_none_e, \
0, \
0, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
}
#define macro_f_console_parameter_t_initialize_6(match_simple, values_total, flag) { \
f_console_result_none_e, \
0, \
0, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
}
#endif // _di_f_console_parameter_t_
typedef struct {
f_console_parameter_t *array;
f_string_dynamics_t arguments;
- f_array_lengths_t remaining;
- f_array_length_t used;
+ f_number_unsigneds_t remaining;
+ f_number_unsigned_t used;
void (*callback)(const f_console_arguments_t arguments, void * const parameters, f_console_parameter_state_t * const state, void * const data);
} f_console_parameters_t;
#define f_console_parameters_t_initialize { \
0, \
f_string_dynamics_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
0, \
0 \
}
#define macro_f_console_parameters_t_initialize_1(parameters, used, callback) { \
parameters, \
f_string_dynamics_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
used, \
callback \
}
* F_parameter (with error bit) if a parameter is invalid.
*
* Errors (with error bit) from: f_string_dynamics_resize().
- * Errors (with error bit) from: f_array_lengths_resize().
+ * Errors (with error bit) from: f_number_unsigneds_resize().
*
* @see f_string_dynamics_resize()
- * @see f_array_lengths_resize()
+ * @see f_number_unsigneds_resize()
*/
#ifndef _di_f_console_parameter_state_delete_
extern f_status_t f_console_parameter_state_delete(f_console_parameter_state_t * const state);
* F_parameter (with error bit) if a parameter is invalid.
*
* Errors (with error bit) from: f_string_dynamics_adjust().
- * Errors (with error bit) from: f_array_lengths_adjust().
+ * Errors (with error bit) from: f_number_unsigneds_adjust().
*
* @see f_string_dynamics_adjust()
- * @see f_array_lengths_adjust()
+ * @see f_number_unsigneds_adjust()
*/
#ifndef _di_f_console_parameter_state_destroy_
extern f_status_t f_console_parameter_state_destroy(f_console_parameter_state_t * const state);
* F_parameter (with error bit) if a parameter is invalid.
*
* Errors (with error bit) from: f_string_dynamics_resize().
- * Errors (with error bit) from: f_array_lengths_resize().
+ * Errors (with error bit) from: f_number_unsigneds_resize().
*
* @see f_string_dynamics_resize()
- * @see f_array_lengths_resize()
+ * @see f_number_unsigneds_resize()
*/
#ifndef _di_f_console_parameters_delete_
extern f_status_t f_console_parameters_delete(f_console_parameters_t * const parameters);
* F_parameter (with error bit) if a parameter is invalid.
*
* Errors (with error bit) from: f_string_dynamics_adjust().
- * Errors (with error bit) from: f_array_lengths_adjust().
+ * Errors (with error bit) from: f_number_unsigneds_adjust().
*
* @see f_string_dynamics_adjust()
- * @see f_array_lengths_adjust()
+ * @see f_number_unsigneds_adjust()
*/
#ifndef _di_f_console_parameters_destroy_
extern f_status_t f_console_parameters_destroy(f_console_parameters_t * const parameters);
if (!input) return F_data_not;
// Only the first three characters need to be scanned.
- const f_array_length_t length = strnlen(input, 3);
+ const f_number_unsigned_t length = strnlen(input, 3);
if (!length) return F_data_not;
if (input[0] == f_console_symbol_short_normal_s.string[0]) {
f_console_parameters_t parameters = f_console_parameters_t_initialize;
f_uint16s_t choices = f_uint16s_t_initialize;
- f_array_length_t decision = f_array_length_t_initialize;
+ f_number_unsigned_t decision = f_number_unsigned_t_initialize;
{
uint16_t choices_array[1] = { 20 };
}
{
- uint16_t choices_array[1] = { f_array_length_t_initialize };
+ uint16_t choices_array[1] = { f_number_unsigned_t_initialize };
choices.array = choices_array;
const f_status_t status = f_console_parameter_prioritize_left(parameters, choices, 0);
f_console_parameters_t parameters = f_console_parameters_t_initialize;
f_uint16s_t choices = f_uint16s_t_initialize;
- f_array_length_t decision = f_array_length_t_initialize;
+ f_number_unsigned_t decision = f_number_unsigned_t_initialize;
{
uint16_t choices_array[1] = { 0 };
f_console_parameters_t parameters = f_console_parameters_t_initialize;
f_uint16s_t choices = f_uint16s_t_initialize;
- f_array_length_t decision = f_array_length_t_initialize;
+ f_number_unsigned_t decision = f_number_unsigned_t_initialize;
{
uint16_t choices_array[1] = { 20 };
}
{
- uint16_t choices_array[1] = { f_array_length_t_initialize };
+ uint16_t choices_array[1] = { f_number_unsigned_t_initialize };
choices.array = choices_array;
const f_status_t status = f_console_parameter_prioritize_right(parameters, choices, 0);
f_console_parameters_t parameters = f_console_parameters_t_initialize;
f_uint16s_t choices = f_uint16s_t_initialize;
- f_array_length_t decision = f_array_length_t_initialize;
+ f_number_unsigned_t decision = f_number_unsigned_t_initialize;
{
uint16_t choices_array[1] = { 0 };
void test__f_console_parameters_delete__frees_memory(void **state) {
- const f_array_length_t size = 3;
+ const f_number_unsigned_t size = 3;
f_console_parameters_t parameters = f_console_parameters_t_initialize;
f_console_parameter_t parameter = f_console_parameter_t_initialize;
}
{
- const f_status_t status = f_array_lengths_resize(3, ¶meters.array[0].locations);
+ const f_status_t status = f_number_unsigneds_resize(3, ¶meters.array[0].locations);
assert_int_equal(status, F_none);
assert_int_not_equal(parameters.array[0].locations.size, 0);
}
{
- const f_status_t status = f_array_lengths_resize(size, ¶meters.array[0].locations_sub);
+ const f_status_t status = f_number_unsigneds_resize(size, ¶meters.array[0].locations_sub);
assert_int_equal(status, F_none);
assert_int_not_equal(parameters.array[0].locations_sub.size, 0);
void test__f_console_parameters_destroy__frees_memory(void **state) {
- const f_array_length_t size = 3;
+ const f_number_unsigned_t size = 3;
f_console_parameters_t parameters = f_console_parameters_t_initialize;
f_console_parameter_t parameter = f_console_parameter_t_initialize;
}
{
- const f_status_t status = f_array_lengths_resize(size, ¶meters.array[0].locations);
+ const f_status_t status = f_number_unsigneds_resize(size, ¶meters.array[0].locations);
assert_int_equal(status, F_none);
assert_int_not_equal(parameters.array[0].locations.size, 0);
}
{
- const f_status_t status = f_array_lengths_resize(size, ¶meters.array[0].locations_sub);
+ const f_status_t status = f_number_unsigneds_resize(size, ¶meters.array[0].locations_sub);
assert_int_equal(status, F_none);
assert_int_not_equal(parameters.array[0].locations_sub.size, 0);
}
if (character) {
- f_array_length_t count = 0;
+ f_number_unsigned_t count = 0;
while (count < character->used) {
}
size_t i = 0;
- f_array_length_t size = 0;
+ f_number_unsigned_t size = 0;
for (; i < length; ++i) {
#endif
#if !defined(_di_f_directory_statuss_adjust_) || !defined(_di_f_directory_statuss_decimate_by_)
- f_status_t private_f_directory_statuss_adjust(const f_array_length_t length, f_directory_statuss_t * const statuss) {
+ f_status_t private_f_directory_statuss_adjust(const f_number_unsigned_t length, f_directory_statuss_t * const statuss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < statuss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < statuss->size; ++i) {
status = f_string_dynamic_adjust(0, &statuss->array[i].path);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_directory_statuss_adjust_) || !defined(_di_f_directory_statuss_decimate_by_)
#if !defined(_di_f_directory_statuss_decrease_by_) || !defined(_di_f_directory_statuss_increase_) || !defined(_di_f_directory_statuss_increase_by_) || !defined(_di_f_directory_statuss_resize_)
- f_status_t private_f_directory_statuss_resize(const f_array_length_t length, f_directory_statuss_t * const statuss) {
+ f_status_t private_f_directory_statuss_resize(const f_number_unsigned_t length, f_directory_statuss_t * const statuss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < statuss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < statuss->size; ++i) {
status = f_string_dynamic_resize(0, &statuss->array[i].path);
if (F_status_is_error(status)) return status;
* @see f_memory_adjust()
*/
#if !defined(_di_f_directory_statuss_adjust_) || !defined(_di_f_directory_statuss_decimate_by_)
- extern f_status_t private_f_directory_statuss_adjust(const f_array_length_t length, f_directory_statuss_t * const statuss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_directory_statuss_adjust(const f_number_unsigned_t length, f_directory_statuss_t * const statuss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_directory_statuss_adjust_) || !defined(_di_f_directory_statuss_decimate_by_)
/**
* @see f_memory_resize()
*/
#if !defined(_di_f_directory_statuss_decrease_by_) || !defined(_di_f_directory_statuss_increase_) || !defined(_di_f_directory_statuss_increase_by_) || !defined(_di_f_directory_statuss_resize_)
- extern f_status_t private_f_directory_statuss_resize(const f_array_length_t length, f_directory_statuss_t * const statuss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_directory_statuss_resize(const f_number_unsigned_t length, f_directory_statuss_t * const statuss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_directory_statuss_decrease_by_) || !defined(_di_f_directory_statuss_increase_) || !defined(_di_f_directory_statuss_increase_by_) || !defined(_di_f_directory_statuss_resize_)
#ifdef __cplusplus
#endif // _di_f_directory_recurse_do_destroy_
#ifndef _di_f_directory_statuss_adjust_
- f_status_t f_directory_statuss_adjust(const f_array_length_t length, f_directory_statuss_t * const statuss) {
+ f_status_t f_directory_statuss_adjust(const f_number_unsigned_t length, f_directory_statuss_t * const statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_directory_statuss_adjust_
#ifndef _di_f_directory_statuss_decimate_by_
- f_status_t f_directory_statuss_decimate_by(const f_array_length_t amount, f_directory_statuss_t * const statuss) {
+ f_status_t f_directory_statuss_decimate_by(const f_number_unsigned_t amount, f_directory_statuss_t * const statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_directory_statuss_decimate_by_
#ifndef _di_f_directory_statuss_decrease_by_
- f_status_t f_directory_statuss_decrease_by(const f_array_length_t amount, f_directory_statuss_t * const statuss) {
+ f_status_t f_directory_statuss_decrease_by(const f_number_unsigned_t amount, f_directory_statuss_t * const statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_directory_statuss_decrease_by_
#ifndef _di_f_directory_statuss_increase_
- f_status_t f_directory_statuss_increase(const f_array_length_t step, f_directory_statuss_t * const statuss) {
+ f_status_t f_directory_statuss_increase(const f_number_unsigned_t step, f_directory_statuss_t * const statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && statuss->used + 1 > statuss->size) {
- f_array_length_t size = statuss->used + step;
+ f_number_unsigned_t size = statuss->used + step;
- if (size > F_array_length_t_size_d) {
- if (statuss->used + 1 > F_array_length_t_size_d) return F_status_set_error(F_array_too_large);
+ if (size > F_number_t_size_unsigned_d) {
+ if (statuss->used + 1 > F_number_t_size_unsigned_d) return F_status_set_error(F_array_too_large);
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_directory_statuss_resize(size, statuss);
#endif // _di_f_directory_statuss_increase_
#ifndef _di_f_directory_statuss_increase_by_
- f_status_t f_directory_statuss_increase_by(const f_array_length_t amount, f_directory_statuss_t * const statuss) {
+ f_status_t f_directory_statuss_increase_by(const f_number_unsigned_t amount, f_directory_statuss_t * const statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (statuss->used + amount > statuss->size) {
- if (statuss->used + amount > F_array_length_t_size_d) return F_status_set_error(F_array_too_large);
+ if (statuss->used + amount > F_number_t_size_unsigned_d) return F_status_set_error(F_array_too_large);
return private_f_directory_statuss_resize(statuss->used + amount, statuss);
}
#endif // _di_f_directory_statuss_increase_by_
#ifndef _di_f_directory_statuss_resize_
- f_status_t f_directory_statuss_resize(const f_array_length_t length, f_directory_statuss_t * const statuss) {
+ f_status_t f_directory_statuss_resize(const f_number_unsigned_t length, f_directory_statuss_t * const statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#ifndef _di_f_directory_statuss_t_
typedef struct {
f_directory_status_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_directory_statuss_t;
#define f_directory_statuss_t_initialize { 0, 0, 0 }
*/
#ifndef _di_f_directory_recurse_do_t_
typedef struct {
- f_array_length_t depth;
+ f_number_unsigned_t depth;
f_number_unsigned_t depth_max;
uint16_t flag;
f_mode_t mode;
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_directory_statuss_adjust_
- extern f_status_t f_directory_statuss_adjust(const f_array_length_t length, f_directory_statuss_t * const statuss);
+ extern f_status_t f_directory_statuss_adjust(const f_number_unsigned_t length, f_directory_statuss_t * const statuss);
#endif // _di_f_directory_statuss_adjust_
/**
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_directory_statuss_decimate_by_
- extern f_status_t f_directory_statuss_decimate_by(const f_array_length_t amount, f_directory_statuss_t * const statuss);
+ extern f_status_t f_directory_statuss_decimate_by(const f_number_unsigned_t amount, f_directory_statuss_t * const statuss);
#endif // _di_f_directory_statuss_decimate_by_
/**
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_directory_statuss_decrease_by_
- extern f_status_t f_directory_statuss_decrease_by(const f_array_length_t amount, f_directory_statuss_t * const statuss);
+ extern f_status_t f_directory_statuss_decrease_by(const f_number_unsigned_t amount, f_directory_statuss_t * const statuss);
#endif // _di_f_directory_statuss_decrease_by_
/**
* Increase the size of all parts of the directory statuss structure, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_directory_statuss_increase_
- extern f_status_t f_directory_statuss_increase(const f_array_length_t step, f_directory_statuss_t * const statuss);
+ extern f_status_t f_directory_statuss_increase(const f_number_unsigned_t step, f_directory_statuss_t * const statuss);
#endif // _di_f_directory_statuss_increase_
/**
* Resize all parts of the directory statuss structure to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_directory_statuss_increase_by_
- extern f_status_t f_directory_statuss_increase_by(const f_array_length_t amount, f_directory_statuss_t * const statuss);
+ extern f_status_t f_directory_statuss_increase_by(const f_number_unsigned_t amount, f_directory_statuss_t * const statuss);
#endif // _di_f_directory_statuss_increase_by_
/**
* @see f_string_dynamic_resize()
*/
#ifndef _di_f_directory_statuss_resize_
- extern f_status_t f_directory_statuss_resize(const f_array_length_t length, f_directory_statuss_t * const statuss);
+ extern f_status_t f_directory_statuss_resize(const f_number_unsigned_t length, f_directory_statuss_t * const statuss);
#endif // _di_f_directory_statuss_resize_
#ifdef __cplusplus
return F_exist_not;
}
- const f_array_length_t size = strnlen(result, f_environment_max_length_d);
+ const f_number_unsigned_t size = strnlen(result, f_environment_max_length_d);
if (size) {
const f_status_t status = f_string_dynamic_increase_by(size + 1, value);
mode_umask |= F_file_mode_t_block_world_d & F_file_mode_t_mask_bit_execute_d;
}
- for (f_array_length_t i = 0; syntax && i < code.used; ++i) {
+ for (f_number_unsigned_t i = 0; syntax && i < code.used; ++i) {
if (code.string[i] == f_string_ascii_u_s.string[0]) {
on |= 1;
// 1 = add, 2 = replace, 3 = subtract.
uint8_t how = 0;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
if (code.string[0] == f_string_ascii_plus_s.string[0]) {
how = 1;
} // while
if (i < code.used) {
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
// Do not tolerate overly large numbers.
if (code.used - i > 4) return F_status_set_error(F_syntax);
char *path_to_name = basename(path_argument);
- const f_array_length_t size = strnlen(path_to_name, path.used);
+ const f_number_unsigned_t size = strnlen(path_to_name, path.used);
const f_status_t status = f_string_dynamic_increase_by(size + 1, name_base);
if (F_status_is_error(status)) return status;
char *path_to_name = dirname(path_argument);
- const f_array_length_t size = strnlen(path_to_name, path.used);
+ const f_number_unsigned_t size = strnlen(path_to_name, path.used);
{
const f_status_t status = f_string_dynamic_increase_by(size + 1, name_directory);
#endif // _di_f_file_read_block_
#ifndef _di_f_file_read_until_
- f_status_t f_file_read_until(const f_file_t file, const f_array_length_t total, f_string_dynamic_t * const buffer) {
+ f_status_t f_file_read_until(const f_file_t file, const f_number_unsigned_t total, f_string_dynamic_t * const buffer) {
#ifndef _di_level_0_parameter_checking_
if (!file.size_read) return F_status_set_error(F_parameter);
if (!buffer) return F_status_set_error(F_parameter);
if (file.id == -1) return F_file_descriptor_not;
if (!total) return F_data_not;
- f_array_length_t buffer_size = file.size_read;
- f_array_length_t buffer_count = 0;
+ f_number_unsigned_t buffer_size = file.size_read;
+ f_number_unsigned_t buffer_count = 0;
f_status_t status = F_none;
ssize_t size_read = 0;
#endif // _di_f_file_umask_set_
#ifndef _di_f_file_write_
- f_status_t f_file_write(const f_file_t file, const f_string_static_t buffer, f_array_length_t * const written) {
+ f_status_t f_file_write(const f_file_t file, const f_string_static_t buffer, f_number_unsigned_t * const written) {
if (file.id == -1 || !buffer.used || !file.size_write) {
if (written) *written = 0;
if (status == F_none && *written == buffer.used) return F_none_eos;
}
else {
- f_array_length_t written_local = 0;
+ f_number_unsigned_t written_local = 0;
const f_status_t status = private_f_file_write_until(file, buffer, buffer.used, &written_local);
if (F_status_is_error(status)) return status;
#endif // _di_f_file_write_
#ifndef _di_f_file_write_block_
- f_status_t f_file_write_block(const f_file_t file, const f_string_static_t buffer, f_array_length_t * const written) {
+ f_status_t f_file_write_block(const f_file_t file, const f_string_static_t buffer, f_number_unsigned_t * const written) {
if (file.id == -1 || !buffer.used || !file.size_write) {
if (written) *written = 0;
return file.id == -1 ? F_file_descriptor_not : F_data_not;
}
- const f_array_length_t write_max = file.size_write > buffer.used ? buffer.used : file.size_write;
+ const f_number_unsigned_t write_max = file.size_write > buffer.used ? buffer.used : file.size_write;
if (written) {
const f_status_t status = private_f_file_write_until(file, buffer, write_max, written);
}
}
else {
- f_array_length_t written_local = 0;
+ f_number_unsigned_t written_local = 0;
const f_status_t status = private_f_file_write_until(file, buffer, write_max, &written_local);
if (F_status_is_error(status)) return status;
#endif // _di_f_file_write_block_
#ifndef _di_f_file_write_until_
- f_status_t f_file_write_until(const f_file_t file, const f_string_static_t buffer, const f_array_length_t total, f_array_length_t * const written) {
+ f_status_t f_file_write_until(const f_file_t file, const f_string_static_t buffer, const f_number_unsigned_t total, f_number_unsigned_t * const written) {
if (file.id == -1 || !buffer.used || !total || !file.size_write) {
if (written) *written = 0;
return file.id == -1 ? F_file_descriptor_not : F_data_not;
}
- const f_array_length_t write_max = total > buffer.used ? buffer.used : total;
+ const f_number_unsigned_t write_max = total > buffer.used ? buffer.used : total;
if (written) {
const f_status_t status = private_f_file_write_until(file, buffer, write_max, written);
}
}
else {
- f_array_length_t written_local = 0;
+ f_number_unsigned_t written_local = 0;
const f_status_t status = private_f_file_write_until(file, buffer, buffer.used, &written_local);
if (F_status_is_error(status)) return status;
#endif // _di_f_file_write_until_
#ifndef _di_f_file_write_range_
- f_status_t f_file_write_range(const f_file_t file, const f_string_static_t buffer, const f_string_range_t range, f_array_length_t * const written) {
+ f_status_t f_file_write_range(const f_file_t file, const f_string_static_t buffer, const f_string_range_t range, f_number_unsigned_t * const written) {
if (file.id == -1 || !buffer.used || range.start > range.stop || range.start >= buffer.used || !file.size_write) {
if (written) {
return file.id == -1 ? F_file_descriptor_not : F_data_not;
}
- const f_array_length_t write_max = (range.stop - range.start) + 1 > buffer.used ? buffer.used : (range.stop - range.start) + 1;
+ const f_number_unsigned_t write_max = (range.stop - range.start) + 1 > buffer.used ? buffer.used : (range.stop - range.start) + 1;
if (written) {
const f_string_static_t buffer_adjusted = macro_f_string_static_t_initialize_1(buffer.string + range.start, 0, buffer.used - range.start);
}
else {
const f_string_static_t buffer_adjusted = macro_f_string_static_t_initialize_1(buffer.string + range.start, 0, buffer.used - range.start);
- f_array_length_t written_local = 0;
+ f_number_unsigned_t written_local = 0;
const f_status_t status = private_f_file_write_until(file, buffer_adjusted, write_max, &written_local);
if (F_status_is_error(status)) return status;
* @see read()
*/
#ifndef _di_f_file_read_until_
- extern f_status_t f_file_read_until(const f_file_t file, const f_array_length_t total, f_string_dynamic_t * const buffer);
+ extern f_status_t f_file_read_until(const f_file_t file, const f_number_unsigned_t total, f_string_dynamic_t * const buffer);
#endif // _di_f_file_read_until_
/**
* @see write()
*/
#ifndef _di_f_file_write_
- extern f_status_t f_file_write(const f_file_t file, const f_string_static_t buffer, f_array_length_t * const written);
+ extern f_status_t f_file_write(const f_file_t file, const f_string_static_t buffer, f_number_unsigned_t * const written);
#endif // _di_f_file_write_
/**
* @see write()
*/
#ifndef _di_f_file_write_block_
- extern f_status_t f_file_write_block(const f_file_t file, const f_string_static_t buffer, f_array_length_t * const written);
+ extern f_status_t f_file_write_block(const f_file_t file, const f_string_static_t buffer, f_number_unsigned_t * const written);
#endif // _di_f_file_write_block_
/**
* @see write()
*/
#ifndef _di_f_file_write_until_
- extern f_status_t f_file_write_until(const f_file_t file, const f_string_static_t buffer, const f_array_length_t total, f_array_length_t * const written);
+ extern f_status_t f_file_write_until(const f_file_t file, const f_string_static_t buffer, const f_number_unsigned_t total, f_number_unsigned_t * const written);
#endif // _di_f_file_write_until_
/**
* @see write()
*/
#ifndef _di_f_file_write_range_
- extern f_status_t f_file_write_range(const f_file_t file, const f_string_static_t buffer, const f_string_range_t range, f_array_length_t * const written);
+ extern f_status_t f_file_write_range(const f_file_t file, const f_string_static_t buffer, const f_string_range_t range, f_number_unsigned_t * const written);
#endif // _di_f_file_write_range_
#ifdef __cplusplus
#endif // _di_f_file_stream_read_block_
#ifndef _di_f_file_stream_read_until_
- f_status_t f_file_stream_read_until(const f_file_t file, const f_array_length_t total, f_string_dynamic_t * const buffer) {
+ f_status_t f_file_stream_read_until(const f_file_t file, const f_number_unsigned_t total, f_string_dynamic_t * const buffer) {
#ifndef _di_level_0_parameter_checking_
if (!file.size_read) return F_status_set_error(F_parameter);
if (!buffer) return F_status_set_error(F_parameter);
}
}
- f_array_length_t buffer_size = file.size_read;
- f_array_length_t buffer_count = 0;
+ f_number_unsigned_t buffer_size = file.size_read;
+ f_number_unsigned_t buffer_count = 0;
size_t size_read = 0;
#endif // _di_f_file_stream_unlock_
#ifndef _di_f_file_stream_write_
- f_status_t f_file_stream_write(const f_file_t file, const f_string_static_t buffer, f_array_length_t * const written) {
+ f_status_t f_file_stream_write(const f_file_t file, const f_string_static_t buffer, f_number_unsigned_t * const written) {
if (!file.stream || !buffer.used || !file.size_write) {
if (written) {
if (status == F_none && *written == buffer.used) return F_none_eos;
}
else {
- f_array_length_t written_local = 0;
+ f_number_unsigned_t written_local = 0;
status = private_f_file_stream_write_until(file, buffer, buffer.used, &written_local);
#endif // _di_f_file_stream_write_
#ifndef _di_f_file_stream_write_block_
- f_status_t f_file_stream_write_block(const f_file_t file, const f_string_static_t buffer, f_array_length_t * const written) {
+ f_status_t f_file_stream_write_block(const f_file_t file, const f_string_static_t buffer, f_number_unsigned_t * const written) {
if (!file.stream || !buffer.used || !file.size_write) {
if (written) {
return file.stream ? F_data_not : F_stream_not;
}
- const f_array_length_t write_max = file.size_write > buffer.used ? buffer.used : file.size_write;
+ const f_number_unsigned_t write_max = file.size_write > buffer.used ? buffer.used : file.size_write;
f_status_t status = F_none;
}
}
else {
- f_array_length_t written_local = 0;
+ f_number_unsigned_t written_local = 0;
status = private_f_file_stream_write_until(file, buffer, write_max, &written_local);
#endif // _di_f_file_stream_write_block_
#ifndef _di_f_file_stream_write_until_
- f_status_t f_file_stream_write_until(const f_file_t file, const f_string_static_t buffer, const f_array_length_t total, f_array_length_t * const written) {
+ f_status_t f_file_stream_write_until(const f_file_t file, const f_string_static_t buffer, const f_number_unsigned_t total, f_number_unsigned_t * const written) {
if (!file.stream || !buffer.used || !total || !file.size_write) {
if (written) {
return file.stream ? F_data_not : F_stream_not;
}
- const f_array_length_t write_max = total > buffer.used ? buffer.used : total;
+ const f_number_unsigned_t write_max = total > buffer.used ? buffer.used : total;
f_status_t status = F_none;
}
}
else {
- f_array_length_t written_local = 0;
+ f_number_unsigned_t written_local = 0;
status = private_f_file_stream_write_until(file, buffer, buffer.used, &written_local);
#endif // _di_f_file_stream_write_until_
#ifndef _di_f_file_stream_write_range_
- f_status_t f_file_stream_write_range(const f_file_t file, const f_string_static_t buffer, const f_string_range_t range, f_array_length_t * const written) {
+ f_status_t f_file_stream_write_range(const f_file_t file, const f_string_static_t buffer, const f_string_range_t range, f_number_unsigned_t * const written) {
if (!file.stream || !buffer.used || range.start > range.stop || range.start >= buffer.used || !file.size_write) {
if (written) {
return file.stream ? F_data_not : F_stream_not;
}
- const f_array_length_t write_max = (range.stop - range.start) + 1 > buffer.used ? buffer.used : (range.stop - range.start) + 1;
+ const f_number_unsigned_t write_max = (range.stop - range.start) + 1 > buffer.used ? buffer.used : (range.stop - range.start) + 1;
const f_string_static_t buffer_adjusted = macro_f_string_static_t_initialize_1(buffer.string + range.start, 0, buffer.used - range.start);
f_status_t status = F_none;
}
}
else {
- f_array_length_t written_local = 0;
+ f_number_unsigned_t written_local = 0;
status = private_f_file_stream_write_until(file, buffer_adjusted, write_max, &written_local);
* @see f_string_dynamic_increase_by()
*/
#ifndef _di_f_file_stream_read_until_
- extern f_status_t f_file_stream_read_until(const f_file_t file, const f_array_length_t total, f_string_dynamic_t * const buffer);
+ extern f_status_t f_file_stream_read_until(const f_file_t file, const f_number_unsigned_t total, f_string_dynamic_t * const buffer);
#endif // _di_f_file_stream_read_until_
/**
* @see funlockfile()
*/
#ifndef _di_f_file_stream_write_
- extern f_status_t f_file_stream_write(const f_file_t file, const f_string_static_t buffer, f_array_length_t * const written);
+ extern f_status_t f_file_stream_write(const f_file_t file, const f_string_static_t buffer, f_number_unsigned_t * const written);
#endif // _di_f_file_stream_write_
/**
* @see funlockfile()
*/
#ifndef _di_f_file_stream_write_block_
- extern f_status_t f_file_stream_write_block(const f_file_t file, const f_string_static_t buffer, f_array_length_t * const written);
+ extern f_status_t f_file_stream_write_block(const f_file_t file, const f_string_static_t buffer, f_number_unsigned_t * const written);
#endif // _di_f_file_stream_write_block_
/**
* @see funlockfile()
*/
#ifndef _di_f_file_stream_write_until_
- extern f_status_t f_file_stream_write_until(const f_file_t file, const f_string_static_t buffer, const f_array_length_t total, f_array_length_t * const written);
+ extern f_status_t f_file_stream_write_until(const f_file_t file, const f_string_static_t buffer, const f_number_unsigned_t total, f_number_unsigned_t * const written);
#endif // _di_f_file_stream_write_until_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_file_stream_write_range_
- extern f_status_t f_file_stream_write_range(const f_file_t file, const f_string_static_t buffer, const f_string_range_t range, f_array_length_t * const written);
+ extern f_status_t f_file_stream_write_range(const f_file_t file, const f_string_static_t buffer, const f_string_range_t range, f_number_unsigned_t * const written);
#endif // _di_f_file_stream_write_range_
#ifdef __cplusplus
#endif // !defined(_di_f_file_stream_open_descriptor_) || !defined(_di_f_file_stream_open_) || !defined(_di_f_file_stream_reopen_)
#if !defined(_di_f_file_stream_write_) || !defined(_di_f_file_stream_write_block_) || !defined(_di_f_file_stream_write_until) || !defined(_di_f_file_stream_write_range)
- f_status_t private_f_file_stream_write_until(const f_file_t file, const f_string_static_t buffer, const f_array_length_t total, f_array_length_t * const written) {
+ f_status_t private_f_file_stream_write_until(const f_file_t file, const f_string_static_t buffer, const f_number_unsigned_t total, f_number_unsigned_t * const written) {
*written = 0;
- f_array_length_t write_amount = 1;
- f_array_length_t write_size = file.size_write;
- f_array_length_t write_max = total;
+ f_number_unsigned_t write_amount = 1;
+ f_number_unsigned_t write_size = file.size_write;
+ f_number_unsigned_t write_max = total;
ssize_t size_write = 0;
#endif // !defined(_di_f_file_stream_write_) || !defined(_di_f_file_stream_write_block_) || !defined(_di_f_file_stream_write_until) || !defined(_di_f_file_stream_write_range)
#if !defined(_di_f_file_write_) || !defined(_di_f_file_write_block_) || !defined(_di_f_file_write_until) || !defined(_di_f_file_write_range)
- f_status_t private_f_file_write_until(const f_file_t file, const f_string_static_t buffer, const f_array_length_t total, f_array_length_t * const written) {
+ f_status_t private_f_file_write_until(const f_file_t file, const f_string_static_t buffer, const f_number_unsigned_t total, f_number_unsigned_t * const written) {
*written = 0;
- f_array_length_t write_size = file.size_write;
- f_array_length_t write_max = total;
+ f_number_unsigned_t write_size = file.size_write;
+ f_number_unsigned_t write_max = total;
ssize_t size_write = 0;
* @see f_file_stream_write_until()
*/
#if !defined(_di_f_file_stream_write_) || !defined(_di_f_file_stream_write_block_) || !defined(_di_f_file_stream_write_until) || !defined(_di_f_file_stream_write_range)
- extern f_status_t private_f_file_stream_write_until(const f_file_t file, const f_string_static_t buffer, const f_array_length_t total, f_array_length_t * const written) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_file_stream_write_until(const f_file_t file, const f_string_static_t buffer, const f_number_unsigned_t total, f_number_unsigned_t * const written) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_file_stream_write_) || !defined(_di_f_file_stream_write_block_) || !defined(_di_f_file_stream_write_until) || !defined(_di_f_file_stream_write_range)
/**
* @see f_file_write_until()
*/
#if !defined(_di_f_file_write_) || !defined(_di_f_file_write_block_) || !defined(_di_f_file_write_until) || !defined(_di_f_file_write_range)
- extern f_status_t private_f_file_write_until(const f_file_t file, const f_string_static_t buffer, const f_array_length_t total, f_array_length_t * const written) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_file_write_until(const f_file_t file, const f_string_static_t buffer, const f_number_unsigned_t total, f_number_unsigned_t * const written) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_file_write_) || !defined(_di_f_file_write_block_) || !defined(_di_f_file_write_until) || !defined(_di_f_file_write_range)
#ifdef __cplusplus
F_file_mode_all_wx_d,
};
- for (f_array_length_t i = 0; i < 28; ++i) {
+ for (f_number_unsigned_t i = 0; i < 28; ++i) {
mode_t mode = 0;
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_stream_write(file, f_string_empty_s, &written);
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_stream_write_block(file, f_string_empty_s, &written);
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
{
- f_array_length_t written = 0;
+ f_number_unsigned_t written = 0;
f_file_t file = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
file.size_write = 1;
{
const f_string_range_t range = f_string_range_t_initialize;
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_stream_write_range(file, f_string_empty_s, range, &written);
const f_string_range_t range = f_string_range_t_initialize;
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_stream_write_range(file, test, range, &written);
{
const f_string_range_t range = macro_f_string_range_t_initialize_1(0, 0);
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_stream_write_range(file, f_string_empty_s, range, &written);
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_stream_write_until(file, f_string_empty_s, 0, &written);
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_stream_write_until(file, test, 0, &written);
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_stream_write_until(file, f_string_empty_s, 1, &written);
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_write(file, f_string_empty_s, &written);
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_write_block(file, f_string_empty_s, &written);
{
const f_string_range_t range = f_string_range_t_initialize;
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_write_range(file, f_string_empty_s, range, &written);
const f_string_range_t range = f_string_range_t_initialize;
const f_string_static_t path = macro_f_string_static_t_initialize_1("test", 0, 4);
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_write_range(file, path, range, &written);
{
const f_string_range_t range = macro_f_string_range_t_initialize_1(0, 0);
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_write_range(file, f_string_empty_s, range, &written);
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_write_until(file, f_string_empty_s, 0, &written);
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_write_until(file, path, 0, &written);
}
{
- f_array_length_t written = 1;
+ f_number_unsigned_t written = 1;
const f_status_t status = f_file_write_until(file, f_string_empty_s, 1, &written);
return;
}
- for (f_array_length_t i = 0; i < delimits.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < delimits.used; ++i) {
if (delimits.array[i] < buffer->used) {
buffer->string[delimits.array[i]] = f_fss_placeholder_s.string[0];
return;
}
- for (f_array_length_t i = 0; i < delimits.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < delimits.used; ++i) {
if (delimits.array[i] < buffer->used && delimits.array[i] >= range.start && delimits.array[i] <= range.stop) {
buffer->string[delimits.array[i]] = f_fss_placeholder_s.string[0];
#endif // _di_f_fss_apply_delimit_range_
#ifndef _di_f_fss_count_lines_
- void f_fss_count_lines(const f_string_static_t buffer, const f_array_length_t before, f_array_length_t * const line, f_state_t * const state) {
+ void f_fss_count_lines(const f_string_static_t buffer, const f_number_unsigned_t before, f_number_unsigned_t * const line, f_state_t * const state) {
#ifndef _di_level_0_parameter_checking_
if (!state) return;
return;
}
- for (f_array_length_t i = 0; i < before && i < buffer.used; i += macro_f_utf_byte_width(buffer.string[i])) {
+ for (f_number_unsigned_t i = 0; i < before && i < buffer.used; i += macro_f_utf_byte_width(buffer.string[i])) {
if (buffer.string[i] == f_fss_eol_s.string[0]) {
++(*line);
#endif // _di_f_fss_count_lines_
#ifndef _di_f_fss_count_lines_range_
- void f_fss_count_lines_range(const f_string_static_t buffer, const f_string_range_t range, f_array_length_t * const line, f_state_t * const state) {
+ void f_fss_count_lines_range(const f_string_static_t buffer, const f_string_range_t range, f_number_unsigned_t * const line, f_state_t * const state) {
#ifndef _di_level_0_parameter_checking_
if (!state) return;
return;
}
- for (f_array_length_t i = range.start; i <= range.stop && i < buffer.used; i += macro_f_utf_byte_width(buffer.string[i])) {
+ for (f_number_unsigned_t i = range.start; i <= range.stop && i < buffer.used; i += macro_f_utf_byte_width(buffer.string[i])) {
if (buffer.string[i] == f_fss_eol_s.string[0]) {
++(*line);
return F_false;
}
- f_array_length_t width_max = (range.stop - range.start) + 1;
+ f_number_unsigned_t width_max = (range.stop - range.start) + 1;
if (width_max > buffer.used - range.start) {
width_max = buffer.used - range.start;
return F_false;
}
- f_array_length_t width_max = (range.stop - range.start) + 1;
+ f_number_unsigned_t width_max = (range.stop - range.start) + 1;
if (width_max > buffer.used - range.start) {
width_max = buffer.used - range.start;
return F_false;
}
- f_array_length_t width_max = (range.stop - range.start) + 1;
+ f_number_unsigned_t width_max = (range.stop - range.start) + 1;
if (width_max > buffer.used - range.start) {
width_max = buffer.used - range.start;
return F_false;
}
- f_array_length_t width_max = (range.stop - range.start) + 1;
+ f_number_unsigned_t width_max = (range.stop - range.start) + 1;
if (width_max > buffer.used - range.start) {
width_max = buffer.used - range.start;
}
uint8_t width = 0;
- f_array_length_t width_max = (range->stop - range->start) + 1;
+ f_number_unsigned_t width_max = (range->stop - range->start) + 1;
if (width_max > buffer.used - range->start) {
width_max = buffer.used - range->start;
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_count_lines_
- extern void f_fss_count_lines(const f_string_static_t buffer, const f_array_length_t before, f_array_length_t * const line, f_state_t * const state);
+ extern void f_fss_count_lines(const f_string_static_t buffer, const f_number_unsigned_t before, f_number_unsigned_t * const line, f_state_t * const state);
#endif // _di_f_fss_count_lines_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_count_lines_range_
- extern void f_fss_count_lines_range(const f_string_static_t buffer, const f_string_range_t range, f_array_length_t * const line, f_state_t * const state);
+ extern void f_fss_count_lines_range(const f_string_static_t buffer, const f_string_range_t range, f_number_unsigned_t * const line, f_state_t * const state);
#endif // _di_f_fss_count_lines_range_
/**
* Designate an fss delimit location.
*/
#ifndef _di_f_fss_delimit_t_
- typedef f_array_length_t f_fss_delimit_t;
+ typedef f_number_unsigned_t f_fss_delimit_t;
- #define f_fss_delimit_t_initialize f_array_length_t_initialize
+ #define f_fss_delimit_t_initialize f_number_unsigned_t_initialize
- #define macro_f_fss_delimit_t_initialize_1(delimit) macro_f_array_length_t_initialize_1(delimit)
+ #define macro_f_fss_delimit_t_initialize_1(delimit) delimit
#endif // _di_f_fss_delimit_t_
/**
* used: Total number of allocated spaces used.
*/
#ifndef _di_f_fss_delimits_t_
- typedef f_array_lengths_t f_fss_delimits_t;
+ typedef f_number_unsigneds_t f_fss_delimits_t;
- #define f_fss_delimits_t_initialize f_array_lengths_t_initialize
+ #define f_fss_delimits_t_initialize f_number_unsigneds_t_initialize
- #define macro_f_fss_delimits_t_initialize_1(array, size, used) macro_f_array_lengths_t_initialize_1(array, size, used)
- #define macro_f_fss_delimits_t_initialize_2(array, length) macro_f_array_lengths_t_initialize_2(array, length)
+ #define macro_f_fss_delimits_t_initialize_1(array, size, used) macro_f_number_unsigneds_t_initialize_1(array, size, used)
+ #define macro_f_fss_delimits_t_initialize_2(array, length) macro_f_number_unsigneds_t_initialize_2(array, length)
- #define macro_f_fss_delimits_t_clear(delimits) macro_f_array_lengths_t_clear(delimits)
+ #define macro_f_fss_delimits_t_clear(delimits) macro_f_number_unsigneds_t_clear(delimits)
- #define macro_f_fss_delimits_t_resize(status, delimits, length) macro_f_array_lengths_t_resize(status, delimits, length)
- #define macro_f_fss_delimits_t_adjust(status, delimits, length) macro_f_array_lengths_t_adjust(status, delimits, length)
+ #define macro_f_fss_delimits_t_resize(status, delimits, length) macro_f_number_unsigneds_t_resize(status, delimits, length)
+ #define macro_f_fss_delimits_t_adjust(status, delimits, length) macro_f_number_unsigneds_t_adjust(status, delimits, length)
- #define macro_f_fss_delimits_t_delete_simple(delimits) macro_f_array_lengths_t_delete_simple(delimits)
- #define macro_f_fss_delimits_t_destroy_simple(delimits) macro_f_array_lengths_t_destroy_simple(delimits)
+ #define macro_f_fss_delimits_t_delete_simple(delimits) macro_f_number_unsigneds_t_delete_simple(delimits)
+ #define macro_f_fss_delimits_t_destroy_simple(delimits) macro_f_number_unsigneds_t_destroy_simple(delimits)
- #define macro_f_fss_delimits_t_increase(status, step, delimits) macro_f_array_lengths_t_increase(status, step, delimits)
- #define macro_f_fss_delimits_t_increase_by(status, delimits, amount) macro_f_array_lengths_t_increase_by(status, delimits, amount)
- #define macro_f_fss_delimits_t_decrease_by(status, delimits, amount) macro_f_array_lengths_t_decrease_by(status, delimits, amount)
- #define macro_f_fss_delimits_t_decimate_by(status, delimits, amount) macro_f_array_lengths_t_decimate_by(status, delimits, amount)
+ #define macro_f_fss_delimits_t_increase(status, step, delimits) macro_f_number_unsigneds_t_increase(status, step, delimits)
+ #define macro_f_fss_delimits_t_increase_by(status, delimits, amount) macro_f_number_unsigneds_t_increase_by(status, delimits, amount)
+ #define macro_f_fss_delimits_t_decrease_by(status, delimits, amount) macro_f_number_unsigneds_t_decrease_by(status, delimits, amount)
+ #define macro_f_fss_delimits_t_decimate_by(status, delimits, amount) macro_f_number_unsigneds_t_decimate_by(status, delimits, amount)
#endif // _di_f_fss_delimits_t_
/**
* used: Total number of allocated spaces used.
*/
#ifndef _di_f_fss_delimitss_t_
- typedef f_array_lengthss_t f_fss_delimitss_t;
+ typedef f_number_unsignedss_t f_fss_delimitss_t;
- #define f_fss_delimitss_t_initialize f_array_lengthss_t_initialize
+ #define f_fss_delimitss_t_initialize f_number_unsignedss_t_initialize
- #define macro_f_fss_delimitss_t_initialize_1(array, size, used) macro_f_array_lengthss_t_initialize_1(array, size, used)
- #define macro_f_fss_delimitss_t_initialize_2(array, length) macro_f_array_lengthss_t_initialize_2(array, length)
+ #define macro_f_fss_delimitss_t_initialize_1(array, size, used) macro_f_number_unsignedss_t_initialize_1(array, size, used)
+ #define macro_f_fss_delimitss_t_initialize_2(array, length) macro_f_number_unsignedss_t_initialize_2(array, length)
- #define macro_f_fss_delimitss_t_clear(delimitss) macro_f_array_lengthss_t_clear(delimitss)
+ #define macro_f_fss_delimitss_t_clear(delimitss) macro_f_number_unsignedss_t_clear(delimitss)
- #define macro_f_fss_delimitss_t_resize(status, delimitss, length) macro_f_array_lengthss_t_resize(status, delimitss, length)
- #define macro_f_fss_delimitss_t_adjust(status, delimitss, length) macro_f_array_lengthss_t_adjust(status, delimitss, length)
+ #define macro_f_fss_delimitss_t_resize(status, delimitss, length) macro_f_number_unsignedss_t_resize(status, delimitss, length)
+ #define macro_f_fss_delimitss_t_adjust(status, delimitss, length) macro_f_number_unsignedss_t_adjust(status, delimitss, length)
- #define macro_f_fss_delimitss_t_delete_simple(delimitss) macro_f_array_lengthss_t_delete_simple(delimitss)
- #define macro_f_fss_delimitss_t_destroy_simple(delimitss) macro_f_array_lengthss_t_destroy_simple(delimitss)
+ #define macro_f_fss_delimitss_t_delete_simple(delimitss) macro_f_number_unsignedss_t_delete_simple(delimitss)
+ #define macro_f_fss_delimitss_t_destroy_simple(delimitss) macro_f_number_unsignedss_t_destroy_simple(delimitss)
- #define macro_f_fss_delimitss_t_increase(status, step, delimitss) macro_f_array_lengthss_t_increase(status, step, delimitss)
- #define macro_f_fss_delimitss_t_increase_by(status, delimitss, amount) macro_f_array_lengthss_t_increase_by(status, delimitss, amount)
- #define macro_f_fss_delimitss_t_decrease_by(status, delimitss, amount) macro_f_array_lengthss_t_decrease_by(status, delimitss, amount)
- #define macro_f_fss_delimitss_t_decimate_by(status, delimitss, amount) macro_f_array_lengthss_t_decimate_by(status, delimitss, amount)
+ #define macro_f_fss_delimitss_t_increase(status, step, delimitss) macro_f_number_unsignedss_t_increase(status, step, delimitss)
+ #define macro_f_fss_delimitss_t_increase_by(status, delimitss, amount) macro_f_number_unsignedss_t_increase_by(status, delimitss, amount)
+ #define macro_f_fss_delimitss_t_decrease_by(status, delimitss, amount) macro_f_number_unsignedss_t_decrease_by(status, delimitss, amount)
+ #define macro_f_fss_delimitss_t_decimate_by(status, delimitss, amount) macro_f_number_unsignedss_t_decimate_by(status, delimitss, amount)
#endif // _di_f_fss_delimitss_t_
#ifdef __cplusplus
#endif
#ifndef _di_f_fss_named_adjust_
- f_status_t f_fss_named_adjust(const f_array_length_t length, f_fss_named_t * const named) {
+ f_status_t f_fss_named_adjust(const f_number_unsigned_t length, f_fss_named_t * const named) {
#ifndef _di_level_0_parameter_checking_
if (!named) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_named_adjust_
#ifndef _di_f_fss_named_decimate_by_
- f_status_t f_fss_named_decimate_by(const f_array_length_t amount, f_fss_named_t * const named) {
+ f_status_t f_fss_named_decimate_by(const f_number_unsigned_t amount, f_fss_named_t * const named) {
#ifndef _di_level_0_parameter_checking_
if (!named) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_named_decimate_by_
#ifndef _di_f_fss_named_decrease_by_
- f_status_t f_fss_named_decrease_by(const f_array_length_t amount, f_fss_named_t * const named) {
+ f_status_t f_fss_named_decrease_by(const f_number_unsigned_t amount, f_fss_named_t * const named) {
#ifndef _di_level_0_parameter_checking_
if (!named) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_named_decrease_by_
#ifndef _di_f_fss_named_increase_
- f_status_t f_fss_named_increase(const f_array_length_t step, f_fss_named_t * const named) {
+ f_status_t f_fss_named_increase(const f_number_unsigned_t step, f_fss_named_t * const named) {
#ifndef _di_level_0_parameter_checking_
if (!named) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && named->objects.used + 1 > named->objects.size) {
- f_array_length_t size = named->objects.used + step;
+ f_number_unsigned_t size = named->objects.used + step;
- if (size > F_array_length_t_size_d) {
- if (named->objects.used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (named->objects.used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fss_named_resize(size, named);
#endif // _di_f_fss_named_increase_
#ifndef _di_f_fss_named_increase_by_
- f_status_t f_fss_named_increase_by(const f_array_length_t amount, f_fss_named_t * const named) {
+ f_status_t f_fss_named_increase_by(const f_number_unsigned_t amount, f_fss_named_t * const named) {
#ifndef _di_level_0_parameter_checking_
if (!named) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (named->objects.used + amount > named->objects.size) {
- if (named->objects.used + amount > F_array_length_t_size_d) {
+ if (named->objects.used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fss_named_increase_by_
#ifndef _di_f_fss_named_resize_
- f_status_t f_fss_named_resize(const f_array_length_t length, f_fss_named_t * const named) {
+ f_status_t f_fss_named_resize(const f_number_unsigned_t length, f_fss_named_t * const named) {
#ifndef _di_level_0_parameter_checking_
if (!named) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_named_resize_
#ifndef _di_f_fss_nameds_adjust_
- f_status_t f_fss_nameds_adjust(const f_array_length_t length, f_fss_nameds_t * const nameds) {
+ f_status_t f_fss_nameds_adjust(const f_number_unsigned_t length, f_fss_nameds_t * const nameds) {
#ifndef _di_level_0_parameter_checking_
if (!nameds) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nameds_adjust_
#ifndef _di_f_fss_nameds_decimate_by_
- f_status_t f_fss_nameds_decimate_by(const f_array_length_t amount, f_fss_nameds_t * const nameds) {
+ f_status_t f_fss_nameds_decimate_by(const f_number_unsigned_t amount, f_fss_nameds_t * const nameds) {
#ifndef _di_level_0_parameter_checking_
if (!nameds) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nameds_decimate_by_
#ifndef _di_f_fss_nameds_decrease_by_
- f_status_t f_fss_nameds_decrease_by(const f_array_length_t amount, f_fss_nameds_t * const nameds) {
+ f_status_t f_fss_nameds_decrease_by(const f_number_unsigned_t amount, f_fss_nameds_t * const nameds) {
#ifndef _di_level_0_parameter_checking_
if (!nameds) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nameds_decrease_by_
#ifndef _di_f_fss_nameds_increase_
- f_status_t f_fss_nameds_increase(const f_array_length_t step, f_fss_nameds_t * const nameds) {
+ f_status_t f_fss_nameds_increase(const f_number_unsigned_t step, f_fss_nameds_t * const nameds) {
#ifndef _di_level_0_parameter_checking_
if (!nameds) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && nameds->used + 1 > nameds->size) {
- f_array_length_t size = nameds->used + step;
+ f_number_unsigned_t size = nameds->used + step;
- if (size > F_array_length_t_size_d) {
- if (nameds->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (nameds->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fss_nameds_resize(size, nameds);
#endif // _di_f_fss_nameds_increase_
#ifndef _di_f_fss_nameds_increase_by_
- f_status_t f_fss_nameds_increase_by(const f_array_length_t amount, f_fss_nameds_t * const nameds) {
+ f_status_t f_fss_nameds_increase_by(const f_number_unsigned_t amount, f_fss_nameds_t * const nameds) {
#ifndef _di_level_0_parameter_checking_
if (!nameds) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (nameds->used + amount > nameds->size) {
- if (nameds->used + amount > F_array_length_t_size_d) {
+ if (nameds->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fss_nameds_increase_by_
#ifndef _di_f_fss_nameds_resize_
- f_status_t f_fss_nameds_resize(const f_array_length_t length, f_fss_nameds_t * const nameds) {
+ f_status_t f_fss_nameds_resize(const f_number_unsigned_t length, f_fss_nameds_t * const nameds) {
#ifndef _di_level_0_parameter_checking_
if (!nameds) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#define f_fss_named_t_initialize { f_fss_object_t_initialize, f_fss_objects_t_initialize, f_fss_contents_t_initialize, f_uint8ss_t_initialize }
- #define macro_f_fss_named_t_initialize_1(name, objects, contents, quotess) macro_f_array_lengths_t_initialize_1(name, objects, contents, quotess)
+ #define macro_f_fss_named_t_initialize_1(name, objects, contents, quotess) macro_f_number_unsigneds_t_initialize_1(name, objects, contents, quotess)
#define macro_f_fss_named_t_clear(named) \
macro_f_fss_object_t_clear(named.name) \
typedef struct {
f_fss_named_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_fss_nameds_t;
#define f_fss_nameds_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_named_adjust_
- extern f_status_t f_fss_named_adjust(const f_array_length_t length, f_fss_named_t * const named);
+ extern f_status_t f_fss_named_adjust(const f_number_unsigned_t length, f_fss_named_t * const named);
#endif // _di_f_fss_named_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_named_decimate_by_
- extern f_status_t f_fss_named_decimate_by(const f_array_length_t amount, f_fss_named_t * const named);
+ extern f_status_t f_fss_named_decimate_by(const f_number_unsigned_t amount, f_fss_named_t * const named);
#endif // _di_f_fss_named_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_named_decrease_by_
- extern f_status_t f_fss_named_decrease_by(const f_array_length_t amount, f_fss_named_t * const named);
+ extern f_status_t f_fss_named_decrease_by(const f_number_unsigned_t amount, f_fss_named_t * const named);
#endif // _di_f_fss_named_decrease_by_
/**
* Increase the size of all parts of the named structure, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_named_increase_
- extern f_status_t f_fss_named_increase(const f_array_length_t step, f_fss_named_t * const named);
+ extern f_status_t f_fss_named_increase(const f_number_unsigned_t step, f_fss_named_t * const named);
#endif // _di_f_fss_named_increase_
/**
* Resize all parts of the named structure to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_array_too_large (with error bit) if the new array length is too large.
*/
#ifndef _di_f_fss_named_increase_by_
- extern f_status_t f_fss_named_increase_by(const f_array_length_t amount, f_fss_named_t * const named);
+ extern f_status_t f_fss_named_increase_by(const f_number_unsigned_t amount, f_fss_named_t * const named);
#endif // _di_f_fss_named_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_named_resize_
- extern f_status_t f_fss_named_resize(const f_array_length_t length, f_fss_named_t * const named);
+ extern f_status_t f_fss_named_resize(const f_number_unsigned_t length, f_fss_named_t * const named);
#endif // _di_f_fss_named_resize_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nameds_adjust_
- extern f_status_t f_fss_nameds_adjust(const f_array_length_t length, f_fss_nameds_t * const nameds);
+ extern f_status_t f_fss_nameds_adjust(const f_number_unsigned_t length, f_fss_nameds_t * const nameds);
#endif // _di_f_fss_nameds_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nameds_decimate_by_
- extern f_status_t f_fss_nameds_decimate_by(const f_array_length_t amount, f_fss_nameds_t * const nameds);
+ extern f_status_t f_fss_nameds_decimate_by(const f_number_unsigned_t amount, f_fss_nameds_t * const nameds);
#endif // _di_f_fss_nameds_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nameds_decrease_by_
- extern f_status_t f_fss_nameds_decrease_by(const f_array_length_t amount, f_fss_nameds_t * const nameds);
+ extern f_status_t f_fss_nameds_decrease_by(const f_number_unsigned_t amount, f_fss_nameds_t * const nameds);
#endif // _di_f_fss_nameds_decrease_by_
/**
* Increase the size of the nameds array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nameds_increase_
- extern f_status_t f_fss_nameds_increase(const f_array_length_t step, f_fss_nameds_t * const nameds);
+ extern f_status_t f_fss_nameds_increase(const f_number_unsigned_t step, f_fss_nameds_t * const nameds);
#endif // _di_f_fss_nameds_increase_
/**
* Resize the nameds array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_array_too_large (with error bit) if the new array length is too large.
*/
#ifndef _di_f_fss_nameds_increase_by_
- extern f_status_t f_fss_nameds_increase_by(const f_array_length_t amount, f_fss_nameds_t * const nameds);
+ extern f_status_t f_fss_nameds_increase_by(const f_number_unsigned_t amount, f_fss_nameds_t * const nameds);
#endif // _di_f_fss_nameds_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nameds_resize_
- extern f_status_t f_fss_nameds_resize(const f_array_length_t length, f_fss_nameds_t * const nameds);
+ extern f_status_t f_fss_nameds_resize(const f_number_unsigned_t length, f_fss_nameds_t * const nameds);
#endif // _di_f_fss_nameds_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_fss_items_adjust_
- f_status_t f_fss_items_adjust(const f_array_length_t length, f_fss_items_t * const items) {
+ f_status_t f_fss_items_adjust(const f_number_unsigned_t length, f_fss_items_t * const items) {
#ifndef _di_level_0_parameter_checking_
if (!items) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_items_adjust_
#ifndef _di_f_fss_items_decimate_by_
- f_status_t f_fss_items_decimate_by(const f_array_length_t amount, f_fss_items_t * const items) {
+ f_status_t f_fss_items_decimate_by(const f_number_unsigned_t amount, f_fss_items_t * const items) {
#ifndef _di_level_0_parameter_checking_
if (!items) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_items_decimate_by_
#ifndef _di_f_fss_items_decrease_by_
- f_status_t f_fss_items_decrease_by(const f_array_length_t amount, f_fss_items_t * const items) {
+ f_status_t f_fss_items_decrease_by(const f_number_unsigned_t amount, f_fss_items_t * const items) {
#ifndef _di_level_0_parameter_checking_
if (!items) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_items_decrease_by_
#ifndef _di_f_fss_items_increase_
- f_status_t f_fss_items_increase(const f_array_length_t step, f_fss_items_t * const items) {
+ f_status_t f_fss_items_increase(const f_number_unsigned_t step, f_fss_items_t * const items) {
#ifndef _di_level_0_parameter_checking_
if (!items) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && items->used + 1 > items->size) {
- f_array_length_t size = items->used + step;
+ f_number_unsigned_t size = items->used + step;
- if (size > F_array_length_t_size_d) {
- if (items->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (items->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fss_items_resize(size, items);
#endif // _di_f_fss_items_increase_
#ifndef _di_f_fss_items_increase_by_
- f_status_t f_fss_items_increase_by(const f_array_length_t amount, f_fss_items_t * const items) {
+ f_status_t f_fss_items_increase_by(const f_number_unsigned_t amount, f_fss_items_t * const items) {
#ifndef _di_level_0_parameter_checking_
if (!items) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (items->used + amount > items->size) {
- if (items->used + amount > F_array_length_t_size_d) {
+ if (items->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fss_items_increase_by_
#ifndef _di_f_fss_items_resize_
- f_status_t f_fss_items_resize(const f_array_length_t length, f_fss_items_t * const items) {
+ f_status_t f_fss_items_resize(const f_number_unsigned_t length, f_fss_items_t * const items) {
#ifndef _di_level_0_parameter_checking_
if (!items) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_items_resize_
#ifndef _di_f_fss_nest_adjust_
- f_status_t f_fss_nest_adjust(const f_array_length_t length, f_fss_nest_t * const nest) {
+ f_status_t f_fss_nest_adjust(const f_number_unsigned_t length, f_fss_nest_t * const nest) {
#ifndef _di_level_0_parameter_checking_
if (!nest) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nest_adjust_
#ifndef _di_f_fss_nest_decimate_by_
- f_status_t f_fss_nest_decimate_by(const f_array_length_t amount, f_fss_nest_t * const nest) {
+ f_status_t f_fss_nest_decimate_by(const f_number_unsigned_t amount, f_fss_nest_t * const nest) {
#ifndef _di_level_0_parameter_checking_
if (!nest) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nest_decimate_by_
#ifndef _di_f_fss_nest_decrease_by_
- f_status_t f_fss_nest_decrease_by(const f_array_length_t amount, f_fss_nest_t * const nest) {
+ f_status_t f_fss_nest_decrease_by(const f_number_unsigned_t amount, f_fss_nest_t * const nest) {
#ifndef _di_level_0_parameter_checking_
if (!nest) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nest_decrease_by_
#ifndef _di_f_fss_nest_increase_
- f_status_t f_fss_nest_increase(const f_array_length_t step, f_fss_nest_t * const nest) {
+ f_status_t f_fss_nest_increase(const f_number_unsigned_t step, f_fss_nest_t * const nest) {
#ifndef _di_level_0_parameter_checking_
if (!nest) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && nest->used + 1 > nest->size) {
- f_array_length_t size = nest->used + step;
+ f_number_unsigned_t size = nest->used + step;
- if (size > F_array_length_t_size_d) {
- if (nest->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (nest->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fss_nest_resize(size, nest);
#endif // _di_f_fss_nest_increase_
#ifndef _di_f_fss_nest_increase_by_
- f_status_t f_fss_nest_increase_by(const f_array_length_t amount, f_fss_nest_t * const nest) {
+ f_status_t f_fss_nest_increase_by(const f_number_unsigned_t amount, f_fss_nest_t * const nest) {
#ifndef _di_level_0_parameter_checking_
if (!nest) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (nest->used + amount > nest->size) {
- if (nest->used + amount > F_array_length_t_size_d) {
+ if (nest->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fss_nest_increase_by_
#ifndef _di_f_fss_nest_resize_
- f_status_t f_fss_nest_resize(const f_array_length_t length, f_fss_nest_t * const nest) {
+ f_status_t f_fss_nest_resize(const f_number_unsigned_t length, f_fss_nest_t * const nest) {
#ifndef _di_level_0_parameter_checking_
if (!nest) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nest_resize_
#ifndef _di_f_fss_nests_adjust_
- f_status_t f_fss_nests_adjust(const f_array_length_t length, f_fss_nests_t * const nests) {
+ f_status_t f_fss_nests_adjust(const f_number_unsigned_t length, f_fss_nests_t * const nests) {
#ifndef _di_level_0_parameter_checking_
if (!nests) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nests_adjust_
#ifndef _di_f_fss_nests_decimate_by_
- f_status_t f_fss_nests_decimate_by(const f_array_length_t amount, f_fss_nests_t * const nests) {
+ f_status_t f_fss_nests_decimate_by(const f_number_unsigned_t amount, f_fss_nests_t * const nests) {
#ifndef _di_level_0_parameter_checking_
if (!nests) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nests_decimate_by_
#ifndef _di_f_fss_nests_decrease_by_
- f_status_t f_fss_nests_decrease_by(const f_array_length_t amount, f_fss_nests_t * const nests) {
+ f_status_t f_fss_nests_decrease_by(const f_number_unsigned_t amount, f_fss_nests_t * const nests) {
#ifndef _di_level_0_parameter_checking_
if (!nests) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_nests_decrease_by_
#ifndef _di_f_fss_nests_increase_
- f_status_t f_fss_nests_increase(const f_array_length_t step, f_fss_nests_t * const nests) {
+ f_status_t f_fss_nests_increase(const f_number_unsigned_t step, f_fss_nests_t * const nests) {
#ifndef _di_level_0_parameter_checking_
if (!nests) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && nests->used + 1 > nests->size) {
- f_array_length_t size = nests->used + step;
+ f_number_unsigned_t size = nests->used + step;
- if (size > F_array_length_t_size_d) {
- if (nests->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (nests->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fss_nests_resize(size, nests);
#endif // _di_f_fss_nests_increase_
#ifndef _di_f_fss_nests_increase_by_
- f_status_t f_fss_nests_increase_by(const f_array_length_t amount, f_fss_nests_t * const nests) {
+ f_status_t f_fss_nests_increase_by(const f_number_unsigned_t amount, f_fss_nests_t * const nests) {
#ifndef _di_level_0_parameter_checking_
if (!nests) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (nests->used + amount > nests->size) {
- if (nests->used + amount > F_array_length_t_size_d) {
+ if (nests->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fss_nests_increase_by_
#ifndef _di_f_fss_nests_resize_
- f_status_t f_fss_nests_resize(const f_array_length_t length, f_fss_nests_t * const nests) {
+ f_status_t f_fss_nests_resize(const f_number_unsigned_t length, f_fss_nests_t * const nests) {
#ifndef _di_level_0_parameter_checking_
if (!nests) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
f_fss_object_t object;
f_fss_content_t content;
- f_array_length_t parent;
+ f_number_unsigned_t parent;
} f_fss_item_t;
#define f_fss_item_t_initialize { f_fss_object_t_initialize, f_fss_content_t_initialize, 0 }
- #define macro_f_fss_item_t_initialize_1(object, content, parent) macro_f_array_lengths_t_initialize_1(object, content, parent)
+ #define macro_f_fss_item_t_initialize_1(object, content, parent) macro_f_number_unsigneds_t_initialize_1(object, content, parent)
#define macro_f_fss_item_t_clear(item) \
macro_f_fss_object_t_clear(item.object); \
typedef struct {
f_fss_item_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_fss_items_t;
#define f_fss_items_t_initialize { 0, 0, 0 }
typedef struct {
f_fss_items_t *depth;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_fss_nest_t;
#define f_fss_nest_t_initialize { 0, 0, 0 }
typedef struct {
f_fss_nest_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_fss_nests_t;
#define f_fss_nests_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_items_adjust_
- extern f_status_t f_fss_items_adjust(const f_array_length_t length, f_fss_items_t * const items);
+ extern f_status_t f_fss_items_adjust(const f_number_unsigned_t length, f_fss_items_t * const items);
#endif // _di_f_fss_items_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_items_decimate_by_
- extern f_status_t f_fss_items_decimate_by(const f_array_length_t amount, f_fss_items_t * const items);
+ extern f_status_t f_fss_items_decimate_by(const f_number_unsigned_t amount, f_fss_items_t * const items);
#endif // _di_f_fss_items_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_items_decrease_by_
- extern f_status_t f_fss_items_decrease_by(const f_array_length_t amount, f_fss_items_t * const items);
+ extern f_status_t f_fss_items_decrease_by(const f_number_unsigned_t amount, f_fss_items_t * const items);
#endif // _di_f_fss_items_decrease_by_
/**
* Increase the size of the items array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_items_increase_
- extern f_status_t f_fss_items_increase(const f_array_length_t step, f_fss_items_t * const items);
+ extern f_status_t f_fss_items_increase(const f_number_unsigned_t step, f_fss_items_t * const items);
#endif // _di_f_fss_items_increase_
/**
* Resize the items array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_array_too_large (with error bit) if the new array length is too large.
*/
#ifndef _di_f_fss_items_increase_by_
- extern f_status_t f_fss_items_increase_by(const f_array_length_t amount, f_fss_items_t * const items);
+ extern f_status_t f_fss_items_increase_by(const f_number_unsigned_t amount, f_fss_items_t * const items);
#endif // _di_f_fss_items_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_items_resize_
- extern f_status_t f_fss_items_resize(const f_array_length_t length, f_fss_items_t * const items);
+ extern f_status_t f_fss_items_resize(const f_number_unsigned_t length, f_fss_items_t * const items);
#endif // _di_f_fss_items_resize_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nest_adjust_
- extern f_status_t f_fss_nest_adjust(const f_array_length_t length, f_fss_nest_t * const nest);
+ extern f_status_t f_fss_nest_adjust(const f_number_unsigned_t length, f_fss_nest_t * const nest);
#endif // _di_f_fss_nest_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nest_decimate_by_
- extern f_status_t f_fss_nest_decimate_by(const f_array_length_t amount, f_fss_nest_t * const nest);
+ extern f_status_t f_fss_nest_decimate_by(const f_number_unsigned_t amount, f_fss_nest_t * const nest);
#endif // _di_f_fss_nest_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nest_decrease_by_
- extern f_status_t f_fss_nest_decrease_by(const f_array_length_t amount, f_fss_nest_t * const nest);
+ extern f_status_t f_fss_nest_decrease_by(const f_number_unsigned_t amount, f_fss_nest_t * const nest);
#endif // _di_f_fss_nest_decrease_by_
/**
* Increase the size of the nest array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nest_increase_
- extern f_status_t f_fss_nest_increase(const f_array_length_t step, f_fss_nest_t * const nest);
+ extern f_status_t f_fss_nest_increase(const f_number_unsigned_t step, f_fss_nest_t * const nest);
#endif // _di_f_fss_nest_increase_
/**
* Resize the nest array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_array_too_large (with error bit) if the new array length is too large.
*/
#ifndef _di_f_fss_nest_increase_by_
- extern f_status_t f_fss_nest_increase_by(const f_array_length_t amount, f_fss_nest_t * const nest);
+ extern f_status_t f_fss_nest_increase_by(const f_number_unsigned_t amount, f_fss_nest_t * const nest);
#endif // _di_f_fss_nest_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nest_resize_
- extern f_status_t f_fss_nest_resize(const f_array_length_t length, f_fss_nest_t * const nest);
+ extern f_status_t f_fss_nest_resize(const f_number_unsigned_t length, f_fss_nest_t * const nest);
#endif // _di_f_fss_nest_resize_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nests_adjust_
- extern f_status_t f_fss_nests_adjust(const f_array_length_t length, f_fss_nests_t * const nests);
+ extern f_status_t f_fss_nests_adjust(const f_number_unsigned_t length, f_fss_nests_t * const nests);
#endif // _di_f_fss_nests_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nests_decimate_by_
- extern f_status_t f_fss_nests_decimate_by(const f_array_length_t amount, f_fss_nests_t * const nests);
+ extern f_status_t f_fss_nests_decimate_by(const f_number_unsigned_t amount, f_fss_nests_t * const nests);
#endif // _di_f_fss_nests_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nests_decrease_by_
- extern f_status_t f_fss_nests_decrease_by(const f_array_length_t amount, f_fss_nests_t * const nests);
+ extern f_status_t f_fss_nests_decrease_by(const f_number_unsigned_t amount, f_fss_nests_t * const nests);
#endif // _di_f_fss_nests_decrease_by_
/**
* Increase the size of the nests array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nests_increase_
- extern f_status_t f_fss_nests_increase(const f_array_length_t step, f_fss_nests_t * const nests);
+ extern f_status_t f_fss_nests_increase(const f_number_unsigned_t step, f_fss_nests_t * const nests);
#endif // _di_f_fss_nests_increase_
/**
* Resize the nests array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_array_too_large (with error bit) if the new array length is too large.
*/
#ifndef _di_f_fss_nests_increase_by_
- extern f_status_t f_fss_nests_increase_by(const f_array_length_t amount, f_fss_nests_t * const nests);
+ extern f_status_t f_fss_nests_increase_by(const f_number_unsigned_t amount, f_fss_nests_t * const nests);
#endif // _di_f_fss_nests_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_nests_resize_
- extern f_status_t f_fss_nests_resize(const f_array_length_t length, f_fss_nests_t * const nests);
+ extern f_status_t f_fss_nests_resize(const f_number_unsigned_t length, f_fss_nests_t * const nests);
#endif // _di_f_fss_nests_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_fss_set_adjust_
- f_status_t f_fss_set_adjust(const f_array_length_t length, f_fss_set_t * const set) {
+ f_status_t f_fss_set_adjust(const f_number_unsigned_t length, f_fss_set_t * const set) {
#ifndef _di_level_0_parameter_checking_
if (!set) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_adjust_
#ifndef _di_f_fss_set_decimate_by_
- f_status_t f_fss_set_decimate_by(const f_array_length_t amount, f_fss_set_t * const set) {
+ f_status_t f_fss_set_decimate_by(const f_number_unsigned_t amount, f_fss_set_t * const set) {
#ifndef _di_level_0_parameter_checking_
if (!set) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_decimate_by_
#ifndef _di_f_fss_set_decrease_by_
- f_status_t f_fss_set_decrease_by(const f_array_length_t amount, f_fss_set_t * const set) {
+ f_status_t f_fss_set_decrease_by(const f_number_unsigned_t amount, f_fss_set_t * const set) {
#ifndef _di_level_0_parameter_checking_
if (!set) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_decrease_by_
#ifndef _di_f_fss_set_increase_
- f_status_t f_fss_set_increase(const f_array_length_t step, f_fss_set_t * const set) {
+ f_status_t f_fss_set_increase(const f_number_unsigned_t step, f_fss_set_t * const set) {
#ifndef _di_level_0_parameter_checking_
if (!set) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && set->objects.used + 1 > set->objects.size) {
- f_array_length_t size = set->objects.used + step;
+ f_number_unsigned_t size = set->objects.used + step;
- if (size > F_array_length_t_size_d) {
- if (set->objects.used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (set->objects.used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fss_set_resize(size, set);
#endif // _di_f_fss_set_increase_
#ifndef _di_f_fss_set_increase_by_
- f_status_t f_fss_set_increase_by(const f_array_length_t amount, f_fss_set_t * const set) {
+ f_status_t f_fss_set_increase_by(const f_number_unsigned_t amount, f_fss_set_t * const set) {
#ifndef _di_level_0_parameter_checking_
if (!set) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (set->objects.used + amount > set->objects.size) {
- if (set->objects.used + amount > F_array_length_t_size_d) {
+ if (set->objects.used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fss_set_increase_by_
#ifndef _di_f_fss_set_resize_
- f_status_t f_fss_set_resize(const f_array_length_t length, f_fss_set_t * const set) {
+ f_status_t f_fss_set_resize(const f_number_unsigned_t length, f_fss_set_t * const set) {
#ifndef _di_level_0_parameter_checking_
if (!set) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_resize_
#ifndef _di_f_fss_set_quote_adjust_
- f_status_t f_fss_set_quote_adjust(const f_array_length_t length, f_fss_set_quote_t * const set_quote) {
+ f_status_t f_fss_set_quote_adjust(const f_number_unsigned_t length, f_fss_set_quote_t * const set_quote) {
#ifndef _di_level_0_parameter_checking_
if (!set_quote) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_quote_adjust_
#ifndef _di_f_fss_set_quote_decimate_by_
- f_status_t f_fss_set_quote_decimate_by(const f_array_length_t amount, f_fss_set_quote_t * const set_quote) {
+ f_status_t f_fss_set_quote_decimate_by(const f_number_unsigned_t amount, f_fss_set_quote_t * const set_quote) {
#ifndef _di_level_0_parameter_checking_
if (!set_quote) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_quote_decimate_by_
#ifndef _di_f_fss_set_quote_decrease_by_
- f_status_t f_fss_set_quote_decrease_by(const f_array_length_t amount, f_fss_set_quote_t * const set_quote) {
+ f_status_t f_fss_set_quote_decrease_by(const f_number_unsigned_t amount, f_fss_set_quote_t * const set_quote) {
#ifndef _di_level_0_parameter_checking_
if (!set_quote) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_quote_decrease_by_
#ifndef _di_f_fss_set_quote_increase_
- f_status_t f_fss_set_quote_increase(const f_array_length_t step, f_fss_set_quote_t * const set_quote) {
+ f_status_t f_fss_set_quote_increase(const f_number_unsigned_t step, f_fss_set_quote_t * const set_quote) {
#ifndef _di_level_0_parameter_checking_
if (!set_quote) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && set_quote->objects.used + 1 > set_quote->objects.size) {
- f_array_length_t size = set_quote->objects.used + step;
+ f_number_unsigned_t size = set_quote->objects.used + step;
- if (size > F_array_length_t_size_d) {
- if (set_quote->objects.used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (set_quote->objects.used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fss_set_quote_resize(size, set_quote);
#endif // _di_f_fss_set_quote_increase_
#ifndef _di_f_fss_set_quote_increase_by_
- f_status_t f_fss_set_quote_increase_by(const f_array_length_t amount, f_fss_set_quote_t * const set_quote) {
+ f_status_t f_fss_set_quote_increase_by(const f_number_unsigned_t amount, f_fss_set_quote_t * const set_quote) {
#ifndef _di_level_0_parameter_checking_
if (!set_quote) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (set_quote->objects.used + amount > set_quote->objects.size) {
- if (set_quote->objects.used + amount > F_array_length_t_size_d) {
+ if (set_quote->objects.used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fss_set_quote_increase_by_
#ifndef _di_f_fss_set_quote_resize_
- f_status_t f_fss_set_quote_resize(const f_array_length_t length, f_fss_set_quote_t * const set_quote) {
+ f_status_t f_fss_set_quote_resize(const f_number_unsigned_t length, f_fss_set_quote_t * const set_quote) {
#ifndef _di_level_0_parameter_checking_
if (!set_quote) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_quote_resize_
#ifndef _di_f_fss_set_quotes_adjust_
- f_status_t f_fss_set_quotes_adjust(const f_array_length_t length, f_fss_set_quotes_t * const set_quotes) {
+ f_status_t f_fss_set_quotes_adjust(const f_number_unsigned_t length, f_fss_set_quotes_t * const set_quotes) {
#ifndef _di_level_0_parameter_checking_
if (!set_quotes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_quotes_adjust_
#ifndef _di_f_fss_set_quotes_decimate_by_
- f_status_t f_fss_set_quotes_decimate_by(const f_array_length_t amount, f_fss_set_quotes_t * const set_quotes) {
+ f_status_t f_fss_set_quotes_decimate_by(const f_number_unsigned_t amount, f_fss_set_quotes_t * const set_quotes) {
#ifndef _di_level_0_parameter_checking_
if (!set_quotes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_quotes_decimate_by_
#ifndef _di_f_fss_set_quotes_decrease_by_
- f_status_t f_fss_set_quotes_decrease_by(const f_array_length_t amount, f_fss_set_quotes_t * const set_quotes) {
+ f_status_t f_fss_set_quotes_decrease_by(const f_number_unsigned_t amount, f_fss_set_quotes_t * const set_quotes) {
#ifndef _di_level_0_parameter_checking_
if (!set_quotes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_quotes_decrease_by_
#ifndef _di_f_fss_set_quotes_increase_
- f_status_t f_fss_set_quotes_increase(const f_array_length_t step, f_fss_set_quotes_t * const set_quotes) {
+ f_status_t f_fss_set_quotes_increase(const f_number_unsigned_t step, f_fss_set_quotes_t * const set_quotes) {
#ifndef _di_level_0_parameter_checking_
if (!set_quotes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && set_quotes->used + 1 > set_quotes->size) {
- f_array_length_t size = set_quotes->used + step;
+ f_number_unsigned_t size = set_quotes->used + step;
- if (size > F_array_length_t_size_d) {
- if (set_quotes->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (set_quotes->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fss_set_quotes_resize(size, set_quotes);
#endif // _di_f_fss_set_quotes_increase_
#ifndef _di_f_fss_set_quotes_increase_by_
- f_status_t f_fss_set_quotes_increase_by(const f_array_length_t amount, f_fss_set_quotes_t * const set_quotes) {
+ f_status_t f_fss_set_quotes_increase_by(const f_number_unsigned_t amount, f_fss_set_quotes_t * const set_quotes) {
#ifndef _di_level_0_parameter_checking_
if (!set_quotes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (set_quotes->used + amount > set_quotes->size) {
- if (set_quotes->used + amount > F_array_length_t_size_d) {
+ if (set_quotes->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fss_set_quotes_increase_by_
#ifndef _di_f_fss_set_quotes_resize_
- f_status_t f_fss_set_quotes_resize(const f_array_length_t length, f_fss_set_quotes_t * const set_quotes) {
+ f_status_t f_fss_set_quotes_resize(const f_number_unsigned_t length, f_fss_set_quotes_t * const set_quotes) {
#ifndef _di_level_0_parameter_checking_
if (!set_quotes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_set_quotes_resize_
#ifndef _di_f_fss_sets_adjust_
- f_status_t f_fss_sets_adjust(const f_array_length_t length, f_fss_sets_t *sets) {
+ f_status_t f_fss_sets_adjust(const f_number_unsigned_t length, f_fss_sets_t *sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_sets_adjust_
#ifndef _di_f_fss_sets_decimate_by_
- f_status_t f_fss_sets_decimate_by(const f_array_length_t amount, f_fss_sets_t * const sets) {
+ f_status_t f_fss_sets_decimate_by(const f_number_unsigned_t amount, f_fss_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_sets_decimate_by_
#ifndef _di_f_fss_sets_decrease_by_
- f_status_t f_fss_sets_decrease_by(const f_array_length_t amount, f_fss_sets_t * const sets) {
+ f_status_t f_fss_sets_decrease_by(const f_number_unsigned_t amount, f_fss_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fss_sets_decrease_by_
#ifndef _di_f_fss_sets_increase_
- f_status_t f_fss_sets_increase(const f_array_length_t step, f_fss_sets_t * const sets) {
+ f_status_t f_fss_sets_increase(const f_number_unsigned_t step, f_fss_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && sets->used + 1 > sets->size) {
- f_array_length_t size = sets->used + step;
+ f_number_unsigned_t size = sets->used + step;
- if (size > F_array_length_t_size_d) {
- if (sets->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (sets->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fss_sets_resize(size, sets);
#endif // _di_f_fss_sets_increase_
#ifndef _di_f_fss_sets_increase_by_
- f_status_t f_fss_sets_increase_by(const f_array_length_t amount, f_fss_sets_t * const sets) {
+ f_status_t f_fss_sets_increase_by(const f_number_unsigned_t amount, f_fss_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (sets->used + amount > sets->size) {
- if (sets->used + amount > F_array_length_t_size_d) {
+ if (sets->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fss_sets_increase_by_
#ifndef _di_f_fss_sets_resize_
- f_status_t f_fss_sets_resize(const f_array_length_t length, f_fss_sets_t * const sets) {
+ f_status_t f_fss_sets_resize(const f_number_unsigned_t length, f_fss_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_fss_set_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_fss_sets_t;
#define f_fss_sets_t_initialize { 0, 0, 0 }
typedef struct {
f_fss_set_quote_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_fss_set_quotes_t;
#define f_fss_set_quotes_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_adjust_
- extern f_status_t f_fss_set_adjust(const f_array_length_t length, f_fss_set_t * const set);
+ extern f_status_t f_fss_set_adjust(const f_number_unsigned_t length, f_fss_set_t * const set);
#endif // _di_f_fss_set_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_decimate_by_
- extern f_status_t f_fss_set_decimate_by(const f_array_length_t amount, f_fss_set_t * const set);
+ extern f_status_t f_fss_set_decimate_by(const f_number_unsigned_t amount, f_fss_set_t * const set);
#endif // _di_f_fss_set_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_decrease_by_
- extern f_status_t f_fss_set_decrease_by(const f_array_length_t amount, f_fss_set_t * const set);
+ extern f_status_t f_fss_set_decrease_by(const f_number_unsigned_t amount, f_fss_set_t * const set);
#endif // _di_f_fss_set_decrease_by_
/**
* Increase the size of the set array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_increase_
- extern f_status_t f_fss_set_increase(const f_array_length_t step, f_fss_set_t * const set);
+ extern f_status_t f_fss_set_increase(const f_number_unsigned_t step, f_fss_set_t * const set);
#endif // _di_f_fss_set_increase_
/**
* Resize the set array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_array_too_large (with error bit) if the new array length is too large.
*/
#ifndef _di_f_fss_set_increase_by_
- extern f_status_t f_fss_set_increase_by(const f_array_length_t amount, f_fss_set_t * const set);
+ extern f_status_t f_fss_set_increase_by(const f_number_unsigned_t amount, f_fss_set_t * const set);
#endif // _di_f_fss_set_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_resize_
- extern f_status_t f_fss_set_resize(const f_array_length_t length, f_fss_set_t * const set);
+ extern f_status_t f_fss_set_resize(const f_number_unsigned_t length, f_fss_set_t * const set);
#endif // _di_f_fss_set_resize_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quote_adjust_
- extern f_status_t f_fss_set_quote_adjust(const f_array_length_t length, f_fss_set_quote_t * const set_quote);
+ extern f_status_t f_fss_set_quote_adjust(const f_number_unsigned_t length, f_fss_set_quote_t * const set_quote);
#endif // _di_f_fss_set_quote_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quote_decimate_by_
- extern f_status_t f_fss_set_quote_decimate_by(const f_array_length_t amount, f_fss_set_quote_t * const set_quote);
+ extern f_status_t f_fss_set_quote_decimate_by(const f_number_unsigned_t amount, f_fss_set_quote_t * const set_quote);
#endif // _di_f_fss_set_quote_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quote_decrease_by_
- extern f_status_t f_fss_set_quote_decrease_by(const f_array_length_t amount, f_fss_set_quote_t * const set_quote);
+ extern f_status_t f_fss_set_quote_decrease_by(const f_number_unsigned_t amount, f_fss_set_quote_t * const set_quote);
#endif // _di_f_fss_set_quote_decrease_by_
/**
* Increase the size of the set_quote array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set_quote max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set_quote max buffer size (F_number_t_size_unsigned_d).
* If already set_quote to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quote_increase_
- extern f_status_t f_fss_set_quote_increase(const f_array_length_t step, f_fss_set_quote_t * const set_quote);
+ extern f_status_t f_fss_set_quote_increase(const f_number_unsigned_t step, f_fss_set_quote_t * const set_quote);
#endif // _di_f_fss_set_quote_increase_
/**
* Resize the set_quote array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set_quote max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set_quote max buffer size (F_number_t_size_unsigned_d).
* If already set_quote to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_array_too_large (with error bit) if the new array length is too large.
*/
#ifndef _di_f_fss_set_quote_increase_by_
- extern f_status_t f_fss_set_quote_increase_by(const f_array_length_t amount, f_fss_set_quote_t * const set_quote);
+ extern f_status_t f_fss_set_quote_increase_by(const f_number_unsigned_t amount, f_fss_set_quote_t * const set_quote);
#endif // _di_f_fss_set_quote_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quote_resize_
- extern f_status_t f_fss_set_quote_resize(const f_array_length_t length, f_fss_set_quote_t * const set_quote);
+ extern f_status_t f_fss_set_quote_resize(const f_number_unsigned_t length, f_fss_set_quote_t * const set_quote);
#endif // _di_f_fss_set_quote_resize_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quotes_adjust_
- extern f_status_t f_fss_set_quotes_adjust(const f_array_length_t length, f_fss_set_quotes_t * const set_quotes);
+ extern f_status_t f_fss_set_quotes_adjust(const f_number_unsigned_t length, f_fss_set_quotes_t * const set_quotes);
#endif // _di_f_fss_set_quotes_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quotes_decimate_by_
- extern f_status_t f_fss_set_quotes_decimate_by(const f_array_length_t amount, f_fss_set_quotes_t * const set_quotes);
+ extern f_status_t f_fss_set_quotes_decimate_by(const f_number_unsigned_t amount, f_fss_set_quotes_t * const set_quotes);
#endif // _di_f_fss_set_quotes_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quotes_decrease_by_
- extern f_status_t f_fss_set_quotes_decrease_by(const f_array_length_t amount, f_fss_set_quotes_t * const set_quotes);
+ extern f_status_t f_fss_set_quotes_decrease_by(const f_number_unsigned_t amount, f_fss_set_quotes_t * const set_quotes);
#endif // _di_f_fss_set_quotes_decrease_by_
/**
* Increase the size of the set_quotes array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quotes_increase_
- extern f_status_t f_fss_set_quotes_increase(const f_array_length_t step, f_fss_set_quotes_t * const set_quotes);
+ extern f_status_t f_fss_set_quotes_increase(const f_number_unsigned_t step, f_fss_set_quotes_t * const set_quotes);
#endif // _di_f_fss_set_quotes_increase_
/**
* Resize the set_quotes array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_array_too_large (with error bit) if the new array length is too large.
*/
#ifndef _di_f_fss_set_quotes_increase_by_
- extern f_status_t f_fss_set_quotes_increase_by(const f_array_length_t amount, f_fss_set_quotes_t * const set_quotes);
+ extern f_status_t f_fss_set_quotes_increase_by(const f_number_unsigned_t amount, f_fss_set_quotes_t * const set_quotes);
#endif // _di_f_fss_set_quotes_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_set_quotes_resize_
- extern f_status_t f_fss_set_quotes_resize(const f_array_length_t length, f_fss_set_quotes_t * const set_quotes);
+ extern f_status_t f_fss_set_quotes_resize(const f_number_unsigned_t length, f_fss_set_quotes_t * const set_quotes);
#endif // _di_f_fss_set_quotes_resize_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_sets_adjust_
- extern f_status_t f_fss_sets_adjust(const f_array_length_t length, f_fss_sets_t * const sets);
+ extern f_status_t f_fss_sets_adjust(const f_number_unsigned_t length, f_fss_sets_t * const sets);
#endif // _di_f_fss_sets_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_sets_decimate_by_
- extern f_status_t f_fss_sets_decimate_by(const f_array_length_t amount, f_fss_sets_t * const sets);
+ extern f_status_t f_fss_sets_decimate_by(const f_number_unsigned_t amount, f_fss_sets_t * const sets);
#endif // _di_f_fss_sets_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_sets_decrease_by_
- extern f_status_t f_fss_sets_decrease_by(const f_array_length_t amount, f_fss_sets_t * const sets);
+ extern f_status_t f_fss_sets_decrease_by(const f_number_unsigned_t amount, f_fss_sets_t * const sets);
#endif // _di_f_fss_sets_decrease_by_
/**
* Increase the size of the sets array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_sets_increase_
- extern f_status_t f_fss_sets_increase(const f_array_length_t step, f_fss_sets_t * const sets);
+ extern f_status_t f_fss_sets_increase(const f_number_unsigned_t step, f_fss_sets_t * const sets);
#endif // _di_f_fss_sets_increase_
/**
* Resize the sets array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_array_too_large (with error bit) if the new array length is too large.
*/
#ifndef _di_f_fss_sets_increase_by_
- extern f_status_t f_fss_sets_increase_by(const f_array_length_t amount, f_fss_sets_t * const sets);
+ extern f_status_t f_fss_sets_increase_by(const f_number_unsigned_t amount, f_fss_sets_t * const sets);
#endif // _di_f_fss_sets_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_fss_sets_resize_
- extern f_status_t f_fss_sets_resize(const f_array_length_t length, f_fss_sets_t * const sets);
+ extern f_status_t f_fss_sets_resize(const f_number_unsigned_t length, f_fss_sets_t * const sets);
#endif // _di_f_fss_sets_resize_
#ifdef __cplusplus
#endif
#if !defined(_di_f_fss_items_adjust_) || !defined(_di_f_fss_items_decimate_by_)
- f_status_t private_f_fss_items_adjust(const f_array_length_t length, f_fss_items_t * const items) {
+ f_status_t private_f_fss_items_adjust(const f_number_unsigned_t length, f_fss_items_t * const items) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < items->size; ++i) {
+ for (f_number_unsigned_t i = length; i < items->size; ++i) {
status = f_string_ranges_adjust(0, &items->array[i].content);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_items_adjust_) || !defined(_di_f_fss_items_decimate_by_)
#if !defined(_di_f_fss_items_decrease_by_) || !defined(_di_f_fss_items_increase_) || !defined(_di_f_fss_items_increase_by_) || !defined(_di_f_fss_items_resize_)
- f_status_t private_f_fss_items_resize(const f_array_length_t length, f_fss_items_t * const items) {
+ f_status_t private_f_fss_items_resize(const f_number_unsigned_t length, f_fss_items_t * const items) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < items->size; ++i) {
+ for (f_number_unsigned_t i = length; i < items->size; ++i) {
status = f_string_ranges_resize(0, &items->array[i].content);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_items_decrease_by_) || !defined(_di_f_fss_items_increase_) || !defined(_di_f_fss_items_increase_by_) || !defined(_di_f_fss_items_resize_)
#if !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_)
- f_status_t private_f_fss_named_adjust(const f_array_length_t length, f_fss_named_t * const named) {
+ f_status_t private_f_fss_named_adjust(const f_number_unsigned_t length, f_fss_named_t * const named) {
f_status_t status = F_none;
#endif // !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_)
#if !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_)
- f_status_t private_f_fss_named_resize(const f_array_length_t length, f_fss_named_t * const named) {
+ f_status_t private_f_fss_named_resize(const f_number_unsigned_t length, f_fss_named_t * const named) {
f_status_t status = F_none;
#endif // !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_)
#if !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_)
- f_status_t private_f_fss_nameds_adjust(const f_array_length_t length, f_fss_nameds_t * const nameds) {
+ f_status_t private_f_fss_nameds_adjust(const f_number_unsigned_t length, f_fss_nameds_t * const nameds) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < nameds->size; ++i) {
+ for (f_number_unsigned_t i = length; i < nameds->size; ++i) {
status = private_f_fss_named_adjust(0, &nameds->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_)
#if !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_)
- f_status_t private_f_fss_nameds_resize(const f_array_length_t length, f_fss_nameds_t * const nameds) {
+ f_status_t private_f_fss_nameds_resize(const f_number_unsigned_t length, f_fss_nameds_t * const nameds) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < nameds->size; ++i) {
+ for (f_number_unsigned_t i = length; i < nameds->size; ++i) {
status = private_f_fss_named_resize(0, &nameds->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_)
#if !defined(_di_f_fss_nest_adjust_) || !defined(_di_f_fss_nest_decimate_by_)
- f_status_t private_f_fss_nest_adjust(const f_array_length_t length, f_fss_nest_t * const nest) {
+ f_status_t private_f_fss_nest_adjust(const f_number_unsigned_t length, f_fss_nest_t * const nest) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < nest->size; ++i) {
+ for (f_number_unsigned_t i = length; i < nest->size; ++i) {
status = private_f_fss_items_adjust(0, &nest->depth[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_nest_adjust_) || !defined(_di_f_fss_nest_decimate_by_)
#if !defined(_di_f_fss_nest_decrease_by_) || !defined(_di_f_fss_nest_increase_) || !defined(_di_f_fss_nest_increase_by_) || !defined(_di_f_fss_nest_resize_)
- f_status_t private_f_fss_nest_resize(const f_array_length_t length, f_fss_nest_t * const nest) {
+ f_status_t private_f_fss_nest_resize(const f_number_unsigned_t length, f_fss_nest_t * const nest) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < nest->size; ++i) {
+ for (f_number_unsigned_t i = length; i < nest->size; ++i) {
status = private_f_fss_items_resize(0, &nest->depth[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_nest_decrease_by_) || !defined(_di_f_fss_nest_increase_) || !defined(_di_f_fss_nest_increase_by_) || !defined(_di_f_fss_nest_resize_)
#if !defined(_di_f_fss_nests_adjust_) || !defined(_di_f_fss_nests_decimate_by_)
- f_status_t private_f_fss_nests_adjust(const f_array_length_t length, f_fss_nests_t *nests) {
+ f_status_t private_f_fss_nests_adjust(const f_number_unsigned_t length, f_fss_nests_t *nests) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < nests->size; ++i) {
+ for (f_number_unsigned_t i = length; i < nests->size; ++i) {
status = private_f_fss_nest_adjust(0, &nests->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_nests_adjust_) || !defined(_di_f_fss_nests_decimate_by_)
#if !defined(_di_f_fss_nests_decrease_by_) || !defined(_di_f_fss_nests_increase_) || !defined(_di_f_fss_nests_increase_by_) || !defined(_di_f_fss_nests_resize_)
- f_status_t private_f_fss_nests_resize(const f_array_length_t length, f_fss_nests_t * const nests) {
+ f_status_t private_f_fss_nests_resize(const f_number_unsigned_t length, f_fss_nests_t * const nests) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < nests->size; ++i) {
+ for (f_number_unsigned_t i = length; i < nests->size; ++i) {
status = private_f_fss_nest_resize(0, &nests->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_nests_decrease_by_) || !defined(_di_f_fss_nests_increase_) || !defined(_di_f_fss_nests_increase_by_) || !defined(_di_f_fss_nests_resize_)
#if !defined(_di_f_fss_set_adjust_) || !defined(_di_f_fss_set_decimate_by_)
- f_status_t private_f_fss_set_adjust(const f_array_length_t length, f_fss_set_t * const set) {
+ f_status_t private_f_fss_set_adjust(const f_number_unsigned_t length, f_fss_set_t * const set) {
f_status_t status = F_none;
#endif // !defined(_di_f_fss_set_adjust_) || !defined(_di_f_fss_set_decimate_by_)
#if !defined(_di_f_fss_set_decrease_by_) || !defined(_di_f_fss_set_increase_) || !defined(_di_f_fss_set_increase_by_) || !defined(_di_f_fss_set_resize_)
- f_status_t private_f_fss_set_resize(const f_array_length_t length, f_fss_set_t *set) {
+ f_status_t private_f_fss_set_resize(const f_number_unsigned_t length, f_fss_set_t *set) {
f_status_t status = F_none;
#endif // !defined(_di_f_fss_set_decrease_by_) || !defined(_di_f_fss_set_increase_) || !defined(_di_f_fss_set_increase_by_) || !defined(_di_f_fss_set_resize_)
#if !defined(_di_f_fss_set_quote_adjust_) || !defined(_di_f_fss_set_quote_decimate_by_)
- f_status_t private_f_fss_set_quote_adjust(const f_array_length_t length, f_fss_set_quote_t * const set_quote) {
+ f_status_t private_f_fss_set_quote_adjust(const f_number_unsigned_t length, f_fss_set_quote_t * const set_quote) {
f_status_t status = F_none;
#endif // !defined(_di_f_fss_set_quote_adjust_) || !defined(_di_f_fss_set_quote_decimate_by_)
#if !defined(_di_f_fss_set_quote_decrease_by_) || !defined(_di_f_fss_set_quote_increase_) || !defined(_di_f_fss_set_quote_increase_by_) || !defined(_di_f_fss_set_quote_resize_)
- f_status_t private_f_fss_set_quote_resize(const f_array_length_t length, f_fss_set_quote_t * const set_quote) {
+ f_status_t private_f_fss_set_quote_resize(const f_number_unsigned_t length, f_fss_set_quote_t * const set_quote) {
f_status_t status = F_none;
#endif // !defined(_di_f_fss_set_quote_decrease_by_) || !defined(_di_f_fss_set_quote_increase_) || !defined(_di_f_fss_set_quote_increase_by_) || !defined(_di_f_fss_set_quote_resize_)
#if !defined(_di_f_fss_set_quotes_adjust_) || !defined(_di_f_fss_set_quotes_decimate_by_)
- f_status_t private_f_fss_set_quotes_adjust(const f_array_length_t length, f_fss_set_quotes_t * const set_quotes) {
+ f_status_t private_f_fss_set_quotes_adjust(const f_number_unsigned_t length, f_fss_set_quotes_t * const set_quotes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < set_quotes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < set_quotes->size; ++i) {
status = f_string_ranges_adjust(0, &set_quotes->array[i].objects);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_set_quotes_adjust_) || !defined(_di_f_fss_set_quotes_decimate_by_)
#if !defined(_di_f_fss_set_quotes_decrease_by_) || !defined(_di_f_fss_set_quotes_increase_) || !defined(_di_f_fss_set_quotes_increase_by_) || !defined(_di_f_fss_set_quotes_resize_)
- f_status_t private_f_fss_set_quotes_resize(const f_array_length_t length, f_fss_set_quotes_t * const set_quotes) {
+ f_status_t private_f_fss_set_quotes_resize(const f_number_unsigned_t length, f_fss_set_quotes_t * const set_quotes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < set_quotes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < set_quotes->size; ++i) {
status = f_string_ranges_resize(0, &set_quotes->array[i].objects);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_set_quotes_decrease_by_) || !defined(_di_f_fss_set_quotes_increase_) || !defined(_di_f_fss_set_quotes_increase_by_) || !defined(_di_f_fss_set_quotes_resize_)
#if !defined(_di_f_fss_sets_adjust_) || !defined(_di_f_fss_sets_decimate_by_)
- f_status_t private_f_fss_sets_adjust(const f_array_length_t length, f_fss_sets_t * const sets) {
+ f_status_t private_f_fss_sets_adjust(const f_number_unsigned_t length, f_fss_sets_t * const sets) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < sets->size; ++i) {
+ for (f_number_unsigned_t i = length; i < sets->size; ++i) {
status = f_string_ranges_adjust(0, &sets->array[i].objects);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fss_sets_adjust_) || !defined(_di_f_fss_sets_decimate_by_)
#if !defined(_di_f_fss_sets_decrease_by_) || !defined(_di_f_fss_sets_increase_) || !defined(_di_f_fss_sets_increase_by_) || !defined(_di_f_fss_sets_resize_)
- f_status_t private_f_fss_sets_resize(const f_array_length_t length, f_fss_sets_t * const sets) {
+ f_status_t private_f_fss_sets_resize(const f_number_unsigned_t length, f_fss_sets_t * const sets) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < sets->size; ++i) {
+ for (f_number_unsigned_t i = length; i < sets->size; ++i) {
status = f_string_ranges_resize(0, &sets->array[i].objects);
if (F_status_is_error(status)) return status;
* @see f_memory_adjust()
*/
#if !defined(_di_f_fss_items_adjust_) || !defined(_di_f_fss_items_decimate_by_)
- extern f_status_t private_f_fss_items_adjust(const f_array_length_t length, f_fss_items_t * const items) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_items_adjust(const f_number_unsigned_t length, f_fss_items_t * const items) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_items_adjust_) || !defined(_di_f_fss_items_decimate_by_)
/**
* @see f_memory_resize()
*/
#if !defined(_di_f_fss_items_decrease_by_) || !defined(_di_f_fss_items_increase_) || !defined(_di_f_fss_items_increase_by_) || !defined(_di_f_fss_items_resize_)
- extern f_status_t private_f_fss_items_resize(const f_array_length_t length, f_fss_items_t * const items) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_items_resize(const f_number_unsigned_t length, f_fss_items_t * const items) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_items_decrease_by_) || !defined(_di_f_fss_items_increase_) || !defined(_di_f_fss_items_increase_by_) || !defined(_di_f_fss_items_resize_)
/**
* @see f_fss_nameds_decimate_by()
*/
#if !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_)
- extern f_status_t private_f_fss_named_adjust(const f_array_length_t length, f_fss_named_t * const named) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_named_adjust(const f_number_unsigned_t length, f_fss_named_t * const named) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_)
/**
* @see f_fss_nameds_resize()
*/
#if !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_)
- extern f_status_t private_f_fss_named_resize(const f_array_length_t length, f_fss_named_t * const named) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_named_resize(const f_number_unsigned_t length, f_fss_named_t * const named) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_)
/**
* @see f_memory_adjust()
*/
#if !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_)
- extern f_status_t private_f_fss_nameds_adjust(const f_array_length_t length, f_fss_nameds_t * const nameds) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_nameds_adjust(const f_number_unsigned_t length, f_fss_nameds_t * const nameds) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_)
/**
* @see f_memory_resize()
*/
#if !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_)
- extern f_status_t private_f_fss_nameds_resize(const f_array_length_t length, f_fss_nameds_t * const nameds) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_nameds_resize(const f_number_unsigned_t length, f_fss_nameds_t * const nameds) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_nameds_increase_) || !defined(_di_f_fss_nameds_increase_by_) || !defined(_di_f_fss_nameds_resize_)
/**
* @see f_memory_adjust()
*/
#if !defined(_di_f_fss_nest_adjust_) || !defined(_di_f_fss_nest_decimate_by_)
- extern f_status_t private_f_fss_nest_adjust(const f_array_length_t length, f_fss_nest_t * const nest) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_nest_adjust(const f_number_unsigned_t length, f_fss_nest_t * const nest) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_nest_adjust_) || !defined(_di_f_fss_nest_decimate_by_)
/**
* @see f_memory_resize()
*/
#if !defined(_di_f_fss_nest_decrease_by_) || !defined(_di_f_fss_nest_increase_) || !defined(_di_f_fss_nest_increase_by_) || !defined(_di_f_fss_nest_resize_)
- extern f_status_t private_f_fss_nest_resize(const f_array_length_t length, f_fss_nest_t * const nest) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_nest_resize(const f_number_unsigned_t length, f_fss_nest_t * const nest) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_nest_decrease_by_) || !defined(_di_f_fss_nest_increase_) || !defined(_di_f_fss_nest_increase_by_) || !defined(_di_f_fss_nest_resize_)
/**
* @see f_memory_adjust()
*/
#if !defined(_di_f_fss_nests_adjust_) || !defined(_di_f_fss_nests_decimate_by_)
- extern f_status_t private_f_fss_nests_adjust(const f_array_length_t length, f_fss_nests_t * const nests) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_nests_adjust(const f_number_unsigned_t length, f_fss_nests_t * const nests) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_nests_adjust_) || !defined(_di_f_fss_nests_decimate_by_)
/**
* @see f_memory_resize()
*/
#if !defined(_di_f_fss_nests_decrease_by_) || !defined(_di_f_fss_nests_increase_) || !defined(_di_f_fss_nests_increase_by_) || !defined(_di_f_fss_nests_resize_)
- extern f_status_t private_f_fss_nests_resize(const f_array_length_t length, f_fss_nests_t * const nests) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_nests_resize(const f_number_unsigned_t length, f_fss_nests_t * const nests) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_nests_decrease_by_) || !defined(_di_f_fss_nests_increase_) || !defined(_di_f_fss_nests_increase_by_) || !defined(_di_f_fss_nests_resize_)
/**
* @see f_fss_set_decimate_by()
*/
#if !defined(_di_f_fss_set_adjust_) || !defined(_di_f_fss_set_decimate_by_)
- extern f_status_t private_f_fss_set_adjust(const f_array_length_t length, f_fss_set_t * const set) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_set_adjust(const f_number_unsigned_t length, f_fss_set_t * const set) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_set_adjust_) || !defined(_di_f_fss_set_decimate_by_)
/**
* @see f_fss_set_resize()
*/
#if !defined(_di_f_fss_set_decrease_by_) || !defined(_di_f_fss_set_increase_) || !defined(_di_f_fss_set_increase_by_) || !defined(_di_f_fss_set_resize_)
- extern f_status_t private_f_fss_set_resize(const f_array_length_t length, f_fss_set_t * const set) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_set_resize(const f_number_unsigned_t length, f_fss_set_t * const set) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_set_decrease_by_) || !defined(_di_f_fss_set_increase_) || !defined(_di_f_fss_set_increase_by_) || !defined(_di_f_fss_set_resize_)
/**
* @see f_fss_set_quote_decimate_by()
*/
#if !defined(_di_f_fss_set_quote_adjust_) || !defined(_di_f_fss_set_quote_decimate_by_)
- extern f_status_t private_f_fss_set_quote_adjust(const f_array_length_t length, f_fss_set_quote_t * const set_quote) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_set_quote_adjust(const f_number_unsigned_t length, f_fss_set_quote_t * const set_quote) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_set_quote_adjust_) || !defined(_di_f_fss_set_quote_decimate_by_)
/**
* @see f_fss_set_quote_resize()
*/
#if !defined(_di_f_fss_set_quote_decrease_by_) || !defined(_di_f_fss_set_quote_increase_) || !defined(_di_f_fss_set_quote_increase_by_) || !defined(_di_f_fss_set_quote_resize_)
- extern f_status_t private_f_fss_set_quote_resize(const f_array_length_t length, f_fss_set_quote_t * const set_quote) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_set_quote_resize(const f_number_unsigned_t length, f_fss_set_quote_t * const set_quote) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_set_quote_decrease_by_) || !defined(_di_f_fss_set_quote_increase_) || !defined(_di_f_fss_set_quote_increase_by_) || !defined(_di_f_fss_set_quote_resize_)
/**
* @see f_memory_adjust()
*/
#if !defined(_di_f_fss_set_quotes_adjust_) || !defined(_di_f_fss_set_quotes_decimate_by_)
- extern f_status_t private_f_fss_set_quotes_adjust(const f_array_length_t length, f_fss_set_quotes_t * const set_quotes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_set_quotes_adjust(const f_number_unsigned_t length, f_fss_set_quotes_t * const set_quotes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_set_quotes_adjust_) || !defined(_di_f_fss_set_quotes_decimate_by_)
/**
* @see f_memory_resize()
*/
#if !defined(_di_f_fss_set_quotes_decrease_by_) || !defined(_di_f_fss_set_quotes_increase_) || !defined(_di_f_fss_set_quotes_increase_by_) || !defined(_di_f_fss_set_quotes_resize_)
- extern f_status_t private_f_fss_set_quotes_resize(const f_array_length_t length, f_fss_set_quotes_t * const set_quotes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_set_quotes_resize(const f_number_unsigned_t length, f_fss_set_quotes_t * const set_quotes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_set_quotes_decrease_by_) || !defined(_di_f_fss_set_quotes_increase_) || !defined(_di_f_fss_set_quotes_increase_by_) || !defined(_di_f_fss_set_quotes_resize_)
/**
* @see f_memory_adjust()
*/
#if !defined(_di_f_fss_sets_adjust_) || !defined(_di_f_fss_sets_decimate_by_)
- extern f_status_t private_f_fss_sets_adjust(const f_array_length_t length, f_fss_sets_t * const sets) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_sets_adjust(const f_number_unsigned_t length, f_fss_sets_t * const sets) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_sets_adjust_) || !defined(_di_f_fss_sets_decimate_by_)
/**
* @see f_memory_resize()
*/
#if !defined(_di_f_fss_sets_decrease_by_) || !defined(_di_f_fss_sets_increase_) || !defined(_di_f_fss_sets_increase_by_) || !defined(_di_f_fss_sets_resize_)
- extern f_status_t private_f_fss_sets_resize(const f_array_length_t length, f_fss_sets_t * const sets) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fss_sets_resize(const f_number_unsigned_t length, f_fss_sets_t * const sets) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fss_sets_decrease_by_) || !defined(_di_f_fss_sets_increase_) || !defined(_di_f_fss_sets_increase_by_) || !defined(_di_f_fss_sets_resize_)
#ifdef __cplusplus
f_state_t state_data = f_state_t_initialize;
{
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
f_fss_count_lines(f_string_empty_s, 0, &line, &state_data);
macro_f_string_static_t_initialize_1("\n⸙\nfour\n全\n", 0, 14),
};
- f_array_length_t line = 0;
- f_array_length_t expect = 0;
+ f_number_unsigned_t line = 0;
+ f_number_unsigned_t expect = 0;
for (uint8_t i = 0; i < 5; expect += ++i) {
f_state_t state_data = f_state_t_initialize;
{
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
f_string_range_t range = f_string_range_t_initialize;
f_fss_count_lines_range(f_string_empty_s, range, &line, &state_data);
}
{
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
f_string_range_t range = f_string_range_t_initialize;
f_fss_count_lines_range(test, range, &line, &state_data);
}
{
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
f_string_range_t range = macro_f_string_range_t_initialize_1(0, test.used - 1);
f_fss_count_lines_range(f_string_empty_s, range, &line, &state_data);
macro_f_string_static_t_initialize_1("\n⸙\nfour\n全\n", 0, 14),
};
- f_array_length_t line = 0;
- f_array_length_t expect = 0;
+ f_number_unsigned_t line = 0;
+ f_number_unsigned_t expect = 0;
for (uint8_t i = 0; i < 5; expect += ++i) {
};
// Apply an offset so that the combining character is combining into something inside the quotes rather than the quotes for convenience and code safety.
- f_array_length_t offset[] = {
+ f_number_unsigned_t offset[] = {
0,
0,
0,
1,
};
- for (f_array_length_t i = 0; i < 11; ++i) {
+ for (f_number_unsigned_t i = 0; i < 11; ++i) {
const f_string_range_t range = macro_f_string_range_t_initialize_1(offset[i], tests[i].used - 1);
F_false,
};
- for (f_array_length_t i = 0; i < 12; ++i) {
+ for (f_number_unsigned_t i = 0; i < 12; ++i) {
const f_string_range_t range = macro_f_string_range_t_initialize_1(0, tests[i].used - 1);
F_false,
};
- for (f_array_length_t i = 0; i < 12; ++i) {
+ for (f_number_unsigned_t i = 0; i < 12; ++i) {
const f_string_range_t range = macro_f_string_range_t_initialize_1(0, tests[i].used - 1);
{ .start = 1, .stop = 1 },
};
- for (f_array_length_t i = 0; i < 14; ++i) {
+ for (f_number_unsigned_t i = 0; i < 14; ++i) {
const f_status_t status = f_fss_is_zero_width(tests[i], ranges[i], &state_data);
macro_f_string_range_t_initialize_1(1, tests[11].used - 2),
};
- f_array_length_t expects[] = {
+ f_number_unsigned_t expects[] = {
2,
2,
0,
macro_f_string_static_t_initialize_1("\0\0\0test\0\0", 0, 9),
};
- f_array_length_t expects[] = {
+ f_number_unsigned_t expects[] = {
0,
1,
3,
macro_f_string_static_t_initialize_1(" ́test", 0, 7),
};
- f_array_length_t expects[] = {
+ f_number_unsigned_t expects[] = {
0,
1,
3,
return;
}
- f_array_length_t width_max = 0;
+ f_number_unsigned_t width_max = 0;
if (width_max > buffer->used - range->start) {
width_max = buffer->used - range->start;
}
f_string_range_t found_vocabulary = f_string_range_t_initialize;
- f_array_length_t found_content = 0;
- f_array_length_t vocabulary_slash_first = 0;
- const f_array_length_t delimits_used = data->delimits.used;
+ f_number_unsigned_t found_content = 0;
+ f_number_unsigned_t vocabulary_slash_first = 0;
+ const f_number_unsigned_t delimits_used = data->delimits.used;
uint8_t quote = 0;
uint8_t wrapped = F_false; // 0x0 (false) = not wapped, 0x1 (true) = wrapped, 0x2 = valid wrapped.
// Save delimit for a would-be valid IKI that is now delimited.
if (buffer->string[range->start] == f_iki_syntax_quote_single_s.string[0] || buffer->string[range->start] == f_iki_syntax_quote_double_s.string[0] || buffer->string[range->start] == f_iki_syntax_quote_backtick_s.string[0]) {
- state->status = f_array_lengths_increase(state->step_small, &data->delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, &data->delimits);
if (F_status_is_error(state->status)) break;
data->delimits.array[data->delimits.used++] = vocabulary_slash_first;
}
if (buffer->string[range->start] == f_iki_syntax_slash_s.string[0]) {
- f_array_length_t content_slash_first = range->start;
- f_array_length_t content_slash_total = 0;
+ f_number_unsigned_t content_slash_first = range->start;
+ f_number_unsigned_t content_slash_total = 0;
while (range->start <= range->stop && range->start < buffer->used) {
}
if (buffer->string[range->start] == quote) {
- f_array_length_t content_slash_delimits = content_slash_total / 2;
+ f_number_unsigned_t content_slash_delimits = content_slash_total / 2;
f_string_range_t content_range = f_string_range_t_initialize;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
if (content_slash_total % 2) {
++content_slash_delimits;
}
- state->status = f_array_lengths_increase_by(content_slash_delimits, &data->delimits);
+ state->status = f_number_unsigneds_increase_by(content_slash_delimits, &data->delimits);
if (F_status_is_error(state->status)) break;
content_range.start = content_slash_first;
#ifndef _di_f_iki_data_t_
typedef struct {
f_string_ranges_t content;
- f_array_lengths_t delimits;
+ f_number_unsigneds_t delimits;
f_string_ranges_t variable;
f_string_ranges_t vocabulary;
} f_iki_data_t;
#define f_iki_data_t_initialize { \
f_string_ranges_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
f_string_ranges_t_initialize, \
f_string_ranges_t_initialize, \
}
#define macro_f_iki_data_t_clear(data) \
f_string_ranges_t_clear(data.content) \
- f_array_lengths_t_clear(data.delimits) \
+ f_number_unsigneds_t_clear(data.delimits) \
f_string_ranges_t_clear(data.variable) \
f_string_ranges_t_clear(data.vocabulary)
typedef struct {
f_iki_data_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_iki_datas_t;
#define f_iki_datas_t_initialize { 0, 0, 0 }
typedef struct {
f_iki_datas_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_iki_datass_t;
#define f_iki_datass_t_initialize { 0, 0, 0 }
f_status_t status = f_string_ranges_resize(0, &data->content);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_resize(0, &data->delimits);
+ status = f_number_unsigneds_resize(0, &data->delimits);
if (F_status_is_error(status)) return status;
status = f_string_ranges_resize(0, &data->variable);
f_status_t status = f_string_ranges_adjust(0, &data->content);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_adjust(0, &data->delimits);
+ status = f_number_unsigneds_adjust(0, &data->delimits);
if (F_status_is_error(status)) return status;
status = f_string_ranges_adjust(0, &data->variable);
#endif // _di_f_iki_data_destroy_
#ifndef _di_f_iki_datas_adjust_
- f_status_t f_iki_datas_adjust(const f_array_length_t length, f_iki_datas_t *datas) {
+ f_status_t f_iki_datas_adjust(const f_number_unsigned_t length, f_iki_datas_t *datas) {
#ifndef _di_level_0_parameter_checking_
if (!datas) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_iki_datas_append_all_
#ifndef _di_f_iki_datas_decimate_by_
- f_status_t f_iki_datas_decimate_by(const f_array_length_t amount, f_iki_datas_t *datas) {
+ f_status_t f_iki_datas_decimate_by(const f_number_unsigned_t amount, f_iki_datas_t *datas) {
#ifndef _di_level_0_parameter_checking_
if (!datas) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_iki_datas_decimate_by_
#ifndef _di_f_iki_datas_decrease_by_
- f_status_t f_iki_datas_decrease_by(const f_array_length_t amount, f_iki_datas_t *datas) {
+ f_status_t f_iki_datas_decrease_by(const f_number_unsigned_t amount, f_iki_datas_t *datas) {
#ifndef _di_level_0_parameter_checking_
if (!datas) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_iki_datas_decrease_by_
#ifndef _di_f_iki_datas_increase_
- f_status_t f_iki_datas_increase(const f_array_length_t step, f_iki_datas_t *datas) {
+ f_status_t f_iki_datas_increase(const f_number_unsigned_t step, f_iki_datas_t *datas) {
#ifndef _di_level_0_parameter_checking_
if (!datas) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && datas->used + 1 > datas->size) {
- f_array_length_t size = datas->used + step;
+ f_number_unsigned_t size = datas->used + step;
- if (size > F_array_length_t_size_d) {
- if (datas->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (datas->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_iki_datas_resize(size, datas);
#endif // _di_f_iki_datas_increase_
#ifndef _di_f_iki_datas_increase_by_
- f_status_t f_iki_datas_increase_by(const f_array_length_t amount, f_iki_datas_t *datas) {
+ f_status_t f_iki_datas_increase_by(const f_number_unsigned_t amount, f_iki_datas_t *datas) {
#ifndef _di_level_0_parameter_checking_
if (!datas) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (datas->used + amount > datas->size) {
- if (datas->used + amount > F_array_length_t_size_d) {
+ if (datas->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_iki_datas_increase_by_
#ifndef _di_f_iki_datas_resize_
- f_status_t f_iki_datas_resize(const f_array_length_t length, f_iki_datas_t *datas) {
+ f_status_t f_iki_datas_resize(const f_number_unsigned_t length, f_iki_datas_t *datas) {
#ifndef _di_level_0_parameter_checking_
if (!datas) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_iki_datas_resize_
#ifndef _di_f_iki_datass_adjust_
- f_status_t f_iki_datass_adjust(const f_array_length_t length, f_iki_datass_t *datass) {
+ f_status_t f_iki_datass_adjust(const f_number_unsigned_t length, f_iki_datass_t *datass) {
#ifndef _di_level_0_parameter_checking_
if (!datass) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_iki_datass_append_all_
#ifndef _di_f_iki_datass_decimate_by_
- f_status_t f_iki_datass_decimate_by(const f_array_length_t amount, f_iki_datass_t *datass) {
+ f_status_t f_iki_datass_decimate_by(const f_number_unsigned_t amount, f_iki_datass_t *datass) {
#ifndef _di_level_0_parameter_checking_
if (!datass) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_iki_datass_decimate_by_
#ifndef _di_f_iki_datass_decrease_by_
- f_status_t f_iki_datass_decrease_by(const f_array_length_t amount, f_iki_datass_t *datass) {
+ f_status_t f_iki_datass_decrease_by(const f_number_unsigned_t amount, f_iki_datass_t *datass) {
#ifndef _di_level_0_parameter_checking_
if (!datass) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_iki_datass_decrease_by_
#ifndef _di_f_iki_datass_increase_
- f_status_t f_iki_datass_increase(const f_array_length_t step, f_iki_datass_t *datass) {
+ f_status_t f_iki_datass_increase(const f_number_unsigned_t step, f_iki_datass_t *datass) {
#ifndef _di_level_0_parameter_checking_
if (!datass) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && datass->used + 1 > datass->size) {
- f_array_length_t size = datass->used + step;
+ f_number_unsigned_t size = datass->used + step;
- if (size > F_array_length_t_size_d) {
- if (datass->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (datass->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_iki_datass_resize(size, datass);
#endif // _di_f_iki_datass_increase_
#ifndef _di_f_iki_datass_increase_by_
- f_status_t f_iki_datass_increase_by(const f_array_length_t amount, f_iki_datass_t *datass) {
+ f_status_t f_iki_datass_increase_by(const f_number_unsigned_t amount, f_iki_datass_t *datass) {
#ifndef _di_level_0_parameter_checking_
if (!datass) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (datass->used + amount > datass->size) {
- if (datass->used + amount > F_array_length_t_size_d) {
+ if (datass->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_iki_datass_increase_by_
#ifndef _di_f_iki_datass_resize_
- f_status_t f_iki_datass_resize(const f_array_length_t length, f_iki_datass_t *datass) {
+ f_status_t f_iki_datass_resize(const f_number_unsigned_t length, f_iki_datass_t *datass) {
#ifndef _di_level_0_parameter_checking_
if (!datass) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_resize().
+ * Errors (with error bit) from: f_number_unsigneds_resize().
* Errors (with error bit) from: f_string_ranges_resize().
*
- * @see f_array_lengths_resize()
+ * @see f_number_unsigneds_resize()
* @see f_string_ranges_resize()
*/
#ifndef _di_f_iki_data_delete_
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_adjust().
+ * Errors (with error bit) from: f_number_unsigneds_adjust().
* Errors (with error bit) from: f_string_ranges_adjust().
*
- * @see f_array_lengths_adjust()
+ * @see f_number_unsigneds_adjust()
* @see f_string_ranges_adjust()
*/
#ifndef _di_f_iki_data_destroy_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_iki_datas_adjust_
- extern f_status_t f_iki_datas_adjust(const f_array_length_t length, f_iki_datas_t *datas);
+ extern f_status_t f_iki_datas_adjust(const f_number_unsigned_t length, f_iki_datas_t *datas);
#endif // _di_f_iki_datas_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_iki_datas_decimate_by_
- extern f_status_t f_iki_datas_decimate_by(const f_array_length_t amount, f_iki_datas_t *datas);
+ extern f_status_t f_iki_datas_decimate_by(const f_number_unsigned_t amount, f_iki_datas_t *datas);
#endif // _di_f_iki_datas_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_iki_datas_decrease_by_
- extern f_status_t f_iki_datas_decrease_by(const f_array_length_t amount, f_iki_datas_t *datas);
+ extern f_status_t f_iki_datas_decrease_by(const f_number_unsigned_t amount, f_iki_datas_t *datas);
#endif // _di_f_iki_datas_decrease_by_
/**
* Increase the size of the iki_datas array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_iki_datas_increase_
- extern f_status_t f_iki_datas_increase(const f_array_length_t step, f_iki_datas_t *datas);
+ extern f_status_t f_iki_datas_increase(const f_number_unsigned_t step, f_iki_datas_t *datas);
#endif // _di_f_iki_datas_increase_
/**
* Resize the iki_datas array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_iki_datas_increase_by_
- extern f_status_t f_iki_datas_increase_by(const f_array_length_t amount, f_iki_datas_t *datas);
+ extern f_status_t f_iki_datas_increase_by(const f_number_unsigned_t amount, f_iki_datas_t *datas);
#endif // _di_f_iki_datas_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_iki_datas_resize_
- extern f_status_t f_iki_datas_resize(const f_array_length_t length, f_iki_datas_t *datas);
+ extern f_status_t f_iki_datas_resize(const f_number_unsigned_t length, f_iki_datas_t *datas);
#endif // _di_f_iki_datas_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_iki_datass_adjust_
- extern f_status_t f_iki_datass_adjust(const f_array_length_t length, f_iki_datass_t *datass);
+ extern f_status_t f_iki_datass_adjust(const f_number_unsigned_t length, f_iki_datass_t *datass);
#endif // _di_f_iki_datass_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_iki_datass_decimate_by_
- extern f_status_t f_iki_datass_decimate_by(const f_array_length_t amount, f_iki_datass_t *datass);
+ extern f_status_t f_iki_datass_decimate_by(const f_number_unsigned_t amount, f_iki_datass_t *datass);
#endif // _di_f_iki_datass_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_iki_datass_decrease_by_
- extern f_status_t f_iki_datass_decrease_by(const f_array_length_t amount, f_iki_datass_t *datass);
+ extern f_status_t f_iki_datass_decrease_by(const f_number_unsigned_t amount, f_iki_datass_t *datass);
#endif // _di_f_iki_datass_decrease_by_
/**
* Increase the size of the iki_datass array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_iki_datass_increase_
- extern f_status_t f_iki_datass_increase(const f_array_length_t step, f_iki_datass_t *datass);
+ extern f_status_t f_iki_datass_increase(const f_number_unsigned_t step, f_iki_datass_t *datass);
#endif // _di_f_iki_datass_increase_
/**
* Resize the iki_datass array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_iki_datass_increase_by_
- extern f_status_t f_iki_datass_increase_by(const f_array_length_t amount, f_iki_datass_t *datass);
+ extern f_status_t f_iki_datass_increase_by(const f_number_unsigned_t amount, f_iki_datass_t *datass);
#endif // _di_f_iki_datass_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_iki_datass_resize_
- extern f_status_t f_iki_datass_resize(const f_array_length_t length, f_iki_datass_t *datass);
+ extern f_status_t f_iki_datass_resize(const f_number_unsigned_t length, f_iki_datass_t *datass);
#endif // _di_f_iki_datass_resize_
#ifdef __cplusplus
#endif
#if !defined(_di_f_iki_datas_adjust_) || !defined(_di_f_iki_datas_decimate_by_)
- f_status_t private_f_iki_datas_adjust(const f_array_length_t length, f_iki_datas_t *datas) {
+ f_status_t private_f_iki_datas_adjust(const f_number_unsigned_t length, f_iki_datas_t *datas) {
- if (datas->used + length > F_array_length_t_size_d) {
+ if (datas->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < datas->size; ++i) {
+ for (f_number_unsigned_t i = length; i < datas->size; ++i) {
status = f_string_ranges_adjust(0, &datas->array[i].content);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_adjust(0, &datas->array[i].delimits);
+ status = f_number_unsigneds_adjust(0, &datas->array[i].delimits);
if (F_status_is_error(status)) return status;
status = f_string_ranges_adjust(0, &datas->array[i].variable);
}
if (source.delimits.used) {
- status = f_array_lengths_append_all(source.delimits, &destination->array[destination->used].delimits);
+ status = f_number_unsigneds_append_all(source.delimits, &destination->array[destination->used].delimits);
if (F_status_is_error(status)) return status;
}
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].content.used = 0;
destination->array[destination->used].delimits.used = 0;
}
if (source.array[i].delimits.used) {
- status = f_array_lengths_append_all(source.array[i].delimits, &destination->array[destination->used].delimits);
+ status = f_number_unsigneds_append_all(source.array[i].delimits, &destination->array[destination->used].delimits);
if (F_status_is_error(status)) return status;
}
#endif // !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_append_all_) || !defined(_di_f_iki_datass_append_all_)
#if !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_decrease_by_) || !defined(_di_f_iki_datas_increase_) || !defined(_di_f_iki_datas_increase_by_) || !defined(_di_f_iki_datas_resize_)
- f_status_t private_f_iki_datas_resize(const f_array_length_t length, f_iki_datas_t *datas) {
+ f_status_t private_f_iki_datas_resize(const f_number_unsigned_t length, f_iki_datas_t *datas) {
- if (datas->used + length > F_array_length_t_size_d) {
+ if (datas->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < datas->size; ++i) {
+ for (f_number_unsigned_t i = length; i < datas->size; ++i) {
status = f_string_ranges_resize(0, &datas->array[i].content);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_resize(0, &datas->array[i].delimits);
+ status = f_number_unsigneds_resize(0, &datas->array[i].delimits);
if (F_status_is_error(status)) return status;
status = f_string_ranges_resize(0, &datas->array[i].variable);
#endif // !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_decrease_by_) || !defined(_di_f_iki_datas_increase_) || !defined(_di_f_iki_datas_increase_by_) || !defined(_di_f_iki_datas_resize_)
#if !defined(_di_f_iki_datass_adjust_) || !defined(_di_f_iki_datass_decimate_by_)
- f_status_t private_f_iki_datass_adjust(const f_array_length_t length, f_iki_datass_t *datass) {
+ f_status_t private_f_iki_datass_adjust(const f_number_unsigned_t length, f_iki_datass_t *datass) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < datass->size; ++i) {
+ for (f_number_unsigned_t i = length; i < datass->size; ++i) {
status = f_memory_destroy(datass->array[i].size, sizeof(f_iki_datas_t), (void **) & datass->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_iki_datass_adjust_) || !defined(_di_f_iki_datass_decimate_by_)
#if !defined(_di_f_iki_datass_decrease_by_) || !defined(_di_f_iki_datass_increase_) || !defined(_di_f_iki_datass_increase_by_) || !defined(_di_f_iki_datass_resize_)
- f_status_t private_f_iki_datass_resize(const f_array_length_t length, f_iki_datass_t *datass) {
+ f_status_t private_f_iki_datass_resize(const f_number_unsigned_t length, f_iki_datass_t *datass) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < datass->size; ++i) {
+ for (f_number_unsigned_t i = length; i < datass->size; ++i) {
status = f_memory_delete(datass->array[i].size, sizeof(f_iki_datas_t), (void **) & datass->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_iki_datas_decimate_by()
*/
#if !defined(_di_f_iki_datas_adjust_) || !defined(_di_f_iki_datas_decimate_by_)
- extern f_status_t private_f_iki_datas_adjust(const f_array_length_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_datas_adjust(const f_number_unsigned_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_datas_adjust_) || !defined(_di_f_iki_datas_decimate_by_)
/**
* @see f_iki_datass_append()
*/
#if !defined(_di_f_iki_datas_resize_) || !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_decimate_by_) || !defined(_di_f_iki_datass_append_)
- extern f_status_t private_f_iki_datas_resize(const f_array_length_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_datas_resize(const f_number_unsigned_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_datas_resize_) || !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_decimate_by_) || !defined(_di_f_iki_datass_append_)
/**
* @see f_iki_datass_decimate_by()
*/
#if !defined(_di_f_iki_datass_adjust_) || !defined(_di_f_iki_datass_decimate_by_)
- extern f_status_t private_f_iki_datass_adjust(const f_array_length_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_datass_adjust(const f_number_unsigned_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_datass_adjust_) || !defined(_di_f_iki_datass_decimate_by_)
/**
* @see f_iki_datass_resize()
*/
#if !defined(_di_f_iki_datass_decrease_by_) || !defined(_di_f_iki_datass_increase_) || !defined(_di_f_iki_datass_increase_by_) || !defined(_di_f_iki_datass_resize_)
- extern f_status_t private_f_iki_datass_resize(const f_array_length_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_datass_resize(const f_number_unsigned_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_datass_decrease_by_) || !defined(_di_f_iki_datass_increase_) || !defined(_di_f_iki_datass_increase_by_) || !defined(_di_f_iki_datass_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_iki_content_is_) || !defined(_di_f_iki_content_partial_is_)
- f_status_t private_f_iki_content_partial_is(const f_string_t buffer, const f_array_length_t length, const f_char_t quote) {
+ f_status_t private_f_iki_content_partial_is(const f_string_t buffer, const f_number_unsigned_t length, const f_char_t quote) {
- f_array_length_t delimits = 0;
+ f_number_unsigned_t delimits = 0;
- for (f_array_length_t i = 0; i < length; i += macro_f_utf_byte_width(buffer[i])) {
+ for (f_number_unsigned_t i = 0; i < length; i += macro_f_utf_byte_width(buffer[i])) {
if (buffer[i] == quote) {
if (delimits && delimits % 2) {
#endif // !defined(_di_f_iki_content_is_) || !defined(_di_f_iki_content_partial_is_)
#if !defined(_di_f_iki_object_is_) || !defined(_di_f_iki_object_partial_is_)
- f_status_t private_f_iki_object_partial_is(const f_string_t buffer, const f_array_length_t length) {
+ f_status_t private_f_iki_object_partial_is(const f_string_t buffer, const f_number_unsigned_t length) {
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < length; i += macro_f_utf_byte_width(buffer[i])) {
+ for (f_number_unsigned_t i = 0; i < length; i += macro_f_utf_byte_width(buffer[i])) {
status = f_utf_is_word_dash_plus(buffer + i, length - i, F_false);
if (F_status_is_error(status)) return status;
* @see f_iki_content_partial_is()
*/
#if !defined(_di_f_iki_content_is_) || !defined(_di_f_iki_content_partial_is_)
- extern f_status_t private_f_iki_content_partial_is(const f_string_t buffer, const f_array_length_t length, const f_char_t quote) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_content_partial_is(const f_string_t buffer, const f_number_unsigned_t length, const f_char_t quote) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_content_is_) || !defined(_di_f_iki_content_partial_is_)
/**
* F_none on success.
* F_data_not on success, but there is no reason to increase size (used + 1 <= size).
*
- * Errors (with error bit) from: f_array_lengths_adjust().
+ * Errors (with error bit) from: f_number_unsigneds_adjust().
* Errors (with error bit) from: f_memory_adjust().
* Errors (with error bit) from: f_string_ranges_adjust().
*
- * @see f_array_lengths_adjust()
+ * @see f_number_unsigneds_adjust()
* @see f_memory_adjust()
* @see f_string_ranges_adjust()
*/
#if !defined(_di_f_iki_datas_adjust_) || !defined(_di_f_iki_datas_decimate_by_)
- extern f_status_t private_f_iki_datas_adjust(const f_array_length_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_datas_adjust(const f_number_unsigned_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_datas_adjust_) || !defined(_di_f_iki_datas_decimate_by_)
/**
* F_none on success.
* F_data_not on success, but there is no reason to increase size (used + 1 <= size).
*
- * Errors (with error bit) from: f_array_lengths_resize().
+ * Errors (with error bit) from: f_number_unsigneds_resize().
* Errors (with error bit) from: f_memory_resize().
* Errors (with error bit) from: f_string_ranges_resize().
*
- * @see f_array_lengths_resize()
+ * @see f_number_unsigneds_resize()
* @see f_memory_resize()
* @see f_string_ranges_resize()
*/
#if !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_decrease_by_) || !defined(_di_f_iki_datas_increase_) || !defined(_di_f_iki_datas_increase_by_) || !defined(_di_f_iki_datas_resize_)
- extern f_status_t private_f_iki_datas_resize(const f_array_length_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_datas_resize(const f_number_unsigned_t length, f_iki_datas_t *datas) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_decrease_by_) || !defined(_di_f_iki_datas_increase_) || !defined(_di_f_iki_datas_increase_by_) || !defined(_di_f_iki_datas_resize_)
/**
* @see f_iki_datass_decimate_by()
*/
#if !defined(_di_f_iki_datass_adjust_) || !defined(_di_f_iki_datass_decimate_by_)
- extern f_status_t private_f_iki_datass_adjust(const f_array_length_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_datass_adjust(const f_number_unsigned_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_datass_adjust_) || !defined(_di_f_iki_datass_decimate_by_)
/**
* @see f_iki_datass_resize()
*/
#if !defined(_di_f_iki_datass_decrease_by_) || !defined(_di_f_iki_datass_increase_) || !defined(_di_f_iki_datass_increase_by_) || !defined(_di_f_iki_datass_resize_)
- extern f_status_t private_f_iki_datass_resize(const f_array_length_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_datass_resize(const f_number_unsigned_t length, f_iki_datass_t *datass) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_datass_decrease_by_) || !defined(_di_f_iki_datass_increase_) || !defined(_di_f_iki_datass_increase_by_) || !defined(_di_f_iki_datass_resize_)
/**
* @see f_iki_object_partial_is()
*/
#if !defined(_di_f_iki_object_is_) || !defined(_di_f_iki_object_partial_is_)
- extern f_status_t private_f_iki_object_partial_is(const f_string_t buffer, const f_array_length_t length) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_iki_object_partial_is(const f_string_t buffer, const f_number_unsigned_t length) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_iki_object_is_) || !defined(_di_f_iki_object_partial_is_)
#ifdef __cplusplus
void test__f_iki_datas_append__works(void **state) {
- const f_array_length_t length = 5;
+ const f_number_unsigned_t length = 5;
f_iki_data_t source = f_iki_data_t_initialize;
f_iki_datas_t destination = f_iki_datas_t_initialize;
{
- f_array_length_t i = 1;
+ f_number_unsigned_t i = 1;
f_status_t status = f_string_ranges_resize(length, &source.content);
assert_int_equal(status, F_none);
assert_int_equal(source.content.size, length);
- status = f_array_lengths_resize(length, &source.delimits);
+ status = f_number_unsigneds_resize(length, &source.delimits);
assert_int_equal(status, F_none);
assert_int_equal(source.delimits.size, length);
assert_int_equal(destination.array[0].variable.used, source.variable.used);
assert_int_equal(destination.array[0].vocabulary.used, source.vocabulary.used);
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
assert_int_equal(destination.array[0].content.array[i].start, source.content.array[i].start);
assert_int_equal(destination.array[0].content.array[i].stop, source.content.array[i].stop);
assert_int_equal(status, F_none);
assert_int_equal(source.size, 2);
- f_array_length_t i = 1;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 0;
for (; j < 2; ++j) {
assert_int_equal(status, F_none);
assert_int_equal(source.array[j].content.size, length);
- status = f_array_lengths_resize(length, &source.array[j].delimits);
+ status = f_number_unsigneds_resize(length, &source.array[j].delimits);
assert_int_equal(status, F_none);
assert_int_equal(source.array[j].delimits.size, length);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t j = 0; j < 2; ++j) {
+ for (f_number_unsigned_t j = 0; j < 2; ++j) {
assert_int_equal(destination.array[j].content.used, source.array[j].content.used);
assert_int_equal(destination.array[j].delimits.used, source.array[j].delimits.used);
assert_int_equal(destination.array[j].variable.used, source.array[j].variable.used);
assert_int_equal(destination.array[j].vocabulary.used, source.array[j].vocabulary.used);
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
assert_int_equal(destination.array[j].content.array[i].start, source.array[j].content.array[i].start);
assert_int_equal(destination.array[j].content.array[i].stop, source.array[j].content.array[i].stop);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].content.array);
free((void *) source.array[i].delimits.array);
free((void *) source.array[i].vocabulary.array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].content.array);
free((void *) destination.array[i].delimits.array);
assert_int_equal(status, F_none);
assert_int_equal(source.size, length_outer);
- f_array_length_t i = 1;
+ f_number_unsigned_t i = 1;
- for (f_array_length_t j = 0; j < length_outer; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
status = f_string_ranges_resize(length, &source.array[j].content);
assert_int_equal(status, F_none);
assert_int_equal(source.array[j].content.size, length);
- status = f_array_lengths_resize(length, &source.array[j].delimits);
+ status = f_number_unsigneds_resize(length, &source.array[j].delimits);
assert_int_equal(status, F_none);
assert_int_equal(source.array[j].delimits.size, length);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].used, source.used);
- for (f_array_length_t j = 0; j < length_outer; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
assert_int_equal(destination.array[0].array[j].content.used, source.array[j].content.used);
assert_int_equal(destination.array[0].array[j].delimits.used, source.array[j].delimits.used);
assert_int_equal(destination.array[0].array[j].variable.used, source.array[j].variable.used);
assert_int_equal(destination.array[0].array[j].vocabulary.used, source.array[j].vocabulary.used);
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
assert_int_equal(destination.array[0].array[j].content.array[i].start, source.array[j].content.array[i].start);
assert_int_equal(destination.array[0].array[j].content.array[i].stop, source.array[j].content.array[i].stop);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].content.array);
free((void *) source.array[i].delimits.array);
free((void *) source.array[i].vocabulary.array);
} // for
- for (f_array_length_t j = 0; j < length_outer; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].content.array);
free((void *) destination.array[j].array[i].delimits.array);
assert_int_equal(status, F_none);
assert_int_equal(source.size, length_outer);
- f_array_length_t i = 1;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 0;
for (; source.used < length_outer; ++source.used) {
assert_int_equal(status, F_none);
assert_int_equal(source.array[source.used].array[j].content.size, length);
- status = f_array_lengths_resize(length, &source.array[source.used].array[j].delimits);
+ status = f_number_unsigneds_resize(length, &source.array[source.used].array[j].delimits);
assert_int_equal(status, F_none);
assert_int_equal(source.array[source.used].array[j].delimits.size, length);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t k = 0; k < length_outer; ++k) {
+ for (f_number_unsigned_t k = 0; k < length_outer; ++k) {
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[k].array[j].content.used, source.array[k].array[j].content.used);
assert_int_equal(destination.array[k].array[j].delimits.used, source.array[k].array[j].delimits.used);
assert_int_equal(destination.array[k].array[j].variable.used, source.array[k].array[j].variable.used);
assert_int_equal(destination.array[k].array[j].vocabulary.used, source.array[k].array[j].vocabulary.used);
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
assert_int_equal(destination.array[k].array[j].content.array[i].start, source.array[k].array[j].content.array[i].start);
assert_int_equal(destination.array[k].array[j].content.array[i].stop, source.array[k].array[j].content.array[i].stop);
} // for
}
- for (f_array_length_t j = 0; j < source.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < source.used; ++j) {
- for (f_array_length_t i = 0; i < source.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.array[j].used; ++i) {
free((void *) source.array[j].array[i].content.array);
free((void *) source.array[j].array[i].delimits.array);
free((void *) source.array[j].array);
} // for
- for (f_array_length_t j = 0; j < destination.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.used; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].content.array);
free((void *) destination.array[j].array[i].delimits.array);
macro_f_string_static_t_initialize_1("url:\"https://localhost/fake-0.7.0.tar.gz?query=xx¶meter=yyy%20\" end.", 0, 72),
};
- const f_array_length_t matches[] = {
+ const f_number_unsigned_t matches[] = {
0,
0,
1,
#endif
#if !defined(_di_f_limit_sets_adjust_) || !defined(_di_f_limit_sets_decimate_by_)
- f_status_t private_f_limit_sets_adjust(const f_array_length_t length, f_limit_sets_t *sets) {
+ f_status_t private_f_limit_sets_adjust(const f_number_unsigned_t length, f_limit_sets_t *sets) {
const f_status_t status = f_memory_adjust(sets->size, length, sizeof(f_limit_set_t), (void **) & sets->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_limit_sets_append_) || !defined(_di_f_limit_sets_append_all_) || !defined(_di_f_limit_setss_append_all_)
#if !defined(_di_f_limit_sets_resize_) || !defined(_di_f_limit_sets_append_) || !defined(_di_f_limit_sets_decimate_by_) || !defined(_di_f_limit_setss_append_)
- f_status_t private_f_limit_sets_resize(const f_array_length_t length, f_limit_sets_t *sets) {
+ f_status_t private_f_limit_sets_resize(const f_number_unsigned_t length, f_limit_sets_t *sets) {
const f_status_t status = f_memory_resize(sets->size, length, sizeof(f_limit_set_t), (void **) & sets->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_limit_sets_resize_) || !defined(_di_f_limit_sets_append_) || !defined(_di_f_limit_sets_decimate_by_) || !defined(_di_f_limit_setss_append_)
#if !defined(_di_f_limit_setss_adjust_) || !defined(_di_f_limit_setss_decimate_by_)
- f_status_t private_f_limit_setss_adjust(const f_array_length_t length, f_limit_setss_t *setss) {
+ f_status_t private_f_limit_setss_adjust(const f_number_unsigned_t length, f_limit_setss_t *setss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < setss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < setss->size; ++i) {
status = f_memory_destroy(setss->array[i].size, sizeof(f_limit_sets_t), (void **) & setss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_limit_setss_adjust_) || !defined(_di_f_limit_setss_decimate_by_)
#if !defined(_di_f_limit_setss_decrease_by_) || !defined(_di_f_limit_setss_increase_) || !defined(_di_f_limit_setss_increase_by_) || !defined(_di_f_limit_setss_resize_)
- f_status_t private_f_limit_setss_resize(const f_array_length_t length, f_limit_setss_t *setss) {
+ f_status_t private_f_limit_setss_resize(const f_number_unsigned_t length, f_limit_setss_t *setss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < setss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < setss->size; ++i) {
status = f_memory_delete(setss->array[i].size, sizeof(f_limit_sets_t), (void **) & setss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_limit_sets_decimate_by()
*/
#if !defined(_di_f_limit_sets_adjust_) || !defined(_di_f_limit_sets_decimate_by_)
- extern f_status_t private_f_limit_sets_adjust(const f_array_length_t length, f_limit_sets_t *sets) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_limit_sets_adjust(const f_number_unsigned_t length, f_limit_sets_t *sets) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_limit_sets_adjust_) || !defined(_di_f_limit_sets_decimate_by_)
/**
* @see f_limit_setss_append()
*/
#if !defined(_di_f_limit_sets_resize_) || !defined(_di_f_limit_sets_append_) || !defined(_di_f_limit_sets_decimate_by_) || !defined(_di_f_limit_setss_append_)
- extern f_status_t private_f_limit_sets_resize(const f_array_length_t length, f_limit_sets_t *sets) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_limit_sets_resize(const f_number_unsigned_t length, f_limit_sets_t *sets) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_limit_sets_resize_) || !defined(_di_f_limit_sets_append_) || !defined(_di_f_limit_sets_decimate_by_) || !defined(_di_f_limit_setss_append_)
/**
* @see f_limit_setss_decimate_by()
*/
#if !defined(_di_f_limit_setss_adjust_) || !defined(_di_f_limit_setss_decimate_by_)
- extern f_status_t private_f_limit_setss_adjust(const f_array_length_t length, f_limit_setss_t *setss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_limit_setss_adjust(const f_number_unsigned_t length, f_limit_setss_t *setss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_limit_setss_adjust_) || !defined(_di_f_limit_setss_decimate_by_)
/**
* @see f_limit_setss_resize()
*/
#if !defined(_di_f_limit_setss_decrease_by_) || !defined(_di_f_limit_setss_increase_) || !defined(_di_f_limit_setss_increase_by_) || !defined(_di_f_limit_setss_resize_)
- extern f_status_t private_f_limit_setss_resize(const f_array_length_t length, f_limit_setss_t *setss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_limit_setss_resize(const f_number_unsigned_t length, f_limit_setss_t *setss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_limit_setss_decrease_by_) || !defined(_di_f_limit_setss_increase_) || !defined(_di_f_limit_setss_increase_by_) || !defined(_di_f_limit_setss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_limit_values_adjust_) || !defined(_di_f_limit_values_decimate_by_)
- f_status_t private_f_limit_values_adjust(const f_array_length_t length, f_limit_values_t *values) {
+ f_status_t private_f_limit_values_adjust(const f_number_unsigned_t length, f_limit_values_t *values) {
const f_status_t status = f_memory_adjust(values->size, length, sizeof(f_limit_value_t), (void **) & values->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_limit_values_append_) || !defined(_di_f_limit_values_append_all_) || !defined(_di_f_limit_valuess_append_all_)
#if !defined(_di_f_limit_values_resize_) || !defined(_di_f_limit_values_append_) || !defined(_di_f_limit_values_decimate_by_) || !defined(_di_f_limit_valuess_append_)
- f_status_t private_f_limit_values_resize(const f_array_length_t length, f_limit_values_t *values) {
+ f_status_t private_f_limit_values_resize(const f_number_unsigned_t length, f_limit_values_t *values) {
const f_status_t status = f_memory_resize(values->size, length, sizeof(f_limit_value_t), (void **) & values->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_limit_values_resize_) || !defined(_di_f_limit_values_append_) || !defined(_di_f_limit_values_decimate_by_) || !defined(_di_f_limit_valuess_append_)
#if !defined(_di_f_limit_valuess_adjust_) || !defined(_di_f_limit_valuess_decimate_by_)
- f_status_t private_f_limit_valuess_adjust(const f_array_length_t length, f_limit_valuess_t *valuess) {
+ f_status_t private_f_limit_valuess_adjust(const f_number_unsigned_t length, f_limit_valuess_t *valuess) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < valuess->size; ++i) {
+ for (f_number_unsigned_t i = length; i < valuess->size; ++i) {
status = f_memory_destroy(valuess->array[i].size, sizeof(f_limit_values_t), (void **) & valuess->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_limit_valuess_adjust_) || !defined(_di_f_limit_valuess_decimate_by_)
#if !defined(_di_f_limit_valuess_decrease_by_) || !defined(_di_f_limit_valuess_increase_) || !defined(_di_f_limit_valuess_increase_by_) || !defined(_di_f_limit_valuess_resize_)
- f_status_t private_f_limit_valuess_resize(const f_array_length_t length, f_limit_valuess_t *valuess) {
+ f_status_t private_f_limit_valuess_resize(const f_number_unsigned_t length, f_limit_valuess_t *valuess) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < valuess->size; ++i) {
+ for (f_number_unsigned_t i = length; i < valuess->size; ++i) {
status = f_memory_delete(valuess->array[i].size, sizeof(f_limit_values_t), (void **) & valuess->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_limit_values_decimate_by()
*/
#if !defined(_di_f_limit_values_adjust_) || !defined(_di_f_limit_values_decimate_by_)
- extern f_status_t private_f_limit_values_adjust(const f_array_length_t length, f_limit_values_t *values) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_limit_values_adjust(const f_number_unsigned_t length, f_limit_values_t *values) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_limit_values_adjust_) || !defined(_di_f_limit_values_decimate_by_)
/**
* @see f_limit_valuess_append()
*/
#if !defined(_di_f_limit_values_resize_) || !defined(_di_f_limit_values_append_) || !defined(_di_f_limit_values_decimate_by_) || !defined(_di_f_limit_valuess_append_)
- extern f_status_t private_f_limit_values_resize(const f_array_length_t length, f_limit_values_t *values) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_limit_values_resize(const f_number_unsigned_t length, f_limit_values_t *values) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_limit_values_resize_) || !defined(_di_f_limit_values_append_) || !defined(_di_f_limit_values_decimate_by_) || !defined(_di_f_limit_valuess_append_)
/**
* @see f_limit_valuess_decimate_by()
*/
#if !defined(_di_f_limit_valuess_adjust_) || !defined(_di_f_limit_valuess_decimate_by_)
- extern f_status_t private_f_limit_valuess_adjust(const f_array_length_t length, f_limit_valuess_t *valuess) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_limit_valuess_adjust(const f_number_unsigned_t length, f_limit_valuess_t *valuess) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_limit_valuess_adjust_) || !defined(_di_f_limit_valuess_decimate_by_)
/**
* @see f_limit_valuess_resize()
*/
#if !defined(_di_f_limit_valuess_decrease_by_) || !defined(_di_f_limit_valuess_increase_) || !defined(_di_f_limit_valuess_increase_by_) || !defined(_di_f_limit_valuess_resize_)
- extern f_status_t private_f_limit_valuess_resize(const f_array_length_t length, f_limit_valuess_t *valuess) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_limit_valuess_resize(const f_number_unsigned_t length, f_limit_valuess_t *valuess) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_limit_valuess_decrease_by_) || !defined(_di_f_limit_valuess_increase_) || !defined(_di_f_limit_valuess_increase_by_) || !defined(_di_f_limit_valuess_resize_)
#ifdef __cplusplus
#endif
#ifndef _di_f_limit_sets_adjust_
- f_status_t f_limit_sets_adjust(const f_array_length_t length, f_limit_sets_t *sets) {
+ f_status_t f_limit_sets_adjust(const f_number_unsigned_t length, f_limit_sets_t *sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_sets_append_all_
#ifndef _di_f_limit_sets_decimate_by_
- f_status_t f_limit_sets_decimate_by(const f_array_length_t amount, f_limit_sets_t *sets) {
+ f_status_t f_limit_sets_decimate_by(const f_number_unsigned_t amount, f_limit_sets_t *sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_sets_decimate_by_
#ifndef _di_f_limit_sets_decrease_by_
- f_status_t f_limit_sets_decrease_by(const f_array_length_t amount, f_limit_sets_t *sets) {
+ f_status_t f_limit_sets_decrease_by(const f_number_unsigned_t amount, f_limit_sets_t *sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_sets_decrease_by_
#ifndef _di_f_limit_sets_increase_
- f_status_t f_limit_sets_increase(const f_array_length_t step, f_limit_sets_t *sets) {
+ f_status_t f_limit_sets_increase(const f_number_unsigned_t step, f_limit_sets_t *sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && sets->used + 1 > sets->size) {
- f_array_length_t size = sets->used + step;
+ f_number_unsigned_t size = sets->used + step;
- if (size > F_array_length_t_size_d) {
- if (sets->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (sets->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_limit_sets_resize(size, sets);
#endif // _di_f_limit_sets_increase_
#ifndef _di_f_limit_sets_increase_by_
- f_status_t f_limit_sets_increase_by(const f_array_length_t amount, f_limit_sets_t *sets) {
+ f_status_t f_limit_sets_increase_by(const f_number_unsigned_t amount, f_limit_sets_t *sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (sets->used + amount > sets->size) {
- if (sets->used + amount > F_array_length_t_size_d) {
+ if (sets->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_limit_sets_increase_by_
#ifndef _di_f_limit_sets_resize_
- f_status_t f_limit_sets_resize(const f_array_length_t length, f_limit_sets_t *sets) {
+ f_status_t f_limit_sets_resize(const f_number_unsigned_t length, f_limit_sets_t *sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_sets_resize_
#ifndef _di_f_limit_setss_adjust_
- f_status_t f_limit_setss_adjust(const f_array_length_t length, f_limit_setss_t *setss) {
+ f_status_t f_limit_setss_adjust(const f_number_unsigned_t length, f_limit_setss_t *setss) {
#ifndef _di_level_0_parameter_checking_
if (!setss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_limit_setss_append_all_
#ifndef _di_f_limit_setss_decimate_by_
- f_status_t f_limit_setss_decimate_by(const f_array_length_t amount, f_limit_setss_t *setss) {
+ f_status_t f_limit_setss_decimate_by(const f_number_unsigned_t amount, f_limit_setss_t *setss) {
#ifndef _di_level_0_parameter_checking_
if (!setss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_setss_decimate_by_
#ifndef _di_f_limit_setss_decrease_by_
- f_status_t f_limit_setss_decrease_by(const f_array_length_t amount, f_limit_setss_t *setss) {
+ f_status_t f_limit_setss_decrease_by(const f_number_unsigned_t amount, f_limit_setss_t *setss) {
#ifndef _di_level_0_parameter_checking_
if (!setss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_setss_decrease_by_
#ifndef _di_f_limit_setss_increase_
- f_status_t f_limit_setss_increase(const f_array_length_t step, f_limit_setss_t *setss) {
+ f_status_t f_limit_setss_increase(const f_number_unsigned_t step, f_limit_setss_t *setss) {
#ifndef _di_level_0_parameter_checking_
if (!setss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && setss->used + 1 > setss->size) {
- f_array_length_t size = setss->used + step;
+ f_number_unsigned_t size = setss->used + step;
- if (size > F_array_length_t_size_d) {
- if (setss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (setss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_limit_setss_resize(size, setss);
#endif // _di_f_limit_setss_increase_
#ifndef _di_f_limit_setss_increase_by_
- f_status_t f_limit_setss_increase_by(const f_array_length_t amount, f_limit_setss_t *setss) {
+ f_status_t f_limit_setss_increase_by(const f_number_unsigned_t amount, f_limit_setss_t *setss) {
#ifndef _di_level_0_parameter_checking_
if (!setss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (setss->used + amount > setss->size) {
- if (setss->used + amount > F_array_length_t_size_d) {
+ if (setss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_limit_setss_increase_by_
#ifndef _di_f_limit_setss_resize_
- f_status_t f_limit_setss_resize(const f_array_length_t length, f_limit_setss_t *setss) {
+ f_status_t f_limit_setss_resize(const f_number_unsigned_t length, f_limit_setss_t *setss) {
#ifndef _di_level_0_parameter_checking_
if (!setss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_limit_set_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_limit_sets_t;
#define f_limit_sets_t_initialize { 0, 0, 0 }
typedef struct {
f_limit_sets_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_limit_setss_t;
#define f_limit_setss_t_initialize { 0, 0, 0 }
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_limit_sets_adjust_
- extern f_status_t f_limit_sets_adjust(const f_array_length_t length, f_limit_sets_t *sets);
+ extern f_status_t f_limit_sets_adjust(const f_number_unsigned_t length, f_limit_sets_t *sets);
#endif // _di_f_limit_sets_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_limit_sets_decimate_by_
- extern f_status_t f_limit_sets_decimate_by(const f_array_length_t amount, f_limit_sets_t *sets);
+ extern f_status_t f_limit_sets_decimate_by(const f_number_unsigned_t amount, f_limit_sets_t *sets);
#endif // _di_f_limit_sets_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_sets_decrease_by_
- extern f_status_t f_limit_sets_decrease_by(const f_array_length_t amount, f_limit_sets_t *sets);
+ extern f_status_t f_limit_sets_decrease_by(const f_number_unsigned_t amount, f_limit_sets_t *sets);
#endif // _di_f_limit_sets_decrease_by_
/**
* Increase the size of the sets array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_sets_increase_
- extern f_status_t f_limit_sets_increase(const f_array_length_t step, f_limit_sets_t *sets);
+ extern f_status_t f_limit_sets_increase(const f_number_unsigned_t step, f_limit_sets_t *sets);
#endif // _di_f_limit_sets_increase_
/**
* Resize the sets array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_sets_increase_by_
- extern f_status_t f_limit_sets_increase_by(const f_array_length_t amount, f_limit_sets_t *sets);
+ extern f_status_t f_limit_sets_increase_by(const f_number_unsigned_t amount, f_limit_sets_t *sets);
#endif // _di_f_limit_sets_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_sets_resize_
- extern f_status_t f_limit_sets_resize(const f_array_length_t length, f_limit_sets_t *sets);
+ extern f_status_t f_limit_sets_resize(const f_number_unsigned_t length, f_limit_sets_t *sets);
#endif // _di_f_limit_sets_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_limit_setss_adjust_
- extern f_status_t f_limit_setss_adjust(const f_array_length_t length, f_limit_setss_t *setss);
+ extern f_status_t f_limit_setss_adjust(const f_number_unsigned_t length, f_limit_setss_t *setss);
#endif // _di_f_limit_setss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_limit_setss_decimate_by_
- extern f_status_t f_limit_setss_decimate_by(const f_array_length_t amount, f_limit_setss_t *setss);
+ extern f_status_t f_limit_setss_decimate_by(const f_number_unsigned_t amount, f_limit_setss_t *setss);
#endif // _di_f_limit_setss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_setss_decrease_by_
- extern f_status_t f_limit_setss_decrease_by(const f_array_length_t amount, f_limit_setss_t *setss);
+ extern f_status_t f_limit_setss_decrease_by(const f_number_unsigned_t amount, f_limit_setss_t *setss);
#endif // _di_f_limit_setss_decrease_by_
/**
* Increase the size of the setss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_setss_increase_
- extern f_status_t f_limit_setss_increase(const f_array_length_t step, f_limit_setss_t *setss);
+ extern f_status_t f_limit_setss_increase(const f_number_unsigned_t step, f_limit_setss_t *setss);
#endif // _di_f_limit_setss_increase_
/**
* Resize the setss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_setss_increase_by_
- extern f_status_t f_limit_setss_increase_by(const f_array_length_t amount, f_limit_setss_t *setss);
+ extern f_status_t f_limit_setss_increase_by(const f_number_unsigned_t amount, f_limit_setss_t *setss);
#endif // _di_f_limit_setss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_setss_resize_
- extern f_status_t f_limit_setss_resize(const f_array_length_t length, f_limit_setss_t *setss);
+ extern f_status_t f_limit_setss_resize(const f_number_unsigned_t length, f_limit_setss_t *setss);
#endif // _di_f_limit_setss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_limit_values_adjust_
- f_status_t f_limit_values_adjust(const f_array_length_t length, f_limit_values_t *values) {
+ f_status_t f_limit_values_adjust(const f_number_unsigned_t length, f_limit_values_t *values) {
#ifndef _di_level_0_parameter_checking_
if (!values) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_values_append_all_
#ifndef _di_f_limit_values_decimate_by_
- f_status_t f_limit_values_decimate_by(const f_array_length_t amount, f_limit_values_t *values) {
+ f_status_t f_limit_values_decimate_by(const f_number_unsigned_t amount, f_limit_values_t *values) {
#ifndef _di_level_0_parameter_checking_
if (!values) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_values_decimate_by_
#ifndef _di_f_limit_values_decrease_by_
- f_status_t f_limit_values_decrease_by(const f_array_length_t amount, f_limit_values_t *values) {
+ f_status_t f_limit_values_decrease_by(const f_number_unsigned_t amount, f_limit_values_t *values) {
#ifndef _di_level_0_parameter_checking_
if (!values) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_values_decrease_by_
#ifndef _di_f_limit_values_increase_
- f_status_t f_limit_values_increase(const f_array_length_t step, f_limit_values_t *values) {
+ f_status_t f_limit_values_increase(const f_number_unsigned_t step, f_limit_values_t *values) {
#ifndef _di_level_0_parameter_checking_
if (!values) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && values->used + 1 > values->size) {
- f_array_length_t size = values->used + step;
+ f_number_unsigned_t size = values->used + step;
- if (size > F_array_length_t_size_d) {
- if (values->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (values->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_limit_values_resize(size, values);
#endif // _di_f_limit_values_increase_
#ifndef _di_f_limit_values_increase_by_
- f_status_t f_limit_values_increase_by(const f_array_length_t amount, f_limit_values_t *values) {
+ f_status_t f_limit_values_increase_by(const f_number_unsigned_t amount, f_limit_values_t *values) {
#ifndef _di_level_0_parameter_checking_
if (!values) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (values->used + amount > values->size) {
- if (values->used + amount > F_array_length_t_size_d) {
+ if (values->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_limit_values_increase_by_
#ifndef _di_f_limit_values_resize_
- f_status_t f_limit_values_resize(const f_array_length_t length, f_limit_values_t *values) {
+ f_status_t f_limit_values_resize(const f_number_unsigned_t length, f_limit_values_t *values) {
#ifndef _di_level_0_parameter_checking_
if (!values) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_values_resize_
#ifndef _di_f_limit_valuess_adjust_
- f_status_t f_limit_valuess_adjust(const f_array_length_t length, f_limit_valuess_t *valuess) {
+ f_status_t f_limit_valuess_adjust(const f_number_unsigned_t length, f_limit_valuess_t *valuess) {
#ifndef _di_level_0_parameter_checking_
if (!valuess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_limit_valuess_append_all_
#ifndef _di_f_limit_valuess_decimate_by_
- f_status_t f_limit_valuess_decimate_by(const f_array_length_t amount, f_limit_valuess_t *valuess) {
+ f_status_t f_limit_valuess_decimate_by(const f_number_unsigned_t amount, f_limit_valuess_t *valuess) {
#ifndef _di_level_0_parameter_checking_
if (!valuess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_valuess_decimate_by_
#ifndef _di_f_limit_valuess_decrease_by_
- f_status_t f_limit_valuess_decrease_by(const f_array_length_t amount, f_limit_valuess_t *valuess) {
+ f_status_t f_limit_valuess_decrease_by(const f_number_unsigned_t amount, f_limit_valuess_t *valuess) {
#ifndef _di_level_0_parameter_checking_
if (!valuess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_limit_valuess_decrease_by_
#ifndef _di_f_limit_valuess_increase_
- f_status_t f_limit_valuess_increase(const f_array_length_t step, f_limit_valuess_t *valuess) {
+ f_status_t f_limit_valuess_increase(const f_number_unsigned_t step, f_limit_valuess_t *valuess) {
#ifndef _di_level_0_parameter_checking_
if (!valuess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && valuess->used + 1 > valuess->size) {
- f_array_length_t size = valuess->used + step;
+ f_number_unsigned_t size = valuess->used + step;
- if (size > F_array_length_t_size_d) {
- if (valuess->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (valuess->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_limit_valuess_resize(size, valuess);
#endif // _di_f_limit_valuess_increase_
#ifndef _di_f_limit_valuess_increase_by_
- f_status_t f_limit_valuess_increase_by(const f_array_length_t amount, f_limit_valuess_t *valuess) {
+ f_status_t f_limit_valuess_increase_by(const f_number_unsigned_t amount, f_limit_valuess_t *valuess) {
#ifndef _di_level_0_parameter_checking_
if (!valuess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (valuess->used + amount > valuess->size) {
- if (valuess->used + amount > F_array_length_t_size_d) {
+ if (valuess->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_limit_valuess_increase_by_
#ifndef _di_f_limit_valuess_resize_
- f_status_t f_limit_valuess_resize(const f_array_length_t length, f_limit_valuess_t *valuess) {
+ f_status_t f_limit_valuess_resize(const f_number_unsigned_t length, f_limit_valuess_t *valuess) {
#ifndef _di_level_0_parameter_checking_
if (!valuess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_limit_value_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_limit_values_t;
#define f_limit_values_t_initialize { 0, 0, 0 }
typedef struct {
f_limit_values_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_limit_valuess_t;
#define f_limit_valuess_t_initialize { 0, 0, 0 }
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_limit_values_adjust_
- extern f_status_t f_limit_values_adjust(const f_array_length_t length, f_limit_values_t *values);
+ extern f_status_t f_limit_values_adjust(const f_number_unsigned_t length, f_limit_values_t *values);
#endif // _di_f_limit_values_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_limit_values_decimate_by_
- extern f_status_t f_limit_values_decimate_by(const f_array_length_t amount, f_limit_values_t *values);
+ extern f_status_t f_limit_values_decimate_by(const f_number_unsigned_t amount, f_limit_values_t *values);
#endif // _di_f_limit_values_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_values_decrease_by_
- extern f_status_t f_limit_values_decrease_by(const f_array_length_t amount, f_limit_values_t *values);
+ extern f_status_t f_limit_values_decrease_by(const f_number_unsigned_t amount, f_limit_values_t *values);
#endif // _di_f_limit_values_decrease_by_
/**
* Increase the size of the values array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_values_increase_
- extern f_status_t f_limit_values_increase(const f_array_length_t step, f_limit_values_t *values);
+ extern f_status_t f_limit_values_increase(const f_number_unsigned_t step, f_limit_values_t *values);
#endif // _di_f_limit_values_increase_
/**
* Resize the values array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_values_increase_by_
- extern f_status_t f_limit_values_increase_by(const f_array_length_t amount, f_limit_values_t *values);
+ extern f_status_t f_limit_values_increase_by(const f_number_unsigned_t amount, f_limit_values_t *values);
#endif // _di_f_limit_values_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_values_resize_
- extern f_status_t f_limit_values_resize(const f_array_length_t length, f_limit_values_t *values);
+ extern f_status_t f_limit_values_resize(const f_number_unsigned_t length, f_limit_values_t *values);
#endif // _di_f_limit_values_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_limit_valuess_adjust_
- extern f_status_t f_limit_valuess_adjust(const f_array_length_t length, f_limit_valuess_t *valuess);
+ extern f_status_t f_limit_valuess_adjust(const f_number_unsigned_t length, f_limit_valuess_t *valuess);
#endif // _di_f_limit_valuess_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_limit_valuess_decimate_by_
- extern f_status_t f_limit_valuess_decimate_by(const f_array_length_t amount, f_limit_valuess_t *valuess);
+ extern f_status_t f_limit_valuess_decimate_by(const f_number_unsigned_t amount, f_limit_valuess_t *valuess);
#endif // _di_f_limit_valuess_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_valuess_decrease_by_
- extern f_status_t f_limit_valuess_decrease_by(const f_array_length_t amount, f_limit_valuess_t *valuess);
+ extern f_status_t f_limit_valuess_decrease_by(const f_number_unsigned_t amount, f_limit_valuess_t *valuess);
#endif // _di_f_limit_valuess_decrease_by_
/**
* Increase the size of the valuess array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_valuess_increase_
- extern f_status_t f_limit_valuess_increase(const f_array_length_t step, f_limit_valuess_t *valuess);
+ extern f_status_t f_limit_valuess_increase(const f_number_unsigned_t step, f_limit_valuess_t *valuess);
#endif // _di_f_limit_valuess_increase_
/**
* Resize the valuess array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_valuess_increase_by_
- extern f_status_t f_limit_valuess_increase_by(const f_array_length_t amount, f_limit_valuess_t *valuess);
+ extern f_status_t f_limit_valuess_increase_by(const f_number_unsigned_t amount, f_limit_valuess_t *valuess);
#endif // _di_f_limit_valuess_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_limit_valuess_resize_
- extern f_status_t f_limit_valuess_resize(const f_array_length_t length, f_limit_valuess_t *valuess);
+ extern f_status_t f_limit_valuess_resize(const f_number_unsigned_t length, f_limit_valuess_t *valuess);
#endif // _di_f_limit_valuess_resize_
#ifdef __cplusplus
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i].type, i + 1);
assert_int_equal(destination.array[i].value.rlim_cur, i + 2);
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i].type, i + 1);
assert_int_equal(destination.array[0].array[i].value.rlim_cur, i + 2);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[i].type = i + 1;
source.array[source.used].array[i].value.rlim_cur = i + 2;
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j].type, j + 1);
assert_int_equal(destination.array[i].array[j].value.rlim_cur, j + 2);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i].rlim_cur, i + 1);
assert_int_equal(destination.array[i].rlim_max, i + 2);
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i].rlim_cur, i + 1);
assert_int_equal(destination.array[0].array[i].rlim_max, i + 2);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[i].rlim_cur = i + 1;
source.array[source.used].array[i].rlim_max = i + 2;
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j].rlim_cur, j + 1);
assert_int_equal(destination.array[i].array[j].rlim_max, j + 2);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
* Provide a macro for calling other macros for incrementing a buffer.
*
* If the used + step is greater than size, then increase by step_default.
- * If step_default exceeds F_array_length_t_size_d, then attempt to increment by step.
- * If step exceeds F_array_length_t_size_d, set status to error_too_large.
+ * If step_default exceeds F_number_t_size_unsigned_d, then attempt to increment by step.
+ * If step exceeds F_number_t_size_unsigned_d, set status to error_too_large.
*
* Be sure to check size for error after calling this.
*
* step: The step to increase by, must be less than or equal to step_default.
* step_default: The default step to increase by if memory allows.
* macro_resize: The resize structure macro to call that excepts the exact arguments: (status, structure, length).
- * error_too_large: The error status to return when F_array_length_t_size_d would be exceeded.
+ * error_too_large: The error status to return when F_number_t_size_unsigned_d would be exceeded.
*/
#ifndef _di_macro_f_memory_structure_increment_
#define macro_f_memory_structure_increment(status, structure, step, step_default, macro_resize, error_too_large) \
if (structure.used + step > structure.size) { \
- if (structure.used + step_default > F_array_length_t_size_d) { \
- if (structure.used + step > F_array_length_t_size_d) { \
+ if (structure.used + step_default > F_number_t_size_unsigned_d) { \
+ if (structure.used + step > F_number_t_size_unsigned_d) { \
status = F_status_set_error(error_too_large); \
} \
else { \
#endif
#ifndef _di_f_memory_structure_adjust_
- f_status_t f_memory_structure_adjust(const size_t length_new, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) {
+ f_status_t f_memory_structure_adjust(const size_t length_new, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) {
#ifndef _di_level_0_parameter_checking_
if (!type_size) return F_status_set_error(F_parameter);
if (!structure) return F_status_set_error(F_parameter);
#endif // _di_f_memory_structure_adjust_
#ifndef _di_f_memory_structure_decimate_by_
- f_status_t f_memory_structure_decimate_by(const f_array_length_t amount, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) {
+ f_status_t f_memory_structure_decimate_by(const f_number_unsigned_t amount, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) {
#ifndef _di_level_0_parameter_checking_
if (!type_size) return F_status_set_error(F_parameter);
if (!structure) return F_status_set_error(F_parameter);
#endif // _di_f_memory_structure_decimate_by_
#ifndef _di_f_memory_structure_decrease_by_
- f_status_t f_memory_structure_decrease_by(const f_array_length_t amount, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) {
+ f_status_t f_memory_structure_decrease_by(const f_number_unsigned_t amount, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) {
#ifndef _di_level_0_parameter_checking_
if (!type_size) return F_status_set_error(F_parameter);
if (!structure) return F_status_set_error(F_parameter);
#endif // _di_f_memory_structure_decrease_by_
#ifndef _di_f_memory_structure_increase_
- f_status_t f_memory_structure_increase(const f_array_length_t step, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) {
+ f_status_t f_memory_structure_increase(const f_number_unsigned_t step, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) {
#ifndef _di_level_0_parameter_checking_
if (!step) return F_status_set_error(F_parameter);
if (!type_size) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (*used + 1 > *size) {
- f_array_length_t length_new = *used + step;
+ f_number_unsigned_t length_new = *used + step;
- if (length_new > F_array_length_t_size_d) {
- if (*used + 1 > F_array_length_t_size_d) {
+ if (length_new > F_number_t_size_unsigned_d) {
+ if (*used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- length_new = F_array_length_t_size_d;
+ length_new = F_number_t_size_unsigned_d;
}
return private_f_memory_structure_resize(length_new, type_size, structure, used, size);
#endif // _di_f_memory_structure_increase_
#ifndef _di_f_memory_structure_increase_by_
- f_status_t f_memory_structure_increase_by(const f_array_length_t amount, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) {
+ f_status_t f_memory_structure_increase_by(const f_number_unsigned_t amount, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) {
#ifndef _di_level_0_parameter_checking_
if (!type_size) return F_status_set_error(F_parameter);
if (!structure) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (amount && *used + amount > *size) {
- if (*used + amount > F_array_length_t_size_d) {
+ if (*used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_memory_structure_increase_by_
#ifndef _di_f_memory_structure_resize_
- f_status_t f_memory_structure_resize(const size_t length_new, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) {
+ f_status_t f_memory_structure_resize(const size_t length_new, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) {
#ifndef _di_level_0_parameter_checking_
if (!type_size) return F_status_set_error(F_parameter);
if (!structure) return F_status_set_error(F_parameter);
* @see memset()
*/
#ifndef _di_f_memory_structure_adjust_
- extern f_status_t f_memory_structure_adjust(const size_t length_new, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size);
+ extern f_status_t f_memory_structure_adjust(const size_t length_new, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size);
#endif // _di_f_memory_structure_adjust_
/**
* @see memset()
*/
#ifndef _di_f_memory_structure_decimate_by_
- extern f_status_t f_memory_structure_decimate_by(const f_array_length_t amount, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size);
+ extern f_status_t f_memory_structure_decimate_by(const f_number_unsigned_t amount, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size);
#endif // _di_f_memory_structure_decimate_by_
/**
* @see memset()
*/
#ifndef _di_f_memory_structure_decrease_by_
- extern f_status_t f_memory_structure_decrease_by(const f_array_length_t amount, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size);
+ extern f_status_t f_memory_structure_decrease_by(const f_number_unsigned_t amount, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size);
#endif // _di_f_memory_structure_decrease_by_
/**
* Increase the size of the structure, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* @see memset()
*/
#ifndef _di_f_memory_structure_increase_
- extern f_status_t f_memory_structure_increase(const f_array_length_t step, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size);
+ extern f_status_t f_memory_structure_increase(const f_number_unsigned_t step, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size);
#endif // _di_f_memory_structure_increase_
/**
* Resize the structure to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* @see memset()
*/
#ifndef _di_f_memory_structure_increase_by_
- extern f_status_t f_memory_structure_increase_by(const f_array_length_t amount, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size);
+ extern f_status_t f_memory_structure_increase_by(const f_number_unsigned_t amount, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size);
#endif // _di_f_memory_structure_increase_by_
/**
* @see memset()
*/
#ifndef _di_f_memory_structure_resize_
- extern f_status_t f_memory_structure_resize(const size_t length_new, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size);
+ extern f_status_t f_memory_structure_resize(const size_t length_new, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size);
#endif // _di_f_memory_structure_resize_
#ifdef __cplusplus
#endif // !defined(_di_f_memory_resize_) || !defined(_di_memory_structure_decrease_by_) || !defined(_di_memory_structure_increase_) || !defined(_di_memory_structure_increase_by_) || !defined(_di_f_memory_structure_resize_)
#if !defined(_di_f_memory_structure_adjust_) || !defined(_di_f_memory_structure_decimate_by_)
- f_status_t private_f_memory_structure_adjust(const size_t length_new, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) {
+ f_status_t private_f_memory_structure_adjust(const size_t length_new, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) {
const f_status_t status = private_f_memory_adjust(*size, length_new, type_size, structure);
#endif // !defined(_di_f_memory_structure_adjust_) || !defined(_di_f_memory_structure_decimate_by_)
#if !defined(_di_memory_structure_decrease_by_) || !defined(_di_memory_structure_increase_) || !defined(_di_memory_structure_increase_by_) || !defined(_di_f_memory_structure_resize_)
- f_status_t private_f_memory_structure_resize(const size_t length_new, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) {
+ f_status_t private_f_memory_structure_resize(const size_t length_new, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) {
const f_status_t status = private_f_memory_resize(*size, length_new, type_size, structure);
* @see private_f_memory_adjust()
*/
#if !defined(_di_f_memory_structure_adjust_) || !defined(_di_f_memory_structure_decimate_by_)
- extern f_status_t private_f_memory_structure_adjust(const size_t length_new, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_memory_structure_adjust(const size_t length_new, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_memory_structure_adjust_) || !defined(_di_f_memory_structure_decimate_by_)
/**
* @see private_f_memory_resize()
*/
#if !defined(_di_memory_structure_decrease_by_) || !defined(_di_memory_structure_increase_) || !defined(_di_memory_structure_increase_by_) || !defined(_di_f_memory_structure_resize_)
- extern f_status_t private_f_memory_structure_resize(const size_t length_new, const size_t type_size, void ** const structure, f_array_length_t * const used, f_array_length_t * const size) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_memory_structure_resize(const size_t length_new, const size_t type_size, void ** const structure, f_number_unsigned_t * const used, f_number_unsigned_t * const size) F_attribute_visibility_internal_d;
#endif // !defined(_di_memory_structure_decrease_by_) || !defined(_di_memory_structure_increase_) || !defined(_di_memory_structure_increase_by_) || !defined(_di_f_memory_structure_resize_)
#ifdef __cplusplus
f_status_t status = F_none;
unsigned short width = 0;
- f_array_length_t width_max = 0;
+ f_number_unsigned_t width_max = 0;
while (range->start <= range->stop && range->start < buffer.used) {
f_status_t status = F_none;
unsigned short width = 0;
- f_array_length_t width_max = (range->stop - range->start) + 1;
+ f_number_unsigned_t width_max = (range->stop - range->start) + 1;
while (buffer.string[range->start] == placeholder || (status = f_utf_is_graph(buffer.string + range->start, width_max)) == F_false) {
f_status_t status = F_none;
unsigned short width = 0;
- f_array_length_t width_max = (range->stop - range->start) + 1;
+ f_number_unsigned_t width_max = (range->stop - range->start) + 1;
while (buffer.string[range->start] == placeholder || (status = f_utf_is_whitespace(buffer.string + range->start, width_max, F_false)) == F_false) {
unsigned short width = 0;
- f_array_length_t width_max = 0;
+ f_number_unsigned_t width_max = 0;
while (range->start <= range->stop && range->start < buffer.used) {
return F_found_not;
}
- f_array_length_t i = range->start;
+ f_number_unsigned_t i = range->start;
for (; range->start <= range->stop && range->start < buffer.used; ) {
}
{
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
f_char_t number[5] = { 0, 0, 0, 0, 0 };
for (++range->start; range->start <= range->stop && range->start < buffer.used && j < 4; ++range->start, ++j) {
}
if (id) {
- for (f_array_length_t j = i, i = 0; j <= range->stop && j < buffer.used; ++j) {
+ for (f_number_unsigned_t j = i, i = 0; j <= range->stop && j < buffer.used; ++j) {
if (!buffer.string[j]) continue;
if (buffer.string[j] == f_string_ascii_minus_s.string[0]) break;
f_status_t status = F_none;
unsigned short width = 0;
- f_array_length_t width_max = (range->stop - range->start) + 1;
+ f_number_unsigned_t width_max = (range->stop - range->start) + 1;
for (; range->start <= range->stop; range->start += width) {
f_status_t status = F_none;
unsigned short width = 0;
- f_array_length_t width_max = (range->stop - range->start) + 1;
+ f_number_unsigned_t width_max = (range->stop - range->start) + 1;
while (string[range->start] == placeholder || (status = f_utf_is_graph(string + range->start, width_max)) == F_false) {
f_status_t status = F_none;
unsigned short width = 0;
- f_array_length_t width_max = (range->stop - range->start) + 1;
+ f_number_unsigned_t width_max = (range->stop - range->start) + 1;
while (string[range->start] == placeholder || (status = f_utf_is_whitespace(string + range->start, width_max, F_false)) == F_false) {
f_status_t status = F_none;
unsigned short width = 0;
- f_array_length_t width_max = 0;
+ f_number_unsigned_t width_max = 0;
for (; range->start <= range->stop; range->start += width) {
return private_f_path_real(buffer, path);
}
- const f_array_length_t length = strnlen(buffer, F_path_length_max_d);
+ const f_number_unsigned_t length = strnlen(buffer, F_path_length_max_d);
{
path->used = 0;
if (F_status_is_error(status)) return status;
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < argument.used) {
return F_data_not;
}
- for (f_array_length_t i = 0; i < path.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < path.used; ++i) {
if (path.string[i] == f_path_separator_s.string[0]) return true;
} // for
return F_data_not;
}
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < path.used; ++i) {
if (path.string[i]) break;
return F_data_not;
}
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < path.used; ++i) {
if (path.string[i]) break;
return F_data_not;
}
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < path.used; ++i) {
if (path.string[i]) break;
return F_status_set_error(F_failure);
}
- const f_array_length_t length = strnlen(buffer, F_path_length_max_d);
+ const f_number_unsigned_t length = strnlen(buffer, F_path_length_max_d);
{
real->used = 0;
f_string_dynamic_t destination = f_string_dynamic_t_initialize;
- for (f_array_length_t i = 0; i < 14; ++i, destination.used = 0) {
+ for (f_number_unsigned_t i = 0; i < 14; ++i, destination.used = 0) {
const f_status_t status = f_path_directory_cleanup(paths[i], &destination);
* @see ferror_unlocked()
*/
#if !defined(_di_f_print_character_) && !defined(_di_f_print_character_safely_)
- static inline f_status_t private_inline_f_print_write_unlocked(const f_string_t string, const f_array_length_t total, const f_file_t file) {
+ static inline f_status_t private_inline_f_print_write_unlocked(const f_string_t string, const f_number_unsigned_t total, const f_file_t file) {
- f_array_length_t count = 0;
+ f_number_unsigned_t count = 0;
do {
count += fwrite_unlocked(string, sizeof(f_char_t), total - count, file.stream);
#endif // !defined(_di_f_print_character_) && !defined(_di_f_print_character_safely_)
#ifndef _di_f_print_
- f_status_t f_print(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t f_print(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_dynamic_safely_
#ifndef _di_f_print_except_
- f_status_t f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_except_
#ifndef _di_f_print_except_dynamic_
- f_status_t f_print_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_except_dynamic_
#ifndef _di_f_print_except_dynamic_partial_
- f_status_t f_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_except_dynamic_partial_
#ifndef _di_f_print_except_dynamic_partial_raw_
- f_status_t f_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_except_dynamic_partial_raw_
#ifndef _di_f_print_except_dynamic_partial_raw_safely_
- f_status_t f_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_except_dynamic_partial_raw_safely_
#ifndef _di_f_print_except_dynamic_partial_safely_
- f_status_t f_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_except_dynamic_partial_safely_
#ifndef _di_f_print_except_dynamic_raw_
- f_status_t f_print_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_except_dynamic_raw_
#ifndef _di_f_print_except_dynamic_raw_safely_
- f_status_t f_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_except_dynamic_raw_safely_
#ifndef _di_f_print_except_dynamic_safely_
- f_status_t f_print_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_except_dynamic_safely_
#ifndef _di_f_print_except_in_
- f_status_t f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_except_in_
#ifndef _di_f_print_except_in_dynamic_
- f_status_t f_print_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_except_in_dynamic_
#ifndef _di_f_print_except_in_dynamic_partial_
- f_status_t f_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_except_in_dynamic_partial_
#ifndef _di_f_print_except_in_dynamic_partial_raw_
- f_status_t f_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_except_in_dynamic_partial_raw_
#ifndef _di_f_print_except_in_dynamic_partial_raw_safely_
- f_status_t f_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_except_in_dynamic_partial_raw_safely_
#ifndef _di_f_print_except_in_dynamic_partial_safely_
- f_status_t f_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_except_in_dynamic_partial_safely_
#ifndef _di_f_print_except_in_dynamic_raw_
- f_status_t f_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_except_in_dynamic_raw_
#ifndef _di_f_print_except_in_dynamic_raw_safely_
- f_status_t f_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_except_in_dynamic_raw_safely_
#ifndef _di_f_print_except_in_dynamic_safely_
- f_status_t f_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_except_in_dynamic_safely_
#ifndef _di_f_print_except_in_raw_
- f_status_t f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_except_in_raw_
#ifndef _di_f_print_except_in_raw_safely_
- f_status_t f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_except_in_raw_safely_
#ifndef _di_f_print_except_in_safely_
- f_status_t f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_except_in_safely_
#ifndef _di_f_print_except_raw_
- f_status_t f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_except_raw_
#ifndef _di_f_print_except_raw_safely_
- f_status_t f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_except_raw_safely_
#ifndef _di_f_print_except_safely_
- f_status_t f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_except_safely_
#ifndef _di_f_print_raw_
- f_status_t f_print_raw(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t f_print_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_raw_
#ifndef _di_f_print_raw_safely_
- f_status_t f_print_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t f_print_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_raw_terminated_
#ifndef _di_f_print_safely_
- f_status_t f_print_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t f_print_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_safely_
#ifndef _di_f_print_safely_get_
- const f_string_static_t f_print_safely_get(const f_string_t character, const f_array_length_t width_max) {
+ const f_string_static_t f_print_safely_get(const f_string_t character, const f_number_unsigned_t width_max) {
return private_f_print_safely_get(character, width_max);
}
if (!file.stream) return F_stream_not;
if (!string) return F_data_not;
- f_array_length_t start = 0;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
f_string_static_t safe = f_string_empty_s;
clearerr_unlocked(file.stream);
- for (register f_array_length_t i = 0; string[i]; ) {
+ for (register f_number_unsigned_t i = 0; string[i]; ) {
safe.used = 0;
width = macro_f_utf_byte_width(string[i]);
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_
- extern f_status_t f_print(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t f_print(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_f_print_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_
- extern f_status_t f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_dynamic_
- extern f_status_t f_print_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_dynamic_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_dynamic_partial_
- extern f_status_t f_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_dynamic_partial_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_dynamic_partial_raw_
- extern f_status_t f_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_dynamic_partial_raw_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_dynamic_partial_raw_safely_
- extern f_status_t f_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_dynamic_partial_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_dynamic_partial_safely_
- extern f_status_t f_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_dynamic_partial_safely_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_dynamic_raw_
- extern f_status_t f_print_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_dynamic_raw_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_dynamic_raw_safely_
- extern f_status_t f_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_dynamic_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_dynamic_safely_
- extern f_status_t f_print_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_dynamic_safely_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_
- extern f_status_t f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_dynamic_
- extern f_status_t f_print_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_dynamic_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_dynamic_partial_
- extern f_status_t f_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_dynamic_partial_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_dynamic_partial_raw_
- extern f_status_t f_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_dynamic_partial_raw_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_dynamic_partial_raw_safely_
- extern f_status_t f_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_dynamic_partial_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_dynamic_partial_safely_
- extern f_status_t f_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_dynamic_partial_safely_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_dynamic_raw_
- extern f_status_t f_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_dynamic_raw_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_dynamic_raw_safely_
- extern f_status_t f_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_dynamic_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_dynamic_safely_
- extern f_status_t f_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_dynamic_safely_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_raw_
- extern f_status_t f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_raw_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_raw_safely_
- extern f_status_t f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_safely_
- extern f_status_t f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_except_in_safely_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_raw_
- extern f_status_t f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_raw_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_raw_safely_
- extern f_status_t f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_safely_
- extern f_status_t f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_except_safely_
/**
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_raw_
- extern f_status_t f_print_raw(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t f_print_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_f_print_raw_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_raw_safely_
- extern f_status_t f_print_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t f_print_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_f_print_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_safely_
- extern f_status_t f_print_safely(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t f_print_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_f_print_safely_
/**
* A string with a non-zero used length is returned are NULL terminated (after the used length).
*/
#ifndef _di_f_print_safely_get_
- extern const f_string_static_t f_print_safely_get(const f_string_t character, const f_array_length_t width_max);
+ extern const f_string_static_t f_print_safely_get(const f_string_t character, const f_number_unsigned_t width_max);
#endif // _di_f_print_safely_get_
/**
* - exponent: Use exponent rather than decimal for printing double values.
* - exponent_either: Use either exponent or decimila for printing double values.
* - exponent_upper: When using exponent, display the exponent 'e' as uppercase 'E'.
- * - ignore_index: ";", Ignore characters in the given positions from a f_array_length_t (only applies to static/dynamic string arguments but not character arguments).
+ * - ignore_index: ";", Ignore characters in the given positions from a f_number_unsigned_t (only applies to static/dynamic string arguments but not character arguments).
* - ignore_range: ":", Ignore characters in the given ranges from a f_string_range_t (only applies to static/dynamic string arguments but not character arguments).
* - precision: ".*", Designates that a precision is in use.
* - precision_value: Designates that a precision is specified in the function value (parameter).
* - unsigned_32: "u", "U", Type is a uint32_t digit.
* - unsigned_64: "ul", "UL", Type is a uint64_t digit.
* - unsigned_128: "ull", "ULL", Type is a f_uint128_t digit.
- * - unsigned_number: "un", "UN", Type is a f_number_unsigned_t digit (which by default is what f_array_length_t is a type of).
+ * - unsigned_number: "un", "UN", Type is a f_number_unsigned_t digit (which by default is what f_number_unsigned_t is a type of).
*
* @see fprintf()
*/
}
#if !defined(_di_f_print_to_) || !defined(_di_f_print_dynamic_to_) || !defined(_di_f_print_dynamic_partial_to_)
- f_status_t private_f_print_to(const f_string_t string, const f_array_length_t length, const int id) {
+ f_status_t private_f_print_to(const f_string_t string, const f_number_unsigned_t length, const int id) {
- f_array_length_t total = 0;
+ f_number_unsigned_t total = 0;
- for (register f_array_length_t i = 0; i < length; ) {
+ for (register f_number_unsigned_t i = 0; i < length; ) {
total = strnlen((string + i), length - i);
#endif // !defined(_di_f_print_to_character_safely_) || !defined(_di_f_print_to_safely_) || !defined(_di_f_print_to_safely_dynamic_) || !defined(_di_f_print_to_safely_dynamic_partial_) || !defined(_di_f_print_to_safely_terminated_) || !defined(_di_f_print_to_except_safely_) || !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_) || !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_in_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_)
#if !defined(_di_f_print_to_except_) || !defined(_di_f_print_to_except_dynamic_) || !defined(_di_f_print_to_except_dynamic_partial_)
- f_status_t private_f_print_to_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const int id) {
+ f_status_t private_f_print_to_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const int id) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t start = offset;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t start = offset;
+ f_number_unsigned_t total = 0;
while (i < stop) {
#endif // !defined(_di_f_print_to_except_) || !defined(_di_f_print_to_except_dynamic_) || !defined(_di_f_print_to_except_dynamic_partial_)
#if !defined(_di_f_print_to_except_raw_) || !defined(_di_f_print_to_except_dynamic_raw_) || !defined(_di_f_print_to_except_dynamic_partial_raw_)
- f_status_t private_f_print_to_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const int id) {
+ f_status_t private_f_print_to_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const int id) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t start = offset;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t start = offset;
+ f_number_unsigned_t total = 0;
while (i < stop) {
#endif // !defined(_di_f_print_to_except_raw_) || !defined(_di_f_print_to_except_dynamic_raw_) || !defined(_di_f_print_to_except_dynamic_partial_raw_)
#if !defined(_di_f_print_to_except_dynamic_raw_safely_) || !defined(_di_f_print_to_except_dynamic_partial_raw_safely_) || !defined(_di_f_print_to_except_raw_safely_)
- f_status_t private_f_print_to_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const int id) {
+ f_status_t private_f_print_to_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const int id) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t start = offset;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t start = offset;
+ f_number_unsigned_t total = 0;
f_string_static_t safe = f_string_empty_s;
#endif // !defined(_di_f_print_to_except_dynamic_raw_safely_) || !defined(_di_f_print_to_except_dynamic_partial_raw_safely_) || !defined(_di_f_print_to_except_raw_safely_)
#if !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_) || !defined(_di_f_print_to_except_safely_)
- f_status_t private_f_print_to_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const int id) {
+ f_status_t private_f_print_to_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const int id) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t start = offset;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t start = offset;
+ f_number_unsigned_t total = 0;
f_string_static_t safe = f_string_empty_s;
#endif // !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_) || !defined(_di_f_print_to_except_safely_)
#if !defined(_di_f_print_to_except_in_) || !defined(_di_f_print_to_except_in_dynamic_) || !defined(_di_f_print_to_except_in_dynamic_partial_)
- f_status_t private_f_print_to_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const int id) {
+ f_status_t private_f_print_to_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const int id) {
- f_array_length_t i = offset;
- f_array_length_t at = 0;
- f_array_length_t in = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
while (i < stop) {
#endif // !defined(_di_f_print_to_except_in_) || !defined(_di_f_print_to_except_in_dynamic_) || !defined(_di_f_print_to_except_in_dynamic_partial_)
#if !defined(_di_f_print_to_except_in_raw_) || !defined(_di_f_print_to_except_in_dynamic_raw_) || !defined(_di_f_print_to_except_in_dynamic_partial_raw_)
- f_status_t private_f_print_to_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const int id) {
+ f_status_t private_f_print_to_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const int id) {
- f_array_length_t i = offset;
- f_array_length_t at = 0;
- f_array_length_t in = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
while (i < stop) {
#endif // !defined(_di_f_print_to_except_in_raw_) || !defined(_di_f_print_to_except_in_dynamic_raw_) || !defined(_di_f_print_to_except_in_dynamic_partial_raw_)
#if !defined(_di_f_print_to_except_in_raw_safely_) || !defined(_di_f_print_to_except_in_dynamic_raw_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_raw_safely_)
- f_status_t private_f_print_to_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const int id) {
+ f_status_t private_f_print_to_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const int id) {
- f_array_length_t i = offset;
- f_array_length_t at = 0;
- f_array_length_t in = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
f_string_static_t safe = f_string_empty_s;
#endif // !defined(_di_f_print_to_except_in_raw_safely_) || !defined(_di_f_print_to_except_in_dynamic_raw_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_raw_safely_)
#if !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_in_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_)
- f_status_t private_f_print_to_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const int id) {
+ f_status_t private_f_print_to_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const int id) {
- f_array_length_t i = offset;
- f_array_length_t at = 0;
- f_array_length_t in = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
f_string_static_t safe = f_string_empty_s;
#endif // !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_in_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_)
#if !defined(_di_f_print_to_raw_) || !defined(_di_f_print_dynamic_to_raw_) || !defined(_di_f_print_dynamic_partial_to_raw_)
- f_status_t private_f_print_to_raw(const f_string_t string, const f_array_length_t length, const int id) {
+ f_status_t private_f_print_to_raw(const f_string_t string, const f_number_unsigned_t length, const int id) {
- f_array_length_t start = 0;
- f_array_length_t total = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t total = 0;
- for (register f_array_length_t i = 0; i < length; ) {
+ for (register f_number_unsigned_t i = 0; i < length; ) {
total = strnlen((string + i), length - i);
#endif // !defined(_di_f_print_to_raw_) || !defined(_di_f_print_dynamic_to_raw_) || !defined(_di_f_print_dynamic_partial_to_raw_)
#if !defined(_di_f_print_to_dynamic_raw_safely_) || !defined(_di_f_print_to_dynamic_partial_raw_safely_) || !defined(_di_f_print_to_raw_safely_)
- f_status_t private_f_print_to_raw_safely(const f_string_t string, const f_array_length_t length, const int id) {
+ f_status_t private_f_print_to_raw_safely(const f_string_t string, const f_number_unsigned_t length, const int id) {
- register f_array_length_t i = 0;
- f_array_length_t start = 0;
- f_array_length_t total = 0;
+ register f_number_unsigned_t i = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t total = 0;
f_string_static_t safe = f_string_empty_s;
#endif // !defined(_di_f_print_to_dynamic_raw_safely_) || !defined(_di_f_print_dynamic_partial_to_raw_safely_) || !defined(_di_f_print_to_raw_safely_)
#if !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_to_dynamic_partial_safely_) || !defined(_di_f_print_to_safely_)
- f_status_t private_f_print_to_safely(const f_string_t string, const f_array_length_t length, const int id) {
+ f_status_t private_f_print_to_safely(const f_string_t string, const f_number_unsigned_t length, const int id) {
- register f_array_length_t i = 0;
- f_array_length_t start = 0;
- f_array_length_t total = 0;
+ register f_number_unsigned_t i = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t total = 0;
f_string_static_t safe = f_string_empty_s;
* @see f_print_to_dynamic_partial()
*/
#if !defined(_di_f_print_to_) || !defined(_di_f_print_to_dynamic_) || !defined(_di_f_print_to_dynamic_partial_)
- extern f_status_t private_f_print_to(const f_string_t string, const f_array_length_t length, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to(const f_string_t string, const f_number_unsigned_t length, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_) || !defined(_di_f_print_to_dynamic_) || !defined(_di_f_print_to_dynamic_partial_)
/**
* @see f_print_to_except_dynamic_partial()
*/
#if !defined(_di_f_print_to_except_) || !defined(_di_f_print_to_except_dynamic_) || !defined(_di_f_print_to_except_dynamic_partial_)
- extern f_status_t private_f_print_to_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_except_) || !defined(_di_f_print_to_except_dynamic_) || !defined(_di_f_print_to_except_dynamic_partial_)
/**
* Private implementation of f_print_to_except_in().
* @see f_print_to_except_in_dynamic_partial()
*/
#if !defined(_di_f_print_to_except_in_) || !defined(_di_f_print_to_except_dynamic_in_) || !defined(_di_f_print_to_except_in_dynamic_partial_)
- extern f_status_t private_f_print_to_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, f_string_ranges_t except_in, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_except_in_) || !defined(_di_f_print_to_except_dynamic_in_) || !defined(_di_f_print_to_except_in_dynamic_partial_)
/**
* @see f_print_to_except_in_dynamic_partial_raw()
*/
#if !defined(_di_f_print_to_except_in_raw_) || !defined(_di_f_print_to_except_dynamic_in_raw_) || !defined(_di_f_print_to_except_in_dynamic_partial_raw_)
- extern f_status_t private_f_print_to_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, f_string_ranges_t except_in, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_except_in_raw_) || !defined(_di_f_print_to_except_dynamic_in_raw_) || !defined(_di_f_print_to_except_in_dynamic_partial_raw_)
/**
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_to_except_in_raw_safely_) || !defined(_di_f_print_to_except_dynamic_in_raw_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_raw_safely_)
- extern f_status_t private_f_print_to_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, f_string_ranges_t except_in, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_except_in_raw_safely_) || !defined(_di_f_print_to_except_dynamic_in_raw_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_raw_safely_)
/**
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_dynamic_in_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_)
- extern f_status_t private_f_print_to_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, f_string_ranges_t except_in, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_dynamic_in_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_)
/**
* @see f_print_to_except_dynamic_partial_raw()
*/
#if !defined(_di_f_print_to_except_raw_) || !defined(_di_f_print_to_except_dynamic_raw_) || !defined(_di_f_print_to_except_dynamic_partial_raw_)
- extern f_status_t private_f_print_to_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_except_raw_) || !defined(_di_f_print_to_except_dynamic_raw_) || !defined(_di_f_print_to_except_dynamic_partial_raw_)
/**
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_to_except_raw_safely_) || !defined(_di_f_print_to_except_dynamic_raw_safely_) || !defined(_di_f_print_to_except_dynamic_partial_raw_safely_)
- extern f_status_t private_f_print_to_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_except_raw_safely_) || !defined(_di_f_print_to_except_dynamic_raw_safely_) || !defined(_di_f_print_to_except_dynamic_partial_raw_safely_)
/**
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_to_except_safely_) || !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_)
- extern f_status_t private_f_print_to_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_except_safely_) || !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_)
/**
* @see f_print_to_dynamic_partial_raw()
*/
#if !defined(_di_f_print_to_raw_) || !defined(_di_f_print_to_dynamic_raw_) || !defined(_di_f_print_to_dynamic_partial_raw_)
- extern f_status_t private_f_print_to_raw(const f_string_t string, const f_array_length_t length, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_raw(const f_string_t string, const f_number_unsigned_t length, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_raw_) || !defined(_di_f_print_to_dynamic_raw_) || !defined(_di_f_print_to_dynamic_partial_raw_
/**
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_to_raw_safely_) || !defined(_di_f_print_to_dynamic_raw_safely_) || !defined(_di_f_print_to_dynamic_partial_raw_safely_)
- extern f_status_t private_f_print_to_raw_safely(const f_string_t string, const f_array_length_t length, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_raw_safely(const f_string_t string, const f_number_unsigned_t length, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_raw_safely_) || !defined(_di_f_print_to_dynamic_raw_safely_) || !defined(_di_f_print_to_dynamic_partial_raw_safely_)
/**
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_to_safely_) || !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_to_dynamic_partial_safely_)
- extern f_status_t private_f_print_to_safely(const f_string_t string, const f_array_length_t length, const int id) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_to_safely(const f_string_t string, const f_number_unsigned_t length, const int id) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_to_safely_) || !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_to_dynamic_partial_safely_)
/**
}
#ifndef _di_f_print_to_
- f_status_t f_print_to(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t f_print_to(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_to_dynamic_safely_
#ifndef _di_f_print_to_except_
- f_status_t f_print_to_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_to_except_
#ifndef _di_f_print_to_except_dynamic_
- f_status_t f_print_to_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_to_except_dynamic_
#ifndef _di_f_print_to_except_dynamic_partial_
- f_status_t f_print_to_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
return F_data_not;
}
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_to_except_dynamic_partial_
#ifndef _di_f_print_to_except_dynamic_partial_raw_
- f_status_t f_print_to_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
return F_data_not;
}
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_to_except_dynamic_partial_raw_
#ifndef _di_f_print_to_except_dynamic_partial_raw_safely_
- f_status_t f_print_to_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
return F_data_not;
}
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_to_except_dynamic_partial_raw_safely_
#ifndef _di_f_print_to_except_dynamic_partial_safely_
- f_status_t f_print_to_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
return F_data_not;
}
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_to_except_dynamic_partial_safely_
#ifndef _di_f_print_to_except_dynamic_raw_
- f_status_t f_print_to_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_to_except_dynamic_raw_
#ifndef _di_f_print_to_except_dynamic_raw_safely_
- f_status_t f_print_to_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_to_except_dynamic_raw_safely_
#ifndef _di_f_print_to_except_dynamic_safely_
- f_status_t f_print_to_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_to_except_dynamic_safely_
#ifndef _di_f_print_to_except_in_
- f_status_t f_print_to_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_to_except_in_
#ifndef _di_f_print_to_except_in_dynamic_
- f_status_t f_print_to_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.string || !buffer.used) return F_data_not;
#endif // _di_f_print_to_except_in_dynamic_
#ifndef _di_f_print_to_except_in_dynamic_partial_
- f_status_t f_print_to_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
return F_data_not;
}
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_to_except_in_dynamic_partial_
#ifndef _di_f_print_to_except_in_dynamic_partial_raw_
- f_status_t f_print_to_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
return F_data_not;
}
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_to_except_in_dynamic_partial_raw_
#ifndef _di_f_print_to_except_in_dynamic_partial_raw_safely_
- f_status_t f_print_to_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_to_except_in_dynamic_partial_raw_safely_
#ifndef _di_f_print_to_except_in_dynamic_partial_safely_
- f_status_t f_print_to_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_f_print_to_except_in_dynamic_partial_safely_
#ifndef _di_f_print_to_except_in_dynamic_raw_
- f_status_t f_print_to_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_to_except_in_dynamic_raw_
#ifndef _di_f_print_to_except_in_dynamic_raw_safely_
- f_status_t f_print_to_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_to_except_in_dynamic_raw_safely_
#ifndef _di_f_print_to_except_in_dynamic_safely_
- f_status_t f_print_to_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!buffer.used || !buffer.string) return F_data_not;
#endif // _di_f_print_to_except_in_dynamic_safely_
#ifndef _di_f_print_to_except_in_raw_
- f_status_t f_print_to_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_to_except_in_raw_
#ifndef _di_f_print_to_except_in_raw_safely_
- f_status_t f_print_to_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_to_except_in_raw_safely_
#ifndef _di_f_print_to_except_in_safely_
- f_status_t f_print_to_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t f_print_to_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_to_except_in_safely_
#ifndef _di_f_print_to_except_raw_
- f_status_t f_print_to_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_to_except_raw_
#ifndef _di_f_print_to_except_raw_safely_
- f_status_t f_print_to_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_to_except_raw_safely_
#ifndef _di_f_print_to_except_safely_
- f_status_t f_print_to_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t f_print_to_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_to_except_safely_
#ifndef _di_f_print_to_raw_
- f_status_t f_print_to_raw(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t f_print_to_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_to_raw_
#ifndef _di_f_print_to_raw_safely_
- f_status_t f_print_to_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t f_print_to_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
#endif // _di_f_print_raw_terminated_
#ifndef _di_f_print_to_safely_
- f_status_t f_print_to_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t f_print_to_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (file.id == -1) return F_file_descriptor_not;
if (!length || !string) return F_data_not;
if (file.id == -1) return F_file_descriptor_not;
if (!string) return F_data_not;
- f_array_length_t start = 0;
- f_array_length_t total = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t total = 0;
f_string_static_t safe = f_string_empty_s;
uint8_t width = 0;
- for (register f_array_length_t i = 0; string[i]; ) {
+ for (register f_number_unsigned_t i = 0; string[i]; ) {
safe = f_string_empty_s;
width = macro_f_utf_byte_width(string[i]);
* @see write()
*/
#ifndef _di_f_print_to_
- extern f_status_t f_print_to(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t f_print_to(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_f_print_to_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_
- extern f_status_t f_print_to_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_dynamic_
- extern f_status_t f_print_to_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_dynamic_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_dynamic_partial_
- extern f_status_t f_print_to_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_dynamic_partial_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_dynamic_partial_raw_
- extern f_status_t f_print_to_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_dynamic_partial_raw_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_dynamic_partial_raw_safely_
- extern f_status_t f_print_to_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_dynamic_partial_raw_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_dynamic_partial_safely_
- extern f_status_t f_print_to_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_dynamic_partial_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_dynamic_raw_
- extern f_status_t f_print_to_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_dynamic_raw_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_dynamic_raw_safely_
- extern f_status_t f_print_to_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_dynamic_raw_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_dynamic_safely_
- extern f_status_t f_print_to_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_dynamic_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_in_
- extern f_status_t f_print_to_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_in_dynamic_
- extern f_status_t f_print_to_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_dynamic_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_in_dynamic_partial_
- extern f_status_t f_print_to_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_dynamic_partial_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_in_dynamic_partial_raw_
- extern f_status_t f_print_to_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_dynamic_partial_raw_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_in_dynamic_partial_raw_safely_
- extern f_status_t f_print_to_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_dynamic_partial_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_to_except_in_dynamic_partial_safely_
- extern f_status_t f_print_to_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_dynamic_partial_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_in_dynamic_raw_
- extern f_status_t f_print_to_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_dynamic_raw_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_in_dynamic_raw_safely_
- extern f_status_t f_print_to_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_dynamic_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_to_except_in_dynamic_safely_
- extern f_status_t f_print_to_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_dynamic_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_in_raw_
- extern f_status_t f_print_to_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_raw_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_in_raw_safely_
- extern f_status_t f_print_to_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_raw_safely_
/**
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_to_except_in_safely_
- extern f_status_t f_print_to_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t f_print_to_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_f_print_to_except_in_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_raw_
- extern f_status_t f_print_to_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_raw_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_raw_safely_
- extern f_status_t f_print_to_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_raw_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_except_safely_
- extern f_status_t f_print_to_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t f_print_to_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_f_print_to_except_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_raw_
- extern f_status_t f_print_to_raw(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t f_print_to_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_f_print_to_raw_
/**
* @see write()
*/
#ifndef _di_f_print_to_raw_safely_
- extern f_status_t f_print_to_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t f_print_to_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_f_print_to_raw_safely_
/**
* @see write()
*/
#ifndef _di_f_print_to_safely_
- extern f_status_t f_print_to_safely(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t f_print_to_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_f_print_to_safely_
/**
#endif
#if !defined(_di_f_print_) || !defined(_di_f_print_dynamic_) || !defined(_di_f_print_dynamic_partial_)
- f_status_t private_f_print(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t private_f_print(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
clearerr_unlocked(file.stream);
- for (register f_array_length_t i = 0; i < length; ) {
+ for (register f_number_unsigned_t i = 0; i < length; ) {
total = strnlen((string + i), length - i);
#endif // !defined(_di_f_print_character_safely_get_) || !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_terminated_) || !defined(_di_f_print_to_dynamic_partial_safely_) || !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_) || !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_) || !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_safely_) || !defined(_di_f_print_to_safely_)
#if !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_)
- f_status_t private_f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t private_f_print_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const f_file_t file) {
- register f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ register f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
clearerr_unlocked(file.stream);
#endif // !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_)
#if !defined(_di_f_print_except_in_) || !defined(_di_f_print_except_in_dynamic_) || !defined(_di_f_print_except_in_dynamic_partial_)
- f_status_t private_f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t private_f_print_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t at = 0;
- f_array_length_t in = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
clearerr_unlocked(file.stream);
#endif // !defined(_di_f_print_except_in_) || !defined(_di_f_print_except_in_dynamic_) || !defined(_di_f_print_except_in_dynamic_partial_)
#if !defined(_di_f_print_except_in_raw_) || !defined(_di_f_print_except_in_dynamic_raw_) || !defined(_di_f_print_except_in_dynamic_partial_raw_)
- f_status_t private_f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t private_f_print_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t at = 0;
- f_array_length_t in = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
clearerr_unlocked(file.stream);
#endif // !defined(_di_f_print_except_in_raw_) || !defined(_di_f_print_except_in_dynamic_raw_) || !defined(_di_f_print_except_in_dynamic_partial_raw_)
#if !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_in_dynamic_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_)
- f_status_t private_f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t private_f_print_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t at = 0;
- f_array_length_t in = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
f_string_static_t safe = f_string_static_t_initialize;
#endif // !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_in_dynamic_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_)
#if !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
- f_status_t private_f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t private_f_print_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t at = 0;
- f_array_length_t in = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
f_string_static_t safe = f_string_static_t_initialize;
#endif // !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
#if !defined(_di_f_print_except_raw_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
- f_status_t private_f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t private_f_print_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const f_file_t file) {
- register f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ register f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
clearerr_unlocked(file.stream);
#endif // !defined(_di_f_print_except_raw_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
#if !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
- f_status_t private_f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t private_f_print_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
f_string_static_t safe = f_string_static_t_initialize;
#endif // !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
#if !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_)
- f_status_t private_f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t private_f_print_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t start = i;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t start = i;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
f_string_static_t safe = f_string_static_t_initialize;
#endif // !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_)
#if !defined(_di_f_print_dynamic_partial_raw_) || !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_raw_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_raw_) || !defined(_di_f_print_raw_safely_)
- f_status_t private_f_print_raw(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t private_f_print_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
- f_array_length_t count = 0;
+ f_number_unsigned_t count = 0;
clearerr_unlocked(file.stream);
} while (count < length);
}
else {
- for (f_array_length_t total = 0; ; total += F_print_write_max_d) {
+ for (f_number_unsigned_t total = 0; ; total += F_print_write_max_d) {
if (length - total > F_print_write_max_d) {
count = 0;
#endif // !defined(_di_f_print_dynamic_partial_raw_) || !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_raw_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_raw_) || !defined(_di_f_print_raw_safely_)
#if !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_raw_safely_)
- f_status_t private_f_print_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t private_f_print_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
- register f_array_length_t i = 0;
- f_array_length_t start = 0;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ register f_number_unsigned_t i = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
f_string_static_t safe = f_string_static_t_initialize;
#endif // !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_raw_safely_)
#if !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_safely_)
- f_status_t private_f_print_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t private_f_print_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
- register f_array_length_t i = 0;
- f_array_length_t start = 0;
- f_array_length_t total = 0;
- f_array_length_t count = 0;
+ register f_number_unsigned_t i = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t count = 0;
f_string_static_t safe = f_string_static_t_initialize;
#endif // !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_safely_)
#if !defined(_di_f_print_character_safely_get_) || !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_terminated_) || !defined(_di_f_print_to_dynamic_partial_safely_) || !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_) || !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_) || !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_safely_) || !defined(_di_f_print_to_safely_)
- const f_string_static_t private_f_print_safely_get(const f_string_t character, const f_array_length_t width_max) {
+ const f_string_static_t private_f_print_safely_get(const f_string_t character, const f_number_unsigned_t width_max) {
if (character[0] == 0x7f) return f_print_sequence_delete_s;
f_status_t private_f_print_terminated(const f_string_t string, const f_file_t file) {
const size_t length = strlen(string);
- f_array_length_t count = 0;
+ f_number_unsigned_t count = 0;
clearerr_unlocked(file.stream);
#endif // !defined(_di_f_print_terminated_) || !defined(_di_f_print_raw_terminated_)
#if !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_raw_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_) || !defined(_di_f_print_except_in_dynamic_raw_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_safely_)
- uint8_t private_f_print_width_max(const f_string_t string, const f_array_length_t at) {
+ uint8_t private_f_print_width_max(const f_string_t string, const f_number_unsigned_t at) {
const uint8_t width = macro_f_utf_byte_width(string[at]);
* @see f_print_dynamic_partial()
*/
#if !defined(_di_f_print_) || !defined(_di_f_print_dynamic_) || !defined(_di_f_print_dynamic_partial_)
- extern f_status_t private_f_print(const f_string_t string, const f_array_length_t length, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_) || !defined(_di_f_print_dynamic_) || !defined(_di_f_print_dynamic_partial_)
/**
* @see f_print_except_dynamic_partial()
*/
#if !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_)
- extern f_status_t private_f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_)
/**
* @see f_print_except_in_dynamic_partial()
*/
#if !defined(_di_f_print_except_in_) || !defined(_di_f_print_except_in_dynamic_) || !defined(_di_f_print_except_in_dynamic_partial_)
- extern f_status_t private_f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_in_) || !defined(_di_f_print_except_in_dynamic_) || !defined(_di_f_print_except_in_dynamic_partial_)
/**
* @see f_print_except_in_dynamic_partial_raw()
*/
#if !defined(_di_f_print_except_in_raw_) || !defined(_di_f_print_except_in_dynamic_raw_) || !defined(_di_f_print_except_in_dynamic_partial_raw_)
- extern f_status_t private_f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_in_raw_) || !defined(_di_f_print_except_in_dynamic_raw_) || !defined(_di_f_print_except_in_dynamic_partial_raw_)
/**
* @see f_print_except_in_dynamic_partial_raw_safely()
*/
#if !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_in_dynamic_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_)
- extern f_status_t private_f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_in_dynamic_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_)
/**
* @see f_print_except_in_dynamic_partial_safely()
*/
#if !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_dynamic_in_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
- extern f_status_t private_f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_dynamic_in_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
/**
* @see f_print_except_dynamic_partial_raw()
*/
#if !defined(_di_f_print_except_raw_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
- extern f_status_t private_f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_raw_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
/**
* @see f_print_except_dynamic_partial_raw_safely()
*/
#if !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_dynamic_raw_safely_) || !defined(_di_f_print_except_dynamic_partial_raw_safely_)
- extern f_status_t private_f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_dynamic_raw_safely_) || !defined(_di_f_print_except_dynamic_partial_raw_safely_)
/**
* @see f_print_except_dynamic_partial_safely()
*/
#if !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_)
- extern f_status_t private_f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_)
/**
* @see f_print_raw_safely())
*/
#if !defined(_di_f_print_dynamic_partial_raw_) || !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_raw_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_raw_) || !defined(_di_f_print_raw_safely_)
- extern f_status_t private_f_print_raw(const f_string_t string, const f_array_length_t length, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_dynamic_partial_raw_) || !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_raw_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_raw_) || !defined(_di_f_print_raw_safely_)
/**
* @see f_print_raw_safely()
*/
#if !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_raw_safely_)
- extern f_status_t private_f_print_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_raw_safely_)
/**
* @see f_print_safely()
*/
#if !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_safely_)
- extern f_status_t private_f_print_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_safely_)
/**
* @see f_print_to_safely()
*/
#if !defined(_di_f_print_character_safely_get_) || !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_terminated_) || !defined(_di_f_print_to_dynamic_partial_safely_) || !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_) || !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_) || !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_safely_) || !defined(_di_f_print_to_safely_)
- extern const f_string_static_t private_f_print_safely_get(const f_string_t character, const f_array_length_t width_max) F_attribute_visibility_internal_d;
+ extern const f_string_static_t private_f_print_safely_get(const f_string_t character, const f_number_unsigned_t width_max) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_character_safely_get_) || !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_terminated_) || !defined(_di_f_print_to_dynamic_partial_safely_) || !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_) || !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_) || !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_safely_) || !defined(_di_f_print_to_safely_)
/**
* @see f_print_safely
*/
#if !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_raw_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_) || !defined(_di_f_print_except_in_dynamic_raw_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_safely_)
- extern uint8_t private_f_print_width_max(const f_string_t string, const f_array_length_t at) F_attribute_visibility_internal_d;
+ extern uint8_t private_f_print_width_max(const f_string_t string, const f_number_unsigned_t at) F_attribute_visibility_internal_d;
#endif // #if !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_raw_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_) || !defined(_di_f_print_except_in_dynamic_raw_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_safely_)
#ifdef __cplusplus
void test__f_print_except__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_dynamic__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_dynamic__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_dynamic__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_dynamic_partial__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_dynamic_partial__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_dynamic_partial__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_dynamic_partial_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_dynamic_partial_raw__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_dynamic_partial_raw__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_dynamic_partial_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_dynamic_partial_raw_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_dynamic_partial_raw_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_dynamic_partial_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_dynamic_partial_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_dynamic_partial_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_dynamic_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_dynamic_raw__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_dynamic_raw__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_dynamic_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_dynamic_raw_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_dynamic_raw_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_dynamic_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_dynamic_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_dynamic_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_in__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_dynamic__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_dynamic_partial__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_partial__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_partial__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_dynamic_partial_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_partial_raw__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_partial_raw__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_dynamic_partial_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_partial_raw_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_partial_raw_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_dynamic_partial_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_partial_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_partial_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_dynamic_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_raw__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_raw__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_dynamic_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_raw_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_raw_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_dynamic_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_dynamic_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_raw__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_raw__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_raw_safely__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_raw_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_in_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_safely__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_except_in_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
void test__f_print_except_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_raw__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_raw__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_raw_safely__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_raw_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_except_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_safely__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_except_safely__returns_stream_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_fwrite_unlocked, false);
will_return(__wrap_fwrite_unlocked, test.used - 1);
void test__f_print_to_except__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
int errnos[] = {
void test__f_print_to_except__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_to_except__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_dynamic__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
int errnos[] = {
void test__f_print_to_except_dynamic__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_to_except_dynamic__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_dynamic_partial__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_dynamic_partial__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_dynamic_partial__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_dynamic_partial_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_dynamic_partial_raw__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_dynamic_partial_raw__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_dynamic_partial_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_dynamic_partial_raw_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_dynamic_partial_raw_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_dynamic_partial_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_dynamic_partial_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_dynamic_partial_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_dynamic_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
int errnos[] = {
void test__f_print_to_except_dynamic_raw__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_to_except_dynamic_raw__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_dynamic_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
int errnos[] = {
void test__f_print_to_except_dynamic_raw_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_to_except_dynamic_raw_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_dynamic_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
int errnos[] = {
void test__f_print_to_except_dynamic_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_to_except_dynamic_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_in__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_dynamic__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_dynamic_partial__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_partial__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_partial__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_dynamic_partial_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_partial_raw__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_partial_raw__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_dynamic_partial_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_partial_raw_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_partial_raw_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_partial_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_partial_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_partial_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_string_range_t partial = macro_f_string_range_t_initialize_1(0, 2);
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_dynamic_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_raw__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_raw__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_dynamic_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_raw_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_raw_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_dynamic_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_safely__returns_data_not(void **state) {
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_dynamic_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_raw__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_raw__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_raw_safely__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_raw_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_in_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_safely__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
void test__f_print_to_except_in_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
will_return(__wrap_write, false);
}
{
- f_array_length_t lengths[] = { 3 };
+ f_number_unsigned_t lengths[] = { 3 };
f_string_range_t ranges[] = {
macro_f_string_range_t_initialize_1(0, 1),
};
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize_1(ranges, 0, 1);
will_return(__wrap_write, false);
void test__f_print_to_except_raw__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
int errnos[] = {
void test__f_print_to_except_raw__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_to_except_raw__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_raw_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
int errnos[] = {
void test__f_print_to_except_raw_safely__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_to_except_raw_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
void test__f_print_to_except_safely__fails(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
int errnos[] = {
void test__f_print_to_except_safely__returns_data_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
void test__f_print_to_except_safely__returns_file_descriptor_not(void **state) {
const f_string_static_t test = macro_f_string_static_t_initialize_1("test", 0, 4);
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
const f_file_t output = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
{
const f_file_t output = macro_f_file_t_initialize_2(F_type_output_d, F_type_descriptor_output_d, F_file_flag_write_only_d);
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- const f_array_lengths_t except = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except = f_number_unsigneds_t_initialize;
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
}
{
- f_array_length_t lengths[] = { 3 };
- const f_array_lengths_t except = macro_f_array_lengths_t_initialize_1(lengths, 0, 1);
+ f_number_unsigned_t lengths[] = { 3 };
+ const f_number_unsigneds_t except = macro_f_number_unsigneds_t_initialize_1(lengths, 0, 1);
will_return(__wrap_write, false);
will_return(__wrap_write, test.used);
#endif
#if !defined(_di_f_rip_dynamic_partial_) || !defined(_di_f_rip_dynamic_partial_nulless_) || !defined(_di_f_rip_dynamic_) || !defined(_di_f_rip_) || !defined(_di_f_rip_nulless_)
- f_status_t private_f_rip_find_range(const f_string_t string, f_array_length_t * const start, f_array_length_t * const stop) {
+ f_status_t private_f_rip_find_range(const f_string_t string, f_number_unsigned_t * const start, f_number_unsigned_t * const stop) {
- const f_array_length_t stop_original = *stop;
- f_array_length_t previous = 0;
+ const f_number_unsigned_t stop_original = *stop;
+ f_number_unsigned_t previous = 0;
f_status_t status = F_none;
// Skip past leading whitespace.
* @see f_rip_nulless()
*/
#if !defined(_di_f_rip_dynamic_partial_) || !defined(_di_f_rip_dynamic_partial_nulless_) || !defined(_di_f_rip_dynamic_) || !defined(_di_f_rip_) || !defined(_di_f_rip_nulless_)
- extern f_status_t private_f_rip_find_range(const f_string_t string, f_array_length_t * const start, f_array_length_t * const stop) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_rip_find_range(const f_string_t string, f_number_unsigned_t * const start, f_number_unsigned_t * const stop) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_rip_dynamic_partial_) || !defined(_di_f_rip_dynamic_partial_nulless_) || !defined(_di_f_rip_dynamic_) || !defined(_di_f_rip_) || !defined(_di_f_rip_nulless_)
#ifdef __cplusplus
#endif
#ifndef _di_f_rip_
- f_status_t f_rip(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_rip(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length) return F_data_not_eos;
- f_array_length_t begin = 0;
- f_array_length_t end = length - 1;
+ f_number_unsigned_t begin = 0;
+ f_number_unsigned_t end = length - 1;
{
const f_status_t status = private_f_rip_find_range(source, &begin, &end);
if (!source.used) return F_data_not_eos;
- f_array_length_t begin = 0;
- f_array_length_t end = source.used - 1;
+ f_number_unsigned_t begin = 0;
+ f_number_unsigned_t end = source.used - 1;
{
const f_status_t status = private_f_rip_find_range(source.string, &begin, &end);
if (!source.used) return F_data_not_eos;
- f_array_length_t begin = 0;
- f_array_length_t end = source.used - 1;
+ f_number_unsigned_t begin = 0;
+ f_number_unsigned_t end = source.used - 1;
{
const f_status_t status = private_f_rip_find_range(source.string, &begin, &end);
#endif // _di_f_rip_dynamic_nulless_
#ifndef _di_f_rip_nulless_
- f_status_t f_rip_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_rip_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length) return F_data_not_eos;
- f_array_length_t begin = 0;
- f_array_length_t end = length - 1;
+ f_number_unsigned_t begin = 0;
+ f_number_unsigned_t end = length - 1;
{
const f_status_t status = private_f_rip_find_range(source, &begin, &end);
if (!source.used) return F_data_not_eos;
if (range.start > range.stop) return F_data_not_stop;
- f_array_length_t begin = range.start;
- f_array_length_t end = range.stop;
+ f_number_unsigned_t begin = range.start;
+ f_number_unsigned_t end = range.stop;
{
const f_status_t status = private_f_rip_find_range(source.string, &begin, &end);
if (!source.used) return F_data_not_eos;
if (range.start > range.stop) return F_data_not_stop;
- f_array_length_t begin = range.start;
- f_array_length_t end = range.stop;
+ f_number_unsigned_t begin = range.start;
+ f_number_unsigned_t end = range.stop;
{
const f_status_t status = private_f_rip_find_range(source.string, &begin, &end);
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_rip_
- extern f_status_t f_rip(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_rip(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_rip_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_f_rip_nulless_
- extern f_status_t f_rip_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_rip_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_rip_nulless_
/**
#endif
#if !defined(_di_f_rip_utf_) || !defined(_di_f_rip_utf_dynamic_) || !defined(_di_f_rip_utf_nulless_) || !defined(_di_f_rip_utf_dynamic_nulless_)
- f_status_t private_f_rip_utf_find_range(const f_utf_string_t source, f_array_length_t *start, f_array_length_t *stop) {
+ f_status_t private_f_rip_utf_find_range(const f_utf_string_t source, f_number_unsigned_t *start, f_number_unsigned_t *stop) {
f_status_t status = F_none;
* @see f_rip_utf()
*/
#if !defined(_di_f_rip_utf_) || !defined(_di_f_rip_utf_dynamic_) || !defined(_di_f_rip_utf_nulless_) || !defined(_di_f_rip_utf_dynamic_nulless_)
- extern f_status_t private_f_rip_utf_find_range(const f_utf_string_t source, f_array_length_t *start, f_array_length_t *stop) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_rip_utf_find_range(const f_utf_string_t source, f_number_unsigned_t *start, f_number_unsigned_t *stop) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_rip_utf_) || !defined(_di_f_rip_utf_dynamic_) || !defined(_di_f_rip_utf_nulless_) || !defined(_di_f_rip_utf_dynamic_nulless_)
#ifdef __cplusplus
#endif
#ifndef _di_f_rip_utf_
- f_status_t f_rip_utf(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_rip_utf(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_1_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_1_parameter_checking_
if (!length) return F_data_not;
- f_array_length_t begin = 0;
- f_array_length_t end = length - 1;
+ f_number_unsigned_t begin = 0;
+ f_number_unsigned_t end = length - 1;
f_status_t status = private_f_rip_utf_find_range(source, &begin, &end);
#endif // _di_f_rip_utf_dynamic_nulless_
#ifndef _di_f_rip_utf_nulless_
- f_status_t f_rip_utf_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_rip_utf_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_1_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_1_parameter_checking_
if (!length) return F_data_not;
- f_array_length_t begin = 0;
- f_array_length_t end = length - 1;
+ f_number_unsigned_t begin = 0;
+ f_number_unsigned_t end = length - 1;
f_status_t status = private_f_rip_utf_find_range(source, &begin, &end);
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_rip_utf_
- extern f_status_t f_rip_utf(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_rip_utf(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_rip_utf_
/**
* @see f_utf_character_is_whitespace()
*/
#ifndef _di_f_rip_utf_nulless_
- extern f_status_t f_rip_utf_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_rip_utf_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_rip_utf_nulless_
#ifdef __cplusplus
#endif
#if !defined(_di_f_serialize_from_simple_get_) || !defined(_di_f_serialize_from_simple_select_)
- f_status_t private_f_serialize_from_simple_select(const f_string_static_t source, const f_array_length_t index, f_string_range_t * const range) {
+ f_status_t private_f_serialize_from_simple_select(const f_string_static_t source, const f_number_unsigned_t index, f_string_range_t * const range) {
- f_array_length_t start = 0;
- f_array_length_t current = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t current = 0;
unsigned short width = 0;
- for (f_array_length_t i = 0; i < source.used; i += width) {
+ for (f_number_unsigned_t i = 0; i < source.used; i += width) {
width = macro_f_utf_byte_width(source.string[i]);
* F_parameter (with error bit) if a parameter is invalid.
*/
#if !defined(_di_f_serialize_from_simple_get_) || !defined(_di_f_serialize_from_simple_select_)
- extern f_status_t private_f_serialize_from_simple_select(const f_string_static_t source, const f_array_length_t index, f_string_range_t * const range) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_serialize_from_simple_select(const f_string_static_t source, const f_number_unsigned_t index, f_string_range_t * const range) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_serialize_from_simple_get_) || !defined(_di_f_serialize_from_simple_select_)
#ifdef __cplusplus
if (!source.used) return F_data_not;
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t start = 0;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t total = 0;
uint8_t width = 0;
do {
#endif // _di_f_serialize_from_simple_
#ifndef _di_f_serialize_from_simple_get_
- f_status_t f_serialize_from_simple_get(const f_string_static_t source, const f_array_length_t index, f_string_dynamic_t * const destination) {
+ f_status_t f_serialize_from_simple_get(const f_string_static_t source, const f_number_unsigned_t index, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return status;
}
- const f_array_length_t total = (range.stop - range.start) + 1;
+ const f_number_unsigned_t total = (range.stop - range.start) + 1;
if (range.start <= range.stop) {
const f_status_t status_allocation = f_string_append(source.string + range.start, total, destination);
if (!source.used) return F_data_not;
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t start = 0;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t total = 0;
uint8_t width = 0;
do {
#endif // _di_f_serialize_from_simple_range_
#ifndef _di_f_serialize_from_simple_select_
- f_status_t f_serialize_from_simple_select(const f_string_static_t source, const f_array_length_t index, f_string_range_t * const range) {
+ f_status_t f_serialize_from_simple_select(const f_string_static_t source, const f_number_unsigned_t index, f_string_range_t * const range) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* @see f_string_append()
*/
#ifndef _di_f_serialize_from_simple_get_
- extern f_status_t f_serialize_from_simple_get(const f_string_static_t source, const f_array_length_t index, f_string_dynamic_t * const destination);
+ extern f_status_t f_serialize_from_simple_get(const f_string_static_t source, const f_number_unsigned_t index, f_string_dynamic_t * const destination);
#endif // _di_f_serialize_from_simple_get_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_serialize_from_simple_select_
- extern f_status_t f_serialize_from_simple_select(const f_string_static_t source, const f_array_length_t index, f_string_range_t * const range);
+ extern f_status_t f_serialize_from_simple_select(const f_string_static_t source, const f_number_unsigned_t index, f_string_range_t * const range);
#endif // _di_f_serialize_from_simple_select_
/**
#endif
#if !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_mish_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_triples_append_)
- f_status_t private_f_string_append(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t private_f_string_append(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
if (destination->used + length + 1 > destination->size) {
const f_status_t status = private_f_string_dynamic_increase_by(length + 1, destination);
#endif // !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_mish_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_triples_append_)
#if !defined(_di_f_string_append_assure_nulless_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_assure_nulless_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_string_dynamic_partial_append_nulless_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_mash_nulless_)
- f_status_t private_f_string_append_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t private_f_string_append_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t size = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t size = 0;
// Count all of the NULLs and subtract them from the total size.
for (; i < length; ++i) {
if (F_status_is_error(status)) return status;
}
- f_array_length_t first = 0;
+ f_number_unsigned_t first = 0;
for (i = 0, size = 0; i < length; ++i) {
#endif // !defined(_di_f_string_append_assure_nulless_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_assure_nulless_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_string_dynamic_partial_append_nulless_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_mash_nulless_)
#if !defined(_di_f_string_dynamic_mish_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_prepend_assure_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamic_prepend_assure_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_mish_) || !defined(_di_f_string_prepend_assure_) || !defined(_di_f_string_prepend_)
- f_status_t private_f_string_prepend(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t private_f_string_prepend(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
if (destination->used + length > F_string_t_size_d) {
return F_status_set_error(F_string_too_large);
#endif // !defined(_di_f_string_dynamic_mish_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_prepend_assure_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamic_prepend_assure_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_mish_) || !defined(_di_f_string_prepend_assure_) || !defined(_di_f_string_prepend_)
#if !defined(_di_f_string_dynamic_mish_nulless_) || !defined(_di_f_string_dynamic_partial_mish_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_mish_nulless_) || !defined(_di_f_string_prepend_assure_nulless_) || !defined(_di_f_string_prepend_nulless_)
- f_status_t private_f_string_prepend_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t private_f_string_prepend_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
if (destination->used + length > F_string_t_size_d) {
return F_status_set_error(F_string_too_large);
f_status_t status = F_none;
- f_array_length_t first = 0;
- f_array_length_t offset = 0;
+ f_number_unsigned_t first = 0;
+ f_number_unsigned_t offset = 0;
- f_array_length_t size = 0;
+ f_number_unsigned_t size = 0;
- for (f_array_length_t i = 0; i <= length; ++i) {
+ for (f_number_unsigned_t i = 0; i <= length; ++i) {
if (i == length) {
if (i > first) {
* @see f_string_triples_append()
*/
#if !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_mish_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_triples_append_)
- extern f_status_t private_f_string_append(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_append(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_mish_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_triples_append_)
/**
* @see f_string_mash_nulless()
*/
#if !defined(_di_f_string_append_assure_nulless_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_assure_nulless_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_string_dynamic_partial_append_nulless_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_mash_nulless_)
- extern f_status_t private_f_string_append_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_append_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_append_assure_nulless_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_assure_nulless_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_string_dynamic_partial_append_nulless_) || !defined(_di_f_string_dynamic_partial_mash_nulless_) || !defined(_di_f_string_mash_nulless_)
/**
* @see f_string_prepend()
*/
#if !defined(_di_f_string_dynamic_mish_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_prepend_assure_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamic_prepend_assure_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_mish_) || !defined(_di_f_string_prepend_assure_) || !defined(_di_f_string_prepend_)
- extern f_status_t private_f_string_prepend(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_prepend(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_dynamic_mish_) || !defined(_di_f_string_dynamic_partial_mish_) || !defined(_di_f_string_dynamic_partial_prepend_assure_) || !defined(_di_f_string_dynamic_partial_prepend_) || !defined(_di_f_string_dynamic_prepend_assure_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_mish_) || !defined(_di_f_string_prepend_assure_) || !defined(_di_f_string_prepend_)
/**
* @see f_string_prepend_nulless()
*/
#if !defined(_di_f_string_dynamic_mish_nulless_) || !defined(_di_f_string_dynamic_partial_mish_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_mish_nulless_) || !defined(_di_f_string_prepend_assure_nulless_) || !defined(_di_f_string_prepend_nulless_)
- extern f_status_t private_f_string_prepend_nulless(const f_string_t source, f_array_length_t length, f_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_prepend_nulless(const f_string_t source, f_number_unsigned_t length, f_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_dynamic_mish_nulless_) || !defined(_di_f_string_dynamic_partial_mish_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_mish_nulless_) || !defined(_di_f_string_prepend_assure_nulless_) || !defined(_di_f_string_prepend_nulless_)
#ifdef __cplusplus
#endif
#ifndef _di_f_string_append_
- f_status_t f_string_append(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_append(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_append_
#ifndef _di_f_string_append_assure_
- f_status_t f_string_append_assure(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_append_assure(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_string_append(source, length, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
#endif // _di_f_string_append_assure_
#ifndef _di_f_string_append_assure_nulless_
- f_status_t f_string_append_assure_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_append_assure_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_string_append_nulless(source, length, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
#endif // _di_f_string_append_assure_nulless_
#ifndef _di_f_string_append_nulless_
- f_status_t f_string_append_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_append_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_append_nulless_
#ifndef _di_f_string_mash_
- f_status_t f_string_mash(const f_string_t glue, const f_array_length_t glue_length, const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_mash(const f_string_t glue, const f_number_unsigned_t glue_length, const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_mash_
#ifndef _di_f_string_mash_nulless_
- f_status_t f_string_mash_nulless(const f_string_t glue, const f_array_length_t glue_length, const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_mash_nulless(const f_string_t glue, const f_number_unsigned_t glue_length, const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_mash_nulless_
#ifndef _di_f_string_mish_
- f_status_t f_string_mish(const f_string_t glue, const f_array_length_t glue_length, const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_mish(const f_string_t glue, const f_number_unsigned_t glue_length, const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_mish_
#ifndef _di_f_string_mish_nulless_
- f_status_t f_string_mish_nulless(const f_string_t glue, const f_array_length_t glue_length, const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_mish_nulless(const f_string_t glue, const f_number_unsigned_t glue_length, const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_mish_nulless_
#ifndef _di_f_string_prepend_
- f_status_t f_string_prepend(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_prepend(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_prepend_
#ifndef _di_f_string_prepend_assure_
- f_status_t f_string_prepend_assure(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_prepend_assure(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_string_prepend(source, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
#endif // _di_f_string_prepend_assure_
#ifndef _di_f_string_prepend_assure_nulless_
- f_status_t f_string_prepend_assure_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_prepend_assure_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_string_prepend_nulless(source, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
#endif // _di_f_string_prepend_assure_nulless_
#ifndef _di_f_string_prepend_nulless_
- f_status_t f_string_prepend_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination) {
+ f_status_t f_string_prepend_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
*
* Provides string capabilities.
*
- * It is highly recommended that all string arrays are set to a max size of F_array_length_t_size_d.
- * Any calculations against the length (aka: string.used) can always perform (A < B) operators such that the B is F_array_length_t_size_d + 1 without integer overflow.
+ * It is highly recommended that all string arrays are set to a max size of F_number_t_size_unsigned_d.
+ * Any calculations against the length (aka: string.used) can always perform (A < B) operators such that the B is F_number_t_size_unsigned_d + 1 without integer overflow.
*/
#ifndef _F_string_h
#define _F_string_h
* @see f_memory_resize()
*/
#ifndef _di_f_string_append_
- extern f_status_t f_string_append(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_append(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_append_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_append_assure_
- extern f_status_t f_string_append_assure(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_append_assure(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_append_assure_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_append_assure_nulless_
- extern f_status_t f_string_append_assure_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_append_assure_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_append_assure_nulless_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_append_nulless_
- extern f_status_t f_string_append_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_append_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_append_nulless_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_mash_
- extern f_status_t f_string_mash(const f_string_t glue, const f_array_length_t glue_length, const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_mash(const f_string_t glue, const f_number_unsigned_t glue_length, const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_mash_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_mash_nulless_
- extern f_status_t f_string_mash_nulless(const f_string_t glue, const f_array_length_t glue_length, const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_mash_nulless(const f_string_t glue, const f_number_unsigned_t glue_length, const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_mash_nulless_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_mish_
- extern f_status_t f_string_mish(const f_string_t glue, const f_array_length_t glue_length, const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_mish(const f_string_t glue, const f_number_unsigned_t glue_length, const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_mish_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_mish_nulless_
- extern f_status_t f_string_mish_nulless(const f_string_t glue, const f_array_length_t glue_length, const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_mish_nulless(const f_string_t glue, const f_number_unsigned_t glue_length, const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_mish_nulless_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_prepend_
- extern f_status_t f_string_prepend(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_prepend(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_prepend_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_prepend_assure_
- extern f_status_t f_string_prepend_assure(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_prepend_assure(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_prepend_assure_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_prepend_assure_nulless_
- extern f_status_t f_string_prepend_assure_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_prepend_assure_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_prepend_assure_nulless_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_string_prepend_nulless_
- extern f_status_t f_string_prepend_nulless(const f_string_t source, const f_array_length_t length, f_string_dynamic_t * const destination);
+ extern f_status_t f_string_prepend_nulless(const f_string_t source, const f_number_unsigned_t length, f_string_dynamic_t * const destination);
#endif // _di_f_string_prepend_nulless_
/**
*
* Dynamic allocation macros are provided, but it is recommended to utilize the f_string_dynamic_t for dynamic allocation.
*
- * is provided as a way t have a string max for systems that do not support max string length in 64-bits (when f_array_length_t is set to uint64_t).
+ * is provided as a way t have a string max for systems that do not support max string length in 64-bits (when f_number_unsigned_t is set to uint64_t).
*
- * The ideal length for a string is F_array_length_t_size_d, which generally defaults to 2^64 (unsigned).
+ * The ideal length for a string is F_number_t_size_unsigned_d, which generally defaults to 2^64 (unsigned).
* However, the libc/POSIX appears to limit this to 2^63 (signed).
*
* F_string_t_size_d is provided to help safely navigate this.
#endif
#ifndef _di_f_string_dynamic_adjust_
- f_status_t f_string_dynamic_adjust(const f_array_length_t length, f_string_dynamic_t * const dynamic) {
+ f_status_t f_string_dynamic_adjust(const f_number_unsigned_t length, f_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_string_append(source.string, source.used, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= source.used && j <= destination->used) {
return private_f_string_append_nulless(source.string, source.used, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= source.used && j <= destination->used) {
#endif // _di_f_string_dynamic_append_nulless_
#ifndef _di_f_string_dynamic_decimate_by_
- f_status_t f_string_dynamic_decimate_by(const f_array_length_t amount, f_string_dynamic_t * const dynamic) {
+ f_status_t f_string_dynamic_decimate_by(const f_number_unsigned_t amount, f_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_dynamic_decimate_by_
#ifndef _di_f_string_dynamic_decrease_by_
- f_status_t f_string_dynamic_decrease_by(const f_array_length_t amount, f_string_dynamic_t * const dynamic) {
+ f_status_t f_string_dynamic_decrease_by(const f_number_unsigned_t amount, f_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_dynamic_decrease_by_
#ifndef _di_f_string_dynamic_increase_
- f_status_t f_string_dynamic_increase(const f_array_length_t step, f_string_dynamic_t * const dynamic) {
+ f_status_t f_string_dynamic_increase(const f_number_unsigned_t step, f_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && dynamic->used + 1 > dynamic->size) {
- f_array_length_t size = dynamic->used + step;
+ f_number_unsigned_t size = dynamic->used + step;
if (size > F_string_t_size_d) {
if (dynamic->used + 1 > F_string_t_size_d) {
#endif // _di_f_string_dynamic_increase_
#ifndef _di_f_string_dynamic_increase_by_
- f_status_t f_string_dynamic_increase_by(const f_array_length_t amount, f_string_dynamic_t * const dynamic) {
+ f_status_t f_string_dynamic_increase_by(const f_number_unsigned_t amount, f_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (range.start > range.stop) return F_data_not_stop;
if (range.start >= source.used) return F_data_not_eos;
- const f_array_length_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
+ const f_number_unsigned_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
if (destination->used < length) {
return private_f_string_append(source.string + range.start, length, destination);
}
- const f_array_length_t stop = range.stop >= source.used ? source.used : range.stop + 1;
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ const f_number_unsigned_t stop = range.stop >= source.used ? source.used : range.stop + 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
if (range.start > range.stop) return F_data_not_stop;
if (range.start >= source.used) return F_data_not_eos;
- const f_array_length_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
+ const f_number_unsigned_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
if (!destination->used) {
return private_f_string_append_nulless(source.string + range.start, length, destination);
}
- const f_array_length_t stop = range.stop >= source.used ? source.used : range.stop + 1;
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ const f_number_unsigned_t stop = range.stop >= source.used ? source.used : range.stop + 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
if (range.start > range.stop) return F_data_not_stop;
if (range.start >= source.used) return F_data_not_eos;
- const f_array_length_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
+ const f_number_unsigned_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
if (destination->used < length) {
return private_f_string_prepend(source.string + range.start, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
if (range.start > range.stop) return F_data_not_stop;
if (range.start >= source.used) return F_data_not_eos;
- const f_array_length_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
+ const f_number_unsigned_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
if (!destination->used) {
return private_f_string_prepend_nulless(source.string + range.start, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
return private_f_string_prepend(source.string, source.used, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < source.used && j < destination->used) {
return private_f_string_prepend_nulless(source.string, source.used, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < source.used && j < destination->used) {
#endif // _di_f_string_dynamic_prepend_nulless_
#ifndef _di_f_string_dynamic_resize_
- f_status_t f_string_dynamic_resize(const f_array_length_t length, f_string_dynamic_t * const buffer) {
+ f_status_t f_string_dynamic_resize(const f_number_unsigned_t length, f_string_dynamic_t * const buffer) {
#ifndef _di_level_0_parameter_checking_
if (!buffer) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_string_dynamic_adjust_
- extern f_status_t f_string_dynamic_adjust(const f_array_length_t length, f_string_dynamic_t * const dynamic);
+ extern f_status_t f_string_dynamic_adjust(const f_number_unsigned_t length, f_string_dynamic_t * const dynamic);
#endif // _di_f_string_dynamic_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamic_decimate_by_
- extern f_status_t f_string_dynamic_decimate_by(const f_array_length_t amount, f_string_dynamic_t * const dynamic);
+ extern f_status_t f_string_dynamic_decimate_by(const f_number_unsigned_t amount, f_string_dynamic_t * const dynamic);
#endif // _di_f_string_dynamic_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamic_decrease_by_
- extern f_status_t f_string_dynamic_decrease_by(const f_array_length_t amount, f_string_dynamic_t * const dynamic);
+ extern f_status_t f_string_dynamic_decrease_by(const f_number_unsigned_t amount, f_string_dynamic_t * const dynamic);
#endif // _di_f_string_dynamic_decrease_by_
/**
* Resize the dynamic string to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamic_increase_
- extern f_status_t f_string_dynamic_increase(const f_array_length_t step, f_string_dynamic_t * const dynamic);
+ extern f_status_t f_string_dynamic_increase(const f_number_unsigned_t step, f_string_dynamic_t * const dynamic);
#endif // _di_f_string_dynamic_increase_
/**
* Resize the dynamic string to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamic_increase_by_
- extern f_status_t f_string_dynamic_increase_by(const f_array_length_t amount, f_string_dynamic_t * const dynamic);
+ extern f_status_t f_string_dynamic_increase_by(const f_number_unsigned_t amount, f_string_dynamic_t * const dynamic);
#endif // _di_f_string_dynamic_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamic_resize_
- extern f_status_t f_string_dynamic_resize(const f_array_length_t length, f_string_dynamic_t * const buffer);
+ extern f_status_t f_string_dynamic_resize(const f_number_unsigned_t length, f_string_dynamic_t * const buffer);
#endif // _di_f_string_dynamic_resize_
/**
#endif
#ifndef _di_f_string_dynamics_adjust_
- f_status_t f_string_dynamics_adjust(const f_array_length_t length, f_string_dynamics_t * const dynamics) {
+ f_status_t f_string_dynamics_adjust(const f_number_unsigned_t length, f_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_dynamics_append_all_
#ifndef _di_f_string_dynamics_decimate_by_
- f_status_t f_string_dynamics_decimate_by(const f_array_length_t amount, f_string_dynamics_t * const dynamics) {
+ f_status_t f_string_dynamics_decimate_by(const f_number_unsigned_t amount, f_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_dynamics_decimate_by_
#ifndef _di_f_string_dynamics_decrease_by_
- f_status_t f_string_dynamics_decrease_by(const f_array_length_t amount, f_string_dynamics_t * const dynamics) {
+ f_status_t f_string_dynamics_decrease_by(const f_number_unsigned_t amount, f_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_dynamics_decrease_by_
#ifndef _di_f_string_dynamics_increase_
- f_status_t f_string_dynamics_increase(const f_array_length_t step, f_string_dynamics_t * const dynamics) {
+ f_status_t f_string_dynamics_increase(const f_number_unsigned_t step, f_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!step) return F_data_not;
if (dynamics->used + 1 > dynamics->size) {
- f_array_length_t size = dynamics->used + step;
+ f_number_unsigned_t size = dynamics->used + step;
- if (size > F_array_length_t_size_d) {
- if (dynamics->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (dynamics->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_dynamics_resize(size, dynamics);
#endif // _di_f_string_dynamics_increase_
#ifndef _di_f_string_dynamics_increase_by_
- f_status_t f_string_dynamics_increase_by(const f_array_length_t amount, f_string_dynamics_t * const dynamics) {
+ f_status_t f_string_dynamics_increase_by(const f_number_unsigned_t amount, f_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (dynamics->used + amount > dynamics->size) {
- if (dynamics->used + amount > F_array_length_t_size_d) {
+ if (dynamics->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_dynamics_increase_by_
#ifndef _di_f_string_dynamics_resize_
- f_status_t f_string_dynamics_resize(const f_array_length_t length, f_string_dynamics_t * const dynamics) {
+ f_status_t f_string_dynamics_resize(const f_number_unsigned_t length, f_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_string_dynamics_adjust_
- extern f_status_t f_string_dynamics_adjust(const f_array_length_t length, f_string_dynamics_t * const dynamics);
+ extern f_status_t f_string_dynamics_adjust(const f_number_unsigned_t length, f_string_dynamics_t * const dynamics);
#endif // _di_f_string_dynamics_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamics_decimate_by_
- extern f_status_t f_string_dynamics_decimate_by(const f_array_length_t amount, f_string_dynamics_t * const dynamics);
+ extern f_status_t f_string_dynamics_decimate_by(const f_number_unsigned_t amount, f_string_dynamics_t * const dynamics);
#endif // _di_f_string_dynamics_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamics_decrease_by_
- extern f_status_t f_string_dynamics_decrease_by(const f_array_length_t amount, f_string_dynamics_t * const dynamics);
+ extern f_status_t f_string_dynamics_decrease_by(const f_number_unsigned_t amount, f_string_dynamics_t * const dynamics);
#endif // _di_f_string_dynamics_decrease_by_
/**
* Increase the size of the dynamic string array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamics_increase_
- extern f_status_t f_string_dynamics_increase(const f_array_length_t step, f_string_dynamics_t * const dynamics);
+ extern f_status_t f_string_dynamics_increase(const f_number_unsigned_t step, f_string_dynamics_t * const dynamics);
#endif // _di_f_string_dynamics_increase_
/**
* Resize the dynamic string array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamics_increase_by_
- extern f_status_t f_string_dynamics_increase_by(const f_array_length_t amount, f_string_dynamics_t * const dynamics);
+ extern f_status_t f_string_dynamics_increase_by(const f_number_unsigned_t amount, f_string_dynamics_t * const dynamics);
#endif // _di_f_string_dynamics_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamics_resize_
- extern f_status_t f_string_dynamics_resize(const f_array_length_t length, f_string_dynamics_t * const dynamics);
+ extern f_status_t f_string_dynamics_resize(const f_number_unsigned_t length, f_string_dynamics_t * const dynamics);
#endif // _di_f_string_dynamics_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_string_dynamicss_adjust_
- f_status_t f_string_dynamicss_adjust(const f_array_length_t length, f_string_dynamicss_t * const dynamicss) {
+ f_status_t f_string_dynamicss_adjust(const f_number_unsigned_t length, f_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_string_dynamicss_append_all_
#ifndef _di_f_string_dynamicss_decimate_by_
- f_status_t f_string_dynamicss_decimate_by(const f_array_length_t amount, f_string_dynamicss_t * const dynamicss) {
+ f_status_t f_string_dynamicss_decimate_by(const f_number_unsigned_t amount, f_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_dynamicss_decimate_by_
#ifndef _di_f_string_dynamicss_decrease_by_
- f_status_t f_string_dynamicss_decrease_by(const f_array_length_t amount, f_string_dynamicss_t * const dynamicss) {
+ f_status_t f_string_dynamicss_decrease_by(const f_number_unsigned_t amount, f_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_dynamicss_decrease_by_
#ifndef _di_f_string_dynamicss_increase_
- f_status_t f_string_dynamicss_increase(const f_array_length_t step, f_string_dynamicss_t * const dynamicss) {
+ f_status_t f_string_dynamicss_increase(const f_number_unsigned_t step, f_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!step) return F_data_not;
if (dynamicss->used + 1 > dynamicss->size) {
- f_array_length_t size = dynamicss->used + step;
+ f_number_unsigned_t size = dynamicss->used + step;
- if (size > F_array_length_t_size_d) {
- if (dynamicss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (dynamicss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_dynamicss_resize(size, dynamicss);
#endif // _di_f_string_dynamicss_increase_
#ifndef _di_f_string_dynamicss_increase_by_
- f_status_t f_string_dynamicss_increase_by(const f_array_length_t amount, f_string_dynamicss_t * const dynamicss) {
+ f_status_t f_string_dynamicss_increase_by(const f_number_unsigned_t amount, f_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (dynamicss->used + amount > dynamicss->size) {
- if (dynamicss->used + amount > F_array_length_t_size_d) {
+ if (dynamicss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_dynamicss_increase_by_
#ifndef _di_f_string_dynamicss_resize_
- f_status_t f_string_dynamicss_resize(const f_array_length_t length, f_string_dynamicss_t * const dynamicss) {
+ f_status_t f_string_dynamicss_resize(const f_number_unsigned_t length, f_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_string_dynamicss_adjust_
- extern f_status_t f_string_dynamicss_adjust(const f_array_length_t length, f_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_string_dynamicss_adjust(const f_number_unsigned_t length, f_string_dynamicss_t * const dynamicss);
#endif // _di_f_string_dynamicss_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamicss_decimate_by_
- extern f_status_t f_string_dynamicss_decimate_by(const f_array_length_t amount, f_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_string_dynamicss_decimate_by(const f_number_unsigned_t amount, f_string_dynamicss_t * const dynamicss);
#endif // _di_f_string_dynamicss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamicss_decrease_by_
- extern f_status_t f_string_dynamicss_decrease_by(const f_array_length_t amount, f_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_string_dynamicss_decrease_by(const f_number_unsigned_t amount, f_string_dynamicss_t * const dynamicss);
#endif // _di_f_string_dynamicss_decrease_by_
/**
* Increase the size of the dynamics string array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamicss_increase_
- extern f_status_t f_string_dynamicss_increase(const f_array_length_t step, f_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_string_dynamicss_increase(const f_number_unsigned_t step, f_string_dynamicss_t * const dynamicss);
#endif // _di_f_string_dynamicss_increase_
/**
* Resize the dynamics string array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamicss_increase_by_
- extern f_status_t f_string_dynamicss_increase_by(const f_array_length_t amount, f_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_string_dynamicss_increase_by(const f_number_unsigned_t amount, f_string_dynamicss_t * const dynamicss);
#endif // _di_f_string_dynamicss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_dynamicss_resize_
- extern f_status_t f_string_dynamicss_resize(const f_array_length_t length, f_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_string_dynamicss_resize(const f_number_unsigned_t length, f_string_dynamicss_t * const dynamicss);
#endif // _di_f_string_dynamicss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_string_map_multis_adjust_
- f_status_t f_string_map_multis_adjust(const f_array_length_t length, f_string_map_multis_t * const map_multis) {
+ f_status_t f_string_map_multis_adjust(const f_number_unsigned_t length, f_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_map_multis_append_all_
#ifndef _di_f_string_map_multis_decimate_by_
- f_status_t f_string_map_multis_decimate_by(const f_array_length_t amount, f_string_map_multis_t * const map_multis) {
+ f_status_t f_string_map_multis_decimate_by(const f_number_unsigned_t amount, f_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_map_multis_decimate_by_
#ifndef _di_f_string_map_multis_decrease_by_
- f_status_t f_string_map_multis_decrease_by(const f_array_length_t amount, f_string_map_multis_t * const map_multis) {
+ f_status_t f_string_map_multis_decrease_by(const f_number_unsigned_t amount, f_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_map_multis_decrease_by_
#ifndef _di_f_string_map_multis_increase_
- f_status_t f_string_map_multis_increase(const f_array_length_t step, f_string_map_multis_t * const map_multis) {
+ f_status_t f_string_map_multis_increase(const f_number_unsigned_t step, f_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && map_multis->used + 1 > map_multis->size) {
- f_array_length_t size = map_multis->used + step;
+ f_number_unsigned_t size = map_multis->used + step;
- if (size > F_array_length_t_size_d) {
- if (map_multis->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (map_multis->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_map_multis_resize(size, map_multis);
#endif // _di_f_string_map_multis_increase_
#ifndef _di_f_string_map_multis_increase_by_
- f_status_t f_string_map_multis_increase_by(const f_array_length_t amount, f_string_map_multis_t * const map_multis) {
+ f_status_t f_string_map_multis_increase_by(const f_number_unsigned_t amount, f_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (map_multis->used + amount > map_multis->size) {
- if (map_multis->used + amount > F_array_length_t_size_d) {
+ if (map_multis->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_map_multis_increase_by_
#ifndef _di_f_string_map_multis_resize_
- f_status_t f_string_map_multis_resize(const f_array_length_t length, f_string_map_multis_t * const map_multis) {
+ f_status_t f_string_map_multis_resize(const f_number_unsigned_t length, f_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_map_multi_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_map_multis_t;
#define f_string_map_multis_t_initialize f_string_statics_t_initialize
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multis_adjust_
- extern f_status_t f_string_map_multis_adjust(const f_array_length_t length, f_string_map_multis_t * const map_multis);
+ extern f_status_t f_string_map_multis_adjust(const f_number_unsigned_t length, f_string_map_multis_t * const map_multis);
#endif // _di_f_string_map_multis_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multis_decimate_by_
- extern f_status_t f_string_map_multis_decimate_by(const f_array_length_t amount, f_string_map_multis_t * const map_multis);
+ extern f_status_t f_string_map_multis_decimate_by(const f_number_unsigned_t amount, f_string_map_multis_t * const map_multis);
#endif // _di_f_string_map_multis_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multis_decrease_by_
- extern f_status_t f_string_map_multis_decrease_by(const f_array_length_t amount, f_string_map_multis_t * const map_multis);
+ extern f_status_t f_string_map_multis_decrease_by(const f_number_unsigned_t amount, f_string_map_multis_t * const map_multis);
#endif // _di_f_string_map_multis_decrease_by_
/**
* Increase the size of the map_multis array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multis_increase_
- extern f_status_t f_string_map_multis_increase(const f_array_length_t step, f_string_map_multis_t * const map_multis);
+ extern f_status_t f_string_map_multis_increase(const f_number_unsigned_t step, f_string_map_multis_t * const map_multis);
#endif // _di_f_string_map_multis_increase_
/**
* Resize the map_multis array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multis_increase_by_
- extern f_status_t f_string_map_multis_increase_by(const f_array_length_t amount, f_string_map_multis_t * const map_multis);
+ extern f_status_t f_string_map_multis_increase_by(const f_number_unsigned_t amount, f_string_map_multis_t * const map_multis);
#endif // _di_f_string_map_multis_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multis_resize_
- extern f_status_t f_string_map_multis_resize(const f_array_length_t length, f_string_map_multis_t * const map_multis);
+ extern f_status_t f_string_map_multis_resize(const f_number_unsigned_t length, f_string_map_multis_t * const map_multis);
#endif // _di_f_string_map_multis_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_string_map_multiss_adjust_
- f_status_t f_string_map_multiss_adjust(const f_array_length_t length, f_string_map_multiss_t * const map_multiss) {
+ f_status_t f_string_map_multiss_adjust(const f_number_unsigned_t length, f_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_string_map_multiss_append_all_
#ifndef _di_f_string_map_multiss_decimate_by_
- f_status_t f_string_map_multiss_decimate_by(const f_array_length_t amount, f_string_map_multiss_t * const map_multiss) {
+ f_status_t f_string_map_multiss_decimate_by(const f_number_unsigned_t amount, f_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_map_multiss_decimate_by_
#ifndef _di_f_string_map_multiss_decrease_by_
- f_status_t f_string_map_multiss_decrease_by(const f_array_length_t amount, f_string_map_multiss_t * const map_multiss) {
+ f_status_t f_string_map_multiss_decrease_by(const f_number_unsigned_t amount, f_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_map_multiss_decrease_by_
#ifndef _di_f_string_map_multiss_increase_
- f_status_t f_string_map_multiss_increase(const f_array_length_t step, f_string_map_multiss_t * const map_multiss) {
+ f_status_t f_string_map_multiss_increase(const f_number_unsigned_t step, f_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && map_multiss->used + 1 > map_multiss->size) {
- f_array_length_t size = map_multiss->used + step;
+ f_number_unsigned_t size = map_multiss->used + step;
- if (size > F_array_length_t_size_d) {
- if (map_multiss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (map_multiss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_map_multiss_resize(size, map_multiss);
#endif // _di_f_string_map_multiss_increase_
#ifndef _di_f_string_map_multiss_increase_by_
- f_status_t f_string_map_multiss_increase_by(const f_array_length_t amount, f_string_map_multiss_t * const map_multiss) {
+ f_status_t f_string_map_multiss_increase_by(const f_number_unsigned_t amount, f_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (map_multiss->used + amount > map_multiss->size) {
- if (map_multiss->used + amount > F_array_length_t_size_d) {
+ if (map_multiss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_map_multiss_increase_by_
#ifndef _di_f_string_map_multiss_resize_
- f_status_t f_string_map_multiss_resize(const f_array_length_t length, f_string_map_multiss_t * const map_multiss) {
+ f_status_t f_string_map_multiss_resize(const f_number_unsigned_t length, f_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_map_multis_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_map_multiss_t;
#define f_string_map_multiss_t_initialize f_string_statics_t_initialize
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multiss_adjust_
- extern f_status_t f_string_map_multiss_adjust(const f_array_length_t length, f_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_string_map_multiss_adjust(const f_number_unsigned_t length, f_string_map_multiss_t * const map_multiss);
#endif // _di_f_string_map_multiss_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multiss_decimate_by_
- extern f_status_t f_string_map_multiss_decimate_by(const f_array_length_t amount, f_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_string_map_multiss_decimate_by(const f_number_unsigned_t amount, f_string_map_multiss_t * const map_multiss);
#endif // _di_f_string_map_multiss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multiss_decrease_by_
- extern f_status_t f_string_map_multiss_decrease_by(const f_array_length_t amount, f_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_string_map_multiss_decrease_by(const f_number_unsigned_t amount, f_string_map_multiss_t * const map_multiss);
#endif // _di_f_string_map_multiss_decrease_by_
/**
* Increase the size of the map_multiss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multiss_increase_
- extern f_status_t f_string_map_multiss_increase(const f_array_length_t step, f_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_string_map_multiss_increase(const f_number_unsigned_t step, f_string_map_multiss_t * const map_multiss);
#endif // _di_f_string_map_multiss_increase_
/**
* Resize the map_multiss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multiss_increase_by_
- extern f_status_t f_string_map_multiss_increase_by(const f_array_length_t amount, f_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_string_map_multiss_increase_by(const f_number_unsigned_t amount, f_string_map_multiss_t * const map_multiss);
#endif // _di_f_string_map_multiss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_map_multiss_resize_
- extern f_status_t f_string_map_multiss_resize(const f_array_length_t length, f_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_string_map_multiss_resize(const f_number_unsigned_t length, f_string_map_multiss_t * const map_multiss);
#endif // _di_f_string_map_multiss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_string_maps_adjust_
- f_status_t f_string_maps_adjust(const f_array_length_t length, f_string_maps_t * const maps) {
+ f_status_t f_string_maps_adjust(const f_number_unsigned_t length, f_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_maps_append_all_
#ifndef _di_f_string_maps_decimate_by_
- f_status_t f_string_maps_decimate_by(const f_array_length_t amount, f_string_maps_t * const maps) {
+ f_status_t f_string_maps_decimate_by(const f_number_unsigned_t amount, f_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_maps_decimate_by_
#ifndef _di_f_string_maps_decrease_by_
- f_status_t f_string_maps_decrease_by(const f_array_length_t amount, f_string_maps_t * const maps) {
+ f_status_t f_string_maps_decrease_by(const f_number_unsigned_t amount, f_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_maps_decrease_by_
#ifndef _di_f_string_maps_increase_
- f_status_t f_string_maps_increase(const f_array_length_t step, f_string_maps_t * const maps) {
+ f_status_t f_string_maps_increase(const f_number_unsigned_t step, f_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && maps->used + 1 > maps->size) {
- f_array_length_t size = maps->used + step;
+ f_number_unsigned_t size = maps->used + step;
- if (size > F_array_length_t_size_d) {
- if (maps->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (maps->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_maps_resize(size, maps);
#endif // _di_f_string_maps_increase_
#ifndef _di_f_string_maps_increase_by_
- f_status_t f_string_maps_increase_by(const f_array_length_t amount, f_string_maps_t * const maps) {
+ f_status_t f_string_maps_increase_by(const f_number_unsigned_t amount, f_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (maps->used + amount > maps->size) {
- if (maps->used + amount > F_array_length_t_size_d) {
+ if (maps->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_maps_increase_by_
#ifndef _di_f_string_maps_resize_
- f_status_t f_string_maps_resize(const f_array_length_t length, f_string_maps_t * const maps) {
+ f_status_t f_string_maps_resize(const f_number_unsigned_t length, f_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_map_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_maps_t;
#define f_string_maps_t_initialize f_string_statics_t_initialize
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_maps_adjust_
- extern f_status_t f_string_maps_adjust(const f_array_length_t length, f_string_maps_t * const maps);
+ extern f_status_t f_string_maps_adjust(const f_number_unsigned_t length, f_string_maps_t * const maps);
#endif // _di_f_string_maps_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_maps_decimate_by_
- extern f_status_t f_string_maps_decimate_by(const f_array_length_t amount, f_string_maps_t * const maps);
+ extern f_status_t f_string_maps_decimate_by(const f_number_unsigned_t amount, f_string_maps_t * const maps);
#endif // _di_f_string_maps_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_maps_decrease_by_
- extern f_status_t f_string_maps_decrease_by(const f_array_length_t amount, f_string_maps_t * const maps);
+ extern f_status_t f_string_maps_decrease_by(const f_number_unsigned_t amount, f_string_maps_t * const maps);
#endif // _di_f_string_maps_decrease_by_
/**
* Increase the size of the string maps array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_maps_increase_
- extern f_status_t f_string_maps_increase(const f_array_length_t step, f_string_maps_t * const maps);
+ extern f_status_t f_string_maps_increase(const f_number_unsigned_t step, f_string_maps_t * const maps);
#endif // _di_f_string_maps_increase_
/**
* Resize the string maps array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_maps_increase_by_
- extern f_status_t f_string_maps_increase_by(const f_array_length_t amount, f_string_maps_t * const maps);
+ extern f_status_t f_string_maps_increase_by(const f_number_unsigned_t amount, f_string_maps_t * const maps);
#endif // _di_f_string_maps_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_maps_resize_
- extern f_status_t f_string_maps_resize(const f_array_length_t length, f_string_maps_t * const maps);
+ extern f_status_t f_string_maps_resize(const f_number_unsigned_t length, f_string_maps_t * const maps);
#endif // _di_f_string_maps_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_string_mapss_adjust_
- f_status_t f_string_mapss_adjust(const f_array_length_t length, f_string_mapss_t * const mapss) {
+ f_status_t f_string_mapss_adjust(const f_number_unsigned_t length, f_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_string_mapss_append_all_
#ifndef _di_f_string_mapss_decimate_by_
- f_status_t f_string_mapss_decimate_by(const f_array_length_t amount, f_string_mapss_t * const mapss) {
+ f_status_t f_string_mapss_decimate_by(const f_number_unsigned_t amount, f_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_mapss_decimate_by_
#ifndef _di_f_string_mapss_decrease_by_
- f_status_t f_string_mapss_decrease_by(const f_array_length_t amount, f_string_mapss_t * const mapss) {
+ f_status_t f_string_mapss_decrease_by(const f_number_unsigned_t amount, f_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_mapss_decrease_by_
#ifndef _di_f_string_mapss_increase_
- f_status_t f_string_mapss_increase(const f_array_length_t step, f_string_mapss_t * const mapss) {
+ f_status_t f_string_mapss_increase(const f_number_unsigned_t step, f_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && mapss->used + 1 > mapss->size) {
- f_array_length_t size = mapss->used + step;
+ f_number_unsigned_t size = mapss->used + step;
- if (size > F_array_length_t_size_d) {
- if (mapss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (mapss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_mapss_resize(size, mapss);
#endif // _di_f_string_mapss_increase_
#ifndef _di_f_string_mapss_increase_by_
- f_status_t f_string_mapss_increase_by(const f_array_length_t amount, f_string_mapss_t * const mapss) {
+ f_status_t f_string_mapss_increase_by(const f_number_unsigned_t amount, f_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (mapss->used + amount > mapss->size) {
- if (mapss->used + amount > F_array_length_t_size_d) {
+ if (mapss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_mapss_increase_by_
#ifndef _di_f_string_mapss_resize_
- f_status_t f_string_mapss_resize(const f_array_length_t length, f_string_mapss_t * const mapss) {
+ f_status_t f_string_mapss_resize(const f_number_unsigned_t length, f_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_maps_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_mapss_t;
#define f_string_mapss_t_initialize f_string_statics_t_initialize
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_mapss_adjust_
- extern f_status_t f_string_mapss_adjust(const f_array_length_t length, f_string_mapss_t * const mapss);
+ extern f_status_t f_string_mapss_adjust(const f_number_unsigned_t length, f_string_mapss_t * const mapss);
#endif // _di_f_string_mapss_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_mapss_decimate_by_
- extern f_status_t f_string_mapss_decimate_by(const f_array_length_t amount, f_string_mapss_t * const mapss);
+ extern f_status_t f_string_mapss_decimate_by(const f_number_unsigned_t amount, f_string_mapss_t * const mapss);
#endif // _di_f_string_mapss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_mapss_decrease_by_
- extern f_status_t f_string_mapss_decrease_by(const f_array_length_t amount, f_string_mapss_t * const mapss);
+ extern f_status_t f_string_mapss_decrease_by(const f_number_unsigned_t amount, f_string_mapss_t * const mapss);
#endif // _di_f_string_mapss_decrease_by_
/**
* Increase the size of the string mapss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_mapss_increase_
- extern f_status_t f_string_mapss_increase(const f_array_length_t step, f_string_mapss_t * const mapss);
+ extern f_status_t f_string_mapss_increase(const f_number_unsigned_t step, f_string_mapss_t * const mapss);
#endif // _di_f_string_mapss_increase_
/**
* Resize the string mapss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_mapss_increase_by_
- extern f_status_t f_string_mapss_increase_by(const f_array_length_t amount, f_string_mapss_t * const mapss);
+ extern f_status_t f_string_mapss_increase_by(const f_number_unsigned_t amount, f_string_mapss_t * const mapss);
#endif // _di_f_string_mapss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_mapss_resize_
- extern f_status_t f_string_mapss_resize(const f_array_length_t length, f_string_mapss_t * const mapss);
+ extern f_status_t f_string_mapss_resize(const f_number_unsigned_t length, f_string_mapss_t * const mapss);
#endif // _di_f_string_mapss_resize_
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_dynamic_adjust_) || !defined(_di_f_string_dynamic_decimate_by_) || !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_)
- f_status_t private_f_string_dynamic_adjust(const f_array_length_t length, f_string_dynamic_t * const dynamic) {
+ f_status_t private_f_string_dynamic_adjust(const f_number_unsigned_t length, f_string_dynamic_t * const dynamic) {
const f_status_t status = f_memory_adjust(dynamic->size, length, sizeof(f_char_t), (void **) & dynamic->string);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_string_dynamic_adjust_) || !defined(_di_f_string_dynamic_decimate_by_) || !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_)
#if !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_)
- f_status_t private_f_string_dynamic_increase_by(const f_array_length_t amount, f_string_dynamic_t * const dynamic) {
+ f_status_t private_f_string_dynamic_increase_by(const f_number_unsigned_t amount, f_string_dynamic_t * const dynamic) {
if (dynamic->used + amount > dynamic->size) {
if (dynamic->used + amount > F_string_t_size_d) {
#endif // !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_)
#if !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_decrease_by_) || !defined(_di_f_string_dynamic_increase_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(f_string_dynamic_partial_append) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamic_terminate_) || !defined(_di_f_string_dynamic_terminate_after_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_)
- f_status_t private_f_string_dynamic_resize(const f_array_length_t length, f_string_dynamic_t * const dynamic) {
+ f_status_t private_f_string_dynamic_resize(const f_number_unsigned_t length, f_string_dynamic_t * const dynamic) {
const f_status_t status = f_memory_resize(dynamic->size, length, sizeof(f_char_t), (void **) & dynamic->string);
if (F_status_is_error(status)) return status;
* @see f_string_triples_decimate_by()
*/
#if !defined(_di_f_string_dynamic_adjust_) || !defined(_di_f_string_dynamic_decimate_by_) || !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_)
- extern f_status_t private_f_string_dynamic_adjust(const f_array_length_t length, f_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_dynamic_adjust(const f_number_unsigned_t length, f_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_dynamic_adjust_) || !defined(_di_f_string_dynamic_decimate_by_) || !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_)
/**
* @see f_string_triples_append()
*/
#if !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_)
- extern f_status_t private_f_string_dynamic_increase_by(const f_array_length_t amount, f_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_dynamic_increase_by(const f_number_unsigned_t amount, f_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(_di_f_string_dynamic_partial_append_) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_)
/**
* @see f_string_triples_append()
*/
#if !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_decrease_by_) || !defined(_di_f_string_dynamic_increase_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(f_string_dynamic_partial_append) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamic_terminate_) || !defined(_di_f_string_dynamic_terminate_after_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_)
- extern f_status_t private_f_string_dynamic_resize(const f_array_length_t length, f_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_dynamic_resize(const f_number_unsigned_t length, f_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_append_) || !defined(_di_f_string_append_assure_) || !defined(_di_f_string_append_mash_) || !defined(_di_f_string_append_nulless_) || !defined(_di_f_string_dynamic_append_) || !defined(_di_f_string_dynamic_append_assure_) || !defined(_di_f_string_dynamic_append_nulless_) || !defined(_di_f_string_dynamic_decrease_by_) || !defined(_di_f_string_dynamic_increase_) || !defined(_di_f_string_dynamic_increase_by_) || !defined(_di_f_string_dynamic_mash_) || !defined(_di_f_string_dynamic_mash_nulless_) || !defined(f_string_dynamic_partial_append) || !defined(_di_f_string_dynamic_partial_append_assure_) || !defined(_di_f_string_dynamic_partial_mash_) || !defined(_di_f_string_dynamic_prepend_) || !defined(_di_f_string_dynamic_prepend_nulless_) || !defined(_di_f_string_dynamic_terminate_) || !defined(_di_f_string_dynamic_terminate_after_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_mash_nulless_) || !defined(_di_f_string_mash_) || !defined(_di_f_string_maps_append_) || !defined(_di_f_string_prepend_) || !defined(_di_f_string_prepend_nulless_) || !defined(_di_f_string_triples_append_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_)
- f_status_t private_f_string_dynamics_adjust(const f_array_length_t length, f_string_dynamics_t * const dynamics) {
+ f_status_t private_f_string_dynamics_adjust(const f_number_unsigned_t length, f_string_dynamics_t * const dynamics) {
- if (dynamics->used + length > F_array_length_t_size_d) return F_status_set_error(F_array_too_large);
+ if (dynamics->used + length > F_number_t_size_unsigned_d) return F_status_set_error(F_array_too_large);
f_status_t status = F_none;
- for (f_array_length_t i = length; i < dynamics->size; ++i) {
+ for (f_number_unsigned_t i = length; i < dynamics->size; ++i) {
status = private_f_string_dynamic_adjust(0, &dynamics->array[i]);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // !defined(_di_f_string_dynamics_append_all_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_)
#if !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(f_string_dynamics_resize) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_)
- f_status_t private_f_string_dynamics_resize(const f_array_length_t length, f_string_dynamics_t * const dynamics) {
+ f_status_t private_f_string_dynamics_resize(const f_number_unsigned_t length, f_string_dynamics_t * const dynamics) {
- if (dynamics->used + length > F_array_length_t_size_d) return F_status_set_error(F_array_too_large);
+ if (dynamics->used + length > F_number_t_size_unsigned_d) return F_status_set_error(F_array_too_large);
f_status_t status = F_none;
- for (f_array_length_t i = length; i < dynamics->size; ++i) {
+ for (f_number_unsigned_t i = length; i < dynamics->size; ++i) {
status = private_f_string_dynamic_resize(0, &dynamics->array[i]);
if (F_status_is_error(status)) return status;
* @see f_string_map_multis_append()
*/
#if !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_)
- extern f_status_t private_f_string_dynamics_adjust(const f_array_length_t length, f_string_dynamics_t * const dynamics) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_dynamics_adjust(const f_number_unsigned_t length, f_string_dynamics_t * const dynamics) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_dynamics_adjust_) || !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_dynamics_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_)
/**
* @see f_string_map_multiss_increase_by()
*/
#if !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(f_string_dynamics_resize) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_)
- extern f_status_t private_f_string_dynamics_resize(const f_array_length_t length, f_string_dynamics_t * const dynamics) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_dynamics_resize(const f_number_unsigned_t length, f_string_dynamics_t * const dynamics) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_dynamics_decrease_by_) || !defined(_di_f_string_dynamics_increase_) || !defined(_di_f_string_dynamics_increase_by_) || !defined(f_string_dynamics_resize) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_dynamicss_adjust_) || !defined(_di_f_string_dynamicss_append_) || !defined(_di_f_string_dynamicss_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_)
- f_status_t private_f_string_dynamicss_adjust(const f_array_length_t length, f_string_dynamicss_t * const dynamicss) {
+ f_status_t private_f_string_dynamicss_adjust(const f_number_unsigned_t length, f_string_dynamicss_t * const dynamicss) {
- if (dynamicss->used + length > F_array_length_t_size_d) return F_status_set_error(F_array_too_large);
+ if (dynamicss->used + length > F_number_t_size_unsigned_d) return F_status_set_error(F_array_too_large);
f_status_t status = F_none;
- for (f_array_length_t i = length; i < dynamicss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < dynamicss->size; ++i) {
status = private_f_string_dynamics_adjust(0, &dynamicss->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_string_dynamicss_adjust_) || !defined(_di_f_string_dynamicss_append_) || !defined(_di_f_string_dynamicss_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_)
#if !defined(_di_f_string_dynamicss_decrease_by_) || !defined(_di_f_string_dynamicss_increase_) || !defined(_di_f_string_dynamicss_increase_by_) || !defined(_di_f_string_dynamicss_append_all_) || !defined(_di_f_string_map_multis_append_all_)
- f_status_t private_f_string_dynamicss_resize(const f_array_length_t length, f_string_dynamicss_t * const dynamicss) {
+ f_status_t private_f_string_dynamicss_resize(const f_number_unsigned_t length, f_string_dynamicss_t * const dynamicss) {
- if (dynamicss->used + length > F_array_length_t_size_d) return F_status_set_error(F_array_too_large);
+ if (dynamicss->used + length > F_number_t_size_unsigned_d) return F_status_set_error(F_array_too_large);
f_status_t status = F_none;
- for (f_array_length_t i = length; i < dynamicss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < dynamicss->size; ++i) {
status = private_f_string_dynamics_resize(0, &dynamicss->array[i]);
if (F_status_is_error(status)) return status;
* @see f_string_map_multis_append()
*/
#if !defined(_di_f_string_dynamicss_adjust_) || !defined(_di_f_string_dynamicss_append_) || !defined(_di_f_string_dynamicss_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_)
- extern f_status_t private_f_string_dynamicss_adjust(const f_array_length_t length, f_string_dynamicss_t * const dynamicss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_dynamicss_adjust(const f_number_unsigned_t length, f_string_dynamicss_t * const dynamicss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_dynamicss_adjust_) || !defined(_di_f_string_dynamicss_append_) || !defined(_di_f_string_dynamicss_decimate_by_) || !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_append_)
/**
* @see f_string_map_multis_append_all()
*/
#if !defined(_di_f_string_dynamicss_decrease_by_) || !defined(_di_f_string_dynamicss_increase_) || !defined(_di_f_string_dynamicss_increase_by_) || !defined(_di_f_string_dynamicss_append_all_) || !defined(_di_f_string_map_multis_append_all_)
- extern f_status_t private_f_string_dynamicss_resize(const f_array_length_t length, f_string_dynamicss_t * const dynamicss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_dynamicss_resize(const f_number_unsigned_t length, f_string_dynamicss_t * const dynamicss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_dynamicss_decrease_by_) || !defined(_di_f_string_dynamicss_increase_) || !defined(_di_f_string_dynamicss_increase_by_) || !defined(_di_f_string_dynamicss_append_all_) || !defined(_di_f_string_map_multis_append_all_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_decimate_by_)
- f_status_t private_f_string_map_multis_adjust(const f_array_length_t length, f_string_map_multis_t * const map_multis) {
+ f_status_t private_f_string_map_multis_adjust(const f_number_unsigned_t length, f_string_map_multis_t * const map_multis) {
- if (map_multis->used + length > F_array_length_t_size_d) {
+ if (map_multis->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < map_multis->size; ++i) {
+ for (f_number_unsigned_t i = length; i < map_multis->size; ++i) {
status = private_f_string_dynamic_adjust(0, &map_multis->array[i].name);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].name.used = 0;
destination->array[destination->used].value.used = 0;
#endif // !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_)
#if !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_)
- f_status_t private_f_string_map_multis_resize(const f_array_length_t length, f_string_map_multis_t * const map_multis) {
+ f_status_t private_f_string_map_multis_resize(const f_number_unsigned_t length, f_string_map_multis_t * const map_multis) {
- if (map_multis->used + length > F_array_length_t_size_d) {
+ if (map_multis->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < map_multis->size; ++i) {
+ for (f_number_unsigned_t i = length; i < map_multis->size; ++i) {
status = private_f_string_dynamic_resize(0, &map_multis->array[i].name);
if (F_status_is_error(status)) return status;
* @see f_string_map_multis_adjust()
*/
#if !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_decimate_by_)
- extern f_status_t private_f_string_map_multis_adjust(const f_array_length_t length, f_string_map_multis_t * const map_multis) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_map_multis_adjust(const f_number_unsigned_t length, f_string_map_multis_t * const map_multis) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_map_multis_adjust_) || !defined(_di_f_string_map_multis_decimate_by_)
/**
* @see f_string_map_multiss_increase_by()
*/
#if !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_)
- extern f_status_t private_f_string_map_multis_resize(const f_array_length_t length, f_string_map_multis_t * const map_multis) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_map_multis_resize(const f_number_unsigned_t length, f_string_map_multis_t * const map_multis) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multis_decrease_by_) || !defined(_di_f_string_map_multis_increase_) || !defined(_di_f_string_map_multis_increase_by_) || !defined(_di_f_string_map_multis_resize_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_) || !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_map_multiss_adjust_) || !defined(_di_f_string_map_multiss_decimate_by_)
- f_status_t private_f_string_map_multiss_adjust(const f_array_length_t length, f_string_map_multiss_t * const map_multiss) {
+ f_status_t private_f_string_map_multiss_adjust(const f_number_unsigned_t length, f_string_map_multiss_t * const map_multiss) {
- if (map_multiss->used + length > F_array_length_t_size_d) {
+ if (map_multiss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < map_multiss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < map_multiss->size; ++i) {
status = private_f_string_map_multis_adjust(0, &map_multiss->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_string_map_multiss_adjust_) || !defined(_di_f_string_map_multiss_decimate_by_)
#if !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_)
- f_status_t private_f_string_map_multiss_resize(const f_array_length_t length, f_string_map_multiss_t * const map_multiss) {
+ f_status_t private_f_string_map_multiss_resize(const f_number_unsigned_t length, f_string_map_multiss_t * const map_multiss) {
- if (map_multiss->used + length > F_array_length_t_size_d) {
+ if (map_multiss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < map_multiss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < map_multiss->size; ++i) {
status = private_f_string_map_multis_resize(0, &map_multiss->array[i]);
if (F_status_is_error(status)) return status;
* @see f_string_map_multiss_adjust()
*/
#if !defined(_di_f_string_map_multiss_adjust_) || !defined(_di_f_string_map_multiss_decimate_by_)
- extern f_status_t private_f_string_map_multiss_adjust(const f_array_length_t length, f_string_map_multiss_t * const map_multiss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_map_multiss_adjust(const f_number_unsigned_t length, f_string_map_multiss_t * const map_multiss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_map_multiss_adjust_) || !defined(_di_f_string_map_multiss_decimate_by_)
/**
* @see f_string_map_multiss_increase_by()
*/
#if !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_)
- extern f_status_t private_f_string_map_multiss_resize(const f_array_length_t length, f_string_map_multiss_t * const map_multiss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_map_multiss_resize(const f_number_unsigned_t length, f_string_map_multiss_t * const map_multiss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_map_multiss_decrease_by_) || !defined(_di_f_string_map_multiss_increase_) || !defined(_di_f_string_map_multiss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_maps_adjust_) || !defined(_di_f_string_maps_decimate_by_)
- f_status_t private_f_string_maps_adjust(const f_array_length_t length, f_string_maps_t * const maps) {
+ f_status_t private_f_string_maps_adjust(const f_number_unsigned_t length, f_string_maps_t * const maps) {
- if (maps->used + length > F_array_length_t_size_d) {
+ if (maps->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < maps->size; ++i) {
+ for (f_number_unsigned_t i = length; i < maps->size; ++i) {
status = private_f_string_dynamic_adjust(0, &maps->array[i].name);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].name.used = 0;
destination->array[destination->used].value.used = 0;
#endif // !defined(_di_f_string_maps_append_all_) || !defined(_di_f_string_mapss_append_) || !defined(_di_f_string_mapss_append_all_)
#if !defined(_di_f_string_maps_append_) || !defined(_di_f_string_maps_append_all_) || !defined(_di_f_string_maps_decrease_by_) || !defined(_di_f_string_maps_increase_) || !defined(_di_f_string_maps_increase_by_) || !defined(_di_f_string_maps_resize_) || !defined(_di_f_string_mapss_append_) || !defined(_di_f_string_mapss_append_all_) || !defined(_di_f_string_mapss_decrease_by_) || !defined(_di_f_string_mapss_increase_) || !defined(_di_f_string_mapss_increase_by_)
- f_status_t private_f_string_maps_resize(const f_array_length_t length, f_string_maps_t * const maps) {
+ f_status_t private_f_string_maps_resize(const f_number_unsigned_t length, f_string_maps_t * const maps) {
- if (maps->used + length > F_array_length_t_size_d) {
+ if (maps->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < maps->size; ++i) {
+ for (f_number_unsigned_t i = length; i < maps->size; ++i) {
status = private_f_string_dynamic_resize(0, &maps->array[i].name);
if (F_status_is_error(status)) return status;
* @see f_string_maps_adjust()
*/
#if !defined(_di_f_string_maps_adjust_) || !defined(_di_f_string_maps_decimate_by_)
- extern f_status_t private_f_string_maps_adjust(const f_array_length_t length, f_string_maps_t * const maps) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_maps_adjust(const f_number_unsigned_t length, f_string_maps_t * const maps) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_maps_adjust_) || !defined(_di_f_string_maps_decimate_by_)
/**
* @see f_string_mapss_increase_by()
*/
#if !defined(_di_f_string_maps_append_) || !defined(_di_f_string_maps_append_all_) || !defined(_di_f_string_maps_decrease_by_) || !defined(_di_f_string_maps_increase_) || !defined(_di_f_string_maps_increase_by_) || !defined(_di_f_string_maps_resize_) || !defined(_di_f_string_mapss_append_) || !defined(_di_f_string_mapss_append_all_) || !defined(_di_f_string_mapss_decrease_by_) || !defined(_di_f_string_mapss_increase_) || !defined(_di_f_string_mapss_increase_by_)
- extern f_status_t private_f_string_maps_resize(const f_array_length_t length, f_string_maps_t * const maps) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_maps_resize(const f_number_unsigned_t length, f_string_maps_t * const maps) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_maps_append_) || !defined(_di_f_string_maps_append_all_) || !defined(_di_f_string_maps_decrease_by_) || !defined(_di_f_string_maps_increase_) || !defined(_di_f_string_maps_increase_by_) || !defined(_di_f_string_maps_resize_) || !defined(_di_f_string_mapss_append_) || !defined(_di_f_string_mapss_append_all_) || !defined(_di_f_string_mapss_decrease_by_) || !defined(_di_f_string_mapss_increase_) || !defined(_di_f_string_mapss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_mapss_adjust_) || !defined(_di_f_string_mapss_decimate_by_)
- f_status_t private_f_string_mapss_adjust(const f_array_length_t length, f_string_mapss_t * const mapss) {
+ f_status_t private_f_string_mapss_adjust(const f_number_unsigned_t length, f_string_mapss_t * const mapss) {
- if (mapss->used + length > F_array_length_t_size_d) {
+ if (mapss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < mapss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < mapss->size; ++i) {
status = private_f_string_maps_adjust(0, &mapss->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_string_mapss_adjust_) || !defined(_di_f_string_mapss_decimate_by_)
#if !defined(_di_f_string_mapss_decrease_by_) || !defined(_di_f_string_mapss_increase_) || !defined(_di_f_string_mapss_increase_by_)
- f_status_t private_f_string_mapss_resize(const f_array_length_t length, f_string_mapss_t * const mapss) {
+ f_status_t private_f_string_mapss_resize(const f_number_unsigned_t length, f_string_mapss_t * const mapss) {
- if (mapss->used + length > F_array_length_t_size_d) {
+ if (mapss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < mapss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < mapss->size; ++i) {
status = private_f_string_maps_resize(0, &mapss->array[i]);
if (F_status_is_error(status)) return status;
* @see f_string_mapss_adjust()
*/
#if !defined(_di_f_string_mapss_adjust_) || !defined(_di_f_string_mapss_decimate_by_)
- extern f_status_t private_f_string_mapss_adjust(const f_array_length_t length, f_string_mapss_t * const mapss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_mapss_adjust(const f_number_unsigned_t length, f_string_mapss_t * const mapss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_mapss_adjust_) || !defined(_di_f_string_mapss_decimate_by_)
/**
* @see f_string_mapss_increase_by()
*/
#if !defined(_di_f_string_mapss_decrease_by_) || !defined(_di_f_string_mapss_increase_) || !defined(_di_f_string_mapss_increase_by_)
- extern f_status_t private_f_string_mapss_resize(const f_array_length_t length, f_string_mapss_t * const mapss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_mapss_resize(const f_number_unsigned_t length, f_string_mapss_t * const mapss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_mapss_decrease_by_) || !defined(_di_f_string_mapss_increase_) || !defined(_di_f_string_mapss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_quantitys_adjust_) || !defined(_di_f_string_quantitys_decimate_by_)
- f_status_t private_f_string_quantitys_adjust(const f_array_length_t length, f_string_quantitys_t * const quantitys) {
+ f_status_t private_f_string_quantitys_adjust(const f_number_unsigned_t length, f_string_quantitys_t * const quantitys) {
- if (quantitys->used + length > F_array_length_t_size_d) {
+ if (quantitys->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used].start = source.array[i].start;
destination->array[destination->used++].total = source.array[i].total;
#endif // !defined(_di_f_string_quantitys_append_all_) || !defined(_di_f_string_quantityss_append_) || !defined(_di_f_string_quantityss_append_all_)
#if !defined(_di_f_string_quantitys_decrease_) || !defined(_di_f_string_quantitys_decrease_by_) || !defined(_di_f_string_quantitys_increase_) || !defined(_di_f_string_quantitys_increase_by_)
- f_status_t private_f_string_quantitys_resize(const f_array_length_t length, f_string_quantitys_t * const quantitys) {
+ f_status_t private_f_string_quantitys_resize(const f_number_unsigned_t length, f_string_quantitys_t * const quantitys) {
- if (quantitys->used + length > F_array_length_t_size_d) {
+ if (quantitys->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
* @see f_string_quantitys_adjust()
*/
#if !defined(_di_f_string_quantitys_adjust_) || !defined(_di_f_string_quantitys_decimate_by_)
- extern f_status_t private_f_string_quantitys_adjust(const f_array_length_t length, f_string_quantitys_t * const quantitys) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_quantitys_adjust(const f_number_unsigned_t length, f_string_quantitys_t * const quantitys) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_quantitys_adjust_) || !defined(_di_f_string_quantitys_decimate_by_)
/**
* @see f_string_quantitys_increase_by()
*/
#if !defined(_di_f_string_quantitys_decrease_by_) || !defined(_di_f_string_quantitys_increase_) || !defined(_di_f_string_quantitys_increase_by_)
- extern f_status_t private_f_string_quantitys_resize(const f_array_length_t length, f_string_quantitys_t * const quantitys) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_quantitys_resize(const f_number_unsigned_t length, f_string_quantitys_t * const quantitys) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_quantitys_decrease_by_) || !defined(_di_f_string_quantitys_increase_) || !defined(_di_f_string_quantitys_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_quantityss_adjust_) || !defined(_di_f_string_quantityss_decimate_by_)
- f_status_t private_f_string_quantityss_adjust(const f_array_length_t length, f_string_quantityss_t * const quantityss) {
+ f_status_t private_f_string_quantityss_adjust(const f_number_unsigned_t length, f_string_quantityss_t * const quantityss) {
- if (quantityss->used + length > F_array_length_t_size_d) {
+ if (quantityss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < quantityss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < quantityss->size; ++i) {
status = private_f_string_quantitys_adjust(0, &quantityss->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_string_quantityss_adjust_) || !defined(_di_f_string_quantityss_decimate_by_)
#if !defined(_di_f_string_quantityss_decrease_by_) || !defined(_di_f_string_quantityss_increase_) || !defined(_di_f_string_quantityss_increase_by_)
- f_status_t private_f_string_quantityss_resize(const f_array_length_t length, f_string_quantityss_t * const quantityss) {
+ f_status_t private_f_string_quantityss_resize(const f_number_unsigned_t length, f_string_quantityss_t * const quantityss) {
- if (quantityss->used + length > F_array_length_t_size_d) {
+ if (quantityss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < quantityss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < quantityss->size; ++i) {
status = private_f_string_quantitys_resize(0, &quantityss->array[i]);
if (F_status_is_error(status)) return status;
* @see f_string_quantityss_adjust()
*/
#if !defined(_di_f_string_quantityss_adjust_) || !defined(_di_f_string_quantityss_decimate_by_)
- extern f_status_t private_f_string_quantityss_adjust(const f_array_length_t length, f_string_quantityss_t * const quantityss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_quantityss_adjust(const f_number_unsigned_t length, f_string_quantityss_t * const quantityss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_quantityss_adjust_) || !defined(_di_f_string_quantityss_decimate_by_)
/**
* @see f_string_quantityss_increase_by()
*/
#if !defined(_di_f_string_quantityss_decrease_by_) || !defined(_di_f_string_quantityss_increase_) || !defined(_di_f_string_quantityss_increase_by_)
- extern f_status_t private_f_string_quantityss_resize(const f_array_length_t length, f_string_quantityss_t * const quantityss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_quantityss_resize(const f_number_unsigned_t length, f_string_quantityss_t * const quantityss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_quantityss_decrease_by_) || !defined(_di_f_string_quantityss_increase_) || !defined(_di_f_string_quantityss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_ranges_adjust_) || !defined(_di_f_string_ranges_decimate_by_)
- f_status_t private_f_string_ranges_adjust(const f_array_length_t length, f_string_ranges_t * const ranges) {
+ f_status_t private_f_string_ranges_adjust(const f_number_unsigned_t length, f_string_ranges_t * const ranges) {
- if (ranges->used + length > F_array_length_t_size_d) {
+ if (ranges->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used].start = source.array[i].start;
destination->array[destination->used++].stop = source.array[i].stop;
#endif // !defined(_di_f_string_ranges_append_all_) || !defined(_di_f_string_rangess_append_) || !defined(_di_f_string_rangess_append_all_)
#if !defined(_di_f_string_ranges_append_) || !defined(_di_f_string_ranges_append_all_) || !defined(_di_f_string_ranges_decrease_by_) || !defined(_di_f_string_ranges_increase_) || !defined(_di_f_string_ranges_increase_by_) || !defined(_di_f_string_ranges_resize_) || !defined(_di_f_string_rangess_append_) || !defined(_di_f_string_rangess_append_all_) || !defined(_di_f_string_rangess_decrease_by_) || !defined(_di_f_string_rangess_increase_) || !defined(_di_f_string_rangess_increase_by_)
- f_status_t private_f_string_ranges_resize(const f_array_length_t length, f_string_ranges_t * const ranges) {
+ f_status_t private_f_string_ranges_resize(const f_number_unsigned_t length, f_string_ranges_t * const ranges) {
- if (ranges->used + length > F_array_length_t_size_d) {
+ if (ranges->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
* @see f_string_ranges_adjust()
*/
#if !defined(_di_f_string_ranges_adjust_) || !defined(_di_f_string_ranges_decimate_by_)
- extern f_status_t private_f_string_ranges_adjust(const f_array_length_t length, f_string_ranges_t * const ranges) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_ranges_adjust(const f_number_unsigned_t length, f_string_ranges_t * const ranges) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_ranges_adjust_) || !defined(_di_f_string_ranges_decimate_by_)
/**
* @see f_string_rangess_increase_by()
*/
#if !defined(_di_f_string_ranges_append_) || !defined(_di_f_string_ranges_append_all_) || !defined(_di_f_string_ranges_decrease_by_) || !defined(_di_f_string_ranges_increase_) || !defined(_di_f_string_ranges_increase_by_) || !defined(_di_f_string_ranges_resize_) || !defined(_di_f_string_rangess_append_) || !defined(_di_f_string_rangess_append_all_) || !defined(_di_f_string_rangess_decrease_by_) || !defined(_di_f_string_rangess_increase_) || !defined(_di_f_string_rangess_increase_by_)
- extern f_status_t private_f_string_ranges_resize(const f_array_length_t length, f_string_ranges_t * const ranges) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_ranges_resize(const f_number_unsigned_t length, f_string_ranges_t * const ranges) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_ranges_append_) || !defined(_di_f_string_ranges_append_all_) || !defined(_di_f_string_ranges_decrease_by_) || !defined(_di_f_string_ranges_increase_) || !defined(_di_f_string_ranges_increase_by_) || !defined(_di_f_string_ranges_resize_) || !defined(_di_f_string_rangess_append_) || !defined(_di_f_string_rangess_append_all_) || !defined(_di_f_string_rangess_decrease_by_) || !defined(_di_f_string_rangess_increase_) || !defined(_di_f_string_rangess_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_rangess_adjust_) || !defined(_di_f_string_rangess_decimate_by_)
- f_status_t private_f_string_rangess_adjust(const f_array_length_t length, f_string_rangess_t * const rangess) {
+ f_status_t private_f_string_rangess_adjust(const f_number_unsigned_t length, f_string_rangess_t * const rangess) {
- if (rangess->used + length > F_array_length_t_size_d) {
+ if (rangess->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < rangess->size; ++i) {
+ for (f_number_unsigned_t i = length; i < rangess->size; ++i) {
status = private_f_string_ranges_adjust(0, &rangess->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_string_rangess_adjust_) || !defined(_di_f_string_rangess_decimate_by_)
#if !defined(_di_f_string_ranges_append_) || !defined(_di_f_string_ranges_append_all_) || !defined(_di_f_string_ranges_decrease_by_) || !defined(_di_f_string_ranges_increase_) || !defined(_di_f_string_ranges_increase_by_) || !defined(_di_f_string_ranges_resize_) || !defined(_di_f_string_rangess_append_) || !defined(_di_f_string_rangess_append_all_) || !defined(_di_f_string_rangess_decrease_by_) || !defined(_di_f_string_rangess_increase_) || !defined(_di_f_string_rangess_increase_by_)
- f_status_t private_f_string_rangess_resize(const f_array_length_t length, f_string_rangess_t * const rangess) {
+ f_status_t private_f_string_rangess_resize(const f_number_unsigned_t length, f_string_rangess_t * const rangess) {
- if (rangess->used + length > F_array_length_t_size_d) {
+ if (rangess->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < rangess->size; ++i) {
+ for (f_number_unsigned_t i = length; i < rangess->size; ++i) {
status = private_f_string_ranges_resize(0, &rangess->array[i]);
if (F_status_is_error(status)) return status;
* @see f_string_rangess_adjust()
*/
#if !defined(_di_f_string_rangess_adjust_) || !defined(_di_f_string_rangess_decimate_by_)
- extern f_status_t private_f_string_rangess_adjust(const f_array_length_t length, f_string_rangess_t * const rangess) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_rangess_adjust(const f_number_unsigned_t length, f_string_rangess_t * const rangess) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_rangess_adjust_) || !defined(_di_f_string_rangess_decimate_by_)
/**
* @see f_string_rangess_increase_by()
*/
#if !defined(_di_f_string_ranges_append_) || !defined(_di_f_string_ranges_append_all_) || !defined(_di_f_string_ranges_decrease_by_) || !defined(_di_f_string_ranges_increase_) || !defined(_di_f_string_ranges_increase_by_) || !defined(_di_f_string_ranges_resize_) || !defined(_di_f_string_rangess_append_) || !defined(_di_f_string_rangess_append_all_) || !defined(_di_f_string_rangess_decrease_by_) || !defined(_di_f_string_rangess_increase_) || !defined(_di_f_string_rangess_increase_by_)
- extern f_status_t private_f_string_rangess_resize(const f_array_length_t length, f_string_rangess_t * const rangess) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_rangess_resize(const f_number_unsigned_t length, f_string_rangess_t * const rangess) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_ranges_append_) || !defined(_di_f_string_ranges_append_all_) || !defined(_di_f_string_ranges_decrease_by_) || !defined(_di_f_string_ranges_increase_) || !defined(_di_f_string_ranges_increase_by_) || !defined(_di_f_string_ranges_resize_) || !defined(_di_f_string_rangess_append_) || !defined(_di_f_string_rangess_append_all_) || !defined(_di_f_string_rangess_decrease_by_) || !defined(_di_f_string_rangess_increase_) || !defined(_di_f_string_rangess_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_)
- f_status_t private_f_string_triples_adjust(const f_array_length_t length, f_string_triples_t * const triples) {
+ f_status_t private_f_string_triples_adjust(const f_number_unsigned_t length, f_string_triples_t * const triples) {
- if (triples->used + length > F_array_length_t_size_d) {
+ if (triples->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < triples->size; ++i) {
+ for (f_number_unsigned_t i = length; i < triples->size; ++i) {
status = private_f_string_dynamic_adjust(0, &triples->array[i].a);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].a.used = 0;
destination->array[destination->used].b.used = 0;
#endif // !defined(_di_f_string_triples_append_all_) || !defined(_di_f_string_tripless_append_) || !defined(_di_f_string_tripless_append_all_)
#if !defined(_di_f_string_triples_decrease_by_) || !defined(_di_f_string_triples_increase_) || !defined(_di_f_string_triples_increase_by_)
- f_status_t private_f_string_triples_resize(const f_array_length_t length, f_string_triples_t * const triples) {
+ f_status_t private_f_string_triples_resize(const f_number_unsigned_t length, f_string_triples_t * const triples) {
- if (triples->used + length > F_array_length_t_size_d) {
+ if (triples->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < triples->size; ++i) {
+ for (f_number_unsigned_t i = length; i < triples->size; ++i) {
status = private_f_string_dynamic_resize(0, &triples->array[i].a);
if (F_status_is_error(status)) return status;
* @see f_string_triples_adjust()
*/
#if !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_)
- extern f_status_t private_f_string_triples_adjust(const f_array_length_t length, f_string_triples_t * const triples) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_triples_adjust(const f_number_unsigned_t length, f_string_triples_t * const triples) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_)
/**
* @see f_string_triples_increase_by()
*/
#if !defined(_di_f_string_triples_decrease_by_) || !defined(_di_f_string_triples_increase_) || !defined(_di_f_string_triples_increase_by_)
- extern f_status_t private_f_string_triples_resize(const f_array_length_t length, f_string_triples_t * const triples) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_triples_resize(const f_number_unsigned_t length, f_string_triples_t * const triples) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_triples_decrease_by_) || !defined(_di_f_string_triples_increase_) || !defined(_di_f_string_triples_increase_by_)
/**
* @see f_string_tripless_adjust()
*/
#if !defined(_di_f_string_tripless_adjust_) || !defined(_di_f_string_tripless_decimate_by_)
- extern f_status_t private_f_string_tripless_adjust(const f_array_length_t length, f_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_tripless_adjust(const f_number_unsigned_t length, f_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_tripless_adjust_) || !defined(_di_f_string_tripless_decimate_by_)
/**
* @see f_string_tripless_increase_by()
*/
#if !defined(_di_f_string_tripless_decrease_by_) || !defined(_di_f_string_tripless_increase_) || !defined(_di_f_string_tripless_increase_by_)
- extern f_status_t private_f_string_tripless_resize(const f_array_length_t length, f_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_tripless_resize(const f_number_unsigned_t length, f_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_tripless_decrease_by_) || !defined(_di_f_string_tripless_increase_) || !defined(_di_f_string_tripless_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_string_tripless_adjust_) || !defined(_di_f_string_tripless_decimate_by_)
- f_status_t private_f_string_tripless_adjust(const f_array_length_t length, f_string_tripless_t * const tripless) {
+ f_status_t private_f_string_tripless_adjust(const f_number_unsigned_t length, f_string_tripless_t * const tripless) {
- if (tripless->used + length > F_array_length_t_size_d) {
+ if (tripless->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < tripless->size; ++i) {
+ for (f_number_unsigned_t i = length; i < tripless->size; ++i) {
status = private_f_string_triples_adjust(0, &tripless->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_string_tripless_adjust_) || !defined(_di_f_string_tripless_decimate_by_)
#if !defined(_di_f_string_tripless_decrease_by_) || !defined(_di_f_string_tripless_increase_) || !defined(_di_f_string_tripless_increase_by_)
- f_status_t private_f_string_tripless_resize(const f_array_length_t length, f_string_tripless_t * const tripless) {
+ f_status_t private_f_string_tripless_resize(const f_number_unsigned_t length, f_string_tripless_t * const tripless) {
- if (tripless->used + length > F_array_length_t_size_d) {
+ if (tripless->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < tripless->size; ++i) {
+ for (f_number_unsigned_t i = length; i < tripless->size; ++i) {
status = private_f_string_triples_resize(0, &tripless->array[i]);
if (F_status_is_error(status)) return status;
* @see f_string_tripless_adjust()
*/
#if !defined(_di_f_string_tripless_adjust_) || !defined(_di_f_string_tripless_decimate_by_)
- extern f_status_t private_f_string_tripless_adjust(const f_array_length_t length, f_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_tripless_adjust(const f_number_unsigned_t length, f_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_tripless_adjust_) || !defined(_di_f_string_tripless_decimate_by_)
/**
* @see f_string_tripless_increase_by()
*/
#if !defined(_di_f_string_tripless_decrease_by_) || !defined(_di_f_string_tripless_increase_) || !defined(_di_f_string_tripless_increase_by_)
- extern f_status_t private_f_string_tripless_resize(const f_array_length_t length, f_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_string_tripless_resize(const f_number_unsigned_t length, f_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_string_tripless_decrease_by_) || !defined(_di_f_string_tripless_increase_) || !defined(_di_f_string_tripless_increase_by_)
#ifdef __cplusplus
*/
#ifndef _di_f_string_quantity_t_
typedef struct {
- f_array_length_t start;
- f_array_length_t total;
+ f_number_unsigned_t start;
+ f_number_unsigned_t total;
} f_string_quantity_t;
#define f_string_quantity_t_initialize { 0, 0 }
#endif
#ifndef _di_f_string_quantitys_adjust_
- f_status_t f_string_quantitys_adjust(const f_array_length_t length, f_string_quantitys_t * const quantitys) {
+ f_status_t f_string_quantitys_adjust(const f_number_unsigned_t length, f_string_quantitys_t * const quantitys) {
#ifndef _di_level_0_parameter_checking_
if (!quantitys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_quantitys_append_all_
#ifndef _di_f_string_quantitys_decimate_by_
- f_status_t f_string_quantitys_decimate_by(const f_array_length_t amount, f_string_quantitys_t * const quantitys) {
+ f_status_t f_string_quantitys_decimate_by(const f_number_unsigned_t amount, f_string_quantitys_t * const quantitys) {
#ifndef _di_level_0_parameter_checking_
if (!quantitys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_quantitys_decimate_by_
#ifndef _di_f_string_quantitys_decrease_by_
- f_status_t f_string_quantitys_decrease_by(const f_array_length_t amount, f_string_quantitys_t * const quantitys) {
+ f_status_t f_string_quantitys_decrease_by(const f_number_unsigned_t amount, f_string_quantitys_t * const quantitys) {
#ifndef _di_level_0_parameter_checking_
if (!quantitys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_quantitys_decrease_by_
#ifndef _di_f_string_quantitys_increase_
- f_status_t f_string_quantitys_increase(const f_array_length_t step, f_string_quantitys_t * const quantitys) {
+ f_status_t f_string_quantitys_increase(const f_number_unsigned_t step, f_string_quantitys_t * const quantitys) {
#ifndef _di_level_0_parameter_checking_
if (!quantitys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && quantitys->used + 1 > quantitys->size) {
- f_array_length_t size = quantitys->used + step;
+ f_number_unsigned_t size = quantitys->used + step;
- if (size > F_array_length_t_size_d) {
- if (quantitys->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (quantitys->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_quantitys_resize(size, quantitys);
#endif // _di_f_string_quantitys_increase_
#ifndef _di_f_string_quantitys_increase_by_
- f_status_t f_string_quantitys_increase_by(const f_array_length_t amount, f_string_quantitys_t * const quantitys) {
+ f_status_t f_string_quantitys_increase_by(const f_number_unsigned_t amount, f_string_quantitys_t * const quantitys) {
#ifndef _di_level_0_parameter_checking_
if (!quantitys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (quantitys->used + amount > quantitys->size) {
- if (quantitys->used + amount > F_array_length_t_size_d) {
+ if (quantitys->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_quantitys_increase_by_
#ifndef _di_f_string_quantitys_resize_
- f_status_t f_string_quantitys_resize(const f_array_length_t length, f_string_quantitys_t * const quantitys) {
+ f_status_t f_string_quantitys_resize(const f_number_unsigned_t length, f_string_quantitys_t * const quantitys) {
#ifndef _di_level_0_parameter_checking_
if (!quantitys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_quantity_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_quantitys_t;
#define f_string_quantitys_t_initialize { 0, 0, 0 }
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantitys_adjust_
- extern f_status_t f_string_quantitys_adjust(const f_array_length_t length, f_string_quantitys_t * const quantitys);
+ extern f_status_t f_string_quantitys_adjust(const f_number_unsigned_t length, f_string_quantitys_t * const quantitys);
#endif // _di_f_string_quantitys_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantitys_decimate_by_
- extern f_status_t f_string_quantitys_decimate_by(const f_array_length_t amount, f_string_quantitys_t * const quantitys);
+ extern f_status_t f_string_quantitys_decimate_by(const f_number_unsigned_t amount, f_string_quantitys_t * const quantitys);
#endif // _di_f_string_quantitys_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantitys_decrease_by_
- extern f_status_t f_string_quantitys_decrease_by(const f_array_length_t amount, f_string_quantitys_t * const quantitys);
+ extern f_status_t f_string_quantitys_decrease_by(const f_number_unsigned_t amount, f_string_quantitys_t * const quantitys);
#endif // _di_f_string_quantitys_decrease_by_
/**
* Increase the size of the string quantitys array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantitys_increase_
- extern f_status_t f_string_quantitys_increase(const f_array_length_t step, f_string_quantitys_t * const quantitys);
+ extern f_status_t f_string_quantitys_increase(const f_number_unsigned_t step, f_string_quantitys_t * const quantitys);
#endif // _di_f_string_quantitys_increase_
/**
* Resize the string quantitys array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantitys_increase_by_
- extern f_status_t f_string_quantitys_increase_by(const f_array_length_t amount, f_string_quantitys_t * const quantitys);
+ extern f_status_t f_string_quantitys_increase_by(const f_number_unsigned_t amount, f_string_quantitys_t * const quantitys);
#endif // _di_f_string_quantitys_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantitys_resize_
- extern f_status_t f_string_quantitys_resize(const f_array_length_t length, f_string_quantitys_t * const quantitys);
+ extern f_status_t f_string_quantitys_resize(const f_number_unsigned_t length, f_string_quantitys_t * const quantitys);
#endif // _di_f_string_quantitys_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_string_quantityss_adjust_
- f_status_t f_string_quantityss_adjust(const f_array_length_t length, f_string_quantityss_t * const quantityss) {
+ f_status_t f_string_quantityss_adjust(const f_number_unsigned_t length, f_string_quantityss_t * const quantityss) {
#ifndef _di_level_0_parameter_checking_
if (!quantityss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_string_quantityss_append_all_
#ifndef _di_f_string_quantityss_decimate_by_
- f_status_t f_string_quantityss_decimate_by(const f_array_length_t amount, f_string_quantityss_t * const quantityss) {
+ f_status_t f_string_quantityss_decimate_by(const f_number_unsigned_t amount, f_string_quantityss_t * const quantityss) {
#ifndef _di_level_0_parameter_checking_
if (!quantityss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_quantityss_decimate_by_
#ifndef _di_f_string_quantityss_decrease_by_
- f_status_t f_string_quantityss_decrease_by(const f_array_length_t amount, f_string_quantityss_t * const quantityss) {
+ f_status_t f_string_quantityss_decrease_by(const f_number_unsigned_t amount, f_string_quantityss_t * const quantityss) {
#ifndef _di_level_0_parameter_checking_
if (!quantityss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_quantityss_decrease_by_
#ifndef _di_f_string_quantityss_increase_
- f_status_t f_string_quantityss_increase(const f_array_length_t step, f_string_quantityss_t * const quantityss) {
+ f_status_t f_string_quantityss_increase(const f_number_unsigned_t step, f_string_quantityss_t * const quantityss) {
#ifndef _di_level_0_parameter_checking_
if (!quantityss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && quantityss->used + 1 > quantityss->size) {
- f_array_length_t size = quantityss->used + step;
+ f_number_unsigned_t size = quantityss->used + step;
- if (size > F_array_length_t_size_d) {
- if (quantityss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (quantityss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_quantityss_resize(size, quantityss);
#endif // _di_f_string_quantityss_increase_
#ifndef _di_f_string_quantityss_increase_by_
- f_status_t f_string_quantityss_increase_by(const f_array_length_t amount, f_string_quantityss_t * const quantityss) {
+ f_status_t f_string_quantityss_increase_by(const f_number_unsigned_t amount, f_string_quantityss_t * const quantityss) {
#ifndef _di_level_0_parameter_checking_
if (!quantityss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (quantityss->used + amount > quantityss->size) {
- if (quantityss->used + amount > F_array_length_t_size_d) {
+ if (quantityss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_quantityss_increase_by_
#ifndef _di_f_string_quantityss_resize_
- f_status_t f_string_quantityss_resize(const f_array_length_t length, f_string_quantityss_t * const quantityss) {
+ f_status_t f_string_quantityss_resize(const f_number_unsigned_t length, f_string_quantityss_t * const quantityss) {
#ifndef _di_level_0_parameter_checking_
if (!quantityss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_quantitys_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_quantityss_t;
#define f_string_quantityss_t_initialize { 0, 0, 0 }
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantityss_adjust_
- extern f_status_t f_string_quantityss_adjust(const f_array_length_t length, f_string_quantityss_t * const quantityss);
+ extern f_status_t f_string_quantityss_adjust(const f_number_unsigned_t length, f_string_quantityss_t * const quantityss);
#endif // _di_f_string_quantityss_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantityss_decimate_by_
- extern f_status_t f_string_quantityss_decimate_by(const f_array_length_t amount, f_string_quantityss_t * const quantityss);
+ extern f_status_t f_string_quantityss_decimate_by(const f_number_unsigned_t amount, f_string_quantityss_t * const quantityss);
#endif // _di_f_string_quantityss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantityss_decrease_by_
- extern f_status_t f_string_quantityss_decrease_by(const f_array_length_t amount, f_string_quantityss_t * const quantityss);
+ extern f_status_t f_string_quantityss_decrease_by(const f_number_unsigned_t amount, f_string_quantityss_t * const quantityss);
#endif // _di_f_string_quantityss_decrease_by_
/**
* Increase the size of the string quantityss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantityss_increase_
- extern f_status_t f_string_quantityss_increase(const f_array_length_t step, f_string_quantityss_t * const quantityss);
+ extern f_status_t f_string_quantityss_increase(const f_number_unsigned_t step, f_string_quantityss_t * const quantityss);
#endif // _di_f_string_quantityss_increase_
/**
* Resize the string quantityss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantityss_increase_by_
- extern f_status_t f_string_quantityss_increase_by(const f_array_length_t amount, f_string_quantityss_t * const quantityss);
+ extern f_status_t f_string_quantityss_increase_by(const f_number_unsigned_t amount, f_string_quantityss_t * const quantityss);
#endif // _di_f_string_quantityss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_quantityss_resize_
- extern f_status_t f_string_quantityss_resize(const f_array_length_t length, f_string_quantityss_t * const quantityss);
+ extern f_status_t f_string_quantityss_resize(const f_number_unsigned_t length, f_string_quantityss_t * const quantityss);
#endif // _di_f_string_quantityss_resize_
#ifdef __cplusplus
*/
#ifndef _di_f_string_range_t_
typedef struct {
- f_array_length_t start;
- f_array_length_t stop;
+ f_number_unsigned_t start;
+ f_number_unsigned_t stop;
} f_string_range_t;
#define f_string_range_t_initialize { 1, 0 }
#endif
#ifndef _di_f_string_ranges_adjust_
- f_status_t f_string_ranges_adjust(const f_array_length_t length, f_string_ranges_t * const ranges) {
+ f_status_t f_string_ranges_adjust(const f_number_unsigned_t length, f_string_ranges_t * const ranges) {
#ifndef _di_level_0_parameter_checking_
if (!ranges) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used].start = source.array[i].start;
destination->array[destination->used++].stop = source.array[i].stop;
#endif // _di_f_string_ranges_append_all_
#ifndef _di_f_string_ranges_decimate_by_
- f_status_t f_string_ranges_decimate_by(const f_array_length_t amount, f_string_ranges_t * const ranges) {
+ f_status_t f_string_ranges_decimate_by(const f_number_unsigned_t amount, f_string_ranges_t * const ranges) {
#ifndef _di_level_0_parameter_checking_
if (!ranges) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_ranges_decimate_by_
#ifndef _di_f_string_ranges_decrease_by_
- f_status_t f_string_ranges_decrease_by(const f_array_length_t amount, f_string_ranges_t * const ranges) {
+ f_status_t f_string_ranges_decrease_by(const f_number_unsigned_t amount, f_string_ranges_t * const ranges) {
#ifndef _di_level_0_parameter_checking_
if (!ranges) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_ranges_decrease_by_
#ifndef _di_f_string_ranges_increase_
- f_status_t f_string_ranges_increase(const f_array_length_t step, f_string_ranges_t * const ranges) {
+ f_status_t f_string_ranges_increase(const f_number_unsigned_t step, f_string_ranges_t * const ranges) {
#ifndef _di_level_0_parameter_checking_
if (!ranges) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && ranges->used + 1 > ranges->size) {
- f_array_length_t size = ranges->used + step;
+ f_number_unsigned_t size = ranges->used + step;
- if (size > F_array_length_t_size_d) {
- if (ranges->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (ranges->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_ranges_resize(size, ranges);
#endif // _di_f_string_ranges_increase_
#ifndef _di_f_string_ranges_increase_by_
- f_status_t f_string_ranges_increase_by(const f_array_length_t amount, f_string_ranges_t * const ranges) {
+ f_status_t f_string_ranges_increase_by(const f_number_unsigned_t amount, f_string_ranges_t * const ranges) {
#ifndef _di_level_0_parameter_checking_
if (!ranges) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (ranges->used + amount > ranges->size) {
- if (ranges->used + amount > F_array_length_t_size_d) {
+ if (ranges->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_ranges_increase_by_
#ifndef _di_f_string_ranges_resize_
- f_status_t f_string_ranges_resize(const f_array_length_t length, f_string_ranges_t * const ranges) {
+ f_status_t f_string_ranges_resize(const f_number_unsigned_t length, f_string_ranges_t * const ranges) {
#ifndef _di_level_0_parameter_checking_
if (!ranges) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_range_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_ranges_t;
#define f_string_ranges_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_string_ranges_adjust_
- extern f_status_t f_string_ranges_adjust(const f_array_length_t length, f_string_ranges_t * const ranges);
+ extern f_status_t f_string_ranges_adjust(const f_number_unsigned_t length, f_string_ranges_t * const ranges);
#endif // _di_f_string_ranges_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_ranges_decimate_by_
- extern f_status_t f_string_ranges_decimate_by(const f_array_length_t amount, f_string_ranges_t * const ranges);
+ extern f_status_t f_string_ranges_decimate_by(const f_number_unsigned_t amount, f_string_ranges_t * const ranges);
#endif // _di_f_string_ranges_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_ranges_decrease_by_
- extern f_status_t f_string_ranges_decrease_by(const f_array_length_t amount, f_string_ranges_t * const ranges);
+ extern f_status_t f_string_ranges_decrease_by(const f_number_unsigned_t amount, f_string_ranges_t * const ranges);
#endif // _di_f_string_ranges_decrease_by_
/**
* Increase the size of the string ranges array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_ranges_increase_
- extern f_status_t f_string_ranges_increase(const f_array_length_t step, f_string_ranges_t * const ranges);
+ extern f_status_t f_string_ranges_increase(const f_number_unsigned_t step, f_string_ranges_t * const ranges);
#endif // _di_f_string_ranges_increase_
/**
* Resize the string ranges array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_ranges_increase_by_
- extern f_status_t f_string_ranges_increase_by(const f_array_length_t amount, f_string_ranges_t * const ranges);
+ extern f_status_t f_string_ranges_increase_by(const f_number_unsigned_t amount, f_string_ranges_t * const ranges);
#endif // _di_f_string_ranges_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_ranges_resize_
- extern f_status_t f_string_ranges_resize(const f_array_length_t length, f_string_ranges_t * const ranges);
+ extern f_status_t f_string_ranges_resize(const f_number_unsigned_t length, f_string_ranges_t * const ranges);
#endif // _di_f_string_ranges_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_string_rangess_adjust_
- f_status_t f_string_rangess_adjust(const f_array_length_t length, f_string_rangess_t * const rangess) {
+ f_status_t f_string_rangess_adjust(const f_number_unsigned_t length, f_string_rangess_t * const rangess) {
#ifndef _di_level_0_parameter_checking_
if (!rangess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_string_rangess_append_all_
#ifndef _di_f_string_rangess_decimate_by_
- f_status_t f_string_rangess_decimate_by(const f_array_length_t amount, f_string_rangess_t * const rangess) {
+ f_status_t f_string_rangess_decimate_by(const f_number_unsigned_t amount, f_string_rangess_t * const rangess) {
#ifndef _di_level_0_parameter_checking_
if (!rangess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_rangess_decimate_by_
#ifndef _di_f_string_rangess_decrease_by_
- f_status_t f_string_rangess_decrease_by(const f_array_length_t amount, f_string_rangess_t * const rangess) {
+ f_status_t f_string_rangess_decrease_by(const f_number_unsigned_t amount, f_string_rangess_t * const rangess) {
#ifndef _di_level_0_parameter_checking_
if (!rangess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_rangess_decrease_by_
#ifndef _di_f_string_rangess_increase_
- f_status_t f_string_rangess_increase(const f_array_length_t step, f_string_rangess_t * const rangess) {
+ f_status_t f_string_rangess_increase(const f_number_unsigned_t step, f_string_rangess_t * const rangess) {
#ifndef _di_level_0_parameter_checking_
if (!rangess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && rangess->used + 1 > rangess->size) {
- f_array_length_t size = rangess->used + step;
+ f_number_unsigned_t size = rangess->used + step;
- if (size > F_array_length_t_size_d) {
- if (rangess->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (rangess->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_rangess_resize(size, rangess);
#endif // _di_f_string_rangess_increase_
#ifndef _di_f_string_rangess_increase_by_
- f_status_t f_string_rangess_increase_by(const f_array_length_t amount, f_string_rangess_t * const rangess) {
+ f_status_t f_string_rangess_increase_by(const f_number_unsigned_t amount, f_string_rangess_t * const rangess) {
#ifndef _di_level_0_parameter_checking_
if (!rangess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (rangess->used + amount > rangess->size) {
- if (rangess->used + amount > F_array_length_t_size_d) {
+ if (rangess->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_rangess_increase_by_
#ifndef _di_f_string_rangess_resize_
- f_status_t f_string_rangess_resize(const f_array_length_t length, f_string_rangess_t * const rangess) {
+ f_status_t f_string_rangess_resize(const f_number_unsigned_t length, f_string_rangess_t * const rangess) {
#ifndef _di_level_0_parameter_checking_
if (!rangess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_ranges_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_rangess_t;
#define f_string_rangess_t_initialize { 0, 0, 0 }
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_rangess_adjust_
- extern f_status_t f_string_rangess_adjust(const f_array_length_t length, f_string_rangess_t * const rangess);
+ extern f_status_t f_string_rangess_adjust(const f_number_unsigned_t length, f_string_rangess_t * const rangess);
#endif // _di_f_string_rangess_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_rangess_decimate_by_
- extern f_status_t f_string_rangess_decimate_by(const f_array_length_t amount, f_string_rangess_t * const rangess);
+ extern f_status_t f_string_rangess_decimate_by(const f_number_unsigned_t amount, f_string_rangess_t * const rangess);
#endif // _di_f_string_rangess_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_rangess_decrease_by_
- extern f_status_t f_string_rangess_decrease_by(const f_array_length_t amount, f_string_rangess_t * const rangess);
+ extern f_status_t f_string_rangess_decrease_by(const f_number_unsigned_t amount, f_string_rangess_t * const rangess);
#endif // _di_f_string_rangess_decrease_by_
/**
* Increase the size of the string rangess array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_rangess_increase_
- extern f_status_t f_string_rangess_increase(const f_array_length_t step, f_string_rangess_t * const rangess);
+ extern f_status_t f_string_rangess_increase(const f_number_unsigned_t step, f_string_rangess_t * const rangess);
#endif // _di_f_string_rangess_increase_
/**
* Resize the string rangess array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_rangess_increase_by_
- extern f_status_t f_string_rangess_increase_by(const f_array_length_t amount, f_string_rangess_t * const rangess);
+ extern f_status_t f_string_rangess_increase_by(const f_number_unsigned_t amount, f_string_rangess_t * const rangess);
#endif // _di_f_string_rangess_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_rangess_resize_
- extern f_status_t f_string_rangess_resize(const f_array_length_t length, f_string_rangess_t * const rangess);
+ extern f_status_t f_string_rangess_resize(const f_number_unsigned_t length, f_string_rangess_t * const rangess);
#endif // _di_f_string_rangess_resize_
#ifdef __cplusplus
typedef struct {
f_string_t string;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_static_t;
#define f_string_static_t_initialize { 0, 0, 0 }
typedef struct {
f_string_static_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_statics_t;
#define f_string_statics_t_initialize { 0, 0, 0 }
typedef struct {
f_string_statics_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_staticss_t;
#define f_string_staticss_t_initialize { 0, 0, 0 }
#endif
#ifndef _di_f_string_triples_adjust_
- f_status_t f_string_triples_adjust(const f_array_length_t length, f_string_triples_t * const triples) {
+ f_status_t f_string_triples_adjust(const f_number_unsigned_t length, f_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].a.used = 0;
destination->array[destination->used].b.used = 0;
#endif // _di_f_string_triples_append_all_
#ifndef _di_f_string_triples_decimate_by_
- f_status_t f_string_triples_decimate_by(const f_array_length_t amount, f_string_triples_t * const triples) {
+ f_status_t f_string_triples_decimate_by(const f_number_unsigned_t amount, f_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_triples_decimate_by_
#ifndef _di_f_string_triples_decrease_by_
- f_status_t f_string_triples_decrease_by(const f_array_length_t amount, f_string_triples_t * const triples) {
+ f_status_t f_string_triples_decrease_by(const f_number_unsigned_t amount, f_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_triples_decrease_by_
#ifndef _di_f_string_triples_increase_
- f_status_t f_string_triples_increase(const f_array_length_t step, f_string_triples_t * const triples) {
+ f_status_t f_string_triples_increase(const f_number_unsigned_t step, f_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && triples->used + 1 > triples->size) {
- f_array_length_t size = triples->used + F_memory_default_allocation_small_d;
+ f_number_unsigned_t size = triples->used + F_memory_default_allocation_small_d;
- if (size > F_array_length_t_size_d) {
- if (triples->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (triples->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_triples_resize(size, triples);
#endif // _di_f_string_triples_increase_
#ifndef _di_f_string_triples_increase_by_
- f_status_t f_string_triples_increase_by(const f_array_length_t amount, f_string_triples_t * const triples) {
+ f_status_t f_string_triples_increase_by(const f_number_unsigned_t amount, f_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (triples->used + amount > triples->size) {
- if (triples->used + amount > F_array_length_t_size_d) {
+ if (triples->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_triples_increase_by_
#ifndef _di_f_string_triples_resize_
- f_status_t f_string_triples_resize(const f_array_length_t length, f_string_triples_t * const triples) {
+ f_status_t f_string_triples_resize(const f_number_unsigned_t length, f_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_triple_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_triples_t;
#define f_string_triples_t_initialize f_string_statics_t_initialize
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_string_triples_adjust_
- extern f_status_t f_string_triples_adjust(const f_array_length_t length, f_string_triples_t * const triples);
+ extern f_status_t f_string_triples_adjust(const f_number_unsigned_t length, f_string_triples_t * const triples);
#endif // _di_f_string_triples_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_triples_decimate_by_
- extern f_status_t f_string_triples_decimate_by(const f_array_length_t amount, f_string_triples_t * const triples);
+ extern f_status_t f_string_triples_decimate_by(const f_number_unsigned_t amount, f_string_triples_t * const triples);
#endif // _di_f_string_triples_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_triples_decrease_by_
- extern f_status_t f_string_triples_decrease_by(const f_array_length_t amount, f_string_triples_t * const triples);
+ extern f_status_t f_string_triples_decrease_by(const f_number_unsigned_t amount, f_string_triples_t * const triples);
#endif // _di_f_string_triples_decrease_by_
/**
* Increase the size of the string triples array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_triples_increase_
- extern f_status_t f_string_triples_increase(const f_array_length_t step, f_string_triples_t * const triples);
+ extern f_status_t f_string_triples_increase(const f_number_unsigned_t step, f_string_triples_t * const triples);
#endif // _di_f_string_triples_increase_
/**
* Resize the string triples array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_triples_increase_by_
- extern f_status_t f_string_triples_increase_by(const f_array_length_t amount, f_string_triples_t * const triples);
+ extern f_status_t f_string_triples_increase_by(const f_number_unsigned_t amount, f_string_triples_t * const triples);
#endif // _di_f_string_triples_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_triples_resize_
- extern f_status_t f_string_triples_resize(const f_array_length_t length, f_string_triples_t * const triples);
+ extern f_status_t f_string_triples_resize(const f_number_unsigned_t length, f_string_triples_t * const triples);
#endif // _di_f_string_triples_resize_
#ifdef __cplusplus
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_string_tripless_append_all_
#ifndef _di_f_string_tripless_adjust_
- f_status_t f_string_tripless_adjust(const f_array_length_t length, f_string_tripless_t * const tripless) {
+ f_status_t f_string_tripless_adjust(const f_number_unsigned_t length, f_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_tripless_adjust_
#ifndef _di_f_string_tripless_decimate_by_
- f_status_t f_string_tripless_decimate_by(const f_array_length_t amount, f_string_tripless_t * const tripless) {
+ f_status_t f_string_tripless_decimate_by(const f_number_unsigned_t amount, f_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_tripless_decimate_by_
#ifndef _di_f_string_tripless_decrease_by_
- f_status_t f_string_tripless_decrease_by(const f_array_length_t amount, f_string_tripless_t * const tripless) {
+ f_status_t f_string_tripless_decrease_by(const f_number_unsigned_t amount, f_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_string_tripless_decrease_by_
#ifndef _di_f_string_tripless_increase_
- f_status_t f_string_tripless_increase(const f_array_length_t step, f_string_tripless_t * const tripless) {
+ f_status_t f_string_tripless_increase(const f_number_unsigned_t step, f_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && tripless->used + 1 > tripless->size) {
- f_array_length_t size = tripless->used + step;
+ f_number_unsigned_t size = tripless->used + step;
- if (size > F_array_length_t_size_d) {
- if (tripless->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (tripless->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_string_tripless_resize(size, tripless);
#endif // _di_f_string_tripless_increase_
#ifndef _di_f_string_tripless_increase_by_
- f_status_t f_string_tripless_increase_by(const f_array_length_t amount, f_string_tripless_t * const tripless) {
+ f_status_t f_string_tripless_increase_by(const f_number_unsigned_t amount, f_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (tripless->used + amount > tripless->size) {
- if (tripless->used + amount > F_array_length_t_size_d) {
+ if (tripless->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_string_tripless_increase_by_
#ifndef _di_f_string_tripless_resize_
- f_status_t f_string_tripless_resize(const f_array_length_t length, f_string_tripless_t * const tripless) {
+ f_status_t f_string_tripless_resize(const f_number_unsigned_t length, f_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_string_triples_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_string_tripless_t;
#define f_string_tripless_t_initialize f_string_statics_t_initialize
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_string_tripless_adjust_
- extern f_status_t f_string_tripless_adjust(const f_array_length_t length, f_string_tripless_t * const tripless);
+ extern f_status_t f_string_tripless_adjust(const f_number_unsigned_t length, f_string_tripless_t * const tripless);
#endif // _di_f_string_tripless_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_tripless_decimate_by_
- extern f_status_t f_string_tripless_decimate_by(const f_array_length_t amount, f_string_tripless_t * const tripless);
+ extern f_status_t f_string_tripless_decimate_by(const f_number_unsigned_t amount, f_string_tripless_t * const tripless);
#endif // _di_f_string_tripless_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_tripless_decrease_by_
- extern f_status_t f_string_tripless_decrease_by(const f_array_length_t amount, f_string_tripless_t * const tripless);
+ extern f_status_t f_string_tripless_decrease_by(const f_number_unsigned_t amount, f_string_tripless_t * const tripless);
#endif // _di_f_string_tripless_decrease_by_
/**
* Increase the size of the string tripless array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_tripless_increase_
- extern f_status_t f_string_tripless_increase(const f_array_length_t step, f_string_tripless_t * const tripless);
+ extern f_status_t f_string_tripless_increase(const f_number_unsigned_t step, f_string_tripless_t * const tripless);
#endif // _di_f_string_tripless_increase_
/**
* Resize the string tripless array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_tripless_increase_by_
- extern f_status_t f_string_tripless_increase_by(const f_array_length_t amount, f_string_tripless_t * const tripless);
+ extern f_status_t f_string_tripless_increase_by(const f_number_unsigned_t amount, f_string_tripless_t * const tripless);
#endif // _di_f_string_tripless_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_string_tripless_resize_
- extern f_status_t f_string_tripless_resize(const f_array_length_t length, f_string_tripless_t * const tripless);
+ extern f_status_t f_string_tripless_resize(const f_number_unsigned_t length, f_string_tripless_t * const tripless);
#endif // _di_f_string_tripless_resize_
#ifdef __cplusplus
void test__f_string_dynamic_terminate__appends_null(void **state) {
- const f_array_length_t length = 2;
+ const f_number_unsigned_t length = 2;
f_string_dynamic_t data = f_string_dynamic_t_initialize;
// Put some value in the unused section at the end so that it gets overridden.
void test__f_string_dynamic_terminate__doesnt_append_null(void **state) {
- const f_array_length_t length = 2;
+ const f_number_unsigned_t length = 2;
f_string_dynamic_t data = f_string_dynamic_t_initialize;
// Ensure a NULL already exists so that the test can confirm that another NULL is not appended.
#endif
void test__f_string_dynamic_terminate_after__appends_null(void **state) {
- const f_array_length_t length = 2;
+ const f_number_unsigned_t length = 2;
f_string_dynamic_t data = f_string_dynamic_t_initialize;
// Put some value in the unused section at the end so that it gets overridden.
void test__f_string_dynamic_terminate_after__doesnt_append_null(void **state) {
- const f_array_length_t length = 2;
+ const f_number_unsigned_t length = 2;
f_string_dynamic_t data = f_string_dynamic_t_initialize;
// Ensure a NULL already exists so that the test can confirm that another NULL is not appended.
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[i].used, source.array[i].used);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].string);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].string);
} // for
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_inner);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[0].array[i].used, test_names[i].used);
assert_string_equal(destination.array[0].array[i].string, test_names[i].string);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].string);
} // for
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
free((void *) destination.array[0].array[i].string);
} // for
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; source.used < length_outer; ++source.used) {
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_outer; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[j].array[i].used, test_names[i].used);
} // for
}
- for (f_array_length_t j = 0; j < source.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < source.used; ++j) {
- for (f_array_length_t i = 0; i < source.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.array[j].used; ++i) {
free((void *) source.array[j].array[i].string);
} // for
free((void *) source.array[j].array);
} // for
- for (f_array_length_t j = 0; j < destination.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.used; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].string);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[i].name.used, source.array[i].name.used);
assert_int_equal(destination.array[i].value.used, source.array[i].value.used);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].name.string);
free((void *) source.array[i].value.array[0].string);
free((void *) source.array[i].value.array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].name.string);
free((void *) destination.array[i].value.array[0].string);
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_inner);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[0].array[i].name.used, test_names[i].used);
assert_int_equal(destination.array[0].array[i].value.used, test_values[i].used);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].name.string);
free((void *) source.array[i].value.array[0].string);
} // for
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
free((void *) destination.array[0].array[i].name.string);
free((void *) destination.array[0].array[i].value.array[0].string);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; source.used < length_outer; ++source.used) {
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_outer; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[j].array[i].name.used, test_names[i].used);
assert_int_equal(destination.array[j].array[i].value.used, test_values[i].used);
} // for
}
- for (f_array_length_t j = 0; j < source.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < source.used; ++j) {
- for (f_array_length_t i = 0; i < source.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.array[j].used; ++i) {
free((void *) source.array[j].array[i].name.string);
free((void *) source.array[j].array[i].value.array[0].string);
free((void *) source.array[j].array);
} // for
- for (f_array_length_t j = 0; j < destination.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.used; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].name.string);
free((void *) destination.array[j].array[i].value.array[0].string);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[i].name.used, source.array[i].name.used);
assert_int_equal(destination.array[i].value.used, source.array[i].value.used);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].name.string);
free((void *) source.array[i].value.string);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].name.string);
free((void *) destination.array[i].value.string);
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_inner);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[0].array[i].name.used, test_names[i].used);
assert_int_equal(destination.array[0].array[i].value.used, test_values[i].used);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].name.string);
free((void *) source.array[i].value.string);
} // for
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
free((void *) destination.array[0].array[i].name.string);
free((void *) destination.array[0].array[i].value.string);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; source.used < length_outer; ++source.used) {
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_outer; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[j].array[i].name.used, test_names[i].used);
assert_int_equal(destination.array[j].array[i].value.used, test_values[i].used);
} // for
}
- for (f_array_length_t j = 0; j < source.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < source.used; ++j) {
- for (f_array_length_t i = 0; i < source.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.array[j].used; ++i) {
free((void *) source.array[j].array[i].name.string);
free((void *) source.array[j].array[i].value.string);
free((void *) source.array[j].array);
} // for
- for (f_array_length_t j = 0; j < destination.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.used; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].name.string);
free((void *) destination.array[j].array[i].value.string);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[i].start, source.array[i].start);
assert_int_equal(destination.array[i].total, source.array[i].total);
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_sources);
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[0].array[i].start, sources_array[i].start);
assert_int_equal(destination.array[0].array[i].total, sources_array[i].total);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_sources_set; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_sources_set; ++j) {
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[j].array[i].start, sources_set_array[j].array[i].start);
assert_int_equal(destination.array[j].array[i].total, sources_set_array[j].array[i].total);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[i].start, source.array[i].start);
assert_int_equal(destination.array[i].stop, source.array[i].stop);
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_sources);
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[0].array[i].start, sources_array[i].start);
assert_int_equal(destination.array[0].array[i].stop, sources_array[i].stop);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_sources_set; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_sources_set; ++j) {
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[j].array[i].start, sources_set_array[j].array[i].start);
assert_int_equal(destination.array[j].array[i].stop, sources_set_array[j].array[i].stop);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[i].a.used, source.array[i].a.used);
assert_int_equal(destination.array[i].b.used, source.array[i].b.used);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].a.string);
free((void *) destination.array[i].b.string);
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_sources);
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[0].array[i].a.used, sources_array[i].a.used);
assert_int_equal(destination.array[0].array[i].b.used, sources_array[i].b.used);
} // for
}
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
free((void *) destination.array[0].array[i].a.string);
free((void *) destination.array[0].array[i].b.string);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_sources_set; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_sources_set; ++j) {
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[j].array[i].a.used, sources_set_array[j].array[i].a.used);
assert_int_equal(destination.array[j].array[i].b.used, sources_set_array[j].array[i].b.used);
} // for
}
- for (f_array_length_t j = 0; j < destination.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.used; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].a.string);
free((void *) destination.array[j].array[i].b.string);
#endif // !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_) || !defined(_di_f_thread_attributes_decrease_) || !defined(_di_f_thread_attributes_decrease_by_) || !defined(_di_f_thread_attributes_increase_) || !defined(_di_f_thread_attributes_increase_by_) || !defined(_di_f_thread_attributes_resize_) || !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_) || !defined(_di_f_thread_sets_decrease_) || !defined(_di_f_thread_sets_decrease_by_) || !defined(_di_f_thread_sets_increase_) || !defined(_di_f_thread_sets_increase_by_) || !defined(_di_f_thread_sets_resize_)
#if !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_)
- f_status_t private_f_thread_attributes_adjust(const f_array_length_t length, f_thread_attributes_t * const attributes) {
+ f_status_t private_f_thread_attributes_adjust(const f_number_unsigned_t length, f_thread_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_)
#if !defined(_di_f_thread_attributes_decrease_) || !defined(_di_f_thread_attributes_decrease_by_) || !defined(_di_f_thread_attributes_increase_) || !defined(_di_f_thread_attributes_increase_by_)
- f_status_t private_f_thread_attributes_resize(const f_array_length_t length, f_thread_attributes_t * const attributes) {
+ f_status_t private_f_thread_attributes_resize(const f_number_unsigned_t length, f_thread_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_) || !defined(_di_f_thread_barriers_decrease_) || !defined(_di_f_thread_barriers_decrease_by_) || !defined(_di_f_thread_barriers_increase_) || !defined(_di_f_thread_barriers_increase_by_) || !defined(_di_f_thread_barriers_resize_)
#if !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_)
- f_status_t private_f_thread_barriers_adjust(const f_array_length_t length, f_thread_barriers_t * const barriers) {
+ f_status_t private_f_thread_barriers_adjust(const f_number_unsigned_t length, f_thread_barriers_t * const barriers) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < barriers->size; ++i) {
+ for (f_number_unsigned_t i = length; i < barriers->size; ++i) {
status = private_f_thread_barrier_delete(&barriers->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_)
#if !defined(_di_f_thread_barriers_decrease_) || !defined(_di_f_thread_barriers_decrease_by_) || !defined(_di_f_thread_barriers_increase_) || !defined(_di_f_thread_barriers_increase_by_)
- f_status_t private_f_thread_barriers_resize(const f_array_length_t length, f_thread_barriers_t * const barriers) {
+ f_status_t private_f_thread_barriers_resize(const f_number_unsigned_t length, f_thread_barriers_t * const barriers) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < barriers->size; ++i) {
+ for (f_number_unsigned_t i = length; i < barriers->size; ++i) {
status = private_f_thread_barrier_delete(&barriers->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_) || !defined(_di_f_thread_barrier_attributes_decrease_) || !defined(_di_f_thread_barrier_attributes_decrease_by_) || !defined(_di_f_thread_barrier_attributes_increase_) || !defined(_di_f_thread_barrier_attributes_increase_by_) || !defined(_di_f_thread_barrier_attributes_resize_)
#if !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_)
- f_status_t private_f_thread_barrier_attributes_adjust(const f_array_length_t length, f_thread_barrier_attributes_t * const attributes) {
+ f_status_t private_f_thread_barrier_attributes_adjust(const f_number_unsigned_t length, f_thread_barrier_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_barrier_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_)
#if !defined(_di_f_thread_barrier_attributes_decrease_) || !defined(_di_f_thread_barrier_attributes_decrease_by_) || !defined(_di_f_thread_barrier_attributes_increase_) || !defined(_di_f_thread_barrier_attributes_increase_by_)
- f_status_t private_f_thread_barrier_attributes_resize(const f_array_length_t length, f_thread_barrier_attributes_t * const attributes) {
+ f_status_t private_f_thread_barrier_attributes_resize(const f_number_unsigned_t length, f_thread_barrier_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_barrier_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_condition_attributes_adjust_) || !defined(_di_f_thread_condition_attributes_decimate_by_) || !defined(_di_f_thread_condition_attributes_decrease_) || !defined(_di_f_thread_condition_attributes_decrease_by_) || !defined(_di_f_thread_condition_attributes_increase_) || !defined(_di_f_thread_condition_attributes_increase_by_) || !defined(_di_f_thread_condition_attributes_resize_)
#if !defined(_di_f_thread_condition_attributes_adjust_) || !defined(_di_f_thread_condition_attributes_decimate_by_)
- f_status_t private_f_thread_condition_attributes_adjust(const f_array_length_t length, f_thread_condition_attributes_t * const attributes) {
+ f_status_t private_f_thread_condition_attributes_adjust(const f_number_unsigned_t length, f_thread_condition_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_condition_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_condition_attributes_adjust_) || !defined(_di_f_thread_condition_attributes_decimate_by_)
#if !defined(_di_f_thread_condition_attributes_decrease_) || !defined(_di_f_thread_condition_attributes_decrease_by_) || !defined(_di_f_thread_condition_attributes_increase_) || !defined(_di_f_thread_condition_attributes_increase_by_)
- f_status_t private_f_thread_condition_attributes_resize(const f_array_length_t length, f_thread_condition_attributes_t * const attributes) {
+ f_status_t private_f_thread_condition_attributes_resize(const f_number_unsigned_t length, f_thread_condition_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_condition_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_condition_delete_) || !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_) || !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_) || !defined(_di_f_thread_conditions_resize_)
#if !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_)
- f_status_t private_f_thread_conditions_adjust(const f_array_length_t length, f_thread_conditions_t * const conditions) {
+ f_status_t private_f_thread_conditions_adjust(const f_number_unsigned_t length, f_thread_conditions_t * const conditions) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < conditions->size; ++i) {
+ for (f_number_unsigned_t i = length; i < conditions->size; ++i) {
status = private_f_thread_condition_delete(&conditions->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_)
#if !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_)
- f_status_t private_f_thread_conditions_resize(const f_array_length_t length, f_thread_conditions_t * const conditions) {
+ f_status_t private_f_thread_conditions_resize(const f_number_unsigned_t length, f_thread_conditions_t * const conditions) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < conditions->size; ++i) {
+ for (f_number_unsigned_t i = length; i < conditions->size; ++i) {
status = private_f_thread_condition_delete(&conditions->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_conditions_decrease_) || !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_)
#if !defined(_di_f_thread_ids_adjust_) || !defined(_di_f_thread_ids_decimate_by_)
- f_status_t private_f_thread_ids_adjust(const f_array_length_t length, f_thread_ids_t * const ids) {
+ f_status_t private_f_thread_ids_adjust(const f_number_unsigned_t length, f_thread_ids_t * const ids) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < ids->size; ++i) {
+ for (f_number_unsigned_t i = length; i < ids->size; ++i) {
memset(&ids->array[i], 0, sizeof(f_thread_id_t));
} // for
#endif // !defined(_di_f_thread_ids_adjust_) || !defined(_di_f_thread_ids_decimate_by_)
#if !defined(_di_f_thread_ids_decrease_) || !defined(_di_f_thread_ids_decrease_by_) || !defined(_di_f_thread_ids_increase_) || !defined(_di_f_thread_ids_increase_by_)
- f_status_t private_f_thread_ids_resize(const f_array_length_t length, f_thread_ids_t * const ids) {
+ f_status_t private_f_thread_ids_resize(const f_number_unsigned_t length, f_thread_ids_t * const ids) {
const f_status_t status = f_memory_resize(ids->size, length, sizeof(f_thread_id_t), (void **) & ids->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_keys_adjust_) || !defined(_di_f_thread_keys_decimate_by_) || !defined(_di_f_thread_keys_decrease_) || !defined(_di_f_thread_keys_decrease_by_) || !defined(_di_f_thread_keys_increase_) || !defined(_di_f_thread_keys_increase_by_) || !defined(_di_f_thread_keys_resize_)
#if !defined(_di_f_thread_keys_adjust_) || !defined(_di_f_thread_keys_decimate_by_)
- f_status_t private_f_thread_keys_adjust(const f_array_length_t length, f_thread_keys_t * const keys) {
+ f_status_t private_f_thread_keys_adjust(const f_number_unsigned_t length, f_thread_keys_t * const keys) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < keys->size; ++i) {
+ for (f_number_unsigned_t i = length; i < keys->size; ++i) {
status = private_f_thread_key_delete(&keys->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_keys_adjust_) || !defined(_di_f_thread_keys_decimate_by_)
#if !defined(_di_f_thread_keys_decrease_) || !defined(_di_f_thread_keys_decrease_by_) || !defined(_di_f_thread_keys_increase_) || !defined(_di_f_thread_keys_increase_by_)
- f_status_t private_f_thread_keys_resize(const f_array_length_t length, f_thread_keys_t * const keys) {
+ f_status_t private_f_thread_keys_resize(const f_number_unsigned_t length, f_thread_keys_t * const keys) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < keys->size; ++i) {
+ for (f_number_unsigned_t i = length; i < keys->size; ++i) {
status = private_f_thread_key_delete(&keys->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_lock_attributes_adjust_) || !defined(_di_f_thread_lock_attributes_decimate_by_) || !defined(_di_f_thread_lock_attributes_decrease_) || !defined(_di_f_thread_lock_attributes_decrease_by_) || !defined(_di_f_thread_lock_attributes_increase_) || !defined(_di_f_thread_lock_attributes_increase_by_) || !defined(_di_f_thread_lock_attributes_resize_)
#if !defined(_di_f_thread_lock_attributes_adjust_) || !defined(_di_f_thread_lock_attributes_decimate_by_)
- f_status_t private_f_thread_lock_attributes_adjust(const f_array_length_t length, f_thread_lock_attributes_t * const attributes) {
+ f_status_t private_f_thread_lock_attributes_adjust(const f_number_unsigned_t length, f_thread_lock_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_lock_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_lock_attributes_adjust_) || !defined(_di_f_thread_lock_attributes_decimate_by_)
#if !defined(_di_f_thread_lock_attributes_decrease_) || !defined(_di_f_thread_lock_attributes_decrease_by_) || !defined(_di_f_thread_lock_attributes_increase_) || !defined(_di_f_thread_lock_attributes_increase_by_)
- f_status_t private_f_thread_lock_attributes_resize(const f_array_length_t length, f_thread_lock_attributes_t * const attributes) {
+ f_status_t private_f_thread_lock_attributes_resize(const f_number_unsigned_t length, f_thread_lock_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_lock_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_lock_delete_) || !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_) || !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_) || !defined(_di_f_thread_locks_resize_)
#if !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_)
- f_status_t private_f_thread_locks_adjust(const f_array_length_t length, f_thread_locks_t * const locks) {
+ f_status_t private_f_thread_locks_adjust(const f_number_unsigned_t length, f_thread_locks_t * const locks) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < locks->size; ++i) {
+ for (f_number_unsigned_t i = length; i < locks->size; ++i) {
status = private_f_thread_lock_delete(&locks->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_)
#if !defined(_di_f_thread_locks_decrease_) || !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_)
- f_status_t private_f_thread_locks_resize(const f_array_length_t length, f_thread_locks_t * const locks) {
+ f_status_t private_f_thread_locks_resize(const f_number_unsigned_t length, f_thread_locks_t * const locks) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < locks->size; ++i) {
+ for (f_number_unsigned_t i = length; i < locks->size; ++i) {
status = private_f_thread_lock_delete(&locks->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_mutex_attributes_adjust_) || !defined(_di_f_thread_mutex_attributes_decimate_by_) || !defined(_di_f_thread_mutex_attributes_decrease_) || !defined(_di_f_thread_mutex_attributes_decrease_by_) || !defined(_di_f_thread_mutex_attributes_increase_) || !defined(_di_f_thread_mutex_attributes_increase_by_) || !defined(_di_f_thread_mutex_attributes_resize_)
#if !defined(_di_f_thread_mutex_attributes_adjust_) || !defined(_di_f_thread_mutex_attributes_decimate_by_)
- f_status_t private_f_thread_mutex_attributes_adjust(const f_array_length_t length, f_thread_mutex_attributes_t * const attributes) {
+ f_status_t private_f_thread_mutex_attributes_adjust(const f_number_unsigned_t length, f_thread_mutex_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_mutex_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_mutex_attributes_adjust_) || !defined(_di_f_thread_mutex_attributes_decimate_by_)
#if !defined(_di_f_thread_mutex_attributes_decrease_) || !defined(_di_f_thread_mutex_attributes_decrease_by_) || !defined(_di_f_thread_mutex_attributes_increase_) || !defined(_di_f_thread_mutex_attributes_increase_by_)
- f_status_t private_f_thread_mutex_attributes_resize(const f_array_length_t length, f_thread_mutex_attributes_t * const attributes) {
+ f_status_t private_f_thread_mutex_attributes_resize(const f_number_unsigned_t length, f_thread_mutex_attributes_t * const attributes) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < attributes->size; ++i) {
+ for (f_number_unsigned_t i = length; i < attributes->size; ++i) {
status = private_f_thread_mutex_attribute_delete(&attributes->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_mutex_delete_) || !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_) || !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_) || !defined(_di_f_thread_mutexs_resize_)
#if !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_)
- f_status_t private_f_thread_mutexs_adjust(const f_array_length_t length, f_thread_mutexs_t * const mutexs) {
+ f_status_t private_f_thread_mutexs_adjust(const f_number_unsigned_t length, f_thread_mutexs_t * const mutexs) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < mutexs->size; ++i) {
+ for (f_number_unsigned_t i = length; i < mutexs->size; ++i) {
status = private_f_thread_mutex_delete(&mutexs->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_)
#if !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_)
- f_status_t private_f_thread_mutexs_resize(const f_array_length_t length, f_thread_mutexs_t * const mutexs) {
+ f_status_t private_f_thread_mutexs_resize(const f_number_unsigned_t length, f_thread_mutexs_t * const mutexs) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < mutexs->size; ++i) {
+ for (f_number_unsigned_t i = length; i < mutexs->size; ++i) {
status = private_f_thread_mutex_delete(&mutexs->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_mutexs_decrease_) || !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_)
#if !defined(_di_f_thread_onces_adjust_) || !defined(_di_f_thread_onces_decimate_by_)
- f_status_t private_f_thread_onces_adjust(const f_array_length_t length, f_thread_onces_t * const onces) {
+ f_status_t private_f_thread_onces_adjust(const f_number_unsigned_t length, f_thread_onces_t * const onces) {
- for (f_array_length_t i = length; i < onces->size; ++i) {
+ for (f_number_unsigned_t i = length; i < onces->size; ++i) {
memset(&onces->array[i], 0, sizeof(f_thread_once_t));
} // for
#endif // !defined(_di_f_thread_onces_adjust_) || !defined(_di_f_thread_onces_decimate_by_)
#if !defined(_di_f_thread_onces_decrease_) || !defined(_di_f_thread_onces_decrease_by_) || !defined(_di_f_thread_onces_increase_) || !defined(_di_f_thread_onces_increase_by_)
- f_status_t private_f_thread_onces_resize(const f_array_length_t length, f_thread_onces_t * const onces) {
+ f_status_t private_f_thread_onces_resize(const f_number_unsigned_t length, f_thread_onces_t * const onces) {
f_status_t status = F_none;
#endif // !defined(_di_f_thread_semaphores_adjust_) || !defined(_di_f_thread_semaphores_decimate_by_) || !defined(_di_f_thread_semaphores_decrease_) || !defined(_di_f_thread_semaphores_decrease_by_) || !defined(_di_f_thread_semaphores_increase_) || !defined(_di_f_thread_semaphores_increase_by_) || !defined(_di_f_thread_semaphores_resize_)
#if !defined(_di_f_thread_semaphores_adjust_) || !defined(_di_f_thread_semaphores_decimate_by_)
- f_status_t private_f_thread_semaphores_adjust(const f_array_length_t length, f_thread_semaphores_t * const semaphores) {
+ f_status_t private_f_thread_semaphores_adjust(const f_number_unsigned_t length, f_thread_semaphores_t * const semaphores) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < semaphores->size; ++i) {
+ for (f_number_unsigned_t i = length; i < semaphores->size; ++i) {
status = private_f_thread_semaphore_delete(&semaphores->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_semaphores_adjust_) || !defined(_di_f_thread_semaphores_decimate_by_)
#if !defined(_di_f_thread_semaphores_decrease_) || !defined(_di_f_thread_semaphores_decrease_by_) || !defined(_di_f_thread_semaphores_increase_) || !defined(_di_f_thread_semaphores_increase_by_)
- f_status_t private_f_thread_semaphores_resize(const f_array_length_t length, f_thread_semaphores_t * const semaphores) {
+ f_status_t private_f_thread_semaphores_resize(const f_number_unsigned_t length, f_thread_semaphores_t * const semaphores) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < semaphores->size; ++i) {
+ for (f_number_unsigned_t i = length; i < semaphores->size; ++i) {
status = private_f_thread_semaphore_delete(&semaphores->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_semaphores_decrease_) || !defined(_di_f_thread_semaphores_decrease_by_) || !defined(_di_f_thread_semaphores_increase_) || !defined(_di_f_thread_semaphores_increase_by_)
#if !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_)
- f_status_t private_f_thread_sets_adjust(const f_array_length_t length, f_thread_sets_t * const sets) {
+ f_status_t private_f_thread_sets_adjust(const f_number_unsigned_t length, f_thread_sets_t * const sets) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < sets->size; ++i) {
+ for (f_number_unsigned_t i = length; i < sets->size; ++i) {
status = private_f_thread_attribute_delete(&sets->array[i].attribute);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_)
#if !defined(_di_f_thread_sets_decrease_) || !defined(_di_f_thread_sets_decrease_by_) || !defined(_di_f_thread_sets_increase_) || !defined(_di_f_thread_sets_increase_by_)
- f_status_t private_f_thread_sets_resize(const f_array_length_t length, f_thread_sets_t * const sets) {
+ f_status_t private_f_thread_sets_resize(const f_number_unsigned_t length, f_thread_sets_t * const sets) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < sets->size; ++i) {
+ for (f_number_unsigned_t i = length; i < sets->size; ++i) {
status = private_f_thread_attribute_delete(&sets->array[i].attribute);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_spins_adjust_) || !defined(_di_f_thread_spins_decimate_by_) || !defined(_di_f_thread_spins_decrease_) || !defined(_di_f_thread_spins_decrease_by_) || !defined(_di_f_thread_spins_increase_) || !defined(_di_f_thread_spins_increase_by_) || !defined(_di_f_thread_spins_resize_)
#if !defined(_di_f_thread_spins_adjust_) || !defined(_di_f_thread_spins_decimate_by_)
- f_status_t private_f_thread_spins_adjust(const f_array_length_t length, f_thread_spins_t * const spins) {
+ f_status_t private_f_thread_spins_adjust(const f_number_unsigned_t length, f_thread_spins_t * const spins) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < spins->size; ++i) {
+ for (f_number_unsigned_t i = length; i < spins->size; ++i) {
status = private_f_thread_spin_delete(&spins->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_thread_spins_adjust_) || !defined(_di_f_thread_spins_decimate_by_)
#if !defined(_di_f_thread_spins_decrease_) || !defined(_di_f_thread_spins_decrease_by_) || !defined(_di_f_thread_spins_increase_) || !defined(_di_f_thread_spins_increase_by_)
- f_status_t private_f_thread_spins_resize(const f_array_length_t length, f_thread_spins_t * const spins) {
+ f_status_t private_f_thread_spins_resize(const f_number_unsigned_t length, f_thread_spins_t * const spins) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < spins->size; ++i) {
+ for (f_number_unsigned_t i = length; i < spins->size; ++i) {
status = private_f_thread_spin_delete(&spins->array[i]);
if (F_status_is_error(status)) return status;
* @see f_thread_attributes_decimate_by()
*/
#if !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_)
- extern f_status_t private_f_thread_attributes_adjust(const f_array_length_t length, f_thread_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_attributes_adjust(const f_number_unsigned_t length, f_thread_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_attributes_adjust_) || !defined(_di_f_thread_attributes_decimate_by_)
/**
* @see f_thread_attributes_increase_by()
*/
#if !defined(_di_f_thread_attributes_decrease_by_) || !defined(_di_f_thread_attributes_increase_) || !defined(_di_f_thread_attributes_increase_by_)
- extern f_status_t private_f_thread_attributes_resize(const f_array_length_t length, f_thread_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_attributes_resize(const f_number_unsigned_t length, f_thread_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_attributes_decrease_by_) || !defined(_di_f_thread_attributes_increase_) || !defined(_di_f_thread_attributes_increase_by_)
/**
* @see f_thread_barriers_decimate_by()
*/
#if !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_)
- extern f_status_t private_f_thread_barriers_adjust(const f_array_length_t length, f_thread_barriers_t * const barriers) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_barriers_adjust(const f_number_unsigned_t length, f_thread_barriers_t * const barriers) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_barriers_adjust_) || !defined(_di_f_thread_barriers_decimate_by_)
/**
* @see f_thread_barriers_increase_by()
*/
#if !defined(_di_f_thread_barriers_decrease_by_) || !defined(_di_f_thread_barriers_increase_) || !defined(_di_f_thread_barriers_increase_by_)
- extern f_status_t private_f_thread_barriers_resize(const f_array_length_t length, f_thread_barriers_t * const barriers) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_barriers_resize(const f_number_unsigned_t length, f_thread_barriers_t * const barriers) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_barriers_decrease_by_) || !defined(_di_f_thread_barriers_increase_) || !defined(_di_f_thread_barriers_increase_by_)
/**
* @see f_thread_barrier_attributes_decimate_by()
*/
#if !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_)
- extern f_status_t private_f_thread_barrier_attributes_adjust(const f_array_length_t length, f_thread_barrier_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_barrier_attributes_adjust(const f_number_unsigned_t length, f_thread_barrier_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_barrier_attributes_adjust_) || !defined(_di_f_thread_barrier_attributes_decimate_by_)
/**
* @see f_thread_barrier_attributes_increase_by()
*/
#if !defined(_di_f_thread_barrier_attributes_decrease_by_) || !defined(_di_f_thread_barrier_attributes_increase_) || !defined(_di_f_thread_barrier_attributes_increase_by_)
- extern f_status_t private_f_thread_barrier_attributes_resize(const f_array_length_t length, f_thread_barrier_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_barrier_attributes_resize(const f_number_unsigned_t length, f_thread_barrier_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_barrier_attributes_decrease_by_) || !defined(_di_f_thread_barrier_attributes_increase_) || !defined(_di_f_thread_barrier_attributes_increase_by_)
/**
* @see f_thread_condition_attributes_decimate_by()
*/
#if !defined(_di_f_thread_condition_attributes_adjust_) || !defined(_di_f_thread_condition_attributes_decimate_by_)
- extern f_status_t private_f_thread_condition_attributes_adjust(const f_array_length_t length, f_thread_condition_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_condition_attributes_adjust(const f_number_unsigned_t length, f_thread_condition_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_condition_attributes_adjust_) || !defined(_di_f_thread_condition_attributes_decimate_by_)
/**
* @see f_thread_condition_attributes_increase_by()
*/
#if !defined(_di_f_thread_condition_attributes_decrease_by_) || !defined(_di_f_thread_condition_attributes_increase_) || !defined(_di_f_thread_condition_attributes_increase_by_)
- extern f_status_t private_f_thread_condition_attributes_resize(const f_array_length_t length, f_thread_condition_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_condition_attributes_resize(const f_number_unsigned_t length, f_thread_condition_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_condition_attributes_decrease_by_) || !defined(_di_f_thread_condition_attributes_increase_) || !defined(_di_f_thread_condition_attributes_increase_by_)
/**
* @see f_thread_conditions_decimate_by()
*/
#if !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_)
- extern f_status_t private_f_thread_conditions_adjust(const f_array_length_t length, f_thread_conditions_t * const conditions) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_conditions_adjust(const f_number_unsigned_t length, f_thread_conditions_t * const conditions) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_conditions_adjust_) || !defined(_di_f_thread_conditions_decimate_by_)
/**
* @see f_thread_conditions_increase_by()
*/
#if !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_)
- extern f_status_t private_f_thread_conditions_resize(const f_array_length_t length, f_thread_conditions_t * const conditions) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_conditions_resize(const f_number_unsigned_t length, f_thread_conditions_t * const conditions) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_conditions_decrease_by_) || !defined(_di_f_thread_conditions_increase_) || !defined(_di_f_thread_conditions_increase_by_)
/**
* @see f_thread_ids_decimate_by()
*/
#if !defined(_di_f_thread_ids_adjust_) || !defined(_di_f_thread_ids_decimate_by_)
- extern f_status_t private_f_thread_ids_adjust(const f_array_length_t length, f_thread_ids_t * const ids) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_ids_adjust(const f_number_unsigned_t length, f_thread_ids_t * const ids) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_ids_adjust_) || !defined(_di_f_thread_ids_decimate_by_)
/**
* @see f_thread_ids_increase_by()
*/
#if !defined(_di_f_thread_ids_decrease_by_) || !defined(_di_f_thread_ids_increase_) || !defined(_di_f_thread_ids_increase_by_)
- extern f_status_t private_f_thread_ids_resize(const f_array_length_t length, f_thread_ids_t * const ids) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_ids_resize(const f_number_unsigned_t length, f_thread_ids_t * const ids) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_ids_decrease_by_) || !defined(_di_f_thread_ids_increase_) || !defined(_di_f_thread_ids_increase_by_)
/**
* @see f_thread_keys_decimate_by()
*/
#if !defined(_di_f_thread_keys_adjust_) || !defined(_di_f_thread_keys_decimate_by_)
- extern f_status_t private_f_thread_keys_adjust(const f_array_length_t length, f_thread_keys_t * const keys) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_keys_adjust(const f_number_unsigned_t length, f_thread_keys_t * const keys) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_keys_adjust_) || !defined(_di_f_thread_keys_decimate_by_)
/**
* @see f_thread_keys_increase_by()
*/
#if !defined(_di_f_thread_keys_decrease_by_) || !defined(_di_f_thread_keys_increase_) || !defined(_di_f_thread_keys_increase_by_)
- extern f_status_t private_f_thread_keys_resize(const f_array_length_t length, f_thread_keys_t * const keys) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_keys_resize(const f_number_unsigned_t length, f_thread_keys_t * const keys) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_keys_decrease_by_) || !defined(_di_f_thread_keys_increase_) || !defined(_di_f_thread_keys_increase_by_)
/**
* @see f_thread_lock_attributes_decimate_by()
*/
#if !defined(_di_f_thread_lock_attributes_adjust_) || !defined(_di_f_thread_lock_attributes_decimate_by_)
- extern f_status_t private_f_thread_lock_attributes_adjust(const f_array_length_t length, f_thread_lock_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_lock_attributes_adjust(const f_number_unsigned_t length, f_thread_lock_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_lock_attributes_adjust_) || !defined(_di_f_thread_lock_attributes_decimate_by_)
/**
* @see f_thread_lock_attributes_increase_by()
*/
#if !defined(_di_f_thread_lock_attributes_decrease_by_) || !defined(_di_f_thread_lock_attributes_increase_) || !defined(_di_f_thread_lock_attributes_increase_by_)
- extern f_status_t private_f_thread_lock_attributes_resize(const f_array_length_t length, f_thread_lock_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_lock_attributes_resize(const f_number_unsigned_t length, f_thread_lock_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_lock_attributes_decrease_by_) || !defined(_di_f_thread_lock_attributes_increase_) || !defined(_di_f_thread_lock_attributes_increase_by_)
/**
* @see f_thread_locks_decimate_by()
*/
#if !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_)
- extern f_status_t private_f_thread_locks_adjust(const f_array_length_t length, f_thread_locks_t * const locks) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_locks_adjust(const f_number_unsigned_t length, f_thread_locks_t * const locks) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_locks_adjust_) || !defined(_di_f_thread_locks_decimate_by_)
/**
* @see f_thread_locks_increase_by()
*/
#if !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_)
- extern f_status_t private_f_thread_locks_resize(const f_array_length_t length, f_thread_locks_t * const locks) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_locks_resize(const f_number_unsigned_t length, f_thread_locks_t * const locks) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_locks_decrease_by_) || !defined(_di_f_thread_locks_increase_) || !defined(_di_f_thread_locks_increase_by_)
/**
* Private implementation for deleting (and destroying).
* @see f_thread_mutex_attributes_decimate_by()
*/
#if !defined(_di_f_thread_mutex_attributes_adjust_) || !defined(_di_f_thread_mutex_attributes_decimate_by_)
- extern f_status_t private_f_thread_mutex_attributes_adjust(const f_array_length_t length, f_thread_mutex_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_mutex_attributes_adjust(const f_number_unsigned_t length, f_thread_mutex_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_mutex_attributes_adjust_) || !defined(_di_f_thread_mutex_attributes_decimate_by_)
/**
* @see f_thread_mutex_attributes_increase_by()
*/
#if !defined(_di_f_thread_mutex_attributes_decrease_by_) || !defined(_di_f_thread_mutex_attributes_increase_) || !defined(_di_f_thread_mutex_attributes_increase_by_)
- extern f_status_t private_f_thread_mutex_attributes_resize(const f_array_length_t length, f_thread_mutex_attributes_t * const attributes) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_mutex_attributes_resize(const f_number_unsigned_t length, f_thread_mutex_attributes_t * const attributes) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_mutex_attributes_decrease_by_) || !defined(_di_f_thread_mutex_attributes_increase_) || !defined(_di_f_thread_mutex_attributes_increase_by_)
/**
* @see f_thread_mutexs_decimate_by()
*/
#if !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_)
- extern f_status_t private_f_thread_mutexs_adjust(const f_array_length_t length, f_thread_mutexs_t * const mutexs) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_mutexs_adjust(const f_number_unsigned_t length, f_thread_mutexs_t * const mutexs) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_mutexs_adjust_) || !defined(_di_f_thread_mutexs_decimate_by_)
/**
* @see f_thread_mutexs_increase_by()
*/
#if !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_)
- extern f_status_t private_f_thread_mutexs_resize(const f_array_length_t length, f_thread_mutexs_t * const mutexs) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_mutexs_resize(const f_number_unsigned_t length, f_thread_mutexs_t * const mutexs) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_mutexs_decrease_by_) || !defined(_di_f_thread_mutexs_increase_) || !defined(_di_f_thread_mutexs_increase_by_)
/**
* @see f_thread_onces_decimate_by()
*/
#if !defined(_di_f_thread_onces_adjust_) || !defined(_di_f_thread_onces_decimate_by_)
- extern f_status_t private_f_thread_onces_adjust(const f_array_length_t length, f_thread_onces_t * const onces) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_onces_adjust(const f_number_unsigned_t length, f_thread_onces_t * const onces) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_onces_adjust_) || !defined(_di_f_thread_onces_decimate_by_)
/**
* @see f_thread_onces_increase_by()
*/
#if !defined(_di_f_thread_onces_decrease_by_) || !defined(_di_f_thread_onces_increase_) || !defined(_di_f_thread_onces_increase_by_)
- extern f_status_t private_f_thread_onces_resize(const f_array_length_t length, f_thread_onces_t * const onces) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_onces_resize(const f_number_unsigned_t length, f_thread_onces_t * const onces) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_onces_decrease_by_) || !defined(_di_f_thread_onces_increase_) || !defined(_di_f_thread_onces_increase_by_)
/**
* @see f_thread_semaphores_decimate_by()
*/
#if !defined(_di_f_thread_semaphores_adjust_) || !defined(_di_f_thread_semaphores_decimate_by_)
- extern f_status_t private_f_thread_semaphores_adjust(const f_array_length_t length, f_thread_semaphores_t * const semaphores) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_semaphores_adjust(const f_number_unsigned_t length, f_thread_semaphores_t * const semaphores) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_semaphores_adjust_) || !defined(_di_f_thread_semaphores_decimate_by_)
/**
* @see f_thread_semaphores_increase_by()
*/
#if !defined(_di_f_thread_semaphores_decrease_by_) || !defined(_di_f_thread_semaphores_increase_) || !defined(_di_f_thread_semaphores_increase_by_)
- extern f_status_t private_f_thread_semaphores_resize(const f_array_length_t length, f_thread_semaphores_t * const semaphores) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_semaphores_resize(const f_number_unsigned_t length, f_thread_semaphores_t * const semaphores) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_semaphores_decrease_by_) || !defined(_di_f_thread_semaphores_increase_) || !defined(_di_f_thread_semaphores_increase_by_)
/**
* @see f_thread_sets_decimate_by()
*/
#if !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_)
- extern f_status_t private_f_thread_sets_adjust(const f_array_length_t length, f_thread_sets_t * const sets) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_sets_adjust(const f_number_unsigned_t length, f_thread_sets_t * const sets) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_sets_adjust_) || !defined(_di_f_thread_sets_decimate_by_)
/**
* @see f_thread_sets_increase_by()
*/
#if !defined(_di_f_thread_sets_decrease_by_) || !defined(_di_f_thread_sets_increase_) || !defined(_di_f_thread_sets_increase_by_)
- extern f_status_t private_f_thread_sets_resize(const f_array_length_t length, f_thread_sets_t * const sets) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_sets_resize(const f_number_unsigned_t length, f_thread_sets_t * const sets) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_sets_decrease_by_) || !defined(_di_f_thread_sets_increase_) || !defined(_di_f_thread_sets_increase_by_)
/**
* @see f_thread_spins_decimate_by()
*/
#if !defined(_di_f_thread_spins_adjust_) || !defined(_di_f_thread_spins_decimate_by_)
- extern f_status_t private_f_thread_spins_adjust(const f_array_length_t length, f_thread_spins_t * const spins) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_spins_adjust(const f_number_unsigned_t length, f_thread_spins_t * const spins) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_spins_adjust_) || !defined(_di_f_thread_spins_decimate_by_)
/**
* @see f_thread_spins_increase_by()
*/
#if !defined(_di_f_thread_spins_decrease_by_) || !defined(_di_f_thread_spins_increase_) || !defined(_di_f_thread_spins_increase_by_)
- extern f_status_t private_f_thread_spins_resize(const f_array_length_t length, f_thread_spins_t * const spins) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_thread_spins_resize(const f_number_unsigned_t length, f_thread_spins_t * const spins) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_thread_spins_decrease_by_) || !defined(_di_f_thread_spins_increase_) || !defined(_di_f_thread_spins_increase_by_)
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_attributes_adjust_
- f_status_t f_thread_attributes_adjust(const f_array_length_t length, f_thread_attributes_t * const attributes) {
+ f_status_t f_thread_attributes_adjust(const f_number_unsigned_t length, f_thread_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_attributes_adjust_
#ifndef _di_f_thread_attributes_decimate_by_
- f_status_t f_thread_attributes_decimate_by(const f_array_length_t amount, f_thread_attributes_t * const attributes) {
+ f_status_t f_thread_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_attributes_decimate_by_
#ifndef _di_f_thread_attributes_decrease_by_
- f_status_t f_thread_attributes_decrease_by(const f_array_length_t amount, f_thread_attributes_t * const attributes) {
+ f_status_t f_thread_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_attributes_decrease_by_
#ifndef _di_f_thread_attributes_increase_
- f_status_t f_thread_attributes_increase(const f_array_length_t step, f_thread_attributes_t * const attributes) {
+ f_status_t f_thread_attributes_increase(const f_number_unsigned_t step, f_thread_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && attributes->used + 1 > attributes->size) {
- f_array_length_t size = attributes->used + step;
+ f_number_unsigned_t size = attributes->used + step;
- if (size > F_array_length_t_size_d) {
- if (attributes->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (attributes->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_attributes_resize(size, attributes);
#endif // _di_f_thread_attributes_increase_
#ifndef _di_f_thread_attributes_increase_by_
- f_status_t f_thread_attributes_increase_by(const f_array_length_t amount, f_thread_attributes_t * const attributes) {
+ f_status_t f_thread_attributes_increase_by(const f_number_unsigned_t amount, f_thread_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (attributes->used + amount > attributes->size) {
- if (attributes->used + amount > F_array_length_t_size_d) {
+ if (attributes->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_attributes_increase_by_
#ifndef _di_f_thread_attributes_resize_
- f_status_t f_thread_attributes_resize(const f_array_length_t length, f_thread_attributes_t * const attributes) {
+ f_status_t f_thread_attributes_resize(const f_number_unsigned_t length, f_thread_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_attribute_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_attributes_t;
#define f_thread_attributes_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_attributes_adjust_
- extern f_status_t f_thread_attributes_adjust(const f_array_length_t length, f_thread_attributes_t * const attributes);
+ extern f_status_t f_thread_attributes_adjust(const f_number_unsigned_t length, f_thread_attributes_t * const attributes);
#endif // _di_f_thread_attributes_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_attributes_decimate_by_
- extern f_status_t f_thread_attributes_decimate_by(const f_array_length_t amount, f_thread_attributes_t * const attributes);
+ extern f_status_t f_thread_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_attributes_t * const attributes);
#endif // _di_f_thread_attributes_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_attributes_decrease_by_
- extern f_status_t f_thread_attributes_decrease_by(const f_array_length_t amount, f_thread_attributes_t * const attributes);
+ extern f_status_t f_thread_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_attributes_t * const attributes);
#endif // _di_f_thread_attributes_decrease_by_
/**
* Increase the size of the thread attributes array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_attributes_increase_
- extern f_status_t f_thread_attributes_increase(const f_array_length_t step, f_thread_attributes_t * const attributes);
+ extern f_status_t f_thread_attributes_increase(const f_number_unsigned_t step, f_thread_attributes_t * const attributes);
#endif // _di_f_thread_attributes_increase_
/**
* Resize the thread attributes array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_attributes_increase_by_
- extern f_status_t f_thread_attributes_increase_by(const f_array_length_t amount, f_thread_attributes_t * const attributes);
+ extern f_status_t f_thread_attributes_increase_by(const f_number_unsigned_t amount, f_thread_attributes_t * const attributes);
#endif // _di_f_thread_attributes_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_attributes_resize_
- extern f_status_t f_thread_attributes_resize(const f_array_length_t length, f_thread_attributes_t * const attributes);
+ extern f_status_t f_thread_attributes_resize(const f_number_unsigned_t length, f_thread_attributes_t * const attributes);
#endif // _di_f_thread_attributes_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_barriers_adjust_
- f_status_t f_thread_barriers_adjust(const f_array_length_t length, f_thread_barriers_t * const barriers) {
+ f_status_t f_thread_barriers_adjust(const f_number_unsigned_t length, f_thread_barriers_t * const barriers) {
#ifndef _di_level_0_parameter_checking_
if (!barriers) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_barriers_adjust_
#ifndef _di_f_thread_barriers_decimate_by_
- f_status_t f_thread_barriers_decimate_by(const f_array_length_t amount, f_thread_barriers_t * const barriers) {
+ f_status_t f_thread_barriers_decimate_by(const f_number_unsigned_t amount, f_thread_barriers_t * const barriers) {
#ifndef _di_level_0_parameter_checking_
if (!barriers) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_barriers_decimate_by_
#ifndef _di_f_thread_barriers_decrease_by_
- f_status_t f_thread_barriers_decrease_by(const f_array_length_t amount, f_thread_barriers_t * const barriers) {
+ f_status_t f_thread_barriers_decrease_by(const f_number_unsigned_t amount, f_thread_barriers_t * const barriers) {
#ifndef _di_level_0_parameter_checking_
if (!barriers) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_barriers_decrease_by_
#ifndef _di_f_thread_barriers_increase_
- f_status_t f_thread_barriers_increase(const f_array_length_t step, f_thread_barriers_t * const barriers) {
+ f_status_t f_thread_barriers_increase(const f_number_unsigned_t step, f_thread_barriers_t * const barriers) {
#ifndef _di_level_0_parameter_checking_
if (!barriers) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && barriers->used + 1 > barriers->size) {
- f_array_length_t size = barriers->used + step;
+ f_number_unsigned_t size = barriers->used + step;
- if (size > F_array_length_t_size_d) {
- if (barriers->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (barriers->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_barriers_resize(size, barriers);
#endif // _di_f_thread_barriers_increase_
#ifndef _di_f_thread_barriers_increase_by_
- f_status_t f_thread_barriers_increase_by(const f_array_length_t amount, f_thread_barriers_t * const barriers) {
+ f_status_t f_thread_barriers_increase_by(const f_number_unsigned_t amount, f_thread_barriers_t * const barriers) {
#ifndef _di_level_0_parameter_checking_
if (!barriers) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (barriers->used + amount > barriers->size) {
- if (barriers->used + amount > F_array_length_t_size_d) {
+ if (barriers->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_barriers_increase_by_
#ifndef _di_f_thread_barriers_resize_
- f_status_t f_thread_barriers_resize(const f_array_length_t length, f_thread_barriers_t * const barriers) {
+ f_status_t f_thread_barriers_resize(const f_number_unsigned_t length, f_thread_barriers_t * const barriers) {
#ifndef _di_level_0_parameter_checking_
if (!barriers) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_barrier_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_barriers_t;
#define f_thread_barriers_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barriers_adjust_
- extern f_status_t f_thread_barriers_adjust(const f_array_length_t length, f_thread_barriers_t * const barriers);
+ extern f_status_t f_thread_barriers_adjust(const f_number_unsigned_t length, f_thread_barriers_t * const barriers);
#endif // _di_f_thread_barriers_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barriers_decimate_by_
- extern f_status_t f_thread_barriers_decimate_by(const f_array_length_t amount, f_thread_barriers_t * const barriers);
+ extern f_status_t f_thread_barriers_decimate_by(const f_number_unsigned_t amount, f_thread_barriers_t * const barriers);
#endif // _di_f_thread_barriers_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barriers_decrease_by_
- extern f_status_t f_thread_barriers_decrease_by(const f_array_length_t amount, f_thread_barriers_t * const barriers);
+ extern f_status_t f_thread_barriers_decrease_by(const f_number_unsigned_t amount, f_thread_barriers_t * const barriers);
#endif // _di_f_thread_barriers_decrease_by_
/**
* Increase the size of the thread barriers array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barriers_increase_
- extern f_status_t f_thread_barriers_increase(const f_array_length_t step, f_thread_barriers_t * const barriers);
+ extern f_status_t f_thread_barriers_increase(const f_number_unsigned_t step, f_thread_barriers_t * const barriers);
#endif // _di_f_thread_barriers_increase_
/**
* Resize the thread barriers array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barriers_increase_by_
- extern f_status_t f_thread_barriers_increase_by(const f_array_length_t amount, f_thread_barriers_t * const barriers);
+ extern f_status_t f_thread_barriers_increase_by(const f_number_unsigned_t amount, f_thread_barriers_t * const barriers);
#endif // _di_f_thread_barriers_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barriers_resize_
- extern f_status_t f_thread_barriers_resize(const f_array_length_t length, f_thread_barriers_t * const barriers);
+ extern f_status_t f_thread_barriers_resize(const f_number_unsigned_t length, f_thread_barriers_t * const barriers);
#endif // _di_f_thread_barriers_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_barrier_attributes_adjust_
- f_status_t f_thread_barrier_attributes_adjust(const f_array_length_t length, f_thread_barrier_attributes_t * const attributes) {
+ f_status_t f_thread_barrier_attributes_adjust(const f_number_unsigned_t length, f_thread_barrier_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_barrier_attributes_adjust_
#ifndef _di_f_thread_barrier_attributes_decimate_by_
- f_status_t f_thread_barrier_attributes_decimate_by(const f_array_length_t amount, f_thread_barrier_attributes_t * const attributes) {
+ f_status_t f_thread_barrier_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_barrier_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_barrier_attributes_decimate_by_
#ifndef _di_f_thread_barrier_attributes_decrease_by_
- f_status_t f_thread_barrier_attributes_decrease_by(const f_array_length_t amount, f_thread_barrier_attributes_t * const attributes) {
+ f_status_t f_thread_barrier_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_barrier_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_barrier_attributes_decrease_by_
#ifndef _di_f_thread_barrier_attributes_increase_
- f_status_t f_thread_barrier_attributes_increase(const f_array_length_t step, f_thread_barrier_attributes_t * const attributes) {
+ f_status_t f_thread_barrier_attributes_increase(const f_number_unsigned_t step, f_thread_barrier_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && attributes->used + 1 > attributes->size) {
- f_array_length_t size = attributes->used + step;
+ f_number_unsigned_t size = attributes->used + step;
- if (size > F_array_length_t_size_d) {
- if (attributes->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (attributes->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_barrier_attributes_resize(size, attributes);
#endif // _di_f_thread_barrier_attributes_increase_
#ifndef _di_f_thread_barrier_attributes_increase_by_
- f_status_t f_thread_barrier_attributes_increase_by(const f_array_length_t amount, f_thread_barrier_attributes_t * const attributes) {
+ f_status_t f_thread_barrier_attributes_increase_by(const f_number_unsigned_t amount, f_thread_barrier_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (attributes->used + amount > attributes->size) {
- if (attributes->used + amount > F_array_length_t_size_d) {
+ if (attributes->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_barrier_attributes_increase_by_
#ifndef _di_f_thread_barrier_attributes_resize_
- f_status_t f_thread_barrier_attributes_resize(const f_array_length_t length, f_thread_barrier_attributes_t * const attributes) {
+ f_status_t f_thread_barrier_attributes_resize(const f_number_unsigned_t length, f_thread_barrier_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_barrier_attribute_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_barrier_attributes_t;
#define f_thread_barrier_attributes_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barrier_attributes_adjust_
- extern f_status_t f_thread_barrier_attributes_adjust(const f_array_length_t length, f_thread_barrier_attributes_t * const attributes);
+ extern f_status_t f_thread_barrier_attributes_adjust(const f_number_unsigned_t length, f_thread_barrier_attributes_t * const attributes);
#endif // _di_f_thread_barrier_attributes_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barrier_attributes_decimate_by_
- extern f_status_t f_thread_barrier_attributes_decimate_by(const f_array_length_t amount, f_thread_barrier_attributes_t * const attributes);
+ extern f_status_t f_thread_barrier_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_barrier_attributes_t * const attributes);
#endif // _di_f_thread_barrier_attributes_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barrier_attributes_decrease_by_
- extern f_status_t f_thread_barrier_attributes_decrease_by(const f_array_length_t amount, f_thread_barrier_attributes_t * const attributes);
+ extern f_status_t f_thread_barrier_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_barrier_attributes_t * const attributes);
#endif // _di_f_thread_barrier_attributes_decrease_by_
/**
* Increase the size of the thread barrier attributes array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barrier_attributes_increase_
- extern f_status_t f_thread_barrier_attributes_increase(const f_array_length_t step, f_thread_barrier_attributes_t * const attributes);
+ extern f_status_t f_thread_barrier_attributes_increase(const f_number_unsigned_t step, f_thread_barrier_attributes_t * const attributes);
#endif // _di_f_thread_barrier_attributes_increase_
/**
* Resize the thread barrier attributes array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barrier_attributes_increase_by_
- extern f_status_t f_thread_barrier_attributes_increase_by(const f_array_length_t amount, f_thread_barrier_attributes_t * const attributes);
+ extern f_status_t f_thread_barrier_attributes_increase_by(const f_number_unsigned_t amount, f_thread_barrier_attributes_t * const attributes);
#endif // _di_f_thread_barrier_attributes_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_barrier_attributes_resize_
- extern f_status_t f_thread_barrier_attributes_resize(const f_array_length_t length, f_thread_barrier_attributes_t * const attributes);
+ extern f_status_t f_thread_barrier_attributes_resize(const f_number_unsigned_t length, f_thread_barrier_attributes_t * const attributes);
#endif // _di_f_thread_barrier_attributes_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_conditions_adjust_
- f_status_t f_thread_conditions_adjust(const f_array_length_t length, f_thread_conditions_t * const conditions) {
+ f_status_t f_thread_conditions_adjust(const f_number_unsigned_t length, f_thread_conditions_t * const conditions) {
#ifndef _di_level_0_parameter_checking_
if (!conditions) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_conditions_adjust_
#ifndef _di_f_thread_conditions_decimate_by_
- f_status_t f_thread_conditions_decimate_by(const f_array_length_t amount, f_thread_conditions_t * const conditions) {
+ f_status_t f_thread_conditions_decimate_by(const f_number_unsigned_t amount, f_thread_conditions_t * const conditions) {
#ifndef _di_level_0_parameter_checking_
if (!conditions) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_conditions_decimate_by_
#ifndef _di_f_thread_conditions_decrease_by_
- f_status_t f_thread_conditions_decrease_by(const f_array_length_t amount, f_thread_conditions_t * const conditions) {
+ f_status_t f_thread_conditions_decrease_by(const f_number_unsigned_t amount, f_thread_conditions_t * const conditions) {
#ifndef _di_level_0_parameter_checking_
if (!conditions) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_conditions_decrease_by_
#ifndef _di_f_thread_conditions_increase_
- f_status_t f_thread_conditions_increase(const f_array_length_t step, f_thread_conditions_t * const conditions) {
+ f_status_t f_thread_conditions_increase(const f_number_unsigned_t step, f_thread_conditions_t * const conditions) {
#ifndef _di_level_0_parameter_checking_
if (!conditions) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && conditions->used + 1 > conditions->size) {
- f_array_length_t size = conditions->used + step;
+ f_number_unsigned_t size = conditions->used + step;
- if (size > F_array_length_t_size_d) {
- if (conditions->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (conditions->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_conditions_resize(size, conditions);
#endif // _di_f_thread_conditions_increase_
#ifndef _di_f_thread_conditions_increase_by_
- f_status_t f_thread_conditions_increase_by(const f_array_length_t amount, f_thread_conditions_t * const conditions) {
+ f_status_t f_thread_conditions_increase_by(const f_number_unsigned_t amount, f_thread_conditions_t * const conditions) {
#ifndef _di_level_0_parameter_checking_
if (!conditions) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (conditions->used + amount > conditions->size) {
- if (conditions->used + amount > F_array_length_t_size_d) {
+ if (conditions->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_conditions_increase_by_
#ifndef _di_f_thread_conditions_resize_
- f_status_t f_thread_conditions_resize(const f_array_length_t length, f_thread_conditions_t * const conditions) {
+ f_status_t f_thread_conditions_resize(const f_number_unsigned_t length, f_thread_conditions_t * const conditions) {
#ifndef _di_level_0_parameter_checking_
if (!conditions) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_condition_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_conditions_t;
#define f_thread_conditions_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_conditions_adjust_
- extern f_status_t f_thread_conditions_adjust(const f_array_length_t length, f_thread_conditions_t * const conditions);
+ extern f_status_t f_thread_conditions_adjust(const f_number_unsigned_t length, f_thread_conditions_t * const conditions);
#endif // _di_f_thread_conditions_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_conditions_decimate_by_
- extern f_status_t f_thread_conditions_decimate_by(const f_array_length_t amount, f_thread_conditions_t * const conditions);
+ extern f_status_t f_thread_conditions_decimate_by(const f_number_unsigned_t amount, f_thread_conditions_t * const conditions);
#endif // _di_f_thread_conditions_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_conditions_decrease_by_
- extern f_status_t f_thread_conditions_decrease_by(const f_array_length_t amount, f_thread_conditions_t * const conditions);
+ extern f_status_t f_thread_conditions_decrease_by(const f_number_unsigned_t amount, f_thread_conditions_t * const conditions);
#endif // _di_f_thread_conditions_decrease_by_
/**
* Increase the size of the thread conditions array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_conditions_increase_
- extern f_status_t f_thread_conditions_increase(const f_array_length_t step, f_thread_conditions_t * const conditions);
+ extern f_status_t f_thread_conditions_increase(const f_number_unsigned_t step, f_thread_conditions_t * const conditions);
#endif // _di_f_thread_conditions_increase_
/**
* Resize the thread conditions array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_conditions_increase_by_
- extern f_status_t f_thread_conditions_increase_by(const f_array_length_t amount, f_thread_conditions_t * const conditions);
+ extern f_status_t f_thread_conditions_increase_by(const f_number_unsigned_t amount, f_thread_conditions_t * const conditions);
#endif // _di_f_thread_conditions_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_conditions_resize_
- extern f_status_t f_thread_conditions_resize(const f_array_length_t length, f_thread_conditions_t * const conditions);
+ extern f_status_t f_thread_conditions_resize(const f_number_unsigned_t length, f_thread_conditions_t * const conditions);
#endif // _di_f_thread_conditions_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_condition_attributes_adjust_
- f_status_t f_thread_condition_attributes_adjust(const f_array_length_t length, f_thread_condition_attributes_t * const attributes) {
+ f_status_t f_thread_condition_attributes_adjust(const f_number_unsigned_t length, f_thread_condition_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_condition_attributes_adjust_
#ifndef _di_f_thread_condition_attributes_decimate_by_
- f_status_t f_thread_condition_attributes_decimate_by(const f_array_length_t amount, f_thread_condition_attributes_t * const attributes) {
+ f_status_t f_thread_condition_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_condition_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_condition_attributes_decimate_by_
#ifndef _di_f_thread_condition_attributes_decrease_by_
- f_status_t f_thread_condition_attributes_decrease_by(const f_array_length_t amount, f_thread_condition_attributes_t * const attributes) {
+ f_status_t f_thread_condition_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_condition_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_condition_attributes_decrease_by_
#ifndef _di_f_thread_condition_attributes_increase_
- f_status_t f_thread_condition_attributes_increase(const f_array_length_t step, f_thread_condition_attributes_t * const attributes) {
+ f_status_t f_thread_condition_attributes_increase(const f_number_unsigned_t step, f_thread_condition_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && attributes->used + 1 > attributes->size) {
- f_array_length_t size = attributes->used + step;
+ f_number_unsigned_t size = attributes->used + step;
- if (size > F_array_length_t_size_d) {
- if (attributes->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (attributes->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_condition_attributes_resize(size, attributes);
#endif // _di_f_thread_condition_attributes_increase_
#ifndef _di_f_thread_condition_attributes_increase_by_
- f_status_t f_thread_condition_attributes_increase_by(const f_array_length_t amount, f_thread_condition_attributes_t * const attributes) {
+ f_status_t f_thread_condition_attributes_increase_by(const f_number_unsigned_t amount, f_thread_condition_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (attributes->used + amount > attributes->size) {
- if (attributes->used + amount > F_array_length_t_size_d) {
+ if (attributes->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_condition_attributes_increase_by_
#ifndef _di_f_thread_condition_attributes_resize_
- f_status_t f_thread_condition_attributes_resize(const f_array_length_t length, f_thread_condition_attributes_t * const attributes) {
+ f_status_t f_thread_condition_attributes_resize(const f_number_unsigned_t length, f_thread_condition_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_condition_attribute_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_condition_attributes_t;
#define f_thread_condition_attributes_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_condition_attributes_adjust_
- extern f_status_t f_thread_condition_attributes_adjust(const f_array_length_t length, f_thread_condition_attributes_t * const attributes);
+ extern f_status_t f_thread_condition_attributes_adjust(const f_number_unsigned_t length, f_thread_condition_attributes_t * const attributes);
#endif // _di_f_thread_condition_attributes_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_condition_attributes_decimate_by_
- extern f_status_t f_thread_condition_attributes_decimate_by(const f_array_length_t amount, f_thread_condition_attributes_t * const attributes);
+ extern f_status_t f_thread_condition_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_condition_attributes_t * const attributes);
#endif // _di_f_thread_condition_attributes_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_condition_attributes_decrease_by_
- extern f_status_t f_thread_condition_attributes_decrease_by(const f_array_length_t amount, f_thread_condition_attributes_t * const attributes);
+ extern f_status_t f_thread_condition_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_condition_attributes_t * const attributes);
#endif // _di_f_thread_condition_attributes_decrease_by_
/**
* Increase the size of the thread attributes array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_condition_attributes_increase_
- extern f_status_t f_thread_condition_attributes_increase(const f_array_length_t step, f_thread_condition_attributes_t * const attributes);
+ extern f_status_t f_thread_condition_attributes_increase(const f_number_unsigned_t step, f_thread_condition_attributes_t * const attributes);
#endif // _di_f_thread_condition_attributes_increase_
/**
* Resize the thread attributes array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_condition_attributes_increase_by_
- extern f_status_t f_thread_condition_attributes_increase_by(const f_array_length_t amount, f_thread_condition_attributes_t * const attributes);
+ extern f_status_t f_thread_condition_attributes_increase_by(const f_number_unsigned_t amount, f_thread_condition_attributes_t * const attributes);
#endif // _di_f_thread_condition_attributes_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_condition_attributes_resize_
- extern f_status_t f_thread_condition_attributes_resize(const f_array_length_t length, f_thread_condition_attributes_t * const attributes);
+ extern f_status_t f_thread_condition_attributes_resize(const f_number_unsigned_t length, f_thread_condition_attributes_t * const attributes);
#endif // _di_f_thread_condition_attributes_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_ids_adjust_
- f_status_t f_thread_ids_adjust(const f_array_length_t length, f_thread_ids_t * const ids) {
+ f_status_t f_thread_ids_adjust(const f_number_unsigned_t length, f_thread_ids_t * const ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_ids_adjust_
#ifndef _di_f_thread_ids_decimate_by_
- f_status_t f_thread_ids_decimate_by(const f_array_length_t amount, f_thread_ids_t * const ids) {
+ f_status_t f_thread_ids_decimate_by(const f_number_unsigned_t amount, f_thread_ids_t * const ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_ids_decimate_by_
#ifndef _di_f_thread_ids_decrease_by_
- f_status_t f_thread_ids_decrease_by(const f_array_length_t amount, f_thread_ids_t * const ids) {
+ f_status_t f_thread_ids_decrease_by(const f_number_unsigned_t amount, f_thread_ids_t * const ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_ids_decrease_by_
#ifndef _di_f_thread_ids_increase_
- f_status_t f_thread_ids_increase(const f_array_length_t step, f_thread_ids_t * const ids) {
+ f_status_t f_thread_ids_increase(const f_number_unsigned_t step, f_thread_ids_t * const ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && ids->used + 1 > ids->size) {
- f_array_length_t size = ids->used + step;
+ f_number_unsigned_t size = ids->used + step;
- if (size > F_array_length_t_size_d) {
- if (ids->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (ids->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_ids_resize(size, ids);
#endif // _di_f_thread_ids_increase_
#ifndef _di_f_thread_ids_increase_by_
- f_status_t f_thread_ids_increase_by(const f_array_length_t amount, f_thread_ids_t * const ids) {
+ f_status_t f_thread_ids_increase_by(const f_number_unsigned_t amount, f_thread_ids_t * const ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (ids->used + amount > ids->size) {
- if (ids->used + amount > F_array_length_t_size_d) {
+ if (ids->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_ids_increase_by_
#ifndef _di_f_thread_ids_resize_
- f_status_t f_thread_ids_resize(const f_array_length_t length, f_thread_ids_t * const ids) {
+ f_status_t f_thread_ids_resize(const f_number_unsigned_t length, f_thread_ids_t * const ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_id_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_ids_t;
#define f_thread_ids_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_ids_adjust_
- extern f_status_t f_thread_ids_adjust(const f_array_length_t length, f_thread_ids_t * const ids);
+ extern f_status_t f_thread_ids_adjust(const f_number_unsigned_t length, f_thread_ids_t * const ids);
#endif // _di_f_thread_ids_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_ids_decimate_by_
- extern f_status_t f_thread_ids_decimate_by(const f_array_length_t amount, f_thread_ids_t * const ids);
+ extern f_status_t f_thread_ids_decimate_by(const f_number_unsigned_t amount, f_thread_ids_t * const ids);
#endif // _di_f_thread_ids_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_ids_decrease_by_
- extern f_status_t f_thread_ids_decrease_by(const f_array_length_t amount, f_thread_ids_t * const ids);
+ extern f_status_t f_thread_ids_decrease_by(const f_number_unsigned_t amount, f_thread_ids_t * const ids);
#endif // _di_f_thread_ids_decrease_by_
/**
* Increase the size of the thread ids array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_ids_increase_
- extern f_status_t f_thread_ids_increase(const f_array_length_t step, f_thread_ids_t * const ids);
+ extern f_status_t f_thread_ids_increase(const f_number_unsigned_t step, f_thread_ids_t * const ids);
#endif // _di_f_thread_ids_increase_
/**
* Resize the thread ids array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_ids_increase_by_
- extern f_status_t f_thread_ids_increase_by(const f_array_length_t amount, f_thread_ids_t * const ids);
+ extern f_status_t f_thread_ids_increase_by(const f_number_unsigned_t amount, f_thread_ids_t * const ids);
#endif // _di_f_thread_ids_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_ids_resize_
- extern f_status_t f_thread_ids_resize(const f_array_length_t length, f_thread_ids_t * const ids);
+ extern f_status_t f_thread_ids_resize(const f_number_unsigned_t length, f_thread_ids_t * const ids);
#endif // _di_f_thread_ids_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_keys_adjust_
- f_status_t f_thread_keys_adjust(const f_array_length_t length, f_thread_keys_t * const keys) {
+ f_status_t f_thread_keys_adjust(const f_number_unsigned_t length, f_thread_keys_t * const keys) {
#ifndef _di_level_0_parameter_checking_
if (!keys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_keys_adjust_
#ifndef _di_f_thread_keys_decimate_by_
- f_status_t f_thread_keys_decimate_by(const f_array_length_t amount, f_thread_keys_t * const keys) {
+ f_status_t f_thread_keys_decimate_by(const f_number_unsigned_t amount, f_thread_keys_t * const keys) {
#ifndef _di_level_0_parameter_checking_
if (!keys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_keys_decimate_by_
#ifndef _di_f_thread_keys_decrease_by_
- f_status_t f_thread_keys_decrease_by(const f_array_length_t amount, f_thread_keys_t * const keys) {
+ f_status_t f_thread_keys_decrease_by(const f_number_unsigned_t amount, f_thread_keys_t * const keys) {
#ifndef _di_level_0_parameter_checking_
if (!keys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_keys_decrease_by_
#ifndef _di_f_thread_keys_increase_
- f_status_t f_thread_keys_increase(const f_array_length_t step, f_thread_keys_t * const keys) {
+ f_status_t f_thread_keys_increase(const f_number_unsigned_t step, f_thread_keys_t * const keys) {
#ifndef _di_level_0_parameter_checking_
if (!keys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && keys->used + 1 > keys->size) {
- f_array_length_t size = keys->used + step;
+ f_number_unsigned_t size = keys->used + step;
- if (size > F_array_length_t_size_d) {
- if (keys->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (keys->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_keys_resize(size, keys);
#endif // _di_f_thread_keys_increase_
#ifndef _di_f_thread_keys_increase_by_
- f_status_t f_thread_keys_increase_by(const f_array_length_t amount, f_thread_keys_t * const keys) {
+ f_status_t f_thread_keys_increase_by(const f_number_unsigned_t amount, f_thread_keys_t * const keys) {
#ifndef _di_level_0_parameter_checking_
if (!keys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (keys->used + amount > keys->size) {
- if (keys->used + amount > F_array_length_t_size_d) {
+ if (keys->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_keys_increase_by_
#ifndef _di_f_thread_keys_resize_
- f_status_t f_thread_keys_resize(const f_array_length_t length, f_thread_keys_t * const keys) {
+ f_status_t f_thread_keys_resize(const f_number_unsigned_t length, f_thread_keys_t * const keys) {
#ifndef _di_level_0_parameter_checking_
if (!keys) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_key_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_keys_t;
#define f_thread_keys_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_keys_adjust_
- extern f_status_t f_thread_keys_adjust(const f_array_length_t length, f_thread_keys_t * const keys);
+ extern f_status_t f_thread_keys_adjust(const f_number_unsigned_t length, f_thread_keys_t * const keys);
#endif // _di_f_thread_keys_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_keys_decimate_by_
- extern f_status_t f_thread_keys_decimate_by(const f_array_length_t amount, f_thread_keys_t * const keys);
+ extern f_status_t f_thread_keys_decimate_by(const f_number_unsigned_t amount, f_thread_keys_t * const keys);
#endif // _di_f_thread_keys_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_keys_decrease_by_
- extern f_status_t f_thread_keys_decrease_by(const f_array_length_t amount, f_thread_keys_t * const keys);
+ extern f_status_t f_thread_keys_decrease_by(const f_number_unsigned_t amount, f_thread_keys_t * const keys);
#endif // _di_f_thread_keys_decrease_by_
/**
* Increase the size of the thread keys array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_keys_increase_
- extern f_status_t f_thread_keys_increase(const f_array_length_t step, f_thread_keys_t * const keys);
+ extern f_status_t f_thread_keys_increase(const f_number_unsigned_t step, f_thread_keys_t * const keys);
#endif // _di_f_thread_keys_increase_
/**
* Resize the thread keys array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_keys_increase_by_
- extern f_status_t f_thread_keys_increase_by(const f_array_length_t amount, f_thread_keys_t * const keys);
+ extern f_status_t f_thread_keys_increase_by(const f_number_unsigned_t amount, f_thread_keys_t * const keys);
#endif // _di_f_thread_keys_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_keys_resize_
- extern f_status_t f_thread_keys_resize(const f_array_length_t length, f_thread_keys_t * const keys);
+ extern f_status_t f_thread_keys_resize(const f_number_unsigned_t length, f_thread_keys_t * const keys);
#endif // _di_f_thread_keys_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_locks_adjust_
- f_status_t f_thread_locks_adjust(const f_array_length_t length, f_thread_locks_t * const locks) {
+ f_status_t f_thread_locks_adjust(const f_number_unsigned_t length, f_thread_locks_t * const locks) {
#ifndef _di_level_0_parameter_checking_
if (!locks) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_locks_adjust_
#ifndef _di_f_thread_locks_decimate_by_
- f_status_t f_thread_locks_decimate_by(const f_array_length_t amount, f_thread_locks_t * const locks) {
+ f_status_t f_thread_locks_decimate_by(const f_number_unsigned_t amount, f_thread_locks_t * const locks) {
#ifndef _di_level_0_parameter_checking_
if (!locks) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_locks_decimate_by_
#ifndef _di_f_thread_locks_decrease_by_
- f_status_t f_thread_locks_decrease_by(const f_array_length_t amount, f_thread_locks_t * const locks) {
+ f_status_t f_thread_locks_decrease_by(const f_number_unsigned_t amount, f_thread_locks_t * const locks) {
#ifndef _di_level_0_parameter_checking_
if (!locks) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_locks_decrease_by_
#ifndef _di_f_thread_locks_increase_
- f_status_t f_thread_locks_increase(const f_array_length_t step, f_thread_locks_t * const locks) {
+ f_status_t f_thread_locks_increase(const f_number_unsigned_t step, f_thread_locks_t * const locks) {
#ifndef _di_level_0_parameter_checking_
if (!locks) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && locks->used + 1 > locks->size) {
- f_array_length_t size = locks->used + step;
+ f_number_unsigned_t size = locks->used + step;
- if (size > F_array_length_t_size_d) {
- if (locks->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (locks->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_locks_resize(size, locks);
#endif // _di_f_thread_locks_increase_
#ifndef _di_f_thread_locks_increase_by_
- f_status_t f_thread_locks_increase_by(const f_array_length_t amount, f_thread_locks_t * const locks) {
+ f_status_t f_thread_locks_increase_by(const f_number_unsigned_t amount, f_thread_locks_t * const locks) {
#ifndef _di_level_0_parameter_checking_
if (!locks) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (locks->used + amount > locks->size) {
- if (locks->used + amount > F_array_length_t_size_d) {
+ if (locks->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_locks_increase_by_
#ifndef _di_f_thread_locks_resize_
- f_status_t f_thread_locks_resize(const f_array_length_t length, f_thread_locks_t * const locks) {
+ f_status_t f_thread_locks_resize(const f_number_unsigned_t length, f_thread_locks_t * const locks) {
#ifndef _di_level_0_parameter_checking_
if (!locks) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_lock_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_locks_t;
#define f_thread_locks_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_locks_adjust_
- extern f_status_t f_thread_locks_adjust(const f_array_length_t length, f_thread_locks_t * const locks);
+ extern f_status_t f_thread_locks_adjust(const f_number_unsigned_t length, f_thread_locks_t * const locks);
#endif // _di_f_thread_locks_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_locks_decimate_by_
- extern f_status_t f_thread_locks_decimate_by(const f_array_length_t amount, f_thread_locks_t * const locks);
+ extern f_status_t f_thread_locks_decimate_by(const f_number_unsigned_t amount, f_thread_locks_t * const locks);
#endif // _di_f_thread_locks_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_locks_decrease_by_
- extern f_status_t f_thread_locks_decrease_by(const f_array_length_t amount, f_thread_locks_t * const locks);
+ extern f_status_t f_thread_locks_decrease_by(const f_number_unsigned_t amount, f_thread_locks_t * const locks);
#endif // _di_f_thread_locks_decrease_by_
/**
* Increase the size of the read/write array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_locks_increase_
- extern f_status_t f_thread_locks_increase(const f_array_length_t step, f_thread_locks_t * const locks);
+ extern f_status_t f_thread_locks_increase(const f_number_unsigned_t step, f_thread_locks_t * const locks);
#endif // _di_f_thread_locks_increase_
/**
* Resize the read/write locks array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_locks_increase_by_
- extern f_status_t f_thread_locks_increase_by(const f_array_length_t amount, f_thread_locks_t * const locks);
+ extern f_status_t f_thread_locks_increase_by(const f_number_unsigned_t amount, f_thread_locks_t * const locks);
#endif // _di_f_thread_locks_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_locks_resize_
- extern f_status_t f_thread_locks_resize(const f_array_length_t length, f_thread_locks_t * const locks);
+ extern f_status_t f_thread_locks_resize(const f_number_unsigned_t length, f_thread_locks_t * const locks);
#endif // _di_f_thread_locks_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_lock_attributes_adjust_
- f_status_t f_thread_lock_attributes_adjust(const f_array_length_t length, f_thread_lock_attributes_t * const attributes) {
+ f_status_t f_thread_lock_attributes_adjust(const f_number_unsigned_t length, f_thread_lock_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_lock_attributes_adjust_
#ifndef _di_f_thread_lock_attributes_decimate_by_
- f_status_t f_thread_lock_attributes_decimate_by(const f_array_length_t amount, f_thread_lock_attributes_t * const attributes) {
+ f_status_t f_thread_lock_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_lock_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_lock_attributes_decimate_by_
#ifndef _di_f_thread_lock_attributes_decrease_by_
- f_status_t f_thread_lock_attributes_decrease_by(const f_array_length_t amount, f_thread_lock_attributes_t * const attributes) {
+ f_status_t f_thread_lock_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_lock_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_lock_attributes_decrease_by_
#ifndef _di_f_thread_lock_attributes_increase_
- f_status_t f_thread_lock_attributes_increase(const f_array_length_t step, f_thread_lock_attributes_t * const attributes) {
+ f_status_t f_thread_lock_attributes_increase(const f_number_unsigned_t step, f_thread_lock_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && attributes->used + 1 > attributes->size) {
- f_array_length_t size = attributes->used + step;
+ f_number_unsigned_t size = attributes->used + step;
- if (size > F_array_length_t_size_d) {
- if (attributes->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (attributes->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_lock_attributes_resize(size, attributes);
#endif // _di_f_thread_lock_attributes_increase_
#ifndef _di_f_thread_lock_attributes_increase_by_
- f_status_t f_thread_lock_attributes_increase_by(const f_array_length_t amount, f_thread_lock_attributes_t * const attributes) {
+ f_status_t f_thread_lock_attributes_increase_by(const f_number_unsigned_t amount, f_thread_lock_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (attributes->used + amount > attributes->size) {
- if (attributes->used + amount > F_array_length_t_size_d) {
+ if (attributes->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_lock_attributes_increase_by_
#ifndef _di_f_thread_lock_attributes_resize_
- f_status_t f_thread_lock_attributes_resize(const f_array_length_t length, f_thread_lock_attributes_t * const attributes) {
+ f_status_t f_thread_lock_attributes_resize(const f_number_unsigned_t length, f_thread_lock_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_lock_attribute_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_lock_attributes_t;
#define f_thread_lock_attributes_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_lock_attributes_adjust_
- extern f_status_t f_thread_lock_attributes_adjust(const f_array_length_t length, f_thread_lock_attributes_t * const attributes);
+ extern f_status_t f_thread_lock_attributes_adjust(const f_number_unsigned_t length, f_thread_lock_attributes_t * const attributes);
#endif // _di_f_thread_lock_attributes_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_lock_attributes_decimate_by_
- extern f_status_t f_thread_lock_attributes_decimate_by(const f_array_length_t amount, f_thread_lock_attributes_t * const attributes);
+ extern f_status_t f_thread_lock_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_lock_attributes_t * const attributes);
#endif // _di_f_thread_lock_attributes_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_lock_attributes_decrease_by_
- extern f_status_t f_thread_lock_attributes_decrease_by(const f_array_length_t amount, f_thread_lock_attributes_t * const attributes);
+ extern f_status_t f_thread_lock_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_lock_attributes_t * const attributes);
#endif // _di_f_thread_lock_attributes_decrease_by_
/**
* Increase the size of the thread attributes array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_lock_attributes_increase_
- extern f_status_t f_thread_lock_attributes_increase(const f_array_length_t step, f_thread_lock_attributes_t * const attributes);
+ extern f_status_t f_thread_lock_attributes_increase(const f_number_unsigned_t step, f_thread_lock_attributes_t * const attributes);
#endif // _di_f_thread_lock_attributes_increase_
/**
* Resize the thread attributes array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_lock_attributes_increase_by_
- extern f_status_t f_thread_lock_attributes_increase_by(const f_array_length_t amount, f_thread_lock_attributes_t * const attributes);
+ extern f_status_t f_thread_lock_attributes_increase_by(const f_number_unsigned_t amount, f_thread_lock_attributes_t * const attributes);
#endif // _di_f_thread_lock_attributes_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_lock_attributes_resize_
- extern f_status_t f_thread_lock_attributes_resize(const f_array_length_t length, f_thread_lock_attributes_t * const attributes);
+ extern f_status_t f_thread_lock_attributes_resize(const f_number_unsigned_t length, f_thread_lock_attributes_t * const attributes);
#endif // _di_f_thread_lock_attributes_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_mutexs_adjust_
- f_status_t f_thread_mutexs_adjust(const f_array_length_t length, f_thread_mutexs_t * const mutexs) {
+ f_status_t f_thread_mutexs_adjust(const f_number_unsigned_t length, f_thread_mutexs_t * const mutexs) {
#ifndef _di_level_0_parameter_checking_
if (!mutexs) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_mutexs_adjust_
#ifndef _di_f_thread_mutexs_decimate_by_
- f_status_t f_thread_mutexs_decimate_by(const f_array_length_t amount, f_thread_mutexs_t * const mutexs) {
+ f_status_t f_thread_mutexs_decimate_by(const f_number_unsigned_t amount, f_thread_mutexs_t * const mutexs) {
#ifndef _di_level_0_parameter_checking_
if (!mutexs) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_mutexs_decimate_by_
#ifndef _di_f_thread_mutexs_decrease_by_
- f_status_t f_thread_mutexs_decrease_by(const f_array_length_t amount, f_thread_mutexs_t * const mutexs) {
+ f_status_t f_thread_mutexs_decrease_by(const f_number_unsigned_t amount, f_thread_mutexs_t * const mutexs) {
#ifndef _di_level_0_parameter_checking_
if (!mutexs) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_mutexs_decrease_by_
#ifndef _di_f_thread_mutexs_increase_
- f_status_t f_thread_mutexs_increase(const f_array_length_t step, f_thread_mutexs_t * const mutexs) {
+ f_status_t f_thread_mutexs_increase(const f_number_unsigned_t step, f_thread_mutexs_t * const mutexs) {
#ifndef _di_level_0_parameter_checking_
if (!mutexs) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && mutexs->used + 1 > mutexs->size) {
- f_array_length_t size = mutexs->used + step;
+ f_number_unsigned_t size = mutexs->used + step;
- if (size > F_array_length_t_size_d) {
- if (mutexs->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (mutexs->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_mutexs_resize(size, mutexs);
#endif // _di_f_thread_mutexs_increase_
#ifndef _di_f_thread_mutexs_increase_by_
- f_status_t f_thread_mutexs_increase_by(const f_array_length_t amount, f_thread_mutexs_t * const mutexs) {
+ f_status_t f_thread_mutexs_increase_by(const f_number_unsigned_t amount, f_thread_mutexs_t * const mutexs) {
#ifndef _di_level_0_parameter_checking_
if (!mutexs) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (mutexs->used + amount > mutexs->size) {
- if (mutexs->used + amount > F_array_length_t_size_d) {
+ if (mutexs->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_mutexs_increase_by_
#ifndef _di_f_thread_mutexs_resize_
- f_status_t f_thread_mutexs_resize(const f_array_length_t length, f_thread_mutexs_t * const mutexs) {
+ f_status_t f_thread_mutexs_resize(const f_number_unsigned_t length, f_thread_mutexs_t * const mutexs) {
#ifndef _di_level_0_parameter_checking_
if (!mutexs) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_mutex_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_mutexs_t;
#define f_thread_mutexs_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutexs_adjust_
- extern f_status_t f_thread_mutexs_adjust(const f_array_length_t length, f_thread_mutexs_t * const mutexs);
+ extern f_status_t f_thread_mutexs_adjust(const f_number_unsigned_t length, f_thread_mutexs_t * const mutexs);
#endif // _di_f_thread_mutexs_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutexs_decimate_by_
- extern f_status_t f_thread_mutexs_decimate_by(const f_array_length_t amount, f_thread_mutexs_t * const mutexs);
+ extern f_status_t f_thread_mutexs_decimate_by(const f_number_unsigned_t amount, f_thread_mutexs_t * const mutexs);
#endif // _di_f_thread_mutexs_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutexs_decrease_by_
- extern f_status_t f_thread_mutexs_decrease_by(const f_array_length_t amount, f_thread_mutexs_t * const mutexs);
+ extern f_status_t f_thread_mutexs_decrease_by(const f_number_unsigned_t amount, f_thread_mutexs_t * const mutexs);
#endif // _di_f_thread_mutexs_decrease_by_
/**
* Increase the size of the thread mutexs array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutexs_increase_
- extern f_status_t f_thread_mutexs_increase(const f_array_length_t step, f_thread_mutexs_t * const mutexs);
+ extern f_status_t f_thread_mutexs_increase(const f_number_unsigned_t step, f_thread_mutexs_t * const mutexs);
#endif // _di_f_thread_mutexs_increase_
/**
* Resize the thread mutexs array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutexs_increase_by_
- extern f_status_t f_thread_mutexs_increase_by(const f_array_length_t amount, f_thread_mutexs_t * const mutexs);
+ extern f_status_t f_thread_mutexs_increase_by(const f_number_unsigned_t amount, f_thread_mutexs_t * const mutexs);
#endif // _di_f_thread_mutexs_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutexs_resize_
- extern f_status_t f_thread_mutexs_resize(const f_array_length_t length, f_thread_mutexs_t * const mutexs);
+ extern f_status_t f_thread_mutexs_resize(const f_number_unsigned_t length, f_thread_mutexs_t * const mutexs);
#endif // _di_f_thread_mutexs_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_mutex_attributes_adjust_
- f_status_t f_thread_mutex_attributes_adjust(const f_array_length_t length, f_thread_mutex_attributes_t * const attributes) {
+ f_status_t f_thread_mutex_attributes_adjust(const f_number_unsigned_t length, f_thread_mutex_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_mutex_attributes_adjust_
#ifndef _di_f_thread_mutex_attributes_decimate_by_
- f_status_t f_thread_mutex_attributes_decimate_by(const f_array_length_t amount, f_thread_mutex_attributes_t * const attributes) {
+ f_status_t f_thread_mutex_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_mutex_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_mutex_attributes_decimate_by_
#ifndef _di_f_thread_mutex_attributes_decrease_by_
- f_status_t f_thread_mutex_attributes_decrease_by(const f_array_length_t amount, f_thread_mutex_attributes_t * const attributes) {
+ f_status_t f_thread_mutex_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_mutex_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_mutex_attributes_decrease_by_
#ifndef _di_f_thread_mutex_attributes_increase_
- f_status_t f_thread_mutex_attributes_increase(const f_array_length_t step, f_thread_mutex_attributes_t * const attributes) {
+ f_status_t f_thread_mutex_attributes_increase(const f_number_unsigned_t step, f_thread_mutex_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && attributes->used + 1 > attributes->size) {
- f_array_length_t size = attributes->used + step;
+ f_number_unsigned_t size = attributes->used + step;
- if (size > F_array_length_t_size_d) {
- if (attributes->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (attributes->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_mutex_attributes_resize(size, attributes);
#endif // _di_f_thread_mutex_attributes_increase_
#ifndef _di_f_thread_mutex_attributes_increase_by_
- f_status_t f_thread_mutex_attributes_increase_by(const f_array_length_t amount, f_thread_mutex_attributes_t * const attributes) {
+ f_status_t f_thread_mutex_attributes_increase_by(const f_number_unsigned_t amount, f_thread_mutex_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (attributes->used + amount > attributes->size) {
- if (attributes->used + amount > F_array_length_t_size_d) {
+ if (attributes->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_mutex_attributes_increase_by_
#ifndef _di_f_thread_mutex_attributes_resize_
- f_status_t f_thread_mutex_attributes_resize(const f_array_length_t length, f_thread_mutex_attributes_t * const attributes) {
+ f_status_t f_thread_mutex_attributes_resize(const f_number_unsigned_t length, f_thread_mutex_attributes_t * const attributes) {
#ifndef _di_level_0_parameter_checking_
if (!attributes) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_mutex_attribute_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_mutex_attributes_t;
#define f_thread_mutex_attributes_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutex_attributes_adjust_
- extern f_status_t f_thread_mutex_attributes_adjust(const f_array_length_t length, f_thread_mutex_attributes_t * const attributes);
+ extern f_status_t f_thread_mutex_attributes_adjust(const f_number_unsigned_t length, f_thread_mutex_attributes_t * const attributes);
#endif // _di_f_thread_mutex_attributes_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutex_attributes_decimate_by_
- extern f_status_t f_thread_mutex_attributes_decimate_by(const f_array_length_t amount, f_thread_mutex_attributes_t * const attributes);
+ extern f_status_t f_thread_mutex_attributes_decimate_by(const f_number_unsigned_t amount, f_thread_mutex_attributes_t * const attributes);
#endif // _di_f_thread_mutex_attributes_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutex_attributes_decrease_by_
- extern f_status_t f_thread_mutex_attributes_decrease_by(const f_array_length_t amount, f_thread_mutex_attributes_t * const attributes);
+ extern f_status_t f_thread_mutex_attributes_decrease_by(const f_number_unsigned_t amount, f_thread_mutex_attributes_t * const attributes);
#endif // _di_f_thread_mutex_attributes_decrease_by_
/**
* Increase the size of the thread attributes array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutex_attributes_increase_
- extern f_status_t f_thread_mutex_attributes_increase(const f_array_length_t step, f_thread_mutex_attributes_t * const attributes);
+ extern f_status_t f_thread_mutex_attributes_increase(const f_number_unsigned_t step, f_thread_mutex_attributes_t * const attributes);
#endif // _di_f_thread_mutex_attributes_increase_
/**
* Resize the thread attributes array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutex_attributes_increase_by_
- extern f_status_t f_thread_mutex_attributes_increase_by(const f_array_length_t amount, f_thread_mutex_attributes_t * const attributes);
+ extern f_status_t f_thread_mutex_attributes_increase_by(const f_number_unsigned_t amount, f_thread_mutex_attributes_t * const attributes);
#endif // _di_f_thread_mutex_attributes_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_mutex_attributes_resize_
- extern f_status_t f_thread_mutex_attributes_resize(const f_array_length_t length, f_thread_mutex_attributes_t * const attributes);
+ extern f_status_t f_thread_mutex_attributes_resize(const f_number_unsigned_t length, f_thread_mutex_attributes_t * const attributes);
#endif // _di_f_thread_mutex_attributes_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_onces_adjust_
- f_status_t f_thread_onces_adjust(const f_array_length_t length, f_thread_onces_t * const onces) {
+ f_status_t f_thread_onces_adjust(const f_number_unsigned_t length, f_thread_onces_t * const onces) {
#ifndef _di_level_0_parameter_checking_
if (!onces) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_onces_adjust_
#ifndef _di_f_thread_onces_decimate_by_
- f_status_t f_thread_onces_decimate_by(const f_array_length_t amount, f_thread_onces_t * const onces) {
+ f_status_t f_thread_onces_decimate_by(const f_number_unsigned_t amount, f_thread_onces_t * const onces) {
#ifndef _di_level_0_parameter_checking_
if (!onces) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_onces_decimate_by_
#ifndef _di_f_thread_onces_decrease_by_
- f_status_t f_thread_onces_decrease_by(const f_array_length_t amount, f_thread_onces_t * const onces) {
+ f_status_t f_thread_onces_decrease_by(const f_number_unsigned_t amount, f_thread_onces_t * const onces) {
#ifndef _di_level_0_parameter_checking_
if (!onces) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_onces_decrease_by_
#ifndef _di_f_thread_onces_increase_
- f_status_t f_thread_onces_increase(const f_array_length_t step, f_thread_onces_t * const onces) {
+ f_status_t f_thread_onces_increase(const f_number_unsigned_t step, f_thread_onces_t * const onces) {
#ifndef _di_level_0_parameter_checking_
if (!onces) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && onces->used + 1 > onces->size) {
- f_array_length_t size = onces->used + step;
+ f_number_unsigned_t size = onces->used + step;
- if (size > F_array_length_t_size_d) {
- if (onces->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (onces->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_onces_resize(size, onces);
#endif // _di_f_thread_onces_increase_
#ifndef _di_f_thread_onces_increase_by_
- f_status_t f_thread_onces_increase_by(const f_array_length_t amount, f_thread_onces_t * const onces) {
+ f_status_t f_thread_onces_increase_by(const f_number_unsigned_t amount, f_thread_onces_t * const onces) {
#ifndef _di_level_0_parameter_checking_
if (!onces) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (onces->used + amount > onces->size) {
- if (onces->used + amount > F_array_length_t_size_d) {
+ if (onces->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_onces_increase_by_
#ifndef _di_f_thread_onces_resize_
- f_status_t f_thread_onces_resize(const f_array_length_t length, f_thread_onces_t * const onces) {
+ f_status_t f_thread_onces_resize(const f_number_unsigned_t length, f_thread_onces_t * const onces) {
#ifndef _di_level_0_parameter_checking_
if (!onces) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_once_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_onces_t;
#define f_thread_onces_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_onces_adjust_
- extern f_status_t f_thread_onces_adjust(const f_array_length_t length, f_thread_onces_t * const onces);
+ extern f_status_t f_thread_onces_adjust(const f_number_unsigned_t length, f_thread_onces_t * const onces);
#endif // _di_f_thread_onces_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_onces_decimate_by_
- extern f_status_t f_thread_onces_decimate_by(const f_array_length_t amount, f_thread_onces_t * const onces);
+ extern f_status_t f_thread_onces_decimate_by(const f_number_unsigned_t amount, f_thread_onces_t * const onces);
#endif // _di_f_thread_onces_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_onces_decrease_by_
- extern f_status_t f_thread_onces_decrease_by(const f_array_length_t amount, f_thread_onces_t * const onces);
+ extern f_status_t f_thread_onces_decrease_by(const f_number_unsigned_t amount, f_thread_onces_t * const onces);
#endif // _di_f_thread_onces_decrease_by_
/**
* Increase the size of the thread onces array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_onces_increase_
- extern f_status_t f_thread_onces_increase(const f_array_length_t step, f_thread_onces_t * const onces);
+ extern f_status_t f_thread_onces_increase(const f_number_unsigned_t step, f_thread_onces_t * const onces);
#endif // _di_f_thread_onces_increase_
/**
* Resize the thread onces array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_onces_increase_by_
- extern f_status_t f_thread_onces_increase_by(const f_array_length_t amount, f_thread_onces_t * const onces);
+ extern f_status_t f_thread_onces_increase_by(const f_number_unsigned_t amount, f_thread_onces_t * const onces);
#endif // _di_f_thread_onces_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_onces_resize_
- extern f_status_t f_thread_onces_resize(const f_array_length_t length, f_thread_onces_t * const onces);
+ extern f_status_t f_thread_onces_resize(const f_number_unsigned_t length, f_thread_onces_t * const onces);
#endif // _di_f_thread_onces_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_semaphores_adjust_
- f_status_t f_thread_semaphores_adjust(const f_array_length_t length, f_thread_semaphores_t * const semaphores) {
+ f_status_t f_thread_semaphores_adjust(const f_number_unsigned_t length, f_thread_semaphores_t * const semaphores) {
#ifndef _di_level_0_parameter_checking_
if (!semaphores) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_semaphores_adjust_
#ifndef _di_f_thread_semaphores_decimate_by_
- f_status_t f_thread_semaphores_decimate_by(const f_array_length_t amount, f_thread_semaphores_t * const semaphores) {
+ f_status_t f_thread_semaphores_decimate_by(const f_number_unsigned_t amount, f_thread_semaphores_t * const semaphores) {
#ifndef _di_level_0_parameter_checking_
if (!semaphores) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_semaphores_decimate_by_
#ifndef _di_f_thread_semaphores_decrease_by_
- f_status_t f_thread_semaphores_decrease_by(const f_array_length_t amount, f_thread_semaphores_t * const semaphores) {
+ f_status_t f_thread_semaphores_decrease_by(const f_number_unsigned_t amount, f_thread_semaphores_t * const semaphores) {
#ifndef _di_level_0_parameter_checking_
if (!semaphores) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_semaphores_decrease_by_
#ifndef _di_f_thread_semaphores_increase_
- f_status_t f_thread_semaphores_increase(const f_array_length_t step, f_thread_semaphores_t * const semaphores) {
+ f_status_t f_thread_semaphores_increase(const f_number_unsigned_t step, f_thread_semaphores_t * const semaphores) {
#ifndef _di_level_0_parameter_checking_
if (!semaphores) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && semaphores->used + 1 > semaphores->size) {
- f_array_length_t size = semaphores->used + step;
+ f_number_unsigned_t size = semaphores->used + step;
- if (size > F_array_length_t_size_d) {
- if (semaphores->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (semaphores->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_semaphores_resize(size, semaphores);
#endif // _di_f_thread_semaphores_increase_
#ifndef _di_f_thread_semaphores_increase_by_
- f_status_t f_thread_semaphores_increase_by(const f_array_length_t amount, f_thread_semaphores_t * const semaphores) {
+ f_status_t f_thread_semaphores_increase_by(const f_number_unsigned_t amount, f_thread_semaphores_t * const semaphores) {
#ifndef _di_level_0_parameter_checking_
if (!semaphores) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (semaphores->used + amount > semaphores->size) {
- if (semaphores->used + amount > F_array_length_t_size_d) {
+ if (semaphores->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_semaphores_increase_by_
#ifndef _di_f_thread_semaphores_resize_
- f_status_t f_thread_semaphores_resize(const f_array_length_t length, f_thread_semaphores_t * const semaphores) {
+ f_status_t f_thread_semaphores_resize(const f_number_unsigned_t length, f_thread_semaphores_t * const semaphores) {
#ifndef _di_level_0_parameter_checking_
if (!semaphores) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_semaphore_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_semaphores_t;
#define f_thread_semaphores_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_semaphores_adjust_
- extern f_status_t f_thread_semaphores_adjust(const f_array_length_t length, f_thread_semaphores_t * const semaphores);
+ extern f_status_t f_thread_semaphores_adjust(const f_number_unsigned_t length, f_thread_semaphores_t * const semaphores);
#endif // _di_f_thread_semaphores_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_semaphores_decimate_by_
- extern f_status_t f_thread_semaphores_decimate_by(const f_array_length_t amount, f_thread_semaphores_t * const semaphores);
+ extern f_status_t f_thread_semaphores_decimate_by(const f_number_unsigned_t amount, f_thread_semaphores_t * const semaphores);
#endif // _di_f_thread_semaphores_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_semaphores_decrease_by_
- extern f_status_t f_thread_semaphores_decrease_by(const f_array_length_t amount, f_thread_semaphores_t * const semaphores);
+ extern f_status_t f_thread_semaphores_decrease_by(const f_number_unsigned_t amount, f_thread_semaphores_t * const semaphores);
#endif // _di_f_thread_semaphores_decrease_by_
/**
* Increase the size of the thread semaphores array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_semaphores_increase_
- extern f_status_t f_thread_semaphores_increase(const f_array_length_t step, f_thread_semaphores_t * const semaphores);
+ extern f_status_t f_thread_semaphores_increase(const f_number_unsigned_t step, f_thread_semaphores_t * const semaphores);
#endif // _di_f_thread_semaphores_increase_
/**
* Resize the thread semaphores array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_semaphores_increase_by_
- extern f_status_t f_thread_semaphores_increase_by(const f_array_length_t amount, f_thread_semaphores_t * const semaphores);
+ extern f_status_t f_thread_semaphores_increase_by(const f_number_unsigned_t amount, f_thread_semaphores_t * const semaphores);
#endif // _di_f_thread_semaphores_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_semaphores_resize_
- extern f_status_t f_thread_semaphores_resize(const f_array_length_t length, f_thread_semaphores_t * const semaphores);
+ extern f_status_t f_thread_semaphores_resize(const f_number_unsigned_t length, f_thread_semaphores_t * const semaphores);
#endif // _di_f_thread_semaphores_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_sets_adjust_
- f_status_t f_thread_sets_adjust(const f_array_length_t length, f_thread_sets_t * const sets) {
+ f_status_t f_thread_sets_adjust(const f_number_unsigned_t length, f_thread_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_sets_adjust_
#ifndef _di_f_thread_sets_decimate_by_
- f_status_t f_thread_sets_decimate_by(const f_array_length_t amount, f_thread_sets_t * const sets) {
+ f_status_t f_thread_sets_decimate_by(const f_number_unsigned_t amount, f_thread_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_sets_decimate_by_
#ifndef _di_f_thread_sets_decrease_by_
- f_status_t f_thread_sets_decrease_by(const f_array_length_t amount, f_thread_sets_t * const sets) {
+ f_status_t f_thread_sets_decrease_by(const f_number_unsigned_t amount, f_thread_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_sets_decrease_by_
#ifndef _di_f_thread_sets_increase_
- f_status_t f_thread_sets_increase(const f_array_length_t step, f_thread_sets_t * const sets) {
+ f_status_t f_thread_sets_increase(const f_number_unsigned_t step, f_thread_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && sets->used + 1 > sets->size) {
- f_array_length_t size = sets->used + step;
+ f_number_unsigned_t size = sets->used + step;
- if (size > F_array_length_t_size_d) {
- if (sets->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (sets->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_sets_resize(size, sets);
#endif // _di_f_thread_sets_increase_
#ifndef _di_f_thread_sets_increase_by_
- f_status_t f_thread_sets_increase_by(const f_array_length_t amount, f_thread_sets_t * const sets) {
+ f_status_t f_thread_sets_increase_by(const f_number_unsigned_t amount, f_thread_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (sets->used + amount > sets->size) {
- if (sets->used + amount > F_array_length_t_size_d) {
+ if (sets->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_sets_increase_by_
#ifndef _di_f_thread_sets_resize_
- f_status_t f_thread_sets_resize(const f_array_length_t length, f_thread_sets_t * const sets) {
+ f_status_t f_thread_sets_resize(const f_number_unsigned_t length, f_thread_sets_t * const sets) {
#ifndef _di_level_0_parameter_checking_
if (!sets) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_set_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_sets_t;
#define f_thread_sets_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_sets_adjust_
- extern f_status_t f_thread_sets_adjust(const f_array_length_t length, f_thread_sets_t * const sets);
+ extern f_status_t f_thread_sets_adjust(const f_number_unsigned_t length, f_thread_sets_t * const sets);
#endif // _di_f_thread_sets_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_sets_decimate_by_
- extern f_status_t f_thread_sets_decimate_by(const f_array_length_t amount, f_thread_sets_t * const sets);
+ extern f_status_t f_thread_sets_decimate_by(const f_number_unsigned_t amount, f_thread_sets_t * const sets);
#endif // _di_f_thread_sets_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_sets_decrease_by_
- extern f_status_t f_thread_sets_decrease_by(const f_array_length_t amount, f_thread_sets_t * const sets);
+ extern f_status_t f_thread_sets_decrease_by(const f_number_unsigned_t amount, f_thread_sets_t * const sets);
#endif // _di_f_thread_sets_decrease_by_
/**
* Increase the size of the thread sets array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_sets_increase_
- extern f_status_t f_thread_sets_increase(const f_array_length_t step, f_thread_sets_t * const sets);
+ extern f_status_t f_thread_sets_increase(const f_number_unsigned_t step, f_thread_sets_t * const sets);
#endif // _di_f_thread_sets_increase_
/**
* Resize the thread sets array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_sets_increase_by_
- extern f_status_t f_thread_sets_increase_by(const f_array_length_t amount, f_thread_sets_t * const sets);
+ extern f_status_t f_thread_sets_increase_by(const f_number_unsigned_t amount, f_thread_sets_t * const sets);
#endif // _di_f_thread_sets_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_sets_resize_
- extern f_status_t f_thread_sets_resize(const f_array_length_t length, f_thread_sets_t * const sets);
+ extern f_status_t f_thread_sets_resize(const f_number_unsigned_t length, f_thread_sets_t * const sets);
#endif // _di_f_thread_sets_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_thread_spins_adjust_
- f_status_t f_thread_spins_adjust(const f_array_length_t length, f_thread_spins_t * const spins) {
+ f_status_t f_thread_spins_adjust(const f_number_unsigned_t length, f_thread_spins_t * const spins) {
#ifndef _di_level_0_parameter_checking_
if (!spins) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_spins_adjust_
#ifndef _di_f_thread_spins_decimate_by_
- f_status_t f_thread_spins_decimate_by(const f_array_length_t amount, f_thread_spins_t * const spins) {
+ f_status_t f_thread_spins_decimate_by(const f_number_unsigned_t amount, f_thread_spins_t * const spins) {
#ifndef _di_level_0_parameter_checking_
if (!spins) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_spins_decimate_by_
#ifndef _di_f_thread_spins_decrease_by_
- f_status_t f_thread_spins_decrease_by(const f_array_length_t amount, f_thread_spins_t * const spins) {
+ f_status_t f_thread_spins_decrease_by(const f_number_unsigned_t amount, f_thread_spins_t * const spins) {
#ifndef _di_level_0_parameter_checking_
if (!spins) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_thread_spins_decrease_by_
#ifndef _di_f_thread_spins_increase_
- f_status_t f_thread_spins_increase(const f_array_length_t step, f_thread_spins_t * const spins) {
+ f_status_t f_thread_spins_increase(const f_number_unsigned_t step, f_thread_spins_t * const spins) {
#ifndef _di_level_0_parameter_checking_
if (!spins) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && spins->used + 1 > spins->size) {
- f_array_length_t size = spins->used + step;
+ f_number_unsigned_t size = spins->used + step;
- if (size > F_array_length_t_size_d) {
- if (spins->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (spins->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_thread_spins_resize(size, spins);
#endif // _di_f_thread_spins_increase_
#ifndef _di_f_thread_spins_increase_by_
- f_status_t f_thread_spins_increase_by(const f_array_length_t amount, f_thread_spins_t * const spins) {
+ f_status_t f_thread_spins_increase_by(const f_number_unsigned_t amount, f_thread_spins_t * const spins) {
#ifndef _di_level_0_parameter_checking_
if (!spins) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (spins->used + amount > spins->size) {
- if (spins->used + amount > F_array_length_t_size_d) {
+ if (spins->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_thread_spins_increase_by_
#ifndef _di_f_thread_spins_resize_
- f_status_t f_thread_spins_resize(const f_array_length_t length, f_thread_spins_t * const spins) {
+ f_status_t f_thread_spins_resize(const f_number_unsigned_t length, f_thread_spins_t * const spins) {
#ifndef _di_level_0_parameter_checking_
if (!spins) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_thread_spin_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_thread_spins_t;
#define f_thread_spins_t_initialize { 0, 0, 0 }
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_spins_adjust_
- extern f_status_t f_thread_spins_adjust(const f_array_length_t length, f_thread_spins_t * const spins);
+ extern f_status_t f_thread_spins_adjust(const f_number_unsigned_t length, f_thread_spins_t * const spins);
#endif // _di_f_thread_spins_adjust_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_spins_decimate_by_
- extern f_status_t f_thread_spins_decimate_by(const f_array_length_t amount, f_thread_spins_t * const spins);
+ extern f_status_t f_thread_spins_decimate_by(const f_number_unsigned_t amount, f_thread_spins_t * const spins);
#endif // _di_f_thread_spins_decimate_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_spins_decrease_by_
- extern f_status_t f_thread_spins_decrease_by(const f_array_length_t amount, f_thread_spins_t * const spins);
+ extern f_status_t f_thread_spins_decrease_by(const f_number_unsigned_t amount, f_thread_spins_t * const spins);
#endif // _di_f_thread_spins_decrease_by_
/**
* Increase the size of the thread spin locks array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_spins_increase_
- extern f_status_t f_thread_spins_increase(const f_array_length_t step, f_thread_spins_t * const spins);
+ extern f_status_t f_thread_spins_increase(const f_number_unsigned_t step, f_thread_spins_t * const spins);
#endif // _di_f_thread_spins_increase_
/**
* Resize the thread spin locks array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_spins_increase_by_
- extern f_status_t f_thread_spins_increase_by(const f_array_length_t amount, f_thread_spins_t * const spins);
+ extern f_status_t f_thread_spins_increase_by(const f_number_unsigned_t amount, f_thread_spins_t * const spins);
#endif // _di_f_thread_spins_increase_by_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_thread_spins_resize_
- extern f_status_t f_thread_spins_resize(const f_array_length_t length, f_thread_spins_t * const spins);
+ extern f_status_t f_thread_spins_resize(const f_number_unsigned_t length, f_thread_spins_t * const spins);
#endif // _di_f_thread_spins_resize_
#ifdef __cplusplus
#endif // _di_f_type_d_
/**
- * Defines a variable to be used by arrays.
- *
- * There are problems in some libc's and systems that do not handle lengths greater than 2^63.
- * This is primarily a problem with libc string functions.
- * This may need to be set to a signed 64-bit integer on some system (or a smaller unsigned).
- * There are problems, however, with signed integers and binary operations as well as with overflows to be aware of.
- */
-#ifndef _di_f_array_length_t_
- typedef f_number_unsigned_t f_array_length_t;
-
- #define f_array_length_t_initialize 0
-
- #define macro_f_array_length_t_initialize_1(length) length
-
- #define F_array_length_t_size_d F_number_t_size_unsigned_d
- #define F_array_length_t_size_max_d F_number_t_size_max_unsigned_d
-#endif // _di_f_array_length_t_
-
-/**
* A structure designating a row and column, just like a cell in a table.
*
* row: The row position.
*/
#ifndef _di_f_cell_t_
typedef struct {
- f_array_length_t row;
- f_array_length_t column;
+ f_number_unsigned_t row;
+ f_number_unsigned_t column;
} f_cell_t;
#define f_cell_t_initialize { 0, 0 }
typedef struct {
f_cell_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_cells_t;
#define f_cells_t_initialize { 0, 0, 0 }
typedef struct {
f_cells_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_cellss_t;
#define f_cellss_t_initialize { 0, 0, 0 }
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_f_array_lengths_t_
+#ifndef _di_f_number_unsigneds_t_
typedef struct {
- f_array_length_t *array;
+ f_number_unsigned_t *array;
- f_array_length_t size;
- f_array_length_t used;
- } f_array_lengths_t;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
+ } f_number_unsigneds_t;
- #define f_array_lengths_t_initialize { 0, 0, 0 }
+ #define f_number_unsigneds_t_initialize { 0, 0, 0 }
- #define macro_f_array_lengths_t_initialize_1(array, size, used) { array, size, used }
- #define macro_f_array_lengths_t_initialize_2(array, length) { array, length, length }
-#endif // _di_f_array_lengths_t_
+ #define macro_f_number_unsigneds_t_initialize_1(array, size, used) { array, size, used }
+ #define macro_f_number_unsigneds_t_initialize_2(array, length) { array, length, length }
+#endif // _di_f_number_unsigneds_t_
/**
* An array of an array of array lengths.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_f_array_lengthss_t_
+#ifndef _di_f_number_unsignedss_t_
typedef struct {
- f_array_lengths_t *array;
+ f_number_unsigneds_t *array;
- f_array_length_t size;
- f_array_length_t used;
- } f_array_lengthss_t;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
+ } f_number_unsignedss_t;
- #define f_array_lengthss_t_initialize { 0, 0, 0 }
+ #define f_number_unsignedss_t_initialize { 0, 0, 0 }
- #define macro_f_array_lengthss_t_initialize_1(array, size, used) { array, size, used }
- #define macro_f_array_lengthss_t_initialize_2(array, length) { array, length, length }
-#endif // _di_f_array_lengthss_t_
+ #define macro_f_number_unsignedss_t_initialize_1(array, size, used) { array, size, used }
+ #define macro_f_number_unsignedss_t_initialize_2(array, length) { array, length, length }
+#endif // _di_f_number_unsignedss_t_
/**
* An array of array int8_t.
typedef struct {
int8_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int8s_t;
#define f_int8s_t_initialize { 0, 0, 0 }
typedef struct {
f_int8s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int8ss_t;
#define f_int8ss_t_initialize { 0, 0, 0 }
typedef struct {
uint8_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint8s_t;
#define f_uint8s_t_initialize { 0, 0, 0 }
typedef struct {
f_uint8s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint8ss_t;
#define f_uint8ss_t_initialize { 0, 0, 0 }
typedef struct {
int16_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int16s_t;
#define f_int16s_t_initialize { 0, 0, 0 }
typedef struct {
f_int16s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int16ss_t;
#define f_int16ss_t_initialize { 0, 0, 0 }
typedef struct {
uint16_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint16s_t;
#define f_uint16s_t_initialize { 0, 0, 0 }
typedef struct {
f_uint16s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint16ss_t;
#define f_uint16ss_t_initialize { 0, 0, 0 }
typedef struct {
int32_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int32s_t;
#define f_int32s_t_initialize { 0, 0, 0 }
typedef struct {
f_int32s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int32ss_t;
#define f_int32ss_t_initialize { 0, 0, 0 }
typedef struct {
uint32_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint32s_t;
#define f_uint32s_t_initialize { 0, 0, 0 }
typedef struct {
f_uint32s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint32ss_t;
#define f_uint32ss_t_initialize { 0, 0, 0 }
typedef struct {
int64_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int64s_t;
#define f_int64s_t_initialize { 0, 0, 0 }
typedef struct {
f_int64s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int64ss_t;
#define f_int64ss_t_initialize { 0, 0, 0 }
typedef struct {
uint64_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint64s_t;
#define f_uint64s_t_initialize { 0, 0, 0 }
typedef struct {
f_uint64s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint64ss_t;
#define f_uint64ss_t_initialize { 0, 0, 0 }
typedef struct {
int128_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int128s_t;
#define f_int128s_t_initialize { 0, 0, 0 }
typedef struct {
f_int128s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_int128ss_t;
#define f_int128ss_t_initialize { 0, 0, 0 }
typedef struct {
uint128_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint128s_t;
#define f_uint128s_t_initialize { 0, 0, 0 }
typedef struct {
f_uint128s_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_uint128ss_t;
#define f_uint128ss_t_initialize { 0, 0, 0 }
typedef struct {
f_status_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_statuss_t;
#define f_statuss_t_initialize { 0, 0, 0 }
typedef struct {
f_statuss_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_statusss_t;
#define f_statusss_t_initialize { 0, 0, 0 }
typedef struct {
f_state_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_states_t;
#define f_states_t_initialize { 0, 0, 0 }
typedef struct {
f_states_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_statess_t;
#define f_statess_t_initialize { 0, 0, 0 }
typedef struct {
f_fll_id_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_fll_ids_t;
#define f_fll_ids_t_initialize { 0, 0, 0 }
typedef struct {
f_fll_ids_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_fll_idss_t;
#define f_fll_idss_t_initialize { 0, 0, 0 }
// FLL-0 type_array includes.
#include <fll/level_0/type_array/common.h>
-#include <fll/level_0/type_array/array_length.h>
#include <fll/level_0/type_array/cell.h>
#include <fll/level_0/type_array/fll_id.h>
#include <fll/level_0/type_array/int8.h>
#include <fll/level_0/type_array/int32.h>
#include <fll/level_0/type_array/int64.h>
#include <fll/level_0/type_array/int128.h>
+#include <fll/level_0/type_array/number_unsigned.h>
#include <fll/level_0/type_array/state.h>
#include <fll/level_0/type_array/status.h>
#include <fll/level_0/type_array/uint8.h>
+++ /dev/null
-#include "../type_array.h"
-#include "array_length.h"
-#include "private-array_length.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef _di_f_array_lengths_adjust_
- f_status_t f_array_lengths_adjust(const f_array_length_t length, f_array_lengths_t *lengths) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengths) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- return private_f_array_lengths_adjust(length, lengths);
- }
-#endif // _di_f_array_lengths_adjust_
-
-#ifndef _di_f_array_lengths_append_
- f_status_t f_array_lengths_append(const f_array_length_t source, f_array_lengths_t *destination) {
- #ifndef _di_level_0_parameter_checking_
- if (!destination) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (destination->used + 1 > destination->size) {
- const f_status_t status = private_f_array_lengths_resize(destination->used + F_memory_default_allocation_small_d, destination);
- if (F_status_is_error(status)) return status;
- }
-
- destination->array[destination->used++] = source;
-
- return F_none;
- }
-#endif // _di_f_array_lengths_append_
-
-#ifndef _di_f_array_lengths_append_all_
- f_status_t f_array_lengths_append_all(const f_array_lengths_t source, f_array_lengths_t *destination) {
- #ifndef _di_level_0_parameter_checking_
- if (!destination) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (!source.used) return F_data_not;
-
- return private_f_array_lengths_append_all(source, destination);
- }
-#endif // _di_f_array_lengths_append_all_
-
-#ifndef _di_f_array_lengths_decimate_by_
- f_status_t f_array_lengths_decimate_by(const f_array_length_t amount, f_array_lengths_t *lengths) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengths) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (!amount) return F_data_not;
-
- if (lengths->size - amount > 0) {
- return private_f_array_lengths_adjust(lengths->size - amount, lengths);
- }
-
- return private_f_array_lengths_adjust(0, lengths);
- }
-#endif // _di_f_array_lengths_decimate_by_
-
-#ifndef _di_f_array_lengths_decrease_by_
- f_status_t f_array_lengths_decrease_by(const f_array_length_t amount, f_array_lengths_t *lengths) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengths) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (!amount) return F_data_not;
-
- if (lengths->size - amount > 0) {
- return private_f_array_lengths_resize(lengths->size - amount, lengths);
- }
-
- return private_f_array_lengths_resize(0, lengths);
- }
-#endif // _di_f_array_lengths_decrease_by_
-
-#ifndef _di_f_array_lengths_increase_
- f_status_t f_array_lengths_increase(const f_array_length_t step, f_array_lengths_t *lengths) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengths) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (step && lengths->used + 1 > lengths->size) {
- f_array_length_t size = lengths->used + step;
-
- if (size > F_array_length_t_size_d) {
- if (lengths->used + 1 > F_array_length_t_size_d) {
- return F_status_set_error(F_array_too_large);
- }
-
- size = F_array_length_t_size_d;
- }
-
- return private_f_array_lengths_resize(size, lengths);
- }
-
- return F_data_not;
- }
-#endif // _di_f_array_lengths_increase_
-
-#ifndef _di_f_array_lengths_increase_by_
- f_status_t f_array_lengths_increase_by(const f_array_length_t amount, f_array_lengths_t *lengths) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengths) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (!amount) return F_data_not;
-
- if (lengths->used + amount > lengths->size) {
- if (lengths->used + amount > F_array_length_t_size_d) {
- return F_status_set_error(F_array_too_large);
- }
-
- return private_f_array_lengths_resize(lengths->used + amount, lengths);
- }
-
- return F_data_not;
- }
-#endif // _di_f_array_lengths_increase_by_
-
-#ifndef _di_f_array_lengths_resize_
- f_status_t f_array_lengths_resize(const f_array_length_t length, f_array_lengths_t *lengths) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengths) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- return private_f_array_lengths_resize(length, lengths);
- }
-#endif // _di_f_array_lengths_resize_
-
-#ifndef _di_f_array_lengthss_adjust_
- f_status_t f_array_lengthss_adjust(const f_array_length_t length, f_array_lengthss_t *lengthss) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengthss) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- return private_f_array_lengthss_adjust(length, lengthss);
- }
-#endif // _di_f_array_lengthss_adjust_
-
-#ifndef _di_f_array_lengthss_append_
- f_status_t f_array_lengthss_append(const f_array_lengths_t source, f_array_lengthss_t *destination) {
- #ifndef _di_level_0_parameter_checking_
- if (!destination) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (!source.used) return F_data_not;
-
- f_status_t status = F_none;
-
- if (destination->used + 1 > destination->size) {
- status = private_f_array_lengthss_resize(destination->used + F_memory_default_allocation_small_d, destination);
- if (F_status_is_error(status)) return status;
- }
-
- status = private_f_array_lengths_append_all(source, &destination->array[destination->used]);
- if (F_status_is_error(status)) return status;
-
- ++destination->used;
-
- return F_none;
- }
-#endif // _di_f_array_lengthss_append_
-
-#ifndef _di_f_array_lengthss_append_all_
- f_status_t f_array_lengthss_append_all(const f_array_lengthss_t source, f_array_lengthss_t *destination) {
- #ifndef _di_level_0_parameter_checking_
- if (!destination) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (!source.used) return F_data_not;
-
- f_status_t status = F_none;
-
- if (destination->used + source.used > destination->size) {
- status = private_f_array_lengthss_resize(destination->used + source.used, destination);
- if (F_status_is_error(status)) return status;
- }
-
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
-
- destination->array[destination->used].used = 0;
-
- if (source.array[i].used) {
- status = private_f_array_lengths_append_all(source.array[i], &destination->array[destination->used]);
- if (F_status_is_error(status)) return status;
- }
- } // for
-
- return F_none;
- }
-#endif // _di_f_array_lengthss_append_all_
-
-#ifndef _di_f_array_lengthss_decimate_by_
- f_status_t f_array_lengthss_decimate_by(const f_array_length_t amount, f_array_lengthss_t *lengthss) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengthss) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (!amount) return F_data_not;
-
- if (lengthss->size - amount > 0) {
- return private_f_array_lengthss_adjust(lengthss->size - amount, lengthss);
- }
-
- return private_f_array_lengthss_adjust(0, lengthss);
- }
-#endif // _di_f_array_lengthss_decimate_by_
-
-#ifndef _di_f_array_lengthss_decrease_by_
- f_status_t f_array_lengthss_decrease_by(const f_array_length_t amount, f_array_lengthss_t *lengthss) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengthss) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (!amount) return F_data_not;
-
- if (lengthss->size - amount > 0) {
- return private_f_array_lengthss_resize(lengthss->size - amount, lengthss);
- }
-
- return private_f_array_lengthss_resize(0, lengthss);
- }
-#endif // _di_f_array_lengthss_decrease_by_
-
-#ifndef _di_f_array_lengthss_increase_
- f_status_t f_array_lengthss_increase(const f_array_length_t step, f_array_lengthss_t *lengthss) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengthss) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (step && lengthss->used + 1 > lengthss->size) {
- f_array_length_t size = lengthss->used + step;
-
- if (size > F_array_length_t_size_d) {
- if (lengthss->used + 1 > F_array_length_t_size_d) {
- return F_status_set_error(F_array_too_large);
- }
-
- size = F_array_length_t_size_d;
- }
-
- return private_f_array_lengthss_resize(size, lengthss);
- }
-
- return F_data_not;
- }
-#endif // _di_f_array_lengthss_increase_
-
-#ifndef _di_f_array_lengthss_increase_by_
- f_status_t f_array_lengthss_increase_by(const f_array_length_t amount, f_array_lengthss_t *lengthss) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengthss) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- if (!amount) return F_data_not;
-
- if (lengthss->used + amount > lengthss->size) {
- if (lengthss->used + amount > F_array_length_t_size_d) {
- return F_status_set_error(F_array_too_large);
- }
-
- return private_f_array_lengthss_resize(lengthss->used + amount, lengthss);
- }
-
- return F_data_not;
- }
-#endif // _di_f_array_lengthss_increase_by_
-
-#ifndef _di_f_array_lengthss_resize_
- f_status_t f_array_lengthss_resize(const f_array_length_t length, f_array_lengthss_t *lengthss) {
- #ifndef _di_level_0_parameter_checking_
- if (!lengthss) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
-
- return private_f_array_lengthss_resize(length, lengthss);
- }
-#endif // _di_f_array_lengthss_resize_
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
#endif
#ifndef _di_f_cells_adjust_
- f_status_t f_cells_adjust(const f_array_length_t length, f_cells_t *cells) {
+ f_status_t f_cells_adjust(const f_number_unsigned_t length, f_cells_t *cells) {
#ifndef _di_level_0_parameter_checking_
if (!cells) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_cells_append_all_
#ifndef _di_f_cells_decimate_by_
- f_status_t f_cells_decimate_by(const f_array_length_t amount, f_cells_t *cells) {
+ f_status_t f_cells_decimate_by(const f_number_unsigned_t amount, f_cells_t *cells) {
#ifndef _di_level_0_parameter_checking_
if (!cells) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_cells_decimate_by_
#ifndef _di_f_cells_decrease_by_
- f_status_t f_cells_decrease_by(const f_array_length_t amount, f_cells_t *cells) {
+ f_status_t f_cells_decrease_by(const f_number_unsigned_t amount, f_cells_t *cells) {
#ifndef _di_level_0_parameter_checking_
if (!cells) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_cells_decrease_by_
#ifndef _di_f_cells_increase_
- f_status_t f_cells_increase(const f_array_length_t step, f_cells_t *cells) {
+ f_status_t f_cells_increase(const f_number_unsigned_t step, f_cells_t *cells) {
#ifndef _di_level_0_parameter_checking_
if (!cells) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && cells->used + 1 > cells->size) {
- f_array_length_t size = cells->used + step;
+ f_number_unsigned_t size = cells->used + step;
- if (size > F_array_length_t_size_d) {
- if (cells->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (cells->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_cells_resize(size, cells);
#endif // _di_f_cells_increase_
#ifndef _di_f_cells_increase_by_
- f_status_t f_cells_increase_by(const f_array_length_t amount, f_cells_t *cells) {
+ f_status_t f_cells_increase_by(const f_number_unsigned_t amount, f_cells_t *cells) {
#ifndef _di_level_0_parameter_checking_
if (!cells) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (cells->used + amount > cells->size) {
- if (cells->used + amount > F_array_length_t_size_d) {
+ if (cells->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_cells_increase_by_
#ifndef _di_f_cells_resize_
- f_status_t f_cells_resize(const f_array_length_t length, f_cells_t *cells) {
+ f_status_t f_cells_resize(const f_number_unsigned_t length, f_cells_t *cells) {
#ifndef _di_level_0_parameter_checking_
if (!cells) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_cells_resize_
#ifndef _di_f_cellss_adjust_
- f_status_t f_cellss_adjust(const f_array_length_t length, f_cellss_t *cellss) {
+ f_status_t f_cellss_adjust(const f_number_unsigned_t length, f_cellss_t *cellss) {
#ifndef _di_level_0_parameter_checking_
if (!cellss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_cellss_append_all_
#ifndef _di_f_cellss_decimate_by_
- f_status_t f_cellss_decimate_by(const f_array_length_t amount, f_cellss_t *cellss) {
+ f_status_t f_cellss_decimate_by(const f_number_unsigned_t amount, f_cellss_t *cellss) {
#ifndef _di_level_0_parameter_checking_
if (!cellss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_cellss_decimate_by_
#ifndef _di_f_cellss_decrease_by_
- f_status_t f_cellss_decrease_by(const f_array_length_t amount, f_cellss_t *cellss) {
+ f_status_t f_cellss_decrease_by(const f_number_unsigned_t amount, f_cellss_t *cellss) {
#ifndef _di_level_0_parameter_checking_
if (!cellss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_cellss_decrease_by_
#ifndef _di_f_cellss_increase_
- f_status_t f_cellss_increase(const f_array_length_t step, f_cellss_t *cellss) {
+ f_status_t f_cellss_increase(const f_number_unsigned_t step, f_cellss_t *cellss) {
#ifndef _di_level_0_parameter_checking_
if (!cellss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && cellss->used + 1 > cellss->size) {
- f_array_length_t size = cellss->used + step;
+ f_number_unsigned_t size = cellss->used + step;
- if (size > F_array_length_t_size_d) {
- if (cellss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (cellss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_cellss_resize(size, cellss);
#endif // _di_f_cellss_increase_
#ifndef _di_f_cellss_increase_by_
- f_status_t f_cellss_increase_by(const f_array_length_t amount, f_cellss_t *cellss) {
+ f_status_t f_cellss_increase_by(const f_number_unsigned_t amount, f_cellss_t *cellss) {
#ifndef _di_level_0_parameter_checking_
if (!cellss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (cellss->used + amount > cellss->size) {
- if (cellss->used + amount > F_array_length_t_size_d) {
+ if (cellss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_cellss_increase_by_
#ifndef _di_f_cellss_resize_
- f_status_t f_cellss_resize(const f_array_length_t length, f_cellss_t *cellss) {
+ f_status_t f_cellss_resize(const f_number_unsigned_t length, f_cellss_t *cellss) {
#ifndef _di_level_0_parameter_checking_
if (!cellss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_cells_adjust_
- extern f_status_t f_cells_adjust(const f_array_length_t length, f_cells_t *cells);
+ extern f_status_t f_cells_adjust(const f_number_unsigned_t length, f_cells_t *cells);
#endif // _di_f_cells_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_cells_decimate_by_
- extern f_status_t f_cells_decimate_by(const f_array_length_t amount, f_cells_t *cells);
+ extern f_status_t f_cells_decimate_by(const f_number_unsigned_t amount, f_cells_t *cells);
#endif // _di_f_cells_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_cells_decrease_by_
- extern f_status_t f_cells_decrease_by(const f_array_length_t amount, f_cells_t *cells);
+ extern f_status_t f_cells_decrease_by(const f_number_unsigned_t amount, f_cells_t *cells);
#endif // _di_f_cells_decrease_by_
/**
* Increase the size of the string cells array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_cells_increase_
- extern f_status_t f_cells_increase(const f_array_length_t step, f_cells_t *cells);
+ extern f_status_t f_cells_increase(const f_number_unsigned_t step, f_cells_t *cells);
#endif // _di_f_cells_increase_
/**
* Resize the string cells array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_cells_increase_by_
- extern f_status_t f_cells_increase_by(const f_array_length_t amount, f_cells_t *cells);
+ extern f_status_t f_cells_increase_by(const f_number_unsigned_t amount, f_cells_t *cells);
#endif // _di_f_cells_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_cells_resize_
- extern f_status_t f_cells_resize(const f_array_length_t length, f_cells_t *cells);
+ extern f_status_t f_cells_resize(const f_number_unsigned_t length, f_cells_t *cells);
#endif // _di_f_cells_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_cellss_adjust_
- extern f_status_t f_cellss_adjust(const f_array_length_t length, f_cellss_t *cellss);
+ extern f_status_t f_cellss_adjust(const f_number_unsigned_t length, f_cellss_t *cellss);
#endif // _di_f_cellss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_cellss_decimate_by_
- extern f_status_t f_cellss_decimate_by(const f_array_length_t amount, f_cellss_t *cellss);
+ extern f_status_t f_cellss_decimate_by(const f_number_unsigned_t amount, f_cellss_t *cellss);
#endif // _di_f_cellss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_cellss_decrease_by_
- extern f_status_t f_cellss_decrease_by(const f_array_length_t amount, f_cellss_t *cellss);
+ extern f_status_t f_cellss_decrease_by(const f_number_unsigned_t amount, f_cellss_t *cellss);
#endif // _di_f_cellss_decrease_by_
/**
* Increase the size of the string cellss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_cellss_increase_
- extern f_status_t f_cellss_increase(const f_array_length_t step, f_cellss_t *cellss);
+ extern f_status_t f_cellss_increase(const f_number_unsigned_t step, f_cellss_t *cellss);
#endif // _di_f_cellss_increase_
/**
* Resize the string cellss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_cellss_increase_by_
- extern f_status_t f_cellss_increase_by(const f_array_length_t amount, f_cellss_t *cellss);
+ extern f_status_t f_cellss_increase_by(const f_number_unsigned_t amount, f_cellss_t *cellss);
#endif // _di_f_cellss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_cellss_resize_
- extern f_status_t f_cellss_resize(const f_array_length_t length, f_cellss_t *cellss);
+ extern f_status_t f_cellss_resize(const f_number_unsigned_t length, f_cellss_t *cellss);
#endif // _di_f_cellss_resize_
#ifdef __cplusplus
#endif // _di_f_fll_idss_t_
/**
- * Macros for f_array_lengths_t, see type.h for typedefs.
+ * Macros for f_number_unsigneds_t, see type.h for typedefs.
*/
-#ifndef _di_f_array_lengths_t_
- #define macro_f_array_lengths_t_clear(lengths) macro_f_memory_structures_clear(lengths)
+#ifndef _di_f_number_unsigneds_t_
+ #define macro_f_number_unsigneds_t_clear(lengths) macro_f_memory_structures_clear(lengths)
- #define macro_f_array_lengths_t_resize(status, lengths, length) status = f_array_lengths_resize(length, &lengths);
- #define macro_f_array_lengths_t_adjust(status, lengths, length) status = f_array_lengths_adjust(length, &lengths);
+ #define macro_f_number_unsigneds_t_resize(status, lengths, length) status = f_number_unsigneds_resize(length, &lengths);
+ #define macro_f_number_unsigneds_t_adjust(status, lengths, length) status = f_number_unsigneds_adjust(length, &lengths);
- #define macro_f_array_lengths_t_delete_simple(lengths) f_array_lengths_resize(0, &lengths);
- #define macro_f_array_lengths_t_destroy_simple(lengths) f_array_lengths_adjust(0, &lengths);
+ #define macro_f_number_unsigneds_t_delete_simple(lengths) f_number_unsigneds_resize(0, &lengths);
+ #define macro_f_number_unsigneds_t_destroy_simple(lengths) f_number_unsigneds_adjust(0, &lengths);
- #define macro_f_array_lengths_t_increase(status, step, lengths) status = f_array_lengths_increase(step, &lengths);
- #define macro_f_array_lengths_t_increase_by(status, lengths, amount) status = f_array_lengths_increase_by(amount, &lengths);
- #define macro_f_array_lengths_t_decrease_by(status, lengths, amount) status = f_array_lengths_decrease_by(amount, &lengths);
- #define macro_f_array_lengths_t_decimate_by(status, lengths, amount) status = f_array_lengths_decimate_by(amount, &lengths);
-#endif // _di_f_array_lengths_t_
+ #define macro_f_number_unsigneds_t_increase(status, step, lengths) status = f_number_unsigneds_increase(step, &lengths);
+ #define macro_f_number_unsigneds_t_increase_by(status, lengths, amount) status = f_number_unsigneds_increase_by(amount, &lengths);
+ #define macro_f_number_unsigneds_t_decrease_by(status, lengths, amount) status = f_number_unsigneds_decrease_by(amount, &lengths);
+ #define macro_f_number_unsigneds_t_decimate_by(status, lengths, amount) status = f_number_unsigneds_decimate_by(amount, &lengths);
+#endif // _di_f_number_unsigneds_t_
/**
- * Macros for f_array_lengths_t, see type.h for typedefs.
+ * Macros for f_number_unsigneds_t, see type.h for typedefs.
*/
-#ifndef _di_f_array_lengthss_t_
- #define macro_f_array_lengthss_t_clear(lengthss) macro_f_memory_structures_clear(lengthss)
+#ifndef _di_f_number_unsignedss_t_
+ #define macro_f_number_unsignedss_t_clear(lengthss) macro_f_memory_structures_clear(lengthss)
- #define macro_f_array_lengthss_t_resize(status, lengths, length) status = f_array_lengthss_resize(length, &lengths);
- #define macro_f_array_lengthss_t_adjust(status, lengths, length) status = f_array_lengthss_adjust(length, &lengths);
+ #define macro_f_number_unsignedss_t_resize(status, lengths, length) status = f_number_unsignedss_resize(length, &lengths);
+ #define macro_f_number_unsignedss_t_adjust(status, lengths, length) status = f_number_unsignedss_adjust(length, &lengths);
- #define macro_f_array_lengthss_t_delete_simple(lengths) f_array_lengthss_resize(0, &lengths);
- #define macro_f_array_lengthss_t_destroy_simple(lengths) f_array_lengthss_adjust(0, &lengths);
+ #define macro_f_number_unsignedss_t_delete_simple(lengths) f_number_unsignedss_resize(0, &lengths);
+ #define macro_f_number_unsignedss_t_destroy_simple(lengths) f_number_unsignedss_adjust(0, &lengths);
- #define macro_f_array_lengthss_t_increase(status, step, lengths) status = f_array_lengthss_increase(step, &lengths);
- #define macro_f_array_lengthss_t_increase_by(status, lengths, amount) status = f_array_lengthss_increase_by(amount, &lengths);
- #define macro_f_array_lengthss_t_decrease_by(status, lengths, amount) status = f_array_lengthss_decrease_by(amount, &lengths);
- #define macro_f_array_lengthss_t_decimate_by(status, lengths, amount) status = f_array_lengthss_decimate_by(amount, &lengths);
-#endif // _di_f_array_lengthss_t_
+ #define macro_f_number_unsignedss_t_increase(status, step, lengths) status = f_number_unsignedss_increase(step, &lengths);
+ #define macro_f_number_unsignedss_t_increase_by(status, lengths, amount) status = f_number_unsignedss_increase_by(amount, &lengths);
+ #define macro_f_number_unsignedss_t_decrease_by(status, lengths, amount) status = f_number_unsignedss_decrease_by(amount, &lengths);
+ #define macro_f_number_unsignedss_t_decimate_by(status, lengths, amount) status = f_number_unsignedss_decimate_by(amount, &lengths);
+#endif // _di_f_number_unsignedss_t_
/**
* Macros for int8_t, see type.h for typedefs.
#endif // _di_f_int32s_t_
/**
- * Macros for f_array_lengths_t, see type.h for typedefs.
+ * Macros for f_number_unsigneds_t, see type.h for typedefs.
*/
#ifndef _di_f_int32ss_t_
#define macro_f_int32ss_t_clear(int32ss) macro_f_memory_structures_clear(int32ss)
#endif
#ifndef _di_f_fll_ids_adjust_
- f_status_t f_fll_ids_adjust(const f_array_length_t length, f_fll_ids_t *ids) {
+ f_status_t f_fll_ids_adjust(const f_number_unsigned_t length, f_fll_ids_t *ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fll_ids_append_all_
#ifndef _di_f_fll_ids_decimate_by_
- f_status_t f_fll_ids_decimate_by(const f_array_length_t amount, f_fll_ids_t *ids) {
+ f_status_t f_fll_ids_decimate_by(const f_number_unsigned_t amount, f_fll_ids_t *ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fll_ids_decimate_by_
#ifndef _di_f_fll_ids_decrease_by_
- f_status_t f_fll_ids_decrease_by(const f_array_length_t amount, f_fll_ids_t *ids) {
+ f_status_t f_fll_ids_decrease_by(const f_number_unsigned_t amount, f_fll_ids_t *ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fll_ids_decrease_by_
#ifndef _di_f_fll_ids_increase_
- f_status_t f_fll_ids_increase(const f_array_length_t step, f_fll_ids_t *ids) {
+ f_status_t f_fll_ids_increase(const f_number_unsigned_t step, f_fll_ids_t *ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && ids->used + 1 > ids->size) {
- f_array_length_t size = ids->used + step;
+ f_number_unsigned_t size = ids->used + step;
- if (size > F_array_length_t_size_d) {
- if (ids->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (ids->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fll_ids_resize(size, ids);
#endif // _di_f_fll_ids_increase_
#ifndef _di_f_fll_ids_increase_by_
- f_status_t f_fll_ids_increase_by(const f_array_length_t amount, f_fll_ids_t *ids) {
+ f_status_t f_fll_ids_increase_by(const f_number_unsigned_t amount, f_fll_ids_t *ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (ids->used + amount > ids->size) {
- if (ids->used + amount > F_array_length_t_size_d) {
+ if (ids->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fll_ids_increase_by_
#ifndef _di_f_fll_ids_resize_
- f_status_t f_fll_ids_resize(const f_array_length_t length, f_fll_ids_t *ids) {
+ f_status_t f_fll_ids_resize(const f_number_unsigned_t length, f_fll_ids_t *ids) {
#ifndef _di_level_0_parameter_checking_
if (!ids) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fll_ids_resize_
#ifndef _di_f_fll_idss_adjust_
- f_status_t f_fll_idss_adjust(const f_array_length_t length, f_fll_idss_t *idss) {
+ f_status_t f_fll_idss_adjust(const f_number_unsigned_t length, f_fll_idss_t *idss) {
#ifndef _di_level_0_parameter_checking_
if (!idss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_fll_idss_append_all_
#ifndef _di_f_fll_idss_decimate_by_
- f_status_t f_fll_idss_decimate_by(const f_array_length_t amount, f_fll_idss_t *idss) {
+ f_status_t f_fll_idss_decimate_by(const f_number_unsigned_t amount, f_fll_idss_t *idss) {
#ifndef _di_level_0_parameter_checking_
if (!idss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fll_idss_decimate_by_
#ifndef _di_f_fll_idss_decrease_by_
- f_status_t f_fll_idss_decrease_by(const f_array_length_t amount, f_fll_idss_t *idss) {
+ f_status_t f_fll_idss_decrease_by(const f_number_unsigned_t amount, f_fll_idss_t *idss) {
#ifndef _di_level_0_parameter_checking_
if (!idss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_fll_idss_decrease_by_
#ifndef _di_f_fll_idss_increase_
- f_status_t f_fll_idss_increase(const f_array_length_t step, f_fll_idss_t *idss) {
+ f_status_t f_fll_idss_increase(const f_number_unsigned_t step, f_fll_idss_t *idss) {
#ifndef _di_level_0_parameter_checking_
if (!idss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && idss->used + 1 > idss->size) {
- f_array_length_t size = idss->used + step;
+ f_number_unsigned_t size = idss->used + step;
- if (size > F_array_length_t_size_d) {
- if (idss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (idss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_fll_idss_resize(size, idss);
#endif // _di_f_fll_idss_increase_
#ifndef _di_f_fll_idss_increase_by_
- f_status_t f_fll_idss_increase_by(const f_array_length_t amount, f_fll_idss_t *idss) {
+ f_status_t f_fll_idss_increase_by(const f_number_unsigned_t amount, f_fll_idss_t *idss) {
#ifndef _di_level_0_parameter_checking_
if (!idss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (idss->used + amount > idss->size) {
- if (idss->used + amount > F_array_length_t_size_d) {
+ if (idss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_fll_idss_increase_by_
#ifndef _di_f_fll_idss_resize_
- f_status_t f_fll_idss_resize(const f_array_length_t length, f_fll_idss_t *idss) {
+ f_status_t f_fll_idss_resize(const f_number_unsigned_t length, f_fll_idss_t *idss) {
#ifndef _di_level_0_parameter_checking_
if (!idss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_fll_ids_adjust_
- extern f_status_t f_fll_ids_adjust(const f_array_length_t length, f_fll_ids_t *ids);
+ extern f_status_t f_fll_ids_adjust(const f_number_unsigned_t length, f_fll_ids_t *ids);
#endif // _di_f_fll_ids_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_fll_ids_decimate_by_
- extern f_status_t f_fll_ids_decimate_by(const f_array_length_t amount, f_fll_ids_t *ids);
+ extern f_status_t f_fll_ids_decimate_by(const f_number_unsigned_t amount, f_fll_ids_t *ids);
#endif // _di_f_fll_ids_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_fll_ids_decrease_by_
- extern f_status_t f_fll_ids_decrease_by(const f_array_length_t amount, f_fll_ids_t *ids);
+ extern f_status_t f_fll_ids_decrease_by(const f_number_unsigned_t amount, f_fll_ids_t *ids);
#endif // _di_f_fll_ids_decrease_by_
/**
* Increase the size of the string ids array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_fll_ids_increase_
- extern f_status_t f_fll_ids_increase(const f_array_length_t step, f_fll_ids_t *ids);
+ extern f_status_t f_fll_ids_increase(const f_number_unsigned_t step, f_fll_ids_t *ids);
#endif // _di_f_fll_ids_increase_
/**
* Resize the string ids array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_fll_ids_increase_by_
- extern f_status_t f_fll_ids_increase_by(const f_array_length_t amount, f_fll_ids_t *ids);
+ extern f_status_t f_fll_ids_increase_by(const f_number_unsigned_t amount, f_fll_ids_t *ids);
#endif // _di_f_fll_ids_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_fll_ids_resize_
- extern f_status_t f_fll_ids_resize(const f_array_length_t length, f_fll_ids_t *ids);
+ extern f_status_t f_fll_ids_resize(const f_number_unsigned_t length, f_fll_ids_t *ids);
#endif // _di_f_fll_ids_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_fll_idss_adjust_
- extern f_status_t f_fll_idss_adjust(const f_array_length_t length, f_fll_idss_t *idss);
+ extern f_status_t f_fll_idss_adjust(const f_number_unsigned_t length, f_fll_idss_t *idss);
#endif // _di_f_fll_idss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_fll_idss_decimate_by_
- extern f_status_t f_fll_idss_decimate_by(const f_array_length_t amount, f_fll_idss_t *idss);
+ extern f_status_t f_fll_idss_decimate_by(const f_number_unsigned_t amount, f_fll_idss_t *idss);
#endif // _di_f_fll_idss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_fll_idss_decrease_by_
- extern f_status_t f_fll_idss_decrease_by(const f_array_length_t amount, f_fll_idss_t *idss);
+ extern f_status_t f_fll_idss_decrease_by(const f_number_unsigned_t amount, f_fll_idss_t *idss);
#endif // _di_f_fll_idss_decrease_by_
/**
* Increase the size of the string idss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_fll_idss_increase_
- extern f_status_t f_fll_idss_increase(const f_array_length_t step, f_fll_idss_t *idss);
+ extern f_status_t f_fll_idss_increase(const f_number_unsigned_t step, f_fll_idss_t *idss);
#endif // _di_f_fll_idss_increase_
/**
* Resize the string idss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_fll_idss_increase_by_
- extern f_status_t f_fll_idss_increase_by(const f_array_length_t amount, f_fll_idss_t *idss);
+ extern f_status_t f_fll_idss_increase_by(const f_number_unsigned_t amount, f_fll_idss_t *idss);
#endif // _di_f_fll_idss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_fll_idss_resize_
- extern f_status_t f_fll_idss_resize(const f_array_length_t length, f_fll_idss_t *idss);
+ extern f_status_t f_fll_idss_resize(const f_number_unsigned_t length, f_fll_idss_t *idss);
#endif // _di_f_fll_idss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_int128s_adjust_
- f_status_t f_int128s_adjust(const f_array_length_t length, f_int128s_t *int128s) {
+ f_status_t f_int128s_adjust(const f_number_unsigned_t length, f_int128s_t *int128s) {
#ifndef _di_level_0_parameter_checking_
if (!int128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int128s_append_all_
#ifndef _di_f_int128s_decimate_by_
- f_status_t f_int128s_decimate_by(const f_array_length_t amount, f_int128s_t *int128s) {
+ f_status_t f_int128s_decimate_by(const f_number_unsigned_t amount, f_int128s_t *int128s) {
#ifndef _di_level_0_parameter_checking_
if (!int128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int128s_decimate_by_
#ifndef _di_f_int128s_decrease_by_
- f_status_t f_int128s_decrease_by(const f_array_length_t amount, f_int128s_t *int128s) {
+ f_status_t f_int128s_decrease_by(const f_number_unsigned_t amount, f_int128s_t *int128s) {
#ifndef _di_level_0_parameter_checking_
if (!int128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int128s_decrease_by_
#ifndef _di_f_int128s_increase_
- f_status_t f_int128s_increase(const f_array_length_t step, f_int128s_t *int128s) {
+ f_status_t f_int128s_increase(const f_number_unsigned_t step, f_int128s_t *int128s) {
#ifndef _di_level_0_parameter_checking_
if (!int128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int128s->used + 1 > int128s->size) {
- f_array_length_t size = int128s->used + step;
+ f_number_unsigned_t size = int128s->used + step;
- if (size > F_array_length_t_size_d) {
- if (int128s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int128s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int128s_resize(size, int128s);
#endif // _di_f_int128s_increase_
#ifndef _di_f_int128s_increase_by_
- f_status_t f_int128s_increase_by(const f_array_length_t amount, f_int128s_t *int128s) {
+ f_status_t f_int128s_increase_by(const f_number_unsigned_t amount, f_int128s_t *int128s) {
#ifndef _di_level_0_parameter_checking_
if (!int128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int128s->used + amount > int128s->size) {
- if (int128s->used + amount > F_array_length_t_size_d) {
+ if (int128s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int128s_increase_by_
#ifndef _di_f_int128s_resize_
- f_status_t f_int128s_resize(const f_array_length_t length, f_int128s_t *int128s) {
+ f_status_t f_int128s_resize(const f_number_unsigned_t length, f_int128s_t *int128s) {
#ifndef _di_level_0_parameter_checking_
if (!int128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int128s_resize_
#ifndef _di_f_int128ss_adjust_
- f_status_t f_int128ss_adjust(const f_array_length_t length, f_int128ss_t *int128ss) {
+ f_status_t f_int128ss_adjust(const f_number_unsigned_t length, f_int128ss_t *int128ss) {
#ifndef _di_level_0_parameter_checking_
if (!int128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_int128ss_append_all_
#ifndef _di_f_int128ss_decimate_by_
- f_status_t f_int128ss_decimate_by(const f_array_length_t amount, f_int128ss_t *int128ss) {
+ f_status_t f_int128ss_decimate_by(const f_number_unsigned_t amount, f_int128ss_t *int128ss) {
#ifndef _di_level_0_parameter_checking_
if (!int128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int128ss_decimate_by_
#ifndef _di_f_int128ss_decrease_by_
- f_status_t f_int128ss_decrease_by(const f_array_length_t amount, f_int128ss_t *int128ss) {
+ f_status_t f_int128ss_decrease_by(const f_number_unsigned_t amount, f_int128ss_t *int128ss) {
#ifndef _di_level_0_parameter_checking_
if (!int128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int128ss_decrease_by_
#ifndef _di_f_int128ss_increase_
- f_status_t f_int128ss_increase(const f_array_length_t step, f_int128ss_t *int128ss) {
+ f_status_t f_int128ss_increase(const f_number_unsigned_t step, f_int128ss_t *int128ss) {
#ifndef _di_level_0_parameter_checking_
if (!int128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int128ss->used + 1 > int128ss->size) {
- f_array_length_t size = int128ss->used + step;
+ f_number_unsigned_t size = int128ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (int128ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int128ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int128ss_resize(size, int128ss);
#endif // _di_f_int128ss_increase_
#ifndef _di_f_int128ss_increase_by_
- f_status_t f_int128ss_increase_by(const f_array_length_t amount, f_int128ss_t *int128ss) {
+ f_status_t f_int128ss_increase_by(const f_number_unsigned_t amount, f_int128ss_t *int128ss) {
#ifndef _di_level_0_parameter_checking_
if (!int128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int128ss->used + amount > int128ss->size) {
- if (int128ss->used + amount > F_array_length_t_size_d) {
+ if (int128ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int128ss_increase_by_
#ifndef _di_f_int128ss_resize_
- f_status_t f_int128ss_resize(const f_array_length_t length, f_int128ss_t *int128ss) {
+ f_status_t f_int128ss_resize(const f_number_unsigned_t length, f_int128ss_t *int128ss) {
#ifndef _di_level_0_parameter_checking_
if (!int128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int128s_adjust_
- extern f_status_t f_int128s_adjust(const f_array_length_t length, f_int128s_t *int128s);
+ extern f_status_t f_int128s_adjust(const f_number_unsigned_t length, f_int128s_t *int128s);
#endif // _di_f_int128s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int128s_decimate_by_
- extern f_status_t f_int128s_decimate_by(const f_array_length_t amount, f_int128s_t *int128s);
+ extern f_status_t f_int128s_decimate_by(const f_number_unsigned_t amount, f_int128s_t *int128s);
#endif // _di_f_int128s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int128s_decrease_by_
- extern f_status_t f_int128s_decrease_by(const f_array_length_t amount, f_int128s_t *int128s);
+ extern f_status_t f_int128s_decrease_by(const f_number_unsigned_t amount, f_int128s_t *int128s);
#endif // _di_f_int128s_decrease_by_
/**
* Increase the size of the int128s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int128s_increase_
- extern f_status_t f_int128s_increase(const f_array_length_t step, f_int128s_t *int128s);
+ extern f_status_t f_int128s_increase(const f_number_unsigned_t step, f_int128s_t *int128s);
#endif // _di_f_int128s_increase_
/**
* Resize the int128s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int128s_increase_by_
- extern f_status_t f_int128s_increase_by(const f_array_length_t amount, f_int128s_t *int128s);
+ extern f_status_t f_int128s_increase_by(const f_number_unsigned_t amount, f_int128s_t *int128s);
#endif // _di_f_int128s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int128s_resize_
- extern f_status_t f_int128s_resize(const f_array_length_t length, f_int128s_t *int128s);
+ extern f_status_t f_int128s_resize(const f_number_unsigned_t length, f_int128s_t *int128s);
#endif // _di_f_int128s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int128ss_adjust_
- extern f_status_t f_int128ss_adjust(const f_array_length_t length, f_int128ss_t *int128ss);
+ extern f_status_t f_int128ss_adjust(const f_number_unsigned_t length, f_int128ss_t *int128ss);
#endif // _di_f_int128ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int128ss_decimate_by_
- extern f_status_t f_int128ss_decimate_by(const f_array_length_t amount, f_int128ss_t *int128ss);
+ extern f_status_t f_int128ss_decimate_by(const f_number_unsigned_t amount, f_int128ss_t *int128ss);
#endif // _di_f_int128ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int128ss_decrease_by_
- extern f_status_t f_int128ss_decrease_by(const f_array_length_t amount, f_int128ss_t *int128ss);
+ extern f_status_t f_int128ss_decrease_by(const f_number_unsigned_t amount, f_int128ss_t *int128ss);
#endif // _di_f_int128ss_decrease_by_
/**
* Increase the size of the int128ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int128ss_increase_
- extern f_status_t f_int128ss_increase(const f_array_length_t step, f_int128ss_t *int128ss);
+ extern f_status_t f_int128ss_increase(const f_number_unsigned_t step, f_int128ss_t *int128ss);
#endif // _di_f_int128ss_increase_
/**
* Resize the int128ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int128ss_increase_by_
- extern f_status_t f_int128ss_increase_by(const f_array_length_t amount, f_int128ss_t *int128ss);
+ extern f_status_t f_int128ss_increase_by(const f_number_unsigned_t amount, f_int128ss_t *int128ss);
#endif // _di_f_int128ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int128ss_resize_
- extern f_status_t f_int128ss_resize(const f_array_length_t length, f_int128ss_t *int128ss);
+ extern f_status_t f_int128ss_resize(const f_number_unsigned_t length, f_int128ss_t *int128ss);
#endif // _di_f_int128ss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_int16s_adjust_
- f_status_t f_int16s_adjust(const f_array_length_t length, f_int16s_t *int16s) {
+ f_status_t f_int16s_adjust(const f_number_unsigned_t length, f_int16s_t *int16s) {
#ifndef _di_level_0_parameter_checking_
if (!int16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int16s_append_all_
#ifndef _di_f_int16s_decimate_by_
- f_status_t f_int16s_decimate_by(const f_array_length_t amount, f_int16s_t *int16s) {
+ f_status_t f_int16s_decimate_by(const f_number_unsigned_t amount, f_int16s_t *int16s) {
#ifndef _di_level_0_parameter_checking_
if (!int16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int16s_decimate_by_
#ifndef _di_f_int16s_decrease_by_
- f_status_t f_int16s_decrease_by(const f_array_length_t amount, f_int16s_t *int16s) {
+ f_status_t f_int16s_decrease_by(const f_number_unsigned_t amount, f_int16s_t *int16s) {
#ifndef _di_level_0_parameter_checking_
if (!int16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int16s_decrease_by_
#ifndef _di_f_int16s_increase_
- f_status_t f_int16s_increase(const f_array_length_t step, f_int16s_t *int16s) {
+ f_status_t f_int16s_increase(const f_number_unsigned_t step, f_int16s_t *int16s) {
#ifndef _di_level_0_parameter_checking_
if (!int16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int16s->used + 1 > int16s->size) {
- f_array_length_t size = int16s->used + step;
+ f_number_unsigned_t size = int16s->used + step;
- if (size > F_array_length_t_size_d) {
- if (int16s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int16s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int16s_resize(size, int16s);
#endif // _di_f_int16s_increase_
#ifndef _di_f_int16s_increase_by_
- f_status_t f_int16s_increase_by(const f_array_length_t amount, f_int16s_t *int16s) {
+ f_status_t f_int16s_increase_by(const f_number_unsigned_t amount, f_int16s_t *int16s) {
#ifndef _di_level_0_parameter_checking_
if (!int16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int16s->used + amount > int16s->size) {
- if (int16s->used + amount > F_array_length_t_size_d) {
+ if (int16s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int16s_increase_by_
#ifndef _di_f_int16s_resize_
- f_status_t f_int16s_resize(const f_array_length_t length, f_int16s_t *int16s) {
+ f_status_t f_int16s_resize(const f_number_unsigned_t length, f_int16s_t *int16s) {
#ifndef _di_level_0_parameter_checking_
if (!int16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int16s_resize_
#ifndef _di_f_int16ss_adjust_
- f_status_t f_int16ss_adjust(const f_array_length_t length, f_int16ss_t *int16ss) {
+ f_status_t f_int16ss_adjust(const f_number_unsigned_t length, f_int16ss_t *int16ss) {
#ifndef _di_level_0_parameter_checking_
if (!int16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_int16ss_append_all_
#ifndef _di_f_int16ss_decimate_by_
- f_status_t f_int16ss_decimate_by(const f_array_length_t amount, f_int16ss_t *int16ss) {
+ f_status_t f_int16ss_decimate_by(const f_number_unsigned_t amount, f_int16ss_t *int16ss) {
#ifndef _di_level_0_parameter_checking_
if (!int16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int16ss_decimate_by_
#ifndef _di_f_int16ss_decrease_by_
- f_status_t f_int16ss_decrease_by(const f_array_length_t amount, f_int16ss_t *int16ss) {
+ f_status_t f_int16ss_decrease_by(const f_number_unsigned_t amount, f_int16ss_t *int16ss) {
#ifndef _di_level_0_parameter_checking_
if (!int16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int16ss_decrease_by_
#ifndef _di_f_int16ss_increase_
- f_status_t f_int16ss_increase(const f_array_length_t step, f_int16ss_t *int16ss) {
+ f_status_t f_int16ss_increase(const f_number_unsigned_t step, f_int16ss_t *int16ss) {
#ifndef _di_level_0_parameter_checking_
if (!int16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int16ss->used + 1 > int16ss->size) {
- f_array_length_t size = int16ss->used + step;
+ f_number_unsigned_t size = int16ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (int16ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int16ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int16ss_resize(size, int16ss);
#endif // _di_f_int16ss_increase_
#ifndef _di_f_int16ss_increase_by_
- f_status_t f_int16ss_increase_by(const f_array_length_t amount, f_int16ss_t *int16ss) {
+ f_status_t f_int16ss_increase_by(const f_number_unsigned_t amount, f_int16ss_t *int16ss) {
#ifndef _di_level_0_parameter_checking_
if (!int16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int16ss->used + amount > int16ss->size) {
- if (int16ss->used + amount > F_array_length_t_size_d) {
+ if (int16ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int16ss_increase_by_
#ifndef _di_f_int16ss_resize_
- f_status_t f_int16ss_resize(const f_array_length_t length, f_int16ss_t *int16ss) {
+ f_status_t f_int16ss_resize(const f_number_unsigned_t length, f_int16ss_t *int16ss) {
#ifndef _di_level_0_parameter_checking_
if (!int16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int16s_adjust_
- extern f_status_t f_int16s_adjust(const f_array_length_t length, f_int16s_t *int16s);
+ extern f_status_t f_int16s_adjust(const f_number_unsigned_t length, f_int16s_t *int16s);
#endif // _di_f_int16s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int16s_decimate_by_
- extern f_status_t f_int16s_decimate_by(const f_array_length_t amount, f_int16s_t *int16s);
+ extern f_status_t f_int16s_decimate_by(const f_number_unsigned_t amount, f_int16s_t *int16s);
#endif // _di_f_int16s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int16s_decrease_by_
- extern f_status_t f_int16s_decrease_by(const f_array_length_t amount, f_int16s_t *int16s);
+ extern f_status_t f_int16s_decrease_by(const f_number_unsigned_t amount, f_int16s_t *int16s);
#endif // _di_f_int16s_decrease_by_
/**
* Increase the size of the int16s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int16s_increase_
- extern f_status_t f_int16s_increase(const f_array_length_t step, f_int16s_t *int16s);
+ extern f_status_t f_int16s_increase(const f_number_unsigned_t step, f_int16s_t *int16s);
#endif // _di_f_int16s_increase_
/**
* Resize the int16s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int16s_increase_by_
- extern f_status_t f_int16s_increase_by(const f_array_length_t amount, f_int16s_t *int16s);
+ extern f_status_t f_int16s_increase_by(const f_number_unsigned_t amount, f_int16s_t *int16s);
#endif // _di_f_int16s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int16s_resize_
- extern f_status_t f_int16s_resize(const f_array_length_t length, f_int16s_t *int16s);
+ extern f_status_t f_int16s_resize(const f_number_unsigned_t length, f_int16s_t *int16s);
#endif // _di_f_int16s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int16ss_adjust_
- extern f_status_t f_int16ss_adjust(const f_array_length_t length, f_int16ss_t *int16ss);
+ extern f_status_t f_int16ss_adjust(const f_number_unsigned_t length, f_int16ss_t *int16ss);
#endif // _di_f_int16ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int16ss_decimate_by_
- extern f_status_t f_int16ss_decimate_by(const f_array_length_t amount, f_int16ss_t *int16ss);
+ extern f_status_t f_int16ss_decimate_by(const f_number_unsigned_t amount, f_int16ss_t *int16ss);
#endif // _di_f_int16ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int16ss_decrease_by_
- extern f_status_t f_int16ss_decrease_by(const f_array_length_t amount, f_int16ss_t *int16ss);
+ extern f_status_t f_int16ss_decrease_by(const f_number_unsigned_t amount, f_int16ss_t *int16ss);
#endif // _di_f_int16ss_decrease_by_
/**
* Increase the size of the int16ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int16ss_increase_
- extern f_status_t f_int16ss_increase(const f_array_length_t step, f_int16ss_t *int16ss);
+ extern f_status_t f_int16ss_increase(const f_number_unsigned_t step, f_int16ss_t *int16ss);
#endif // _di_f_int16ss_increase_
/**
* Resize the int16ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int16ss_increase_by_
- extern f_status_t f_int16ss_increase_by(const f_array_length_t amount, f_int16ss_t *int16ss);
+ extern f_status_t f_int16ss_increase_by(const f_number_unsigned_t amount, f_int16ss_t *int16ss);
#endif // _di_f_int16ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int16ss_resize_
- extern f_status_t f_int16ss_resize(const f_array_length_t length, f_int16ss_t *int16ss);
+ extern f_status_t f_int16ss_resize(const f_number_unsigned_t length, f_int16ss_t *int16ss);
#endif // _di_f_int16ss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_int32s_adjust_
- f_status_t f_int32s_adjust(const f_array_length_t length, f_int32s_t *int32s) {
+ f_status_t f_int32s_adjust(const f_number_unsigned_t length, f_int32s_t *int32s) {
#ifndef _di_level_0_parameter_checking_
if (!int32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int32s_append_all_
#ifndef _di_f_int32s_decimate_by_
- f_status_t f_int32s_decimate_by(const f_array_length_t amount, f_int32s_t *int32s) {
+ f_status_t f_int32s_decimate_by(const f_number_unsigned_t amount, f_int32s_t *int32s) {
#ifndef _di_level_0_parameter_checking_
if (!int32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int32s_decimate_by_
#ifndef _di_f_int32s_decrease_by_
- f_status_t f_int32s_decrease_by(const f_array_length_t amount, f_int32s_t *int32s) {
+ f_status_t f_int32s_decrease_by(const f_number_unsigned_t amount, f_int32s_t *int32s) {
#ifndef _di_level_0_parameter_checking_
if (!int32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int32s_decrease_by_
#ifndef _di_f_int32s_increase_
- f_status_t f_int32s_increase(const f_array_length_t step, f_int32s_t *int32s) {
+ f_status_t f_int32s_increase(const f_number_unsigned_t step, f_int32s_t *int32s) {
#ifndef _di_level_0_parameter_checking_
if (!int32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int32s->used + 1 > int32s->size) {
- f_array_length_t size = int32s->used + step;
+ f_number_unsigned_t size = int32s->used + step;
- if (size > F_array_length_t_size_d) {
- if (int32s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int32s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int32s_resize(size, int32s);
#endif // _di_f_int32s_increase_
#ifndef _di_f_int32s_increase_by_
- f_status_t f_int32s_increase_by(const f_array_length_t amount, f_int32s_t *int32s) {
+ f_status_t f_int32s_increase_by(const f_number_unsigned_t amount, f_int32s_t *int32s) {
#ifndef _di_level_0_parameter_checking_
if (!int32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int32s->used + amount > int32s->size) {
- if (int32s->used + amount > F_array_length_t_size_d) {
+ if (int32s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int32s_increase_by_
#ifndef _di_f_int32s_resize_
- f_status_t f_int32s_resize(const f_array_length_t length, f_int32s_t *int32s) {
+ f_status_t f_int32s_resize(const f_number_unsigned_t length, f_int32s_t *int32s) {
#ifndef _di_level_0_parameter_checking_
if (!int32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int32s_resize_
#ifndef _di_f_int32ss_adjust_
- f_status_t f_int32ss_adjust(const f_array_length_t length, f_int32ss_t *int32ss) {
+ f_status_t f_int32ss_adjust(const f_number_unsigned_t length, f_int32ss_t *int32ss) {
#ifndef _di_level_0_parameter_checking_
if (!int32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_int32ss_append_all_
#ifndef _di_f_int32ss_decimate_by_
- f_status_t f_int32ss_decimate_by(const f_array_length_t amount, f_int32ss_t *int32ss) {
+ f_status_t f_int32ss_decimate_by(const f_number_unsigned_t amount, f_int32ss_t *int32ss) {
#ifndef _di_level_0_parameter_checking_
if (!int32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int32ss_decimate_by_
#ifndef _di_f_int32ss_decrease_by_
- f_status_t f_int32ss_decrease_by(const f_array_length_t amount, f_int32ss_t *int32ss) {
+ f_status_t f_int32ss_decrease_by(const f_number_unsigned_t amount, f_int32ss_t *int32ss) {
#ifndef _di_level_0_parameter_checking_
if (!int32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int32ss_decrease_by_
#ifndef _di_f_int32ss_increase_
- f_status_t f_int32ss_increase(const f_array_length_t step, f_int32ss_t *int32ss) {
+ f_status_t f_int32ss_increase(const f_number_unsigned_t step, f_int32ss_t *int32ss) {
#ifndef _di_level_0_parameter_checking_
if (!int32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int32ss->used + 1 > int32ss->size) {
- f_array_length_t size = int32ss->used + step;
+ f_number_unsigned_t size = int32ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (int32ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int32ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int32ss_resize(size, int32ss);
#endif // _di_f_int32ss_increase_
#ifndef _di_f_int32ss_increase_by_
- f_status_t f_int32ss_increase_by(const f_array_length_t amount, f_int32ss_t *int32ss) {
+ f_status_t f_int32ss_increase_by(const f_number_unsigned_t amount, f_int32ss_t *int32ss) {
#ifndef _di_level_0_parameter_checking_
if (!int32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int32ss->used + amount > int32ss->size) {
- if (int32ss->used + amount > F_array_length_t_size_d) {
+ if (int32ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int32ss_increase_by_
#ifndef _di_f_int32ss_resize_
- f_status_t f_int32ss_resize(const f_array_length_t length, f_int32ss_t *int32ss) {
+ f_status_t f_int32ss_resize(const f_number_unsigned_t length, f_int32ss_t *int32ss) {
#ifndef _di_level_0_parameter_checking_
if (!int32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int32s_adjust_
- extern f_status_t f_int32s_adjust(const f_array_length_t length, f_int32s_t *int32s);
+ extern f_status_t f_int32s_adjust(const f_number_unsigned_t length, f_int32s_t *int32s);
#endif // _di_f_int32s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int32s_decimate_by_
- extern f_status_t f_int32s_decimate_by(const f_array_length_t amount, f_int32s_t *int32s);
+ extern f_status_t f_int32s_decimate_by(const f_number_unsigned_t amount, f_int32s_t *int32s);
#endif // _di_f_int32s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int32s_decrease_by_
- extern f_status_t f_int32s_decrease_by(const f_array_length_t amount, f_int32s_t *int32s);
+ extern f_status_t f_int32s_decrease_by(const f_number_unsigned_t amount, f_int32s_t *int32s);
#endif // _di_f_int32s_decrease_by_
/**
* Increase the size of the int32s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int32s_increase_
- extern f_status_t f_int32s_increase(const f_array_length_t step, f_int32s_t *int32s);
+ extern f_status_t f_int32s_increase(const f_number_unsigned_t step, f_int32s_t *int32s);
#endif // _di_f_int32s_increase_
/**
* Resize the int32s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int32s_increase_by_
- extern f_status_t f_int32s_increase_by(const f_array_length_t amount, f_int32s_t *int32s);
+ extern f_status_t f_int32s_increase_by(const f_number_unsigned_t amount, f_int32s_t *int32s);
#endif // _di_f_int32s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int32s_resize_
- extern f_status_t f_int32s_resize(const f_array_length_t length, f_int32s_t *int32s);
+ extern f_status_t f_int32s_resize(const f_number_unsigned_t length, f_int32s_t *int32s);
#endif // _di_f_int32s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int32ss_adjust_
- extern f_status_t f_int32ss_adjust(const f_array_length_t length, f_int32ss_t *int32ss);
+ extern f_status_t f_int32ss_adjust(const f_number_unsigned_t length, f_int32ss_t *int32ss);
#endif // _di_f_int32ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int32ss_decimate_by_
- extern f_status_t f_int32ss_decimate_by(const f_array_length_t amount, f_int32ss_t *int32ss);
+ extern f_status_t f_int32ss_decimate_by(const f_number_unsigned_t amount, f_int32ss_t *int32ss);
#endif // _di_f_int32ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int32ss_decrease_by_
- extern f_status_t f_int32ss_decrease_by(const f_array_length_t amount, f_int32ss_t *int32ss);
+ extern f_status_t f_int32ss_decrease_by(const f_number_unsigned_t amount, f_int32ss_t *int32ss);
#endif // _di_f_int32ss_decrease_by_
/**
* Increase the size of the int32ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int32ss_increase_
- extern f_status_t f_int32ss_increase(const f_array_length_t step, f_int32ss_t *int32ss);
+ extern f_status_t f_int32ss_increase(const f_number_unsigned_t step, f_int32ss_t *int32ss);
#endif // _di_f_int32ss_increase_
/**
* Resize the int32ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int32ss_increase_by_
- extern f_status_t f_int32ss_increase_by(const f_array_length_t amount, f_int32ss_t *int32ss);
+ extern f_status_t f_int32ss_increase_by(const f_number_unsigned_t amount, f_int32ss_t *int32ss);
#endif // _di_f_int32ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int32ss_resize_
- extern f_status_t f_int32ss_resize(const f_array_length_t length, f_int32ss_t *int32ss);
+ extern f_status_t f_int32ss_resize(const f_number_unsigned_t length, f_int32ss_t *int32ss);
#endif // _di_f_int32ss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_int64s_adjust_
- f_status_t f_int64s_adjust(const f_array_length_t length, f_int64s_t *int64s) {
+ f_status_t f_int64s_adjust(const f_number_unsigned_t length, f_int64s_t *int64s) {
#ifndef _di_level_0_parameter_checking_
if (!int64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int64s_append_all_
#ifndef _di_f_int64s_decimate_by_
- f_status_t f_int64s_decimate_by(const f_array_length_t amount, f_int64s_t *int64s) {
+ f_status_t f_int64s_decimate_by(const f_number_unsigned_t amount, f_int64s_t *int64s) {
#ifndef _di_level_0_parameter_checking_
if (!int64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int64s_decimate_by_
#ifndef _di_f_int64s_decrease_by_
- f_status_t f_int64s_decrease_by(const f_array_length_t amount, f_int64s_t *int64s) {
+ f_status_t f_int64s_decrease_by(const f_number_unsigned_t amount, f_int64s_t *int64s) {
#ifndef _di_level_0_parameter_checking_
if (!int64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int64s_decrease_by_
#ifndef _di_f_int64s_increase_
- f_status_t f_int64s_increase(const f_array_length_t step, f_int64s_t *int64s) {
+ f_status_t f_int64s_increase(const f_number_unsigned_t step, f_int64s_t *int64s) {
#ifndef _di_level_0_parameter_checking_
if (!int64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int64s->used + 1 > int64s->size) {
- f_array_length_t size = int64s->used + step;
+ f_number_unsigned_t size = int64s->used + step;
- if (size > F_array_length_t_size_d) {
- if (int64s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int64s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int64s_resize(size, int64s);
#endif // _di_f_int64s_increase_
#ifndef _di_f_int64s_increase_by_
- f_status_t f_int64s_increase_by(const f_array_length_t amount, f_int64s_t *int64s) {
+ f_status_t f_int64s_increase_by(const f_number_unsigned_t amount, f_int64s_t *int64s) {
#ifndef _di_level_0_parameter_checking_
if (!int64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int64s->used + amount > int64s->size) {
- if (int64s->used + amount > F_array_length_t_size_d) {
+ if (int64s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int64s_increase_by_
#ifndef _di_f_int64s_resize_
- f_status_t f_int64s_resize(const f_array_length_t length, f_int64s_t *int64s) {
+ f_status_t f_int64s_resize(const f_number_unsigned_t length, f_int64s_t *int64s) {
#ifndef _di_level_0_parameter_checking_
if (!int64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int64s_resize_
#ifndef _di_f_int64ss_adjust_
- f_status_t f_int64ss_adjust(const f_array_length_t length, f_int64ss_t *int64ss) {
+ f_status_t f_int64ss_adjust(const f_number_unsigned_t length, f_int64ss_t *int64ss) {
#ifndef _di_level_0_parameter_checking_
if (!int64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_int64ss_append_all_
#ifndef _di_f_int64ss_decimate_by_
- f_status_t f_int64ss_decimate_by(const f_array_length_t amount, f_int64ss_t *int64ss) {
+ f_status_t f_int64ss_decimate_by(const f_number_unsigned_t amount, f_int64ss_t *int64ss) {
#ifndef _di_level_0_parameter_checking_
if (!int64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int64ss_decimate_by_
#ifndef _di_f_int64ss_decrease_by_
- f_status_t f_int64ss_decrease_by(const f_array_length_t amount, f_int64ss_t *int64ss) {
+ f_status_t f_int64ss_decrease_by(const f_number_unsigned_t amount, f_int64ss_t *int64ss) {
#ifndef _di_level_0_parameter_checking_
if (!int64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int64ss_decrease_by_
#ifndef _di_f_int64ss_increase_
- f_status_t f_int64ss_increase(const f_array_length_t step, f_int64ss_t *int64ss) {
+ f_status_t f_int64ss_increase(const f_number_unsigned_t step, f_int64ss_t *int64ss) {
#ifndef _di_level_0_parameter_checking_
if (!int64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int64ss->used + 1 > int64ss->size) {
- f_array_length_t size = int64ss->used + step;
+ f_number_unsigned_t size = int64ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (int64ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int64ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int64ss_resize(size, int64ss);
#endif // _di_f_int64ss_increase_
#ifndef _di_f_int64ss_increase_by_
- f_status_t f_int64ss_increase_by(const f_array_length_t amount, f_int64ss_t *int64ss) {
+ f_status_t f_int64ss_increase_by(const f_number_unsigned_t amount, f_int64ss_t *int64ss) {
#ifndef _di_level_0_parameter_checking_
if (!int64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int64ss->used + amount > int64ss->size) {
- if (int64ss->used + amount > F_array_length_t_size_d) {
+ if (int64ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int64ss_increase_by_
#ifndef _di_f_int64ss_resize_
- f_status_t f_int64ss_resize(const f_array_length_t length, f_int64ss_t *int64ss) {
+ f_status_t f_int64ss_resize(const f_number_unsigned_t length, f_int64ss_t *int64ss) {
#ifndef _di_level_0_parameter_checking_
if (!int64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int64s_adjust_
- extern f_status_t f_int64s_adjust(const f_array_length_t length, f_int64s_t *int64s);
+ extern f_status_t f_int64s_adjust(const f_number_unsigned_t length, f_int64s_t *int64s);
#endif // _di_f_int64s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int64s_decimate_by_
- extern f_status_t f_int64s_decimate_by(const f_array_length_t amount, f_int64s_t *int64s);
+ extern f_status_t f_int64s_decimate_by(const f_number_unsigned_t amount, f_int64s_t *int64s);
#endif // _di_f_int64s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int64s_decrease_by_
- extern f_status_t f_int64s_decrease_by(const f_array_length_t amount, f_int64s_t *int64s);
+ extern f_status_t f_int64s_decrease_by(const f_number_unsigned_t amount, f_int64s_t *int64s);
#endif // _di_f_int64s_decrease_by_
/**
* Increase the size of the int64s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int64s_increase_
- extern f_status_t f_int64s_increase(const f_array_length_t step, f_int64s_t *int64s);
+ extern f_status_t f_int64s_increase(const f_number_unsigned_t step, f_int64s_t *int64s);
#endif // _di_f_int64s_increase_
/**
* Resize the int64s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int64s_increase_by_
- extern f_status_t f_int64s_increase_by(const f_array_length_t amount, f_int64s_t *int64s);
+ extern f_status_t f_int64s_increase_by(const f_number_unsigned_t amount, f_int64s_t *int64s);
#endif // _di_f_int64s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int64s_resize_
- extern f_status_t f_int64s_resize(const f_array_length_t length, f_int64s_t *int64s);
+ extern f_status_t f_int64s_resize(const f_number_unsigned_t length, f_int64s_t *int64s);
#endif // _di_f_int64s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int64ss_adjust_
- extern f_status_t f_int64ss_adjust(const f_array_length_t length, f_int64ss_t *int64ss);
+ extern f_status_t f_int64ss_adjust(const f_number_unsigned_t length, f_int64ss_t *int64ss);
#endif // _di_f_int64ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int64ss_decimate_by_
- extern f_status_t f_int64ss_decimate_by(const f_array_length_t amount, f_int64ss_t *int64ss);
+ extern f_status_t f_int64ss_decimate_by(const f_number_unsigned_t amount, f_int64ss_t *int64ss);
#endif // _di_f_int64ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int64ss_decrease_by_
- extern f_status_t f_int64ss_decrease_by(const f_array_length_t amount, f_int64ss_t *int64ss);
+ extern f_status_t f_int64ss_decrease_by(const f_number_unsigned_t amount, f_int64ss_t *int64ss);
#endif // _di_f_int64ss_decrease_by_
/**
* Increase the size of the int64ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int64ss_increase_
- extern f_status_t f_int64ss_increase(const f_array_length_t step, f_int64ss_t *int64ss);
+ extern f_status_t f_int64ss_increase(const f_number_unsigned_t step, f_int64ss_t *int64ss);
#endif // _di_f_int64ss_increase_
/**
* Resize the int64ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int64ss_increase_by_
- extern f_status_t f_int64ss_increase_by(const f_array_length_t amount, f_int64ss_t *int64ss);
+ extern f_status_t f_int64ss_increase_by(const f_number_unsigned_t amount, f_int64ss_t *int64ss);
#endif // _di_f_int64ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int64ss_resize_
- extern f_status_t f_int64ss_resize(const f_array_length_t length, f_int64ss_t *int64ss);
+ extern f_status_t f_int64ss_resize(const f_number_unsigned_t length, f_int64ss_t *int64ss);
#endif // _di_f_int64ss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_int8s_adjust_
- f_status_t f_int8s_adjust(const f_array_length_t length, f_int8s_t *int8s) {
+ f_status_t f_int8s_adjust(const f_number_unsigned_t length, f_int8s_t *int8s) {
#ifndef _di_level_0_parameter_checking_
if (!int8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int8s_append_all_
#ifndef _di_f_int8s_decimate_by_
- f_status_t f_int8s_decimate_by(const f_array_length_t amount, f_int8s_t *int8s) {
+ f_status_t f_int8s_decimate_by(const f_number_unsigned_t amount, f_int8s_t *int8s) {
#ifndef _di_level_0_parameter_checking_
if (!int8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int8s_decimate_by_
#ifndef _di_f_int8s_decrease_by_
- f_status_t f_int8s_decrease_by(const f_array_length_t amount, f_int8s_t *int8s) {
+ f_status_t f_int8s_decrease_by(const f_number_unsigned_t amount, f_int8s_t *int8s) {
#ifndef _di_level_0_parameter_checking_
if (!int8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int8s_decrease_by_
#ifndef _di_f_int8s_increase_
- f_status_t f_int8s_increase(const f_array_length_t step, f_int8s_t *int8s) {
+ f_status_t f_int8s_increase(const f_number_unsigned_t step, f_int8s_t *int8s) {
#ifndef _di_level_0_parameter_checking_
if (!int8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int8s->used + 1 > int8s->size) {
- f_array_length_t size = int8s->used + step;
+ f_number_unsigned_t size = int8s->used + step;
- if (size > F_array_length_t_size_d) {
- if (int8s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int8s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int8s_resize(size, int8s);
#endif // _di_f_int8s_increase_
#ifndef _di_f_int8s_increase_by_
- f_status_t f_int8s_increase_by(const f_array_length_t amount, f_int8s_t *int8s) {
+ f_status_t f_int8s_increase_by(const f_number_unsigned_t amount, f_int8s_t *int8s) {
#ifndef _di_level_0_parameter_checking_
if (!int8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int8s->used + amount > int8s->size) {
- if (int8s->used + amount > F_array_length_t_size_d) {
+ if (int8s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int8s_increase_by_
#ifndef _di_f_int8s_resize_
- f_status_t f_int8s_resize(const f_array_length_t length, f_int8s_t *int8s) {
+ f_status_t f_int8s_resize(const f_number_unsigned_t length, f_int8s_t *int8s) {
#ifndef _di_level_0_parameter_checking_
if (!int8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int8s_resize_
#ifndef _di_f_int8ss_adjust_
- f_status_t f_int8ss_adjust(const f_array_length_t length, f_int8ss_t *int8ss) {
+ f_status_t f_int8ss_adjust(const f_number_unsigned_t length, f_int8ss_t *int8ss) {
#ifndef _di_level_0_parameter_checking_
if (!int8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_int8ss_append_all_
#ifndef _di_f_int8ss_decimate_by_
- f_status_t f_int8ss_decimate_by(const f_array_length_t amount, f_int8ss_t *int8ss) {
+ f_status_t f_int8ss_decimate_by(const f_number_unsigned_t amount, f_int8ss_t *int8ss) {
#ifndef _di_level_0_parameter_checking_
if (!int8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int8ss_decimate_by_
#ifndef _di_f_int8ss_decrease_by_
- f_status_t f_int8ss_decrease_by(const f_array_length_t amount, f_int8ss_t *int8ss) {
+ f_status_t f_int8ss_decrease_by(const f_number_unsigned_t amount, f_int8ss_t *int8ss) {
#ifndef _di_level_0_parameter_checking_
if (!int8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_int8ss_decrease_by_
#ifndef _di_f_int8ss_increase_
- f_status_t f_int8ss_increase(const f_array_length_t step, f_int8ss_t *int8ss) {
+ f_status_t f_int8ss_increase(const f_number_unsigned_t step, f_int8ss_t *int8ss) {
#ifndef _di_level_0_parameter_checking_
if (!int8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && int8ss->used + 1 > int8ss->size) {
- f_array_length_t size = int8ss->used + step;
+ f_number_unsigned_t size = int8ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (int8ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (int8ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_int8ss_resize(size, int8ss);
#endif // _di_f_int8ss_increase_
#ifndef _di_f_int8ss_increase_by_
- f_status_t f_int8ss_increase_by(const f_array_length_t amount, f_int8ss_t *int8ss) {
+ f_status_t f_int8ss_increase_by(const f_number_unsigned_t amount, f_int8ss_t *int8ss) {
#ifndef _di_level_0_parameter_checking_
if (!int8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (int8ss->used + amount > int8ss->size) {
- if (int8ss->used + amount > F_array_length_t_size_d) {
+ if (int8ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_int8ss_increase_by_
#ifndef _di_f_int8ss_resize_
- f_status_t f_int8ss_resize(const f_array_length_t length, f_int8ss_t *int8ss) {
+ f_status_t f_int8ss_resize(const f_number_unsigned_t length, f_int8ss_t *int8ss) {
#ifndef _di_level_0_parameter_checking_
if (!int8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int8s_adjust_
- extern f_status_t f_int8s_adjust(const f_array_length_t length, f_int8s_t *int8s);
+ extern f_status_t f_int8s_adjust(const f_number_unsigned_t length, f_int8s_t *int8s);
#endif // _di_f_int8s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_int8s_decimate_by_
- extern f_status_t f_int8s_decimate_by(const f_array_length_t amount, f_int8s_t *int8s);
+ extern f_status_t f_int8s_decimate_by(const f_number_unsigned_t amount, f_int8s_t *int8s);
#endif // _di_f_int8s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int8s_decrease_by_
- extern f_status_t f_int8s_decrease_by(const f_array_length_t amount, f_int8s_t *int8s);
+ extern f_status_t f_int8s_decrease_by(const f_number_unsigned_t amount, f_int8s_t *int8s);
#endif // _di_f_int8s_decrease_by_
/**
* Increase the size of the int8s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int8s_increase_
- extern f_status_t f_int8s_increase(const f_array_length_t step, f_int8s_t *int8s);
+ extern f_status_t f_int8s_increase(const f_number_unsigned_t step, f_int8s_t *int8s);
#endif // _di_f_int8s_increase_
/**
* Resize the int8s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int8s_increase_by_
- extern f_status_t f_int8s_increase_by(const f_array_length_t amount, f_int8s_t *int8s);
+ extern f_status_t f_int8s_increase_by(const f_number_unsigned_t amount, f_int8s_t *int8s);
#endif // _di_f_int8s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int8s_resize_
- extern f_status_t f_int8s_resize(const f_array_length_t length, f_int8s_t *int8s);
+ extern f_status_t f_int8s_resize(const f_number_unsigned_t length, f_int8s_t *int8s);
#endif // _di_f_int8s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int8ss_adjust_
- extern f_status_t f_int8ss_adjust(const f_array_length_t length, f_int8ss_t *int8ss);
+ extern f_status_t f_int8ss_adjust(const f_number_unsigned_t length, f_int8ss_t *int8ss);
#endif // _di_f_int8ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_int8ss_decimate_by_
- extern f_status_t f_int8ss_decimate_by(const f_array_length_t amount, f_int8ss_t *int8ss);
+ extern f_status_t f_int8ss_decimate_by(const f_number_unsigned_t amount, f_int8ss_t *int8ss);
#endif // _di_f_int8ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int8ss_decrease_by_
- extern f_status_t f_int8ss_decrease_by(const f_array_length_t amount, f_int8ss_t *int8ss);
+ extern f_status_t f_int8ss_decrease_by(const f_number_unsigned_t amount, f_int8ss_t *int8ss);
#endif // _di_f_int8ss_decrease_by_
/**
* Increase the size of the int8ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int8ss_increase_
- extern f_status_t f_int8ss_increase(const f_array_length_t step, f_int8ss_t *int8ss);
+ extern f_status_t f_int8ss_increase(const f_number_unsigned_t step, f_int8ss_t *int8ss);
#endif // _di_f_int8ss_increase_
/**
* Resize the int8ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int8ss_increase_by_
- extern f_status_t f_int8ss_increase_by(const f_array_length_t amount, f_int8ss_t *int8ss);
+ extern f_status_t f_int8ss_increase_by(const f_number_unsigned_t amount, f_int8ss_t *int8ss);
#endif // _di_f_int8ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_int8ss_resize_
- extern f_status_t f_int8ss_resize(const f_array_length_t length, f_int8ss_t *int8ss);
+ extern f_status_t f_int8ss_resize(const f_number_unsigned_t length, f_int8ss_t *int8ss);
#endif // _di_f_int8ss_resize_
#ifdef __cplusplus
--- /dev/null
+#include "../type_array.h"
+#include "number_unsigned.h"
+#include "private-number_unsigned.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef _di_f_number_unsigneds_adjust_
+ f_status_t f_number_unsigneds_adjust(const f_number_unsigned_t length, f_number_unsigneds_t *lengths) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengths) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ return private_f_number_unsigneds_adjust(length, lengths);
+ }
+#endif // _di_f_number_unsigneds_adjust_
+
+#ifndef _di_f_number_unsigneds_append_
+ f_status_t f_number_unsigneds_append(const f_number_unsigned_t source, f_number_unsigneds_t *destination) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!destination) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (destination->used + 1 > destination->size) {
+ const f_status_t status = private_f_number_unsigneds_resize(destination->used + F_memory_default_allocation_small_d, destination);
+ if (F_status_is_error(status)) return status;
+ }
+
+ destination->array[destination->used++] = source;
+
+ return F_none;
+ }
+#endif // _di_f_number_unsigneds_append_
+
+#ifndef _di_f_number_unsigneds_append_all_
+ f_status_t f_number_unsigneds_append_all(const f_number_unsigneds_t source, f_number_unsigneds_t *destination) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!destination) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (!source.used) return F_data_not;
+
+ return private_f_number_unsigneds_append_all(source, destination);
+ }
+#endif // _di_f_number_unsigneds_append_all_
+
+#ifndef _di_f_number_unsigneds_decimate_by_
+ f_status_t f_number_unsigneds_decimate_by(const f_number_unsigned_t amount, f_number_unsigneds_t *lengths) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengths) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (!amount) return F_data_not;
+
+ if (lengths->size - amount > 0) {
+ return private_f_number_unsigneds_adjust(lengths->size - amount, lengths);
+ }
+
+ return private_f_number_unsigneds_adjust(0, lengths);
+ }
+#endif // _di_f_number_unsigneds_decimate_by_
+
+#ifndef _di_f_number_unsigneds_decrease_by_
+ f_status_t f_number_unsigneds_decrease_by(const f_number_unsigned_t amount, f_number_unsigneds_t *lengths) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengths) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (!amount) return F_data_not;
+
+ if (lengths->size - amount > 0) {
+ return private_f_number_unsigneds_resize(lengths->size - amount, lengths);
+ }
+
+ return private_f_number_unsigneds_resize(0, lengths);
+ }
+#endif // _di_f_number_unsigneds_decrease_by_
+
+#ifndef _di_f_number_unsigneds_increase_
+ f_status_t f_number_unsigneds_increase(const f_number_unsigned_t step, f_number_unsigneds_t *lengths) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengths) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (step && lengths->used + 1 > lengths->size) {
+ f_number_unsigned_t size = lengths->used + step;
+
+ if (size > F_number_t_size_unsigned_d) {
+ if (lengths->used + 1 > F_number_t_size_unsigned_d) {
+ return F_status_set_error(F_array_too_large);
+ }
+
+ size = F_number_t_size_unsigned_d;
+ }
+
+ return private_f_number_unsigneds_resize(size, lengths);
+ }
+
+ return F_data_not;
+ }
+#endif // _di_f_number_unsigneds_increase_
+
+#ifndef _di_f_number_unsigneds_increase_by_
+ f_status_t f_number_unsigneds_increase_by(const f_number_unsigned_t amount, f_number_unsigneds_t *lengths) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengths) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (!amount) return F_data_not;
+
+ if (lengths->used + amount > lengths->size) {
+ if (lengths->used + amount > F_number_t_size_unsigned_d) {
+ return F_status_set_error(F_array_too_large);
+ }
+
+ return private_f_number_unsigneds_resize(lengths->used + amount, lengths);
+ }
+
+ return F_data_not;
+ }
+#endif // _di_f_number_unsigneds_increase_by_
+
+#ifndef _di_f_number_unsigneds_resize_
+ f_status_t f_number_unsigneds_resize(const f_number_unsigned_t length, f_number_unsigneds_t *lengths) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengths) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ return private_f_number_unsigneds_resize(length, lengths);
+ }
+#endif // _di_f_number_unsigneds_resize_
+
+#ifndef _di_f_number_unsignedss_adjust_
+ f_status_t f_number_unsignedss_adjust(const f_number_unsigned_t length, f_number_unsignedss_t *lengthss) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengthss) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ return private_f_number_unsignedss_adjust(length, lengthss);
+ }
+#endif // _di_f_number_unsignedss_adjust_
+
+#ifndef _di_f_number_unsignedss_append_
+ f_status_t f_number_unsignedss_append(const f_number_unsigneds_t source, f_number_unsignedss_t *destination) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!destination) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (!source.used) return F_data_not;
+
+ f_status_t status = F_none;
+
+ if (destination->used + 1 > destination->size) {
+ status = private_f_number_unsignedss_resize(destination->used + F_memory_default_allocation_small_d, destination);
+ if (F_status_is_error(status)) return status;
+ }
+
+ status = private_f_number_unsigneds_append_all(source, &destination->array[destination->used]);
+ if (F_status_is_error(status)) return status;
+
+ ++destination->used;
+
+ return F_none;
+ }
+#endif // _di_f_number_unsignedss_append_
+
+#ifndef _di_f_number_unsignedss_append_all_
+ f_status_t f_number_unsignedss_append_all(const f_number_unsignedss_t source, f_number_unsignedss_t *destination) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!destination) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (!source.used) return F_data_not;
+
+ f_status_t status = F_none;
+
+ if (destination->used + source.used > destination->size) {
+ status = private_f_number_unsignedss_resize(destination->used + source.used, destination);
+ if (F_status_is_error(status)) return status;
+ }
+
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
+
+ destination->array[destination->used].used = 0;
+
+ if (source.array[i].used) {
+ status = private_f_number_unsigneds_append_all(source.array[i], &destination->array[destination->used]);
+ if (F_status_is_error(status)) return status;
+ }
+ } // for
+
+ return F_none;
+ }
+#endif // _di_f_number_unsignedss_append_all_
+
+#ifndef _di_f_number_unsignedss_decimate_by_
+ f_status_t f_number_unsignedss_decimate_by(const f_number_unsigned_t amount, f_number_unsignedss_t *lengthss) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengthss) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (!amount) return F_data_not;
+
+ if (lengthss->size - amount > 0) {
+ return private_f_number_unsignedss_adjust(lengthss->size - amount, lengthss);
+ }
+
+ return private_f_number_unsignedss_adjust(0, lengthss);
+ }
+#endif // _di_f_number_unsignedss_decimate_by_
+
+#ifndef _di_f_number_unsignedss_decrease_by_
+ f_status_t f_number_unsignedss_decrease_by(const f_number_unsigned_t amount, f_number_unsignedss_t *lengthss) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengthss) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (!amount) return F_data_not;
+
+ if (lengthss->size - amount > 0) {
+ return private_f_number_unsignedss_resize(lengthss->size - amount, lengthss);
+ }
+
+ return private_f_number_unsignedss_resize(0, lengthss);
+ }
+#endif // _di_f_number_unsignedss_decrease_by_
+
+#ifndef _di_f_number_unsignedss_increase_
+ f_status_t f_number_unsignedss_increase(const f_number_unsigned_t step, f_number_unsignedss_t *lengthss) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengthss) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (step && lengthss->used + 1 > lengthss->size) {
+ f_number_unsigned_t size = lengthss->used + step;
+
+ if (size > F_number_t_size_unsigned_d) {
+ if (lengthss->used + 1 > F_number_t_size_unsigned_d) {
+ return F_status_set_error(F_array_too_large);
+ }
+
+ size = F_number_t_size_unsigned_d;
+ }
+
+ return private_f_number_unsignedss_resize(size, lengthss);
+ }
+
+ return F_data_not;
+ }
+#endif // _di_f_number_unsignedss_increase_
+
+#ifndef _di_f_number_unsignedss_increase_by_
+ f_status_t f_number_unsignedss_increase_by(const f_number_unsigned_t amount, f_number_unsignedss_t *lengthss) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengthss) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ if (!amount) return F_data_not;
+
+ if (lengthss->used + amount > lengthss->size) {
+ if (lengthss->used + amount > F_number_t_size_unsigned_d) {
+ return F_status_set_error(F_array_too_large);
+ }
+
+ return private_f_number_unsignedss_resize(lengthss->used + amount, lengthss);
+ }
+
+ return F_data_not;
+ }
+#endif // _di_f_number_unsignedss_increase_by_
+
+#ifndef _di_f_number_unsignedss_resize_
+ f_status_t f_number_unsignedss_resize(const f_number_unsigned_t length, f_number_unsignedss_t *lengthss) {
+ #ifndef _di_level_0_parameter_checking_
+ if (!lengthss) return F_status_set_error(F_parameter);
+ #endif // _di_level_0_parameter_checking_
+
+ return private_f_number_unsignedss_resize(length, lengthss);
+ }
+#endif // _di_f_number_unsignedss_resize_
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
*
* This is auto-included by type_array.h and should not need to be explicitly included.
*/
-#ifndef _F_type_array_array_length_h
-#define _F_type_array_array_length_h
+#ifndef _F_type_array_number_unsigned_h
+#define _F_type_array_number_unsigned_h
#ifdef __cplusplus
extern "C" {
*
* Errors (with error bit) from: f_memory_adjust().
*/
-#ifndef _di_f_array_lengths_adjust_
- extern f_status_t f_array_lengths_adjust(const f_array_length_t length, f_array_lengths_t *lengths);
-#endif // _di_f_array_lengths_adjust_
+#ifndef _di_f_number_unsigneds_adjust_
+ extern f_status_t f_number_unsigneds_adjust(const f_number_unsigned_t length, f_number_unsigneds_t *lengths);
+#endif // _di_f_number_unsigneds_adjust_
/**
* Append the single source length onto the destination.
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengths_append_
- extern f_status_t f_array_lengths_append(const f_array_length_t source, f_array_lengths_t *destination);
-#endif // _di_f_array_lengths_append_
+#ifndef _di_f_number_unsigneds_append_
+ extern f_status_t f_number_unsigneds_append(const f_number_unsigned_t source, f_number_unsigneds_t *destination);
+#endif // _di_f_number_unsigneds_append_
/**
* Append the source lengths onto the destination.
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengths_append_all_
- extern f_status_t f_array_lengths_append_all(const f_array_lengths_t source, f_array_lengths_t *destination);
-#endif // _di_f_array_lengths_append_all_
+#ifndef _di_f_number_unsigneds_append_all_
+ extern f_status_t f_number_unsigneds_append_all(const f_number_unsigneds_t source, f_number_unsigneds_t *destination);
+#endif // _di_f_number_unsigneds_append_all_
/**
* Resize the string lengths array to a smaller size.
*
* Errors (with error bit) from: f_memory_adjust().
*/
-#ifndef _di_f_array_lengths_decimate_by_
- extern f_status_t f_array_lengths_decimate_by(const f_array_length_t amount, f_array_lengths_t *lengths);
-#endif // _di_f_array_lengths_decimate_by_
+#ifndef _di_f_number_unsigneds_decimate_by_
+ extern f_status_t f_number_unsigneds_decimate_by(const f_number_unsigned_t amount, f_number_unsigneds_t *lengths);
+#endif // _di_f_number_unsigneds_decimate_by_
/**
* Resize the string lengths array to a smaller size.
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengths_decrease_by_
- extern f_status_t f_array_lengths_decrease_by(const f_array_length_t amount, f_array_lengths_t *lengths);
-#endif // _di_f_array_lengths_decrease_by_
+#ifndef _di_f_number_unsigneds_decrease_by_
+ extern f_status_t f_number_unsigneds_decrease_by(const f_number_unsigned_t amount, f_number_unsigneds_t *lengths);
+#endif // _di_f_number_unsigneds_decrease_by_
/**
* Increase the size of the string lengths array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengths_increase_
- extern f_status_t f_array_lengths_increase(const f_array_length_t step, f_array_lengths_t *lengths);
-#endif // _di_f_array_lengths_increase_
+#ifndef _di_f_number_unsigneds_increase_
+ extern f_status_t f_number_unsigneds_increase(const f_number_unsigned_t step, f_number_unsigneds_t *lengths);
+#endif // _di_f_number_unsigneds_increase_
/**
* Resize the string lengths array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengths_increase_by_
- extern f_status_t f_array_lengths_increase_by(const f_array_length_t amount, f_array_lengths_t *lengths);
-#endif // _di_f_array_lengths_increase_by_
+#ifndef _di_f_number_unsigneds_increase_by_
+ extern f_status_t f_number_unsigneds_increase_by(const f_number_unsigned_t amount, f_number_unsigneds_t *lengths);
+#endif // _di_f_number_unsigneds_increase_by_
/**
* Resize the string lengths array.
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengths_resize_
- extern f_status_t f_array_lengths_resize(const f_array_length_t length, f_array_lengths_t *lengths);
-#endif // _di_f_array_lengths_resize_
+#ifndef _di_f_number_unsigneds_resize_
+ extern f_status_t f_number_unsigneds_resize(const f_number_unsigned_t length, f_number_unsigneds_t *lengths);
+#endif // _di_f_number_unsigneds_resize_
/**
* Resize the string lengthss array.
* Errors (with error bit) from: f_memory_adjust().
* Errors (with error bit) from: f_memory_destroy().
*/
-#ifndef _di_f_array_lengthss_adjust_
- extern f_status_t f_array_lengthss_adjust(const f_array_length_t length, f_array_lengthss_t *lengthss);
-#endif // _di_f_array_lengthss_adjust_
+#ifndef _di_f_number_unsignedss_adjust_
+ extern f_status_t f_number_unsignedss_adjust(const f_number_unsigned_t length, f_number_unsignedss_t *lengthss);
+#endif // _di_f_number_unsignedss_adjust_
/**
* Append the single source lengths onto the destination.
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengthss_append_
- extern f_status_t f_array_lengthss_append(const f_array_lengths_t source, f_array_lengthss_t *destination);
-#endif // _di_f_array_lengthss_append_
+#ifndef _di_f_number_unsignedss_append_
+ extern f_status_t f_number_unsignedss_append(const f_number_unsigneds_t source, f_number_unsignedss_t *destination);
+#endif // _di_f_number_unsignedss_append_
/**
* Append the source lengthss onto the destination.
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengthss_append_all_
- extern f_status_t f_array_lengthss_append_all(const f_array_lengthss_t source, f_array_lengthss_t *destination);
-#endif // _di_f_array_lengthss_append_all_
+#ifndef _di_f_number_unsignedss_append_all_
+ extern f_status_t f_number_unsignedss_append_all(const f_number_unsignedss_t source, f_number_unsignedss_t *destination);
+#endif // _di_f_number_unsignedss_append_all_
/**
* Resize the string lengthss array to a smaller size.
* Errors (with error bit) from: f_memory_adjust().
* Errors (with error bit) from: f_memory_destroy().
*/
-#ifndef _di_f_array_lengthss_decimate_by_
- extern f_status_t f_array_lengthss_decimate_by(const f_array_length_t amount, f_array_lengthss_t *lengthss);
-#endif // _di_f_array_lengthss_decimate_by_
+#ifndef _di_f_number_unsignedss_decimate_by_
+ extern f_status_t f_number_unsignedss_decimate_by(const f_number_unsigned_t amount, f_number_unsignedss_t *lengthss);
+#endif // _di_f_number_unsignedss_decimate_by_
/**
* Resize the string lengthss array to a smaller size.
* Errors (with error bit) from: f_memory_delete().
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengthss_decrease_by_
- extern f_status_t f_array_lengthss_decrease_by(const f_array_length_t amount, f_array_lengthss_t *lengthss);
-#endif // _di_f_array_lengthss_decrease_by_
+#ifndef _di_f_number_unsignedss_decrease_by_
+ extern f_status_t f_number_unsignedss_decrease_by(const f_number_unsigned_t amount, f_number_unsignedss_t *lengthss);
+#endif // _di_f_number_unsignedss_decrease_by_
/**
* Increase the size of the string lengthss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengthss_increase_
- extern f_status_t f_array_lengthss_increase(const f_array_length_t step, f_array_lengthss_t *lengthss);
-#endif // _di_f_array_lengthss_increase_
+#ifndef _di_f_number_unsignedss_increase_
+ extern f_status_t f_number_unsignedss_increase(const f_number_unsigned_t step, f_number_unsignedss_t *lengthss);
+#endif // _di_f_number_unsignedss_increase_
/**
* Resize the string lengthss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
*
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengthss_increase_by_
- extern f_status_t f_array_lengthss_increase_by(const f_array_length_t amount, f_array_lengthss_t *lengthss);
-#endif // _di_f_array_lengthss_increase_by_
+#ifndef _di_f_number_unsignedss_increase_by_
+ extern f_status_t f_number_unsignedss_increase_by(const f_number_unsigned_t amount, f_number_unsignedss_t *lengthss);
+#endif // _di_f_number_unsignedss_increase_by_
/**
* Resize the string lengthss array.
* Errors (with error bit) from: f_memory_delete().
* Errors (with error bit) from: f_memory_resize().
*/
-#ifndef _di_f_array_lengthss_resize_
- extern f_status_t f_array_lengthss_resize(const f_array_length_t length, f_array_lengthss_t *lengthss);
-#endif // _di_f_array_lengthss_resize_
+#ifndef _di_f_number_unsignedss_resize_
+ extern f_status_t f_number_unsignedss_resize(const f_number_unsigned_t length, f_number_unsignedss_t *lengthss);
+#endif // _di_f_number_unsignedss_resize_
#ifdef __cplusplus
} // extern "C"
#endif
-#endif // _F_type_array_array_length_h
+#endif // _F_type_array_number_unsigned_h
+++ /dev/null
-#include "../type_array.h"
-#include "private-array_length.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#if !defined(_di_f_array_lengths_adjust_) || !defined(_di_f_array_lengths_decimate_by_)
- f_status_t private_f_array_lengths_adjust(const f_array_length_t length, f_array_lengths_t *array_lengths) {
-
- const f_status_t status = f_memory_adjust(array_lengths->size, length, sizeof(f_array_length_t), (void **) & array_lengths->array);
- if (F_status_is_error(status)) return status;
-
- array_lengths->size = length;
-
- if (array_lengths->used > array_lengths->size) {
- array_lengths->used = length;
- }
-
- return F_none;
- }
-#endif // !defined(_di_f_array_lengths_adjust_) || !defined(_di_f_array_lengths_decimate_by_)
-
-#if !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengthss_append_)
- extern f_status_t private_f_array_lengths_append(const f_array_length_t source, f_array_lengths_t *destination) {
-
- if (destination->used + 1 > destination->size) {
- const f_status_t status = private_f_array_lengths_resize(destination->used + F_memory_default_allocation_small_d, destination);
- if (F_status_is_error(status)) return status;
- }
-
- destination->array[destination->used++] = source;
-
- return F_none;
- }
-#endif // !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengthss_append_)
-
-#if !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengths_append_all_) || !defined(_di_f_array_lengthss_append_all_)
- extern f_status_t private_f_array_lengths_append_all(const f_array_lengths_t source, f_array_lengths_t *destination) {
-
- if (destination->used + source.used > destination->size) {
- const f_status_t status = private_f_array_lengths_resize(destination->used + source.used, destination);
- if (F_status_is_error(status)) return status;
- }
-
- for (f_array_length_t i = 0; i < source.used; ++i) {
- destination->array[destination->used++] = source.array[i];
- } // for
-
- return F_none;
- }
-#endif // !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengths_append_all_) || !defined(_di_f_array_lengthss_append_all_)
-
-#if !defined(_di_f_array_lengths_resize_) || !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengths_decrease_by_) || !defined(_di_f_array_lengthss_append_)
- f_status_t private_f_array_lengths_resize(const f_array_length_t length, f_array_lengths_t *lengths) {
-
- const f_status_t status = f_memory_resize(lengths->size, length, sizeof(f_array_length_t), (void **) & lengths->array);
- if (F_status_is_error(status)) return status;
-
- lengths->size = length;
-
- if (lengths->used > lengths->size) {
- lengths->used = length;
- }
-
- return F_none;
- }
-#endif // !defined(_di_f_array_lengths_resize_) || !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengths_decrease_by_) || !defined(_di_f_array_lengthss_append_)
-
-#if !defined(_di_f_array_lengthss_adjust_) || !defined(_di_f_array_lengthss_decimate_by_)
- f_status_t private_f_array_lengthss_adjust(const f_array_length_t length, f_array_lengthss_t *lengthss) {
-
- f_status_t status = F_none;
-
- for (f_array_length_t i = length; i < lengthss->size; ++i) {
-
- status = f_memory_destroy(lengthss->array[i].size, sizeof(f_array_lengths_t), (void **) & lengthss->array[i].array);
- if (F_status_is_error(status)) return status;
-
- lengthss->array[i].size = 0;
- lengthss->array[i].used = 0;
- } // for
-
- status = f_memory_adjust(lengthss->size, length, sizeof(f_array_lengths_t), (void **) & lengthss->array);
- if (F_status_is_error(status)) return status;
-
- lengthss->size = length;
-
- if (lengthss->used > lengthss->size) {
- lengthss->used = length;
- }
-
- return F_none;
- }
-#endif // !defined(_di_f_array_lengthss_adjust_) || !defined(_di_f_array_lengthss_decimate_by_)
-
-#if !defined(_di_f_array_lengthss_decrease_by_) || !defined(_di_f_array_lengthss_increase_) || !defined(_di_f_array_lengthss_increase_by_) || !defined(_di_f_array_lengthss_resize_)
- f_status_t private_f_array_lengthss_resize(const f_array_length_t length, f_array_lengthss_t *lengthss) {
-
- f_status_t status = F_none;
-
- for (f_array_length_t i = length; i < lengthss->size; ++i) {
-
- status = f_memory_delete(lengthss->array[i].size, sizeof(f_array_lengths_t), (void **) & lengthss->array[i].array);
- if (F_status_is_error(status)) return status;
-
- lengthss->array[i].size = 0;
- lengthss->array[i].used = 0;
- } // for
-
- status = f_memory_resize(lengthss->size, length, sizeof(f_array_lengths_t), (void **) & lengthss->array);
- if (F_status_is_error(status)) return status;
-
- lengthss->size = length;
-
- if (lengthss->used > lengthss->size) {
- lengthss->used = length;
- }
-
- return F_none;
- }
-#endif // !defined(_di_f_array_lengthss_decrease_by_) || !defined(_di_f_array_lengthss_increase_) || !defined(_di_f_array_lengthss_increase_by_) || !defined(_di_f_array_lengthss_resize_)
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * These are provided for internal reduction in redundant code.
- * These should not be exposed/used outside of this project.
- */
-#ifndef _PRIVATE_F_type_array_array_length_h
-#define _PRIVATE_F_type_array_array_length_h
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * Private implementation for resizing the array_lengths array.
- *
- * Intended to be shared to each of the different implementation variations.
- *
- * @param length
- * The length to adjust to.
- * @param lengths
- * The lengths array to adjust.
- *
- * @return
- * F_none on success.
- * F_data_not on success, but there is no reason to increase size (used + 1 <= size).
- *
- * Errors (with error bit) from: f_memory_adjust().
- *
- * @see f_array_lengths_adjust()
- * @see f_array_lengths_decimate_by()
- */
-#if !defined(_di_f_array_lengths_adjust_) || !defined(_di_f_array_lengths_decimate_by_)
- extern f_status_t private_f_array_lengths_adjust(const f_array_length_t length, f_array_lengths_t *lengths) F_attribute_visibility_internal_d;
-#endif // !defined(_di_f_array_lengths_adjust_) || !defined(_di_f_array_lengths_decimate_by_)
-
-/**
- * Private implementation for appending the array_length array.
- *
- * Intended to be shared to each of the different implementation variations.
- *
- * @param source
- * The source array_length to append.
- * @param destination
- * The destination lengths the source is appended onto.
- *
- * @return
- * F_none on success.
- *
- * Errors (with error bit) from: f_memory_resize().
- *
- * @see f_memory_resize()
- * @see f_array_lengths_append()
- * @see f_array_lengthss_append()
- */
-#if !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengthss_append_)
- extern f_status_t private_f_array_lengths_append(const f_array_length_t source, f_array_lengths_t *destination) F_attribute_visibility_internal_d;
-#endif // !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengthss_append_)
-
-/**
- * Private implementation for appending the array_length array.
- *
- * Intended to be shared to each of the different implementation variations.
- *
- * @param source
- * The source array_lengths to append.
- * @param destination
- * The destination lengths the source is appended onto.
- *
- * @return
- * F_none on success.
- *
- * Errors (with error bit) from: f_memory_resize().
- *
- * @see f_memory_resize()
- * @see f_array_lengths_append_all()
- * @see f_array_lengthss_append()
- * @see f_array_lengthss_append_all()
- */
-#if !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengths_append_all_) || !defined(_di_f_array_lengthss_append_all_)
- extern f_status_t private_f_array_lengths_append_all(const f_array_lengths_t source, f_array_lengths_t *destination) F_attribute_visibility_internal_d;
-#endif // !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengths_append_all_) || !defined(_di_f_array_lengthss_append_all_)
-
-/**
- * Private implementation for resizing the array_lengths array.
- *
- * Intended to be shared to each of the different implementation variations.
- *
- * @param length
- * The length to adjust to.
- * @param lengths
- * The lengths array to adjust.
- *
- * @return
- * F_none on success.
- * F_data_not on success, but there is no reason to increase size (used + 1 <= size).
- *
- * Errors (with error bit) from: f_memory_resize().
- *
- * @see f_array_lengths_resize()
- * @see f_array_lengths_append()
- * @see f_array_lengths_decrease_by()
- * @see f_array_lengthss_append()
- */
-#if !defined(_di_f_array_lengths_resize_) || !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengths_decrease_by_) || !defined(_di_f_array_lengthss_append_)
- extern f_status_t private_f_array_lengths_resize(const f_array_length_t length, f_array_lengths_t *lengths) F_attribute_visibility_internal_d;
-#endif // !defined(_di_f_array_lengths_resize_) || !defined(_di_f_array_lengths_append_) || !defined(_di_f_array_lengths_decrease_by_) || !defined(_di_f_array_lengthss_append_)
-
-/**
- * Private implementation for resizing the lengthss array.
- *
- * Intended to be shared to each of the different implementation variations.
- *
- * @param length
- * The length to adjust to.
- * @param lengthss
- * The lengthss array to adjust.
- *
- * @return
- * F_none on success.
- * F_data_not on success, but there is no reason to increase size (used + 1 <= size).
- *
- * F_array_too_large (with error bit) if new length is larger than max array length.
- * F_memory_not (with error bit) on out of memory.
- * F_parameter (with error bit) if a parameter is invalid.
- *
- * Errors (with error bit) from: f_memory_adjust().
- * Errors (with error bit) from: f_memory_destroy().
- *
- * @see f_array_lengthss_adjust()
- * @see f_array_lengthss_decimate_by()
- */
-#if !defined(_di_f_array_lengthss_adjust_) || !defined(_di_f_array_lengthss_decimate_by_)
- extern f_status_t private_f_array_lengthss_adjust(const f_array_length_t length, f_array_lengthss_t *lengthss) F_attribute_visibility_internal_d;
-#endif // !defined(_di_f_array_lengthss_adjust_) || !defined(_di_f_array_lengthss_decimate_by_)
-
-/**
- * Private implementation for resizing the lengthss array.
- *
- * Intended to be shared to each of the different implementation variations.
- *
- * @param length
- * The length to resize to.
- * @param lengthss
- * The lengthss array to resize.
- *
- * @return
- * F_none on success.
- * F_data_not on success, but there is no reason to increase size (used + 1 <= size).
- *
- * F_array_too_large (with error bit) if new length is larger than max array length.
- * F_memory_not (with error bit) on out of memory.
- * F_parameter (with error bit) if a parameter is invalid.
- *
- * Errors (with error bit) from: f_memory_delete().
- * Errors (with error bit) from: f_memory_resize().
- *
- * @see f_array_lengthss_decrease_by()
- * @see f_array_lengthss_increase()
- * @see f_array_lengthss_increase_by()
- * @see f_array_lengthss_resize()
- */
-#if !defined(_di_f_array_lengthss_decrease_by_) || !defined(_di_f_array_lengthss_increase_) || !defined(_di_f_array_lengthss_increase_by_) || !defined(_di_f_array_lengthss_resize_)
- extern f_status_t private_f_array_lengthss_resize(const f_array_length_t length, f_array_lengthss_t *lengthss) F_attribute_visibility_internal_d;
-#endif // !defined(_di_f_array_lengthss_decrease_by_) || !defined(_di_f_array_lengthss_increase_) || !defined(_di_f_array_lengthss_increase_by_) || !defined(_di_f_array_lengthss_resize_)
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#endif // _PRIVATE_F_type_array_array_length_h
#endif
#if !defined(_di_f_cells_adjust_) || !defined(_di_f_cells_decimate_by_)
- f_status_t private_f_cells_adjust(const f_array_length_t length, f_cells_t *cells) {
+ f_status_t private_f_cells_adjust(const f_number_unsigned_t length, f_cells_t *cells) {
const f_status_t status = f_memory_adjust(cells->size, length, sizeof(f_cell_t), (void **) & cells->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used].row = source.array[i].row;
destination->array[destination->used++].column = source.array[i].column;
#endif // !defined(_di_f_cells_append_) || !defined(_di_f_cells_append_all_) || !defined(_di_f_cellss_append_all_)
#if !defined(_di_f_cells_resize_) || !defined(_di_f_cells_append_) || !defined(_di_f_cells_decrease_by_) || !defined(_di_f_cellss_append_)
- f_status_t private_f_cells_resize(const f_array_length_t length, f_cells_t *cells) {
+ f_status_t private_f_cells_resize(const f_number_unsigned_t length, f_cells_t *cells) {
const f_status_t status = f_memory_resize(cells->size, length, sizeof(f_cell_t), (void **) & cells->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_cells_resize_) || !defined(_di_f_cells_append_) || !defined(_di_f_cells_decrease_by_) || !defined(_di_f_cellss_append_)
#if !defined(_di_f_cellss_adjust_) || !defined(_di_f_cellss_decimate_by_)
- f_status_t private_f_cellss_adjust(const f_array_length_t length, f_cellss_t *cellss) {
+ f_status_t private_f_cellss_adjust(const f_number_unsigned_t length, f_cellss_t *cellss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < cellss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < cellss->size; ++i) {
status = f_memory_destroy(cellss->array[i].size, sizeof(f_cells_t), (void **) & cellss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_cellss_adjust_) || !defined(_di_f_cellss_decimate_by_)
#if !defined(_di_f_cellss_decrease_by_) || !defined(_di_f_cellss_increase_) || !defined(_di_f_cellss_increase_by_) || !defined(_di_f_cellss_resize_)
- f_status_t private_f_cellss_resize(const f_array_length_t length, f_cellss_t *cellss) {
+ f_status_t private_f_cellss_resize(const f_number_unsigned_t length, f_cellss_t *cellss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < cellss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < cellss->size; ++i) {
status = f_memory_delete(cellss->array[i].size, sizeof(f_cells_t), (void **) & cellss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_cells_decimate_by()
*/
#if !defined(_di_f_cells_adjust_) || !defined(_di_f_cells_decimate_by_)
- extern f_status_t private_f_cells_adjust(const f_array_length_t length, f_cells_t *cells) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_cells_adjust(const f_number_unsigned_t length, f_cells_t *cells) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_cells_adjust_) || !defined(_di_f_cells_decimate_by_)
/**
* @see f_cellss_append()
*/
#if !defined(_di_f_cells_resize_) || !defined(_di_f_cells_append_) || !defined(_di_f_cells_decrease_by_) || !defined(_di_f_cellss_append_)
- extern f_status_t private_f_cells_resize(const f_array_length_t length, f_cells_t *cells) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_cells_resize(const f_number_unsigned_t length, f_cells_t *cells) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_cells_resize_) || !defined(_di_f_cells_append_) || !defined(_di_f_cells_decrease_by_) || !defined(_di_f_cellss_append_)
/**
* @see f_cellss_decimate_by()
*/
#if !defined(_di_f_cellss_adjust_) || !defined(_di_f_cellss_decimate_by_)
- extern f_status_t private_f_cellss_adjust(const f_array_length_t length, f_cellss_t *cellss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_cellss_adjust(const f_number_unsigned_t length, f_cellss_t *cellss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_cellss_adjust_) || !defined(_di_f_cellss_decimate_by_)
/**
* @see f_cellss_resize()
*/
#if !defined(_di_f_cellss_decrease_by_) || !defined(_di_f_cellss_increase_) || !defined(_di_f_cellss_increase_by_) || !defined(_di_f_cellss_resize_)
- extern f_status_t private_f_cellss_resize(const f_array_length_t length, f_cellss_t *cellss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_cellss_resize(const f_number_unsigned_t length, f_cellss_t *cellss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_cellss_decrease_by_) || !defined(_di_f_cellss_increase_) || !defined(_di_f_cellss_increase_by_) || !defined(_di_f_cellss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_fll_ids_adjust_) || !defined(_di_f_fll_ids_decimate_by_)
- f_status_t private_f_fll_ids_adjust(const f_array_length_t length, f_fll_ids_t *ids) {
+ f_status_t private_f_fll_ids_adjust(const f_number_unsigned_t length, f_fll_ids_t *ids) {
const f_status_t status = f_memory_adjust(ids->size, length, sizeof(f_fll_id_t), (void **) & ids->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
memcpy(destination->array[destination->used].name, source.array[i].name, sizeof(char) * f_fll_id_name_length_d);
#endif // !defined(_di_f_fll_ids_append_) || !defined(_di_f_fll_ids_append_all_) || !defined(_di_f_fll_idss_append_all_)
#if !defined(_di_f_fll_ids_resize_) || !defined(_di_f_fll_ids_append_) || !defined(_di_f_fll_ids_decrease_by_) || !defined(_di_f_fll_idss_append_)
- f_status_t private_f_fll_ids_resize(const f_array_length_t length, f_fll_ids_t *ids) {
+ f_status_t private_f_fll_ids_resize(const f_number_unsigned_t length, f_fll_ids_t *ids) {
const f_status_t status = f_memory_resize(ids->size, length, sizeof(f_fll_id_t), (void **) & ids->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fll_ids_resize_) || !defined(_di_f_fll_ids_append_) || !defined(_di_f_fll_ids_decrease_by_) || !defined(_di_f_fll_idss_append_)
#if !defined(_di_f_fll_idss_adjust_) || !defined(_di_f_fll_idss_decimate_by_)
- f_status_t private_f_fll_idss_adjust(const f_array_length_t length, f_fll_idss_t *idss) {
+ f_status_t private_f_fll_idss_adjust(const f_number_unsigned_t length, f_fll_idss_t *idss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < idss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < idss->size; ++i) {
status = f_memory_destroy(idss->array[i].size, sizeof(f_fll_ids_t), (void **) & idss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_fll_idss_adjust_) || !defined(_di_f_fll_idss_decimate_by_)
#if !defined(_di_f_fll_idss_decrease_by_) || !defined(_di_f_fll_idss_increase_) || !defined(_di_f_fll_idss_increase_by_) || !defined(_di_f_fll_idss_resize_)
- f_status_t private_f_fll_idss_resize(const f_array_length_t length, f_fll_idss_t *idss) {
+ f_status_t private_f_fll_idss_resize(const f_number_unsigned_t length, f_fll_idss_t *idss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < idss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < idss->size; ++i) {
status = f_memory_delete(idss->array[i].size, sizeof(f_fll_ids_t), (void **) & idss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_fll_ids_decimate_by()
*/
#if !defined(_di_f_fll_ids_adjust_) || !defined(_di_f_fll_ids_decimate_by_)
- extern f_status_t private_f_fll_ids_adjust(const f_array_length_t length, f_fll_ids_t *fll_ids) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fll_ids_adjust(const f_number_unsigned_t length, f_fll_ids_t *fll_ids) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fll_ids_adjust_) || !defined(_di_f_fll_ids_decimate_by_)
/**
* @see f_fll_idss_append()
*/
#if !defined(_di_f_fll_ids_resize_) || !defined(_di_f_fll_ids_append_) || !defined(_di_f_fll_ids_decrease_by_) || !defined(_di_f_fll_idss_append_)
- extern f_status_t private_f_fll_ids_resize(const f_array_length_t length, f_fll_ids_t *fll_ids) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fll_ids_resize(const f_number_unsigned_t length, f_fll_ids_t *fll_ids) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fll_ids_resize_) || !defined(_di_f_fll_ids_append_) || !defined(_di_f_fll_ids_decrease_by_) || !defined(_di_f_fll_idss_append_)
/**
* @see f_fll_idss_decimate_by()
*/
#if !defined(_di_f_fll_idss_adjust_) || !defined(_di_f_fll_idss_decimate_by_)
- extern f_status_t private_f_fll_idss_adjust(const f_array_length_t length, f_fll_idss_t *fll_idss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fll_idss_adjust(const f_number_unsigned_t length, f_fll_idss_t *fll_idss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fll_idss_adjust_) || !defined(_di_f_fll_idss_decimate_by_)
/**
* @see f_fll_idss_resize()
*/
#if !defined(_di_f_fll_idss_decrease_by_) || !defined(_di_f_fll_idss_increase_) || !defined(_di_f_fll_idss_increase_by_) || !defined(_di_f_fll_idss_resize_)
- extern f_status_t private_f_fll_idss_resize(const f_array_length_t length, f_fll_idss_t *fll_idss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_fll_idss_resize(const f_number_unsigned_t length, f_fll_idss_t *fll_idss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_fll_idss_decrease_by_) || !defined(_di_f_fll_idss_increase_) || !defined(_di_f_fll_idss_increase_by_) || !defined(_di_f_fll_idss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_int128s_adjust_) || !defined(_di_f_int128s_decimate_by_)
- f_status_t private_f_int128s_adjust(const f_array_length_t length, f_int128s_t *int128s) {
+ f_status_t private_f_int128s_adjust(const f_number_unsigned_t length, f_int128s_t *int128s) {
const f_status_t status = f_memory_adjust(int128s->size, length, sizeof(f_int128s_t), (void **) & int128s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_int128s_append_) || !defined(_di_f_int128s_append_all_) || !defined(_di_f_int128ss_append_all_)
#if !defined(_di_f_int128s_resize_) || !defined(_di_f_int128s_append_) || !defined(_di_f_int128s_decrease_by_) || !defined(_di_f_int128ss_append_)
- f_status_t private_f_int128s_resize(const f_array_length_t length, f_int128s_t *int128s) {
+ f_status_t private_f_int128s_resize(const f_number_unsigned_t length, f_int128s_t *int128s) {
const f_status_t status = f_memory_resize(int128s->size, length, sizeof(f_int128s_t), (void **) & int128s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int128s_resize_) || !defined(_di_f_int128s_append_) || !defined(_di_f_int128s_decrease_by_) || !defined(_di_f_int128ss_append_)
#if !defined(_di_f_int128ss_adjust_) || !defined(_di_f_int128ss_decimate_by_)
- f_status_t private_f_int128ss_adjust(const f_array_length_t length, f_int128ss_t *int128ss) {
+ f_status_t private_f_int128ss_adjust(const f_number_unsigned_t length, f_int128ss_t *int128ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int128ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int128ss->size; ++i) {
status = f_memory_destroy(int128ss->array[i].size, sizeof(f_int128s_t), (void **) & int128ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int128ss_adjust_) || !defined(_di_f_int128ss_decimate_by_)
#if !defined(_di_f_int128ss_decrease_by_) || !defined(_di_f_int128ss_increase_) || !defined(_di_f_int128ss_increase_by_) || !defined(_di_f_int128ss_resize_)
- f_status_t private_f_int128ss_resize(const f_array_length_t length, f_int128ss_t *int128ss) {
+ f_status_t private_f_int128ss_resize(const f_number_unsigned_t length, f_int128ss_t *int128ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int128ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int128ss->size; ++i) {
status = f_memory_delete(int128ss->array[i].size, sizeof(f_int128s_t), (void **) & int128ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_int128s_decimate_by()
*/
#if !defined(_di_f_int128s_adjust_) || !defined(_di_f_int128s_decimate_by_)
- extern f_status_t private_f_int128s_adjust(const f_array_length_t length, f_int128s_t *int128s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int128s_adjust(const f_number_unsigned_t length, f_int128s_t *int128s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int128s_adjust_) || !defined(_di_f_int128s_decimate_by_)
/**
* @see f_int128ss_append()
*/
#if !defined(_di_f_int128s_resize_) || !defined(_di_f_int128s_append_) || !defined(_di_f_int128s_decrease_by_) || !defined(_di_f_int128ss_append_)
- extern f_status_t private_f_int128s_resize(const f_array_length_t length, f_int128s_t *int128s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int128s_resize(const f_number_unsigned_t length, f_int128s_t *int128s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int128s_resize_) || !defined(_di_f_int128s_append_) || !defined(_di_f_int128s_decrease_by_) || !defined(_di_f_int128ss_append_)
/**
* @see f_int128ss_decimate_by()
*/
#if !defined(_di_f_int128ss_adjust_) || !defined(_di_f_int128ss_decimate_by_)
- extern f_status_t private_f_int128ss_adjust(const f_array_length_t length, f_int128ss_t *int128ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int128ss_adjust(const f_number_unsigned_t length, f_int128ss_t *int128ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int128ss_adjust_) || !defined(_di_f_int128ss_decimate_by_)
/**
* @see f_int128ss_resize()
*/
#if !defined(_di_f_int128ss_decrease_by_) || !defined(_di_f_int128ss_increase_) || !defined(_di_f_int128ss_increase_by_) || !defined(_di_f_int128ss_resize_)
- extern f_status_t private_f_int128ss_resize(const f_array_length_t length, f_int128ss_t *int128ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int128ss_resize(const f_number_unsigned_t length, f_int128ss_t *int128ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int128ss_decrease_by_) || !defined(_di_f_int128ss_increase_) || !defined(_di_f_int128ss_increase_by_) || !defined(_di_f_int128ss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_int16s_adjust_) || !defined(_di_f_int16s_decimate_by_)
- f_status_t private_f_int16s_adjust(const f_array_length_t length, f_int16s_t *int16s) {
+ f_status_t private_f_int16s_adjust(const f_number_unsigned_t length, f_int16s_t *int16s) {
const f_status_t status = f_memory_adjust(int16s->size, length, sizeof(int16_t), (void **) & int16s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_int16s_append_) || !defined(_di_f_int16s_append_all_) || !defined(_di_f_int16ss_append_all_)
#if !defined(_di_f_int16s_resize_) || !defined(_di_f_int16s_append_) || !defined(_di_f_int16s_decrease_by_) || !defined(_di_f_int16ss_append_)
- f_status_t private_f_int16s_resize(const f_array_length_t length, f_int16s_t *int16s) {
+ f_status_t private_f_int16s_resize(const f_number_unsigned_t length, f_int16s_t *int16s) {
const f_status_t status = f_memory_resize(int16s->size, length, sizeof(int16_t), (void **) & int16s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int16s_resize_) || !defined(_di_f_int16s_append_) || !defined(_di_f_int16s_decrease_by_) || !defined(_di_f_int16ss_append_)
#if !defined(_di_f_int16ss_adjust_) || !defined(_di_f_int16ss_decimate_by_)
- f_status_t private_f_int16ss_adjust(const f_array_length_t length, f_int16ss_t *int16ss) {
+ f_status_t private_f_int16ss_adjust(const f_number_unsigned_t length, f_int16ss_t *int16ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int16ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int16ss->size; ++i) {
status = f_memory_destroy(int16ss->array[i].size, sizeof(f_int16s_t), (void **) & int16ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int16ss_adjust_) || !defined(_di_f_int16ss_decimate_by_)
#if !defined(_di_f_int16ss_decrease_by_) || !defined(_di_f_int16ss_increase_) || !defined(_di_f_int16ss_increase_by_) || !defined(_di_f_int16ss_resize_)
- f_status_t private_f_int16ss_resize(const f_array_length_t length, f_int16ss_t *int16ss) {
+ f_status_t private_f_int16ss_resize(const f_number_unsigned_t length, f_int16ss_t *int16ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int16ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int16ss->size; ++i) {
status = f_memory_delete(int16ss->array[i].size, sizeof(f_int16s_t), (void **) & int16ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_int16s_decimate_by()
*/
#if !defined(_di_f_int16s_adjust_) || !defined(_di_f_int16s_decimate_by_)
- extern f_status_t private_f_int16s_adjust(const f_array_length_t length, f_int16s_t *int16s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int16s_adjust(const f_number_unsigned_t length, f_int16s_t *int16s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int16s_adjust_) || !defined(_di_f_int16s_decimate_by_)
/**
* @see f_int16ss_append()
*/
#if !defined(_di_f_int16s_resize_) || !defined(_di_f_int16s_append_) || !defined(_di_f_int16s_decrease_by_) || !defined(_di_f_int16ss_append_)
- extern f_status_t private_f_int16s_resize(const f_array_length_t length, f_int16s_t *int16s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int16s_resize(const f_number_unsigned_t length, f_int16s_t *int16s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int16s_resize_) || !defined(_di_f_int16s_append_) || !defined(_di_f_int16s_decrease_by_) || !defined(_di_f_int16ss_append_)
/**
* @see f_int16ss_decimate_by()
*/
#if !defined(_di_f_int16ss_adjust_) || !defined(_di_f_int16ss_decimate_by_)
- extern f_status_t private_f_int16ss_adjust(const f_array_length_t length, f_int16ss_t *int16ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int16ss_adjust(const f_number_unsigned_t length, f_int16ss_t *int16ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int16ss_adjust_) || !defined(_di_f_int16ss_decimate_by_)
/**
* @see f_int16ss_resize()
*/
#if !defined(_di_f_int16ss_decrease_by_) || !defined(_di_f_int16ss_increase_) || !defined(_di_f_int16ss_increase_by_) || !defined(_di_f_int16ss_resize_)
- extern f_status_t private_f_int16ss_resize(const f_array_length_t length, f_int16ss_t *int16ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int16ss_resize(const f_number_unsigned_t length, f_int16ss_t *int16ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int16ss_decrease_by_) || !defined(_di_f_int16ss_increase_) || !defined(_di_f_int16ss_increase_by_) || !defined(_di_f_int16ss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_int32s_adjust_) || !defined(_di_f_int32s_decimate_by_)
- f_status_t private_f_int32s_adjust(const f_array_length_t length, f_int32s_t *int32s) {
+ f_status_t private_f_int32s_adjust(const f_number_unsigned_t length, f_int32s_t *int32s) {
const f_status_t status = f_memory_adjust(int32s->size, length, sizeof(int32_t), (void **) & int32s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_int32s_append_) || !defined(_di_f_int32s_append_all_) || !defined(_di_f_int32ss_append_all_)
#if !defined(_di_f_int32s_resize_) || !defined(_di_f_int32s_append_) || !defined(_di_f_int32s_decrease_by_) || !defined(_di_f_int32ss_append_)
- f_status_t private_f_int32s_resize(const f_array_length_t length, f_int32s_t *int32s) {
+ f_status_t private_f_int32s_resize(const f_number_unsigned_t length, f_int32s_t *int32s) {
const f_status_t status = f_memory_resize(int32s->size, length, sizeof(int32_t), (void **) & int32s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int32s_resize_) || !defined(_di_f_int32s_append_) || !defined(_di_f_int32s_decrease_by_) || !defined(_di_f_int32ss_append_)
#if !defined(_di_f_int32ss_adjust_) || !defined(_di_f_int32ss_decimate_by_)
- f_status_t private_f_int32ss_adjust(const f_array_length_t length, f_int32ss_t *int32ss) {
+ f_status_t private_f_int32ss_adjust(const f_number_unsigned_t length, f_int32ss_t *int32ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int32ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int32ss->size; ++i) {
status = f_memory_destroy(int32ss->array[i].size, sizeof(f_int32s_t), (void **) & int32ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int32ss_adjust_) || !defined(_di_f_int32ss_decimate_by_)
#if !defined(_di_f_int32ss_decrease_by_) || !defined(_di_f_int32ss_increase_) || !defined(_di_f_int32ss_increase_by_) || !defined(_di_f_int32ss_resize_)
- f_status_t private_f_int32ss_resize(const f_array_length_t length, f_int32ss_t *int32ss) {
+ f_status_t private_f_int32ss_resize(const f_number_unsigned_t length, f_int32ss_t *int32ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int32ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int32ss->size; ++i) {
status = f_memory_delete(int32ss->array[i].size, sizeof(f_int32s_t), (void **) & int32ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_int32s_decimate_by()
*/
#if !defined(_di_f_int32s_adjust_) || !defined(_di_f_int32s_decimate_by_)
- extern f_status_t private_f_int32s_adjust(const f_array_length_t length, f_int32s_t *int32s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int32s_adjust(const f_number_unsigned_t length, f_int32s_t *int32s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int32s_adjust_) || !defined(_di_f_int32s_decimate_by_)
/**
* @see f_int32ss_append()
*/
#if !defined(_di_f_int32s_resize_) || !defined(_di_f_int32s_append_) || !defined(_di_f_int32s_decrease_by_) || !defined(_di_f_int32ss_append_)
- extern f_status_t private_f_int32s_resize(const f_array_length_t length, f_int32s_t *int32s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int32s_resize(const f_number_unsigned_t length, f_int32s_t *int32s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int32s_resize_) || !defined(_di_f_int32s_append_) || !defined(_di_f_int32s_decrease_by_) || !defined(_di_f_int32ss_append_)
/**
* @see f_int32ss_decimate_by()
*/
#if !defined(_di_f_int32ss_adjust_) || !defined(_di_f_int32ss_decimate_by_)
- extern f_status_t private_f_int32ss_adjust(const f_array_length_t length, f_int32ss_t *int32ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int32ss_adjust(const f_number_unsigned_t length, f_int32ss_t *int32ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int32ss_adjust_) || !defined(_di_f_int32ss_decimate_by_)
/**
* @see f_int32ss_resize()
*/
#if !defined(_di_f_int32ss_decrease_by_) || !defined(_di_f_int32ss_increase_) || !defined(_di_f_int32ss_increase_by_) || !defined(_di_f_int32ss_resize_)
- extern f_status_t private_f_int32ss_resize(const f_array_length_t length, f_int32ss_t *int32ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int32ss_resize(const f_number_unsigned_t length, f_int32ss_t *int32ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int32ss_decrease_by_) || !defined(_di_f_int32ss_increase_) || !defined(_di_f_int32ss_increase_by_) || !defined(_di_f_int32ss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_int64s_adjust_) || !defined(_di_f_int64s_decimate_by_)
- f_status_t private_f_int64s_adjust(const f_array_length_t length, f_int64s_t *int64s) {
+ f_status_t private_f_int64s_adjust(const f_number_unsigned_t length, f_int64s_t *int64s) {
const f_status_t status = f_memory_adjust(int64s->size, length, sizeof(int64_t), (void **) & int64s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_int64s_append_) || !defined(_di_f_int64s_append_all_) || !defined(_di_f_int64ss_append_all_)
#if !defined(_di_f_int64s_resize_) || !defined(_di_f_int64s_append_) || !defined(_di_f_int64s_decrease_by_) || !defined(_di_f_int64ss_append_)
- f_status_t private_f_int64s_resize(const f_array_length_t length, f_int64s_t *int64s) {
+ f_status_t private_f_int64s_resize(const f_number_unsigned_t length, f_int64s_t *int64s) {
const f_status_t status = f_memory_resize(int64s->size, length, sizeof(int64_t), (void **) & int64s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int64s_resize_) || !defined(_di_f_int64s_append_) || !defined(_di_f_int64s_decrease_by_) || !defined(_di_f_int64ss_append_)
#if !defined(_di_f_int64ss_adjust_) || !defined(_di_f_int64ss_decimate_by_)
- f_status_t private_f_int64ss_adjust(const f_array_length_t length, f_int64ss_t *int64ss) {
+ f_status_t private_f_int64ss_adjust(const f_number_unsigned_t length, f_int64ss_t *int64ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int64ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int64ss->size; ++i) {
status = f_memory_destroy(int64ss->array[i].size, sizeof(f_int64s_t), (void **) & int64ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int64ss_adjust_) || !defined(_di_f_int64ss_decimate_by_)
#if !defined(_di_f_int64ss_decrease_by_) || !defined(_di_f_int64ss_increase_) || !defined(_di_f_int64ss_increase_by_) || !defined(_di_f_int64ss_resize_)
- f_status_t private_f_int64ss_resize(const f_array_length_t length, f_int64ss_t *int64ss) {
+ f_status_t private_f_int64ss_resize(const f_number_unsigned_t length, f_int64ss_t *int64ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int64ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int64ss->size; ++i) {
status = f_memory_delete(int64ss->array[i].size, sizeof(f_int64s_t), (void **) & int64ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_int64s_decimate_by()
*/
#if !defined(_di_f_int64s_adjust_) || !defined(_di_f_int64s_decimate_by_)
- extern f_status_t private_f_int64s_adjust(const f_array_length_t length, f_int64s_t *int64s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int64s_adjust(const f_number_unsigned_t length, f_int64s_t *int64s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int64s_adjust_) || !defined(_di_f_int64s_decimate_by_)
/**
* @see f_int64ss_append()
*/
#if !defined(_di_f_int64s_resize_) || !defined(_di_f_int64s_append_) || !defined(_di_f_int64s_decrease_by_) || !defined(_di_f_int64ss_append_)
- extern f_status_t private_f_int64s_resize(const f_array_length_t length, f_int64s_t *int64s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int64s_resize(const f_number_unsigned_t length, f_int64s_t *int64s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int64s_resize_) || !defined(_di_f_int64s_append_) || !defined(_di_f_int64s_decrease_by_) || !defined(_di_f_int64ss_append_)
/**
* @see f_int64ss_decimate_by()
*/
#if !defined(_di_f_int64ss_adjust_) || !defined(_di_f_int64ss_decimate_by_)
- extern f_status_t private_f_int64ss_adjust(const f_array_length_t length, f_int64ss_t *int64ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int64ss_adjust(const f_number_unsigned_t length, f_int64ss_t *int64ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int64ss_adjust_) || !defined(_di_f_int64ss_decimate_by_)
/**
* @see f_int64ss_resize()
*/
#if !defined(_di_f_int64ss_decrease_by_) || !defined(_di_f_int64ss_increase_) || !defined(_di_f_int64ss_increase_by_) || !defined(_di_f_int64ss_resize_)
- extern f_status_t private_f_int64ss_resize(const f_array_length_t length, f_int64ss_t *int64ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int64ss_resize(const f_number_unsigned_t length, f_int64ss_t *int64ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int64ss_decrease_by_) || !defined(_di_f_int64ss_increase_) || !defined(_di_f_int64ss_increase_by_) || !defined(_di_f_int64ss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_int8s_adjust_) || !defined(_di_f_int8s_decimate_by_)
- f_status_t private_f_int8s_adjust(const f_array_length_t length, f_int8s_t *int8s) {
+ f_status_t private_f_int8s_adjust(const f_number_unsigned_t length, f_int8s_t *int8s) {
const f_status_t status = f_memory_adjust(int8s->size, length, sizeof(int8_t), (void **) & int8s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_int8s_append_) || !defined(_di_f_int8s_append_all_) || !defined(_di_f_int8ss_append_all_)
#if !defined(_di_f_int8s_append_) || !defined(_di_f_int8s_append_all_) || !defined(_di_f_int8s_decrease_by_) || !defined(_di_f_int8s_increase_) || !defined(_di_f_int8s_increase_by_) || !defined(_di_f_int8s_resize_) || !defined(_di_f_int8ss_append_) || !defined(_di_f_int8ss_append_all_)
- f_status_t private_f_int8s_resize(const f_array_length_t length, f_int8s_t *int8s) {
+ f_status_t private_f_int8s_resize(const f_number_unsigned_t length, f_int8s_t *int8s) {
const f_status_t status = f_memory_resize(int8s->size, length, sizeof(int8_t), (void **) & int8s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int8s_append_) || !defined(_di_f_int8s_append_all_) || !defined(_di_f_int8s_decrease_by_) || !defined(_di_f_int8s_increase_) || !defined(_di_f_int8s_increase_by_) || !defined(_di_f_int8s_resize_) || !defined(_di_f_int8ss_append_) || !defined(_di_f_int8ss_append_all_)
#if !defined(_di_f_int8ss_adjust_) || !defined(_di_f_int8ss_decimate_by_)
- f_status_t private_f_int8ss_adjust(const f_array_length_t length, f_int8ss_t *int8ss) {
+ f_status_t private_f_int8ss_adjust(const f_number_unsigned_t length, f_int8ss_t *int8ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int8ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int8ss->size; ++i) {
status = f_memory_destroy(int8ss->array[i].size, sizeof(f_int8s_t), (void **) & int8ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_int8ss_adjust_) || !defined(_di_f_int8ss_decimate_by_)
#if !defined(_di_f_int8ss_decrease_by_) || !defined(_di_f_int8ss_increase_) || !defined(_di_f_int8ss_increase_by_) || !defined(_di_f_int8ss_resize_)
- f_status_t private_f_int8ss_resize(const f_array_length_t length, f_int8ss_t *int8ss) {
+ f_status_t private_f_int8ss_resize(const f_number_unsigned_t length, f_int8ss_t *int8ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < int8ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < int8ss->size; ++i) {
status = f_memory_delete(int8ss->array[i].size, sizeof(f_int8s_t), (void **) & int8ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_int8s_decimate_by()
*/
#if !defined(_di_f_int8s_adjust_) || !defined(_di_f_int8s_decimate_by_)
- extern f_status_t private_f_int8s_adjust(const f_array_length_t length, f_int8s_t *int8s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int8s_adjust(const f_number_unsigned_t length, f_int8s_t *int8s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int8s_adjust_) || !defined(_di_f_int8s_decimate_by_)
/**
*
*/
#if !defined(_di_f_int8s_append_) || !defined(_di_f_int8s_append_all_) || !defined(_di_f_int8s_decrease_by_) || !defined(_di_f_int8s_increase_) || !defined(_di_f_int8s_increase_by_) || !defined(_di_f_int8s_resize_) || !defined(_di_f_int8ss_append_) || !defined(_di_f_int8ss_append_all_)
- extern f_status_t private_f_int8s_resize(const f_array_length_t length, f_int8s_t *int8s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int8s_resize(const f_number_unsigned_t length, f_int8s_t *int8s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int8s_append_) || !defined(_di_f_int8s_append_all_) || !defined(_di_f_int8s_decrease_by_) || !defined(_di_f_int8s_increase_) || !defined(_di_f_int8s_increase_by_) || !defined(_di_f_int8s_resize_) || !defined(_di_f_int8ss_append_) || !defined(_di_f_int8ss_append_all_)
/**
* @see f_int8ss_decimate_by()
*/
#if !defined(_di_f_int8ss_adjust_) || !defined(_di_f_int8ss_decimate_by_)
- extern f_status_t private_f_int8ss_adjust(const f_array_length_t length, f_int8ss_t *int8ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int8ss_adjust(const f_number_unsigned_t length, f_int8ss_t *int8ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int8ss_adjust_) || !defined(_di_f_int8ss_decimate_by_)
/**
* @see f_int8ss_resize()
*/
#if !defined(_di_f_int8ss_decrease_by_) || !defined(_di_f_int8ss_increase_) || !defined(_di_f_int8ss_increase_by_) || !defined(_di_f_int8ss_resize_)
- extern f_status_t private_f_int8ss_resize(const f_array_length_t length, f_int8ss_t *int8ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_int8ss_resize(const f_number_unsigned_t length, f_int8ss_t *int8ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_int8ss_decrease_by_) || !defined(_di_f_int8ss_increase_) || !defined(_di_f_int8ss_increase_by_) || !defined(_di_f_int8ss_resize_)
#ifdef __cplusplus
--- /dev/null
+#include "../type_array.h"
+#include "private-number_unsigned.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#if !defined(_di_f_number_unsigneds_adjust_) || !defined(_di_f_number_unsigneds_decimate_by_)
+ f_status_t private_f_number_unsigneds_adjust(const f_number_unsigned_t length, f_number_unsigneds_t *number_unsigneds) {
+
+ const f_status_t status = f_memory_adjust(number_unsigneds->size, length, sizeof(f_number_unsigned_t), (void **) & number_unsigneds->array);
+ if (F_status_is_error(status)) return status;
+
+ number_unsigneds->size = length;
+
+ if (number_unsigneds->used > number_unsigneds->size) {
+ number_unsigneds->used = length;
+ }
+
+ return F_none;
+ }
+#endif // !defined(_di_f_number_unsigneds_adjust_) || !defined(_di_f_number_unsigneds_decimate_by_)
+
+#if !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsignedss_append_)
+ extern f_status_t private_f_number_unsigneds_append(const f_number_unsigned_t source, f_number_unsigneds_t *destination) {
+
+ if (destination->used + 1 > destination->size) {
+ const f_status_t status = private_f_number_unsigneds_resize(destination->used + F_memory_default_allocation_small_d, destination);
+ if (F_status_is_error(status)) return status;
+ }
+
+ destination->array[destination->used++] = source;
+
+ return F_none;
+ }
+#endif // !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsignedss_append_)
+
+#if !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsigneds_append_all_) || !defined(_di_f_number_unsignedss_append_all_)
+ extern f_status_t private_f_number_unsigneds_append_all(const f_number_unsigneds_t source, f_number_unsigneds_t *destination) {
+
+ if (destination->used + source.used > destination->size) {
+ const f_status_t status = private_f_number_unsigneds_resize(destination->used + source.used, destination);
+ if (F_status_is_error(status)) return status;
+ }
+
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
+ destination->array[destination->used++] = source.array[i];
+ } // for
+
+ return F_none;
+ }
+#endif // !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsigneds_append_all_) || !defined(_di_f_number_unsignedss_append_all_)
+
+#if !defined(_di_f_number_unsigneds_resize_) || !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsigneds_decrease_by_) || !defined(_di_f_number_unsignedss_append_)
+ f_status_t private_f_number_unsigneds_resize(const f_number_unsigned_t length, f_number_unsigneds_t *lengths) {
+
+ const f_status_t status = f_memory_resize(lengths->size, length, sizeof(f_number_unsigned_t), (void **) & lengths->array);
+ if (F_status_is_error(status)) return status;
+
+ lengths->size = length;
+
+ if (lengths->used > lengths->size) {
+ lengths->used = length;
+ }
+
+ return F_none;
+ }
+#endif // !defined(_di_f_number_unsigneds_resize_) || !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsigneds_decrease_by_) || !defined(_di_f_number_unsignedss_append_)
+
+#if !defined(_di_f_number_unsignedss_adjust_) || !defined(_di_f_number_unsignedss_decimate_by_)
+ f_status_t private_f_number_unsignedss_adjust(const f_number_unsigned_t length, f_number_unsignedss_t *lengthss) {
+
+ f_status_t status = F_none;
+
+ for (f_number_unsigned_t i = length; i < lengthss->size; ++i) {
+
+ status = f_memory_destroy(lengthss->array[i].size, sizeof(f_number_unsigneds_t), (void **) & lengthss->array[i].array);
+ if (F_status_is_error(status)) return status;
+
+ lengthss->array[i].size = 0;
+ lengthss->array[i].used = 0;
+ } // for
+
+ status = f_memory_adjust(lengthss->size, length, sizeof(f_number_unsigneds_t), (void **) & lengthss->array);
+ if (F_status_is_error(status)) return status;
+
+ lengthss->size = length;
+
+ if (lengthss->used > lengthss->size) {
+ lengthss->used = length;
+ }
+
+ return F_none;
+ }
+#endif // !defined(_di_f_number_unsignedss_adjust_) || !defined(_di_f_number_unsignedss_decimate_by_)
+
+#if !defined(_di_f_number_unsignedss_decrease_by_) || !defined(_di_f_number_unsignedss_increase_) || !defined(_di_f_number_unsignedss_increase_by_) || !defined(_di_f_number_unsignedss_resize_)
+ f_status_t private_f_number_unsignedss_resize(const f_number_unsigned_t length, f_number_unsignedss_t *lengthss) {
+
+ f_status_t status = F_none;
+
+ for (f_number_unsigned_t i = length; i < lengthss->size; ++i) {
+
+ status = f_memory_delete(lengthss->array[i].size, sizeof(f_number_unsigneds_t), (void **) & lengthss->array[i].array);
+ if (F_status_is_error(status)) return status;
+
+ lengthss->array[i].size = 0;
+ lengthss->array[i].used = 0;
+ } // for
+
+ status = f_memory_resize(lengthss->size, length, sizeof(f_number_unsigneds_t), (void **) & lengthss->array);
+ if (F_status_is_error(status)) return status;
+
+ lengthss->size = length;
+
+ if (lengthss->used > lengthss->size) {
+ lengthss->used = length;
+ }
+
+ return F_none;
+ }
+#endif // !defined(_di_f_number_unsignedss_decrease_by_) || !defined(_di_f_number_unsignedss_increase_) || !defined(_di_f_number_unsignedss_increase_by_) || !defined(_di_f_number_unsignedss_resize_)
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * These are provided for internal reduction in redundant code.
+ * These should not be exposed/used outside of this project.
+ */
+#ifndef _PRIVATE_F_type_array_number_unsigned_h
+#define _PRIVATE_F_type_array_number_unsigned_h
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * Private implementation for resizing the number array.
+ *
+ * Intended to be shared to each of the different implementation variations.
+ *
+ * @param length
+ * The length to adjust to.
+ * @param lengths
+ * The lengths array to adjust.
+ *
+ * @return
+ * F_none on success.
+ * F_data_not on success, but there is no reason to increase size (used + 1 <= size).
+ *
+ * Errors (with error bit) from: f_memory_adjust().
+ *
+ * @see f_number_unsigneds_adjust()
+ * @see f_number_unsigneds_decimate_by()
+ */
+#if !defined(_di_f_number_unsigneds_adjust_) || !defined(_di_f_number_unsigneds_decimate_by_)
+ extern f_status_t private_f_number_unsigneds_adjust(const f_number_unsigned_t length, f_number_unsigneds_t *lengths) F_attribute_visibility_internal_d;
+#endif // !defined(_di_f_number_unsigneds_adjust_) || !defined(_di_f_number_unsigneds_decimate_by_)
+
+/**
+ * Private implementation for appending the number array.
+ *
+ * Intended to be shared to each of the different implementation variations.
+ *
+ * @param source
+ * The source number_unsigned to append.
+ * @param destination
+ * The destination lengths the source is appended onto.
+ *
+ * @return
+ * F_none on success.
+ *
+ * Errors (with error bit) from: f_memory_resize().
+ *
+ * @see f_memory_resize()
+ * @see f_number_unsigneds_append()
+ * @see f_number_unsignedss_append()
+ */
+#if !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsignedss_append_)
+ extern f_status_t private_f_number_unsigneds_append(const f_number_unsigned_t source, f_number_unsigneds_t *destination) F_attribute_visibility_internal_d;
+#endif // !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsignedss_append_)
+
+/**
+ * Private implementation for appending the number array.
+ *
+ * Intended to be shared to each of the different implementation variations.
+ *
+ * @param source
+ * The source number_unsigneds to append.
+ * @param destination
+ * The destination lengths the source is appended onto.
+ *
+ * @return
+ * F_none on success.
+ *
+ * Errors (with error bit) from: f_memory_resize().
+ *
+ * @see f_memory_resize()
+ * @see f_number_unsigneds_append_all()
+ * @see f_number_unsignedss_append()
+ * @see f_number_unsignedss_append_all()
+ */
+#if !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsigneds_append_all_) || !defined(_di_f_number_unsignedss_append_all_)
+ extern f_status_t private_f_number_unsigneds_append_all(const f_number_unsigneds_t source, f_number_unsigneds_t *destination) F_attribute_visibility_internal_d;
+#endif // !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsigneds_append_all_) || !defined(_di_f_number_unsignedss_append_all_)
+
+/**
+ * Private implementation for resizing the number array.
+ *
+ * Intended to be shared to each of the different implementation variations.
+ *
+ * @param length
+ * The length to adjust to.
+ * @param lengths
+ * The lengths array to adjust.
+ *
+ * @return
+ * F_none on success.
+ * F_data_not on success, but there is no reason to increase size (used + 1 <= size).
+ *
+ * Errors (with error bit) from: f_memory_resize().
+ *
+ * @see f_number_unsigneds_resize()
+ * @see f_number_unsigneds_append()
+ * @see f_number_unsigneds_decrease_by()
+ * @see f_number_unsignedss_append()
+ */
+#if !defined(_di_f_number_unsigneds_resize_) || !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsigneds_decrease_by_) || !defined(_di_f_number_unsignedss_append_)
+ extern f_status_t private_f_number_unsigneds_resize(const f_number_unsigned_t length, f_number_unsigneds_t *lengths) F_attribute_visibility_internal_d;
+#endif // !defined(_di_f_number_unsigneds_resize_) || !defined(_di_f_number_unsigneds_append_) || !defined(_di_f_number_unsigneds_decrease_by_) || !defined(_di_f_number_unsignedss_append_)
+
+/**
+ * Private implementation for resizing the number array.
+ *
+ * Intended to be shared to each of the different implementation variations.
+ *
+ * @param length
+ * The length to adjust to.
+ * @param lengthss
+ * The number array to adjust.
+ *
+ * @return
+ * F_none on success.
+ * F_data_not on success, but there is no reason to increase size (used + 1 <= size).
+ *
+ * F_array_too_large (with error bit) if new length is larger than max array length.
+ * F_memory_not (with error bit) on out of memory.
+ * F_parameter (with error bit) if a parameter is invalid.
+ *
+ * Errors (with error bit) from: f_memory_adjust().
+ * Errors (with error bit) from: f_memory_destroy().
+ *
+ * @see f_number_unsignedss_adjust()
+ * @see f_number_unsignedss_decimate_by()
+ */
+#if !defined(_di_f_number_unsignedss_adjust_) || !defined(_di_f_number_unsignedss_decimate_by_)
+ extern f_status_t private_f_number_unsignedss_adjust(const f_number_unsigned_t length, f_number_unsignedss_t *lengthss) F_attribute_visibility_internal_d;
+#endif // !defined(_di_f_number_unsignedss_adjust_) || !defined(_di_f_number_unsignedss_decimate_by_)
+
+/**
+ * Private implementation for resizing the number array.
+ *
+ * Intended to be shared to each of the different implementation variations.
+ *
+ * @param length
+ * The length to resize to.
+ * @param lengthss
+ * The number array to resize.
+ *
+ * @return
+ * F_none on success.
+ * F_data_not on success, but there is no reason to increase size (used + 1 <= size).
+ *
+ * F_array_too_large (with error bit) if new length is larger than max array length.
+ * F_memory_not (with error bit) on out of memory.
+ * F_parameter (with error bit) if a parameter is invalid.
+ *
+ * Errors (with error bit) from: f_memory_delete().
+ * Errors (with error bit) from: f_memory_resize().
+ *
+ * @see f_number_unsignedss_decrease_by()
+ * @see f_number_unsignedss_increase()
+ * @see f_number_unsignedss_increase_by()
+ * @see f_number_unsignedss_resize()
+ */
+#if !defined(_di_f_number_unsignedss_decrease_by_) || !defined(_di_f_number_unsignedss_increase_) || !defined(_di_f_number_unsignedss_increase_by_) || !defined(_di_f_number_unsignedss_resize_)
+ extern f_status_t private_f_number_unsignedss_resize(const f_number_unsigned_t length, f_number_unsignedss_t *lengthss) F_attribute_visibility_internal_d;
+#endif // !defined(_di_f_number_unsignedss_decrease_by_) || !defined(_di_f_number_unsignedss_increase_) || !defined(_di_f_number_unsignedss_increase_by_) || !defined(_di_f_number_unsignedss_resize_)
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+#endif // _PRIVATE_F_type_array_number_unsigned_h
#endif
#if !defined(_di_f_states_adjust_) || !defined(_di_f_states_decimate_by_)
- f_status_t private_f_states_adjust(const f_array_length_t length, f_states_t *states) {
+ f_status_t private_f_states_adjust(const f_number_unsigned_t length, f_states_t *states) {
const f_status_t status = f_memory_adjust(states->size, length, sizeof(f_state_t), (void **) & states->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used].step_large = source.array[i].step_large;
destination->array[destination->used].step_small = source.array[i].step_small;
#endif // !defined(_di_f_states_append_) || !defined(_di_f_states_append_all_) || !defined(_di_f_statess_append_all_)
#if !defined(_di_f_states_resize_) || !defined(_di_f_states_append_) || !defined(_di_f_states_decrease_by_) || !defined(_di_f_statess_append_)
- f_status_t private_f_states_resize(const f_array_length_t length, f_states_t *states) {
+ f_status_t private_f_states_resize(const f_number_unsigned_t length, f_states_t *states) {
const f_status_t status = f_memory_resize(states->size, length, sizeof(f_state_t), (void **) & states->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_states_resize_) || !defined(_di_f_states_append_) || !defined(_di_f_states_decrease_by_) || !defined(_di_f_statess_append_)
#if !defined(_di_f_statess_adjust_) || !defined(_di_f_statess_decimate_by_)
- f_status_t private_f_statess_adjust(const f_array_length_t length, f_statess_t *statess) {
+ f_status_t private_f_statess_adjust(const f_number_unsigned_t length, f_statess_t *statess) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < statess->size; ++i) {
+ for (f_number_unsigned_t i = length; i < statess->size; ++i) {
status = f_memory_destroy(statess->array[i].size, sizeof(f_states_t), (void **) & statess->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_statess_adjust_) || !defined(_di_f_statess_decimate_by_)
#if !defined(_di_f_statess_decrease_by_) || !defined(_di_f_statess_increase_) || !defined(_di_f_statess_increase_by_) || !defined(_di_f_statess_resize_)
- f_status_t private_f_statess_resize(const f_array_length_t length, f_statess_t *statess) {
+ f_status_t private_f_statess_resize(const f_number_unsigned_t length, f_statess_t *statess) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < statess->size; ++i) {
+ for (f_number_unsigned_t i = length; i < statess->size; ++i) {
status = f_memory_delete(statess->array[i].size, sizeof(f_states_t), (void **) & statess->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_states_decimate_by()
*/
#if !defined(_di_f_states_adjust_) || !defined(_di_f_states_decimate_by_)
- extern f_status_t private_f_states_adjust(const f_array_length_t length, f_states_t *states) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_states_adjust(const f_number_unsigned_t length, f_states_t *states) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_states_adjust_) || !defined(_di_f_states_decimate_by_)
/**
* @see f_statess_append()
*/
#if !defined(_di_f_states_resize_) || !defined(_di_f_states_append_) || !defined(_di_f_states_decrease_by_) || !defined(_di_f_statess_append_)
- extern f_status_t private_f_states_resize(const f_array_length_t length, f_states_t *states) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_states_resize(const f_number_unsigned_t length, f_states_t *states) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_states_resize_) || !defined(_di_f_states_append_) || !defined(_di_f_states_decrease_by_) || !defined(_di_f_statess_append_)
/**
* @see f_statess_decimate_by()
*/
#if !defined(_di_f_statess_adjust_) || !defined(_di_f_statess_decimate_by_)
- extern f_status_t private_f_statess_adjust(const f_array_length_t length, f_statess_t *statess) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_statess_adjust(const f_number_unsigned_t length, f_statess_t *statess) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_statess_adjust_) || !defined(_di_f_statess_decimate_by_)
/**
* @see f_statess_resize()
*/
#if !defined(_di_f_statess_decrease_by_) || !defined(_di_f_statess_increase_) || !defined(_di_f_statess_increase_by_) || !defined(_di_f_statess_resize_)
- extern f_status_t private_f_statess_resize(const f_array_length_t length, f_statess_t *statess) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_statess_resize(const f_number_unsigned_t length, f_statess_t *statess) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_statess_decrease_by_) || !defined(_di_f_statess_increase_) || !defined(_di_f_statess_increase_by_) || !defined(_di_f_statess_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_statuss_adjust_) || !defined(_di_f_statuss_decimate_by_)
- f_status_t private_f_statuss_adjust(const f_array_length_t length, f_statuss_t *statuss) {
+ f_status_t private_f_statuss_adjust(const f_number_unsigned_t length, f_statuss_t *statuss) {
const f_status_t status = f_memory_adjust(statuss->size, length, sizeof(f_status_t), (void **) & statuss->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_statuss_append_) || !defined(_di_f_statuss_append_all_) || !defined(_di_f_statusss_append_all_)
#if !defined(_di_f_statuss_resize_) || !defined(_di_f_statuss_append_) || !defined(_di_f_statuss_decrease_by_) || !defined(_di_f_statusss_append_)
- f_status_t private_f_statuss_resize(const f_array_length_t length, f_statuss_t *statuss) {
+ f_status_t private_f_statuss_resize(const f_number_unsigned_t length, f_statuss_t *statuss) {
const f_status_t status = f_memory_resize(statuss->size, length, sizeof(f_status_t), (void **) & statuss->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_statuss_resize_) || !defined(_di_f_statuss_append_) || !defined(_di_f_statuss_decrease_by_) || !defined(_di_f_statusss_append_)
#if !defined(_di_f_statusss_adjust_) || !defined(_di_f_statusss_decimate_by_)
- f_status_t private_f_statusss_adjust(const f_array_length_t length, f_statusss_t *statusss) {
+ f_status_t private_f_statusss_adjust(const f_number_unsigned_t length, f_statusss_t *statusss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < statusss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < statusss->size; ++i) {
status = f_memory_destroy(statusss->array[i].size, sizeof(f_statuss_t), (void **) & statusss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_statusss_adjust_) || !defined(_di_f_statusss_decimate_by_)
#if !defined(_di_f_statusss_decrease_by_) || !defined(_di_f_statusss_increase_) || !defined(_di_f_statusss_increase_by_) || !defined(_di_f_statusss_resize_)
- f_status_t private_f_statusss_resize(const f_array_length_t length, f_statusss_t *statusss) {
+ f_status_t private_f_statusss_resize(const f_number_unsigned_t length, f_statusss_t *statusss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < statusss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < statusss->size; ++i) {
status = f_memory_delete(statusss->array[i].size, sizeof(f_statuss_t), (void **) & statusss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_statuss_decimate_by()
*/
#if !defined(_di_f_statuss_adjust_) || !defined(_di_f_statuss_decimate_by_)
- extern f_status_t private_f_statuss_adjust(const f_array_length_t length, f_statuss_t *statuss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_statuss_adjust(const f_number_unsigned_t length, f_statuss_t *statuss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_statuss_adjust_) || !defined(_di_f_statuss_decimate_by_)
/**
* @see f_statusss_append()
*/
#if !defined(_di_f_statuss_resize_) || !defined(_di_f_statuss_append_) || !defined(_di_f_statuss_decrease_by_) || !defined(_di_f_statusss_append_)
- extern f_status_t private_f_statuss_resize(const f_array_length_t length, f_statuss_t *statuss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_statuss_resize(const f_number_unsigned_t length, f_statuss_t *statuss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_statuss_resize_) || !defined(_di_f_statuss_append_) || !defined(_di_f_statuss_decrease_by_) || !defined(_di_f_statusss_append_)
/**
* @see f_statusss_decimate_by()
*/
#if !defined(_di_f_statusss_adjust_) || !defined(_di_f_statusss_decimate_by_)
- extern f_status_t private_f_statusss_adjust(const f_array_length_t length, f_statusss_t *statusss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_statusss_adjust(const f_number_unsigned_t length, f_statusss_t *statusss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_statusss_adjust_) || !defined(_di_f_statusss_decimate_by_)
/**
* @see f_statusss_resize()
*/
#if !defined(_di_f_statusss_decrease_by_) || !defined(_di_f_statusss_increase_) || !defined(_di_f_statusss_increase_by_) || !defined(_di_f_statusss_resize_)
- extern f_status_t private_f_statusss_resize(const f_array_length_t length, f_statusss_t *statusss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_statusss_resize(const f_number_unsigned_t length, f_statusss_t *statusss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_statusss_decrease_by_) || !defined(_di_f_statusss_increase_) || !defined(_di_f_statusss_increase_by_) || !defined(_di_f_statusss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_uint128s_adjust_) || !defined(_di_f_uint128s_decimate_by_)
- f_status_t private_f_uint128s_adjust(const f_array_length_t length, f_uint128s_t *uint128s) {
+ f_status_t private_f_uint128s_adjust(const f_number_unsigned_t length, f_uint128s_t *uint128s) {
const f_status_t status = f_memory_adjust(uint128s->size, length, sizeof(f_uint128s_t), (void **) & uint128s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_uint128s_append_) || !defined(_di_f_uint128s_append_all_) || !defined(_di_f_uint128ss_append_all_)
#if !defined(_di_f_uint128s_resize_) || !defined(_di_f_uint128s_append_) || !defined(_di_f_uint128s_decrease_by_) || !defined(_di_f_uint128ss_append_)
- f_status_t private_f_uint128s_resize(const f_array_length_t length, f_uint128s_t *uint128s) {
+ f_status_t private_f_uint128s_resize(const f_number_unsigned_t length, f_uint128s_t *uint128s) {
const f_status_t status = f_memory_resize(uint128s->size, length, sizeof(f_uint128s_t), (void **) & uint128s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint128s_resize_) || !defined(_di_f_uint128s_append_) || !defined(_di_f_uint128s_decrease_by_) || !defined(_di_f_uint128ss_append_)
#if !defined(_di_f_uint128ss_adjust_) || !defined(_di_f_uint128ss_decimate_by_)
- f_status_t private_f_uint128ss_adjust(const f_array_length_t length, f_uint128ss_t *uint128ss) {
+ f_status_t private_f_uint128ss_adjust(const f_number_unsigned_t length, f_uint128ss_t *uint128ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint128ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint128ss->size; ++i) {
status = f_memory_destroy(uint128ss->array[i].size, sizeof(f_uint128s_t), (void **) & uint128ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint128ss_adjust_) || !defined(_di_f_uint128ss_decimate_by_)
#if !defined(_di_f_uint128ss_decrease_by_) || !defined(_di_f_uint128ss_increase_) || !defined(_di_f_uint128ss_increase_by_) || !defined(_di_f_uint128ss_resize_)
- f_status_t private_f_uint128ss_resize(const f_array_length_t length, f_uint128ss_t *uint128ss) {
+ f_status_t private_f_uint128ss_resize(const f_number_unsigned_t length, f_uint128ss_t *uint128ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint128ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint128ss->size; ++i) {
status = f_memory_delete(uint128ss->array[i].size, sizeof(f_uint128s_t), (void **) & uint128ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_uint128s_decimate_by()
*/
#if !defined(_di_f_uint128s_adjust_) || !defined(_di_f_uint128s_decimate_by_)
- extern f_status_t private_f_uint128s_adjust(const f_array_length_t length, f_uint128s_t *uint128s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint128s_adjust(const f_number_unsigned_t length, f_uint128s_t *uint128s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint128s_adjust_) || !defined(_di_f_uint128s_decimate_by_)
/**
* @see f_uint128ss_append()
*/
#if !defined(_di_f_uint128s_resize_) || !defined(_di_f_uint128s_append_) || !defined(_di_f_uint128s_decrease_by_) || !defined(_di_f_uint128ss_append_)
- extern f_status_t private_f_uint128s_resize(const f_array_length_t length, f_uint128s_t *uint128s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint128s_resize(const f_number_unsigned_t length, f_uint128s_t *uint128s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint128s_resize_) || !defined(_di_f_uint128s_append_) || !defined(_di_f_uint128s_decrease_by_) || !defined(_di_f_uint128ss_append_)
/**
* @see f_uint128ss_decimate_by()
*/
#if !defined(_di_f_uint128ss_adjust_) || !defined(_di_f_uint128ss_decimate_by_)
- extern f_status_t private_f_uint128ss_adjust(const f_array_length_t length, f_uint128ss_t *uint128ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint128ss_adjust(const f_number_unsigned_t length, f_uint128ss_t *uint128ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint128ss_adjust_) || !defined(_di_f_uint128ss_decimate_by_)
/**
* @see f_uint128ss_resize()
*/
#if !defined(_di_f_uint128ss_decrease_by_) || !defined(_di_f_uint128ss_increase_) || !defined(_di_f_uint128ss_increase_by_) || !defined(_di_f_uint128ss_resize_)
- extern f_status_t private_f_uint128ss_resize(const f_array_length_t length, f_uint128ss_t *uint128ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint128ss_resize(const f_number_unsigned_t length, f_uint128ss_t *uint128ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint128ss_decrease_by_) || !defined(_di_f_uint128ss_increase_) || !defined(_di_f_uint128ss_increase_by_) || !defined(_di_f_uint128ss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_uint16s_adjust_) || !defined(_di_f_uint16s_decimate_by_)
- f_status_t private_f_uint16s_adjust(const f_array_length_t length, f_uint16s_t *uint16s) {
+ f_status_t private_f_uint16s_adjust(const f_number_unsigned_t length, f_uint16s_t *uint16s) {
const f_status_t status = f_memory_adjust(uint16s->size, length, sizeof(uint16_t), (void **) & uint16s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_uint16s_append_) || !defined(_di_f_uint16s_append_all_) || !defined(_di_f_uint16ss_append_all_)
#if !defined(_di_f_uint16s_resize_) || !defined(_di_f_uint16s_append_) || !defined(_di_f_uint16s_decrease_by_) || !defined(_di_f_uint16ss_append_)
- f_status_t private_f_uint16s_resize(const f_array_length_t length, f_uint16s_t *uint16s) {
+ f_status_t private_f_uint16s_resize(const f_number_unsigned_t length, f_uint16s_t *uint16s) {
const f_status_t status = f_memory_resize(uint16s->size, length, sizeof(uint16_t), (void **) & uint16s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint16s_resize_) || !defined(_di_f_uint16s_append_) || !defined(_di_f_uint16s_decrease_by_) || !defined(_di_f_uint16ss_append_)
#if !defined(_di_f_uint16ss_adjust_) || !defined(_di_f_uint16ss_decimate_by_)
- f_status_t private_f_uint16ss_adjust(const f_array_length_t length, f_uint16ss_t *uint16ss) {
+ f_status_t private_f_uint16ss_adjust(const f_number_unsigned_t length, f_uint16ss_t *uint16ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint16ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint16ss->size; ++i) {
status = f_memory_destroy(uint16ss->array[i].size, sizeof(f_uint16s_t), (void **) & uint16ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint16ss_adjust_) || !defined(_di_f_uint16ss_decimate_by_)
#if !defined(_di_f_uint16ss_decrease_by_) || !defined(_di_f_uint16ss_increase_) || !defined(_di_f_uint16ss_increase_by_) || !defined(_di_f_uint16ss_resize_)
- f_status_t private_f_uint16ss_resize(const f_array_length_t length, f_uint16ss_t *uint16ss) {
+ f_status_t private_f_uint16ss_resize(const f_number_unsigned_t length, f_uint16ss_t *uint16ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint16ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint16ss->size; ++i) {
status = f_memory_delete(uint16ss->array[i].size, sizeof(f_uint16s_t), (void **) & uint16ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_uint16s_decimate_by()
*/
#if !defined(_di_f_uint16s_adjust_) || !defined(_di_f_uint16s_decimate_by_)
- extern f_status_t private_f_uint16s_adjust(const f_array_length_t length, f_uint16s_t *uint16s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint16s_adjust(const f_number_unsigned_t length, f_uint16s_t *uint16s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint16s_adjust_) || !defined(_di_f_uint16s_decimate_by_)
/**
* @see f_uint16ss_append()
*/
#if !defined(_di_f_uint16s_resize_) || !defined(_di_f_uint16s_append_) || !defined(_di_f_uint16s_decrease_by_) || !defined(_di_f_uint16ss_append_)
- extern f_status_t private_f_uint16s_resize(const f_array_length_t length, f_uint16s_t *uint16s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint16s_resize(const f_number_unsigned_t length, f_uint16s_t *uint16s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint16s_resize_) || !defined(_di_f_uint16s_append_) || !defined(_di_f_uint16s_decrease_by_) || !defined(_di_f_uint16ss_append_)
/**
* @see f_uint16ss_decimate_by()
*/
#if !defined(_di_f_uint16ss_adjust_) || !defined(_di_f_uint16ss_decimate_by_)
- extern f_status_t private_f_uint16ss_adjust(const f_array_length_t length, f_uint16ss_t *uint16ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint16ss_adjust(const f_number_unsigned_t length, f_uint16ss_t *uint16ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint16ss_adjust_) || !defined(_di_f_uint16ss_decimate_by_)
/**
* @see f_uint16ss_resize()
*/
#if !defined(_di_f_uint16ss_decrease_by_) || !defined(_di_f_uint16ss_increase_) || !defined(_di_f_uint16ss_increase_by_) || !defined(_di_f_uint16ss_resize_)
- extern f_status_t private_f_uint16ss_resize(const f_array_length_t length, f_uint16ss_t *uint16ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint16ss_resize(const f_number_unsigned_t length, f_uint16ss_t *uint16ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint16ss_decrease_by_) || !defined(_di_f_uint16ss_increase_) || !defined(_di_f_uint16ss_increase_by_) || !defined(_di_f_uint16ss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_uint32s_adjust_) || !defined(_di_f_uint32s_decimate_by_)
- f_status_t private_f_uint32s_adjust(const f_array_length_t length, f_uint32s_t *uint32s) {
+ f_status_t private_f_uint32s_adjust(const f_number_unsigned_t length, f_uint32s_t *uint32s) {
const f_status_t status = f_memory_adjust(uint32s->size, length, sizeof(uint32_t), (void **) & uint32s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_uint32s_append_) || !defined(_di_f_uint32s_append_all_) || !defined(_di_f_uint32ss_append_all_)
#if !defined(_di_f_uint32s_resize_) || !defined(_di_f_uint32s_append_) || !defined(_di_f_uint32s_decrease_by_) || !defined(_di_f_uint32ss_append_)
- f_status_t private_f_uint32s_resize(const f_array_length_t length, f_uint32s_t *uint32s) {
+ f_status_t private_f_uint32s_resize(const f_number_unsigned_t length, f_uint32s_t *uint32s) {
const f_status_t status = f_memory_resize(uint32s->size, length, sizeof(uint32_t), (void **) & uint32s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint32s_resize_) || !defined(_di_f_uint32s_append_) || !defined(_di_f_uint32s_decrease_by_) || !defined(_di_f_uint32ss_append_)
#if !defined(_di_f_uint32ss_adjust_) || !defined(_di_f_uint32ss_decimate_by_)
- f_status_t private_f_uint32ss_adjust(const f_array_length_t length, f_uint32ss_t *uint32ss) {
+ f_status_t private_f_uint32ss_adjust(const f_number_unsigned_t length, f_uint32ss_t *uint32ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint32ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint32ss->size; ++i) {
status = f_memory_destroy(uint32ss->array[i].size, sizeof(f_uint32s_t), (void **) & uint32ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint32ss_adjust_) || !defined(_di_f_uint32ss_decimate_by_)
#if !defined(_di_f_uint32ss_decrease_by_) || !defined(_di_f_uint32ss_increase_) || !defined(_di_f_uint32ss_increase_by_) || !defined(_di_f_uint32ss_resize_)
- f_status_t private_f_uint32ss_resize(const f_array_length_t length, f_uint32ss_t *uint32ss) {
+ f_status_t private_f_uint32ss_resize(const f_number_unsigned_t length, f_uint32ss_t *uint32ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint32ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint32ss->size; ++i) {
status = f_memory_delete(uint32ss->array[i].size, sizeof(f_uint32s_t), (void **) & uint32ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_uint32s_decimate_by()
*/
#if !defined(_di_f_uint32s_adjust_) || !defined(_di_f_uint32s_decimate_by_)
- extern f_status_t private_f_uint32s_adjust(const f_array_length_t length, f_uint32s_t *uint32s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint32s_adjust(const f_number_unsigned_t length, f_uint32s_t *uint32s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint32s_adjust_) || !defined(_di_f_uint32s_decimate_by_)
/**
* @see f_uint32ss_append()
*/
#if !defined(_di_f_uint32s_resize_) || !defined(_di_f_uint32s_append_) || !defined(_di_f_uint32s_decrease_by_) || !defined(_di_f_uint32ss_append_)
- extern f_status_t private_f_uint32s_resize(const f_array_length_t length, f_uint32s_t *uint32s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint32s_resize(const f_number_unsigned_t length, f_uint32s_t *uint32s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint32s_resize_) || !defined(_di_f_uint32s_append_) || !defined(_di_f_uint32s_decrease_by_) || !defined(_di_f_uint32ss_append_)
/**
* @see f_uint32ss_decimate_by()
*/
#if !defined(_di_f_uint32ss_adjust_) || !defined(_di_f_uint32ss_decimate_by_)
- extern f_status_t private_f_uint32ss_adjust(const f_array_length_t length, f_uint32ss_t *uint32ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint32ss_adjust(const f_number_unsigned_t length, f_uint32ss_t *uint32ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint32ss_adjust_) || !defined(_di_f_uint32ss_decimate_by_)
/**
* @see f_uint32ss_resize()
*/
#if !defined(_di_f_uint32ss_decrease_by_) || !defined(_di_f_uint32ss_increase_) || !defined(_di_f_uint32ss_increase_by_) || !defined(_di_f_uint32ss_resize_)
- extern f_status_t private_f_uint32ss_resize(const f_array_length_t length, f_uint32ss_t *uint32ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint32ss_resize(const f_number_unsigned_t length, f_uint32ss_t *uint32ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint32ss_decrease_by_) || !defined(_di_f_uint32ss_increase_) || !defined(_di_f_uint32ss_increase_by_) || !defined(_di_f_uint32ss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_uint64s_adjust_) || !defined(_di_f_uint64s_decimate_by_)
- f_status_t private_f_uint64s_adjust(const f_array_length_t length, f_uint64s_t *uint64s) {
+ f_status_t private_f_uint64s_adjust(const f_number_unsigned_t length, f_uint64s_t *uint64s) {
const f_status_t status = f_memory_adjust(uint64s->size, length, sizeof(uint64_t), (void **) & uint64s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_uint64s_append_) || !defined(_di_f_uint64s_append_all_) || !defined(_di_f_uint64ss_append_all_)
#if !defined(_di_f_uint64s_resize_) || !defined(_di_f_uint64s_append_) || !defined(_di_f_uint64s_decrease_by_) || !defined(_di_f_uint64ss_append_)
- f_status_t private_f_uint64s_resize(const f_array_length_t length, f_uint64s_t *uint64s) {
+ f_status_t private_f_uint64s_resize(const f_number_unsigned_t length, f_uint64s_t *uint64s) {
const f_status_t status = f_memory_resize(uint64s->size, length, sizeof(uint64_t), (void **) & uint64s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint64s_resize_) || !defined(_di_f_uint64s_append_) || !defined(_di_f_uint64s_decrease_by_) || !defined(_di_f_uint64ss_append_)
#if !defined(_di_f_uint64ss_adjust_) || !defined(_di_f_uint64ss_decimate_by_)
- f_status_t private_f_uint64ss_adjust(const f_array_length_t length, f_uint64ss_t *uint64ss) {
+ f_status_t private_f_uint64ss_adjust(const f_number_unsigned_t length, f_uint64ss_t *uint64ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint64ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint64ss->size; ++i) {
status = f_memory_destroy(uint64ss->array[i].size, sizeof(f_uint64s_t), (void **) & uint64ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint64ss_adjust_) || !defined(_di_f_uint64ss_decimate_by_)
#if !defined(_di_f_uint64ss_decrease_by_) || !defined(_di_f_uint64ss_increase_) || !defined(_di_f_uint64ss_increase_by_) || !defined(_di_f_uint64ss_resize_)
- f_status_t private_f_uint64ss_resize(const f_array_length_t length, f_uint64ss_t *uint64ss) {
+ f_status_t private_f_uint64ss_resize(const f_number_unsigned_t length, f_uint64ss_t *uint64ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint64ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint64ss->size; ++i) {
status = f_memory_delete(uint64ss->array[i].size, sizeof(f_uint64s_t), (void **) & uint64ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_uint64s_decimate_by()
*/
#if !defined(_di_f_uint64s_adjust_) || !defined(_di_f_uint64s_decimate_by_)
- extern f_status_t private_f_uint64s_adjust(const f_array_length_t length, f_uint64s_t *uint64s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint64s_adjust(const f_number_unsigned_t length, f_uint64s_t *uint64s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint64s_adjust_) || !defined(_di_f_uint64s_decimate_by_)
/**
* @see f_uint64ss_append()
*/
#if !defined(_di_f_uint64s_resize_) || !defined(_di_f_uint64s_append_) || !defined(_di_f_uint64s_decrease_by_) || !defined(_di_f_uint64ss_append_)
- extern f_status_t private_f_uint64s_resize(const f_array_length_t length, f_uint64s_t *uint64s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint64s_resize(const f_number_unsigned_t length, f_uint64s_t *uint64s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint64s_resize_) || !defined(_di_f_uint64s_append_) || !defined(_di_f_uint64s_decrease_by_) || !defined(_di_f_uint64ss_append_)
/**
* @see f_uint64ss_decimate_by()
*/
#if !defined(_di_f_uint64ss_adjust_) || !defined(_di_f_uint64ss_decimate_by_)
- extern f_status_t private_f_uint64ss_adjust(const f_array_length_t length, f_uint64ss_t *uint64ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint64ss_adjust(const f_number_unsigned_t length, f_uint64ss_t *uint64ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint64ss_adjust_) || !defined(_di_f_uint64ss_decimate_by_)
/**
* @see f_uint64ss_resize()
*/
#if !defined(_di_f_uint64ss_decrease_by_) || !defined(_di_f_uint64ss_increase_) || !defined(_di_f_uint64ss_increase_by_) || !defined(_di_f_uint64ss_resize_)
- extern f_status_t private_f_uint64ss_resize(const f_array_length_t length, f_uint64ss_t *uint64ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint64ss_resize(const f_number_unsigned_t length, f_uint64ss_t *uint64ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint64ss_decrease_by_) || !defined(_di_f_uint64ss_increase_) || !defined(_di_f_uint64ss_increase_by_) || !defined(_di_f_uint64ss_resize_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_uint8s_adjust_) || !defined(_di_f_uint8s_decimate_by_)
- f_status_t private_f_uint8s_adjust(const f_array_length_t length, f_uint8s_t *uint8s) {
+ f_status_t private_f_uint8s_adjust(const f_number_unsigned_t length, f_uint8s_t *uint8s) {
const f_status_t status = f_memory_adjust(uint8s->size, length, sizeof(uint8_t), (void **) & uint8s->array);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
destination->array[destination->used++] = source.array[i];
} // for
#endif // !defined(_di_f_uint8s_append_) || !defined(_di_f_uint8s_append_all_) || !defined(_di_f_uint8ss_append_all_)
#if !defined(_di_f_uint8s_append_) || !defined(_di_f_uint8s_append_all_) || !defined(_di_f_uint8s_decrease_by_) || !defined(_di_f_uint8s_increase_) || !defined(_di_f_uint8s_increase_by_) || !defined(_di_f_uint8s_resize_) || !defined(_di_f_uint8ss_append_) || !defined(_di_f_uint8ss_append_all_)
- f_status_t private_f_uint8s_resize(const f_array_length_t length, f_uint8s_t *uint8s) {
+ f_status_t private_f_uint8s_resize(const f_number_unsigned_t length, f_uint8s_t *uint8s) {
const f_status_t status = f_memory_resize(uint8s->size, length, sizeof(uint8_t), (void **) & uint8s->array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint8s_append_) || !defined(_di_f_uint8s_append_all_) || !defined(_di_f_uint8s_decrease_by_) || !defined(_di_f_uint8s_increase_) || !defined(_di_f_uint8s_increase_by_) || !defined(_di_f_uint8s_resize_) || !defined(_di_f_uint8ss_append_) || !defined(_di_f_uint8ss_append_all_)
#if !defined(_di_f_uint8ss_adjust_) || !defined(_di_f_uint8ss_decimate_by_)
- f_status_t private_f_uint8ss_adjust(const f_array_length_t length, f_uint8ss_t *uint8ss) {
+ f_status_t private_f_uint8ss_adjust(const f_number_unsigned_t length, f_uint8ss_t *uint8ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint8ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint8ss->size; ++i) {
status = f_memory_destroy(uint8ss->array[i].size, sizeof(f_uint8s_t), (void **) & uint8ss->array[i].array);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_uint8ss_adjust_) || !defined(_di_f_uint8ss_decimate_by_)
#if !defined(_di_f_uint8ss_decrease_by_) || !defined(_di_f_uint8ss_increase_) || !defined(_di_f_uint8ss_increase_by_) || !defined(_di_f_uint8ss_resize_)
- f_status_t private_f_uint8ss_resize(const f_array_length_t length, f_uint8ss_t *uint8ss) {
+ f_status_t private_f_uint8ss_resize(const f_number_unsigned_t length, f_uint8ss_t *uint8ss) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < uint8ss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < uint8ss->size; ++i) {
status = f_memory_delete(uint8ss->array[i].size, sizeof(f_uint8s_t), (void **) & uint8ss->array[i].array);
if (F_status_is_error(status)) return status;
* @see f_uint8s_decimate_by()
*/
#if !defined(_di_f_uint8s_adjust_) || !defined(_di_f_uint8s_decimate_by_)
- extern f_status_t private_f_uint8s_adjust(const f_array_length_t length, f_uint8s_t *uint8s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint8s_adjust(const f_number_unsigned_t length, f_uint8s_t *uint8s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint8s_adjust_) || !defined(_di_f_uint8s_decimate_by_)
/**
*
*/
#if !defined(_di_f_uint8s_append_) || !defined(_di_f_uint8s_append_all_) || !defined(_di_f_uint8s_decrease_by_) || !defined(_di_f_uint8s_increase_) || !defined(_di_f_uint8s_increase_by_) || !defined(_di_f_uint8s_resize_) || !defined(_di_f_uint8ss_append_) || !defined(_di_f_uint8ss_append_all_)
- extern f_status_t private_f_uint8s_resize(const f_array_length_t length, f_uint8s_t *uint8s) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint8s_resize(const f_number_unsigned_t length, f_uint8s_t *uint8s) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint8s_append_) || !defined(_di_f_uint8s_append_all_) || !defined(_di_f_uint8s_decrease_by_) || !defined(_di_f_uint8s_increase_) || !defined(_di_f_uint8s_increase_by_) || !defined(_di_f_uint8s_resize_) || !defined(_di_f_uint8ss_append_) || !defined(_di_f_uint8ss_append_all_)
/**
* @see f_uint8ss_decimate_by()
*/
#if !defined(_di_f_uint8ss_adjust_) || !defined(_di_f_uint8ss_decimate_by_)
- extern f_status_t private_f_uint8ss_adjust(const f_array_length_t length, f_uint8ss_t *uint8ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint8ss_adjust(const f_number_unsigned_t length, f_uint8ss_t *uint8ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint8ss_adjust_) || !defined(_di_f_uint8ss_decimate_by_)
/**
* @see f_uint8ss_resize()
*/
#if !defined(_di_f_uint8ss_decrease_by_) || !defined(_di_f_uint8ss_increase_) || !defined(_di_f_uint8ss_increase_by_) || !defined(_di_f_uint8ss_resize_)
- extern f_status_t private_f_uint8ss_resize(const f_array_length_t length, f_uint8ss_t *uint8ss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_uint8ss_resize(const f_number_unsigned_t length, f_uint8ss_t *uint8ss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_uint8ss_decrease_by_) || !defined(_di_f_uint8ss_increase_) || !defined(_di_f_uint8ss_increase_by_) || !defined(_di_f_uint8ss_resize_)
#ifdef __cplusplus
#endif
#ifndef _di_f_states_adjust_
- f_status_t f_states_adjust(const f_array_length_t length, f_states_t *states) {
+ f_status_t f_states_adjust(const f_number_unsigned_t length, f_states_t *states) {
#ifndef _di_level_0_parameter_checking_
if (!states) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_states_append_all_
#ifndef _di_f_states_decimate_by_
- f_status_t f_states_decimate_by(const f_array_length_t amount, f_states_t *states) {
+ f_status_t f_states_decimate_by(const f_number_unsigned_t amount, f_states_t *states) {
#ifndef _di_level_0_parameter_checking_
if (!states) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_states_decimate_by_
#ifndef _di_f_states_decrease_by_
- f_status_t f_states_decrease_by(const f_array_length_t amount, f_states_t *states) {
+ f_status_t f_states_decrease_by(const f_number_unsigned_t amount, f_states_t *states) {
#ifndef _di_level_0_parameter_checking_
if (!states) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_states_decrease_by_
#ifndef _di_f_states_increase_
- f_status_t f_states_increase(const f_array_length_t step, f_states_t *states) {
+ f_status_t f_states_increase(const f_number_unsigned_t step, f_states_t *states) {
#ifndef _di_level_0_parameter_checking_
if (!states) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && states->used + 1 > states->size) {
- f_array_length_t size = states->used + step;
+ f_number_unsigned_t size = states->used + step;
- if (size > F_array_length_t_size_d) {
- if (states->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (states->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_states_resize(size, states);
#endif // _di_f_states_increase_
#ifndef _di_f_states_increase_by_
- f_status_t f_states_increase_by(const f_array_length_t amount, f_states_t *states) {
+ f_status_t f_states_increase_by(const f_number_unsigned_t amount, f_states_t *states) {
#ifndef _di_level_0_parameter_checking_
if (!states) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (states->used + amount > states->size) {
- if (states->used + amount > F_array_length_t_size_d) {
+ if (states->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_states_increase_by_
#ifndef _di_f_states_resize_
- f_status_t f_states_resize(const f_array_length_t length, f_states_t *states) {
+ f_status_t f_states_resize(const f_number_unsigned_t length, f_states_t *states) {
#ifndef _di_level_0_parameter_checking_
if (!states) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_states_resize_
#ifndef _di_f_statess_adjust_
- f_status_t f_statess_adjust(const f_array_length_t length, f_statess_t *statess) {
+ f_status_t f_statess_adjust(const f_number_unsigned_t length, f_statess_t *statess) {
#ifndef _di_level_0_parameter_checking_
if (!statess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_statess_append_all_
#ifndef _di_f_statess_decimate_by_
- f_status_t f_statess_decimate_by(const f_array_length_t amount, f_statess_t *statess) {
+ f_status_t f_statess_decimate_by(const f_number_unsigned_t amount, f_statess_t *statess) {
#ifndef _di_level_0_parameter_checking_
if (!statess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_statess_decimate_by_
#ifndef _di_f_statess_decrease_by_
- f_status_t f_statess_decrease_by(const f_array_length_t amount, f_statess_t *statess) {
+ f_status_t f_statess_decrease_by(const f_number_unsigned_t amount, f_statess_t *statess) {
#ifndef _di_level_0_parameter_checking_
if (!statess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_statess_decrease_by_
#ifndef _di_f_statess_increase_
- f_status_t f_statess_increase(const f_array_length_t step, f_statess_t *statess) {
+ f_status_t f_statess_increase(const f_number_unsigned_t step, f_statess_t *statess) {
#ifndef _di_level_0_parameter_checking_
if (!statess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && statess->used + 1 > statess->size) {
- f_array_length_t size = statess->used + step;
+ f_number_unsigned_t size = statess->used + step;
- if (size > F_array_length_t_size_d) {
- if (statess->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (statess->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_statess_resize(size, statess);
#endif // _di_f_statess_increase_
#ifndef _di_f_statess_increase_by_
- f_status_t f_statess_increase_by(const f_array_length_t amount, f_statess_t *statess) {
+ f_status_t f_statess_increase_by(const f_number_unsigned_t amount, f_statess_t *statess) {
#ifndef _di_level_0_parameter_checking_
if (!statess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (statess->used + amount > statess->size) {
- if (statess->used + amount > F_array_length_t_size_d) {
+ if (statess->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_statess_increase_by_
#ifndef _di_f_statess_resize_
- f_status_t f_statess_resize(const f_array_length_t length, f_statess_t *statess) {
+ f_status_t f_statess_resize(const f_number_unsigned_t length, f_statess_t *statess) {
#ifndef _di_level_0_parameter_checking_
if (!statess) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_states_adjust_
- extern f_status_t f_states_adjust(const f_array_length_t length, f_states_t *states);
+ extern f_status_t f_states_adjust(const f_number_unsigned_t length, f_states_t *states);
#endif // _di_f_states_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_states_decimate_by_
- extern f_status_t f_states_decimate_by(const f_array_length_t amount, f_states_t *states);
+ extern f_status_t f_states_decimate_by(const f_number_unsigned_t amount, f_states_t *states);
#endif // _di_f_states_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_states_decrease_by_
- extern f_status_t f_states_decrease_by(const f_array_length_t amount, f_states_t *states);
+ extern f_status_t f_states_decrease_by(const f_number_unsigned_t amount, f_states_t *states);
#endif // _di_f_states_decrease_by_
/**
* Increase the size of the string states array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_states_increase_
- extern f_status_t f_states_increase(const f_array_length_t step, f_states_t *states);
+ extern f_status_t f_states_increase(const f_number_unsigned_t step, f_states_t *states);
#endif // _di_f_states_increase_
/**
* Resize the string states array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_states_increase_by_
- extern f_status_t f_states_increase_by(const f_array_length_t amount, f_states_t *states);
+ extern f_status_t f_states_increase_by(const f_number_unsigned_t amount, f_states_t *states);
#endif // _di_f_states_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_states_resize_
- extern f_status_t f_states_resize(const f_array_length_t length, f_states_t *states);
+ extern f_status_t f_states_resize(const f_number_unsigned_t length, f_states_t *states);
#endif // _di_f_states_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_statess_adjust_
- extern f_status_t f_statess_adjust(const f_array_length_t length, f_statess_t *statess);
+ extern f_status_t f_statess_adjust(const f_number_unsigned_t length, f_statess_t *statess);
#endif // _di_f_statess_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_statess_decimate_by_
- extern f_status_t f_statess_decimate_by(const f_array_length_t amount, f_statess_t *statess);
+ extern f_status_t f_statess_decimate_by(const f_number_unsigned_t amount, f_statess_t *statess);
#endif // _di_f_statess_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statess_decrease_by_
- extern f_status_t f_statess_decrease_by(const f_array_length_t amount, f_statess_t *statess);
+ extern f_status_t f_statess_decrease_by(const f_number_unsigned_t amount, f_statess_t *statess);
#endif // _di_f_statess_decrease_by_
/**
* Increase the size of the string statess array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statess_increase_
- extern f_status_t f_statess_increase(const f_array_length_t step, f_statess_t *statess);
+ extern f_status_t f_statess_increase(const f_number_unsigned_t step, f_statess_t *statess);
#endif // _di_f_statess_increase_
/**
* Resize the string statess array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statess_increase_by_
- extern f_status_t f_statess_increase_by(const f_array_length_t amount, f_statess_t *statess);
+ extern f_status_t f_statess_increase_by(const f_number_unsigned_t amount, f_statess_t *statess);
#endif // _di_f_statess_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statess_resize_
- extern f_status_t f_statess_resize(const f_array_length_t length, f_statess_t *statess);
+ extern f_status_t f_statess_resize(const f_number_unsigned_t length, f_statess_t *statess);
#endif // _di_f_statess_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_statuss_adjust_
- f_status_t f_statuss_adjust(const f_array_length_t length, f_statuss_t *statuss) {
+ f_status_t f_statuss_adjust(const f_number_unsigned_t length, f_statuss_t *statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_statuss_append_all_
#ifndef _di_f_statuss_decimate_by_
- f_status_t f_statuss_decimate_by(const f_array_length_t amount, f_statuss_t *statuss) {
+ f_status_t f_statuss_decimate_by(const f_number_unsigned_t amount, f_statuss_t *statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_statuss_decimate_by_
#ifndef _di_f_statuss_decrease_by_
- f_status_t f_statuss_decrease_by(const f_array_length_t amount, f_statuss_t *statuss) {
+ f_status_t f_statuss_decrease_by(const f_number_unsigned_t amount, f_statuss_t *statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_statuss_decrease_by_
#ifndef _di_f_statuss_increase_
- f_status_t f_statuss_increase(const f_array_length_t step, f_statuss_t *statuss) {
+ f_status_t f_statuss_increase(const f_number_unsigned_t step, f_statuss_t *statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && statuss->used + 1 > statuss->size) {
- f_array_length_t size = statuss->used + step;
+ f_number_unsigned_t size = statuss->used + step;
- if (size > F_array_length_t_size_d) {
- if (statuss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (statuss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_statuss_resize(size, statuss);
#endif // _di_f_statuss_increase_
#ifndef _di_f_statuss_increase_by_
- f_status_t f_statuss_increase_by(const f_array_length_t amount, f_statuss_t *statuss) {
+ f_status_t f_statuss_increase_by(const f_number_unsigned_t amount, f_statuss_t *statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (statuss->used + amount > statuss->size) {
- if (statuss->used + amount > F_array_length_t_size_d) {
+ if (statuss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_statuss_increase_by_
#ifndef _di_f_statuss_resize_
- f_status_t f_statuss_resize(const f_array_length_t length, f_statuss_t *statuss) {
+ f_status_t f_statuss_resize(const f_number_unsigned_t length, f_statuss_t *statuss) {
#ifndef _di_level_0_parameter_checking_
if (!statuss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_statuss_resize_
#ifndef _di_f_statusss_adjust_
- f_status_t f_statusss_adjust(const f_array_length_t length, f_statusss_t *statusss) {
+ f_status_t f_statusss_adjust(const f_number_unsigned_t length, f_statusss_t *statusss) {
#ifndef _di_level_0_parameter_checking_
if (!statusss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_statusss_append_all_
#ifndef _di_f_statusss_decimate_by_
- f_status_t f_statusss_decimate_by(const f_array_length_t amount, f_statusss_t *statusss) {
+ f_status_t f_statusss_decimate_by(const f_number_unsigned_t amount, f_statusss_t *statusss) {
#ifndef _di_level_0_parameter_checking_
if (!statusss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_statusss_decimate_by_
#ifndef _di_f_statusss_decrease_by_
- f_status_t f_statusss_decrease_by(const f_array_length_t amount, f_statusss_t *statusss) {
+ f_status_t f_statusss_decrease_by(const f_number_unsigned_t amount, f_statusss_t *statusss) {
#ifndef _di_level_0_parameter_checking_
if (!statusss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_statusss_decrease_by_
#ifndef _di_f_statusss_increase_
- f_status_t f_statusss_increase(const f_array_length_t step, f_statusss_t *statusss) {
+ f_status_t f_statusss_increase(const f_number_unsigned_t step, f_statusss_t *statusss) {
#ifndef _di_level_0_parameter_checking_
if (!statusss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && statusss->used + 1 > statusss->size) {
- f_array_length_t size = statusss->used + step;
+ f_number_unsigned_t size = statusss->used + step;
- if (size > F_array_length_t_size_d) {
- if (statusss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (statusss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_statusss_resize(size, statusss);
#endif // _di_f_statusss_increase_
#ifndef _di_f_statusss_increase_by_
- f_status_t f_statusss_increase_by(const f_array_length_t amount, f_statusss_t *statusss) {
+ f_status_t f_statusss_increase_by(const f_number_unsigned_t amount, f_statusss_t *statusss) {
#ifndef _di_level_0_parameter_checking_
if (!statusss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (statusss->used + amount > statusss->size) {
- if (statusss->used + amount > F_array_length_t_size_d) {
+ if (statusss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_statusss_increase_by_
#ifndef _di_f_statusss_resize_
- f_status_t f_statusss_resize(const f_array_length_t length, f_statusss_t *statusss) {
+ f_status_t f_statusss_resize(const f_number_unsigned_t length, f_statusss_t *statusss) {
#ifndef _di_level_0_parameter_checking_
if (!statusss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_statuss_adjust_
- extern f_status_t f_statuss_adjust(const f_array_length_t length, f_statuss_t *statuss);
+ extern f_status_t f_statuss_adjust(const f_number_unsigned_t length, f_statuss_t *statuss);
#endif // _di_f_statuss_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_statuss_decimate_by_
- extern f_status_t f_statuss_decimate_by(const f_array_length_t amount, f_statuss_t *statuss);
+ extern f_status_t f_statuss_decimate_by(const f_number_unsigned_t amount, f_statuss_t *statuss);
#endif // _di_f_statuss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statuss_decrease_by_
- extern f_status_t f_statuss_decrease_by(const f_array_length_t amount, f_statuss_t *statuss);
+ extern f_status_t f_statuss_decrease_by(const f_number_unsigned_t amount, f_statuss_t *statuss);
#endif // _di_f_statuss_decrease_by_
/**
* Increase the size of the string statuss array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statuss_increase_
- extern f_status_t f_statuss_increase(const f_array_length_t step, f_statuss_t *statuss);
+ extern f_status_t f_statuss_increase(const f_number_unsigned_t step, f_statuss_t *statuss);
#endif // _di_f_statuss_increase_
/**
* Resize the string statuss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statuss_increase_by_
- extern f_status_t f_statuss_increase_by(const f_array_length_t amount, f_statuss_t *statuss);
+ extern f_status_t f_statuss_increase_by(const f_number_unsigned_t amount, f_statuss_t *statuss);
#endif // _di_f_statuss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statuss_resize_
- extern f_status_t f_statuss_resize(const f_array_length_t length, f_statuss_t *statuss);
+ extern f_status_t f_statuss_resize(const f_number_unsigned_t length, f_statuss_t *statuss);
#endif // _di_f_statuss_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_statusss_adjust_
- extern f_status_t f_statusss_adjust(const f_array_length_t length, f_statusss_t *statusss);
+ extern f_status_t f_statusss_adjust(const f_number_unsigned_t length, f_statusss_t *statusss);
#endif // _di_f_statusss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_statusss_decimate_by_
- extern f_status_t f_statusss_decimate_by(const f_array_length_t amount, f_statusss_t *statusss);
+ extern f_status_t f_statusss_decimate_by(const f_number_unsigned_t amount, f_statusss_t *statusss);
#endif // _di_f_statusss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statusss_decrease_by_
- extern f_status_t f_statusss_decrease_by(const f_array_length_t amount, f_statusss_t *statusss);
+ extern f_status_t f_statusss_decrease_by(const f_number_unsigned_t amount, f_statusss_t *statusss);
#endif // _di_f_statusss_decrease_by_
/**
* Increase the size of the string statusss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statusss_increase_
- extern f_status_t f_statusss_increase(const f_array_length_t step, f_statusss_t *statusss);
+ extern f_status_t f_statusss_increase(const f_number_unsigned_t step, f_statusss_t *statusss);
#endif // _di_f_statusss_increase_
/**
* Resize the string statusss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statusss_increase_by_
- extern f_status_t f_statusss_increase_by(const f_array_length_t amount, f_statusss_t *statusss);
+ extern f_status_t f_statusss_increase_by(const f_number_unsigned_t amount, f_statusss_t *statusss);
#endif // _di_f_statusss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_statusss_resize_
- extern f_status_t f_statusss_resize(const f_array_length_t length, f_statusss_t *statusss);
+ extern f_status_t f_statusss_resize(const f_number_unsigned_t length, f_statusss_t *statusss);
#endif // _di_f_statusss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_uint128s_adjust_
- f_status_t f_uint128s_adjust(const f_array_length_t length, f_uint128s_t *uint128s) {
+ f_status_t f_uint128s_adjust(const f_number_unsigned_t length, f_uint128s_t *uint128s) {
#ifndef _di_level_0_parameter_checking_
if (!uint128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint128s_append_all_
#ifndef _di_f_uint128s_decimate_by_
- f_status_t f_uint128s_decimate_by(const f_array_length_t amount, f_uint128s_t *uint128s) {
+ f_status_t f_uint128s_decimate_by(const f_number_unsigned_t amount, f_uint128s_t *uint128s) {
#ifndef _di_level_0_parameter_checking_
if (!uint128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint128s_decimate_by_
#ifndef _di_f_uint128s_decrease_by_
- f_status_t f_uint128s_decrease_by(const f_array_length_t amount, f_uint128s_t *uint128s) {
+ f_status_t f_uint128s_decrease_by(const f_number_unsigned_t amount, f_uint128s_t *uint128s) {
#ifndef _di_level_0_parameter_checking_
if (!uint128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint128s_decrease_by_
#ifndef _di_f_uint128s_increase_
- f_status_t f_uint128s_increase(const f_array_length_t step, f_uint128s_t *uint128s) {
+ f_status_t f_uint128s_increase(const f_number_unsigned_t step, f_uint128s_t *uint128s) {
#ifndef _di_level_0_parameter_checking_
if (!uint128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint128s->used + 1 > uint128s->size) {
- f_array_length_t size = uint128s->used + step;
+ f_number_unsigned_t size = uint128s->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint128s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint128s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint128s_resize(size, uint128s);
#endif // _di_f_uint128s_increase_
#ifndef _di_f_uint128s_increase_by_
- f_status_t f_uint128s_increase_by(const f_array_length_t amount, f_uint128s_t *uint128s) {
+ f_status_t f_uint128s_increase_by(const f_number_unsigned_t amount, f_uint128s_t *uint128s) {
#ifndef _di_level_0_parameter_checking_
if (!uint128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint128s->used + amount > uint128s->size) {
- if (uint128s->used + amount > F_array_length_t_size_d) {
+ if (uint128s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint128s_increase_by_
#ifndef _di_f_uint128s_resize_
- f_status_t f_uint128s_resize(const f_array_length_t length, f_uint128s_t *uint128s) {
+ f_status_t f_uint128s_resize(const f_number_unsigned_t length, f_uint128s_t *uint128s) {
#ifndef _di_level_0_parameter_checking_
if (!uint128s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint128s_resize_
#ifndef _di_f_uint128ss_adjust_
- f_status_t f_uint128ss_adjust(const f_array_length_t length, f_uint128ss_t *uint128ss) {
+ f_status_t f_uint128ss_adjust(const f_number_unsigned_t length, f_uint128ss_t *uint128ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_uint128ss_append_all_
#ifndef _di_f_uint128ss_decimate_by_
- f_status_t f_uint128ss_decimate_by(const f_array_length_t amount, f_uint128ss_t *uint128ss) {
+ f_status_t f_uint128ss_decimate_by(const f_number_unsigned_t amount, f_uint128ss_t *uint128ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint128ss_decimate_by_
#ifndef _di_f_uint128ss_decrease_by_
- f_status_t f_uint128ss_decrease_by(const f_array_length_t amount, f_uint128ss_t *uint128ss) {
+ f_status_t f_uint128ss_decrease_by(const f_number_unsigned_t amount, f_uint128ss_t *uint128ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint128ss_decrease_by_
#ifndef _di_f_uint128ss_increase_
- f_status_t f_uint128ss_increase(const f_array_length_t step, f_uint128ss_t *uint128ss) {
+ f_status_t f_uint128ss_increase(const f_number_unsigned_t step, f_uint128ss_t *uint128ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint128ss->used + 1 > uint128ss->size) {
- f_array_length_t size = uint128ss->used + step;
+ f_number_unsigned_t size = uint128ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint128ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint128ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint128ss_resize(size, uint128ss);
#endif // _di_f_uint128ss_increase_
#ifndef _di_f_uint128ss_increase_by_
- f_status_t f_uint128ss_increase_by(const f_array_length_t amount, f_uint128ss_t *uint128ss) {
+ f_status_t f_uint128ss_increase_by(const f_number_unsigned_t amount, f_uint128ss_t *uint128ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint128ss->used + amount > uint128ss->size) {
- if (uint128ss->used + amount > F_array_length_t_size_d) {
+ if (uint128ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint128ss_increase_by_
#ifndef _di_f_uint128ss_resize_
- f_status_t f_uint128ss_resize(const f_array_length_t length, f_uint128ss_t *uint128ss) {
+ f_status_t f_uint128ss_resize(const f_number_unsigned_t length, f_uint128ss_t *uint128ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint128ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint128s_adjust_
- extern f_status_t f_uint128s_adjust(const f_array_length_t length, f_uint128s_t *uint128s);
+ extern f_status_t f_uint128s_adjust(const f_number_unsigned_t length, f_uint128s_t *uint128s);
#endif // _di_f_uint128s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint128s_decimate_by_
- extern f_status_t f_uint128s_decimate_by(const f_array_length_t amount, f_uint128s_t *uint128s);
+ extern f_status_t f_uint128s_decimate_by(const f_number_unsigned_t amount, f_uint128s_t *uint128s);
#endif // _di_f_uint128s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint128s_decrease_by_
- extern f_status_t f_uint128s_decrease_by(const f_array_length_t amount, f_uint128s_t *uint128s);
+ extern f_status_t f_uint128s_decrease_by(const f_number_unsigned_t amount, f_uint128s_t *uint128s);
#endif // _di_f_uint128s_decrease_by_
/**
* Increase the size of the string uint128s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint128s_increase_
- extern f_status_t f_uint128s_increase(const f_array_length_t step, f_uint128s_t *uint128s);
+ extern f_status_t f_uint128s_increase(const f_number_unsigned_t step, f_uint128s_t *uint128s);
#endif // _di_f_uint128s_increase_
/**
* Resize the string uint128s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint128s_increase_by_
- extern f_status_t f_uint128s_increase_by(const f_array_length_t amount, f_uint128s_t *uint128s);
+ extern f_status_t f_uint128s_increase_by(const f_number_unsigned_t amount, f_uint128s_t *uint128s);
#endif // _di_f_uint128s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint128s_resize_
- extern f_status_t f_uint128s_resize(const f_array_length_t length, f_uint128s_t *uint128s);
+ extern f_status_t f_uint128s_resize(const f_number_unsigned_t length, f_uint128s_t *uint128s);
#endif // _di_f_uint128s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint128ss_adjust_
- extern f_status_t f_uint128ss_adjust(const f_array_length_t length, f_uint128ss_t *uint128ss);
+ extern f_status_t f_uint128ss_adjust(const f_number_unsigned_t length, f_uint128ss_t *uint128ss);
#endif // _di_f_uint128ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint128ss_decimate_by_
- extern f_status_t f_uint128ss_decimate_by(const f_array_length_t amount, f_uint128ss_t *uint128ss);
+ extern f_status_t f_uint128ss_decimate_by(const f_number_unsigned_t amount, f_uint128ss_t *uint128ss);
#endif // _di_f_uint128ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint128ss_decrease_by_
- extern f_status_t f_uint128ss_decrease_by(const f_array_length_t amount, f_uint128ss_t *uint128ss);
+ extern f_status_t f_uint128ss_decrease_by(const f_number_unsigned_t amount, f_uint128ss_t *uint128ss);
#endif // _di_f_uint128ss_decrease_by_
/**
* Increase the size of the string uint128ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint128ss_increase_
- extern f_status_t f_uint128ss_increase(const f_array_length_t step, f_uint128ss_t *uint128ss);
+ extern f_status_t f_uint128ss_increase(const f_number_unsigned_t step, f_uint128ss_t *uint128ss);
#endif // _di_f_uint128ss_increase_
/**
* Resize the string uint128ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint128ss_increase_by_
- extern f_status_t f_uint128ss_increase_by(const f_array_length_t amount, f_uint128ss_t *uint128ss);
+ extern f_status_t f_uint128ss_increase_by(const f_number_unsigned_t amount, f_uint128ss_t *uint128ss);
#endif // _di_f_uint128ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint128ss_resize_
- extern f_status_t f_uint128ss_resize(const f_array_length_t length, f_uint128ss_t *uint128ss);
+ extern f_status_t f_uint128ss_resize(const f_number_unsigned_t length, f_uint128ss_t *uint128ss);
#endif // _di_f_uint128ss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_uint16s_adjust_
- f_status_t f_uint16s_adjust(const f_array_length_t length, f_uint16s_t *uint16s) {
+ f_status_t f_uint16s_adjust(const f_number_unsigned_t length, f_uint16s_t *uint16s) {
#ifndef _di_level_0_parameter_checking_
if (!uint16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint16s_append_all_
#ifndef _di_f_uint16s_decimate_by_
- f_status_t f_uint16s_decimate_by(const f_array_length_t amount, f_uint16s_t *uint16s) {
+ f_status_t f_uint16s_decimate_by(const f_number_unsigned_t amount, f_uint16s_t *uint16s) {
#ifndef _di_level_0_parameter_checking_
if (!uint16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint16s_decimate_by_
#ifndef _di_f_uint16s_decrease_by_
- f_status_t f_uint16s_decrease_by(const f_array_length_t amount, f_uint16s_t *uint16s) {
+ f_status_t f_uint16s_decrease_by(const f_number_unsigned_t amount, f_uint16s_t *uint16s) {
#ifndef _di_level_0_parameter_checking_
if (!uint16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint16s_decrease_by_
#ifndef _di_f_uint16s_increase_
- f_status_t f_uint16s_increase(const f_array_length_t step, f_uint16s_t *uint16s) {
+ f_status_t f_uint16s_increase(const f_number_unsigned_t step, f_uint16s_t *uint16s) {
#ifndef _di_level_0_parameter_checking_
if (!uint16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint16s->used + 1 > uint16s->size) {
- f_array_length_t size = uint16s->used + step;
+ f_number_unsigned_t size = uint16s->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint16s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint16s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint16s_resize(size, uint16s);
#endif // _di_f_uint16s_increase_
#ifndef _di_f_uint16s_increase_by_
- f_status_t f_uint16s_increase_by(const f_array_length_t amount, f_uint16s_t *uint16s) {
+ f_status_t f_uint16s_increase_by(const f_number_unsigned_t amount, f_uint16s_t *uint16s) {
#ifndef _di_level_0_parameter_checking_
if (!uint16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint16s->used + amount > uint16s->size) {
- if (uint16s->used + amount > F_array_length_t_size_d) {
+ if (uint16s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint16s_increase_by_
#ifndef _di_f_uint16s_resize_
- f_status_t f_uint16s_resize(const f_array_length_t length, f_uint16s_t *uint16s) {
+ f_status_t f_uint16s_resize(const f_number_unsigned_t length, f_uint16s_t *uint16s) {
#ifndef _di_level_0_parameter_checking_
if (!uint16s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint16s_resize_
#ifndef _di_f_uint16ss_adjust_
- f_status_t f_uint16ss_adjust(const f_array_length_t length, f_uint16ss_t *uint16ss) {
+ f_status_t f_uint16ss_adjust(const f_number_unsigned_t length, f_uint16ss_t *uint16ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_uint16ss_append_all_
#ifndef _di_f_uint16ss_decimate_by_
- f_status_t f_uint16ss_decimate_by(const f_array_length_t amount, f_uint16ss_t *uint16ss) {
+ f_status_t f_uint16ss_decimate_by(const f_number_unsigned_t amount, f_uint16ss_t *uint16ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint16ss_decimate_by_
#ifndef _di_f_uint16ss_decrease_by_
- f_status_t f_uint16ss_decrease_by(const f_array_length_t amount, f_uint16ss_t *uint16ss) {
+ f_status_t f_uint16ss_decrease_by(const f_number_unsigned_t amount, f_uint16ss_t *uint16ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint16ss_decrease_by_
#ifndef _di_f_uint16ss_increase_
- f_status_t f_uint16ss_increase(const f_array_length_t step, f_uint16ss_t *uint16ss) {
+ f_status_t f_uint16ss_increase(const f_number_unsigned_t step, f_uint16ss_t *uint16ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint16ss->used + 1 > uint16ss->size) {
- f_array_length_t size = uint16ss->used + step;
+ f_number_unsigned_t size = uint16ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint16ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint16ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint16ss_resize(size, uint16ss);
#endif // _di_f_uint16ss_increase_
#ifndef _di_f_uint16ss_increase_by_
- f_status_t f_uint16ss_increase_by(const f_array_length_t amount, f_uint16ss_t *uint16ss) {
+ f_status_t f_uint16ss_increase_by(const f_number_unsigned_t amount, f_uint16ss_t *uint16ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint16ss->used + amount > uint16ss->size) {
- if (uint16ss->used + amount > F_array_length_t_size_d) {
+ if (uint16ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint16ss_increase_by_
#ifndef _di_f_uint16ss_resize_
- f_status_t f_uint16ss_resize(const f_array_length_t length, f_uint16ss_t *uint16ss) {
+ f_status_t f_uint16ss_resize(const f_number_unsigned_t length, f_uint16ss_t *uint16ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint16ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint16s_adjust_
- extern f_status_t f_uint16s_adjust(const f_array_length_t length, f_uint16s_t *uint16s);
+ extern f_status_t f_uint16s_adjust(const f_number_unsigned_t length, f_uint16s_t *uint16s);
#endif // _di_f_uint16s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint16s_decimate_by_
- extern f_status_t f_uint16s_decimate_by(const f_array_length_t amount, f_uint16s_t *uint16s);
+ extern f_status_t f_uint16s_decimate_by(const f_number_unsigned_t amount, f_uint16s_t *uint16s);
#endif // _di_f_uint16s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint16s_decrease_by_
- extern f_status_t f_uint16s_decrease_by(const f_array_length_t amount, f_uint16s_t *uint16s);
+ extern f_status_t f_uint16s_decrease_by(const f_number_unsigned_t amount, f_uint16s_t *uint16s);
#endif // _di_f_uint16s_decrease_by_
/**
* Increase the size of the string uint16s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint16s_increase_
- extern f_status_t f_uint16s_increase(const f_array_length_t step, f_uint16s_t *uint16s);
+ extern f_status_t f_uint16s_increase(const f_number_unsigned_t step, f_uint16s_t *uint16s);
#endif // _di_f_uint16s_increase_
/**
* Resize the string uint16s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint16s_increase_by_
- extern f_status_t f_uint16s_increase_by(const f_array_length_t amount, f_uint16s_t *uint16s);
+ extern f_status_t f_uint16s_increase_by(const f_number_unsigned_t amount, f_uint16s_t *uint16s);
#endif // _di_f_uint16s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint16s_resize_
- extern f_status_t f_uint16s_resize(const f_array_length_t length, f_uint16s_t *uint16s);
+ extern f_status_t f_uint16s_resize(const f_number_unsigned_t length, f_uint16s_t *uint16s);
#endif // _di_f_uint16s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint16ss_adjust_
- extern f_status_t f_uint16ss_adjust(const f_array_length_t length, f_uint16ss_t *uint16ss);
+ extern f_status_t f_uint16ss_adjust(const f_number_unsigned_t length, f_uint16ss_t *uint16ss);
#endif // _di_f_uint16ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint16ss_decimate_by_
- extern f_status_t f_uint16ss_decimate_by(const f_array_length_t amount, f_uint16ss_t *uint16ss);
+ extern f_status_t f_uint16ss_decimate_by(const f_number_unsigned_t amount, f_uint16ss_t *uint16ss);
#endif // _di_f_uint16ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint16ss_decrease_by_
- extern f_status_t f_uint16ss_decrease_by(const f_array_length_t amount, f_uint16ss_t *uint16ss);
+ extern f_status_t f_uint16ss_decrease_by(const f_number_unsigned_t amount, f_uint16ss_t *uint16ss);
#endif // _di_f_uint16ss_decrease_by_
/**
* Increase the size of the string uint16ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint16ss_increase_
- extern f_status_t f_uint16ss_increase(const f_array_length_t step, f_uint16ss_t *uint16ss);
+ extern f_status_t f_uint16ss_increase(const f_number_unsigned_t step, f_uint16ss_t *uint16ss);
#endif // _di_f_uint16ss_increase_
/**
* Resize the string uint16ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint16ss_increase_by_
- extern f_status_t f_uint16ss_increase_by(const f_array_length_t amount, f_uint16ss_t *uint16ss);
+ extern f_status_t f_uint16ss_increase_by(const f_number_unsigned_t amount, f_uint16ss_t *uint16ss);
#endif // _di_f_uint16ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint16ss_resize_
- extern f_status_t f_uint16ss_resize(const f_array_length_t length, f_uint16ss_t *uint16ss);
+ extern f_status_t f_uint16ss_resize(const f_number_unsigned_t length, f_uint16ss_t *uint16ss);
#endif // _di_f_uint16ss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_uint32s_adjust_
- f_status_t f_uint32s_adjust(const f_array_length_t length, f_uint32s_t *uint32s) {
+ f_status_t f_uint32s_adjust(const f_number_unsigned_t length, f_uint32s_t *uint32s) {
#ifndef _di_level_0_parameter_checking_
if (!uint32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint32s_append_all_
#ifndef _di_f_uint32s_decimate_by_
- f_status_t f_uint32s_decimate_by(const f_array_length_t amount, f_uint32s_t *uint32s) {
+ f_status_t f_uint32s_decimate_by(const f_number_unsigned_t amount, f_uint32s_t *uint32s) {
#ifndef _di_level_0_parameter_checking_
if (!uint32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint32s_decimate_by_
#ifndef _di_f_uint32s_decrease_by_
- f_status_t f_uint32s_decrease_by(const f_array_length_t amount, f_uint32s_t *uint32s) {
+ f_status_t f_uint32s_decrease_by(const f_number_unsigned_t amount, f_uint32s_t *uint32s) {
#ifndef _di_level_0_parameter_checking_
if (!uint32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint32s_decrease_by_
#ifndef _di_f_uint32s_increase_
- f_status_t f_uint32s_increase(const f_array_length_t step, f_uint32s_t *uint32s) {
+ f_status_t f_uint32s_increase(const f_number_unsigned_t step, f_uint32s_t *uint32s) {
#ifndef _di_level_0_parameter_checking_
if (!uint32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint32s->used + 1 > uint32s->size) {
- f_array_length_t size = uint32s->used + step;
+ f_number_unsigned_t size = uint32s->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint32s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint32s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint32s_resize(size, uint32s);
#endif // _di_f_uint32s_increase_
#ifndef _di_f_uint32s_increase_by_
- f_status_t f_uint32s_increase_by(const f_array_length_t amount, f_uint32s_t *uint32s) {
+ f_status_t f_uint32s_increase_by(const f_number_unsigned_t amount, f_uint32s_t *uint32s) {
#ifndef _di_level_0_parameter_checking_
if (!uint32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint32s->used + amount > uint32s->size) {
- if (uint32s->used + amount > F_array_length_t_size_d) {
+ if (uint32s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint32s_increase_by_
#ifndef _di_f_uint32s_resize_
- f_status_t f_uint32s_resize(const f_array_length_t length, f_uint32s_t *uint32s) {
+ f_status_t f_uint32s_resize(const f_number_unsigned_t length, f_uint32s_t *uint32s) {
#ifndef _di_level_0_parameter_checking_
if (!uint32s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint32s_resize_
#ifndef _di_f_uint32ss_adjust_
- f_status_t f_uint32ss_adjust(const f_array_length_t length, f_uint32ss_t *uint32ss) {
+ f_status_t f_uint32ss_adjust(const f_number_unsigned_t length, f_uint32ss_t *uint32ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_uint32ss_append_all_
#ifndef _di_f_uint32ss_decimate_by_
- f_status_t f_uint32ss_decimate_by(const f_array_length_t amount, f_uint32ss_t *uint32ss) {
+ f_status_t f_uint32ss_decimate_by(const f_number_unsigned_t amount, f_uint32ss_t *uint32ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint32ss_decimate_by_
#ifndef _di_f_uint32ss_decrease_by_
- f_status_t f_uint32ss_decrease_by(const f_array_length_t amount, f_uint32ss_t *uint32ss) {
+ f_status_t f_uint32ss_decrease_by(const f_number_unsigned_t amount, f_uint32ss_t *uint32ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint32ss_decrease_by_
#ifndef _di_f_uint32ss_increase_
- f_status_t f_uint32ss_increase(const f_array_length_t step, f_uint32ss_t *uint32ss) {
+ f_status_t f_uint32ss_increase(const f_number_unsigned_t step, f_uint32ss_t *uint32ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint32ss->used + 1 > uint32ss->size) {
- f_array_length_t size = uint32ss->used + step;
+ f_number_unsigned_t size = uint32ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint32ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint32ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint32ss_resize(size, uint32ss);
#endif // _di_f_uint32ss_increase_
#ifndef _di_f_uint32ss_increase_by_
- f_status_t f_uint32ss_increase_by(const f_array_length_t amount, f_uint32ss_t *uint32ss) {
+ f_status_t f_uint32ss_increase_by(const f_number_unsigned_t amount, f_uint32ss_t *uint32ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint32ss->used + amount > uint32ss->size) {
- if (uint32ss->used + amount > F_array_length_t_size_d) {
+ if (uint32ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint32ss_increase_by_
#ifndef _di_f_uint32ss_resize_
- f_status_t f_uint32ss_resize(const f_array_length_t length, f_uint32ss_t *uint32ss) {
+ f_status_t f_uint32ss_resize(const f_number_unsigned_t length, f_uint32ss_t *uint32ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint32ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint32s_adjust_
- extern f_status_t f_uint32s_adjust(const f_array_length_t length, f_uint32s_t *uint32s);
+ extern f_status_t f_uint32s_adjust(const f_number_unsigned_t length, f_uint32s_t *uint32s);
#endif // _di_f_uint32s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint32s_decimate_by_
- extern f_status_t f_uint32s_decimate_by(const f_array_length_t amount, f_uint32s_t *uint32s);
+ extern f_status_t f_uint32s_decimate_by(const f_number_unsigned_t amount, f_uint32s_t *uint32s);
#endif // _di_f_uint32s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint32s_decrease_by_
- extern f_status_t f_uint32s_decrease_by(const f_array_length_t amount, f_uint32s_t *uint32s);
+ extern f_status_t f_uint32s_decrease_by(const f_number_unsigned_t amount, f_uint32s_t *uint32s);
#endif // _di_f_uint32s_decrease_by_
/**
* Increase the size of the string uint32s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint32s_increase_
- extern f_status_t f_uint32s_increase(const f_array_length_t step, f_uint32s_t *uint32s);
+ extern f_status_t f_uint32s_increase(const f_number_unsigned_t step, f_uint32s_t *uint32s);
#endif // _di_f_uint32s_increase_
/**
* Resize the string uint32s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint32s_increase_by_
- extern f_status_t f_uint32s_increase_by(const f_array_length_t amount, f_uint32s_t *uint32s);
+ extern f_status_t f_uint32s_increase_by(const f_number_unsigned_t amount, f_uint32s_t *uint32s);
#endif // _di_f_uint32s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint32s_resize_
- extern f_status_t f_uint32s_resize(const f_array_length_t length, f_uint32s_t *uint32s);
+ extern f_status_t f_uint32s_resize(const f_number_unsigned_t length, f_uint32s_t *uint32s);
#endif // _di_f_uint32s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint32ss_adjust_
- extern f_status_t f_uint32ss_adjust(const f_array_length_t length, f_uint32ss_t *uint32ss);
+ extern f_status_t f_uint32ss_adjust(const f_number_unsigned_t length, f_uint32ss_t *uint32ss);
#endif // _di_f_uint32ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint32ss_decimate_by_
- extern f_status_t f_uint32ss_decimate_by(const f_array_length_t amount, f_uint32ss_t *uint32ss);
+ extern f_status_t f_uint32ss_decimate_by(const f_number_unsigned_t amount, f_uint32ss_t *uint32ss);
#endif // _di_f_uint32ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint32ss_decrease_by_
- extern f_status_t f_uint32ss_decrease_by(const f_array_length_t amount, f_uint32ss_t *uint32ss);
+ extern f_status_t f_uint32ss_decrease_by(const f_number_unsigned_t amount, f_uint32ss_t *uint32ss);
#endif // _di_f_uint32ss_decrease_by_
/**
* Increase the size of the string uint32ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint32ss_increase_
- extern f_status_t f_uint32ss_increase(const f_array_length_t step, f_uint32ss_t *uint32ss);
+ extern f_status_t f_uint32ss_increase(const f_number_unsigned_t step, f_uint32ss_t *uint32ss);
#endif // _di_f_uint32ss_increase_
/**
* Resize the string uint32ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint32ss_increase_by_
- extern f_status_t f_uint32ss_increase_by(const f_array_length_t amount, f_uint32ss_t *uint32ss);
+ extern f_status_t f_uint32ss_increase_by(const f_number_unsigned_t amount, f_uint32ss_t *uint32ss);
#endif // _di_f_uint32ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint32ss_resize_
- extern f_status_t f_uint32ss_resize(const f_array_length_t length, f_uint32ss_t *uint32ss);
+ extern f_status_t f_uint32ss_resize(const f_number_unsigned_t length, f_uint32ss_t *uint32ss);
#endif // _di_f_uint32ss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_uint64s_adjust_
- f_status_t f_uint64s_adjust(const f_array_length_t length, f_uint64s_t *uint64s) {
+ f_status_t f_uint64s_adjust(const f_number_unsigned_t length, f_uint64s_t *uint64s) {
#ifndef _di_level_0_parameter_checking_
if (!uint64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint64s_append_all_
#ifndef _di_f_uint64s_decimate_by_
- f_status_t f_uint64s_decimate_by(const f_array_length_t amount, f_uint64s_t *uint64s) {
+ f_status_t f_uint64s_decimate_by(const f_number_unsigned_t amount, f_uint64s_t *uint64s) {
#ifndef _di_level_0_parameter_checking_
if (!uint64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint64s_decimate_by_
#ifndef _di_f_uint64s_decrease_by_
- f_status_t f_uint64s_decrease_by(const f_array_length_t amount, f_uint64s_t *uint64s) {
+ f_status_t f_uint64s_decrease_by(const f_number_unsigned_t amount, f_uint64s_t *uint64s) {
#ifndef _di_level_0_parameter_checking_
if (!uint64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint64s_decrease_by_
#ifndef _di_f_uint64s_increase_
- f_status_t f_uint64s_increase(const f_array_length_t step, f_uint64s_t *uint64s) {
+ f_status_t f_uint64s_increase(const f_number_unsigned_t step, f_uint64s_t *uint64s) {
#ifndef _di_level_0_parameter_checking_
if (!uint64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint64s->used + 1 > uint64s->size) {
- f_array_length_t size = uint64s->used + step;
+ f_number_unsigned_t size = uint64s->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint64s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint64s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint64s_resize(size, uint64s);
#endif // _di_f_uint64s_increase_
#ifndef _di_f_uint64s_increase_by_
- f_status_t f_uint64s_increase_by(const f_array_length_t amount, f_uint64s_t *uint64s) {
+ f_status_t f_uint64s_increase_by(const f_number_unsigned_t amount, f_uint64s_t *uint64s) {
#ifndef _di_level_0_parameter_checking_
if (!uint64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint64s->used + amount > uint64s->size) {
- if (uint64s->used + amount > F_array_length_t_size_d) {
+ if (uint64s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint64s_increase_by_
#ifndef _di_f_uint64s_resize_
- f_status_t f_uint64s_resize(const f_array_length_t length, f_uint64s_t *uint64s) {
+ f_status_t f_uint64s_resize(const f_number_unsigned_t length, f_uint64s_t *uint64s) {
#ifndef _di_level_0_parameter_checking_
if (!uint64s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint64s_resize_
#ifndef _di_f_uint64ss_adjust_
- f_status_t f_uint64ss_adjust(const f_array_length_t length, f_uint64ss_t *uint64ss) {
+ f_status_t f_uint64ss_adjust(const f_number_unsigned_t length, f_uint64ss_t *uint64ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_uint64ss_append_all_
#ifndef _di_f_uint64ss_decimate_by_
- f_status_t f_uint64ss_decimate_by(const f_array_length_t amount, f_uint64ss_t *uint64ss) {
+ f_status_t f_uint64ss_decimate_by(const f_number_unsigned_t amount, f_uint64ss_t *uint64ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint64ss_decimate_by_
#ifndef _di_f_uint64ss_decrease_by_
- f_status_t f_uint64ss_decrease_by(const f_array_length_t amount, f_uint64ss_t *uint64ss) {
+ f_status_t f_uint64ss_decrease_by(const f_number_unsigned_t amount, f_uint64ss_t *uint64ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint64ss_decrease_by_
#ifndef _di_f_uint64ss_increase_
- f_status_t f_uint64ss_increase(const f_array_length_t step, f_uint64ss_t *uint64ss) {
+ f_status_t f_uint64ss_increase(const f_number_unsigned_t step, f_uint64ss_t *uint64ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint64ss->used + 1 > uint64ss->size) {
- f_array_length_t size = uint64ss->used + step;
+ f_number_unsigned_t size = uint64ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint64ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint64ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint64ss_resize(size, uint64ss);
#endif // _di_f_uint64ss_increase_
#ifndef _di_f_uint64ss_increase_by_
- f_status_t f_uint64ss_increase_by(const f_array_length_t amount, f_uint64ss_t *uint64ss) {
+ f_status_t f_uint64ss_increase_by(const f_number_unsigned_t amount, f_uint64ss_t *uint64ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint64ss->used + amount > uint64ss->size) {
- if (uint64ss->used + amount > F_array_length_t_size_d) {
+ if (uint64ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint64ss_increase_by_
#ifndef _di_f_uint64ss_resize_
- f_status_t f_uint64ss_resize(const f_array_length_t length, f_uint64ss_t *uint64ss) {
+ f_status_t f_uint64ss_resize(const f_number_unsigned_t length, f_uint64ss_t *uint64ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint64ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint64s_adjust_
- extern f_status_t f_uint64s_adjust(const f_array_length_t length, f_uint64s_t *uint64s);
+ extern f_status_t f_uint64s_adjust(const f_number_unsigned_t length, f_uint64s_t *uint64s);
#endif // _di_f_uint64s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint64s_decimate_by_
- extern f_status_t f_uint64s_decimate_by(const f_array_length_t amount, f_uint64s_t *uint64s);
+ extern f_status_t f_uint64s_decimate_by(const f_number_unsigned_t amount, f_uint64s_t *uint64s);
#endif // _di_f_uint64s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint64s_decrease_by_
- extern f_status_t f_uint64s_decrease_by(const f_array_length_t amount, f_uint64s_t *uint64s);
+ extern f_status_t f_uint64s_decrease_by(const f_number_unsigned_t amount, f_uint64s_t *uint64s);
#endif // _di_f_uint64s_decrease_by_
/**
* Increase the size of the string uint64s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint64s_increase_
- extern f_status_t f_uint64s_increase(const f_array_length_t step, f_uint64s_t *uint64s);
+ extern f_status_t f_uint64s_increase(const f_number_unsigned_t step, f_uint64s_t *uint64s);
#endif // _di_f_uint64s_increase_
/**
* Resize the string uint64s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint64s_increase_by_
- extern f_status_t f_uint64s_increase_by(const f_array_length_t amount, f_uint64s_t *uint64s);
+ extern f_status_t f_uint64s_increase_by(const f_number_unsigned_t amount, f_uint64s_t *uint64s);
#endif // _di_f_uint64s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint64s_resize_
- extern f_status_t f_uint64s_resize(const f_array_length_t length, f_uint64s_t *uint64s);
+ extern f_status_t f_uint64s_resize(const f_number_unsigned_t length, f_uint64s_t *uint64s);
#endif // _di_f_uint64s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint64ss_adjust_
- extern f_status_t f_uint64ss_adjust(const f_array_length_t length, f_uint64ss_t *uint64ss);
+ extern f_status_t f_uint64ss_adjust(const f_number_unsigned_t length, f_uint64ss_t *uint64ss);
#endif // _di_f_uint64ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint64ss_decimate_by_
- extern f_status_t f_uint64ss_decimate_by(const f_array_length_t amount, f_uint64ss_t *uint64ss);
+ extern f_status_t f_uint64ss_decimate_by(const f_number_unsigned_t amount, f_uint64ss_t *uint64ss);
#endif // _di_f_uint64ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint64ss_decrease_by_
- extern f_status_t f_uint64ss_decrease_by(const f_array_length_t amount, f_uint64ss_t *uint64ss);
+ extern f_status_t f_uint64ss_decrease_by(const f_number_unsigned_t amount, f_uint64ss_t *uint64ss);
#endif // _di_f_uint64ss_decrease_by_
/**
* Increase the size of the string uint64ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint64ss_increase_
- extern f_status_t f_uint64ss_increase(const f_array_length_t step, f_uint64ss_t *uint64ss);
+ extern f_status_t f_uint64ss_increase(const f_number_unsigned_t step, f_uint64ss_t *uint64ss);
#endif // _di_f_uint64ss_increase_
/**
* Resize the string uint64ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint64ss_increase_by_
- extern f_status_t f_uint64ss_increase_by(const f_array_length_t amount, f_uint64ss_t *uint64ss);
+ extern f_status_t f_uint64ss_increase_by(const f_number_unsigned_t amount, f_uint64ss_t *uint64ss);
#endif // _di_f_uint64ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint64ss_resize_
- extern f_status_t f_uint64ss_resize(const f_array_length_t length, f_uint64ss_t *uint64ss);
+ extern f_status_t f_uint64ss_resize(const f_number_unsigned_t length, f_uint64ss_t *uint64ss);
#endif // _di_f_uint64ss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_uint8s_adjust_
- f_status_t f_uint8s_adjust(const f_array_length_t length, f_uint8s_t *uint8s) {
+ f_status_t f_uint8s_adjust(const f_number_unsigned_t length, f_uint8s_t *uint8s) {
#ifndef _di_level_0_parameter_checking_
if (!uint8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint8s_append_all_
#ifndef _di_f_uint8s_decimate_by_
- f_status_t f_uint8s_decimate_by(const f_array_length_t amount, f_uint8s_t *uint8s) {
+ f_status_t f_uint8s_decimate_by(const f_number_unsigned_t amount, f_uint8s_t *uint8s) {
#ifndef _di_level_0_parameter_checking_
if (!uint8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint8s_decimate_by_
#ifndef _di_f_uint8s_decrease_by_
- f_status_t f_uint8s_decrease_by(const f_array_length_t amount, f_uint8s_t *uint8s) {
+ f_status_t f_uint8s_decrease_by(const f_number_unsigned_t amount, f_uint8s_t *uint8s) {
#ifndef _di_level_0_parameter_checking_
if (!uint8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint8s_decrease_by_
#ifndef _di_f_uint8s_increase_
- f_status_t f_uint8s_increase(const f_array_length_t step, f_uint8s_t *uint8s) {
+ f_status_t f_uint8s_increase(const f_number_unsigned_t step, f_uint8s_t *uint8s) {
#ifndef _di_level_0_parameter_checking_
if (!uint8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint8s->used + 1 > uint8s->size) {
- f_array_length_t size = uint8s->used + step;
+ f_number_unsigned_t size = uint8s->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint8s->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint8s->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint8s_resize(size, uint8s);
#endif // _di_f_uint8s_increase_
#ifndef _di_f_uint8s_increase_by_
- f_status_t f_uint8s_increase_by(const f_array_length_t amount, f_uint8s_t *uint8s) {
+ f_status_t f_uint8s_increase_by(const f_number_unsigned_t amount, f_uint8s_t *uint8s) {
#ifndef _di_level_0_parameter_checking_
if (!uint8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint8s->used + amount > uint8s->size) {
- if (uint8s->used + amount > F_array_length_t_size_d) {
+ if (uint8s->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint8s_increase_by_
#ifndef _di_f_uint8s_resize_
- f_status_t f_uint8s_resize(const f_array_length_t length, f_uint8s_t *uint8s) {
+ f_status_t f_uint8s_resize(const f_number_unsigned_t length, f_uint8s_t *uint8s) {
#ifndef _di_level_0_parameter_checking_
if (!uint8s) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint8s_resize_
#ifndef _di_f_uint8ss_adjust_
- f_status_t f_uint8ss_adjust(const f_array_length_t length, f_uint8ss_t *uint8ss) {
+ f_status_t f_uint8ss_adjust(const f_number_unsigned_t length, f_uint8ss_t *uint8ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_uint8ss_append_all_
#ifndef _di_f_uint8ss_decimate_by_
- f_status_t f_uint8ss_decimate_by(const f_array_length_t amount, f_uint8ss_t *uint8ss) {
+ f_status_t f_uint8ss_decimate_by(const f_number_unsigned_t amount, f_uint8ss_t *uint8ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint8ss_decimate_by_
#ifndef _di_f_uint8ss_decrease_by_
- f_status_t f_uint8ss_decrease_by(const f_array_length_t amount, f_uint8ss_t *uint8ss) {
+ f_status_t f_uint8ss_decrease_by(const f_number_unsigned_t amount, f_uint8ss_t *uint8ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_uint8ss_decrease_by_
#ifndef _di_f_uint8ss_increase_
- f_status_t f_uint8ss_increase(const f_array_length_t step, f_uint8ss_t *uint8ss) {
+ f_status_t f_uint8ss_increase(const f_number_unsigned_t step, f_uint8ss_t *uint8ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && uint8ss->used + 1 > uint8ss->size) {
- f_array_length_t size = uint8ss->used + step;
+ f_number_unsigned_t size = uint8ss->used + step;
- if (size > F_array_length_t_size_d) {
- if (uint8ss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (uint8ss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_uint8ss_resize(size, uint8ss);
#endif // _di_f_uint8ss_increase_
#ifndef _di_f_uint8ss_increase_by_
- f_status_t f_uint8ss_increase_by(const f_array_length_t amount, f_uint8ss_t *uint8ss) {
+ f_status_t f_uint8ss_increase_by(const f_number_unsigned_t amount, f_uint8ss_t *uint8ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (uint8ss->used + amount > uint8ss->size) {
- if (uint8ss->used + amount > F_array_length_t_size_d) {
+ if (uint8ss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_uint8ss_increase_by_
#ifndef _di_f_uint8ss_resize_
- f_status_t f_uint8ss_resize(const f_array_length_t length, f_uint8ss_t *uint8ss) {
+ f_status_t f_uint8ss_resize(const f_number_unsigned_t length, f_uint8ss_t *uint8ss) {
#ifndef _di_level_0_parameter_checking_
if (!uint8ss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint8s_adjust_
- extern f_status_t f_uint8s_adjust(const f_array_length_t length, f_uint8s_t *uint8s);
+ extern f_status_t f_uint8s_adjust(const f_number_unsigned_t length, f_uint8s_t *uint8s);
#endif // _di_f_uint8s_adjust_
/**
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_uint8s_decimate_by_
- extern f_status_t f_uint8s_decimate_by(const f_array_length_t amount, f_uint8s_t *uint8s);
+ extern f_status_t f_uint8s_decimate_by(const f_number_unsigned_t amount, f_uint8s_t *uint8s);
#endif // _di_f_uint8s_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint8s_decrease_by_
- extern f_status_t f_uint8s_decrease_by(const f_array_length_t amount, f_uint8s_t *uint8s);
+ extern f_status_t f_uint8s_decrease_by(const f_number_unsigned_t amount, f_uint8s_t *uint8s);
#endif // _di_f_uint8s_decrease_by_
/**
* Increase the size of the string uint8s array, but only if necesary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint8s_increase_
- extern f_status_t f_uint8s_increase(const f_array_length_t step, f_uint8s_t *uint8s);
+ extern f_status_t f_uint8s_increase(const f_number_unsigned_t step, f_uint8s_t *uint8s);
#endif // _di_f_uint8s_increase_
/**
* Resize the string uint8s array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint8s_increase_by_
- extern f_status_t f_uint8s_increase_by(const f_array_length_t amount, f_uint8s_t *uint8s);
+ extern f_status_t f_uint8s_increase_by(const f_number_unsigned_t amount, f_uint8s_t *uint8s);
#endif // _di_f_uint8s_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint8s_resize_
- extern f_status_t f_uint8s_resize(const f_array_length_t length, f_uint8s_t *uint8s);
+ extern f_status_t f_uint8s_resize(const f_number_unsigned_t length, f_uint8s_t *uint8s);
#endif // _di_f_uint8s_resize_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint8ss_adjust_
- extern f_status_t f_uint8ss_adjust(const f_array_length_t length, f_uint8ss_t *uint8ss);
+ extern f_status_t f_uint8ss_adjust(const f_number_unsigned_t length, f_uint8ss_t *uint8ss);
#endif // _di_f_uint8ss_adjust_
/**
* Errors (with error bit) from: f_memory_destroy().
*/
#ifndef _di_f_uint8ss_decimate_by_
- extern f_status_t f_uint8ss_decimate_by(const f_array_length_t amount, f_uint8ss_t *uint8ss);
+ extern f_status_t f_uint8ss_decimate_by(const f_number_unsigned_t amount, f_uint8ss_t *uint8ss);
#endif // _di_f_uint8ss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint8ss_decrease_by_
- extern f_status_t f_uint8ss_decrease_by(const f_array_length_t amount, f_uint8ss_t *uint8ss);
+ extern f_status_t f_uint8ss_decrease_by(const f_number_unsigned_t amount, f_uint8ss_t *uint8ss);
#endif // _di_f_uint8ss_decrease_by_
/**
* Increase the size of the string uint8ss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint8ss_increase_
- extern f_status_t f_uint8ss_increase(const f_array_length_t step, f_uint8ss_t *uint8ss);
+ extern f_status_t f_uint8ss_increase(const f_number_unsigned_t step, f_uint8ss_t *uint8ss);
#endif // _di_f_uint8ss_increase_
/**
* Resize the string uint8ss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint8ss_increase_by_
- extern f_status_t f_uint8ss_increase_by(const f_array_length_t amount, f_uint8ss_t *uint8ss);
+ extern f_status_t f_uint8ss_increase_by(const f_number_unsigned_t amount, f_uint8ss_t *uint8ss);
#endif // _di_f_uint8ss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_uint8ss_resize_
- extern f_status_t f_uint8ss_resize(const f_array_length_t length, f_uint8ss_t *uint8ss);
+ extern f_status_t f_uint8ss_resize(const f_number_unsigned_t length, f_uint8ss_t *uint8ss);
#endif // _di_f_uint8ss_resize_
#ifdef __cplusplus
build_libraries -lc
build_libraries-individual -lf_memory
-build_sources_library type_array/array_length.c type_array/cell.c type_array/fll_id.c type_array/int8.c type_array/int16.c type_array/int32.c type_array/int64.c type_array/int128.c type_array/state.c type_array/status.c type_array/uint8.c type_array/uint16.c type_array/uint32.c type_array/uint64.c type_array/uint128.c
-build_sources_library type_array/private-array_length.c type_array/private-cell.c type_array/private-fll_id.c type_array/private-int8.c type_array/private-int16.c type_array/private-int32.c type_array/private-int64.c type_array/private-int128.c type_array/private-state.c type_array/private-status.c type_array/private-uint8.c type_array/private-uint16.c type_array/private-uint32.c type_array/private-uint64.c type_array/private-uint128.c
+build_sources_library type_array/cell.c type_array/fll_id.c type_array/int8.c type_array/int16.c type_array/int32.c type_array/int64.c type_array/int128.c type_array/number_unsigned.c type_array/state.c type_array/status.c type_array/uint8.c type_array/uint16.c type_array/uint32.c type_array/uint64.c type_array/uint128.c
+build_sources_library type_array/private-cell.c type_array/private-fll_id.c type_array/private-int8.c type_array/private-int16.c type_array/private-int32.c type_array/private-int64.c type_array/private-int128.c type_array/private-number_unsigned.c type_array/private-state.c type_array/private-status.c type_array/private-uint8.c type_array/private-uint16.c type_array/private-uint32.c type_array/private-uint64.c type_array/private-uint128.c
-build_sources_headers type_array.h type_array/common.h type_array/array_length.h type_array/cell.h type_array/fll_id.h type_array/int8.h type_array/int16.h type_array/int32.h type_array/int64.h type_array/int128.h type_array/state.h type_array/status.h type_array/uint8.h type_array/uint16.h type_array/uint32.h type_array/uint64.h type_array/uint128.h
+build_sources_headers type_array.h type_array/common.h type_array/cell.h type_array/fll_id.h type_array/int8.h type_array/int16.h type_array/int32.h type_array/int64.h type_array/int128.h type_array/number_unsigned.h type_array/state.h type_array/status.h type_array/uint8.h type_array/uint16.h type_array/uint32.h type_array/uint64.h type_array/uint128.h
build_script yes
build_shared yes
build_libraries -lc -lcmocka
build_libraries-individual -lf_memory -lf_type_array
-build_sources_program test-type_array-array_lengths_adjust.c test-type_array-array_lengths_append.c test-type_array-array_lengths_append_all.c test-type_array-array_lengths_decimate_by.c test-type_array-array_lengths_decrease_by.c test-type_array-array_lengths_increase.c test-type_array-array_lengths_increase_by.c test-type_array-array_lengths_resize.c
-build_sources_program test-type_array-array_lengthss_adjust.c test-type_array-array_lengthss_append.c test-type_array-array_lengthss_append_all.c test-type_array-array_lengthss_decimate_by.c test-type_array-array_lengthss_decrease_by.c test-type_array-array_lengthss_increase.c test-type_array-array_lengthss_increase_by.c test-type_array-array_lengthss_resize.c
build_sources_program test-type_array-fll_ids_adjust.c test-type_array-fll_ids_append.c test-type_array-fll_ids_append_all.c test-type_array-fll_ids_decimate_by.c test-type_array-fll_ids_decrease_by.c test-type_array-fll_ids_increase.c test-type_array-fll_ids_increase_by.c test-type_array-fll_ids_resize.c
build_sources_program test-type_array-fll_idss_adjust.c test-type_array-fll_idss_append.c test-type_array-fll_idss_append_all.c test-type_array-fll_idss_decimate_by.c test-type_array-fll_idss_decrease_by.c test-type_array-fll_idss_increase.c test-type_array-fll_idss_increase_by.c test-type_array-fll_idss_resize.c
build_sources_program test-type_array-cells_adjust.c test-type_array-cells_append.c test-type_array-cells_append_all.c test-type_array-cells_decimate_by.c test-type_array-cells_decrease_by.c test-type_array-cells_increase.c test-type_array-cells_increase_by.c test-type_array-cells_resize.c
build_sources_program test-type_array-int64ss_adjust.c test-type_array-int64ss_append.c test-type_array-int64ss_append_all.c test-type_array-int64ss_decimate_by.c test-type_array-int64ss_decrease_by.c test-type_array-int64ss_increase.c test-type_array-int64ss_increase_by.c test-type_array-int64ss_resize.c
build_sources_program test-type_array-int128s_adjust.c test-type_array-int128s_append.c test-type_array-int128s_append_all.c test-type_array-int128s_decimate_by.c test-type_array-int128s_decrease_by.c test-type_array-int128s_increase.c test-type_array-int128s_increase_by.c test-type_array-int128s_resize.c
build_sources_program test-type_array-int128ss_adjust.c test-type_array-int128ss_append.c test-type_array-int128ss_append_all.c test-type_array-int128ss_decimate_by.c test-type_array-int128ss_decrease_by.c test-type_array-int128ss_increase.c test-type_array-int128ss_increase_by.c test-type_array-int128ss_resize.c
+build_sources_program test-type_array-number_unsigneds_adjust.c test-type_array-number_unsigneds_append.c test-type_array-number_unsigneds_append_all.c test-type_array-number_unsigneds_decimate_by.c test-type_array-number_unsigneds_decrease_by.c test-type_array-number_unsigneds_increase.c test-type_array-number_unsigneds_increase_by.c test-type_array-number_unsigneds_resize.c
+build_sources_program test-type_array-number_unsignedss_adjust.c test-type_array-number_unsignedss_append.c test-type_array-number_unsignedss_append_all.c test-type_array-number_unsignedss_decimate_by.c test-type_array-number_unsignedss_decrease_by.c test-type_array-number_unsignedss_increase.c test-type_array-number_unsignedss_increase_by.c test-type_array-number_unsignedss_resize.c
build_sources_program test-type_array-states_adjust.c test-type_array-states_append.c test-type_array-states_append_all.c test-type_array-states_decimate_by.c test-type_array-states_decrease_by.c test-type_array-states_increase.c test-type_array-states_increase_by.c test-type_array-states_resize.c
build_sources_program test-type_array-statess_adjust.c test-type_array-statess_append.c test-type_array-statess_append_all.c test-type_array-statess_decimate_by.c test-type_array-statess_decrease_by.c test-type_array-statess_increase.c test-type_array-statess_increase_by.c test-type_array-statess_resize.c
build_sources_program test-type_array-statuss_adjust.c test-type_array-statuss_append.c test-type_array-statuss_append_all.c test-type_array-statuss_decimate_by.c test-type_array-statuss_decrease_by.c test-type_array-statuss_increase.c test-type_array-statuss_increase_by.c test-type_array-statuss_resize.c
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengths_adjust
-#define _TEST__F_type_array__array_lengths_adjust
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengths_adjust()
- */
-extern void test__f_type_array_array_lengths_adjust__parameter_checking(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengths_adjust()
- */
-extern void test__f_type_array_array_lengths_adjust__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengths_adjust
+++ /dev/null
-#include "test-type_array.h"
-#include "test-type_array-array_lengths_append.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-void test__f_type_array_array_lengths_append__parameter_checking(void **state) {
-
- const f_array_length_t data = f_array_length_t_initialize;
-
- {
- const f_status_t status = f_array_lengths_append(data, 0);
-
- assert_int_equal(status, F_status_set_error(F_parameter));
- }
-}
-
-void test__f_type_array_array_lengths_append__works(void **state) {
-
- const f_array_length_t source = 3;
- f_array_lengths_t destination = f_array_lengths_t_initialize;
-
- {
- const f_status_t status = f_array_lengths_append(source, &destination);
-
- assert_int_equal(status, F_none);
- assert_int_equal(destination.used, 1);
- assert_int_equal(destination.array[0], source);
- }
-
- free((void *) destination.array);
-}
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengths_append
-#define _TEST__F_type_array__array_lengths_append
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengths_append()
- */
-extern void test__f_type_array_array_lengths_append__parameter_checking(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengths_append()
- */
-extern void test__f_type_array_array_lengths_append__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengths_append
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengths_append_all
-#define _TEST__F_type_array__array_lengths_append_all
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengths_append_all()
- */
-extern void test__f_type_array_array_lengths_append_all__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengths_append_all()
- */
-extern void test__f_type_array_array_lengths_append_all__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengths_append_all()
- */
-extern void test__f_type_array_array_lengths_append_all__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengths_append_all
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengths_decimate_by
-#define _TEST__F_type_array__array_lengths_decimate_by
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengths_decimate_by()
- */
-extern void test__f_type_array_array_lengths_decimate_by__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengths_decimate_by()
- */
-extern void test__f_type_array_array_lengths_decimate_by__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengths_decimate_by()
- */
-extern void test__f_type_array_array_lengths_decimate_by__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengths_decimate_by
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengths_decrease_by
-#define _TEST__F_type_array__array_lengths_decrease_by
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengths_decrease_by()
- */
-extern void test__f_type_array_array_lengths_decrease_by__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengths_decrease_by()
- */
-extern void test__f_type_array_array_lengths_decrease_by__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengths_decrease_by()
- */
-extern void test__f_type_array_array_lengths_decrease_by__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengths_decrease_by
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengths_increase
-#define _TEST__F_type_array__array_lengths_increase
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengths_increase()
- */
-extern void test__f_type_array_array_lengths_increase__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengths_increase()
- */
-extern void test__f_type_array_array_lengths_increase__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengths_increase()
- */
-extern void test__f_type_array_array_lengths_increase__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengths_increase
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengths_increase_by
-#define _TEST__F_type_array__array_lengths_increase_by
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengths_increase_by()
- */
-extern void test__f_type_array_array_lengths_increase_by__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengths_increase_by()
- */
-extern void test__f_type_array_array_lengths_increase_by__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengths_increase_by()
- */
-extern void test__f_type_array_array_lengths_increase_by__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengths_increase_by
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengths_resize
-#define _TEST__F_type_array__array_lengths_resize
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengths_resize()
- */
-extern void test__f_type_array_array_lengths_resize__parameter_checking(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengths_resize()
- */
-extern void test__f_type_array_array_lengths_resize__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengths_resize
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengthss_adjust
-#define _TEST__F_type_array__array_lengthss_adjust
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengthss_adjust()
- */
-extern void test__f_type_array_array_lengthss_adjust__parameter_checking(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengthss_adjust()
- */
-extern void test__f_type_array_array_lengthss_adjust__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengthss_adjust
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengthss_append
-#define _TEST__F_type_array__array_lengthss_append
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengthss_append()
- */
-extern void test__f_type_array_array_lengthss_append__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengthss_append()
- */
-extern void test__f_type_array_array_lengthss_append__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengthss_append()
- */
-extern void test__f_type_array_array_lengthss_append__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengthss_append
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengthss_append_all
-#define _TEST__F_type_array__array_lengthss_append_all
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengthss_append_all()
- */
-extern void test__f_type_array_array_lengthss_append_all__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengthss_append_all()
- */
-extern void test__f_type_array_array_lengthss_append_all__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengthss_append_all()
- */
-extern void test__f_type_array_array_lengthss_append_all__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengthss_append_all
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengthss_decimate_by
-#define _TEST__F_type_array__array_lengthss_decimate_by
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengthss_decimate_by()
- */
-extern void test__f_type_array_array_lengthss_decimate_by__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_type_array_array_lengthss_decimate_by()
- */
-extern void test__f_type_array_array_lengthss_decimate_by__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengthss_decimate_by()
- */
-extern void test__f_type_array_array_lengthss_decimate_by__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengthss_decimate_by
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengthss_decrease_by
-#define _TEST__F_type_array__array_lengthss_decrease_by
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengthss_decrease_by()
- */
-extern void test__f_type_array_array_lengthss_decrease_by__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengthss_decrease_by()
- */
-extern void test__f_type_array_array_lengthss_decrease_by__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengthss_decrease_by()
- */
-extern void test__f_type_array_array_lengthss_decrease_by__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengthss_decrease_by
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengthss_increase
-#define _TEST__F_type_array__array_lengthss_increase
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengthss_increase()
- */
-extern void test__f_type_array_array_lengthss_increase__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengthss_increase()
- */
-extern void test__f_type_array_array_lengthss_increase__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengthss_increase()
- */
-extern void test__f_type_array_array_lengthss_increase__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengthss_increase
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengthss_increase_by
-#define _TEST__F_type_array__array_lengthss_increase_by
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengthss_increase_by()
- */
-extern void test__f_type_array_array_lengthss_increase_by__parameter_checking(void **state);
-
-/**
- * Test that the function returns F_data_not.
- *
- * @see f_array_lengthss_increase_by()
- */
-extern void test__f_type_array_array_lengthss_increase_by__returns_data_not(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengthss_increase_by()
- */
-extern void test__f_type_array_array_lengthss_increase_by__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengthss_increase_by
+++ /dev/null
-/**
- * FLL - Level 0
- *
- * Project: Type
- * API Version: 0.7
- * Licenses: lgpl-2.1-or-later
- *
- * Test the array types in the type project.
- */
-#ifndef _TEST__F_type_array__array_lengthss_resize
-#define _TEST__F_type_array__array_lengthss_resize
-
-/**
- * Test that the function correctly fails on invalid parameter.
- *
- * @see f_array_lengthss_resize()
- */
-extern void test__f_type_array_array_lengthss_resize__parameter_checking(void **state);
-
-/**
- * Test that the function works.
- *
- * @see f_array_lengthss_resize()
- */
-extern void test__f_type_array_array_lengthss_resize__works(void **state);
-
-#endif // _TEST__F_type_array__array_lengthss_resize
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i].row, cell.row);
assert_int_equal(destination.array[0].array[i].column, cell.column);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_string_equal(destination.array[0].array[i].name, fll_id.name);
assert_int_equal(destination.array[0].array[i].type, fll_id.type);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
free((void *) data.array);
}
-void test__f_type_array_array_length_decrease_by__returns_data_not(void **state) {
-
- const int length = 5;
- f_array_lengthss_t data = f_array_lengthss_t_initialize;
-
- {
- const f_status_t status = f_array_lengthss_resize(length, &data);
-
- assert_int_equal(status, F_none);
- assert_int_equal(data.used, 0);
- assert_int_equal(data.size, length);
- }
-
- {
- const f_status_t status = f_array_lengthss_decrease_by(0, &data);
-
- assert_int_equal(status, F_data_not);
- assert_int_equal(data.used, 0);
- assert_int_equal(data.size, length);
- }
-
- free((void *) data.array);
-}
-
void test__f_type_array_int16ss_increase_by__works(void **state) {
const int length = 5;
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
#include "test-type_array.h"
-#include "test-type_array-array_lengths_adjust.h"
+#include "test-type_array-number_unsigneds_adjust.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengths_adjust__parameter_checking(void **state) {
+void test__f_type_array_number_unsigneds_adjust__parameter_checking(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_adjust(length, 0);
+ const f_status_t status = f_number_unsigneds_adjust(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengths_adjust__works(void **state) {
+void test__f_type_array_number_unsigneds_adjust__works(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_adjust(length, &data);
+ const f_status_t status = f_number_unsigneds_adjust(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsigneds_adjust
+#define _TEST__F_type_array__number_unsigneds_adjust
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsigneds_adjust()
+ */
+extern void test__f_type_array_number_unsigneds_adjust__parameter_checking(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsigneds_adjust()
+ */
+extern void test__f_type_array_number_unsigneds_adjust__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsigneds_adjust
--- /dev/null
+#include "test-type_array.h"
+#include "test-type_array-number_unsigneds_append.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void test__f_type_array_number_unsigneds_append__parameter_checking(void **state) {
+
+ const f_number_unsigned_t data = f_number_unsigned_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsigneds_append(data, 0);
+
+ assert_int_equal(status, F_status_set_error(F_parameter));
+ }
+}
+
+void test__f_type_array_number_unsigneds_append__works(void **state) {
+
+ const f_number_unsigned_t source = 3;
+ f_number_unsigneds_t destination = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsigneds_append(source, &destination);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(destination.used, 1);
+ assert_int_equal(destination.array[0], source);
+ }
+
+ free((void *) destination.array);
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsigneds_append
+#define _TEST__F_type_array__number_unsigneds_append
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsigneds_append()
+ */
+extern void test__f_type_array_number_unsigneds_append__parameter_checking(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsigneds_append()
+ */
+extern void test__f_type_array_number_unsigneds_append__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsigneds_append
#include "test-type_array.h"
-#include "test-type_array-array_lengths_append_all.h"
+#include "test-type_array-number_unsigneds_append_all.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengths_append_all__parameter_checking(void **state) {
+void test__f_type_array_number_unsigneds_append_all__parameter_checking(void **state) {
- const f_array_lengths_t data = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_append_all(data, 0);
+ const f_status_t status = f_number_unsigneds_append_all(data, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
}
}
-void test__f_type_array_array_lengths_append_all__returns_data_not(void **state) {
+void test__f_type_array_number_unsigneds_append_all__returns_data_not(void **state) {
const int length = 5;
- f_array_lengths_t source = f_array_lengths_t_initialize;
- f_array_lengths_t destination = f_array_lengths_t_initialize;
+ f_number_unsigneds_t source = f_number_unsigneds_t_initialize;
+ f_number_unsigneds_t destination = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &source);
+ const f_status_t status = f_number_unsigneds_resize(length, &source);
assert_int_equal(status, F_none);
assert_int_equal(source.used, 0);
}
{
- const f_status_t status = f_array_lengths_append_all(source, &destination);
+ const f_status_t status = f_number_unsigneds_append_all(source, &destination);
assert_int_equal(status, F_data_not);
assert_int_equal(destination.used, 0);
free((void *) source.array);
}
-void test__f_type_array_array_lengths_append_all__works(void **state) {
+void test__f_type_array_number_unsigneds_append_all__works(void **state) {
const int length = 5;
const int length_used = 2;
- f_array_lengths_t source = f_array_lengths_t_initialize;
- f_array_lengths_t destination = f_array_lengths_t_initialize;
+ f_number_unsigneds_t source = f_number_unsigneds_t_initialize;
+ f_number_unsigneds_t destination = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &source);
+ const f_status_t status = f_number_unsigneds_resize(length, &source);
assert_int_equal(status, F_none);
assert_int_equal(source.used, 0);
} // for
{
- const f_status_t status = f_array_lengths_append_all(source, &destination);
+ const f_status_t status = f_number_unsigneds_append_all(source, &destination);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsigneds_append_all
+#define _TEST__F_type_array__number_unsigneds_append_all
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsigneds_append_all()
+ */
+extern void test__f_type_array_number_unsigneds_append_all__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsigneds_append_all()
+ */
+extern void test__f_type_array_number_unsigneds_append_all__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsigneds_append_all()
+ */
+extern void test__f_type_array_number_unsigneds_append_all__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsigneds_append_all
#include "test-type_array.h"
-#include "test-type_array-array_lengthss_decrease_by.h"
+#include "test-type_array-number_unsigneds_decimate_by.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengthss_decrease_by__parameter_checking(void **state) {
+void test__f_type_array_number_unsigneds_decimate_by__parameter_checking(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_decrease_by(length, 0);
+ const f_status_t status = f_number_unsigneds_decimate_by(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengthss_decrease_by__returns_data_not(void **state) {
+void test__f_type_array_number_unsigneds_decimate_by__returns_data_not(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengthss_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &data);
+ const f_status_t status = f_number_unsigneds_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengthss_decrease_by(0, &data);
+ const f_status_t status = f_number_unsigneds_decimate_by(0, &data);
assert_int_equal(status, F_data_not);
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengthss_decrease_by__works(void **state) {
+void test__f_type_array_number_unsigneds_decimate_by__works(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &data);
+ const f_status_t status = f_number_unsigneds_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengthss_decrease_by(length, &data);
+ const f_status_t status = f_number_unsigneds_decimate_by(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsigneds_decimate_by
+#define _TEST__F_type_array__number_unsigneds_decimate_by
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsigneds_decimate_by()
+ */
+extern void test__f_type_array_number_unsigneds_decimate_by__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsigneds_decimate_by()
+ */
+extern void test__f_type_array_number_unsigneds_decimate_by__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsigneds_decimate_by()
+ */
+extern void test__f_type_array_number_unsigneds_decimate_by__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsigneds_decimate_by
#include "test-type_array.h"
-#include "test-type_array-array_lengthss_decimate_by.h"
+#include "test-type_array-number_unsigneds_decrease_by.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengthss_decimate_by__parameter_checking(void **state) {
+void test__f_type_array_number_unsigneds_decrease_by__parameter_checking(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_decimate_by(length, 0);
+ const f_status_t status = f_number_unsigneds_decrease_by(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengthss_decimate_by__returns_data_not(void **state) {
+void test__f_type_array_number_unsigneds_decrease_by__returns_data_not(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengthss_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &data);
+ const f_status_t status = f_number_unsigneds_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengthss_decimate_by(0, &data);
+ const f_status_t status = f_number_unsigneds_decrease_by(0, &data);
assert_int_equal(status, F_data_not);
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengthss_decimate_by__works(void **state) {
+void test__f_type_array_number_unsigneds_decrease_by__works(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &data);
+ const f_status_t status = f_number_unsigneds_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengthss_decimate_by(length, &data);
+ const f_status_t status = f_number_unsigneds_decrease_by(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsigneds_decrease_by
+#define _TEST__F_type_array__number_unsigneds_decrease_by
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsigneds_decrease_by()
+ */
+extern void test__f_type_array_number_unsigneds_decrease_by__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsigneds_decrease_by()
+ */
+extern void test__f_type_array_number_unsigneds_decrease_by__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsigneds_decrease_by()
+ */
+extern void test__f_type_array_number_unsigneds_decrease_by__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsigneds_decrease_by
#include "test-type_array.h"
-#include "test-type_array-array_lengthss_increase.h"
+#include "test-type_array-number_unsigneds_increase.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengthss_increase__parameter_checking(void **state) {
+void test__f_type_array_number_unsigneds_increase__parameter_checking(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_increase(length, 0);
+ const f_status_t status = f_number_unsigneds_increase(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengthss_increase__returns_data_not(void **state) {
+void test__f_type_array_number_unsigneds_increase__returns_data_not(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &data);
+ const f_status_t status = f_number_unsigneds_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengthss_increase(length, &data);
+ const f_status_t status = f_number_unsigneds_increase(length, &data);
assert_int_equal(status, F_data_not);
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengthss_increase__works(void **state) {
+void test__f_type_array_number_unsigneds_increase__works(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &data);
+ const f_status_t status = f_number_unsigneds_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
{
data.used = length;
- const f_status_t status = f_array_lengthss_increase(length, &data);
+ const f_status_t status = f_number_unsigneds_increase(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, length);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsigneds_increase
+#define _TEST__F_type_array__number_unsigneds_increase
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsigneds_increase()
+ */
+extern void test__f_type_array_number_unsigneds_increase__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsigneds_increase()
+ */
+extern void test__f_type_array_number_unsigneds_increase__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsigneds_increase()
+ */
+extern void test__f_type_array_number_unsigneds_increase__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsigneds_increase
#include "test-type_array.h"
-#include "test-type_array-array_lengths_increase_by.h"
+#include "test-type_array-number_unsigneds_increase_by.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengths_increase_by__parameter_checking(void **state) {
+void test__f_type_array_number_unsigneds_increase_by__parameter_checking(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_increase_by(length, 0);
+ const f_status_t status = f_number_unsigneds_increase_by(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengths_increase_by__returns_data_not(void **state) {
+void test__f_type_array_number_unsigneds_increase_by__returns_data_not(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &data);
+ const f_status_t status = f_number_unsigneds_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengths_increase_by(0, &data);
+ const f_status_t status = f_number_unsigneds_increase_by(0, &data);
assert_int_equal(status, F_data_not);
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengths_increase_by__works(void **state) {
+void test__f_type_array_number_unsigneds_increase_by__works(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &data);
+ const f_status_t status = f_number_unsigneds_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
{
data.used = length;
- const f_status_t status = f_array_lengths_increase_by(length, &data);
+ const f_status_t status = f_number_unsigneds_increase_by(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, length);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsigneds_increase_by
+#define _TEST__F_type_array__number_unsigneds_increase_by
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsigneds_increase_by()
+ */
+extern void test__f_type_array_number_unsigneds_increase_by__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsigneds_increase_by()
+ */
+extern void test__f_type_array_number_unsigneds_increase_by__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsigneds_increase_by()
+ */
+extern void test__f_type_array_number_unsigneds_increase_by__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsigneds_increase_by
#include "test-type_array.h"
-#include "test-type_array-array_lengthss_adjust.h"
+#include "test-type_array-number_unsigneds_resize.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengthss_adjust__parameter_checking(void **state) {
+void test__f_type_array_number_unsigneds_resize__parameter_checking(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengthss_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_adjust(length, 0);
+ const f_status_t status = f_number_unsigneds_resize(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengthss_adjust__works(void **state) {
+void test__f_type_array_number_unsigneds_resize__works(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengthss_t_initialize;
+ f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_adjust(length, &data);
+ const f_status_t status = f_number_unsigneds_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsigneds_resize
+#define _TEST__F_type_array__number_unsigneds_resize
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsigneds_resize()
+ */
+extern void test__f_type_array_number_unsigneds_resize__parameter_checking(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsigneds_resize()
+ */
+extern void test__f_type_array_number_unsigneds_resize__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsigneds_resize
#include "test-type_array.h"
-#include "test-type_array-array_lengths_resize.h"
+#include "test-type_array-number_unsignedss_adjust.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengths_resize__parameter_checking(void **state) {
+void test__f_type_array_number_unsignedss_adjust__parameter_checking(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, 0);
+ const f_status_t status = f_number_unsignedss_adjust(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengths_resize__works(void **state) {
+void test__f_type_array_number_unsignedss_adjust__works(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_adjust(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_adjust
+#define _TEST__F_type_array__number_unsignedss_adjust
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_adjust()
+ */
+extern void test__f_type_array_number_unsignedss_adjust__parameter_checking(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_adjust()
+ */
+extern void test__f_type_array_number_unsignedss_adjust__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_adjust
#include "test-type_array.h"
-#include "test-type_array-array_lengthss_append.h"
+#include "test-type_array-number_unsignedss_append.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengthss_append__parameter_checking(void **state) {
+void test__f_type_array_number_unsignedss_append__parameter_checking(void **state) {
- const f_array_lengths_t data = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_append(data, 0);
+ const f_status_t status = f_number_unsignedss_append(data, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
}
}
-void test__f_type_array_array_lengthss_append__returns_data_not(void **state) {
+void test__f_type_array_number_unsignedss_append__returns_data_not(void **state) {
const int length = 5;
- f_array_lengths_t source = f_array_lengths_t_initialize;
- f_array_lengthss_t destination = f_array_lengthss_t_initialize;
+ f_number_unsigneds_t source = f_number_unsigneds_t_initialize;
+ f_number_unsignedss_t destination = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &source);
+ const f_status_t status = f_number_unsigneds_resize(length, &source);
assert_int_equal(status, F_none);
assert_int_equal(source.used, 0);
}
{
- const f_status_t status = f_array_lengthss_append(source, &destination);
+ const f_status_t status = f_number_unsignedss_append(source, &destination);
assert_int_equal(status, F_data_not);
assert_int_equal(destination.used, 0);
free((void *) source.array);
}
-void test__f_type_array_array_lengthss_append__works(void **state) {
+void test__f_type_array_number_unsignedss_append__works(void **state) {
const int length = 5;
- f_array_lengths_t source = f_array_lengths_t_initialize;
- f_array_lengthss_t destination = f_array_lengthss_t_initialize;
+ f_number_unsigneds_t source = f_number_unsigneds_t_initialize;
+ f_number_unsignedss_t destination = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &source);
+ const f_status_t status = f_number_unsigneds_resize(length, &source);
assert_int_equal(status, F_none);
assert_int_equal(source.used, 0);
} // for
{
- const f_status_t status = f_array_lengthss_append(source, &destination);
+ const f_status_t status = f_number_unsignedss_append(source, &destination);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_append
+#define _TEST__F_type_array__number_unsignedss_append
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_append()
+ */
+extern void test__f_type_array_number_unsignedss_append__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_append()
+ */
+extern void test__f_type_array_number_unsignedss_append__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_append()
+ */
+extern void test__f_type_array_number_unsignedss_append__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_append
#include "test-type_array.h"
-#include "test-type_array-array_lengthss_append_all.h"
+#include "test-type_array-number_unsignedss_append_all.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengthss_append_all__parameter_checking(void **state) {
+void test__f_type_array_number_unsignedss_append_all__parameter_checking(void **state) {
- const f_array_lengthss_t data = f_array_lengthss_t_initialize;
+ const f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengthss_append_all(data, 0);
+ const f_status_t status = f_number_unsignedss_append_all(data, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
}
}
-void test__f_type_array_array_lengthss_append_all__returns_data_not(void **state) {
+void test__f_type_array_number_unsignedss_append_all__returns_data_not(void **state) {
const int length = 5;
- f_array_lengthss_t source = f_array_lengthss_t_initialize;
- f_array_lengthss_t destination = f_array_lengthss_t_initialize;
+ f_number_unsignedss_t source = f_number_unsignedss_t_initialize;
+ f_number_unsignedss_t destination = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &source);
+ const f_status_t status = f_number_unsignedss_resize(length, &source);
assert_int_equal(status, F_none);
assert_int_equal(source.used, 0);
}
{
- const f_status_t status = f_array_lengthss_append_all(source, &destination);
+ const f_status_t status = f_number_unsignedss_append_all(source, &destination);
assert_int_equal(status, F_data_not);
assert_int_equal(destination.used, 0);
free((void *) source.array);
}
-void test__f_type_array_array_lengthss_append_all__works(void **state) {
+void test__f_type_array_number_unsignedss_append_all__works(void **state) {
const int length = 5;
const int length_inner = 2;
- f_array_lengthss_t source = f_array_lengthss_t_initialize;
- f_array_lengthss_t destination = f_array_lengthss_t_initialize;
+ f_number_unsignedss_t source = f_number_unsignedss_t_initialize;
+ f_number_unsignedss_t destination = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &source);
+ const f_status_t status = f_number_unsignedss_resize(length, &source);
assert_int_equal(status, F_none);
assert_int_equal(source.used, 0);
{
for (; source.used < length; ++source.used) {
- const f_status_t status = f_array_lengths_resize(length_inner, &source.array[source.used]);
+ const f_status_t status = f_number_unsigneds_resize(length_inner, &source.array[source.used]);
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
}
{
- const f_status_t status = f_array_lengthss_append_all(source, &destination);
+ const f_status_t status = f_number_unsignedss_append_all(source, &destination);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_append_all
+#define _TEST__F_type_array__number_unsignedss_append_all
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_append_all()
+ */
+extern void test__f_type_array_number_unsignedss_append_all__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_append_all()
+ */
+extern void test__f_type_array_number_unsignedss_append_all__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_append_all()
+ */
+extern void test__f_type_array_number_unsignedss_append_all__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_append_all
#include "test-type_array.h"
-#include "test-type_array-array_lengths_decimate_by.h"
+#include "test-type_array-number_unsignedss_decimate_by.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengths_decimate_by__parameter_checking(void **state) {
+void test__f_type_array_number_unsignedss_decimate_by__parameter_checking(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_decimate_by(length, 0);
+ const f_status_t status = f_number_unsignedss_decimate_by(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengths_decimate_by__returns_data_not(void **state) {
+void test__f_type_array_number_unsignedss_decimate_by__returns_data_not(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengths_decimate_by(0, &data);
+ const f_status_t status = f_number_unsignedss_decimate_by(0, &data);
assert_int_equal(status, F_data_not);
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengths_decimate_by__works(void **state) {
+void test__f_type_array_number_unsignedss_decimate_by__works(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengths_decimate_by(length, &data);
+ const f_status_t status = f_number_unsignedss_decimate_by(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_decimate_by
+#define _TEST__F_type_array__number_unsignedss_decimate_by
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_decimate_by()
+ */
+extern void test__f_type_array_number_unsignedss_decimate_by__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_type_array_number_unsignedss_decimate_by()
+ */
+extern void test__f_type_array_number_unsignedss_decimate_by__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_decimate_by()
+ */
+extern void test__f_type_array_number_unsignedss_decimate_by__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_decimate_by
#include "test-type_array.h"
-#include "test-type_array-array_lengths_decrease_by.h"
+#include "test-type_array-number_unsignedss_decrease_by.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengths_decrease_by__parameter_checking(void **state) {
+void test__f_type_array_number_unsignedss_decrease_by__parameter_checking(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_decrease_by(length, 0);
+ const f_status_t status = f_number_unsignedss_decrease_by(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengths_decrease_by__returns_data_not(void **state) {
+void test__f_type_array_number_unsignedss_decrease_by__returns_data_not(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengths_decrease_by(0, &data);
+ const f_status_t status = f_number_unsignedss_decrease_by(0, &data);
assert_int_equal(status, F_data_not);
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengths_decrease_by__works(void **state) {
+void test__f_type_array_number_unsignedss_decrease_by__works(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengths_decrease_by(length, &data);
+ const f_status_t status = f_number_unsignedss_decrease_by(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_decrease_by
+#define _TEST__F_type_array__number_unsignedss_decrease_by
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_decrease_by()
+ */
+extern void test__f_type_array_number_unsignedss_decrease_by__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_decrease_by()
+ */
+extern void test__f_type_array_number_unsignedss_decrease_by__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_decrease_by()
+ */
+extern void test__f_type_array_number_unsignedss_decrease_by__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_decrease_by
#include "test-type_array.h"
-#include "test-type_array-array_lengths_increase.h"
+#include "test-type_array-number_unsignedss_increase.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengths_increase__parameter_checking(void **state) {
+void test__f_type_array_number_unsignedss_increase__parameter_checking(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_increase(length, 0);
+ const f_status_t status = f_number_unsignedss_increase(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengths_increase__returns_data_not(void **state) {
+void test__f_type_array_number_unsignedss_increase__returns_data_not(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengths_increase(length, &data);
+ const f_status_t status = f_number_unsignedss_increase(length, &data);
assert_int_equal(status, F_data_not);
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengths_increase__works(void **state) {
+void test__f_type_array_number_unsignedss_increase__works(void **state) {
const int length = 5;
- f_array_lengths_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengths_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
{
data.used = length;
- const f_status_t status = f_array_lengths_increase(length, &data);
+ const f_status_t status = f_number_unsignedss_increase(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, length);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_increase
+#define _TEST__F_type_array__number_unsignedss_increase
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_increase()
+ */
+extern void test__f_type_array_number_unsignedss_increase__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_increase()
+ */
+extern void test__f_type_array_number_unsignedss_increase__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_increase()
+ */
+extern void test__f_type_array_number_unsignedss_increase__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_increase
#include "test-type_array.h"
-#include "test-type_array-array_lengthss_increase_by.h"
+#include "test-type_array-number_unsignedss_increase_by.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengthss_increase_by__parameter_checking(void **state) {
+void test__f_type_array_number_unsignedss_increase_by__parameter_checking(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_increase_by(length, 0);
+ const f_status_t status = f_number_unsignedss_increase_by(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengthss_increase_by__returns_data_not(void **state) {
+void test__f_type_array_number_unsignedss_increase_by__returns_data_not(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengthss_t_initialize;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengthss_increase_by(0, &data);
+ const f_status_t status = f_number_unsignedss_increase_by(0, &data);
assert_int_equal(status, F_data_not);
assert_int_equal(data.used, 0);
}
{
- const f_status_t status = f_array_lengthss_increase_by(length, &data);
+ const f_status_t status = f_number_unsignedss_increase_by(length, &data);
assert_int_equal(status, F_data_not);
assert_int_equal(data.used, 0);
free((void *) data.array);
}
-void test__f_type_array_array_lengthss_increase_by__works(void **state) {
+void test__f_type_array_number_unsignedss_increase_by__works(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengths_t_initialize;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
{
data.used = length;
- const f_status_t status = f_array_lengthss_increase_by(length, &data);
+ const f_status_t status = f_number_unsignedss_increase_by(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, length);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_increase_by
+#define _TEST__F_type_array__number_unsignedss_increase_by
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_increase_by()
+ */
+extern void test__f_type_array_number_unsignedss_increase_by__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_increase_by()
+ */
+extern void test__f_type_array_number_unsignedss_increase_by__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_increase_by()
+ */
+extern void test__f_type_array_number_unsignedss_increase_by__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_increase_by
#include "test-type_array.h"
-#include "test-type_array-array_lengthss_resize.h"
+#include "test-type_array-number_unsignedss_resize.h"
#ifdef __cplusplus
extern "C" {
#endif
-void test__f_type_array_array_lengthss_resize__parameter_checking(void **state) {
+void test__f_type_array_number_unsignedss_resize__parameter_checking(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengthss_t_initialize;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, 0);
+ const f_status_t status = f_number_unsignedss_resize(length, 0);
assert_int_equal(status, F_status_set_error(F_parameter));
assert_int_equal(data.used, 0);
assert_null(data.array);
}
-void test__f_type_array_array_lengthss_resize__works(void **state) {
+void test__f_type_array_number_unsignedss_resize__works(void **state) {
const int length = 5;
- f_array_lengthss_t data = f_array_lengthss_t_initialize;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
{
- const f_status_t status = f_array_lengthss_resize(length, &data);
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
assert_int_equal(status, F_none);
assert_int_equal(data.used, 0);
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_resize
+#define _TEST__F_type_array__number_unsignedss_resize
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_resize()
+ */
+extern void test__f_type_array_number_unsignedss_resize__parameter_checking(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_resize()
+ */
+extern void test__f_type_array_number_unsignedss_resize__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_resize
--- /dev/null
+#include "test-type_array.h"
+#include "test-type_array-number_unsignedss_adjust.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void test__f_type_array_number_unsignedss_adjust__parameter_checking(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_adjust(length, 0);
+
+ assert_int_equal(status, F_status_set_error(F_parameter));
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, 0);
+ }
+
+ assert_null(data.array);
+}
+
+void test__f_type_array_number_unsignedss_adjust__works(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_adjust(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ free((void *) data.array);
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_adjust
+#define _TEST__F_type_array__number_unsignedss_adjust
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_adjust()
+ */
+extern void test__f_type_array_number_unsignedss_adjust__parameter_checking(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_adjust()
+ */
+extern void test__f_type_array_number_unsignedss_adjust__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_adjust
--- /dev/null
+#include "test-type_array.h"
+#include "test-type_array-number_unsignedss_append.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void test__f_type_array_number_unsignedss_append__parameter_checking(void **state) {
+
+ const f_number_unsigneds_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_append(data, 0);
+
+ assert_int_equal(status, F_status_set_error(F_parameter));
+ }
+}
+
+void test__f_type_array_number_unsignedss_append__returns_data_not(void **state) {
+
+ const int length = 5;
+ f_number_unsigneds_t source = f_number_unsigneds_t_initialize;
+ f_number_unsignedss_t destination = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsigneds_resize(length, &source);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(source.used, 0);
+ assert_int_equal(source.size, length);
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_append(source, &destination);
+
+ assert_int_equal(status, F_data_not);
+ assert_int_equal(destination.used, 0);
+ assert_int_equal(destination.size, 0);
+ assert_null(destination.array);
+ }
+
+ free((void *) source.array);
+}
+
+void test__f_type_array_number_unsignedss_append__works(void **state) {
+
+ const int length = 5;
+ f_number_unsigneds_t source = f_number_unsigneds_t_initialize;
+ f_number_unsignedss_t destination = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsigneds_resize(length, &source);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(source.used, 0);
+ assert_int_equal(source.size, length);
+ }
+
+ for (; source.used < length; ++source.used) {
+ source.array[source.used] = source.used + 1;
+ } // for
+
+ {
+ const f_status_t status = f_number_unsignedss_append(source, &destination);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(destination.used, 1);
+ assert_int_equal(destination.array[0].used, source.used);
+ assert_int_equal(destination.array[0].size, source.used);
+
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
+ assert_int_equal(destination.array[0].array[i], i + 1);
+ } // for
+ }
+
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
+ free((void *) destination.array[i].array);
+ } // for
+
+ free((void *) source.array);
+ free((void *) destination.array);
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_append
+#define _TEST__F_type_array__number_unsignedss_append
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_append()
+ */
+extern void test__f_type_array_number_unsignedss_append__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_append()
+ */
+extern void test__f_type_array_number_unsignedss_append__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_append()
+ */
+extern void test__f_type_array_number_unsignedss_append__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_append
--- /dev/null
+#include "test-type_array.h"
+#include "test-type_array-number_unsignedss_append_all.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void test__f_type_array_number_unsignedss_append_all__parameter_checking(void **state) {
+
+ const f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_append_all(data, 0);
+
+ assert_int_equal(status, F_status_set_error(F_parameter));
+ }
+}
+
+void test__f_type_array_number_unsignedss_append_all__returns_data_not(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t source = f_number_unsignedss_t_initialize;
+ f_number_unsignedss_t destination = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &source);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(source.used, 0);
+ assert_int_equal(source.size, length);
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_append_all(source, &destination);
+
+ assert_int_equal(status, F_data_not);
+ assert_int_equal(destination.used, 0);
+ assert_int_equal(destination.size, 0);
+ assert_null(destination.array);
+ }
+
+ free((void *) source.array);
+}
+
+void test__f_type_array_number_unsignedss_append_all__works(void **state) {
+
+ const int length = 5;
+ const int length_inner = 2;
+ f_number_unsignedss_t source = f_number_unsignedss_t_initialize;
+ f_number_unsignedss_t destination = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &source);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(source.used, 0);
+ assert_int_equal(source.size, length);
+ }
+
+ {
+ for (; source.used < length; ++source.used) {
+
+ const f_status_t status = f_number_unsigneds_resize(length_inner, &source.array[source.used]);
+
+ assert_int_equal(status, F_none);
+
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
+ source.array[source.used].array[source.array[source.used].used++] = i + 1;
+ } // for
+ } // for
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_append_all(source, &destination);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(destination.used, source.used);
+ assert_int_equal(destination.size, source.used);
+
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
+
+ assert_int_equal(destination.array[i].used, length_inner);
+ assert_int_equal(destination.array[i].size, length_inner);
+
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
+ assert_int_equal(destination.array[i].array[j], j + 1);
+ } // for
+ } // for
+ }
+
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
+ free((void *) source.array[i].array);
+ } // for
+
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
+ free((void *) destination.array[i].array);
+ } // for
+
+ free((void *) source.array);
+ free((void *) destination.array);
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_append_all
+#define _TEST__F_type_array__number_unsignedss_append_all
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_append_all()
+ */
+extern void test__f_type_array_number_unsignedss_append_all__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_append_all()
+ */
+extern void test__f_type_array_number_unsignedss_append_all__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_append_all()
+ */
+extern void test__f_type_array_number_unsignedss_append_all__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_append_all
--- /dev/null
+#include "test-type_array.h"
+#include "test-type_array-number_unsignedss_decimate_by.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void test__f_type_array_number_unsignedss_decimate_by__parameter_checking(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_decimate_by(length, 0);
+
+ assert_int_equal(status, F_status_set_error(F_parameter));
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, 0);
+ }
+
+ assert_null(data.array);
+}
+
+void test__f_type_array_number_unsignedss_decimate_by__returns_data_not(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_decimate_by(0, &data);
+
+ assert_int_equal(status, F_data_not);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ free((void *) data.array);
+}
+
+void test__f_type_array_number_unsignedss_decimate_by__works(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_decimate_by(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, 0);
+ }
+
+ assert_null(data.array);
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_decimate_by
+#define _TEST__F_type_array__number_unsignedss_decimate_by
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_decimate_by()
+ */
+extern void test__f_type_array_number_unsignedss_decimate_by__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_decimate_by()
+ */
+extern void test__f_type_array_number_unsignedss_decimate_by__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_decimate_by()
+ */
+extern void test__f_type_array_number_unsignedss_decimate_by__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_decimate_by
--- /dev/null
+#include "test-type_array.h"
+#include "test-type_array-number_unsignedss_decrease_by.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void test__f_type_array_number_unsignedss_decrease_by__parameter_checking(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_decrease_by(length, 0);
+
+ assert_int_equal(status, F_status_set_error(F_parameter));
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, 0);
+ }
+
+ assert_null(data.array);
+}
+
+void test__f_type_array_number_unsignedss_decrease_by__returns_data_not(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_decrease_by(0, &data);
+
+ assert_int_equal(status, F_data_not);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ free((void *) data.array);
+}
+
+void test__f_type_array_number_unsignedss_decrease_by__works(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_decrease_by(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, 0);
+ }
+
+ assert_null(data.array);
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_decrease_by
+#define _TEST__F_type_array__number_unsignedss_decrease_by
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_decrease_by()
+ */
+extern void test__f_type_array_number_unsignedss_decrease_by__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_decrease_by()
+ */
+extern void test__f_type_array_number_unsignedss_decrease_by__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_decrease_by()
+ */
+extern void test__f_type_array_number_unsignedss_decrease_by__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_decrease_by
--- /dev/null
+#include "test-type_array.h"
+#include "test-type_array-number_unsignedss_increase.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void test__f_type_array_number_unsignedss_increase__parameter_checking(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_increase(length, 0);
+
+ assert_int_equal(status, F_status_set_error(F_parameter));
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, 0);
+ }
+
+ free((void *) data.array);
+}
+
+void test__f_type_array_number_unsignedss_increase__returns_data_not(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_increase(length, &data);
+
+ assert_int_equal(status, F_data_not);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ free((void *) data.array);
+}
+
+void test__f_type_array_number_unsignedss_increase__works(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ {
+ data.used = length;
+
+ const f_status_t status = f_number_unsignedss_increase(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, length);
+ assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
+ }
+
+ free((void *) data.array);
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_increase
+#define _TEST__F_type_array__number_unsignedss_increase
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_increase()
+ */
+extern void test__f_type_array_number_unsignedss_increase__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_increase()
+ */
+extern void test__f_type_array_number_unsignedss_increase__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_increase()
+ */
+extern void test__f_type_array_number_unsignedss_increase__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_increase
--- /dev/null
+#include "test-type_array.h"
+#include "test-type_array-number_unsignedss_increase_by.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void test__f_type_array_number_unsignedss_increase_by__parameter_checking(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_increase_by(length, 0);
+
+ assert_int_equal(status, F_status_set_error(F_parameter));
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, 0);
+ }
+
+ assert_null(data.array);
+}
+
+void test__f_type_array_number_unsignedss_increase_by__returns_data_not(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_increase_by(0, &data);
+
+ assert_int_equal(status, F_data_not);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ {
+ const f_status_t status = f_number_unsignedss_increase_by(length, &data);
+
+ assert_int_equal(status, F_data_not);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ free((void *) data.array);
+}
+
+void test__f_type_array_number_unsignedss_increase_by__works(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsigneds_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ {
+ data.used = length;
+
+ const f_status_t status = f_number_unsignedss_increase_by(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, length);
+ assert_int_equal(data.size, length * 2);
+ }
+
+ free((void *) data.array);
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_increase_by
+#define _TEST__F_type_array__number_unsignedss_increase_by
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_increase_by()
+ */
+extern void test__f_type_array_number_unsignedss_increase_by__parameter_checking(void **state);
+
+/**
+ * Test that the function returns F_data_not.
+ *
+ * @see f_number_unsignedss_increase_by()
+ */
+extern void test__f_type_array_number_unsignedss_increase_by__returns_data_not(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_increase_by()
+ */
+extern void test__f_type_array_number_unsignedss_increase_by__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_increase_by
--- /dev/null
+#include "test-type_array.h"
+#include "test-type_array-number_unsignedss_resize.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void test__f_type_array_number_unsignedss_resize__parameter_checking(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, 0);
+
+ assert_int_equal(status, F_status_set_error(F_parameter));
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, 0);
+ }
+
+ assert_null(data.array);
+}
+
+void test__f_type_array_number_unsignedss_resize__works(void **state) {
+
+ const int length = 5;
+ f_number_unsignedss_t data = f_number_unsignedss_t_initialize;
+
+ {
+ const f_status_t status = f_number_unsignedss_resize(length, &data);
+
+ assert_int_equal(status, F_none);
+ assert_int_equal(data.used, 0);
+ assert_int_equal(data.size, length);
+ }
+
+ free((void *) data.array);
+}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
--- /dev/null
+/**
+ * FLL - Level 0
+ *
+ * Project: Type
+ * API Version: 0.7
+ * Licenses: lgpl-2.1-or-later
+ *
+ * Test the array types in the type project.
+ */
+#ifndef _TEST__F_type_array__number_unsignedss_resize
+#define _TEST__F_type_array__number_unsignedss_resize
+
+/**
+ * Test that the function correctly fails on invalid parameter.
+ *
+ * @see f_number_unsignedss_resize()
+ */
+extern void test__f_type_array_number_unsignedss_resize__parameter_checking(void **state);
+
+/**
+ * Test that the function works.
+ *
+ * @see f_number_unsignedss_resize()
+ */
+extern void test__f_type_array_number_unsignedss_resize__works(void **state);
+
+#endif // _TEST__F_type_array__number_unsignedss_resize
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i].step_large, state_data.step_large);
assert_int_equal(destination.array[0].array[i].step_small, state_data.step_small);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i], i + 1);
} // for
}
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
assert_int_equal(destination.array[0].array[i], i + 1);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
assert_int_equal(status, F_none);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = i + 1;
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
assert_int_equal(destination.array[i].used, length_inner);
assert_int_equal(destination.array[i].size, length_inner);
- for (f_array_length_t j = 0; j < length_inner; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_inner; ++j) {
assert_int_equal(destination.array[i].array[j], j + 1);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].array);
} // for
int main(void) {
const struct CMUnitTest tests[] = {
- cmocka_unit_test(test__f_type_array_array_lengths_append_all__returns_data_not),
- cmocka_unit_test(test__f_type_array_array_lengths_decimate_by__returns_data_not),
- cmocka_unit_test(test__f_type_array_array_lengths_decrease_by__returns_data_not),
- cmocka_unit_test(test__f_type_array_array_lengths_increase__returns_data_not),
- cmocka_unit_test(test__f_type_array_array_lengths_increase_by__returns_data_not),
-
- cmocka_unit_test(test__f_type_array_array_lengths_adjust__works),
- cmocka_unit_test(test__f_type_array_array_lengths_append__works),
- cmocka_unit_test(test__f_type_array_array_lengths_append_all__works),
- cmocka_unit_test(test__f_type_array_array_lengths_decimate_by__works),
- cmocka_unit_test(test__f_type_array_array_lengths_decrease_by__works),
- cmocka_unit_test(test__f_type_array_array_lengths_increase__works),
- cmocka_unit_test(test__f_type_array_array_lengths_increase_by__works),
- cmocka_unit_test(test__f_type_array_array_lengths_resize__works),
-
- cmocka_unit_test(test__f_type_array_array_lengthss_append__returns_data_not),
- cmocka_unit_test(test__f_type_array_array_lengthss_append_all__returns_data_not),
- cmocka_unit_test(test__f_type_array_array_lengthss_decimate_by__returns_data_not),
- cmocka_unit_test(test__f_type_array_array_lengthss_decrease_by__returns_data_not),
- cmocka_unit_test(test__f_type_array_array_lengthss_increase__returns_data_not),
- cmocka_unit_test(test__f_type_array_array_lengthss_increase_by__returns_data_not),
-
- cmocka_unit_test(test__f_type_array_array_lengthss_adjust__works),
- cmocka_unit_test(test__f_type_array_array_lengthss_append__works),
- cmocka_unit_test(test__f_type_array_array_lengthss_append_all__works),
- cmocka_unit_test(test__f_type_array_array_lengthss_decimate_by__works),
- cmocka_unit_test(test__f_type_array_array_lengthss_decrease_by__works),
- cmocka_unit_test(test__f_type_array_array_lengthss_increase__works),
- cmocka_unit_test(test__f_type_array_array_lengthss_increase_by__works),
- cmocka_unit_test(test__f_type_array_array_lengthss_resize__works),
-
cmocka_unit_test(test__f_type_array_cells_append_all__returns_data_not),
cmocka_unit_test(test__f_type_array_cells_decimate_by__returns_data_not),
cmocka_unit_test(test__f_type_array_cells_decrease_by__returns_data_not),
cmocka_unit_test(test__f_type_array_int128ss_increase__returns_data_not),
cmocka_unit_test(test__f_type_array_int128ss_increase_by__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_append_all__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_decimate_by__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_decrease_by__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_increase__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_increase_by__returns_data_not),
+
+ cmocka_unit_test(test__f_type_array_number_unsigneds_adjust__works),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_append__works),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_append_all__works),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_decimate_by__works),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_decrease_by__works),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_increase__works),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_increase_by__works),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_resize__works),
+
+ cmocka_unit_test(test__f_type_array_number_unsignedss_append__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_append_all__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_decimate_by__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_decrease_by__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_increase__returns_data_not),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_increase_by__returns_data_not),
+
+ cmocka_unit_test(test__f_type_array_number_unsignedss_adjust__works),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_append__works),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_append_all__works),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_decimate_by__works),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_decrease_by__works),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_increase__works),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_increase_by__works),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_resize__works),
+
cmocka_unit_test(test__f_type_array_int128ss_adjust__works),
cmocka_unit_test(test__f_type_array_int128ss_append__works),
cmocka_unit_test(test__f_type_array_int128ss_append_all__works),
cmocka_unit_test(test__f_type_array_uint128ss_resize__works),
#ifndef _di_level_0_parameter_checking_
- cmocka_unit_test(test__f_type_array_array_lengths_adjust__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengths_append__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengths_append_all__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengths_decimate_by__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengths_decrease_by__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengths_increase__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengths_increase_by__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengths_resize__parameter_checking),
-
- cmocka_unit_test(test__f_type_array_array_lengthss_adjust__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengthss_append__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengthss_append_all__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengthss_decimate_by__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengthss_decrease_by__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengthss_increase__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengthss_increase_by__parameter_checking),
- cmocka_unit_test(test__f_type_array_array_lengthss_resize__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_adjust__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_append__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_append_all__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_decimate_by__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_decrease_by__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_increase__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_increase_by__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsigneds_resize__parameter_checking),
+
+ cmocka_unit_test(test__f_type_array_number_unsignedss_adjust__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_append__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_append_all__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_decimate_by__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_decrease_by__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_increase__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_increase_by__parameter_checking),
+ cmocka_unit_test(test__f_type_array_number_unsignedss_resize__parameter_checking),
cmocka_unit_test(test__f_type_array_cells_adjust__parameter_checking),
cmocka_unit_test(test__f_type_array_cells_append__parameter_checking),
#include <fll/level_0/type_array.h>
// Test includes.
-#include "test-type_array-array_lengths_adjust.h"
-#include "test-type_array-array_lengths_append.h"
-#include "test-type_array-array_lengths_append_all.h"
-#include "test-type_array-array_lengths_decimate_by.h"
-#include "test-type_array-array_lengths_decrease_by.h"
-#include "test-type_array-array_lengths_increase.h"
-#include "test-type_array-array_lengths_increase_by.h"
-#include "test-type_array-array_lengths_resize.h"
-#include "test-type_array-array_lengthss_adjust.h"
-#include "test-type_array-array_lengthss_append.h"
-#include "test-type_array-array_lengthss_append_all.h"
-#include "test-type_array-array_lengthss_decimate_by.h"
-#include "test-type_array-array_lengthss_decrease_by.h"
-#include "test-type_array-array_lengthss_increase.h"
-#include "test-type_array-array_lengthss_increase_by.h"
-#include "test-type_array-array_lengthss_resize.h"
#include "test-type_array-cells_adjust.h"
#include "test-type_array-cells_append.h"
#include "test-type_array-cells_append_all.h"
#include "test-type_array-int128ss_increase.h"
#include "test-type_array-int128ss_increase_by.h"
#include "test-type_array-int128ss_resize.h"
+#include "test-type_array-number_unsigneds_adjust.h"
+#include "test-type_array-number_unsigneds_append.h"
+#include "test-type_array-number_unsigneds_append_all.h"
+#include "test-type_array-number_unsigneds_decimate_by.h"
+#include "test-type_array-number_unsigneds_decrease_by.h"
+#include "test-type_array-number_unsigneds_increase.h"
+#include "test-type_array-number_unsigneds_increase_by.h"
+#include "test-type_array-number_unsigneds_resize.h"
+#include "test-type_array-number_unsignedss_adjust.h"
+#include "test-type_array-number_unsignedss_append.h"
+#include "test-type_array-number_unsignedss_append_all.h"
+#include "test-type_array-number_unsignedss_decimate_by.h"
+#include "test-type_array-number_unsignedss_decrease_by.h"
+#include "test-type_array-number_unsignedss_increase.h"
+#include "test-type_array-number_unsignedss_increase_by.h"
+#include "test-type_array-number_unsignedss_resize.h"
#include "test-type_array-states_adjust.h"
#include "test-type_array-states_append.h"
#include "test-type_array-states_append_all.h"
#endif
#if !defined(_di_f_utf_char_to_character_) || !defined(_di_f_utf_is_alphabetic_) || !defined(_di_f_utf_is_alphabetic_digit_) || !defined(_di_f_utf_is_alphabetic_numeric_) || !defined(_di_f_utf_is_ascii_) || !defined(_di_f_utf_is_combining_) || !defined(_di_f_utf_is_control_) || !defined(_di_f_utf_is_control_picture_) || !defined(_di_f_utf_is_digit_) || !defined(_di_f_utf_is_emoji_) || !defined(_di_f_utf_is_graph_) || !defined(_di_f_utf_is_numeric_) || !defined(_di_f_utf_is_phonetic_) || !defined(_di_f_utf_is_private_) || !defined(_di_f_utf_is_punctuation_) || !defined(_di_f_utf_is_symbol_) || !defined(_di_f_utf_is_unassigned_) || !defined(_di_f_utf_is_valid_) || !defined(_di_f_utf_is_whitespace_) || !defined(_di_f_utf_is_whitespace_modifier_) || !defined(_di_f_utf_is_whitespace_other_) || !defined(_di_f_utf_is_wide_) || !defined(_di_f_utf_is_word_) || !defined(_di_f_utf_is_word_dash_) || !defined(_di_f_utf_is_word_dash_plus_) || !defined(_di_f_utf_is_zero_width_) || !defined(_di_f_utf_unicode_to_)
- f_status_t private_f_utf_char_to_character(const f_string_t sequence, const f_array_length_t width_max, f_utf_char_t *character_utf) {
+ f_status_t private_f_utf_char_to_character(const f_string_t sequence, const f_number_unsigned_t width_max, f_utf_char_t *character_utf) {
if (!macro_f_utf_byte_width_is(*sequence)) {
*character_utf = macro_f_utf_char_t_from_char_1(sequence[0]);
* @see f_utf_unicode_to()
*/
#if !defined(_di_f_utf_char_to_character_) || !defined(_di_f_utf_is_alphabetic_) || !defined(_di_f_utf_is_alphabetic_digit_) || !defined(_di_f_utf_is_alphabetic_numeric_) || !defined(_di_f_utf_is_ascii_) || !defined(_di_f_utf_is_combining_) || !defined(_di_f_utf_is_control_) || !defined(_di_f_utf_is_control_picture_) || !defined(_di_f_utf_is_digit_) || !defined(_di_f_utf_is_emoji_) || !defined(_di_f_utf_is_graph_) || !defined(_di_f_utf_is_numeric_) || !defined(_di_f_utf_is_phonetic_) || !defined(_di_f_utf_is_private_) || !defined(_di_f_utf_is_punctuation_) || !defined(_di_f_utf_is_symbol_) || !defined(_di_f_utf_is_unassigned_) || !defined(_di_f_utf_is_valid_) || !defined(_di_f_utf_is_whitespace_) || !defined(_di_f_utf_is_whitespace_modifier_) || !defined(_di_f_utf_is_whitespace_other_) || !defined(_di_f_utf_is_wide_) || !defined(_di_f_utf_is_word_) || !defined(_di_f_utf_is_word_dash_) || !defined(_di_f_utf_is_word_dash_plus_) || !defined(_di_f_utf_is_zero_width_) || !defined(_di_f_utf_unicode_to_)
- extern f_status_t private_f_utf_char_to_character(const f_string_t character, const f_array_length_t width_max, f_utf_char_t *character_utf) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_char_to_character(const f_string_t character, const f_number_unsigned_t width_max, f_utf_char_t *character_utf) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_char_to_character_) || !defined(_di_f_utf_is_alphabetic_) || !defined(_di_f_utf_is_alphabetic_digit_) || !defined(_di_f_utf_is_alphabetic_numeric_) || !defined(_di_f_utf_is_ascii_) || !defined(_di_f_utf_is_combining_) || !defined(_di_f_utf_is_control_) || !defined(_di_f_utf_is_control_picture_) || !defined(_di_f_utf_is_digit_) || !defined(_di_f_utf_is_emoji_) || !defined(_di_f_utf_is_graph_) || !defined(_di_f_utf_is_numeric_) || !defined(_di_f_utf_is_phonetic_) || !defined(_di_f_utf_is_private_) || !defined(_di_f_utf_is_punctuation_) || !defined(_di_f_utf_is_symbol_) || !defined(_di_f_utf_is_unassigned_) || !defined(_di_f_utf_is_valid_) || !defined(_di_f_utf_is_whitespace_) || !defined(_di_f_utf_is_whitespace_modifier_) || !defined(_di_f_utf_is_whitespace_other_) || !defined(_di_f_utf_is_wide_) || !defined(_di_f_utf_is_word_) || !defined(_di_f_utf_is_word_dash_) || !defined(_di_f_utf_is_word_dash_plus_) || !defined(_di_f_utf_is_zero_width_) || !defined(_di_f_utf_unicode_to_)
/**
#endif
#ifndef _di_f_utf_buffer_decrement_
- f_status_t f_utf_buffer_decrement(const f_string_static_t buffer, f_string_range_t *range, const f_array_length_t step) {
+ f_status_t f_utf_buffer_decrement(const f_string_static_t buffer, f_string_range_t *range, const f_number_unsigned_t step) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (step < 1) return F_status_set_error(F_parameter);
return F_data_not;
}
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
uint8_t width = 0;
do {
#endif // _di_f_utf_buffer_decrement_
#ifndef _di_f_utf_buffer_increment_
- f_status_t f_utf_buffer_increment(const f_string_static_t buffer, f_string_range_t *range, const f_array_length_t step) {
+ f_status_t f_utf_buffer_increment(const f_string_static_t buffer, f_string_range_t *range, const f_number_unsigned_t step) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (step < 1) return F_status_set_error(F_parameter);
return F_data_not;
}
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
uint8_t width = 0;
do {
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_utf_buffer_decrement_
- extern f_status_t f_utf_buffer_decrement(const f_string_static_t buffer, f_string_range_t *range, const f_array_length_t step);
+ extern f_status_t f_utf_buffer_decrement(const f_string_static_t buffer, f_string_range_t *range, const f_number_unsigned_t step);
#endif // _di_f_utf_buffer_decrement_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_utf_buffer_increment_
- extern f_status_t f_utf_buffer_increment(const f_string_static_t buffer, f_string_range_t *range, const f_array_length_t step);
+ extern f_status_t f_utf_buffer_increment(const f_string_static_t buffer, f_string_range_t *range, const f_number_unsigned_t step);
#endif // _di_f_utf_buffer_increment_
#ifdef __cplusplus
#endif
#ifndef _di_f_utf_char_to_character_
- f_status_t f_utf_char_to_character(const f_string_t character, const f_array_length_t width_max, f_utf_char_t *character_utf) {
+ f_status_t f_utf_char_to_character(const f_string_t character, const f_number_unsigned_t width_max, f_utf_char_t *character_utf) {
#ifndef _di_level_0_parameter_checking_
if (width_max < 1) return F_status_set_error(F_parameter);
if (!character_utf) return F_status_set_error(F_parameter);
#endif // _di_f_utf_char_to_character_
#ifndef _di_f_utf_char_to_char_
- f_status_t f_utf_char_to_char(const f_utf_char_t unicode, f_string_t *character, f_array_length_t *width_max) {
+ f_status_t f_utf_char_to_char(const f_utf_char_t unicode, f_string_t *character, f_number_unsigned_t *width_max) {
#ifndef _di_level_0_parameter_checking_
if (!character) return F_status_set_error(F_parameter);
if (!width_max) return F_status_set_error(F_parameter);
#endif // _di_f_utf_character_unicode_from_
#ifndef _di_f_utf_character_unicode_string_to_
- f_status_t f_utf_character_unicode_string_to(const f_utf_string_t string, const f_array_length_t length, f_utf_char_t *codepoint) {
+ f_status_t f_utf_character_unicode_string_to(const f_utf_string_t string, const f_number_unsigned_t length, f_utf_char_t *codepoint) {
#ifndef _di_level_0_parameter_checking_
if (!codepoint) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
while (i < length && !string[i]) {
++i;
#endif // _di_f_utf_character_unicode_string_to_
#ifndef _di_f_utf_unicode_from_
- f_status_t f_utf_unicode_from(const f_utf_char_t codepoint, const f_array_length_t width_max, f_string_t *character) {
+ f_status_t f_utf_unicode_from(const f_utf_char_t codepoint, const f_number_unsigned_t width_max, f_string_t *character) {
#ifndef _di_level_0_parameter_checking_
if (width_max < 1) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_unicode_from_
#ifndef _di_f_utf_unicode_to_
- f_status_t f_utf_unicode_to(const f_string_t character, const f_array_length_t width_max, uint32_t *unicode) {
+ f_status_t f_utf_unicode_to(const f_string_t character, const f_number_unsigned_t width_max, uint32_t *unicode) {
#ifndef _di_level_0_parameter_checking_
if (width_max < 1) return F_status_set_error(F_parameter);
if (!unicode) return F_status_set_error(F_parameter);
#endif // _di_f_utf_unicode_to_
#ifndef _di_f_utf_unicode_string_to_
- f_status_t f_utf_unicode_string_to(const f_string_t string, const f_array_length_t length, uint32_t *unicode) {
+ f_status_t f_utf_unicode_string_to(const f_string_t string, const f_number_unsigned_t length, uint32_t *unicode) {
#ifndef _di_level_0_parameter_checking_
if (!unicode) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
while (i < length && !string[i]) {
++i;
* F_utf_not (with error bit) if unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_char_to_char_
- extern f_status_t f_utf_char_to_char(const f_utf_char_t utf_character, f_string_t *character, f_array_length_t *width_max);
+ extern f_status_t f_utf_char_to_char(const f_utf_char_t utf_character, f_string_t *character, f_number_unsigned_t *width_max);
#endif // _di_f_utf_char_to_char_
/**
* F_valid_not (with error bit) if string is not a valid Unicode string.
*/
#ifndef _di_f_utf_character_unicode_string_to_
- extern f_status_t f_utf_character_unicode_string_to(const f_utf_string_t string, const f_array_length_t length, f_utf_char_t *codepoint);
+ extern f_status_t f_utf_character_unicode_string_to(const f_utf_string_t string, const f_number_unsigned_t length, f_utf_char_t *codepoint);
#endif // _di_f_utf_character_unicode_string_to_
/**
* F_utf_not (with error bit) if unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_char_to_character_
- extern f_status_t f_utf_char_to_character(const f_string_t character, const f_array_length_t width_max, f_utf_char_t *character_utf);
+ extern f_status_t f_utf_char_to_character(const f_string_t character, const f_number_unsigned_t width_max, f_utf_char_t *character_utf);
#endif // _di_f_utf_char_to_character_
/**
* F_utf_not (with error bit) if unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_unicode_from_
- extern f_status_t f_utf_unicode_from(const uint32_t unicode, const f_array_length_t width_max, f_string_t *character);
+ extern f_status_t f_utf_unicode_from(const uint32_t unicode, const f_number_unsigned_t width_max, f_string_t *character);
#endif // _di_f_utf_unicode_from_
/**
* @see f_utf_character_is_valid()
*/
#ifndef _di_f_utf_unicode_to_
- extern f_status_t f_utf_unicode_to(const f_string_t character, const f_array_length_t width_max, uint32_t *unicode);
+ extern f_status_t f_utf_unicode_to(const f_string_t character, const f_number_unsigned_t width_max, uint32_t *unicode);
#endif // _di_f_utf_unicode_to_
/**
* F_valid_not (with error bit) if string is not a valid Unicode string.
*/
#ifndef _di_f_utf_unicode_string_to_
- extern f_status_t f_utf_unicode_string_to(const f_string_t string, const f_array_length_t length, uint32_t *unicode);
+ extern f_status_t f_utf_unicode_string_to(const f_string_t string, const f_number_unsigned_t length, uint32_t *unicode);
#endif // _di_f_utf_unicode_string_to_
#ifdef __cplusplus
#endif
#ifndef _di_f_utf_string_dynamic_adjust_
- f_status_t f_utf_string_dynamic_adjust(const f_array_length_t length, f_utf_string_dynamic_t * const dynamic) {
+ f_status_t f_utf_string_dynamic_adjust(const f_number_unsigned_t length, f_utf_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_append(source.string, source.used, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= source.used && j <= destination->used) {
return private_f_utf_string_append_nulless(source.string, source.used, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= source.used && j <= destination->used) {
#endif // _di_f_utf_string_dynamic_append_nulless_
#ifndef _di_f_utf_string_dynamic_decimate_by_
- f_status_t f_utf_string_dynamic_decimate_by(const f_array_length_t amount, f_utf_string_dynamic_t * const dynamic) {
+ f_status_t f_utf_string_dynamic_decimate_by(const f_number_unsigned_t amount, f_utf_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_dynamic_decimate_by_
#ifndef _di_f_utf_string_dynamic_decrease_by_
- f_status_t f_utf_string_dynamic_decrease_by(const f_array_length_t amount, f_utf_string_dynamic_t * const dynamic) {
+ f_status_t f_utf_string_dynamic_decrease_by(const f_number_unsigned_t amount, f_utf_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_dynamic_decrease_by_
#ifndef _di_f_utf_string_dynamic_increase_
- f_status_t f_utf_string_dynamic_increase(const f_array_length_t step, f_utf_string_dynamic_t * const dynamic) {
+ f_status_t f_utf_string_dynamic_increase(const f_number_unsigned_t step, f_utf_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && dynamic->used + 1 > dynamic->size) {
- f_array_length_t size = dynamic->used + step;
+ f_number_unsigned_t size = dynamic->used + step;
if (size > F_string_t_size_d) {
if (dynamic->used + 1 > F_string_t_size_d) {
#endif // _di_f_utf_string_dynamic_increase_
#ifndef _di_f_utf_string_dynamic_increase_by_
- f_status_t f_utf_string_dynamic_increase_by(const f_array_length_t amount, f_utf_string_dynamic_t * const dynamic) {
+ f_status_t f_utf_string_dynamic_increase_by(const f_number_unsigned_t amount, f_utf_string_dynamic_t * const dynamic) {
#ifndef _di_level_0_parameter_checking_
if (!dynamic) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (range.start > range.stop) return F_data_not_stop;
if (range.start >= source.used) return F_data_not_eos;
- const f_array_length_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
+ const f_number_unsigned_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
if (destination->used < length) {
return private_f_utf_string_append(source.string + range.start, length, destination);
}
- const f_array_length_t stop = range.stop >= source.used ? source.used : range.stop + 1;
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ const f_number_unsigned_t stop = range.stop >= source.used ? source.used : range.stop + 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
if (range.start > range.stop) return F_data_not_stop;
if (range.start >= source.used) return F_data_not_eos;
- const f_array_length_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
+ const f_number_unsigned_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
if (!destination->used) {
return private_f_utf_string_append_nulless(source.string + range.start, length, destination);
}
- const f_array_length_t stop = range.stop >= source.used ? source.used : range.stop + 1;
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ const f_number_unsigned_t stop = range.stop >= source.used ? source.used : range.stop + 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
if (range.start > range.stop) return F_data_not_stop;
if (range.start >= source.used) return F_data_not_eos;
- const f_array_length_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
+ const f_number_unsigned_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
if (destination->used < length) {
return private_f_utf_string_prepend(source.string + range.start, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
if (range.start > range.stop) return F_data_not_stop;
if (range.start >= source.used) return F_data_not_eos;
- const f_array_length_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
+ const f_number_unsigned_t length = range.stop >= source.used ? source.used - range.start : (range.stop - range.start) + 1;
if (!destination->used) {
return private_f_utf_string_prepend_nulless(source.string + range.start, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
return private_f_utf_string_prepend(source.string, source.used, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < source.used && j < destination->used) {
return private_f_utf_string_prepend_nulless(source.string, source.used, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < source.used && j < destination->used) {
#endif // _di_f_utf_string_dynamic_prepend_nulless_
#ifndef _di_f_utf_string_dynamic_resize_
- f_status_t f_utf_string_dynamic_resize(const f_array_length_t length, f_utf_string_dynamic_t * const buffer) {
+ f_status_t f_utf_string_dynamic_resize(const f_number_unsigned_t length, f_utf_string_dynamic_t * const buffer) {
#ifndef _di_level_0_parameter_checking_
if (!buffer) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_utf_string_dynamic_adjust_
- extern f_status_t f_utf_string_dynamic_adjust(const f_array_length_t length, f_utf_string_dynamic_t * const dynamic);
+ extern f_status_t f_utf_string_dynamic_adjust(const f_number_unsigned_t length, f_utf_string_dynamic_t * const dynamic);
#endif // _di_f_utf_string_dynamic_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamic_decimate_by_
- extern f_status_t f_utf_string_dynamic_decimate_by(const f_array_length_t amount, f_utf_string_dynamic_t * const dynamic);
+ extern f_status_t f_utf_string_dynamic_decimate_by(const f_number_unsigned_t amount, f_utf_string_dynamic_t * const dynamic);
#endif // _di_f_utf_string_dynamic_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamic_decrease_by_
- extern f_status_t f_utf_string_dynamic_decrease_by(const f_array_length_t amount, f_utf_string_dynamic_t * const dynamic);
+ extern f_status_t f_utf_string_dynamic_decrease_by(const f_number_unsigned_t amount, f_utf_string_dynamic_t * const dynamic);
#endif // _di_f_utf_string_dynamic_decrease_by_
/**
* Resize the dynamic string to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamic_increase_
- extern f_status_t f_utf_string_dynamic_increase(const f_array_length_t step, f_utf_string_dynamic_t * const dynamic);
+ extern f_status_t f_utf_string_dynamic_increase(const f_number_unsigned_t step, f_utf_string_dynamic_t * const dynamic);
#endif // _di_f_utf_string_dynamic_increase_
/**
* Resize the dynamic string to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamic_increase_by_
- extern f_status_t f_utf_string_dynamic_increase_by(const f_array_length_t amount, f_utf_string_dynamic_t * const dynamic);
+ extern f_status_t f_utf_string_dynamic_increase_by(const f_number_unsigned_t amount, f_utf_string_dynamic_t * const dynamic);
#endif // _di_f_utf_string_dynamic_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamic_resize_
- extern f_status_t f_utf_string_dynamic_resize(const f_array_length_t length, f_utf_string_dynamic_t * const buffer);
+ extern f_status_t f_utf_string_dynamic_resize(const f_number_unsigned_t length, f_utf_string_dynamic_t * const buffer);
#endif // _di_f_utf_string_dynamic_resize_
/**
#endif
#ifndef _di_f_utf_string_dynamics_adjust_
- f_status_t f_utf_string_dynamics_adjust(const f_array_length_t length, f_utf_string_dynamics_t * const dynamics) {
+ f_status_t f_utf_string_dynamics_adjust(const f_number_unsigned_t length, f_utf_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_dynamics_append_all_
#ifndef _di_f_utf_string_dynamics_decimate_by_
- f_status_t f_utf_string_dynamics_decimate_by(const f_array_length_t amount, f_utf_string_dynamics_t * const dynamics) {
+ f_status_t f_utf_string_dynamics_decimate_by(const f_number_unsigned_t amount, f_utf_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_dynamics_decimate_by_
#ifndef _di_f_utf_string_dynamics_decrease_by_
- f_status_t f_utf_string_dynamics_decrease_by(const f_array_length_t amount, f_utf_string_dynamics_t * const dynamics) {
+ f_status_t f_utf_string_dynamics_decrease_by(const f_number_unsigned_t amount, f_utf_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_dynamics_decrease_by_
#ifndef _di_f_utf_string_dynamics_increase_
- f_status_t f_utf_string_dynamics_increase(const f_array_length_t step, f_utf_string_dynamics_t * const dynamics) {
+ f_status_t f_utf_string_dynamics_increase(const f_number_unsigned_t step, f_utf_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!step) return F_data_not;
if (dynamics->used + 1 > dynamics->size) {
- f_array_length_t size = dynamics->used + step;
+ f_number_unsigned_t size = dynamics->used + step;
- if (size > F_array_length_t_size_d) {
- if (dynamics->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (dynamics->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_utf_string_dynamics_resize(size, dynamics);
#endif // _di_f_utf_string_dynamics_increase_
#ifndef _di_f_utf_string_dynamics_increase_by_
- f_status_t f_utf_string_dynamics_increase_by(const f_array_length_t amount, f_utf_string_dynamics_t * const dynamics) {
+ f_status_t f_utf_string_dynamics_increase_by(const f_number_unsigned_t amount, f_utf_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (dynamics->used + amount > dynamics->size) {
- if (dynamics->used + amount > F_array_length_t_size_d) {
+ if (dynamics->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_utf_string_dynamics_increase_by_
#ifndef _di_f_utf_string_dynamics_resize_
- f_status_t f_utf_string_dynamics_resize(const f_array_length_t length, f_utf_string_dynamics_t * const dynamics) {
+ f_status_t f_utf_string_dynamics_resize(const f_number_unsigned_t length, f_utf_string_dynamics_t * const dynamics) {
#ifndef _di_level_0_parameter_checking_
if (!dynamics) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_utf_string_dynamics_adjust_
- extern f_status_t f_utf_string_dynamics_adjust(const f_array_length_t length, f_utf_string_dynamics_t * const dynamics);
+ extern f_status_t f_utf_string_dynamics_adjust(const f_number_unsigned_t length, f_utf_string_dynamics_t * const dynamics);
#endif // _di_f_utf_string_dynamics_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamics_decimate_by_
- extern f_status_t f_utf_string_dynamics_decimate_by(const f_array_length_t amount, f_utf_string_dynamics_t * const dynamics);
+ extern f_status_t f_utf_string_dynamics_decimate_by(const f_number_unsigned_t amount, f_utf_string_dynamics_t * const dynamics);
#endif // _di_f_utf_string_dynamics_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamics_decrease_by_
- extern f_status_t f_utf_string_dynamics_decrease_by(const f_array_length_t amount, f_utf_string_dynamics_t * const dynamics);
+ extern f_status_t f_utf_string_dynamics_decrease_by(const f_number_unsigned_t amount, f_utf_string_dynamics_t * const dynamics);
#endif // _di_f_utf_string_dynamics_decrease_by_
/**
* Increase the size of the dynamic string array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamics_increase_
- extern f_status_t f_utf_string_dynamics_increase(const f_array_length_t step, f_utf_string_dynamics_t * const dynamics);
+ extern f_status_t f_utf_string_dynamics_increase(const f_number_unsigned_t step, f_utf_string_dynamics_t * const dynamics);
#endif // _di_f_utf_string_dynamics_increase_
/**
* Resize the dynamic string array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamics_increase_by_
- extern f_status_t f_utf_string_dynamics_increase_by(const f_array_length_t amount, f_utf_string_dynamics_t * const dynamics);
+ extern f_status_t f_utf_string_dynamics_increase_by(const f_number_unsigned_t amount, f_utf_string_dynamics_t * const dynamics);
#endif // _di_f_utf_string_dynamics_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamics_resize_
- extern f_status_t f_utf_string_dynamics_resize(const f_array_length_t length, f_utf_string_dynamics_t * const dynamics);
+ extern f_status_t f_utf_string_dynamics_resize(const f_number_unsigned_t length, f_utf_string_dynamics_t * const dynamics);
#endif // _di_f_utf_string_dynamics_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_utf_string_dynamicss_adjust_
- f_status_t f_utf_string_dynamicss_adjust(const f_array_length_t length, f_utf_string_dynamicss_t * const dynamicss) {
+ f_status_t f_utf_string_dynamicss_adjust(const f_number_unsigned_t length, f_utf_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_utf_string_dynamicss_append_all_
#ifndef _di_f_utf_string_dynamicss_decimate_by_
- f_status_t f_utf_string_dynamicss_decimate_by(const f_array_length_t amount, f_utf_string_dynamicss_t * const dynamicss) {
+ f_status_t f_utf_string_dynamicss_decimate_by(const f_number_unsigned_t amount, f_utf_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_dynamicss_decimate_by_
#ifndef _di_f_utf_string_dynamicss_decrease_by_
- f_status_t f_utf_string_dynamicss_decrease_by(const f_array_length_t amount, f_utf_string_dynamicss_t * const dynamicss) {
+ f_status_t f_utf_string_dynamicss_decrease_by(const f_number_unsigned_t amount, f_utf_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_dynamicss_decrease_by_
#ifndef _di_f_utf_string_dynamicss_increase_
- f_status_t f_utf_string_dynamicss_increase(const f_array_length_t step, f_utf_string_dynamicss_t * const dynamicss) {
+ f_status_t f_utf_string_dynamicss_increase(const f_number_unsigned_t step, f_utf_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!step) return F_data_not;
if (dynamicss->used + 1 > dynamicss->size) {
- f_array_length_t size = dynamicss->used + step;
+ f_number_unsigned_t size = dynamicss->used + step;
- if (size > F_array_length_t_size_d) {
- if (dynamicss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (dynamicss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_utf_string_dynamicss_resize(size, dynamicss);
#endif // _di_f_utf_string_dynamicss_increase_
#ifndef _di_f_utf_string_dynamicss_increase_by_
- f_status_t f_utf_string_dynamicss_increase_by(const f_array_length_t amount, f_utf_string_dynamicss_t * const dynamicss) {
+ f_status_t f_utf_string_dynamicss_increase_by(const f_number_unsigned_t amount, f_utf_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (dynamicss->used + amount > dynamicss->size) {
- if (dynamicss->used + amount > F_array_length_t_size_d) {
+ if (dynamicss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_utf_string_dynamicss_increase_by_
#ifndef _di_f_utf_string_dynamicss_resize_
- f_status_t f_utf_string_dynamicss_resize(const f_array_length_t length, f_utf_string_dynamicss_t * const dynamicss) {
+ f_status_t f_utf_string_dynamicss_resize(const f_number_unsigned_t length, f_utf_string_dynamicss_t * const dynamicss) {
#ifndef _di_level_0_parameter_checking_
if (!dynamicss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* Errors (with error bit) from: f_memory_adjust().
*/
#ifndef _di_f_utf_string_dynamicss_adjust_
- extern f_status_t f_utf_string_dynamicss_adjust(const f_array_length_t length, f_utf_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_utf_string_dynamicss_adjust(const f_number_unsigned_t length, f_utf_string_dynamicss_t * const dynamicss);
#endif // _di_f_utf_string_dynamicss_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamicss_decimate_by_
- extern f_status_t f_utf_string_dynamicss_decimate_by(const f_array_length_t amount, f_utf_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_utf_string_dynamicss_decimate_by(const f_number_unsigned_t amount, f_utf_string_dynamicss_t * const dynamicss);
#endif // _di_f_utf_string_dynamicss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamicss_decrease_by_
- extern f_status_t f_utf_string_dynamicss_decrease_by(const f_array_length_t amount, f_utf_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_utf_string_dynamicss_decrease_by(const f_number_unsigned_t amount, f_utf_string_dynamicss_t * const dynamicss);
#endif // _di_f_utf_string_dynamicss_decrease_by_
/**
* Increase the size of the dynamics string array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamicss_increase_
- extern f_status_t f_utf_string_dynamicss_increase(const f_array_length_t step, f_utf_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_utf_string_dynamicss_increase(const f_number_unsigned_t step, f_utf_string_dynamicss_t * const dynamicss);
#endif // _di_f_utf_string_dynamicss_increase_
/**
* Resize the dynamics string array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamicss_increase_by_
- extern f_status_t f_utf_string_dynamicss_increase_by(const f_array_length_t amount, f_utf_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_utf_string_dynamicss_increase_by(const f_number_unsigned_t amount, f_utf_string_dynamicss_t * const dynamicss);
#endif // _di_f_utf_string_dynamicss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_dynamicss_resize_
- extern f_status_t f_utf_string_dynamicss_resize(const f_array_length_t length, f_utf_string_dynamicss_t * const dynamicss);
+ extern f_status_t f_utf_string_dynamicss_resize(const f_number_unsigned_t length, f_utf_string_dynamicss_t * const dynamicss);
#endif // _di_f_utf_string_dynamicss_resize_
#ifdef __cplusplus
#endif // _di_f_utf_is_
#ifndef _di_f_utf_is_alphabetic_
- f_status_t f_utf_is_alphabetic(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_alphabetic(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_alphabetic_
#ifndef _di_f_utf_is_alphabetic_digit_
- f_status_t f_utf_is_alphabetic_digit(const f_string_t sequence, const f_array_length_t width_max, uint64_t * const value) {
+ f_status_t f_utf_is_alphabetic_digit(const f_string_t sequence, const f_number_unsigned_t width_max, uint64_t * const value) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_alphabetic_digit_
#ifndef _di_f_utf_is_alphabetic_numeric_
- f_status_t f_utf_is_alphabetic_numeric(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_alphabetic_numeric(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_alphabetic_numeric_
#ifndef _di_f_utf_is_ascii_
- f_status_t f_utf_is_ascii(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_ascii(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_ascii_
#ifndef _di_f_utf_is_combining_
- f_status_t f_utf_is_combining(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_combining(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_combining_
#ifndef _di_f_utf_is_control_
- f_status_t f_utf_is_control(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_control(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_control_
#ifndef _di_f_utf_is_control_code_
- f_status_t f_utf_is_control_code(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_control_code(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_control_code_
#ifndef _di_f_utf_is_control_format_
- f_status_t f_utf_is_control_format(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_control_format(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_control_format_
#ifndef _di_f_utf_is_control_picture_
- f_status_t f_utf_is_control_picture(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_control_picture(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_control_picture_
#ifndef _di_f_utf_is_digit_
- f_status_t f_utf_is_digit(const f_string_t sequence, const f_array_length_t width_max, uint64_t * const value) {
+ f_status_t f_utf_is_digit(const f_string_t sequence, const f_number_unsigned_t width_max, uint64_t * const value) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_digit_
#ifndef _di_f_utf_is_emoji_
- f_status_t f_utf_is_emoji(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_emoji(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_fragment_
#ifndef _di_f_utf_is_graph_
- f_status_t f_utf_is_graph(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_graph(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_graph_
#ifndef _di_f_utf_is_numeric_
- f_status_t f_utf_is_numeric(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_numeric(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_numeric_
#ifndef _di_f_utf_is_phonetic_
- f_status_t f_utf_is_phonetic(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_phonetic(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_phonetic_
#ifndef _di_f_utf_is_private_
- f_status_t f_utf_is_private(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_private(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_private_
#ifndef _di_f_utf_is_punctuation_
- f_status_t f_utf_is_punctuation(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_punctuation(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_punctuation_
#ifndef _di_f_utf_is_subscript_
- f_status_t f_utf_is_subscript(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_subscript(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_subscript_
#ifndef _di_f_utf_is_superscript_
- f_status_t f_utf_is_superscript(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_superscript(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_superscript_
#ifndef _di_f_utf_is_symbol_
- f_status_t f_utf_is_symbol(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_symbol(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_symbol_
#ifndef _di_f_utf_is_unassigned_
- f_status_t f_utf_is_unassigned(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_unassigned(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_unassigned_
#ifndef _di_f_utf_is_valid_
- f_status_t f_utf_is_valid(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_valid(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_valid_
#ifndef _di_f_utf_is_whitespace_
- f_status_t f_utf_is_whitespace(const f_string_t sequence, const f_array_length_t width_max, const bool strict) {
+ f_status_t f_utf_is_whitespace(const f_string_t sequence, const f_number_unsigned_t width_max, const bool strict) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_whitespace_
#ifndef _di_f_utf_is_whitespace_modifier_
- f_status_t f_utf_is_whitespace_modifier(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_whitespace_modifier(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_whitespace_modifier_
#ifndef _di_f_utf_is_whitespace_other_
- f_status_t f_utf_is_whitespace_other(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_whitespace_other(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_whitespace_other_
#ifndef _di_f_utf_is_whitespace_zero_width_
- f_status_t f_utf_is_whitespace_zero_width(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_whitespace_zero_width(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_whitespace_zero_width_
#ifndef _di_f_utf_is_wide_
- f_status_t f_utf_is_wide(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_wide(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (macro_f_utf_byte_width_is(*sequence)) {
if (macro_f_utf_byte_width_is(*sequence) > width_max) return F_status_set_error(F_complete_not_utf);
#endif // _di_f_utf_is_wide_
#ifndef _di_f_utf_is_word_
- f_status_t f_utf_is_word(const f_string_t sequence, const f_array_length_t width_max, const bool strict) {
+ f_status_t f_utf_is_word(const f_string_t sequence, const f_number_unsigned_t width_max, const bool strict) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_word_
#ifndef _di_f_utf_is_word_dash_
- f_status_t f_utf_is_word_dash(const f_string_t sequence, const f_array_length_t width_max, const bool strict) {
+ f_status_t f_utf_is_word_dash(const f_string_t sequence, const f_number_unsigned_t width_max, const bool strict) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_word_dash_
#ifndef _di_f_utf_is_word_dash_plus_
- f_status_t f_utf_is_word_dash_plus(const f_string_t sequence, const f_array_length_t width_max, const bool strict) {
+ f_status_t f_utf_is_word_dash_plus(const f_string_t sequence, const f_number_unsigned_t width_max, const bool strict) {
if (width_max < 1) return F_data_not;
#endif // _di_f_utf_is_word_dash_plus_
#ifndef _di_f_utf_is_zero_width_
- f_status_t f_utf_is_zero_width(const f_string_t sequence, const f_array_length_t width_max) {
+ f_status_t f_utf_is_zero_width(const f_string_t sequence, const f_number_unsigned_t width_max) {
if (width_max < 1) return F_data_not;
* @see isalpha()
*/
#ifndef _di_f_utf_is_alphabetic_
- extern f_status_t f_utf_is_alphabetic(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_alphabetic(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_alphabetic_
/**
* @see isdigit()
*/
#ifndef _di_f_utf_is_alphabetic_digit_
- extern f_status_t f_utf_is_alphabetic_digit(const f_string_t sequence, const f_array_length_t width_max, uint64_t * const value);
+ extern f_status_t f_utf_is_alphabetic_digit(const f_string_t sequence, const f_number_unsigned_t width_max, uint64_t * const value);
#endif // _di_f_utf_is_alphabetic_digit_
/**
* @see isalnum()
*/
#ifndef _di_f_utf_is_alphabetic_numeric_
- extern f_status_t f_utf_is_alphabetic_numeric(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_alphabetic_numeric(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_alphabetic_numeric_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_ascii_
- extern f_status_t f_utf_is_ascii(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_ascii(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_ascii_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_combining_
- extern f_status_t f_utf_is_combining(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_combining(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_combining_
/**
* @see iscntrl()
*/
#ifndef _di_f_utf_is_control_
- extern f_status_t f_utf_is_control(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_control(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_control_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_control_code_
- extern f_status_t f_utf_is_control_code(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_control_code(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_control_code_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_control_format_
- extern f_status_t f_utf_is_control_format(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_control_format(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_control_format_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_control_picture_
- extern f_status_t f_utf_is_control_picture(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_control_picture(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_control_picture_
/**
* @see isdigit()
*/
#ifndef _di_f_utf_is_digit_
- extern f_status_t f_utf_is_digit(const f_string_t sequence, const f_array_length_t width_max, uint64_t * const value);
+ extern f_status_t f_utf_is_digit(const f_string_t sequence, const f_number_unsigned_t width_max, uint64_t * const value);
#endif // _di_f_utf_is_digit_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_emoji_
- extern f_status_t f_utf_is_emoji(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_emoji(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_emoji_
/**
* @see isgraph()
*/
#ifndef _di_f_utf_is_graph_
- extern f_status_t f_utf_is_graph(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_graph(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_graph_
/**
* @see isdigit()
*/
#ifndef _di_f_utf_is_numeric_
- extern f_status_t f_utf_is_numeric(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_numeric(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_numeric_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_phonetic_
- extern f_status_t f_utf_is_phonetic(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_phonetic(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_phonetic_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_private_
- extern f_status_t f_utf_is_private(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_private(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_private_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_punctuation_
- extern f_status_t f_utf_is_punctuation(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_punctuation(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_punctuation_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_subscript_
- extern f_status_t f_utf_is_subscript(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_subscript(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_subscript_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_superscript_
- extern f_status_t f_utf_is_superscript(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_superscript(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_superscript_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_symbol_
- extern f_status_t f_utf_is_symbol(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_symbol(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_symbol_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_unassigned_
- extern f_status_t f_utf_is_unassigned(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_unassigned(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_unassigned_
/**
* F_utf_fragment (with error bit) if character is a UTF-8 fragment.
*/
#ifndef _di_f_utf_is_valid_
- extern f_status_t f_utf_is_valid(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_valid(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_valid_
/**
* @see isspace()
*/
#ifndef _di_f_utf_is_whitespace_
- extern f_status_t f_utf_is_whitespace(const f_string_t sequence, const f_array_length_t width_max, const bool strict);
+ extern f_status_t f_utf_is_whitespace(const f_string_t sequence, const f_number_unsigned_t width_max, const bool strict);
#endif // _di_f_utf_is_whitespace_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_whitespace_modifier_
- extern f_status_t f_utf_is_whitespace_modifier(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_whitespace_modifier(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_whitespace_modifier_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_whitespace_other_
- extern f_status_t f_utf_is_whitespace_other(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_whitespace_other(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_whitespace_other_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_whitespace_zero_width_
- extern f_status_t f_utf_is_whitespace_zero_width(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_whitespace_zero_width(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_whitespace_zero_width_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_wide_
- extern f_status_t f_utf_is_wide(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_wide(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_wide_
/**
* @see isalnum()
*/
#ifndef _di_f_utf_is_word_
- extern f_status_t f_utf_is_word(const f_string_t sequence, const f_array_length_t width_max, const bool strict);
+ extern f_status_t f_utf_is_word(const f_string_t sequence, const f_number_unsigned_t width_max, const bool strict);
#endif // _di_f_utf_is_word_
/**
* @see isalnum()
*/
#ifndef _di_f_utf_is_word_dash_
- extern f_status_t f_utf_is_word_dash(const f_string_t sequence, const f_array_length_t width_max, const bool strict);
+ extern f_status_t f_utf_is_word_dash(const f_string_t sequence, const f_number_unsigned_t width_max, const bool strict);
#endif // _di_f_utf_is_word_dash_
/**
* @see isalnum()
*/
#ifndef _di_f_utf_is_word_dash_plus_
- extern f_status_t f_utf_is_word_dash_plus(const f_string_t sequence, const f_array_length_t width_max, const bool strict);
+ extern f_status_t f_utf_is_word_dash_plus(const f_string_t sequence, const f_number_unsigned_t width_max, const bool strict);
#endif // _di_f_utf_is_word_dash_plus_
/**
* F_utf_not (with error bit) if Unicode is an invalid Unicode character.
*/
#ifndef _di_f_utf_is_zero_width_
- extern f_status_t f_utf_is_zero_width(const f_string_t sequence, const f_array_length_t width_max);
+ extern f_status_t f_utf_is_zero_width(const f_string_t sequence, const f_number_unsigned_t width_max);
#endif // _di_f_utf_is_zero_width_
#ifdef __cplusplus
#endif
#ifndef _di_f_utf_string_map_multis_adjust_
- f_status_t f_utf_string_map_multis_adjust(const f_array_length_t length, f_utf_string_map_multis_t * const map_multis) {
+ f_status_t f_utf_string_map_multis_adjust(const f_number_unsigned_t length, f_utf_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_map_multis_append_all_
#ifndef _di_f_utf_string_map_multis_decimate_by_
- f_status_t f_utf_string_map_multis_decimate_by(const f_array_length_t amount, f_utf_string_map_multis_t * const map_multis) {
+ f_status_t f_utf_string_map_multis_decimate_by(const f_number_unsigned_t amount, f_utf_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_map_multis_decimate_by_
#ifndef _di_f_utf_string_map_multis_decrease_by_
- f_status_t f_utf_string_map_multis_decrease_by(const f_array_length_t amount, f_utf_string_map_multis_t * const map_multis) {
+ f_status_t f_utf_string_map_multis_decrease_by(const f_number_unsigned_t amount, f_utf_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_map_multis_decrease_by_
#ifndef _di_f_utf_string_map_multis_increase_
- f_status_t f_utf_string_map_multis_increase(const f_array_length_t step, f_utf_string_map_multis_t * const map_multis) {
+ f_status_t f_utf_string_map_multis_increase(const f_number_unsigned_t step, f_utf_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && map_multis->used + 1 > map_multis->size) {
- f_array_length_t size = map_multis->used + step;
+ f_number_unsigned_t size = map_multis->used + step;
- if (size > F_array_length_t_size_d) {
- if (map_multis->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (map_multis->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_utf_string_map_multis_resize(size, map_multis);
#endif // _di_f_utf_string_map_multis_increase_
#ifndef _di_f_utf_string_map_multis_increase_by_
- f_status_t f_utf_string_map_multis_increase_by(const f_array_length_t amount, f_utf_string_map_multis_t * const map_multis) {
+ f_status_t f_utf_string_map_multis_increase_by(const f_number_unsigned_t amount, f_utf_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (map_multis->used + amount > map_multis->size) {
- if (map_multis->used + amount > F_array_length_t_size_d) {
+ if (map_multis->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_utf_string_map_multis_increase_by_
#ifndef _di_f_utf_string_map_multis_resize_
- f_status_t f_utf_string_map_multis_resize(const f_array_length_t length, f_utf_string_map_multis_t * const map_multis) {
+ f_status_t f_utf_string_map_multis_resize(const f_number_unsigned_t length, f_utf_string_map_multis_t * const map_multis) {
#ifndef _di_level_0_parameter_checking_
if (!map_multis) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_utf_string_map_multi_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_utf_string_map_multis_t;
#define f_utf_string_map_multis_t_initialize f_utf_string_statics_t_initialize
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multis_adjust_
- extern f_status_t f_utf_string_map_multis_adjust(const f_array_length_t length, f_utf_string_map_multis_t * const map_multis);
+ extern f_status_t f_utf_string_map_multis_adjust(const f_number_unsigned_t length, f_utf_string_map_multis_t * const map_multis);
#endif // _di_f_utf_string_map_multis_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multis_decimate_by_
- extern f_status_t f_utf_string_map_multis_decimate_by(const f_array_length_t amount, f_utf_string_map_multis_t * const map_multis);
+ extern f_status_t f_utf_string_map_multis_decimate_by(const f_number_unsigned_t amount, f_utf_string_map_multis_t * const map_multis);
#endif // _di_f_utf_string_map_multis_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multis_decrease_by_
- extern f_status_t f_utf_string_map_multis_decrease_by(const f_array_length_t amount, f_utf_string_map_multis_t * const map_multis);
+ extern f_status_t f_utf_string_map_multis_decrease_by(const f_number_unsigned_t amount, f_utf_string_map_multis_t * const map_multis);
#endif // _di_f_utf_string_map_multis_decrease_by_
/**
* Increase the size of the map_multis array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multis_increase_
- extern f_status_t f_utf_string_map_multis_increase(const f_array_length_t step, f_utf_string_map_multis_t * const map_multis);
+ extern f_status_t f_utf_string_map_multis_increase(const f_number_unsigned_t step, f_utf_string_map_multis_t * const map_multis);
#endif // _di_f_utf_string_map_multis_increase_
/**
* Resize the map_multis array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multis_increase_by_
- extern f_status_t f_utf_string_map_multis_increase_by(const f_array_length_t amount, f_utf_string_map_multis_t * const map_multis);
+ extern f_status_t f_utf_string_map_multis_increase_by(const f_number_unsigned_t amount, f_utf_string_map_multis_t * const map_multis);
#endif // _di_f_utf_string_map_multis_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multis_resize_
- extern f_status_t f_utf_string_map_multis_resize(const f_array_length_t length, f_utf_string_map_multis_t * const map_multis);
+ extern f_status_t f_utf_string_map_multis_resize(const f_number_unsigned_t length, f_utf_string_map_multis_t * const map_multis);
#endif // _di_f_utf_string_map_multis_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_utf_string_map_multiss_adjust_
- f_status_t f_utf_string_map_multiss_adjust(const f_array_length_t length, f_utf_string_map_multiss_t * const map_multiss) {
+ f_status_t f_utf_string_map_multiss_adjust(const f_number_unsigned_t length, f_utf_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_utf_string_map_multiss_append_all_
#ifndef _di_f_utf_string_map_multiss_decimate_by_
- f_status_t f_utf_string_map_multiss_decimate_by(const f_array_length_t amount, f_utf_string_map_multiss_t * const map_multiss) {
+ f_status_t f_utf_string_map_multiss_decimate_by(const f_number_unsigned_t amount, f_utf_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_map_multiss_decimate_by_
#ifndef _di_f_utf_string_map_multiss_decrease_by_
- f_status_t f_utf_string_map_multiss_decrease_by(const f_array_length_t amount, f_utf_string_map_multiss_t * const map_multiss) {
+ f_status_t f_utf_string_map_multiss_decrease_by(const f_number_unsigned_t amount, f_utf_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_map_multiss_decrease_by_
#ifndef _di_f_utf_string_map_multiss_increase_
- f_status_t f_utf_string_map_multiss_increase(const f_array_length_t step, f_utf_string_map_multiss_t * const map_multiss) {
+ f_status_t f_utf_string_map_multiss_increase(const f_number_unsigned_t step, f_utf_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && map_multiss->used + 1 > map_multiss->size) {
- f_array_length_t size = map_multiss->used + step;
+ f_number_unsigned_t size = map_multiss->used + step;
- if (size > F_array_length_t_size_d) {
- if (map_multiss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (map_multiss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_utf_string_map_multiss_resize(size, map_multiss);
#endif // _di_f_utf_string_map_multiss_increase_
#ifndef _di_f_utf_string_map_multiss_increase_by_
- f_status_t f_utf_string_map_multiss_increase_by(const f_array_length_t amount, f_utf_string_map_multiss_t * const map_multiss) {
+ f_status_t f_utf_string_map_multiss_increase_by(const f_number_unsigned_t amount, f_utf_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (map_multiss->used + amount > map_multiss->size) {
- if (map_multiss->used + amount > F_array_length_t_size_d) {
+ if (map_multiss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_utf_string_map_multiss_increase_by_
#ifndef _di_f_utf_string_map_multiss_resize_
- f_status_t f_utf_string_map_multiss_resize(const f_array_length_t length, f_utf_string_map_multiss_t * const map_multiss) {
+ f_status_t f_utf_string_map_multiss_resize(const f_number_unsigned_t length, f_utf_string_map_multiss_t * const map_multiss) {
#ifndef _di_level_0_parameter_checking_
if (!map_multiss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_utf_string_map_multis_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_utf_string_map_multiss_t;
#define f_utf_string_map_multiss_t_initialize f_utf_string_statics_t_initialize
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multiss_adjust_
- extern f_status_t f_utf_string_map_multiss_adjust(const f_array_length_t length, f_utf_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_utf_string_map_multiss_adjust(const f_number_unsigned_t length, f_utf_string_map_multiss_t * const map_multiss);
#endif // _di_f_utf_string_map_multiss_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multiss_decimate_by_
- extern f_status_t f_utf_string_map_multiss_decimate_by(const f_array_length_t amount, f_utf_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_utf_string_map_multiss_decimate_by(const f_number_unsigned_t amount, f_utf_string_map_multiss_t * const map_multiss);
#endif // _di_f_utf_string_map_multiss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multiss_decrease_by_
- extern f_status_t f_utf_string_map_multiss_decrease_by(const f_array_length_t amount, f_utf_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_utf_string_map_multiss_decrease_by(const f_number_unsigned_t amount, f_utf_string_map_multiss_t * const map_multiss);
#endif // _di_f_utf_string_map_multiss_decrease_by_
/**
* Increase the size of the map_multiss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multiss_increase_
- extern f_status_t f_utf_string_map_multiss_increase(const f_array_length_t step, f_utf_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_utf_string_map_multiss_increase(const f_number_unsigned_t step, f_utf_string_map_multiss_t * const map_multiss);
#endif // _di_f_utf_string_map_multiss_increase_
/**
* Resize the map_multiss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multiss_increase_by_
- extern f_status_t f_utf_string_map_multiss_increase_by(const f_array_length_t amount, f_utf_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_utf_string_map_multiss_increase_by(const f_number_unsigned_t amount, f_utf_string_map_multiss_t * const map_multiss);
#endif // _di_f_utf_string_map_multiss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_map_multiss_resize_
- extern f_status_t f_utf_string_map_multiss_resize(const f_array_length_t length, f_utf_string_map_multiss_t * const map_multiss);
+ extern f_status_t f_utf_string_map_multiss_resize(const f_number_unsigned_t length, f_utf_string_map_multiss_t * const map_multiss);
#endif // _di_f_utf_string_map_multiss_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_utf_string_maps_adjust_
- f_status_t f_utf_string_maps_adjust(const f_array_length_t length, f_utf_string_maps_t * const maps) {
+ f_status_t f_utf_string_maps_adjust(const f_number_unsigned_t length, f_utf_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_maps_append_all_
#ifndef _di_f_utf_string_maps_decimate_by_
- f_status_t f_utf_string_maps_decimate_by(const f_array_length_t amount, f_utf_string_maps_t * const maps) {
+ f_status_t f_utf_string_maps_decimate_by(const f_number_unsigned_t amount, f_utf_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_maps_decimate_by_
#ifndef _di_f_utf_string_maps_decrease_by_
- f_status_t f_utf_string_maps_decrease_by(const f_array_length_t amount, f_utf_string_maps_t * const maps) {
+ f_status_t f_utf_string_maps_decrease_by(const f_number_unsigned_t amount, f_utf_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_maps_decrease_by_
#ifndef _di_f_utf_string_maps_increase_
- f_status_t f_utf_string_maps_increase(const f_array_length_t step, f_utf_string_maps_t * const maps) {
+ f_status_t f_utf_string_maps_increase(const f_number_unsigned_t step, f_utf_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && maps->used + 1 > maps->size) {
- f_array_length_t size = maps->used + step;
+ f_number_unsigned_t size = maps->used + step;
- if (size > F_array_length_t_size_d) {
- if (maps->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (maps->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_utf_string_maps_resize(size, maps);
#endif // _di_f_utf_string_maps_increase_
#ifndef _di_f_utf_string_maps_increase_by_
- f_status_t f_utf_string_maps_increase_by(const f_array_length_t amount, f_utf_string_maps_t * const maps) {
+ f_status_t f_utf_string_maps_increase_by(const f_number_unsigned_t amount, f_utf_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (maps->used + amount > maps->size) {
- if (maps->used + amount > F_array_length_t_size_d) {
+ if (maps->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_utf_string_maps_increase_by_
#ifndef _di_f_utf_string_maps_resize_
- f_status_t f_utf_string_maps_resize(const f_array_length_t length, f_utf_string_maps_t * const maps) {
+ f_status_t f_utf_string_maps_resize(const f_number_unsigned_t length, f_utf_string_maps_t * const maps) {
#ifndef _di_level_0_parameter_checking_
if (!maps) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_utf_string_map_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_utf_string_maps_t;
#define f_utf_string_maps_t_initialize f_utf_string_statics_t_initialize
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_maps_adjust_
- extern f_status_t f_utf_string_maps_adjust(const f_array_length_t length, f_utf_string_maps_t * const maps);
+ extern f_status_t f_utf_string_maps_adjust(const f_number_unsigned_t length, f_utf_string_maps_t * const maps);
#endif // _di_f_utf_string_maps_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_maps_decimate_by_
- extern f_status_t f_utf_string_maps_decimate_by(const f_array_length_t amount, f_utf_string_maps_t * const maps);
+ extern f_status_t f_utf_string_maps_decimate_by(const f_number_unsigned_t amount, f_utf_string_maps_t * const maps);
#endif // _di_f_utf_string_maps_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_maps_decrease_by_
- extern f_status_t f_utf_string_maps_decrease_by(const f_array_length_t amount, f_utf_string_maps_t * const maps);
+ extern f_status_t f_utf_string_maps_decrease_by(const f_number_unsigned_t amount, f_utf_string_maps_t * const maps);
#endif // _di_f_utf_string_maps_decrease_by_
/**
* Increase the size of the string maps array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_maps_increase_
- extern f_status_t f_utf_string_maps_increase(const f_array_length_t step, f_utf_string_maps_t * const maps);
+ extern f_status_t f_utf_string_maps_increase(const f_number_unsigned_t step, f_utf_string_maps_t * const maps);
#endif // _di_f_utf_string_maps_increase_
/**
* Resize the string maps array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_maps_increase_by_
- extern f_status_t f_utf_string_maps_increase_by(const f_array_length_t amount, f_utf_string_maps_t * const maps);
+ extern f_status_t f_utf_string_maps_increase_by(const f_number_unsigned_t amount, f_utf_string_maps_t * const maps);
#endif // _di_f_utf_string_maps_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_maps_resize_
- extern f_status_t f_utf_string_maps_resize(const f_array_length_t length, f_utf_string_maps_t * const maps);
+ extern f_status_t f_utf_string_maps_resize(const f_number_unsigned_t length, f_utf_string_maps_t * const maps);
#endif // _di_f_utf_string_maps_resize_
#ifdef __cplusplus
#endif
#ifndef _di_f_utf_string_mapss_adjust_
- f_status_t f_utf_string_mapss_adjust(const f_array_length_t length, f_utf_string_mapss_t * const mapss) {
+ f_status_t f_utf_string_mapss_adjust(const f_number_unsigned_t length, f_utf_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_utf_string_mapss_append_all_
#ifndef _di_f_utf_string_mapss_decimate_by_
- f_status_t f_utf_string_mapss_decimate_by(const f_array_length_t amount, f_utf_string_mapss_t * const mapss) {
+ f_status_t f_utf_string_mapss_decimate_by(const f_number_unsigned_t amount, f_utf_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mapss_decimate_by_
#ifndef _di_f_utf_string_mapss_decrease_by_
- f_status_t f_utf_string_mapss_decrease_by(const f_array_length_t amount, f_utf_string_mapss_t * const mapss) {
+ f_status_t f_utf_string_mapss_decrease_by(const f_number_unsigned_t amount, f_utf_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mapss_decrease_by_
#ifndef _di_f_utf_string_mapss_increase_
- f_status_t f_utf_string_mapss_increase(const f_array_length_t step, f_utf_string_mapss_t * const mapss) {
+ f_status_t f_utf_string_mapss_increase(const f_number_unsigned_t step, f_utf_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && mapss->used + 1 > mapss->size) {
- f_array_length_t size = mapss->used + step;
+ f_number_unsigned_t size = mapss->used + step;
- if (size > F_array_length_t_size_d) {
- if (mapss->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (mapss->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_utf_string_mapss_resize(size, mapss);
#endif // _di_f_utf_string_mapss_increase_
#ifndef _di_f_utf_string_mapss_increase_by_
- f_status_t f_utf_string_mapss_increase_by(const f_array_length_t amount, f_utf_string_mapss_t * const mapss) {
+ f_status_t f_utf_string_mapss_increase_by(const f_number_unsigned_t amount, f_utf_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (mapss->used + amount > mapss->size) {
- if (mapss->used + amount > F_array_length_t_size_d) {
+ if (mapss->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_utf_string_mapss_increase_by_
#ifndef _di_f_utf_string_mapss_resize_
- f_status_t f_utf_string_mapss_resize(const f_array_length_t length, f_utf_string_mapss_t * const mapss) {
+ f_status_t f_utf_string_mapss_resize(const f_number_unsigned_t length, f_utf_string_mapss_t * const mapss) {
#ifndef _di_level_0_parameter_checking_
if (!mapss) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_utf_string_maps_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_utf_string_mapss_t;
#define f_utf_string_mapss_t_initialize f_utf_string_statics_t_initialize
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mapss_adjust_
- extern f_status_t f_utf_string_mapss_adjust(const f_array_length_t length, f_utf_string_mapss_t * const mapss);
+ extern f_status_t f_utf_string_mapss_adjust(const f_number_unsigned_t length, f_utf_string_mapss_t * const mapss);
#endif // _di_f_utf_string_mapss_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mapss_decimate_by_
- extern f_status_t f_utf_string_mapss_decimate_by(const f_array_length_t amount, f_utf_string_mapss_t * const mapss);
+ extern f_status_t f_utf_string_mapss_decimate_by(const f_number_unsigned_t amount, f_utf_string_mapss_t * const mapss);
#endif // _di_f_utf_string_mapss_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mapss_decrease_by_
- extern f_status_t f_utf_string_mapss_decrease_by(const f_array_length_t amount, f_utf_string_mapss_t * const mapss);
+ extern f_status_t f_utf_string_mapss_decrease_by(const f_number_unsigned_t amount, f_utf_string_mapss_t * const mapss);
#endif // _di_f_utf_string_mapss_decrease_by_
/**
* Increase the size of the string mapss array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mapss_increase_
- extern f_status_t f_utf_string_mapss_increase(const f_array_length_t step, f_utf_string_mapss_t * const mapss);
+ extern f_status_t f_utf_string_mapss_increase(const f_number_unsigned_t step, f_utf_string_mapss_t * const mapss);
#endif // _di_f_utf_string_mapss_increase_
/**
* Resize the string mapss array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mapss_increase_by_
- extern f_status_t f_utf_string_mapss_increase_by(const f_array_length_t amount, f_utf_string_mapss_t * const mapss);
+ extern f_status_t f_utf_string_mapss_increase_by(const f_number_unsigned_t amount, f_utf_string_mapss_t * const mapss);
#endif // _di_f_utf_string_mapss_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mapss_resize_
- extern f_status_t f_utf_string_mapss_resize(const f_array_length_t length, f_utf_string_mapss_t * const mapss);
+ extern f_status_t f_utf_string_mapss_resize(const f_number_unsigned_t length, f_utf_string_mapss_t * const mapss);
#endif // _di_f_utf_string_mapss_resize_
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_dynamic_adjust_) || !defined(_di_f_utf_string_dynamic_decimate_by_) || !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_)
- f_status_t private_f_utf_string_dynamic_adjust(const f_array_length_t length, f_utf_string_dynamic_t * const dynamic) {
+ f_status_t private_f_utf_string_dynamic_adjust(const f_number_unsigned_t length, f_utf_string_dynamic_t * const dynamic) {
const f_status_t status = f_memory_adjust(dynamic->size, length, sizeof(f_utf_char_t), (void **) & dynamic->string);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_utf_string_dynamic_adjust_) || !defined(_di_f_utf_string_dynamic_decimate_by_) || !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_)
#if !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_append_all_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_maps_append_all_) || !defined(_di_f_utf_string_mapss_append_) || !defined(_di_f_utf_string_mapss_append_all_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_mish_nulless_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_assure_nulless_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_) || !defined(_di_f_utf_string_triples_append_all_) || !defined(_di_f_utf_string_tripless_append_) || !defined(_di_f_utf_string_tripless_append_all_)
- f_status_t private_f_utf_string_dynamic_increase_by(const f_array_length_t amount, f_utf_string_dynamic_t * const dynamic) {
+ f_status_t private_f_utf_string_dynamic_increase_by(const f_number_unsigned_t amount, f_utf_string_dynamic_t * const dynamic) {
if (dynamic->used + amount > dynamic->size) {
if (dynamic->used + amount > F_string_t_size_d) {
#endif // !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_append_all_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_maps_append_all_) || !defined(_di_f_utf_string_mapss_append_) || !defined(_di_f_utf_string_mapss_append_all_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_mish_nulless_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_assure_nulless_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_) || !defined(_di_f_utf_string_triples_append_all_) || !defined(_di_f_utf_string_tripless_append_) || !defined(_di_f_utf_string_tripless_append_all_)
#if !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_mash_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_decrease_by_) || !defined(_di_f_utf_string_dynamic_increase_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_terminate_) || !defined(_di_f_utf_string_dynamic_terminate_after_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decrease_by) || !defined(_di_f_utf_string_dynamics_increase) || !defined(_di_f_utf_string_dynamics_increase_by) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_decrease_by) || !defined(_di_f_utf_string_map_multis_increase) || !defined(_di_f_utf_string_map_multis_increase_by) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_)
- f_status_t private_f_utf_string_dynamic_resize(const f_array_length_t length, f_utf_string_dynamic_t * const dynamic) {
+ f_status_t private_f_utf_string_dynamic_resize(const f_number_unsigned_t length, f_utf_string_dynamic_t * const dynamic) {
const f_status_t status = f_memory_resize(dynamic->size, length, sizeof(f_utf_char_t), (void **) & dynamic->string);
if (F_status_is_error(status)) return status;
* @see f_utf_string_triples_decimate_by()
*/
#if !defined(_di_f_utf_string_dynamic_adjust_) || !defined(_di_f_utf_string_dynamic_decimate_by_) || !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_)
- extern f_status_t private_f_utf_string_dynamic_adjust(const f_array_length_t length, f_utf_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_dynamic_adjust(const f_number_unsigned_t length, f_utf_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_dynamic_adjust_) || !defined(_di_f_utf_string_dynamic_decimate_by_) || !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_)
/**
* @see f_utf_string_tripless_append_all()
*/
#if !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_append_all_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_maps_append_all_) || !defined(_di_f_utf_string_mapss_append_) || !defined(_di_f_utf_string_mapss_append_all_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_mish_nulless_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_assure_nulless_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_) || !defined(_di_f_utf_string_triples_append_all_) || !defined(_di_f_utf_string_tripless_append_) || !defined(_di_f_utf_string_tripless_append_all_)
- extern f_status_t private_f_utf_string_dynamic_increase_by(const f_array_length_t amount, f_utf_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_dynamic_increase_by(const f_number_unsigned_t amount, f_utf_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_append_all_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_maps_append_all_) || !defined(_di_f_utf_string_mapss_append_) || !defined(_di_f_utf_string_mapss_append_all_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_mish_nulless_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_assure_nulless_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_) || !defined(_di_f_utf_string_triples_append_all_) || !defined(_di_f_utf_string_tripless_append_) || !defined(_di_f_utf_string_tripless_append_all_)
/**
* @see f_utf_string_triples_append()
*/
#if !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_mash_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_decrease_by_) || !defined(_di_f_utf_string_dynamic_increase_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_terminate_) || !defined(_di_f_utf_string_dynamic_terminate_after_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decrease_by) || !defined(_di_f_utf_string_dynamics_increase) || !defined(_di_f_utf_string_dynamics_increase_by) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_decrease_by) || !defined(_di_f_utf_string_map_multis_increase) || !defined(_di_f_utf_string_map_multis_increase_by) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_)
- extern f_status_t private_f_utf_string_dynamic_resize(const f_array_length_t length, f_utf_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_dynamic_resize(const f_number_unsigned_t length, f_utf_string_dynamic_t * const dynamic) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_append_mash_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_decrease_by_) || !defined(_di_f_utf_string_dynamic_increase_) || !defined(_di_f_utf_string_dynamic_increase_by_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_terminate_) || !defined(_di_f_utf_string_dynamic_terminate_after_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decrease_by) || !defined(_di_f_utf_string_dynamics_increase) || !defined(_di_f_utf_string_dynamics_increase_by) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_decrease_by) || !defined(_di_f_utf_string_map_multis_increase) || !defined(_di_f_utf_string_map_multis_increase_by) || !defined(_di_f_utf_string_mash_nulless_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_prepend_) || !defined(_di_f_utf_string_prepend_nulless_) || !defined(_di_f_utf_string_triples_append_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_)
- f_status_t private_f_utf_string_dynamics_adjust(const f_array_length_t length, f_utf_string_dynamics_t * const dynamics) {
+ f_status_t private_f_utf_string_dynamics_adjust(const f_number_unsigned_t length, f_utf_string_dynamics_t * const dynamics) {
- if (dynamics->used + length > F_array_length_t_size_d) {
+ if (dynamics->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < dynamics->size; ++i) {
+ for (f_number_unsigned_t i = length; i < dynamics->size; ++i) {
status = private_f_utf_string_dynamic_adjust(0, &dynamics->array[i]);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // !defined(_di_f_utf_string_dynamics_append_all_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_)
#if !defined(_di_f_utf_string_dynamics_decrease_by_) || !defined(_di_f_utf_string_dynamics_increase_) || !defined(_di_f_utf_string_dynamics_increase_by_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_decrease_by_) || !defined(_di_f_utf_string_map_multis_increase_) || !defined(_di_f_utf_string_map_multis_increase_by_) || !defined(_di_f_utf_string_map_multis_terminate_) || !defined(_di_f_utf_string_map_multis_terminate_after_)
- f_status_t private_f_utf_string_dynamics_resize(const f_array_length_t length, f_utf_string_dynamics_t * const dynamics) {
+ f_status_t private_f_utf_string_dynamics_resize(const f_number_unsigned_t length, f_utf_string_dynamics_t * const dynamics) {
- if (dynamics->used + length > F_array_length_t_size_d) {
+ if (dynamics->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < dynamics->size; ++i) {
+ for (f_number_unsigned_t i = length; i < dynamics->size; ++i) {
status = private_f_utf_string_dynamic_resize(0, &dynamics->array[i]);
if (F_status_is_error(status)) return status;
* @see f_utf_string_map_multis_append()
*/
#if !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_)
- extern f_status_t private_f_utf_string_dynamics_adjust(const f_array_length_t length, f_utf_string_dynamics_t * const dynamics) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_dynamics_adjust(const f_number_unsigned_t length, f_utf_string_dynamics_t * const dynamics) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_dynamics_adjust_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_dynamics_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_)
/**
* @see f_utf_string_map_multiss_increase_by()
*/
#if !defined(_di_f_utf_string_dynamics_decrease_by_) || !defined(_di_f_utf_string_dynamics_increase_) || !defined(_di_f_utf_string_dynamics_increase_by_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multis_decrease_by_) || !defined(_di_f_utf_string_map_multis_increase_) || !defined(_di_f_utf_string_map_multis_increase_by_) || !defined(_di_f_utf_string_map_multis_resize_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_) || !defined(_di_f_utf_string_map_multiss_decrease_by_) || !defined(_di_f_utf_string_map_multiss_increase_) || !defined(_di_f_utf_string_map_multiss_increase_by_)
- extern f_status_t private_f_utf_string_dynamics_resize(const f_array_length_t length, f_utf_string_dynamics_t * const dynamics) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_dynamics_resize(const f_number_unsigned_t length, f_utf_string_dynamics_t * const dynamics) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_dynamics_decrease_by_) || !defined(_di_f_utf_string_dynamics_increase_) || !defined(_di_f_utf_string_dynamics_increase_by_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multis_decrease_by_) || !defined(_di_f_utf_string_map_multis_increase_) || !defined(_di_f_utf_string_map_multis_increase_by_) || !defined(_di_f_utf_string_map_multis_resize_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_) || !defined(_di_f_utf_string_map_multiss_decrease_by_) || !defined(_di_f_utf_string_map_multiss_increase_) || !defined(_di_f_utf_string_map_multiss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_dynamicss_adjust_) || !defined(_di_f_utf_string_dynamicss_append_) || !defined(_di_f_utf_string_dynamicss_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_)
- f_status_t private_f_utf_string_dynamicss_adjust(const f_array_length_t length, f_utf_string_dynamicss_t * const dynamicss) {
+ f_status_t private_f_utf_string_dynamicss_adjust(const f_number_unsigned_t length, f_utf_string_dynamicss_t * const dynamicss) {
- if (dynamicss->used + length > F_array_length_t_size_d) {
+ if (dynamicss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < dynamicss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < dynamicss->size; ++i) {
status = private_f_utf_string_dynamics_adjust(0, &dynamicss->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_utf_string_dynamicss_adjust_) || !defined(_di_f_utf_string_dynamicss_append_) || !defined(_di_f_utf_string_dynamicss_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_)
#if !defined(_di_f_utf_string_dynamicss_decrease_by_) || !defined(_di_f_utf_string_dynamicss_increase_) || !defined(_di_f_utf_string_dynamicss_increase_by_) || !defined(_di_f_utf_string_dynamicss_append_all_) || !defined(_di_f_utf_string_map_multis_append_all_)
- f_status_t private_f_utf_string_dynamicss_resize(const f_array_length_t length, f_utf_string_dynamicss_t * const dynamicss) {
+ f_status_t private_f_utf_string_dynamicss_resize(const f_number_unsigned_t length, f_utf_string_dynamicss_t * const dynamicss) {
- if (dynamicss->used + length > F_array_length_t_size_d) {
+ if (dynamicss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < dynamicss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < dynamicss->size; ++i) {
status = private_f_utf_string_dynamics_resize(0, &dynamicss->array[i]);
if (F_status_is_error(status)) return status;
* @see f_utf_string_map_multis_append()
*/
#if !defined(_di_f_utf_string_dynamicss_adjust_) || !defined(_di_f_utf_string_dynamicss_append_) || !defined(_di_f_utf_string_dynamicss_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_)
- extern f_status_t private_f_utf_string_dynamicss_adjust(const f_array_length_t length, f_utf_string_dynamicss_t * const dynamicss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_dynamicss_adjust(const f_number_unsigned_t length, f_utf_string_dynamicss_t * const dynamicss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_dynamicss_adjust_) || !defined(_di_f_utf_string_dynamicss_append_) || !defined(_di_f_utf_string_dynamicss_decimate_by_) || !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_append_)
/**
* @see f_utf_string_map_multis_append_all()
*/
#if !defined(_di_f_utf_string_dynamicss_decrease_by_) || !defined(_di_f_utf_string_dynamicss_increase_) || !defined(_di_f_utf_string_dynamicss_increase_by_) || !defined(_di_f_utf_string_dynamicss_append_all_) || !defined(_di_f_utf_string_map_multis_append_all_)
- extern f_status_t private_f_utf_string_dynamicss_resize(const f_array_length_t length, f_utf_string_dynamicss_t * const dynamicss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_dynamicss_resize(const f_number_unsigned_t length, f_utf_string_dynamicss_t * const dynamicss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_dynamicss_decrease_by_) || !defined(_di_f_utf_string_dynamicss_increase_) || !defined(_di_f_utf_string_dynamicss_increase_by_) || !defined(_di_f_utf_string_dynamicss_append_all_) || !defined(_di_f_utf_string_map_multis_append_all_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_decimate_by_)
- f_status_t private_f_utf_string_map_multis_adjust(const f_array_length_t length, f_utf_string_map_multis_t * const map_multis) {
+ f_status_t private_f_utf_string_map_multis_adjust(const f_number_unsigned_t length, f_utf_string_map_multis_t * const map_multis) {
- if (map_multis->used + length > F_array_length_t_size_d) {
+ if (map_multis->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < map_multis->size; ++i) {
+ for (f_number_unsigned_t i = length; i < map_multis->size; ++i) {
status = private_f_utf_string_dynamic_adjust(0, &map_multis->array[i].name);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].name.used = 0;
destination->array[destination->used].value.used = 0;
#endif // !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_)
#if !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multis_decrease_by_) || !defined(_di_f_utf_string_map_multis_increase_) || !defined(_di_f_utf_string_map_multis_increase_by_) || !defined(_di_f_utf_string_map_multis_resize_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_) || !defined(_di_f_utf_string_map_multiss_decrease_by_) || !defined(_di_f_utf_string_map_multiss_increase_) || !defined(_di_f_utf_string_map_multiss_increase_by_)
- f_status_t private_f_utf_string_map_multis_resize(const f_array_length_t length, f_utf_string_map_multis_t * const map_multis) {
+ f_status_t private_f_utf_string_map_multis_resize(const f_number_unsigned_t length, f_utf_string_map_multis_t * const map_multis) {
- if (map_multis->used + length > F_array_length_t_size_d) {
+ if (map_multis->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < map_multis->size; ++i) {
+ for (f_number_unsigned_t i = length; i < map_multis->size; ++i) {
status = private_f_utf_string_dynamic_resize(0, &map_multis->array[i].name);
if (F_status_is_error(status)) return status;
* @see f_utf_string_map_multis_adjust()
*/
#if !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_decimate_by_)
- extern f_status_t private_f_utf_string_map_multis_adjust(const f_array_length_t length, f_utf_string_map_multis_t * const map_multis) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_map_multis_adjust(const f_number_unsigned_t length, f_utf_string_map_multis_t * const map_multis) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_map_multis_adjust_) || !defined(_di_f_utf_string_map_multis_decimate_by_)
/**
* @see f_utf_string_map_multiss_increase_by()
*/
#if !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multis_decrease_by_) || !defined(_di_f_utf_string_map_multis_increase_) || !defined(_di_f_utf_string_map_multis_increase_by_) || !defined(_di_f_utf_string_map_multis_resize_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_) || !defined(_di_f_utf_string_map_multiss_decrease_by_) || !defined(_di_f_utf_string_map_multiss_increase_) || !defined(_di_f_utf_string_map_multiss_increase_by_)
- extern f_status_t private_f_utf_string_map_multis_resize(const f_array_length_t length, f_utf_string_map_multis_t * const map_multis) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_map_multis_resize(const f_number_unsigned_t length, f_utf_string_map_multis_t * const map_multis) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_) || !defined(_di_f_utf_string_map_multis_decrease_by_) || !defined(_di_f_utf_string_map_multis_increase_) || !defined(_di_f_utf_string_map_multis_increase_by_) || !defined(_di_f_utf_string_map_multis_resize_) || !defined(_di_f_utf_string_map_multiss_append_) || !defined(_di_f_utf_string_map_multiss_append_all_) || !defined(_di_f_utf_string_map_multiss_decrease_by_) || !defined(_di_f_utf_string_map_multiss_increase_) || !defined(_di_f_utf_string_map_multiss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_map_multiss_adjust_) || !defined(_di_f_utf_string_map_multiss_decimate_by_)
- f_status_t private_f_utf_string_map_multiss_adjust(const f_array_length_t length, f_utf_string_map_multiss_t * const map_multiss) {
+ f_status_t private_f_utf_string_map_multiss_adjust(const f_number_unsigned_t length, f_utf_string_map_multiss_t * const map_multiss) {
- if (map_multiss->used + length > F_array_length_t_size_d) {
+ if (map_multiss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < map_multiss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < map_multiss->size; ++i) {
status = private_f_utf_string_map_multis_adjust(0, &map_multiss->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_utf_string_map_multiss_adjust_) || !defined(_di_f_utf_string_map_multiss_decimate_by_)
#if !defined(_di_f_utf_string_map_multiss_decrease_by_) || !defined(_di_f_utf_string_map_multiss_increase_) || !defined(_di_f_utf_string_map_multiss_increase_by_)
- f_status_t private_f_utf_string_map_multiss_resize(const f_array_length_t length, f_utf_string_map_multiss_t * const map_multiss) {
+ f_status_t private_f_utf_string_map_multiss_resize(const f_number_unsigned_t length, f_utf_string_map_multiss_t * const map_multiss) {
- if (map_multiss->used + length > F_array_length_t_size_d) {
+ if (map_multiss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < map_multiss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < map_multiss->size; ++i) {
status = private_f_utf_string_map_multis_resize(0, &map_multiss->array[i]);
if (F_status_is_error(status)) return status;
* @see f_utf_string_map_multiss_adjust()
*/
#if !defined(_di_f_utf_string_map_multiss_adjust_) || !defined(_di_f_utf_string_map_multiss_decimate_by_)
- extern f_status_t private_f_utf_string_map_multiss_adjust(const f_array_length_t length, f_utf_string_map_multiss_t * const map_multiss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_map_multiss_adjust(const f_number_unsigned_t length, f_utf_string_map_multiss_t * const map_multiss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_map_multiss_adjust_) || !defined(_di_f_utf_string_map_multiss_decimate_by_)
/**
* @see f_utf_string_map_multiss_increase_by()
*/
#if !defined(_di_f_utf_string_map_multiss_decrease_by_) || !defined(_di_f_utf_string_map_multiss_increase_) || !defined(_di_f_utf_string_map_multiss_increase_by_)
- extern f_status_t private_f_utf_string_map_multiss_resize(const f_array_length_t length, f_utf_string_map_multiss_t * const map_multiss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_map_multiss_resize(const f_number_unsigned_t length, f_utf_string_map_multiss_t * const map_multiss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_map_multiss_decrease_by_) || !defined(_di_f_utf_string_map_multiss_increase_) || !defined(_di_f_utf_string_map_multiss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_maps_adjust_) || !defined(_di_f_utf_string_maps_decimate_by_)
- f_status_t private_f_utf_string_maps_adjust(const f_array_length_t length, f_utf_string_maps_t * const maps) {
+ f_status_t private_f_utf_string_maps_adjust(const f_number_unsigned_t length, f_utf_string_maps_t * const maps) {
- if (maps->used + length > F_array_length_t_size_d) {
+ if (maps->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < maps->size; ++i) {
+ for (f_number_unsigned_t i = length; i < maps->size; ++i) {
status = private_f_utf_string_dynamic_adjust(0, &maps->array[i].name);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].name.used = 0;
destination->array[destination->used].value.used = 0;
#endif // !defined(_di_f_utf_string_maps_append_all_) || !defined(_di_f_utf_string_mapss_append_) || !defined(_di_f_utf_string_mapss_append_all_)
#if !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_maps_append_all_) || !defined(_di_f_utf_string_maps_decrease_by_) || !defined(_di_f_utf_string_maps_increase_) || !defined(_di_f_utf_string_maps_increase_by_) || !defined(_di_f_utf_string_maps_resize_) || !defined(_di_f_utf_string_mapss_append_) || !defined(_di_f_utf_string_mapss_append_all_) || !defined(_di_f_utf_string_mapss_decrease_by_) || !defined(_di_f_utf_string_mapss_increase_) || !defined(_di_f_utf_string_mapss_increase_by_)
- f_status_t private_f_utf_string_maps_resize(const f_array_length_t length, f_utf_string_maps_t * const maps) {
+ f_status_t private_f_utf_string_maps_resize(const f_number_unsigned_t length, f_utf_string_maps_t * const maps) {
- if (maps->used + length > F_array_length_t_size_d) {
+ if (maps->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < maps->size; ++i) {
+ for (f_number_unsigned_t i = length; i < maps->size; ++i) {
status = private_f_utf_string_dynamic_resize(0, &maps->array[i].name);
if (F_status_is_error(status)) return status;
* @see f_utf_string_maps_adjust()
*/
#if !defined(_di_f_utf_string_maps_adjust_) || !defined(_di_f_utf_string_maps_decimate_by_)
- extern f_status_t private_f_utf_string_maps_adjust(const f_array_length_t length, f_utf_string_maps_t * const maps) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_maps_adjust(const f_number_unsigned_t length, f_utf_string_maps_t * const maps) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_maps_adjust_) || !defined(_di_f_utf_string_maps_decimate_by_)
/**
* @see f_utf_string_mapss_increase_by()
*/
#if !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_maps_append_all_) || !defined(_di_f_utf_string_maps_decrease_by_) || !defined(_di_f_utf_string_maps_increase_) || !defined(_di_f_utf_string_maps_increase_by_) || !defined(_di_f_utf_string_maps_resize_) || !defined(_di_f_utf_string_mapss_append_) || !defined(_di_f_utf_string_mapss_append_all_) || !defined(_di_f_utf_string_mapss_decrease_by_) || !defined(_di_f_utf_string_mapss_increase_) || !defined(_di_f_utf_string_mapss_increase_by_)
- extern f_status_t private_f_utf_string_maps_resize(const f_array_length_t length, f_utf_string_maps_t * const maps) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_maps_resize(const f_number_unsigned_t length, f_utf_string_maps_t * const maps) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_maps_append_all_) || !defined(_di_f_utf_string_maps_decrease_by_) || !defined(_di_f_utf_string_maps_increase_) || !defined(_di_f_utf_string_maps_increase_by_) || !defined(_di_f_utf_string_maps_resize_) || !defined(_di_f_utf_string_mapss_append_) || !defined(_di_f_utf_string_mapss_append_all_) || !defined(_di_f_utf_string_mapss_decrease_by_) || !defined(_di_f_utf_string_mapss_increase_) || !defined(_di_f_utf_string_mapss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_mapss_adjust_) || !defined(_di_f_utf_string_mapss_decimate_by_)
- f_status_t private_f_utf_string_mapss_adjust(const f_array_length_t length, f_utf_string_mapss_t * const mapss) {
+ f_status_t private_f_utf_string_mapss_adjust(const f_number_unsigned_t length, f_utf_string_mapss_t * const mapss) {
- if (mapss->used + length > F_array_length_t_size_d) {
+ if (mapss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < mapss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < mapss->size; ++i) {
status = private_f_utf_string_maps_adjust(0, &mapss->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_utf_string_mapss_adjust_) || !defined(_di_f_utf_string_mapss_decimate_by_)
#if !defined(_di_f_utf_string_mapss_decrease_by_) || !defined(_di_f_utf_string_mapss_increase_) || !defined(_di_f_utf_string_mapss_increase_by_)
- f_status_t private_f_utf_string_mapss_resize(const f_array_length_t length, f_utf_string_mapss_t * const mapss) {
+ f_status_t private_f_utf_string_mapss_resize(const f_number_unsigned_t length, f_utf_string_mapss_t * const mapss) {
- if (mapss->used + length > F_array_length_t_size_d) {
+ if (mapss->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < mapss->size; ++i) {
+ for (f_number_unsigned_t i = length; i < mapss->size; ++i) {
status = private_f_utf_string_maps_resize(0, &mapss->array[i]);
if (F_status_is_error(status)) return status;
* @see f_utf_string_mapss_adjust()
*/
#if !defined(_di_f_utf_string_mapss_adjust_) || !defined(_di_f_utf_string_mapss_decimate_by_)
- extern f_status_t private_f_utf_string_mapss_adjust(const f_array_length_t length, f_utf_string_mapss_t * const mapss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_mapss_adjust(const f_number_unsigned_t length, f_utf_string_mapss_t * const mapss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_mapss_adjust_) || !defined(_di_f_utf_string_mapss_decimate_by_)
/**
* @see f_utf_string_mapss_increase_by()
*/
#if !defined(_di_f_utf_string_mapss_decrease_by_) || !defined(_di_f_utf_string_mapss_increase_) || !defined(_di_f_utf_string_mapss_increase_by_)
- extern f_status_t private_f_utf_string_mapss_resize(const f_array_length_t length, f_utf_string_mapss_t * const mapss) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_mapss_resize(const f_number_unsigned_t length, f_utf_string_mapss_t * const mapss) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_mapss_decrease_by_) || !defined(_di_f_utf_string_mapss_increase_) || !defined(_di_f_utf_string_mapss_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_triples_append_)
- f_status_t private_f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t private_f_utf_string_append(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
if (destination->used + length + 1 > destination->size) {
const f_status_t status = private_f_utf_string_dynamic_increase_by(length + 1, destination);
#endif // !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_triples_append_)
#if !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_mash_nulless_)
- f_status_t private_f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t private_f_utf_string_append_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t size = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t size = 0;
// Count all of the NULLs and subtract them from the total size.
for (; i < length; ++i) {
if (F_status_is_error(status)) return status;
}
- f_array_length_t first = 0;
+ f_number_unsigned_t first = 0;
for (i = 0, size = 0; i < length; ++i) {
#endif // !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_mash_nulless_)
#if !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_)
- f_status_t private_f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t private_f_utf_string_prepend(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
if (destination->used + length > F_string_t_size_d) {
return F_status_set_error(F_string_too_large);
#endif // !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_)
#if !defined(_di_f_utf_string_dynamic_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_mish_nulless_) || !defined(_di_f_utf_string_prepend_assure_nulless_) || !defined(_di_f_utf_string_prepend_nulless_)
- f_status_t private_f_utf_string_prepend_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t private_f_utf_string_prepend_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
if (destination->used + length > F_string_t_size_d) {
return F_status_set_error(F_string_too_large);
f_status_t status = F_none;
- f_array_length_t first = 0;
- f_array_length_t offset = 0;
+ f_number_unsigned_t first = 0;
+ f_number_unsigned_t offset = 0;
- f_array_length_t size = 0;
+ f_number_unsigned_t size = 0;
- for (f_array_length_t i = 0; i <= length; ++i) {
+ for (f_number_unsigned_t i = 0; i <= length; ++i) {
if (i == length) {
if (i > first) {
* @see f_utf_string_triples_append()
*/
#if !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_triples_append_)
- extern f_status_t private_f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_append(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_append_) || !defined(_di_f_utf_string_append_assure_) || !defined(_di_f_utf_string_dynamic_append_) || !defined(_di_f_utf_string_dynamic_append_assure_) || !defined(_di_f_utf_string_dynamic_mash_) || !defined(_di_f_utf_string_dynamic_partial_append_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_) || !defined(_di_f_utf_string_dynamic_partial_mash_) || !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_mash_) || !defined(_di_f_utf_string_maps_append_) || !defined(_di_f_utf_string_triples_append_)
/**
* @see f_utf_string_mash_nulless()
*/
#if !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_mash_nulless_)
- extern f_status_t private_f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_append_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_append_assure_nulless_) || !defined(_di_f_utf_string_append_nulless_) || !defined(_di_f_utf_string_dynamic_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_append_nulless_) || !defined(_di_f_utf_string_dynamic_mash_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_append_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mash_nulless_) || !defined(_di_f_utf_string_mash_nulless_)
/**
* @see f_utf_string_prepend()
*/
#if !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_)
- extern f_status_t private_f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_prepend(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_dynamic_mish_) || !defined(_di_f_utf_string_dynamic_partial_mish_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_) || !defined(_di_f_utf_string_dynamic_partial_prepend_) || !defined(_di_f_utf_string_dynamic_prepend_assure_) || !defined(_di_f_utf_string_dynamic_prepend_) || !defined(_di_f_utf_string_mish_) || !defined(_di_f_utf_string_prepend_assure_) || !defined(_di_f_utf_string_prepend_)
/**
* @see f_utf_string_prepend_nulless()
*/
#if !defined(_di_f_utf_string_dynamic_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_mish_nulless_) || !defined(_di_f_utf_string_prepend_assure_nulless_) || !defined(_di_f_utf_string_prepend_nulless_)
- extern f_status_t private_f_utf_string_prepend_nulless(const f_utf_string_t source, f_array_length_t length, f_utf_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_prepend_nulless(const f_utf_string_t source, f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_dynamic_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_mish_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_partial_prepend_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_assure_nulless_) || !defined(_di_f_utf_string_dynamic_prepend_nulless_) || !defined(_di_f_utf_string_mish_nulless_) || !defined(_di_f_utf_string_prepend_assure_nulless_) || !defined(_di_f_utf_string_prepend_nulless_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_)
- f_status_t private_f_utf_string_triples_adjust(const f_array_length_t length, f_utf_string_triples_t * const triples) {
+ f_status_t private_f_utf_string_triples_adjust(const f_number_unsigned_t length, f_utf_string_triples_t * const triples) {
- if (triples->used + length > F_array_length_t_size_d) {
+ if (triples->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < triples->size; ++i) {
+ for (f_number_unsigned_t i = length; i < triples->size; ++i) {
status = private_f_utf_string_dynamic_adjust(0, &triples->array[i].a);
if (F_status_is_error(status)) return status;
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].a.used = 0;
destination->array[destination->used].b.used = 0;
#endif // !defined(_di_f_utf_string_triples_append_all_) || !defined(_di_f_utf_string_tripless_append_) || !defined(_di_f_utf_string_tripless_append_all_)
#if !defined(_di_f_utf_string_triples_decrease_by_) || !defined(_di_f_utf_string_triples_increase_) || !defined(_di_f_utf_string_triples_increase_by_)
- f_status_t private_f_utf_string_triples_resize(const f_array_length_t length, f_utf_string_triples_t * const triples) {
+ f_status_t private_f_utf_string_triples_resize(const f_number_unsigned_t length, f_utf_string_triples_t * const triples) {
- if (triples->used + length > F_array_length_t_size_d) {
+ if (triples->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < triples->size; ++i) {
+ for (f_number_unsigned_t i = length; i < triples->size; ++i) {
status = private_f_utf_string_dynamic_resize(0, &triples->array[i].a);
if (F_status_is_error(status)) return status;
* @see f_utf_string_triples_adjust()
*/
#if !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_)
- extern f_status_t private_f_utf_string_triples_adjust(const f_array_length_t length, f_utf_string_triples_t * const triples) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_triples_adjust(const f_number_unsigned_t length, f_utf_string_triples_t * const triples) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_triples_adjust_) || !defined(_di_f_utf_string_triples_decimate_by_)
/**
* @see f_utf_string_triples_increase_by()
*/
#if !defined(_di_f_utf_string_triples_decrease_by_) || !defined(_di_f_utf_string_triples_increase_) || !defined(_di_f_utf_string_triples_increase_by_)
- extern f_status_t private_f_utf_string_triples_resize(const f_array_length_t length, f_utf_string_triples_t * const triples) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_triples_resize(const f_number_unsigned_t length, f_utf_string_triples_t * const triples) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_triples_decrease_by_) || !defined(_di_f_utf_string_triples_increase_) || !defined(_di_f_utf_string_triples_increase_by_)
#ifdef __cplusplus
#endif
#if !defined(_di_f_utf_string_tripless_adjust_) || !defined(_di_f_utf_string_tripless_decimate_by_)
- f_status_t private_f_utf_string_tripless_adjust(const f_array_length_t length, f_utf_string_tripless_t * const tripless) {
+ f_status_t private_f_utf_string_tripless_adjust(const f_number_unsigned_t length, f_utf_string_tripless_t * const tripless) {
- if (tripless->used + length > F_array_length_t_size_d) {
+ if (tripless->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < tripless->size; ++i) {
+ for (f_number_unsigned_t i = length; i < tripless->size; ++i) {
status = private_f_utf_string_triples_adjust(0, &tripless->array[i]);
if (F_status_is_error(status)) return status;
#endif // !defined(_di_f_utf_string_tripless_adjust_) || !defined(_di_f_utf_string_tripless_decimate_by_)
#if !defined(_di_f_utf_string_tripless_decrease_by_) || !defined(_di_f_utf_string_tripless_increase_) || !defined(_di_f_utf_string_tripless_increase_by_)
- f_status_t private_f_utf_string_tripless_resize(const f_array_length_t length, f_utf_string_tripless_t * const tripless) {
+ f_status_t private_f_utf_string_tripless_resize(const f_number_unsigned_t length, f_utf_string_tripless_t * const tripless) {
- if (tripless->used + length > F_array_length_t_size_d) {
+ if (tripless->used + length > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t status = F_none;
- for (f_array_length_t i = length; i < tripless->size; ++i) {
+ for (f_number_unsigned_t i = length; i < tripless->size; ++i) {
status = private_f_utf_string_triples_resize(0, &tripless->array[i]);
if (F_status_is_error(status)) return status;
* @see f_utf_string_tripless_adjust()
*/
#if !defined(_di_f_utf_string_tripless_adjust_) || !defined(_di_f_utf_string_tripless_decimate_by_)
- extern f_status_t private_f_utf_string_tripless_adjust(const f_array_length_t length, f_utf_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_tripless_adjust(const f_number_unsigned_t length, f_utf_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_tripless_adjust_) || !defined(_di_f_utf_string_tripless_decimate_by_)
/**
* @see f_utf_string_tripless_increase_by()
*/
#if !defined(_di_f_utf_string_tripless_decrease_by_) || !defined(_di_f_utf_string_tripless_increase_) || !defined(_di_f_utf_string_tripless_increase_by_)
- extern f_status_t private_f_utf_string_tripless_resize(const f_array_length_t length, f_utf_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_utf_string_tripless_resize(const f_number_unsigned_t length, f_utf_string_tripless_t * const tripless) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_utf_string_tripless_decrease_by_) || !defined(_di_f_utf_string_tripless_increase_) || !defined(_di_f_utf_string_tripless_increase_by_)
#ifdef __cplusplus
typedef struct {
f_utf_string_t string;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_utf_string_static_t;
#define f_utf_string_static_t_initialize { 0, 0, 0 }
typedef struct {
f_utf_string_static_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_utf_string_statics_t;
#define f_utf_string_statics_t_initialize { 0, 0, 0 }
typedef struct {
f_utf_string_statics_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_utf_string_staticss_t;
#define f_utf_string_staticss_t_initialize { 0, 0, 0 }
#endif
#ifndef _di_f_utf_string_append_
- f_status_t f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_append_
#ifndef _di_f_utf_string_append_assure_
- f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_append(source, length, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
#endif // _di_f_utf_string_append_assure_
#ifndef _di_f_utf_string_append_assure_nulless_
- f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_append_nulless(source, length, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
#endif // _di_f_utf_string_append_assure_nulless_
#ifndef _di_f_utf_string_append_nulless_
- f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_append_nulless_
#ifndef _di_f_utf_string_mash_
- f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mash_
#ifndef _di_f_utf_string_mash_nulless_
- f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mash_nulless_
#ifndef _di_f_utf_string_mish_
- f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mish_
#ifndef _di_f_utf_string_mish_nulless_
- f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mish_nulless_
#ifndef _di_f_utf_string_prepend_
- f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_prepend_
#ifndef _di_f_utf_string_prepend_assure_
- f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_prepend(source, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
#endif // _di_f_utf_string_prepend_assure_
#ifndef _di_f_utf_string_prepend_assure_nulless_
- f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_prepend_nulless(source, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
#endif // _di_f_utf_string_prepend_assure_nulless_
#ifndef _di_f_utf_string_prepend_nulless_
- f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* @see f_memory_resize()
*/
#ifndef _di_f_utf_string_append_
- extern f_status_t f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_utf_string_append_assure_
- extern f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_assure_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_append_assure_nulless_
- extern f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_assure_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_append_nulless_
- extern f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mash_
- extern f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mash_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mash_nulless_
- extern f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mash_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mish_
- extern f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mish_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mish_nulless_
- extern f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mish_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_
- extern f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_assure_
- extern f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_assure_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_assure_nulless_
- extern f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_assure_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_nulless_
- extern f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_nulless_
/**
#endif
#ifndef _di_f_utf_string_append_
- f_status_t f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_append_
#ifndef _di_f_utf_string_append_assure_
- f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_append(source, length, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
#endif // _di_f_utf_string_append_assure_
#ifndef _di_f_utf_string_append_assure_nulless_
- f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_append_nulless(source, length, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
#endif // _di_f_utf_string_append_assure_nulless_
#ifndef _di_f_utf_string_append_nulless_
- f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_append_nulless_
#ifndef _di_f_utf_string_mash_
- f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mash_
#ifndef _di_f_utf_string_mash_nulless_
- f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mash_nulless_
#ifndef _di_f_utf_string_mish_
- f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mish_
#ifndef _di_f_utf_string_mish_nulless_
- f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mish_nulless_
#ifndef _di_f_utf_string_prepend_
- f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_prepend_
#ifndef _di_f_utf_string_prepend_assure_
- f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_prepend(source, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
#endif // _di_f_utf_string_prepend_assure_
#ifndef _di_f_utf_string_prepend_assure_nulless_
- f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_prepend_nulless(source, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
#endif // _di_f_utf_string_prepend_assure_nulless_
#ifndef _di_f_utf_string_prepend_nulless_
- f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* @see f_memory_resize()
*/
#ifndef _di_f_utf_string_append_
- extern f_status_t f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_utf_string_append_assure_
- extern f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_assure_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_append_assure_nulless_
- extern f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_assure_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_append_nulless_
- extern f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mash_
- extern f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mash_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mash_nulless_
- extern f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mash_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mish_
- extern f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mish_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mish_nulless_
- extern f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mish_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_
- extern f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_assure_
- extern f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_assure_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_assure_nulless_
- extern f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_assure_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_nulless_
- extern f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_nulless_
/**
#endif
#ifndef _di_f_utf_string_append_
- f_status_t f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_append_
#ifndef _di_f_utf_string_append_assure_
- f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_append(source, length, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
#endif // _di_f_utf_string_append_assure_
#ifndef _di_f_utf_string_append_assure_nulless_
- f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_append_nulless(source, length, destination);
}
- f_array_length_t i = 1;
- f_array_length_t j = 1;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 1;
while (i <= length && j <= destination->used) {
#endif // _di_f_utf_string_append_assure_nulless_
#ifndef _di_f_utf_string_append_nulless_
- f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_append_nulless_
#ifndef _di_f_utf_string_mash_
- f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mash_
#ifndef _di_f_utf_string_mash_nulless_
- f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mash_nulless_
#ifndef _di_f_utf_string_mish_
- f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mish_
#ifndef _di_f_utf_string_mish_nulless_
- f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_mish_nulless_
#ifndef _di_f_utf_string_prepend_
- f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_prepend_
#ifndef _di_f_utf_string_prepend_assure_
- f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_prepend(source, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
#endif // _di_f_utf_string_prepend_assure_
#ifndef _di_f_utf_string_prepend_assure_nulless_
- f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return private_f_utf_string_prepend_nulless(source, length, destination);
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
while (i < length && j < destination->used) {
#endif // _di_f_utf_string_prepend_assure_nulless_
#ifndef _di_f_utf_string_prepend_nulless_
- f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination) {
+ f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_0_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* @see f_memory_resize()
*/
#ifndef _di_f_utf_string_append_
- extern f_status_t f_utf_string_append(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_
/**
* @see f_memory_resize()
*/
#ifndef _di_f_utf_string_append_assure_
- extern f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_assure_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_append_assure_nulless_
- extern f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_assure_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_append_nulless_
- extern f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_append_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_append_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mash_
- extern f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mash(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mash_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mash_nulless_
- extern f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mash_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mash_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mish_
- extern f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mish(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mish_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_mish_nulless_
- extern f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_array_length_t glue_length, const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_mish_nulless(const f_utf_string_t glue, const f_number_unsigned_t glue_length, const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_mish_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_
- extern f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_assure_
- extern f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend_assure(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_assure_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_assure_nulless_
- extern f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend_assure_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_assure_nulless_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_prepend_nulless_
- extern f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_array_length_t length, f_utf_string_dynamic_t * const destination);
+ extern f_status_t f_utf_string_prepend_nulless(const f_utf_string_t source, const f_number_unsigned_t length, f_utf_string_dynamic_t * const destination);
#endif // _di_f_utf_string_prepend_nulless_
/**
#endif
#ifndef _di_f_utf_string_triples_adjust_
- f_status_t f_utf_string_triples_adjust(const f_array_length_t length, f_utf_string_triples_t * const triples) {
+ f_status_t f_utf_string_triples_adjust(const f_number_unsigned_t length, f_utf_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].a.used = 0;
destination->array[destination->used].b.used = 0;
#endif // _di_f_utf_string_triples_append_all_
#ifndef _di_f_utf_string_triples_decimate_by_
- f_status_t f_utf_string_triples_decimate_by(const f_array_length_t amount, f_utf_string_triples_t * const triples) {
+ f_status_t f_utf_string_triples_decimate_by(const f_number_unsigned_t amount, f_utf_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_triples_decimate_by_
#ifndef _di_f_utf_string_triples_decrease_by_
- f_status_t f_utf_string_triples_decrease_by(const f_array_length_t amount, f_utf_string_triples_t * const triples) {
+ f_status_t f_utf_string_triples_decrease_by(const f_number_unsigned_t amount, f_utf_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_triples_decrease_by_
#ifndef _di_f_utf_string_triples_increase_
- f_status_t f_utf_string_triples_increase(const f_array_length_t step, f_utf_string_triples_t * const triples) {
+ f_status_t f_utf_string_triples_increase(const f_number_unsigned_t step, f_utf_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && triples->used + 1 > triples->size) {
- f_array_length_t size = triples->used + F_memory_default_allocation_small_d;
+ f_number_unsigned_t size = triples->used + F_memory_default_allocation_small_d;
- if (size > F_array_length_t_size_d) {
- if (triples->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (triples->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_utf_string_triples_resize(size, triples);
#endif // _di_f_utf_string_triples_increase_
#ifndef _di_f_utf_string_triples_increase_by_
- f_status_t f_utf_string_triples_increase_by(const f_array_length_t amount, f_utf_string_triples_t * const triples) {
+ f_status_t f_utf_string_triples_increase_by(const f_number_unsigned_t amount, f_utf_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (triples->used + amount > triples->size) {
- if (triples->used + amount > F_array_length_t_size_d) {
+ if (triples->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_utf_string_triples_increase_by_
#ifndef _di_f_utf_string_triples_resize_
- f_status_t f_utf_string_triples_resize(const f_array_length_t length, f_utf_string_triples_t * const triples) {
+ f_status_t f_utf_string_triples_resize(const f_number_unsigned_t length, f_utf_string_triples_t * const triples) {
#ifndef _di_level_0_parameter_checking_
if (!triples) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_utf_string_triple_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_utf_string_triples_t;
#define f_utf_string_triples_t_initialize f_utf_string_statics_t_initialize
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_utf_string_triples_adjust_
- extern f_status_t f_utf_string_triples_adjust(const f_array_length_t length, f_utf_string_triples_t * const triples);
+ extern f_status_t f_utf_string_triples_adjust(const f_number_unsigned_t length, f_utf_string_triples_t * const triples);
#endif // _di_f_utf_string_triples_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_triples_decimate_by_
- extern f_status_t f_utf_string_triples_decimate_by(const f_array_length_t amount, f_utf_string_triples_t * const triples);
+ extern f_status_t f_utf_string_triples_decimate_by(const f_number_unsigned_t amount, f_utf_string_triples_t * const triples);
#endif // _di_f_utf_string_triples_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_triples_decrease_by_
- extern f_status_t f_utf_string_triples_decrease_by(const f_array_length_t amount, f_utf_string_triples_t * const triples);
+ extern f_status_t f_utf_string_triples_decrease_by(const f_number_unsigned_t amount, f_utf_string_triples_t * const triples);
#endif // _di_f_utf_string_triples_decrease_by_
/**
* Increase the size of the string triples array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_triples_increase_
- extern f_status_t f_utf_string_triples_increase(const f_array_length_t step, f_utf_string_triples_t * const triples);
+ extern f_status_t f_utf_string_triples_increase(const f_number_unsigned_t step, f_utf_string_triples_t * const triples);
#endif // _di_f_utf_string_triples_increase_
/**
* Resize the string triples array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_triples_increase_by_
- extern f_status_t f_utf_string_triples_increase_by(const f_array_length_t amount, f_utf_string_triples_t * const triples);
+ extern f_status_t f_utf_string_triples_increase_by(const f_number_unsigned_t amount, f_utf_string_triples_t * const triples);
#endif // _di_f_utf_string_triples_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_triples_resize_
- extern f_status_t f_utf_string_triples_resize(const f_array_length_t length, f_utf_string_triples_t * const triples);
+ extern f_status_t f_utf_string_triples_resize(const f_number_unsigned_t length, f_utf_string_triples_t * const triples);
#endif // _di_f_utf_string_triples_resize_
#ifdef __cplusplus
if (F_status_is_error(status)) return status;
}
- for (f_array_length_t i = 0; i < source.used; ++i, ++destination->used) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i, ++destination->used) {
destination->array[destination->used].used = 0;
#endif // _di_f_utf_string_tripless_append_all_
#ifndef _di_f_utf_string_tripless_adjust_
- f_status_t f_utf_string_tripless_adjust(const f_array_length_t length, f_utf_string_tripless_t * const tripless) {
+ f_status_t f_utf_string_tripless_adjust(const f_number_unsigned_t length, f_utf_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_tripless_adjust_
#ifndef _di_f_utf_string_tripless_decimate_by_
- f_status_t f_utf_string_tripless_decimate_by(const f_array_length_t amount, f_utf_string_tripless_t * const tripless) {
+ f_status_t f_utf_string_tripless_decimate_by(const f_number_unsigned_t amount, f_utf_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_tripless_decimate_by_
#ifndef _di_f_utf_string_tripless_decrease_by_
- f_status_t f_utf_string_tripless_decrease_by(const f_array_length_t amount, f_utf_string_tripless_t * const tripless) {
+ f_status_t f_utf_string_tripless_decrease_by(const f_number_unsigned_t amount, f_utf_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_f_utf_string_tripless_decrease_by_
#ifndef _di_f_utf_string_tripless_increase_
- f_status_t f_utf_string_tripless_increase(const f_array_length_t step, f_utf_string_tripless_t * const tripless) {
+ f_status_t f_utf_string_tripless_increase(const f_number_unsigned_t step, f_utf_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (step && tripless->used + 1 > tripless->size) {
- f_array_length_t size = tripless->used + step;
+ f_number_unsigned_t size = tripless->used + step;
- if (size > F_array_length_t_size_d) {
- if (tripless->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (tripless->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return private_f_utf_string_tripless_resize(size, tripless);
#endif // _di_f_utf_string_tripless_increase_
#ifndef _di_f_utf_string_tripless_increase_by_
- f_status_t f_utf_string_tripless_increase_by(const f_array_length_t amount, f_utf_string_tripless_t * const tripless) {
+ f_status_t f_utf_string_tripless_increase_by(const f_number_unsigned_t amount, f_utf_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!amount) return F_data_not;
if (tripless->used + amount > tripless->size) {
- if (tripless->used + amount > F_array_length_t_size_d) {
+ if (tripless->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_f_utf_string_tripless_increase_by_
#ifndef _di_f_utf_string_tripless_resize_
- f_status_t f_utf_string_tripless_resize(const f_array_length_t length, f_utf_string_tripless_t * const tripless) {
+ f_status_t f_utf_string_tripless_resize(const f_number_unsigned_t length, f_utf_string_tripless_t * const tripless) {
#ifndef _di_level_0_parameter_checking_
if (!tripless) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
typedef struct {
f_utf_string_triples_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} f_utf_string_tripless_t;
#define f_utf_string_tripless_t_initialize f_utf_string_statics_t_initialize
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_utf_string_tripless_adjust_
- extern f_status_t f_utf_string_tripless_adjust(const f_array_length_t length, f_utf_string_tripless_t * const tripless);
+ extern f_status_t f_utf_string_tripless_adjust(const f_number_unsigned_t length, f_utf_string_tripless_t * const tripless);
#endif // _di_f_utf_string_tripless_adjust_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_tripless_decimate_by_
- extern f_status_t f_utf_string_tripless_decimate_by(const f_array_length_t amount, f_utf_string_tripless_t * const tripless);
+ extern f_status_t f_utf_string_tripless_decimate_by(const f_number_unsigned_t amount, f_utf_string_tripless_t * const tripless);
#endif // _di_f_utf_string_tripless_decimate_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_tripless_decrease_by_
- extern f_status_t f_utf_string_tripless_decrease_by(const f_array_length_t amount, f_utf_string_tripless_t * const tripless);
+ extern f_status_t f_utf_string_tripless_decrease_by(const f_number_unsigned_t amount, f_utf_string_tripless_t * const tripless);
#endif // _di_f_utf_string_tripless_decrease_by_
/**
* Increase the size of the string tripless array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param step
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_tripless_increase_
- extern f_status_t f_utf_string_tripless_increase(const f_array_length_t step, f_utf_string_tripless_t * const tripless);
+ extern f_status_t f_utf_string_tripless_increase(const f_number_unsigned_t step, f_utf_string_tripless_t * const tripless);
#endif // _di_f_utf_string_tripless_increase_
/**
* Resize the string tripless array to a larger size.
*
* This will resize making the array larger based on the given length.
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param amount
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_tripless_increase_by_
- extern f_status_t f_utf_string_tripless_increase_by(const f_array_length_t amount, f_utf_string_tripless_t * const tripless);
+ extern f_status_t f_utf_string_tripless_increase_by(const f_number_unsigned_t amount, f_utf_string_tripless_t * const tripless);
#endif // _di_f_utf_string_tripless_increase_by_
/**
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_f_utf_string_tripless_resize_
- extern f_status_t f_utf_string_tripless_resize(const f_array_length_t length, f_utf_string_tripless_t * const tripless);
+ extern f_status_t f_utf_string_tripless_resize(const f_number_unsigned_t length, f_utf_string_tripless_t * const tripless);
#endif // _di_f_utf_string_tripless_resize_
#ifdef __cplusplus
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
ssize_t bytes = 0;
ssize_t bytes_number = 0;
uint64_t number = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected1.used);
- for (f_array_length_t i = 0; i < expected1.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
assert_int_equal(destination.string[i], expected1.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected2.used);
- for (f_array_length_t i = 0; i < expected2.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
assert_int_equal(destination.string[i], expected2.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected1.used);
- for (f_array_length_t i = 0; i < expected1.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
assert_int_equal(destination.string[i], expected1.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected2.used);
- for (f_array_length_t i = 0; i < expected2.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
assert_int_equal(destination.string[i], expected2.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected1.used);
- for (f_array_length_t i = 0; i < expected1.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
assert_int_equal(destination.string[i], expected1.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected2.used);
- for (f_array_length_t i = 0; i < expected2.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
assert_int_equal(destination.string[i], expected2.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected1.used);
- for (f_array_length_t i = 0; i < expected1.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
assert_int_equal(destination.string[i], expected1.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected2.used);
- for (f_array_length_t i = 0; i < expected2.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
assert_int_equal(destination.string[i], expected2.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected1.used);
- for (f_array_length_t i = 0; i < expected1.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
assert_int_equal(destination.string[i], expected1.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected2.used);
- for (f_array_length_t i = 0; i < expected2.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
assert_int_equal(destination.string[i], expected2.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected1.used);
- for (f_array_length_t i = 0; i < expected1.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
assert_int_equal(destination.string[i], expected1.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected2.used);
- for (f_array_length_t i = 0; i < expected2.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
assert_int_equal(destination.string[i], expected2.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
void test__f_utf_dynamic_terminate__appends_null(void **state) {
- const f_array_length_t length = 2;
+ const f_number_unsigned_t length = 2;
f_utf_string_dynamic_t data = f_utf_string_dynamic_t_initialize;
// Put some value in the unused section at the end so that it gets overridden.
void test__f_utf_dynamic_terminate__doesnt_append_null(void **state) {
- const f_array_length_t length = 2;
+ const f_number_unsigned_t length = 2;
f_utf_string_dynamic_t data = f_utf_string_dynamic_t_initialize;
// Ensure a NULL already exists so that the test can confirm that another NULL is not appended.
#endif
void test__f_utf_dynamic_terminate_after__appends_null(void **state) {
- const f_array_length_t length = 2;
+ const f_number_unsigned_t length = 2;
f_utf_string_dynamic_t data = f_utf_string_dynamic_t_initialize;
// Put some value in the unused section at the end so that it gets overridden.
void test__f_utf_dynamic_terminate_after__doesnt_append_null(void **state) {
- const f_array_length_t length = 2;
+ const f_number_unsigned_t length = 2;
f_utf_string_dynamic_t data = f_utf_string_dynamic_t_initialize;
// Ensure a NULL already exists so that the test can confirm that another NULL is not appended.
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[0].string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(source.array[source.used].used, test_sources[source.used].used);
- for (f_array_length_t i = 0; i < source.array[source.used].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.array[source.used].used; ++i) {
assert_int_equal(source.array[source.used].string[i], test_sources[source.used].string[i]);
} // for
} // for
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.array[i].used, source.array[i].used);
- for (f_array_length_t j = 0; j < destination.array[i].used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.array[i].used; ++j) {
assert_int_equal(destination.array[i].string[j], source.array[i].string[j]);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].string);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].string);
} // for
assert_int_equal(status, F_none);
assert_int_equal(source.array[source.used].used, test_names[source.used].used);
- for (f_array_length_t i = 0; i < source.array[source.used].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.array[source.used].used; ++i) {
assert_int_equal(source.array[source.used].string[i], test_names[source.used].string[i]);
} // for
} // for
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_inner);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[0].array[i].used, test_names[i].used);
- for (f_array_length_t j = 0; j < destination.array[0].array[i].used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.array[0].array[i].used; ++j) {
assert_int_equal(destination.array[0].array[i].string[j], test_names[i].string[j]);
} // for
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].string);
} // for
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
free((void *) destination.array[0].array[i].string);
} // for
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; source.used < length_outer; ++source.used) {
assert_int_equal(status, F_none);
assert_int_equal(source.array[source.used].array[i].used, test_names[i].used);
- for (f_array_length_t j = 0; j < source.array[source.used].array[i].used; ++j) {
+ for (f_number_unsigned_t j = 0; j < source.array[source.used].array[i].used; ++j) {
assert_int_equal(source.array[source.used].array[i].string[j], test_names[i].string[j]);
} // for
} // for
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_outer; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[j].array[i].used, test_names[i].used);
- for (f_array_length_t k = 0; k < destination.array[j].array[i].used; ++k) {
+ for (f_number_unsigned_t k = 0; k < destination.array[j].array[i].used; ++k) {
assert_int_equal(destination.array[j].array[i].string[k], test_names[i].string[k]);
} // for
} // for
} // for
}
- for (f_array_length_t j = 0; j < source.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < source.used; ++j) {
- for (f_array_length_t i = 0; i < source.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.array[j].used; ++i) {
free((void *) source.array[j].array[i].string);
} // for
free((void *) source.array[j].array);
} // for
- for (f_array_length_t j = 0; j < destination.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.used; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].string);
} // for
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
ssize_t bytes = 0;
ssize_t bytes_number = 0;
uint64_t number = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
f_utf_char_t sequence = 0;
ssize_t bytes = 0;
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
do {
bytes = data__bytesequence_get_line(file, &sequence);
assert_int_equal(status, F_none);
assert_int_equal(source.name.used, test_name.used);
- for (f_array_length_t i = 0; i < source.name.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.name.used; ++i) {
assert_int_equal(source.name.string[i], test_name.string[i]);
} // for
assert_int_equal(source.value.array[0].used, test_value.array[0].used);
assert_int_equal(source.value.array[1].used, test_value.array[1].used);
- for (f_array_length_t i = 0; i < source.value.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.value.array[0].used; ++i) {
assert_int_equal(source.value.array[0].string[i], test_value.array[0].string[i]);
} // for
- for (f_array_length_t i = 0; i < source.value.array[1].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.value.array[1].used; ++i) {
assert_int_equal(source.value.array[1].string[i], test_value.array[1].string[i]);
} // for
}
assert_string_equal(destination.array[0].value.array[0].string, source.value.array[0].string);
assert_string_equal(destination.array[0].value.array[1].string, source.value.array[1].string);
- for (f_array_length_t j = 0; j < destination.array[0].name.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.array[0].name.used; ++j) {
assert_int_equal(destination.array[0].name.string[j], source.name.string[j]);
} // for
- for (f_array_length_t j = 0; j < destination.array[0].value.array[0].used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.array[0].value.array[0].used; ++j) {
assert_int_equal(destination.array[0].value.array[0].string[j], source.value.array[0].string[j]);
} // for
- for (f_array_length_t j = 0; j < destination.array[0].value.array[1].used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.array[0].value.array[1].used; ++j) {
assert_int_equal(destination.array[0].value.array[1].string[j], source.value.array[1].string[j]);
} // for
}
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[i].name.used, source.array[i].name.used);
assert_int_equal(destination.array[i].value.used, source.array[i].value.used);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].name.string);
free((void *) source.array[i].value.array[0].string);
free((void *) source.array[i].value.array);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].name.string);
free((void *) destination.array[i].value.array[0].string);
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_inner);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[0].array[i].name.used, test_names[i].used);
assert_int_equal(destination.array[0].array[i].value.used, test_values[i].used);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].name.string);
free((void *) source.array[i].value.array[0].string);
} // for
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
free((void *) destination.array[0].array[i].name.string);
free((void *) destination.array[0].array[i].value.array[0].string);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; source.used < length_outer; ++source.used) {
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_outer; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[j].array[i].name.used, test_names[i].used);
assert_int_equal(destination.array[j].array[i].value.used, test_values[i].used);
} // for
}
- for (f_array_length_t j = 0; j < source.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < source.used; ++j) {
- for (f_array_length_t i = 0; i < source.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.array[j].used; ++i) {
free((void *) source.array[j].array[i].name.string);
free((void *) source.array[j].array[i].value.array[0].string);
free((void *) source.array[j].array);
} // for
- for (f_array_length_t j = 0; j < destination.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.used; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].name.string);
free((void *) destination.array[j].array[i].value.array[0].string);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[i].name.used, source.array[i].name.used);
assert_int_equal(destination.array[i].value.used, source.array[i].value.used);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].name.string);
free((void *) source.array[i].value.string);
} // for
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].name.string);
free((void *) destination.array[i].value.string);
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_inner);
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[0].array[i].name.used, test_names[i].used);
assert_int_equal(destination.array[0].array[i].value.used, test_values[i].used);
} // for
}
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
free((void *) source.array[i].name.string);
free((void *) source.array[i].value.string);
} // for
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
free((void *) destination.array[0].array[i].name.string);
free((void *) destination.array[0].array[i].value.string);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; source.used < length_outer; ++source.used) {
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_outer; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
- for (f_array_length_t i = 0; i < length_inner; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
assert_int_equal(destination.array[j].array[i].name.used, test_names[i].used);
assert_int_equal(destination.array[j].array[i].value.used, test_values[i].used);
} // for
}
- for (f_array_length_t j = 0; j < source.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < source.used; ++j) {
- for (f_array_length_t i = 0; i < source.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.array[j].used; ++i) {
free((void *) source.array[j].array[i].name.string);
free((void *) source.array[j].array[i].value.string);
free((void *) source.array[j].array);
} // for
- for (f_array_length_t j = 0; j < destination.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.used; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].name.string);
free((void *) destination.array[j].array[i].value.string);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected1.used);
- for (f_array_length_t i = 0; i < expected1.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
assert_int_equal(destination.string[i], expected1.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected2.used);
- for (f_array_length_t i = 0; i < expected2.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
assert_int_equal(destination.string[i], expected2.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected1.used);
- for (f_array_length_t i = 0; i < expected1.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
assert_int_equal(destination.string[i], expected1.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected2.used);
- for (f_array_length_t i = 0; i < expected2.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
assert_int_equal(destination.string[i], expected2.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
assert_int_equal(destination.string[i], source.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(status, F_none);
assert_int_equal(destination.used, expected.used);
- for (f_array_length_t i = 0; i < expected.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
assert_int_equal(destination.string[i], expected.string[i]);
} // for
}
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[i].a.used, source.array[i].a.used);
assert_int_equal(destination.array[i].b.used, source.array[i].b.used);
} // for
}
- for (f_array_length_t i = 0; i < destination.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.used; ++i) {
free((void *) destination.array[i].a.string);
free((void *) destination.array[i].b.string);
assert_int_equal(status, F_none);
assert_int_equal(destination.array[0].used, length_sources);
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[0].array[i].a.used, sources_array[i].a.used);
assert_int_equal(destination.array[0].array[i].b.used, sources_array[i].b.used);
} // for
}
- for (f_array_length_t i = 0; i < destination.array[0].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[0].used; ++i) {
free((void *) destination.array[0].array[i].a.string);
free((void *) destination.array[0].array[i].b.string);
assert_int_equal(status, F_none);
assert_int_equal(destination.used, source.used);
- for (f_array_length_t j = 0; j < length_sources_set; ++j) {
+ for (f_number_unsigned_t j = 0; j < length_sources_set; ++j) {
- for (f_array_length_t i = 0; i < length_sources; ++i) {
+ for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
assert_int_equal(destination.array[j].array[i].a.used, sources_set_array[j].array[i].a.used);
assert_int_equal(destination.array[j].array[i].b.used, sources_set_array[j].array[i].b.used);
} // for
}
- for (f_array_length_t j = 0; j < destination.used; ++j) {
+ for (f_number_unsigned_t j = 0; j < destination.used; ++j) {
- for (f_array_length_t i = 0; i < destination.array[j].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < destination.array[j].used; ++i) {
free((void *) destination.array[j].array[i].a.string);
free((void *) destination.array[j].array[i].b.string);
f_status_t status = F_none;
f_string_static_t path = f_string_static_t_initialize;
- for (f_array_length_t i = 0; i < control_group.groups.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < control_group.groups.used; ++i) {
if (!control_group.groups.array[i].used) continue;
#endif
#if !defined(_di_fl_conversion_dynamic_partial_to_binary_signed_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_to_binary_signed_) || !defined(_di_fl_conversion_dynamic_to_signed_detect_)
- f_status_t private_fl_conversion_dynamic_to_binary_signed(const uint16_t flag, const f_string_t string, const f_array_length_t length, f_number_signed_t * const number) {
+ f_status_t private_fl_conversion_dynamic_to_binary_signed(const uint16_t flag, const f_string_t string, const f_number_unsigned_t length, f_number_signed_t * const number) {
uint8_t digits = 0;
uint8_t digit = 0;
f_number_unsigned_t converted = 0;
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
if (string[i] == f_string_ascii_period_s.string[0]) {
return F_status_set_error(F_number_decimal);
#endif // !defined(_di_fl_conversion_dynamic_partial_to_binary_signed_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_to_binary_signed_) || !defined(_di_fl_conversion_dynamic_to_signed_detect_)
#if !defined(_di_fl_conversion_dynamic_partial_to_binary_unsigned_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_to_binary_unsigned_) || !defined(_di_fl_conversion_dynamic_to_unsigned_detect_)
- f_status_t private_fl_conversion_dynamic_to_binary_unsigned(const uint16_t flag, const f_string_t string, const f_array_length_t length, f_number_unsigned_t * const number) {
+ f_status_t private_fl_conversion_dynamic_to_binary_unsigned(const uint16_t flag, const f_string_t string, const f_number_unsigned_t length, f_number_unsigned_t * const number) {
uint8_t digits = 0;
uint8_t digit = 0;
f_number_unsigned_t converted = 0;
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
if (string[i] == f_string_ascii_period_s.string[0]) {
return F_status_set_error(F_number_decimal);
#endif // !defined(_di_fl_conversion_dynamic_partial_to_binary_unsigned_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_to_binary_unsigned_) || !defined(_di_fl_conversion_dynamic_to_unsigned_detect_)
#if !defined(_di_fl_conversion_dynamic_partial_to_decimal_signed_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_to_decimal_signed_) || !defined(_di_fl_conversion_dynamic_to_signed_detect_)
- f_status_t private_fl_conversion_dynamic_to_base_signed(const fl_conversion_data_t data, const f_string_t string, const f_array_length_t length, f_number_signed_t * const number) {
+ f_status_t private_fl_conversion_dynamic_to_base_signed(const fl_conversion_data_t data, const f_string_t string, const f_number_unsigned_t length, f_number_signed_t * const number) {
uint8_t digits = 0;
uint8_t digit = 0;
character_to_digit = f_conversion_character_to_octal;
}
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
if (string[i] == f_string_ascii_period_s.string[0]) {
return F_status_set_error(F_number_decimal);
#endif // !defined(_di_fl_conversion_dynamic_partial_to_decimal_signed_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_to_decimal_signed_) || !defined(_di_fl_conversion_dynamic_to_signed_detect_)
#if !defined(_di_fl_conversion_dynamic_partial_to_decimal_unsigned_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_to_decimal_unsigned_) || !defined(_di_fl_conversion_dynamic_to_unsigned_detect_)
- f_status_t private_fl_conversion_dynamic_to_base_unsigned(const fl_conversion_data_t data, const f_string_t string, const f_array_length_t length, f_number_unsigned_t * const number) {
+ f_status_t private_fl_conversion_dynamic_to_base_unsigned(const fl_conversion_data_t data, const f_string_t string, const f_number_unsigned_t length, f_number_unsigned_t * const number) {
uint8_t digits = 0;
uint8_t digit = 0;
character_to_digit = f_conversion_character_to_octal;
}
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
if (string[i] == f_string_ascii_period_s.string[0]) {
return F_status_set_error(F_number_decimal);
#endif // !defined(_di_fl_conversion_dynamic_partial_to_decimal_unsigned_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_to_decimal_unsigned_) || !defined(_di_fl_conversion_dynamic_to_unsigned_detect_)
#if !defined(_di_fl_conversion_dynamic_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_)
- f_status_t private_fl_conversion_dynamic_to_signed_detect(const uint16_t flag, const f_string_t string, const f_array_length_t length, f_number_signed_t * const number) {
+ f_status_t private_fl_conversion_dynamic_to_signed_detect(const uint16_t flag, const f_string_t string, const f_number_unsigned_t length, f_number_signed_t * const number) {
uint8_t width = 0;
- f_array_length_t width_max = 0;
+ f_number_unsigned_t width_max = 0;
uint8_t mode = 0;
int8_t vector = 0; // 0 for assumed positive, 1 for explicit positive, -1 for negative.
- f_array_length_t j = 0;
- f_array_length_t offset = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t offset = 0;
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
width = macro_f_utf_byte_width_is(string[i]);
#endif // !defined(_di_fl_conversion_dynamic_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_)
#if !defined(_di_fl_conversion_dynamic_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_)
- f_status_t private_fl_conversion_dynamic_to_unsigned_detect(const uint16_t flag, const f_string_t string, const f_array_length_t length, f_number_unsigned_t * const number) {
+ f_status_t private_fl_conversion_dynamic_to_unsigned_detect(const uint16_t flag, const f_string_t string, const f_number_unsigned_t length, f_number_unsigned_t * const number) {
uint8_t width = 0;
- f_array_length_t width_max = 0;
+ f_number_unsigned_t width_max = 0;
uint8_t mode = 0;
- f_array_length_t j = 0;
- f_array_length_t offset = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t offset = 0;
f_status_t status = F_none;
int8_t sign_found = 0;
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
width = macro_f_utf_byte_width_is(string[i]);
* @see fl_conversion_dynamic_to_signed_detect()
*/
#if !defined(_di_fl_conversion_dynamic_partial_to_binary_signed_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_to_binary_signed_) || !defined(_di_fl_conversion_dynamic_to_signed_detect_)
- extern f_status_t private_fl_conversion_dynamic_to_binary_signed(const uint16_t flag, const f_string_t string, const f_array_length_t length, f_number_signed_t * const number) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_conversion_dynamic_to_binary_signed(const uint16_t flag, const f_string_t string, const f_number_unsigned_t length, f_number_signed_t * const number) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_conversion_dynamic_partial_to_binary_signed_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_to_binary_signed_) || !defined(_di_fl_conversion_dynamic_to_signed_detect_)
/**
* @see fl_conversion_dynamic_to_unsigned_detect()
*/
#if !defined(_di_fl_conversion_dynamic_partial_to_binary_unsigned_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_to_binary_unsigned_) || !defined(_di_fl_conversion_dynamic_to_unsigned_detect_)
- extern f_status_t private_fl_conversion_dynamic_to_binary_unsigned(const uint16_t flag, const f_string_t string, const f_array_length_t length, f_number_unsigned_t * const number) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_conversion_dynamic_to_binary_unsigned(const uint16_t flag, const f_string_t string, const f_number_unsigned_t length, f_number_unsigned_t * const number) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_conversion_dynamic_partial_to_binary_unsigned_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_to_binary_unsigned_) || !defined(_di_fl_conversion_dynamic_to_unsigned_detect_)
/**
* @see fl_conversion_dynamic_to_unsigned_detect()
*/
#if !defined(_di_fl_conversion_dynamic_partial_to_decimal_signed_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_to_decimal_signed_) || !defined(_di_fl_conversion_dynamic_to_signed_detect_)
- extern f_status_t private_fl_conversion_dynamic_to_base_signed(const fl_conversion_data_t data, const f_string_t string, const f_array_length_t length, f_number_signed_t * const number) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_conversion_dynamic_to_base_signed(const fl_conversion_data_t data, const f_string_t string, const f_number_unsigned_t length, f_number_signed_t * const number) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_conversion_dynamic_partial_to_decimal_signed_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_to_decimal_signed_) || !defined(_di_fl_conversion_dynamic_to_signed_detect_)
/**
* @see fl_conversion_dynamic_to_unsigned_detect()
*/
#if !defined(_di_fl_conversion_dynamic_partial_to_decimal_unsigned_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_to_decimal_unsigned_) || !defined(_di_fl_conversion_dynamic_to_unsigned_detect_)
- extern f_status_t private_fl_conversion_dynamic_to_base_unsigned(const fl_conversion_data_t data, const f_string_t string, const f_array_length_t length, f_number_unsigned_t * const number) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_conversion_dynamic_to_base_unsigned(const fl_conversion_data_t data, const f_string_t string, const f_number_unsigned_t length, f_number_unsigned_t * const number) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_conversion_dynamic_partial_to_decimal_unsigned_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_to_decimal_unsigned_) || !defined(_di_fl_conversion_dynamic_to_unsigned_detect_)
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#if !defined(_di_fl_conversion_dynamic_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_)
- extern f_status_t private_fl_conversion_dynamic_to_signed_detect(const uint16_t flag, const f_string_t string, const f_array_length_t length, f_number_signed_t * const number) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_conversion_dynamic_to_signed_detect(const uint16_t flag, const f_string_t string, const f_number_unsigned_t length, f_number_signed_t * const number) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_conversion_dynamic_to_signed_detect_) || !defined(_di_fl_conversion_dynamic_partial_to_signed_detect_)
/**
* @see strtoull()
*/
#if !defined(_di_fl_conversion_dynamic_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_)
- extern f_status_t private_fl_conversion_dynamic_to_unsigned_detect(const uint16_t flag, const f_string_t string, const f_array_length_t length, f_number_unsigned_t * const number) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_conversion_dynamic_to_unsigned_detect(const uint16_t flag, const f_string_t string, const f_number_unsigned_t length, f_number_unsigned_t * const number) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_conversion_dynamic_to_unsigned_detect_) || !defined(_di_fl_conversion_dynamic_partial_to_unsigned_detect_)
#ifdef __cplusplus
if (status == F_true) return F_directory_found;
{
- f_array_length_t at_tree = 0;
- f_array_length_t at_path = 0;
+ f_number_unsigned_t at_tree = 0;
+ f_number_unsigned_t at_path = 0;
f_string_static_t tree = f_string_static_t_initialize;
f_char_t tree_string[path.used + 1];
const bool null_terminated = path->string[path->used] == 0;
bool first_nulless = F_false;
- f_array_length_t i = path->used - 1;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = path->used - 1;
+ f_number_unsigned_t j = 0;
f_status_t status = F_none;
recurse->state.status = F_none;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
uint8_t j = 0;
- const f_array_length_t used_original = recurse->path.used;
+ const f_number_unsigned_t used_original = recurse->path.used;
static const uint8_t flag_actions[] = {
f_directory_recurse_do_flag_before_e,
bool separator_prepend = F_false;
bool separator_append = F_false;
- f_array_length_t total = 0;
- f_array_length_t start = 0;
- f_array_length_t length_truncated = source.used;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t length_truncated = source.used;
f_status_t status = F_none;
{
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
if (destination->used > 0) {
if (!destination->string[destination->used - 1]) {
f_status_t status = f_string_maps_increase_by(names.used, environment);
if (F_status_is_error(status)) return status;
- for (f_array_length_t i = 0; i < names.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < names.used; ++i) {
environment->array[environment->used].name.used = 0;
environment->array[environment->used].value.used = 0;
return F_none;
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t first = 0;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t first = 0;
+ f_number_unsigned_t total = 0;
// Do a quick pre-process of PATH to approximate the amount of parts needed, reducing the number of allocations.
for (; i <= path.used; ++i) {
return F_none;
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t r = path.used;
- f_array_length_t last = path.used;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t r = path.used;
+ f_number_unsigned_t last = path.used;
+ f_number_unsigned_t total = 0;
// Do a quick pre-process of PATH to approximate the amount of parts needed, reducing the number of allocations.
for (; i <= path.used; ++i) {
return;
}
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
for (; range->start <= range->stop && range->start < content.used; ++range->start) {
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t delimits_used = delimits->used;
+ const f_number_unsigned_t delimits_used = delimits->used;
private_fl_fss_basic_read(buffer, F_true, range, found, quote, delimits, state);
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
private_fl_fss_basic_write(F_true, object, quote ? quote : f_fss_quote_double_s.string[0], range, destination, state);
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase().
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_graph().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_is_zero_width().
* Errors (with error bit) from: f_fss_skip_past_space().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase()
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_graph()
* @see f_fss_is_space()
* @see f_fss_is_zero_width()
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t delimits_used = delimits->used;
- const f_array_length_t comments_used = comments->used;
+ const f_number_unsigned_t delimits_used = delimits->used;
+ const f_number_unsigned_t comments_used = comments->used;
f_fss_skip_past_delimit(buffer, range, state);
if (F_status_is_error(state->status)) return;
found->array[found->used].start = range->start;
- f_array_length_t newline_last = range->start;
- f_array_length_t slash_first = 0;
- f_array_length_t slash_count = 0;
- f_array_length_t start = 0;
- f_array_length_t comment_delimit = 0;
+ f_number_unsigned_t newline_last = range->start;
+ f_number_unsigned_t slash_first = 0;
+ f_number_unsigned_t slash_count = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t comment_delimit = 0;
uint8_t graph_first = 0x1; // 0x0 = false, 0x1 = true, 0x2 = false, but there is a delimited comment, comment_delimit is set.
if (buffer.string[range->start] == f_fss_eol_s.string[0]) {
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
return;
}
- state->status = f_array_lengths_increase_by((slash_count / 2) + 1, delimits);
+ state->status = f_number_unsigneds_increase_by((slash_count / 2) + 1, delimits);
if (F_status_is_error(state->status)) break;
while (slash_count > 0) {
if (F_status_is_error(state->status)) break;
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
if (buffer.string[range->start] == f_fss_eol_s.string[0]) {
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
state->status = f_string_dynamic_increase_by(state->step_small + 3, destination);
if (F_status_is_error(state->status)) return;
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
bool is_comment = F_false;
bool has_graph = F_false;
bool do_prepend = prepend ? F_true : F_false;
- f_array_length_t i = 0;
- f_array_length_t slash_count = 0;
- f_array_length_t start = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t slash_count = 0;
+ f_number_unsigned_t start = 0;
uint8_t width = 0;
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t delimits_used = delimits->used;
+ const f_number_unsigned_t delimits_used = delimits->used;
f_fss_skip_past_space(buffer, range, state);
if (F_status_is_error(state->status)) return;
return;
}
- f_array_length_t slash_first = 0;
- f_array_length_t slash_count = 0;
- f_array_length_t start = 0;
- f_array_length_t stop = 0;
+ f_number_unsigned_t slash_first = 0;
+ f_number_unsigned_t slash_count = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t stop = 0;
bool graph_first = F_true;
range->start = slash_first;
- state->status = f_array_lengths_increase_by((slash_count / 2) + 1, delimits);
+ state->status = f_number_unsigneds_increase_by((slash_count / 2) + 1, delimits);
if (F_status_is_error(state->status)) break;
if (slash_count % 2 == 0) {
graph_first = F_false;
// Comments may only have white space before the '#', therefore only the first slash needs to be delimited.
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = slash_first;
return;
}
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
- f_array_length_t i = 0;
- f_array_length_t slash_count = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t slash_count = 0;
uint8_t width = 0;
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase().
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_seek_to_eol().
* Errors (with error bit) from: f_fss_skip_past_delimit().
* Errors (with error bit) from: f_string_ranges_increase().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase()
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_space()
* @see f_fss_seek_to_eol()
* @see f_fss_skip_past_delimit()
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_graph().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_is_zero_width().
* Errors (with error bit) from: f_fss_skip_past_space().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_graph()
* @see f_fss_is_space()
* @see f_fss_is_zero_width()
state->status = f_fss_nest_increase(state->step_small, found);
if (F_status_is_error(state->status)) return;
- f_array_lengths_t positions_start = f_array_lengths_t_initialize;
+ f_number_unsigneds_t positions_start = f_number_unsigneds_t_initialize;
- state->status = f_array_lengths_increase(state->step_small, &positions_start);
+ state->status = f_number_unsigneds_increase(state->step_small, &positions_start);
if (F_status_is_error(state->status)) return;
f_fss_objects_t objects = f_fss_objects_t_initialize;
state->status = f_string_ranges_increase(state->step_small, &objects);
if (F_status_is_error(state->status)) {
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
return;
}
- f_array_lengths_t slashes = f_array_lengths_t_initialize;
+ f_number_unsigneds_t slashes = f_number_unsigneds_t_initialize;
- state->status = f_array_lengths_increase(state->step_small, &slashes);
+ state->status = f_number_unsigneds_increase(state->step_small, &slashes);
if (F_status_is_error(state->status)) {
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
return;
}
- const f_array_length_t delimits_used = delimits->used;
- const f_array_length_t comments_used = comments->used;
+ const f_number_unsigned_t delimits_used = delimits->used;
+ const f_number_unsigned_t comments_used = comments->used;
- f_array_length_t depth = 0;
- f_array_length_t position = 0;
+ f_number_unsigned_t depth = 0;
+ f_number_unsigned_t position = 0;
- f_array_length_t position_previous = range->start;
- f_array_length_t line_start = range->start;
- f_array_length_t newline_last = range->start;
- f_array_length_t comment_delimit = 0;
+ f_number_unsigned_t position_previous = range->start;
+ f_number_unsigned_t line_start = range->start;
+ f_number_unsigned_t newline_last = range->start;
+ f_number_unsigned_t comment_delimit = 0;
- f_array_length_t slash_first = 0;
- f_array_length_t slash_last = 0;
+ f_number_unsigned_t slash_first = 0;
+ f_number_unsigned_t slash_last = 0;
- f_array_length_t before_list_open = position_previous;
+ f_number_unsigned_t before_list_open = position_previous;
bool is_open = F_false;
if (buffer.string[range->start] == f_fss_eol_s.string[0]) {
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_end_not_nest_eos : F_end_not_nest_stop;
}
else {
if (range->start >= buffer.used || range->start > range->stop) {
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_end_not_nest_eos : F_end_not_nest_stop;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop;
// When slash is odd and a (delimited) valid open/close is found, then save delimited positions and continue.
if (buffer.string[range->start] == f_fss_eol_s.string[0]) {
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
if (buffer.string[range->start] == f_fss_eol_s.string[0]) {
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_end_not_nest_eos : F_end_not_nest_stop;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop;
range->start = slash_first;
- state->status = f_array_lengths_increase_by((slashes.array[depth] / 2) + 1, delimits);
+ state->status = f_number_unsigneds_increase_by((slashes.array[depth] / 2) + 1, delimits);
if (F_status_is_error(state->status)) break;
// Apply slash delimits, only slashes and placeholders should be present.
// When slashes are even, the object is valid and needs to be processed.
if (is_object) {
if (++depth > positions_start.size) {
- state->status = f_array_lengths_increase(state->step_small, &positions_start);
+ state->status = f_number_unsigneds_increase(state->step_small, &positions_start);
if (F_status_is_error(state->status)) break;
state->status = f_string_ranges_increase(state->step_small, &objects);
if (F_status_is_error(state->status)) break;
- state->status = f_array_lengths_increase(state->step_small, &slashes);
+ state->status = f_number_unsigneds_increase(state->step_small, &slashes);
if (F_status_is_error(state->status)) break;
}
}
}
else {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = slash_last;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_end_not_nest_eos : F_end_not_nest_stop;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop;
++depth;
if (depth >= positions_start.size) {
- state->status = f_array_lengths_increase(state->step_small, &positions_start);
+ state->status = f_number_unsigneds_increase(state->step_small, &positions_start);
if (F_status_is_error(state->status)) break;
state->status = f_string_ranges_increase(state->step_small, &objects);
if (F_status_is_error(state->status)) break;
- state->status = f_array_lengths_increase(state->step_small, &slashes);
+ state->status = f_number_unsigneds_increase(state->step_small, &slashes);
if (F_status_is_error(state->status)) break;
}
slashes.array[depth] = 0;
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
if (F_status_is_error(state->status)) break;
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_end_not_nest_eos : F_end_not_nest_stop;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_end_not_nest_eos : F_end_not_nest_stop;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop;
}
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
state->status = f_utf_buffer_increment(buffer, range, 1);
if (F_status_is_error(state->status)) break;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
if (range->start >= buffer.used) {
state->status = F_none_eos;
if (buffer.string[range->start] == f_fss_eol_s.string[0]) {
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_end_not_nest_eos : F_end_not_nest_stop;
delimits->used = delimits_used;
comments->used = comments_used;
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
state->status = (range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop;
}
else {
if (graph_first == 0x2) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = comment_delimit;
if (F_status_is_error(state->status)) break;
} // while
- f_array_lengths_resize(0, &positions_start);
+ f_number_unsigneds_resize(0, &positions_start);
f_string_ranges_resize(0, &objects);
- f_array_lengths_resize(0, &slashes);
+ f_number_unsigneds_resize(0, &slashes);
delimits->used = delimits_used;
comments->used = comments_used;
return;
}
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
bool is_comment = F_false;
bool ends_on_eol = F_false;
bool has_graph = F_false;
bool do_prepend = prepend ? F_true : F_false;
- f_array_length_t i = 0;
- f_array_length_t slash_count = 0;
- f_array_length_t start = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t slash_count = 0;
+ f_number_unsigned_t start = 0;
- f_array_length_t r = 0;
+ f_number_unsigned_t r = 0;
uint8_t width = 0;
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t delimits_used = delimits->used;
+ const f_number_unsigned_t delimits_used = delimits->used;
f_fss_skip_past_space(buffer, range, state);
if (F_status_is_error(state->status)) return;
return;
}
- f_array_length_t start = 0;
- f_array_length_t stop = 0;
- f_array_length_t slash_first = 0;
- f_array_length_t slash_count = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t stop = 0;
+ f_number_unsigned_t slash_first = 0;
+ f_number_unsigned_t slash_count = 0;
bool graph_first = F_true;
range->start = slash_first;
- state->status = f_array_lengths_increase_by((slash_count / 2) + 1, delimits);
+ state->status = f_number_unsigneds_increase_by((slash_count / 2) + 1, delimits);
if (F_status_is_error(state->status)) break;
if (slash_count % 2 == 0) {
graph_first = F_false;
// Comments may only have white space before the '#', therefore only the first slash needs to be delimited.
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = slash_first;
state->status = f_string_dynamic_increase_by(state->step_small + 4, destination);
if (F_status_is_error(state->status)) return;
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
- f_array_length_t i = 0;
- f_array_length_t slash_count = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t slash_count = 0;
bool ends_on_space = F_false;
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase().
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_nest_increase().
* Errors (with error bit) from: f_fss_seek_to_eol().
* Errors (with error bit) from: f_string_ranges_increase().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase()
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_space()
* @see f_fss_nest_increase()
* @see f_fss_seek_to_eol()
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_graph().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_is_zero_width().
* Errors (with error bit) from: f_fss_skip_past_space().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_graph()
* @see f_fss_is_space()
* @see f_fss_is_zero_width()
return;
}
- const f_array_length_t delimits_used = delimits->used;
- const f_array_length_t quotes_used = quotes ? quotes->used : 0;
+ const f_number_unsigned_t delimits_used = delimits->used;
+ const f_number_unsigned_t quotes_used = quotes ? quotes->used : 0;
uint8_t content_found = 0;
uint8_t quote = 0;
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
// This operates exactly like an object, syntax-wise.
private_fl_fss_basic_write(F_false, content, quote ? quote : f_fss_quote_double_s.string[0], range, destination, state);
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t delimits_used = delimits->used;
+ const f_number_unsigned_t delimits_used = delimits->used;
private_fl_fss_basic_read(buffer, F_true, range, found, quote, delimits, state);
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
private_fl_fss_basic_write(F_true, object, quote ? quote : f_fss_quote_double_s.string[0], range, destination, state);
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase().
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_graph().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_is_zero_width().
* Errors (with error bit) from: f_fss_skip_past_space().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase()
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_graph()
* @see f_fss_is_space()
* @see f_fss_is_zero_width()
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase().
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_graph().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_is_zero_width().
* Errors (with error bit) from: f_uint8s_increase().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase()
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_graph()
* @see f_fss_is_space()
* @see f_fss_is_zero_width()
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t delimits_used = delimits->used;
- const f_array_length_t comments_used = comments->used;
+ const f_number_unsigned_t delimits_used = delimits->used;
+ const f_number_unsigned_t comments_used = comments->used;
f_fss_skip_past_delimit(buffer, range, state);
if (F_status_is_error(state->status)) return;
found->array[found->used].start = range->start;
- f_array_length_t newline_last = range->start;
- f_array_length_t slash_first = 0;
- f_array_length_t slash_count = 0;
- f_array_length_t start = 0;
+ f_number_unsigned_t newline_last = range->start;
+ f_number_unsigned_t slash_first = 0;
+ f_number_unsigned_t slash_count = 0;
+ f_number_unsigned_t start = 0;
// Identify where the content ends.
while (range->start <= range->stop && range->start < buffer.used) {
if (range->start > range->stop || range->start >= buffer.used) break;
if (buffer.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = slash_first;
}
}
else if (buffer.string[range->start] == f_fss_comment_s.string[0]) {
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = slash_first;
state->status = f_string_dynamic_increase_by(state->step_small + 4, destination);
if (F_status_is_error(state->status)) return;
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
bool is_comment = F_false;
bool ends_on_eol = F_false;
bool has_graph = F_false;
bool do_prepend = prepend ? F_true : F_false;
- f_array_length_t i = 0;
- f_array_length_t r = 0;
- f_array_length_t slash_count = 0;
- f_array_length_t start = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t r = 0;
+ f_number_unsigned_t slash_count = 0;
+ f_number_unsigned_t start = 0;
uint8_t width = 0;
}
#endif // _di_level_1_parameter_checking_
- const f_array_length_t delimits_used = delimits->used;
+ const f_number_unsigned_t delimits_used = delimits->used;
f_fss_skip_past_space(buffer, range, state);
if (F_status_is_error(state->status)) return;
return;
}
- f_array_length_t start = 0;
- f_array_length_t stop = 0;
- f_array_length_t slash_first = 0;
- f_array_length_t slash_count = 0;
+ f_number_unsigned_t start = 0;
+ f_number_unsigned_t stop = 0;
+ f_number_unsigned_t slash_first = 0;
+ f_number_unsigned_t slash_count = 0;
bool graph_first = F_true;
start = range->start;
range->start = slash_first;
- state->status = f_array_lengths_increase_by((slash_count / 2) + 1, delimits);
+ state->status = f_number_unsigneds_increase_by((slash_count / 2) + 1, delimits);
if (F_status_is_error(state->status)) break;
if (slash_count % 2 == 0) {
graph_first = F_false;
// Comments may only have white space before the '#', therefore only the first slash needs to be delimited.
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) break;
delimits->array[delimits->used++] = slash_first;
state->status = f_string_dynamic_increase_by(state->step_small + 4, destination);
if (F_status_is_error(state->status)) return;
- const f_array_length_t destination_used = destination->used;
+ const f_number_unsigned_t destination_used = destination->used;
- f_array_length_t i = 0;
- f_array_length_t slash_count = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t slash_count = 0;
bool ends_on_space = F_false;
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase().
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_seek_to_eol().
* Errors (with error bit) from: f_fss_skip_past_delimit().
* Errors (with error bit) from: f_string_ranges_increase().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase()
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_space()
* @see f_fss_seek_to_eol()
* @see f_fss_skip_past_delimit()
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_graph().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_is_zero_width().
* Errors (with error bit) from: f_fss_skip_past_space().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_graph()
* @see f_fss_is_space()
* @see f_fss_is_zero_width()
#endif // !defined(_di_fl_fss_basic_list_content_write_) || !defined(_di_fl_fss_extended_list_content_write_) || !defined(_di_fl_fss_embedded_list_content_write_)
#if !defined(_di_fl_fss_basic_list_object_write_) || !defined(_di_fl_fss_extended_list_object_write_)
- void private_fl_fss_basic_list_write_object_trim(const f_array_length_t used_start, f_string_dynamic_t * const destination, f_state_t * const state) {
+ void private_fl_fss_basic_list_write_object_trim(const f_number_unsigned_t used_start, f_string_dynamic_t * const destination, f_state_t * const state) {
f_string_range_t destination_range = macro_f_string_range_t_initialize_2(destination->used);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
uint8_t width = 0;
state->status = F_none;
}
// Save the delimits used position in case of unterminated quote.
- const f_array_length_t delimits_used = delimits->used;
+ const f_number_unsigned_t delimits_used = delimits->used;
// Begin the search.
found->start = range->start;
// Identify where the object begins.
if (buffer.string[range->start] == f_fss_slash_s.string[0]) {
- f_array_length_t first_slash = range->start;
+ f_number_unsigned_t first_slash = range->start;
found->start = range->start;
// Only the first slash before a quote needs to be escaped (or not) as once there is a slash before a quote, this cannot ever be a quote object.
// This simplifies the number of slashes needed.
- state->status = f_array_lengths_increase(state->step_small, delimits);
+ state->status = f_number_unsigneds_increase(state->step_small, delimits);
if (F_status_is_error(state->status)) return;
delimits->array[delimits->used++] = first_slash;
// Identify where the object ends.
if (quote_found) {
- f_array_length_t first_slash = 0;
- f_array_length_t slash_count = 0;
- f_array_length_t location = 0;
+ f_number_unsigned_t first_slash = 0;
+ f_number_unsigned_t slash_count = 0;
+ f_number_unsigned_t location = 0;
while (range->start <= range->stop && range->start < buffer.used) {
range->start = first_slash;
if (slash_count % 2 == 0) {
- state->status = f_array_lengths_increase_by(slash_count / 2, delimits);
+ state->status = f_number_unsigneds_increase_by(slash_count / 2, delimits);
if (F_status_is_error(state->status)) return;
while (slash_count > 0) {
return;
}
- state->status = f_array_lengths_increase_by((slash_count / 2) + 1, delimits);
+ state->status = f_number_unsigneds_increase_by((slash_count / 2) + 1, delimits);
if (F_status_is_error(state->status)) return;
while (slash_count > 0) {
state->status = f_string_dynamic_increase_by(state->step_small + 5, destination);
if (F_status_is_error(state->status)) return;
- const f_array_length_t input_start = range->start;
- const f_array_length_t used_start = destination->used;
+ const f_number_unsigned_t input_start = range->start;
+ const f_number_unsigned_t used_start = destination->used;
bool quoted_is = F_false;
bool commented = F_false;
- f_array_length_t item_first = 0;
- f_array_length_t item_total = 0;
- f_array_length_t i = 0;
+ f_number_unsigned_t item_first = 0;
+ f_number_unsigned_t item_total = 0;
+ f_number_unsigned_t i = 0;
uint8_t width = 0;
#endif // !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_) || !defined(_di_fl_fss_extended_content_write_)
#if !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_)
- void private_fl_fss_basic_write_object_trim(const uint8_t quote, const f_array_length_t used_start, f_string_dynamic_t * const destination, f_state_t * const state) {
+ void private_fl_fss_basic_write_object_trim(const uint8_t quote, const f_number_unsigned_t used_start, f_string_dynamic_t * const destination, f_state_t * const state) {
f_string_range_t destination_range = macro_f_string_range_t_initialize_2(destination->used);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
uint8_t width = 0;
const f_char_t quote_char = quote ? quote : f_string_ascii_quote_double_s.string[0];
} // for
if (destination->string[destination_range.start] == quote_char) {
- const f_array_length_t front = destination_range.start;
+ const f_number_unsigned_t front = destination_range.start;
for (++destination_range.start; destination_range.start < destination->used; ++destination_range.start) {
}
} // for
- const f_array_length_t rear = destination_range.start + 1;
+ const f_number_unsigned_t rear = destination_range.start + 1;
for (; destination_range.start > front; --destination_range.start) {
* @see fl_fss_extended_list_object_write()
*/
#if !defined(_di_fl_fss_basic_list_object_write_) || !defined(_di_fl_fss_extended_list_object_write_)
- extern void private_fl_fss_basic_list_write_object_trim(const f_array_length_t used_start, f_string_dynamic_t * const destination, f_state_t * const state) F_attribute_visibility_internal_d;
+ extern void private_fl_fss_basic_list_write_object_trim(const f_number_unsigned_t used_start, f_string_dynamic_t * const destination, f_state_t * const state) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_fss_basic_list_object_write_) || !defined(_di_fl_fss_extended_list_object_write_)
/**
* F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
* F_parameter (with error bit) if a parameter is invalid.
*
- * Errors (with error bit) from: f_array_lengths_increase().
- * Errors (with error bit) from: f_array_lengths_increase_by().
+ * Errors (with error bit) from: f_number_unsigneds_increase().
+ * Errors (with error bit) from: f_number_unsigneds_increase_by().
* Errors (with error bit) from: f_fss_is_graph().
* Errors (with error bit) from: f_fss_is_space().
* Errors (with error bit) from: f_fss_is_zero_width().
* Errors (with error bit) from: f_fss_skip_past_space().
* Errors (with error bit) from: f_utf_buffer_increment().
*
- * @see f_array_lengths_increase()
- * @see f_array_lengths_increase_by()
+ * @see f_number_unsigneds_increase()
+ * @see f_number_unsigneds_increase_by()
* @see f_fss_is_graph()
* @see f_fss_is_space()
* @see f_fss_is_zero_width()
* @see fl_fss_extended_object_write()
*/
#if !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_)
- extern void private_fl_fss_basic_write_object_trim(const uint8_t quote, const f_array_length_t used_start, f_string_dynamic_t * const destination, f_state_t * const state) F_attribute_visibility_internal_d;
+ extern void private_fl_fss_basic_write_object_trim(const uint8_t quote, const f_number_unsigned_t used_start, f_string_dynamic_t * const destination, f_state_t * const state) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_)
#ifdef __cplusplus
return F_none;
}
- f_array_length_t at = 0;
+ f_number_unsigned_t at = 0;
uint8_t previous_1 = f_path_separator_s.string[0];
uint8_t previous_2 = 0;
- f_array_length_t size_chunk = 0;
- f_array_length_t position = 0;
+ f_number_unsigned_t size_chunk = 0;
+ f_number_unsigned_t position = 0;
canonical->used = 0;
#endif // _di_fl_print_string_va_
#ifndef _di_fl_print_trim_
- f_status_t fl_print_trim(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t fl_print_trim(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_
#ifndef _di_fl_print_trim_raw_
- f_status_t fl_print_trim_raw(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t fl_print_trim_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_raw_
#ifndef _di_fl_print_trim_raw_safely_
- f_status_t fl_print_trim_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t fl_print_trim_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_raw_safely_
#ifndef _di_fl_print_trim_safely_
- f_status_t fl_print_trim_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t fl_print_trim_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_fl_print_trim_dynamic_partial_safely_
#ifndef _di_fl_print_trim_except_
- f_status_t fl_print_trim_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_file_t file) {
+ f_status_t fl_print_trim_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_except_
#ifndef _di_fl_print_trim_except_raw_
- f_status_t fl_print_trim_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_file_t file) {
+ f_status_t fl_print_trim_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_except_raw_
#ifndef _di_fl_print_trim_except_raw_safely_
- f_status_t fl_print_trim_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_file_t file) {
+ f_status_t fl_print_trim_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_except_raw_safely_
#ifndef _di_fl_print_trim_except_safely_
- f_status_t fl_print_trim_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_file_t file) {
+ f_status_t fl_print_trim_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_except_safely_
#ifndef _di_fl_print_trim_except_dynamic_
- f_status_t fl_print_trim_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_file_t file) {
+ f_status_t fl_print_trim_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used) return F_data_not;
#endif // _di_fl_print_trim_except_dynamic_
#ifndef _di_fl_print_trim_except_dynamic_raw_
- f_status_t fl_print_trim_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_file_t file) {
+ f_status_t fl_print_trim_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used) return F_data_not;
#endif // _di_fl_print_trim_except_dynamic_raw_
#ifndef _di_fl_print_trim_except_dynamic_raw_safely_
- f_status_t fl_print_trim_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_file_t file) {
+ f_status_t fl_print_trim_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used) return F_data_not;
#endif // _di_fl_print_trim_except_dynamic_raw_safely_
#ifndef _di_fl_print_trim_except_dynamic_safely_
- f_status_t fl_print_trim_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_file_t file) {
+ f_status_t fl_print_trim_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used) return F_data_not;
#endif // _di_fl_print_trim_except_dynamic_safely_
#ifndef _di_fl_print_trim_except_in_
- f_status_t fl_print_trim_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_except_in_
#ifndef _di_fl_print_trim_except_in_raw_
- f_status_t fl_print_trim_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_except_in_raw_
#ifndef _di_fl_print_trim_except_in_raw_safely_
- f_status_t fl_print_trim_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_except_in_raw_safely_
#ifndef _di_fl_print_trim_except_in_safely_
- f_status_t fl_print_trim_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!string || !length) return F_data_not;
#endif // _di_fl_print_trim_except_in_safely_
#ifndef _di_fl_print_trim_except_in_dynamic_
- f_status_t fl_print_trim_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used) return F_data_not;
#endif // _di_fl_print_trim_except_in_dynamic_
#ifndef _di_fl_print_trim_except_in_dynamic_raw_
- f_status_t fl_print_trim_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used) return F_data_not;
#endif // _di_fl_print_trim_except_in_dynamic_raw_
#ifndef _di_fl_print_trim_except_in_dynamic_raw_safely_
- f_status_t fl_print_trim_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used) return F_data_not;
#endif // _di_fl_print_trim_except_in_dynamic_raw_safely_
#ifndef _di_fl_print_trim_except_in_dynamic_safely_
- f_status_t fl_print_trim_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used) return F_data_not;
#endif // _di_fl_print_trim_except_in_dynamic_safely_
#ifndef _di_fl_print_trim_except_in_dynamic_partial_
- f_status_t fl_print_trim_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_fl_print_trim_except_in_dynamic_partial_
#ifndef _di_fl_print_trim_except_in_dynamic_partial_raw_
- f_status_t fl_print_trim_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_fl_print_trim_except_in_dynamic_partial_raw_
#ifndef _di_fl_print_trim_except_in_dynamic_partial_raw_safely_
- f_status_t fl_print_trim_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_fl_print_trim_except_in_dynamic_partial_raw_safely_
#ifndef _di_fl_print_trim_except_in_dynamic_partial_safely_
- f_status_t fl_print_trim_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t fl_print_trim_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_fl_print_trim_except_in_dynamic_partial_safely_
#ifndef _di_fl_print_trim_except_dynamic_partial_
- f_status_t fl_print_trim_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t fl_print_trim_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_fl_print_trim_except_dynamic_partial_
#ifndef _di_fl_print_trim_except_dynamic_partial_raw_
- f_status_t fl_print_trim_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t fl_print_trim_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_fl_print_trim_except_dynamic_partial_raw_
#ifndef _di_fl_print_trim_except_dynamic_partial_raw_safely_
- f_status_t fl_print_trim_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t fl_print_trim_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
#endif // _di_fl_print_trim_except_dynamic_partial_raw_safely_
#ifndef _di_fl_print_trim_except_dynamic_partial_safely_
- f_status_t fl_print_trim_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file) {
+ f_status_t fl_print_trim_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file) {
if (!file.stream) return F_stream_not;
if (!buffer.used || range.start > range.stop || range.start >= buffer.used) return F_data_not;
- f_array_length_t length = (range.stop - range.start) + 1;
+ f_number_unsigned_t length = (range.stop - range.start) + 1;
if (length + range.start > buffer.used) {
length = buffer.used - range.start;
* Basic Format Flags:
* - "-": Use left-justification.
* - "#": Use alternate form conversion (prefixing 0b/0B, 0o/0O, 0t/0T, 0d/0D, 0x/0X).
- * - ";": Ignore characters in the given positions from a f_array_length_t (only applies to static/dynamic string arguments but not character arguments).
+ * - ";": Ignore characters in the given positions from a f_number_unsigned_t (only applies to static/dynamic string arguments but not character arguments).
* - ":": Ignore characters in the given ranges from a f_string_range_t (only applies to static/dynamic string arguments but not character arguments).
* - "/", Print only the given range of a string, specified by f_string_range_t (only applies to static/dynamic string arguments but not character arguments).
* - "+", Always show the signs (+ or -).
* - "u", "U": Type is a uint32_t digit.
* - "ul", "UL": Type is a uint64_t digit.
* - "ull", "ULL": Type is a f_uint128_t digit.
- * - "un", "UN": Type is a f_number_unsigned_t digit (which by default is what f_array_length_t is a type of).
+ * - "un", "UN": Type is a f_number_unsigned_t digit (which by default is what f_number_unsigned_t is a type of).
*
* The following are control characters and their replacements for "safe" printing (unknown is used for invalid UTF-8 sequences):
* - "␆": Acknowledge.
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_
- extern f_status_t fl_print_trim(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t fl_print_trim(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_fl_print_trim_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_raw_
- extern f_status_t fl_print_trim_raw(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t fl_print_trim_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_fl_print_trim_raw_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_raw_safely_
- extern f_status_t fl_print_trim_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t fl_print_trim_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_fl_print_trim_raw_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_safely_
- extern f_status_t fl_print_trim_safely(const f_string_t string, const f_array_length_t length, const f_file_t file);
+ extern f_status_t fl_print_trim_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file);
#endif // _di_fl_print_trim_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_
- extern f_status_t fl_print_trim_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_file_t file);
+ extern f_status_t fl_print_trim_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_file_t file);
#endif // _di_fl_print_trim_except_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_raw_
- extern f_status_t fl_print_trim_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_file_t file);
+ extern f_status_t fl_print_trim_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_file_t file);
#endif // _di_fl_print_trim_except_raw_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_raw_safely_
- extern f_status_t fl_print_trim_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_file_t file);
+ extern f_status_t fl_print_trim_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_file_t file);
#endif // _di_fl_print_trim_except_raw_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_safely_
- extern f_status_t fl_print_trim_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_file_t file);
+ extern f_status_t fl_print_trim_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_file_t file);
#endif // _di_fl_print_trim_except_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_dynamic_
- extern f_status_t fl_print_trim_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_file_t file);
+ extern f_status_t fl_print_trim_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_file_t file);
#endif // _di_fl_print_trim_except_dynamic_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_dynamic_raw_
- extern f_status_t fl_print_trim_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_file_t file);
+ extern f_status_t fl_print_trim_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_file_t file);
#endif // _di_fl_print_trim_except_dynamic_raw_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_dynamic_raw_safely_
- extern f_status_t fl_print_trim_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_file_t file);
+ extern f_status_t fl_print_trim_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_file_t file);
#endif // _di_fl_print_trim_except_dynamic_raw_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_dynamic_safely_
- extern f_status_t fl_print_trim_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_file_t file);
+ extern f_status_t fl_print_trim_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_file_t file);
#endif // _di_fl_print_trim_except_dynamic_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_
- extern f_status_t fl_print_trim_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_raw_
- extern f_status_t fl_print_trim_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_raw_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_raw_safely_
- extern f_status_t fl_print_trim_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_raw_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_safely_
- extern f_status_t fl_print_trim_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_dynamic_
- extern f_status_t fl_print_trim_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_dynamic_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_dynamic_raw_
- extern f_status_t fl_print_trim_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_dynamic_raw_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_dynamic_raw_safely_
- extern f_status_t fl_print_trim_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_dynamic_raw_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_dynamic_safely_
- extern f_status_t fl_print_trim_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_dynamic_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_dynamic_partial_
- extern f_status_t fl_print_trim_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_dynamic_partial_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_dynamic_partial_raw_
- extern f_status_t fl_print_trim_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_dynamic_partial_raw_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_dynamic_partial_raw_safely_
- extern f_status_t fl_print_trim_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_dynamic_partial_raw_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_in_dynamic_partial_safely_
- extern f_status_t fl_print_trim_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file);
+ extern f_status_t fl_print_trim_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file);
#endif // _di_fl_print_trim_except_in_dynamic_partial_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_dynamic_partial_
- extern f_status_t fl_print_trim_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t fl_print_trim_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_fl_print_trim_except_dynamic_partial_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_dynamic_partial_raw_
- extern f_status_t fl_print_trim_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t fl_print_trim_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_fl_print_trim_except_dynamic_partial_raw_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_dynamic_partial_raw_safely_
- extern f_status_t fl_print_trim_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t fl_print_trim_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_fl_print_trim_except_dynamic_partial_raw_safely_
/**
* @see f_utf_is_whitespace()
*/
#ifndef _di_fl_print_trim_except_dynamic_partial_safely_
- extern f_status_t fl_print_trim_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, const f_file_t file);
+ extern f_status_t fl_print_trim_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, const f_file_t file);
#endif // _di_fl_print_trim_except_dynamic_partial_safely_
#ifdef __cplusplus
const f_string_range_t partial = va_arg(apl, f_string_range_t);
if (flag & F_print_format_flag_ignore_index_d) {
- const f_array_lengths_t except_at = va_arg(apl, f_array_lengths_t);
+ const f_number_unsigneds_t except_at = va_arg(apl, f_number_unsigneds_t);
f_string_ranges_t except_in = f_string_ranges_t_initialize;
if (flag & F_print_format_flag_ignore_range_d) {
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
}
}
else if (flag & F_print_format_flag_ignore_range_d) {
- const f_array_lengths_t except_at = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except_at = f_number_unsigneds_t_initialize;
const f_string_ranges_t except_in = va_arg(apl, f_string_ranges_t);
if (partial.start > partial.stop || partial.start >= value.used) {
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
}
}
else if (flag & F_print_format_flag_ignore_index_d) {
- const f_array_lengths_t except_at = va_arg(apl, f_array_lengths_t);
+ const f_number_unsigneds_t except_at = va_arg(apl, f_number_unsigneds_t);
f_string_ranges_t except_in = f_string_ranges_t_initialize;
if (flag & F_print_format_flag_ignore_range_d) {
}
}
else if (flag & F_print_format_flag_ignore_range_d) {
- const f_array_lengths_t except_at = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except_at = f_number_unsigneds_t_initialize;
const f_string_ranges_t except_in = va_arg(apl, f_string_ranges_t);
if (flag & F_print_format_flag_trim_d) {
const f_string_range_t partial = va_arg(apl, f_string_range_t);
if (flag & F_print_format_flag_ignore_index_d) {
- const f_array_lengths_t except_at = va_arg(apl, f_array_lengths_t);
+ const f_number_unsigneds_t except_at = va_arg(apl, f_number_unsigneds_t);
f_string_ranges_t except_in = f_string_ranges_t_initialize;
if (flag & F_print_format_flag_ignore_range_d) {
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
}
}
else if (flag & F_print_format_flag_ignore_range_d) {
- const f_array_lengths_t except_at = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except_at = f_number_unsigneds_t_initialize;
const f_string_ranges_t except_in = va_arg(apl, f_string_ranges_t);
if (partial.start > partial.stop || partial.start >= value.used) {
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
}
}
else if (flag & F_print_format_flag_ignore_index_d) {
- const f_array_lengths_t except_at = va_arg(apl, f_array_lengths_t);
+ const f_number_unsigneds_t except_at = va_arg(apl, f_number_unsigneds_t);
f_string_ranges_t except_in = f_string_ranges_t_initialize;
if (flag & F_print_format_flag_ignore_range_d) {
}
}
else if (flag & F_print_format_flag_ignore_range_d) {
- const f_array_lengths_t except_at = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except_at = f_number_unsigneds_t_initialize;
const f_string_ranges_t except_in = va_arg(apl, f_string_ranges_t);
if (flag & F_print_format_flag_trim_d) {
const f_string_range_t partial = va_arg(apl, f_string_range_t);
if (flag & F_print_format_flag_ignore_index_d) {
- const f_array_lengths_t except_at = va_arg(apl, f_array_lengths_t);
+ const f_number_unsigneds_t except_at = va_arg(apl, f_number_unsigneds_t);
f_string_ranges_t except_in = f_string_ranges_t_initialize;
if (flag & F_print_format_flag_ignore_range_d) {
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
}
}
else if (flag & F_print_format_flag_ignore_range_d) {
- const f_array_lengths_t except_at = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except_at = f_number_unsigneds_t_initialize;
const f_string_ranges_t except_in = va_arg(apl, f_string_ranges_t);
if (partial.start > partial.stop || partial.start >= value.used) {
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
}
}
else if (flag & F_print_format_flag_ignore_index_d) {
- const f_array_lengths_t except_at = va_arg(apl, f_array_lengths_t);
+ const f_number_unsigneds_t except_at = va_arg(apl, f_number_unsigneds_t);
f_string_ranges_t except_in = f_string_ranges_t_initialize;
if (flag & F_print_format_flag_ignore_range_d) {
}
}
else if (flag & F_print_format_flag_ignore_range_d) {
- const f_array_lengths_t except_at = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except_at = f_number_unsigneds_t_initialize;
const f_string_ranges_t except_in = va_arg(apl, f_string_ranges_t);
if (flag & F_print_format_flag_trim_d) {
const f_string_range_t partial = va_arg(apl, f_string_range_t);
if (flag & F_print_format_flag_ignore_index_d) {
- const f_array_lengths_t except_at = va_arg(apl, f_array_lengths_t);
+ const f_number_unsigneds_t except_at = va_arg(apl, f_number_unsigneds_t);
f_string_ranges_t except_in = f_string_ranges_t_initialize;
if (flag & F_print_format_flag_ignore_range_d) {
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
}
}
else if (flag & F_print_format_flag_ignore_range_d) {
- const f_array_lengths_t except_at = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except_at = f_number_unsigneds_t_initialize;
const f_string_ranges_t except_in = va_arg(apl, f_string_ranges_t);
if (partial.start > partial.stop || partial.start >= value.used) {
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
break;
}
- f_array_length_t length = (partial.stop - partial.start) + 1;
+ f_number_unsigned_t length = (partial.stop - partial.start) + 1;
if (length + partial.start > value.used) {
length = value.used - partial.start;
}
}
else if (flag & F_print_format_flag_ignore_index_d) {
- const f_array_lengths_t except_at = va_arg(apl, f_array_lengths_t);
+ const f_number_unsigneds_t except_at = va_arg(apl, f_number_unsigneds_t);
f_string_ranges_t except_in = f_string_ranges_t_initialize;
if (flag & F_print_format_flag_ignore_range_d) {
}
}
else if (flag & F_print_format_flag_ignore_range_d) {
- const f_array_lengths_t except_at = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except_at = f_number_unsigneds_t_initialize;
const f_string_ranges_t except_in = va_arg(apl, f_string_ranges_t);
if (flag & F_print_format_flag_trim_d) {
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_)
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_) || !defined(_di_fl_print_trim_except_dynamic_) || !defined(_di_fl_print_trim_except_dynamic_partial_) || !defined(_di_fl_print_trim_except_in_) || !defined(_di_fl_print_trim_except_in_dynamic_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_)
- f_status_t private_fl_print_trim_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t private_fl_print_trim_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t previous = 0;
- f_array_length_t at = 0;
- f_array_length_t at2 = 0;
- f_array_length_t in = 0;
- f_array_length_t in2 = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t previous = 0;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t at2 = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t in2 = 0;
f_status_t status = F_none;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_) || !defined(_di_fl_print_trim_except_dynamic_) || !defined(_di_fl_print_trim_except_dynamic_partial_) || !defined(_di_fl_print_trim_except_in_) || !defined(_di_fl_print_trim_except_in_dynamic_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_)
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_raw_) || !defined(_di_fl_print_trim_except_dynamic_raw_) || !defined(_di_fl_print_trim_except_dynamic_partial_raw_) || !defined(_di_fl_print_trim_except_in_raw_) || !defined(_di_fl_print_trim_except_in_dynamic_raw_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_raw_)
- f_status_t private_fl_print_trim_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t private_fl_print_trim_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t previous = 0;
- f_array_length_t at = 0;
- f_array_length_t at2 = 0;
- f_array_length_t in = 0;
- f_array_length_t in2 = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t previous = 0;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t at2 = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t in2 = 0;
f_status_t status = F_none;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_raw_) || !defined(_di_fl_print_trim_except_dynamic_raw_) || !defined(_di_fl_print_trim_except_dynamic_partial_raw_) || !defined(_di_fl_print_trim_except_in_raw_) || !defined(_di_fl_print_trim_except_in_dynamic_raw_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_raw_)
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_raw_safely_) || !defined(_di_fl_print_trim_except_dynamic_raw_safely_) || !defined(_di_fl_print_trim_except_dynamic_partial_raw_safely_) || !defined(_di_fl_print_trim_except_in_raw_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_raw_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_raw_safely_)
- f_status_t private_fl_print_trim_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t private_fl_print_trim_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t previous = 0;
- f_array_length_t at = 0;
- f_array_length_t at2 = 0;
- f_array_length_t in = 0;
- f_array_length_t in2 = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t previous = 0;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t at2 = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t in2 = 0;
f_status_t status = F_none;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_raw_safely_) || !defined(_di_fl_print_trim_except_dynamic_raw_safely_) || !defined(_di_fl_print_trim_except_dynamic_partial_raw_safely_) || !defined(_di_fl_print_trim_except_in_raw_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_raw_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_raw_safely_)
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_dynamic_safely_) || !defined(_di_fl_print_trim_except_dynamic_partial_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_safely_) || !defined(_di_fl_print_trim_except_in_safely_) || !defined(_di_fl_print_trim_except_safely_)
- f_status_t private_fl_print_trim_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
+ f_status_t private_fl_print_trim_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) {
- f_array_length_t i = offset;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t previous = 0;
- f_array_length_t at = 0;
- f_array_length_t at2 = 0;
- f_array_length_t in = 0;
- f_array_length_t in2 = 0;
+ f_number_unsigned_t i = offset;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t previous = 0;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t at2 = 0;
+ f_number_unsigned_t in = 0;
+ f_number_unsigned_t in2 = 0;
f_status_t status = F_none;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_dynamic_safely_) || !defined(_di_fl_print_trim_except_dynamic_partial_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_safely_) || !defined(_di_fl_print_trim_except_in_safely_) || !defined(_di_fl_print_trim_except_safely_)
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_) || !defined(_di_fl_print_trim_dynamic_) || !defined(_di_fl_print_trim_dynamic_partial_)
- f_status_t private_fl_print_trim(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t private_fl_print_trim(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t previous = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t previous = 0;
f_status_t status = F_none;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_) || !defined(_di_fl_print_trim_dynamic_) || !defined(_di_fl_print_trim_dynamic_partial_)
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_raw_) || !defined(_di_fl_print_trim_dynamic_raw_) || !defined(_di_fl_print_trim_dynamic_partial_raw_)
- f_status_t private_fl_print_trim_raw(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t private_fl_print_trim_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t previous = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t previous = 0;
f_status_t status = F_none;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_raw_) || !defined(_di_fl_print_trim_dynamic_raw_) || !defined(_di_fl_print_trim_dynamic_partial_raw_)
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_raw_safely_) || !defined(_di_fl_print_trim_dynamic_raw_safely_) || !defined(_di_fl_print_trim_dynamic_partial_raw_safely_)
- f_status_t private_fl_print_trim_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t private_fl_print_trim_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t previous = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t previous = 0;
f_status_t status = F_none;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_raw_safely_) || !defined(_di_fl_print_trim_dynamic_raw_safely_) || !defined(_di_fl_print_trim_dynamic_partial_raw_safely_)
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_safely_) || !defined(_di_fl_print_trim_dynamic_safely_) || !defined(_di_fl_print_trim_dynamic_partial_safely_)
- f_status_t private_fl_print_trim_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) {
+ f_status_t private_fl_print_trim_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) {
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t previous = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t previous = 0;
f_status_t status = F_none;
* @see fl_print_trim_except_in_dynamic_partial()
*/
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_) || !defined(_di_fl_print_trim_except_dynamic_) || !defined(_di_fl_print_trim_except_dynamic_partial_) || !defined(_di_fl_print_trim_except_in_) || !defined(_di_fl_print_trim_except_in_dynamic_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_)
- extern f_status_t private_fl_print_trim_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_print_trim_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_) || !defined(_di_fl_print_trim_except_dynamic_) || !defined(_di_fl_print_trim_except_dynamic_partial_) || !defined(_di_fl_print_trim_except_in_) || !defined(_di_fl_print_trim_except_in_dynamic_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_)
/**
* @see fl_print_trim_except_in_dynamic_partial_raw()
*/
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_raw_) || !defined(_di_fl_print_trim_except_dynamic_raw_) || !defined(_di_fl_print_trim_except_dynamic_partial_raw_) || !defined(_di_fl_print_trim_except_in_raw_) || !defined(_di_fl_print_trim_except_in_dynamic_raw_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_raw_)
- extern f_status_t private_fl_print_trim_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_print_trim_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_raw_) || !defined(_di_fl_print_trim_except_dynamic_raw_) || !defined(_di_fl_print_trim_except_dynamic_partial_raw_) || !defined(_di_fl_print_trim_except_in_raw_) || !defined(_di_fl_print_trim_except_in_dynamic_raw_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_raw_)
/**
* @see fl_print_trim_except_in_dynamic_partial_raw_safely()
*/
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_raw_safely_) || !defined(_di_fl_print_trim_except_dynamic_raw_safely_) || !defined(_di_fl_print_trim_except_dynamic_partial_raw_safely_) || !defined(_di_fl_print_trim_except_in_raw_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_raw_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_raw_safely_)
- extern f_status_t private_fl_print_trim_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_print_trim_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_raw_safely_) || !defined(_di_fl_print_trim_except_dynamic_raw_safely_) || !defined(_di_fl_print_trim_except_dynamic_partial_raw_safely_) || !defined(_di_fl_print_trim_except_in_raw_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_raw_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_raw_safely_)
/**
* @see fl_print_trim_except_safely()
*/
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_dynamic_safely_) || !defined(_di_fl_print_trim_except_dynamic_partial_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_safely_) || !defined(_di_fl_print_trim_except_in_safely_) || !defined(_di_fl_print_trim_except_safely_)
- extern f_status_t private_fl_print_trim_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_print_trim_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t stop, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_except_dynamic_safely_) || !defined(_di_fl_print_trim_except_dynamic_partial_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_safely_) || !defined(_di_fl_print_trim_except_in_dynamic_partial_safely_) || !defined(_di_fl_print_trim_except_in_safely_) || !defined(_di_fl_print_trim_except_safely_)
/**
* @see fl_print_trim_dynamic_partial()
*/
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_) || !defined(_di_fl_print_trim_dynamic_) || !defined(_di_fl_print_trim_dynamic_partial_)
- extern f_status_t private_fl_print_trim(const f_string_t string, const f_array_length_t length, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_print_trim(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_) || !defined(_di_fl_print_trim_dynamic_) || !defined(_di_fl_print_trim_dynamic_partial_)
/**
* @see fl_print_trim_dynamic_partial_raw()
*/
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_raw_) || !defined(_di_fl_print_trim_dynamic_raw_) || !defined(_di_fl_print_trim_dynamic_partial_raw_)
- extern f_status_t private_fl_print_trim_raw(const f_string_t string, const f_array_length_t length, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_print_trim_raw(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_raw_) || !defined(_di_fl_print_trim_dynamic_raw_) || !defined(_di_fl_print_trim_dynamic_partial_raw_)
/**
* @see fl_print_trim_dynamic_partial_raw_safely()
*/
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_raw_safely_) || !defined(_di_fl_print_trim_dynamic_raw_safely_) || !defined(_di_fl_print_trim_dynamic_partial_raw_safely_)
- extern f_status_t private_fl_print_trim_raw_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_print_trim_raw_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_raw_safely_) || !defined(_di_fl_print_trim_dynamic_raw_safely_) || !defined(_di_fl_print_trim_dynamic_partial_raw_safely_)
/**
* @see fl_print_trim_dynamic_partial_safely()
*/
#if !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_safely_) || !defined(_di_fl_print_trim_dynamic_safely_) || !defined(_di_fl_print_trim_dynamic_partial_safely_)
- extern f_status_t private_fl_print_trim_safely(const f_string_t string, const f_array_length_t length, const f_file_t file) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_print_trim_safely(const f_string_t string, const f_number_unsigned_t length, const f_file_t file) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_print_format_) || !defined(_di_fl_print_format_convert_) || !defined(_di_fl_print_trim_safely_) || !defined(_di_fl_print_trim_dynamic_safely_) || !defined(_di_fl_print_trim_dynamic_partial_safely_)
#ifdef __cplusplus
const f_status_t status = f_signal_read(signal_interrupt->signal, 0, &information);
if (F_status_set_fine(status) == F_interrupt) {
- for (f_array_length_t i = 0; i < signal_interrupt->interrupts.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < signal_interrupt->interrupts.used; ++i) {
if (information.ssi_signo == signal_interrupt->interrupts.array[i]) {
signal_interrupt->trigger = information.ssi_signo;
uint8_t increment_by = 0;
- for (f_array_length_t i = 0; i < size_read; i += increment_by) {
+ for (f_number_unsigned_t i = 0; i < size_read; i += increment_by) {
increment_by = 0;
#endif // !defined(_di_fl_utf_file_read_) || !defined(_di_fl_utf_file_read_until_) || !defined(_di_fl_utf_file_read_range_)
#if !defined(_di_fl_utf_file_write_) || !defined(_di_fl_utf_file_write_until_) || !defined(fl_utf_file_write_range)
- f_status_t private_fl_utf_file_write_until(const f_file_t file, const f_utf_string_t string, const f_array_length_t total, f_array_length_t * const written) {
+ f_status_t private_fl_utf_file_write_until(const f_file_t file, const f_utf_string_t string, const f_number_unsigned_t total, f_number_unsigned_t * const written) {
*written = 0;
- f_array_length_t write_size = file.size_write > 4 ? file.size_write : 4;
- f_array_length_t write_max = total;
- f_array_length_t i = 0;
+ f_number_unsigned_t write_size = file.size_write > 4 ? file.size_write : 4;
+ f_number_unsigned_t write_max = total;
+ f_number_unsigned_t i = 0;
if (write_size > write_max) {
write_size = write_max;
}
- f_array_length_t last = 0;
- f_array_length_t used = 0;
+ f_number_unsigned_t last = 0;
+ f_number_unsigned_t used = 0;
ssize_t size_write = 0;
uint8_t buffer_write[write_size];
* @see fl_utf_file_write_until()
*/
#if !defined(_di_fl_utf_file_write_) || !defined(_di_fl_utf_file_write_until_) || !defined(_di_fl_utf_file_write_range_)
- extern f_status_t private_fl_utf_file_write_until(const f_file_t file, const f_utf_string_t string, const f_array_length_t total, f_array_length_t * const written) F_attribute_visibility_internal_d;
+ extern f_status_t private_fl_utf_file_write_until(const f_file_t file, const f_utf_string_t string, const f_number_unsigned_t total, f_number_unsigned_t * const written) F_attribute_visibility_internal_d;
#endif // !defined(_di_fl_utf_file_write_) || !defined(_di_fl_utf_file_write_until_) || !defined(_di_fl_utf_file_write_range_)
#ifdef __cplusplus
#endif // _di_fl_utf_file_read_block_
#ifndef _di_fl_utf_file_read_until_
- f_status_t fl_utf_file_read_until(const f_file_t file, const f_array_length_t total, f_utf_string_dynamic_t * const destination) {
+ f_status_t fl_utf_file_read_until(const f_file_t file, const f_number_unsigned_t total, f_utf_string_dynamic_t * const destination) {
#ifndef _di_level_1_parameter_checking_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_1_parameter_checking_
uint8_t width = 0;
int8_t width_last = -1;
- f_array_length_t buffer_size = file.size_read;
- f_array_length_t buffer_count = 0;
+ f_number_unsigned_t buffer_size = file.size_read;
+ f_number_unsigned_t buffer_count = 0;
if (total < buffer_size) {
buffer_size = total;
#endif // _di_fl_utf_file_read_until_
#ifndef _di_fl_utf_file_write_
- f_status_t fl_utf_file_write(const f_file_t file, const f_utf_string_static_t destination, f_array_length_t * const written) {
+ f_status_t fl_utf_file_write(const f_file_t file, const f_utf_string_static_t destination, f_number_unsigned_t * const written) {
#ifndef _di_level_0_parameter_checking_
if (!file.size_write) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
#endif // _di_fl_utf_file_write_
#ifndef _di_fl_utf_file_write_block_
- f_status_t fl_utf_file_write_block(const f_file_t file, const f_utf_string_static_t destination, f_array_length_t * const written) {
+ f_status_t fl_utf_file_write_block(const f_file_t file, const f_utf_string_static_t destination, f_number_unsigned_t * const written) {
#ifndef _di_level_0_parameter_checking_
if (!file.size_write) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return F_data_not;
}
- f_array_length_t write_max = file.size_write;
+ f_number_unsigned_t write_max = file.size_write;
if (write_max > destination.used) {
write_max = destination.used;
#endif // _di_fl_utf_file_write_block_
#ifndef _di_fl_utf_file_write_until_
- f_status_t fl_utf_file_write_until(const f_file_t file, const f_utf_string_static_t destination, const f_array_length_t total, f_array_length_t * const written) {
+ f_status_t fl_utf_file_write_until(const f_file_t file, const f_utf_string_static_t destination, const f_number_unsigned_t total, f_number_unsigned_t * const written) {
#ifndef _di_level_0_parameter_checking_
if (!file.size_write) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
return F_data_not;
}
- f_array_length_t write_max = file.size_write;
+ f_number_unsigned_t write_max = file.size_write;
if (write_max > destination.used) {
write_max = destination.used;
#endif // _di_fl_utf_file_write_until_
#ifndef _di_fl_utf_file_write_range_
- f_status_t fl_utf_file_write_range(const f_file_t file, const f_utf_string_static_t destination, const f_string_range_t range, f_array_length_t * const written) {
+ f_status_t fl_utf_file_write_range(const f_file_t file, const f_utf_string_static_t destination, const f_string_range_t range, f_number_unsigned_t * const written) {
#ifndef _di_level_0_parameter_checking_
if (!file.size_write) return F_status_set_error(F_parameter);
if (range.start >= destination.used) return F_status_set_error(F_parameter);
return F_data_not;
}
- const f_array_length_t total = (range.stop - range.start) + 1;
- f_array_length_t write_max = total;
+ const f_number_unsigned_t total = (range.stop - range.start) + 1;
+ f_number_unsigned_t write_max = total;
if (write_max > destination.used) {
write_max = destination.used;
* @see read()
*/
#ifndef _di_fl_utf_file_read_until_
- extern f_status_t fl_utf_file_read_until(const f_file_t file, const f_array_length_t total, f_utf_string_dynamic_t * const destination);
+ extern f_status_t fl_utf_file_read_until(const f_file_t file, const f_number_unsigned_t total, f_utf_string_dynamic_t * const destination);
#endif // _di_fl_utf_file_read_until_
/**
* @see write()
*/
#ifndef _di_fl_utf_file_write_
- extern f_status_t fl_utf_file_write(const f_file_t file, const f_utf_string_static_t destination, f_array_length_t * const written);
+ extern f_status_t fl_utf_file_write(const f_file_t file, const f_utf_string_static_t destination, f_number_unsigned_t * const written);
#endif // _di_fl_utf_file_write_
/**
* @see write()
*/
#ifndef _di_fl_utf_file_write_block_
- extern f_status_t fl_utf_file_write_block(const f_file_t file, const f_utf_string_static_t destination, f_array_length_t * const written);
+ extern f_status_t fl_utf_file_write_block(const f_file_t file, const f_utf_string_static_t destination, f_number_unsigned_t * const written);
#endif // _di_fl_utf_file_write_block_
/**
* @see write()
*/
#ifndef _di_fl_utf_file_write_until_
- extern f_status_t fl_utf_file_write_until(const f_file_t file, const f_utf_string_static_t destination, const f_array_length_t total, f_array_length_t * const written);
+ extern f_status_t fl_utf_file_write_until(const f_file_t file, const f_utf_string_static_t destination, const f_number_unsigned_t total, f_number_unsigned_t * const written);
#endif // _di_fl_utf_file_write_until_
/**
* @see write()
*/
#ifndef _di_fl_utf_file_write_range_
- extern f_status_t fl_utf_file_write_range(const f_file_t file, const f_utf_string_static_t buffer, const f_string_range_t range, f_array_length_t * const written);
+ extern f_status_t fl_utf_file_write_range(const f_file_t file, const f_utf_string_static_t buffer, const f_string_range_t range, f_number_unsigned_t * const written);
#endif // _di_fl_utf_file_write_range_
#ifdef __cplusplus
f_string_static_t path = f_string_static_t_initialize;
- for (f_array_length_t i = 0; i < control_group.groups.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < control_group.groups.used; ++i) {
if (!control_group.groups.array[i].used) continue;
#endif // _di_fll_execute_arguments_add_parameter_
#ifndef _di_fll_execute_arguments_add_parameter_set_
- f_status_t fll_execute_arguments_add_parameter_set(const f_string_static_t prefix[], const f_string_static_t name[], const f_string_static_t value[], const f_array_length_t size, f_string_dynamics_t * const arguments) {
+ f_status_t fll_execute_arguments_add_parameter_set(const f_string_static_t prefix[], const f_string_static_t name[], const f_string_static_t value[], const f_number_unsigned_t size, f_string_dynamics_t * const arguments) {
#ifndef _di_level_2_parameter_checking_
if (!arguments) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
f_status_t status = f_string_dynamics_increase_by(size, arguments);
- for (f_array_length_t i = 0; F_status_is_error_not(status) && i < size; ++i) {
+ for (f_number_unsigned_t i = 0; F_status_is_error_not(status) && i < size; ++i) {
status = private_fll_execute_arguments_add_parameter(prefix[i], name[i], value[i], arguments);
} // for
#endif // _di_fll_execute_arguments_add_parameter_set_
#ifndef _di_fll_execute_arguments_add_set_
- f_status_t fll_execute_arguments_add_set(const f_string_static_t source[], const f_array_length_t size, f_string_dynamics_t * const arguments) {
+ f_status_t fll_execute_arguments_add_set(const f_string_static_t source[], const f_number_unsigned_t size, f_string_dynamics_t * const arguments) {
#ifndef _di_level_2_parameter_checking_
if (!arguments) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
f_status_t status = f_string_dynamics_increase_by(size, arguments);
- for (f_array_length_t i = 0; F_status_is_error_not(status) && i < size; ++i) {
+ for (f_number_unsigned_t i = 0; F_status_is_error_not(status) && i < size; ++i) {
status = private_fll_execute_arguments_add(source[i], arguments);
} // for
}
// Search each individual path in PATH until a match is found.
- for (f_array_length_t i = 0; i < paths.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < paths.used; ++i) {
status = f_string_dynamic_append(program_name, &paths.array[i]);
if (environment) {
clearenv();
- for (f_array_length_t i = 0; i < environment->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < environment->used; ++i) {
f_environment_set(environment->array[i].name, environment->array[i].value, F_true);
} // for
}
if (environment) {
clearenv();
- for (f_array_length_t i = 0; i < environment->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < environment->used; ++i) {
f_environment_set(environment->array[i].name, environment->array[i].value, F_true);
} // for
}
}
// Search each individual path in PATH until a match is found.
- for (f_array_length_t i = 0; i < paths.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < paths.used; ++i) {
status = f_string_dynamic_append(program_name, &paths.array[i]);
* @see f_string_dynamics_increase()
*/
#ifndef _di_fll_execute_arguments_add_parameter_set_
- extern f_status_t fll_execute_arguments_add_parameter_set(const f_string_static_t prefix[], const f_string_static_t name[], const f_string_static_t value[], const f_array_length_t size, f_string_dynamics_t * const arguments);
+ extern f_status_t fll_execute_arguments_add_parameter_set(const f_string_static_t prefix[], const f_string_static_t name[], const f_string_static_t value[], const f_number_unsigned_t size, f_string_dynamics_t * const arguments);
#endif // _di_fll_execute_arguments_add_parameter_set_
/**
* @see f_string_dynamics_increase()
*/
#ifndef _di_fll_execute_arguments_add_set_
- extern f_status_t fll_execute_arguments_add_set(const f_string_static_t source[], const f_array_length_t size, f_string_dynamics_t *arguments);
+ extern f_status_t fll_execute_arguments_add_set(const f_string_static_t source[], const f_number_unsigned_t size, f_string_dynamics_t *arguments);
#endif // _di_fll_execute_arguments_add_set_
/**
CPU_ZERO_S(size, set);
- for (f_array_length_t i = 0; i < as.affinity->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < as.affinity->used; ++i) {
CPU_SET_S(as.affinity->array[i], size, set);
} // for
}
if (as.limits) {
- for (f_array_length_t i = 0; i < as.limits->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < as.limits->used; ++i) {
if (F_status_is_error(f_limit_process(id_child, as.limits->array[i].type, &as.limits->array[i].value, 0))) {
result = &f_string_ascii_1_s;
if (parameter && parameter->environment) {
clearenv();
- for (f_array_length_t i = 0; i < parameter->environment->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < parameter->environment->used; ++i) {
f_environment_set(parameter->environment->array[i].name, parameter->environment->array[i].value, F_true);
} // for
}
if (parameter && parameter->environment) {
clearenv();
- for (f_array_length_t i = 0; i < parameter->environment->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < parameter->environment->used; ++i) {
f_environment_set(parameter->environment->array[i].name, parameter->environment->array[i].value, F_true);
} // for
}
}
if (fixated_is) {
- for (f_array_length_t i = 1; i < arguments.used; ++i) {
+ for (f_number_unsigned_t i = 1; i < arguments.used; ++i) {
fixed_arguments[i] = arguments.array[i].string;
} // for
}
else {
- for (f_array_length_t i = 0; i < arguments.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < arguments.used; ++i) {
fixed_arguments[i + 1] = arguments.array[i].string;
} // for
}
};
uint8_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
f_string_static_t path_sub = f_string_static_t_initialize;
for (; i < 7; ++i) {
f_string_static_t path_sub = f_string_static_t_initialize;
- for (f_array_length_t i = 0; F_status_is_fine(status) && i < listing.directory.used; ++i) {
+ for (f_number_unsigned_t i = 0; F_status_is_fine(status) && i < listing.directory.used; ++i) {
path_sub.used = path.used + listing.directory.array[i].used + 1;
};
uint8_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
f_string_static_t path_sub = f_string_static_t_initialize;
for (; i < 7; ++i) {
{
f_string_static_t path_sub = f_string_static_t_initialize;
- for (f_array_length_t i = 0; F_status_is_fine(status) && i < listing.directory.used; ++i) {
+ for (f_number_unsigned_t i = 0; F_status_is_fine(status) && i < listing.directory.used; ++i) {
path_sub.used = path.used + listing.directory.array[i].used + 1;
#endif // _di_fll_fss_identify_
#ifndef _di_fll_fss_snatch_
- f_status_t fll_fss_snatch(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, f_string_dynamic_t * const values[], bool matches[], f_array_length_t * const indexs[]) {
+ f_status_t fll_fss_snatch(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, f_string_dynamic_t * const values[], bool matches[], f_number_unsigned_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
bool matched[size];
#endif // _di_fll_fss_snatch_
#ifndef _di_fll_fss_snatch_apart_
- f_status_t fll_fss_snatch_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, f_string_dynamics_t * const values[], bool matches[], f_array_lengths_t * const indexs[]) {
+ f_status_t fll_fss_snatch_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, f_string_dynamics_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
f_fss_content_t *content = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
for (; i < objects.used; ++i) {
}
if (values[j]->used + contents.array[i].used > values[j]->size) {
- if (values[j]->used + contents.array[i].used > F_array_length_t_size_d) {
+ if (values[j]->used + contents.array[i].used > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
if (F_status_is_error(status)) return status;
if (indexs) {
- status = f_array_lengths_increase_by(content->used, indexs[j]);
+ status = f_number_unsigneds_increase_by(content->used, indexs[j]);
if (F_status_is_error(status)) return status;
}
}
#endif // _di_fll_fss_snatch_apart_
#ifndef _di_fll_fss_snatch_map_
- f_status_t fll_fss_snatch_map(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, f_string_maps_t * const values[], bool matches[], f_array_lengths_t * const indexs[]) {
+ f_status_t fll_fss_snatch_map(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, f_string_maps_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
f_string_dynamic_t name = f_string_dynamic_t_initialize;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
bool matched = F_false;
}
if (values[j]->used == values[j]->size) {
- if (values[j]->used + F_fss_default_allocation_step_d > F_array_length_t_size_d) {
- if (values[j]->used == F_array_length_t_size_d) {
+ if (values[j]->used + F_fss_default_allocation_step_d > F_number_t_size_unsigned_d) {
+ if (values[j]->used == F_number_t_size_unsigned_d) {
f_string_dynamic_resize(0, &name);
return F_status_set_error(F_array_too_large);
}
if (indexs) {
- macro_f_array_lengths_t_resize(status, (*indexs[j]), indexs[j]->used + 1);
+ macro_f_number_unsigneds_t_resize(status, (*indexs[j]), indexs[j]->used + 1);
if (F_status_is_error(status)) return status;
}
}
}
if (indexs) {
- macro_f_array_lengths_t_resize(status, (*indexs[j]), indexs[j]->used + F_fss_default_allocation_step_d);
+ macro_f_number_unsigneds_t_resize(status, (*indexs[j]), indexs[j]->used + F_fss_default_allocation_step_d);
if (F_status_is_error(status)) return status;
}
}
#endif // _di_fll_fss_snatch_map_
#ifndef _di_fll_fss_snatch_map_apart_
- f_status_t fll_fss_snatch_map_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, f_string_map_multis_t * const values[], bool matches[], f_array_lengths_t * const indexs[]) {
+ f_status_t fll_fss_snatch_map_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, f_string_map_multis_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
f_string_map_multi_t *map_multi = 0;
if (F_status_is_error(status)) return status;
if (indexs) {
- macro_f_array_lengths_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
+ macro_f_number_unsigneds_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
if (F_status_is_error(status)) return status;
}
#endif // _di_fll_fss_snatch_map_apart_
#ifndef _di_fll_fss_snatch_map_mash_
- f_status_t fll_fss_snatch_map_mash(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_maps_t * const values[], bool matches[], f_array_lengths_t * const indexs[]) {
+ f_status_t fll_fss_snatch_map_mash(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_maps_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
f_string_map_t *map = 0;
if (F_status_is_error(status)) return status;
if (indexs) {
- macro_f_array_lengths_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
+ macro_f_number_unsigneds_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
if (F_status_is_error(status)) return status;
}
#endif // _di_fll_fss_snatch_map_mash_
#ifndef _di_fll_fss_snatch_map_mash_apart_
- f_status_t fll_fss_snatch_map_mash_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_map_multis_t * const values[], bool matches[], f_array_lengths_t * const indexs[]) {
+ f_status_t fll_fss_snatch_map_mash_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_map_multis_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
f_string_dynamic_t name = f_string_dynamic_t_initialize;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
bool matched = F_false;
if (F_status_is_error(status)) return status;
if (indexs) {
- macro_f_array_lengths_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
+ macro_f_number_unsigneds_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
if (F_status_is_error(status)) return status;
}
#endif // _di_fll_fss_snatch_map_mash_apart_
#ifndef _di_fll_fss_snatch_map_together_
- f_status_t fll_fss_snatch_map_together(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_maps_t * const values[], bool matches[], f_array_lengths_t * const indexs[]) {
+ f_status_t fll_fss_snatch_map_together(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_maps_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
f_string_dynamic_t name = f_string_dynamic_t_initialize;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
bool matched = F_false;
if (F_status_is_error(status)) return status;
if (indexs) {
- macro_f_array_lengths_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
+ macro_f_number_unsigneds_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
if (F_status_is_error(status)) return status;
}
#endif // _di_fll_fss_snatch_map_together_
#ifndef _di_fll_fss_snatch_mash_
- f_status_t fll_fss_snatch_mash(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_dynamic_t * const values[], bool matches[], f_array_length_t * const indexs[]) {
+ f_status_t fll_fss_snatch_mash(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_dynamic_t * const values[], bool matches[], f_number_unsigned_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
bool matched[size];
#endif // _di_fll_fss_snatch_mash_
#ifndef _di_fll_fss_snatch_mash_apart_
- f_status_t fll_fss_snatch_mash_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_dynamics_t * const values[], bool matches[], f_array_lengths_t * const indexs[]) {
+ f_status_t fll_fss_snatch_mash_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_dynamics_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
for (; i < objects.used; ++i) {
if (F_status_is_error(status)) return status;
if (indexs) {
- macro_f_array_lengths_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
+ macro_f_number_unsigneds_t_increase(status, F_fss_default_allocation_step_small_d, (*indexs[j]));
if (F_status_is_error(status)) return status;
}
#endif // _di_fll_fss_snatch_mash_apart_
#ifndef _di_fll_fss_snatch_together_
- f_status_t fll_fss_snatch_together(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_dynamic_t * const values[], bool matches[], f_array_length_t * const indexs[]) {
+ f_status_t fll_fss_snatch_together(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_dynamic_t * const values[], bool matches[], f_number_unsigned_t * const indexs[]) {
#ifndef _di_level_2_parameter_checking_
if (!size) return F_status_set_error(F_parameter);
if (objects.used != contents.used) return F_status_set_error(F_parameter);
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
for (; i < objects.used; ++i) {
* @see f_compare_trim()
*/
#ifndef _di_fll_fss_snatch_
- extern f_status_t fll_fss_snatch(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, f_string_dynamic_t * const values[], bool matches[], f_array_length_t * const indexs[]);
+ extern f_status_t fll_fss_snatch(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, f_string_dynamic_t * const values[], bool matches[], f_number_unsigned_t * const indexs[]);
#endif // _di_fll_fss_snatch_
/**
* @see f_compare_trim()
*/
#ifndef _di_fll_fss_snatch_apart_
- extern f_status_t fll_fss_snatch_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, f_string_dynamics_t * const values[], bool matches[], f_array_lengths_t * const indexs[]);
+ extern f_status_t fll_fss_snatch_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, f_string_dynamics_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]);
#endif // _di_fll_fss_snatch_apart_
/**
* @see f_compare_trim()
*/
#ifndef _di_fll_fss_snatch_map_
- extern f_status_t fll_fss_snatch_map(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, f_string_maps_t * const values[], bool matches[], f_array_lengths_t * const indexs[]);
+ extern f_status_t fll_fss_snatch_map(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, f_string_maps_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]);
#endif // _di_fll_fss_snatch_map_
/**
* @see f_compare_trim()
*/
#ifndef _di_fll_fss_snatch_map_apart_
- extern f_status_t fll_fss_snatch_map_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, f_string_map_multis_t * const values[], bool matches[], f_array_lengths_t * const indexs[]);
+ extern f_status_t fll_fss_snatch_map_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, f_string_map_multis_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]);
#endif // _di_fll_fss_snatch_map_apart_
/**
* Errors (with error bit) from: f_compare_dynamic_partial_trim_string().
*/
#ifndef _di_fll_fss_snatch_map_mash_
- extern f_status_t fll_fss_snatch_map_mash(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_maps_t * const values[], bool matches[], f_array_lengths_t * const indexs[]);
+ extern f_status_t fll_fss_snatch_map_mash(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_maps_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]);
#endif // _di_fll_fss_snatch_map_mash_
/**
* @see f_compare_trim()
*/
#ifndef _di_fll_fss_snatch_map_mash_apart_
- extern f_status_t fll_fss_snatch_map_mash_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_map_multis_t * const values[], bool matches[], f_array_lengths_t * const indexs[]);
+ extern f_status_t fll_fss_snatch_map_mash_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_map_multis_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]);
#endif // _di_fll_fss_snatch_map_mash_apart_
/**
* @see f_compare_trim()
*/
#ifndef _di_fll_fss_snatch_map_together_
- extern f_status_t fll_fss_snatch_map_together(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_maps_t * const values[], bool matches[], f_array_lengths_t * const indexs[]);
+ extern f_status_t fll_fss_snatch_map_together(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_maps_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]);
#endif // _di_fll_fss_snatch_map_together_
/**
* Errors (with error bit) from: f_compare_dynamic_partial_trim_string().
*/
#ifndef _di_fll_fss_snatch_mash_
- extern f_status_t fll_fss_snatch_mash(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_dynamic_t * const values[], bool matches[], f_array_length_t * const indexs[]);
+ extern f_status_t fll_fss_snatch_mash(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_dynamic_t * const values[], bool matches[], f_number_unsigned_t * const indexs[]);
#endif // _di_fll_fss_snatch_mash_
/**
* @see f_compare_trim()
*/
#ifndef _di_fll_fss_snatch_mash_apart_
- extern f_status_t fll_fss_snatch_mash_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_dynamics_t * const values[], bool matches[], f_array_lengths_t * const indexs[]);
+ extern f_status_t fll_fss_snatch_mash_apart(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_dynamics_t * const values[], bool matches[], f_number_unsigneds_t * const indexs[]);
#endif // _di_fll_fss_snatch_mash_apart_
/**
* @see f_compare_trim()
*/
#ifndef _di_fll_fss_snatch_together_
- extern f_status_t fll_fss_snatch_together(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_array_length_t size, const f_string_static_t glue, f_string_dynamic_t * const values[], bool matches[], f_array_length_t * const indexs[]);
+ extern f_status_t fll_fss_snatch_together(const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, const f_string_static_t names[], const f_number_unsigned_t size, const f_string_static_t glue, f_string_dynamic_t * const values[], bool matches[], f_number_unsigned_t * const indexs[]);
#endif // _di_fll_fss_snatch_together_
#ifdef __cplusplus
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- f_array_length_t initial_used = objects->used;
+ f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- f_array_length_t initial_used = objects->used;
+ f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
}
#endif // _di_level_2_parameter_checking_
- f_array_length_t initial_used = 0;
+ f_number_unsigned_t initial_used = 0;
bool found_data = F_false;
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- f_array_length_t initial_used = objects->used;
+ f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
if (state->status == F_none || state->status == F_none_stop || state->status == F_none_eos || state->status == F_none_eol) {
uint8_t complete = f_fss_complete_next_e;
- for (f_array_length_t i = 0; i < contents.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < contents.used; ++i) {
if (i + 1 == contents.used) {
complete = f_fss_complete_end_e;
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- f_array_length_t initial_used = objects->used;
+ f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- f_array_length_t initial_used = objects->used;
+ f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
state->status = f_string_dynamic_increase_by(content.used, destination);
if (F_status_is_error(state->status)) return;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
// Copy in blocks to allow for interruptability of potentially large data sets.
for (; i < content.used && i + F_fss_default_block_size_normal_d < content.used; i += F_fss_default_block_size_normal_d) {
if (F_status_is_error(status)) return status;
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t delimits = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t delimits = 0;
for (; i < content.used; ++i) {
if (F_status_is_error(status)) return status;
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t delimits = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t delimits = 0;
- const f_array_length_t used = unescaped->used;
+ const f_number_unsigned_t used = unescaped->used;
for (; i < content.used; ++i) {
#endif
#ifndef _di_fll_print_
- f_status_t fll_print(const f_string_t string, const f_array_length_t length, f_file_t file) {
+ f_status_t fll_print(const f_string_t string, const f_number_unsigned_t length, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_dynamic_safely_
#ifndef _di_fll_print_except_
- f_status_t fll_print_except(const f_string_t buffer, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except(const f_string_t buffer, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_
#ifndef _di_fll_print_except_dynamic_
- f_status_t fll_print_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_dynamic_
#ifndef _di_fll_print_except_dynamic_partial_
- f_status_t fll_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_dynamic_partial_
#ifndef _di_fll_print_except_dynamic_partial_raw_
- f_status_t fll_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_dynamic_partial_raw_
#ifndef _di_fll_print_except_dynamic_partial_raw_safely_
- f_status_t fll_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_dynamic_partial_raw_safely_
#ifndef _di_fll_print_except_dynamic_partial_safely_
- f_status_t fll_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_dynamic_partial_safely_
#ifndef _di_fll_print_except_dynamic_raw_
- f_status_t fll_print_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_dynamic_raw_
#ifndef _di_fll_print_except_dynamic_raw_safely_
- f_status_t fll_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_dynamic_raw_safely_
#ifndef _di_fll_print_except_dynamic_safely_
- f_status_t fll_print_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_dynamic_safely_
#ifndef _di_fll_print_except_raw_
- f_status_t fll_print_except_raw(const f_string_t buffer, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_raw(const f_string_t buffer, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_raw_
#ifndef _di_fll_print_except_raw_safely_
- f_status_t fll_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_raw_safely_
#ifndef _di_fll_print_except_safely_
- f_status_t fll_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_safely_
#ifndef _di_fll_print_except_in_
- f_status_t fll_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_
#ifndef _di_fll_print_except_in_dynamic_
- f_status_t fll_print_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_dynamic_
#ifndef _di_fll_print_except_in_dynamic_partial_
- f_status_t fll_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_dynamic_partial_
#ifndef _di_fll_print_except_in_dynamic_partial_raw_
- f_status_t fll_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_dynamic_partial_raw_
#ifndef _di_fll_print_except_in_dynamic_partial_raw_safely_
- f_status_t fll_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_dynamic_partial_raw_safely_
#ifndef _di_fll_print_except_in_dynamic_partial_safely_
- f_status_t fll_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_dynamic_partial_safely_
#ifndef _di_fll_print_except_in_dynamic_raw_
- f_status_t fll_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_dynamic_raw_
#ifndef _di_fll_print_except_in_dynamic_raw_safely_
- f_status_t fll_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_dynamic_raw_safely_
#ifndef _di_fll_print_except_in_dynamic_safely_
- f_status_t fll_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_dynamic_safely_
#ifndef _di_fll_print_except_in_raw_
- f_status_t fll_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_raw_
#ifndef _di_fll_print_except_in_raw_safely_
- f_status_t fll_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_except_in_raw_safely_
#ifndef _di_fll_print_except_in_safely_
- f_status_t fll_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_format_convert_
#ifndef _di_fll_print_raw_
- f_status_t fll_print_raw(const f_string_t string, const f_array_length_t length, f_file_t file) {
+ f_status_t fll_print_raw(const f_string_t string, const f_number_unsigned_t length, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_raw_
#ifndef _di_fll_print_raw_safely_
- f_status_t fll_print_raw_safely(const f_string_t string, const f_array_length_t length, f_file_t file) {
+ f_status_t fll_print_raw_safely(const f_string_t string, const f_number_unsigned_t length, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_raw_terminated_
#ifndef _di_fll_print_safely_
- f_status_t fll_print_safely(const f_string_t string, const f_array_length_t length, f_file_t file) {
+ f_status_t fll_print_safely(const f_string_t string, const f_number_unsigned_t length, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_terminated_
#ifndef _di_fll_print_trim_raw_
- f_status_t fll_print_trim_raw(const f_string_t string, const f_array_length_t length, f_file_t file) {
+ f_status_t fll_print_trim_raw(const f_string_t string, const f_number_unsigned_t length, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_raw_
#ifndef _di_fll_print_trim_raw_safely_
- f_status_t fll_print_trim_raw_safely(const f_string_t string, const f_array_length_t length, f_file_t file) {
+ f_status_t fll_print_trim_raw_safely(const f_string_t string, const f_number_unsigned_t length, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_raw_safely_
#ifndef _di_fll_print_trim_safely_
- f_status_t fll_print_trim_safely(const f_string_t string, const f_array_length_t length, f_file_t file) {
+ f_status_t fll_print_trim_safely(const f_string_t string, const f_number_unsigned_t length, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_dynamic_partial_safely_
#ifndef _di_fll_print_trim_except_
- f_status_t fll_print_trim_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_
#ifndef _di_fll_print_trim_except_raw_
- f_status_t fll_print_trim_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_raw_
#ifndef _di_fll_print_trim_except_raw_safely_
- f_status_t fll_print_trim_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_raw_safely_
#ifndef _di_fll_print_trim_except_safely_
- f_status_t fll_print_trim_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_safely_
#ifndef _di_fll_print_trim_except_dynamic_
- f_status_t fll_print_trim_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_dynamic_
#ifndef _di_fll_print_trim_except_dynamic_raw_
- f_status_t fll_print_trim_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_dynamic_raw_
#ifndef _di_fll_print_trim_except_dynamic_raw_safely_
- f_status_t fll_print_trim_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_dynamic_raw_safely_
#ifndef _di_fll_print_trim_except_dynamic_safely_
- f_status_t fll_print_trim_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_dynamic_safely_
#ifndef _di_fll_print_trim_except_in_
- f_status_t fll_print_trim_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_
#ifndef _di_fll_print_trim_except_in_raw_
- f_status_t fll_print_trim_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_raw_
#ifndef _di_fll_print_trim_except_in_raw_safely_
- f_status_t fll_print_trim_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_raw_safely_
#ifndef _di_fll_print_trim_except_in_safely_
- f_status_t fll_print_trim_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_safely_
#ifndef _di_fll_print_trim_except_in_dynamic_
- f_status_t fll_print_trim_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_dynamic_
#ifndef _di_fll_print_trim_except_in_dynamic_raw_
- f_status_t fll_print_trim_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_dynamic_raw_
#ifndef _di_fll_print_trim_except_in_dynamic_raw_safely_
- f_status_t fll_print_trim_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_dynamic_raw_safely_
#ifndef _di_fll_print_trim_except_in_dynamic_safely_
- f_status_t fll_print_trim_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_dynamic_safely_
#ifndef _di_fll_print_trim_except_in_dynamic_partial_
- f_status_t fll_print_trim_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_dynamic_partial_
#ifndef _di_fll_print_trim_except_in_dynamic_partial_raw_
- f_status_t fll_print_trim_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_dynamic_partial_raw_
#ifndef _di_fll_print_trim_except_in_dynamic_partial_raw_safely_
- f_status_t fll_print_trim_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_dynamic_partial_raw_safely_
#ifndef _di_fll_print_trim_except_in_dynamic_partial_safely_
- f_status_t fll_print_trim_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file) {
+ f_status_t fll_print_trim_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_in_dynamic_partial_safely_
#ifndef _di_fll_print_trim_except_dynamic_partial_
- f_status_t fll_print_trim_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_dynamic_partial_
#ifndef _di_fll_print_trim_except_dynamic_partial_raw_
- f_status_t fll_print_trim_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_dynamic_partial_raw_
#ifndef _di_fll_print_trim_except_dynamic_partial_raw_safely_
- f_status_t fll_print_trim_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
#endif // _di_fll_print_trim_except_dynamic_partial_raw_safely_
#ifndef _di_fll_print_trim_except_dynamic_partial_safely_
- f_status_t fll_print_trim_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file) {
+ f_status_t fll_print_trim_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file) {
if (!file.stream) return F_stream_not;
* @see f_print()
*/
#ifndef _di_fll_print_
- extern f_status_t fll_print(const f_string_t string, const f_array_length_t length, f_file_t file);
+ extern f_status_t fll_print(const f_string_t string, const f_number_unsigned_t length, f_file_t file);
#endif // _di_fll_print_
/**
* @see f_print_except()
*/
#ifndef _di_fll_print_except_
- extern f_status_t fll_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_
/**
* @see f_print_except_dynamic()
*/
#ifndef _di_fll_print_except_dynamic_
- extern f_status_t fll_print_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_dynamic_
/**
* @see f_print_except_dynamic_partial()
*/
#ifndef _di_fll_print_except_dynamic_partial_
- extern f_status_t fll_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_dynamic_partial_
/**
* @see f_print_except_dynamic_partial_raw()
*/
#ifndef _di_fll_print_except_dynamic_partial_raw_
- extern f_status_t fll_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_dynamic_partial_raw_
/**
* @see f_print_except_dynamic_partial_raw_safely()
*/
#ifndef _di_fll_print_except_dynamic_partial_raw_safely_
- extern f_status_t fll_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_dynamic_partial_raw_safely_
/**
* @see f_print_except_dynamic_partial_safely()
*/
#ifndef _di_fll_print_except_dynamic_partial_safely_
- extern f_status_t fll_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_dynamic_partial_safely_
/**
* @see f_print_except_dynamic_raw()
*/
#ifndef _di_fll_print_except_dynamic_raw_
- extern f_status_t fll_print_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_dynamic_raw_
/**
* @see f_print_except_dynamic_raw_safely()
*/
#ifndef _di_fll_print_except_dynamic_raw_safely_
- extern f_status_t fll_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_dynamic_raw_safely_
/**
* @see f_print_except_dynamic_safely()
*/
#ifndef _di_fll_print_except_dynamic_safely_
- extern f_status_t fll_print_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_dynamic_safely_
/**
* @see f_print_except_in()
*/
#ifndef _di_fll_print_except_in_
- extern f_status_t fll_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_
/**
* @see f_print_except_in_raw()
*/
#ifndef _di_fll_print_except_in_raw_
- extern f_status_t fll_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_raw_
/**
* @see f_print_except_in_raw_safely()
*/
#ifndef _di_fll_print_except_in_raw_safely_
- extern f_status_t fll_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_raw_safely_
/**
* @see f_print_except_in_safely()
*/
#ifndef _di_fll_print_except_in_safely_
- extern f_status_t fll_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_safely_
/**
* @see f_print_except_in_dynamic()
*/
#ifndef _di_fll_print_except_in_dynamic_
- extern f_status_t fll_print_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_dynamic_
/**
* @see f_print_except_in_dynamic_partial()
*/
#ifndef _di_fll_print_except_in_dynamic_partial_
- extern f_status_t fll_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_dynamic_partial_
/**
* @see f_print_except_in_dynamic_partial_raw()
*/
#ifndef _di_fll_print_except_in_dynamic_partial_raw_
- extern f_status_t fll_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_dynamic_partial_raw_
/**
* @see f_print_except_in_dynamic_partial_raw_safely()
*/
#ifndef _di_fll_print_except_in_dynamic_partial_raw_safely_
- extern f_status_t fll_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_dynamic_partial_raw_safely_
/**
* @see f_print_except_in_dynamic_partial_safely()
*/
#ifndef _di_fll_print_except_in_dynamic_partial_safely_
- extern f_status_t fll_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_dynamic_partial_safely_
/**
* @see f_print_except_in_dynamic_raw()
*/
#ifndef _di_fll_print_except_in_dynamic_raw_
- extern f_status_t fll_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_dynamic_raw_
/**
* @see f_print_except_in_dynamic_raw_safely()
*/
#ifndef _di_fll_print_except_in_dynamic_raw_safely_
- extern f_status_t fll_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_dynamic_raw_safely_
/**
* @see f_print_except_in_dynamic_safely()
*/
#ifndef _di_fll_print_except_in_dynamic_safely_
- extern f_status_t fll_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_except_in_dynamic_safely_
/**
* @see f_print_except_raw()
*/
#ifndef _di_fll_print_except_raw_
- extern f_status_t fll_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_raw_
/**
* @see f_print_except_raw_safely()
*/
#ifndef _di_fll_print_except_raw_safely_
- extern f_status_t fll_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_raw_safely_
/**
* @see f_print_except_safely()
*/
#ifndef _di_fll_print_except_safely_
- extern f_status_t fll_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_except_safely_
/**
* @see f_print_raw()
*/
#ifndef _di_fll_print_raw_
- extern f_status_t fll_print_raw(const f_string_t string, const f_array_length_t length, f_file_t file);
+ extern f_status_t fll_print_raw(const f_string_t string, const f_number_unsigned_t length, f_file_t file);
#endif // _di_fll_print_raw_
/**
* @see f_print_raw_safely()
*/
#ifndef _di_fll_print_raw_safely_
- extern f_status_t fll_print_raw_safely(const f_string_t string, const f_array_length_t length, f_file_t file);
+ extern f_status_t fll_print_raw_safely(const f_string_t string, const f_number_unsigned_t length, f_file_t file);
#endif // _di_fll_print_raw_safely_
/**
* @see f_print_safely()
*/
#ifndef _di_fll_print_safely_
- extern f_status_t fll_print_safely(const f_string_t string, const f_array_length_t length, f_file_t file);
+ extern f_status_t fll_print_safely(const f_string_t string, const f_number_unsigned_t length, f_file_t file);
#endif // _di_fll_print_safely_
/**
* @see f_print_except_dynamic_partial()
*/
#ifndef _di_fll_print_trim_
- extern f_status_t fll_print_trim(const f_string_t string, const f_array_length_t length, f_file_t file);
+ extern f_status_t fll_print_trim(const f_string_t string, const f_number_unsigned_t length, f_file_t file);
#endif // _di_fll_print_trim_
/**
* @see fl_print_trim_raw()
*/
#ifndef _di_fll_print_trim_raw_
- extern f_status_t fll_print_trim_raw(const f_string_t string, const f_array_length_t length, f_file_t file);
+ extern f_status_t fll_print_trim_raw(const f_string_t string, const f_number_unsigned_t length, f_file_t file);
#endif // _di_fll_print_trim_raw_
/**
* @see fl_print_trim_raw_safely()
*/
#ifndef _di_fll_print_trim_raw_safely_
- extern f_status_t fll_print_trim_raw_safely(const f_string_t string, const f_array_length_t length, f_file_t file);
+ extern f_status_t fll_print_trim_raw_safely(const f_string_t string, const f_number_unsigned_t length, f_file_t file);
#endif // _di_fll_print_trim_raw_safely_
/**
* @see fl_print_trim_safely()
*/
#ifndef _di_fll_print_trim_safely_
- extern f_status_t fll_print_trim_safely(const f_string_t string, const f_array_length_t length, f_file_t file);
+ extern f_status_t fll_print_trim_safely(const f_string_t string, const f_number_unsigned_t length, f_file_t file);
#endif // _di_fll_print_trim_safely_
/**
* @see fl_print_trim_except()
*/
#ifndef _di_fll_print_trim_except_
- extern f_status_t fll_print_trim_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_
/**
* @see fl_print_trim_except_raw()
*/
#ifndef _di_fll_print_trim_except_raw_
- extern f_status_t fll_print_trim_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_raw_
/**
* @see fl_print_trim_except_raw_safely()
*/
#ifndef _di_fll_print_trim_except_raw_safely_
- extern f_status_t fll_print_trim_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_raw_safely_
/**
* @see fl_print_trim_except_safely()
*/
#ifndef _di_fll_print_trim_except_safely_
- extern f_status_t fll_print_trim_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_safely_
/**
* @see fl_print_trim_except_dynamic()
*/
#ifndef _di_fll_print_trim_except_dynamic_
- extern f_status_t fll_print_trim_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_dynamic_
/**
* @see fl_print_trim_except_dynamic_raw()
*/
#ifndef _di_fll_print_trim_except_dynamic_raw_
- extern f_status_t fll_print_trim_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_dynamic_raw_
/**
* @see fl_print_trim_except_dynamic_raw_safely()
*/
#ifndef _di_fll_print_trim_except_dynamic_raw_safely_
- extern f_status_t fll_print_trim_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_dynamic_raw_safely_
/**
* @see fl_print_trim_except_dynamic_safely()
*/
#ifndef _di_fll_print_trim_except_dynamic_safely_
- extern f_status_t fll_print_trim_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_dynamic_safely_
/**
* @see fl_print_trim_except_in()
*/
#ifndef _di_fll_print_trim_except_in_
- extern f_status_t fll_print_trim_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_
/**
* @see fl_print_trim_except_in_raw()
*/
#ifndef _di_fll_print_trim_except_in_raw_
- extern f_status_t fll_print_trim_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_raw(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_raw_
/**
* @see fl_print_trim_except_in_raw_safely()
*/
#ifndef _di_fll_print_trim_except_in_raw_safely_
- extern f_status_t fll_print_trim_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_raw_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_raw_safely_
/**
* @see fl_print_trim_except_in_safely()
*/
#ifndef _di_fll_print_trim_except_in_safely_
- extern f_status_t fll_print_trim_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_safely(const f_string_t string, const f_number_unsigned_t offset, const f_number_unsigned_t length, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_safely_
/**
* @see fl_print_trim_except_in_dynamic()
*/
#ifndef _di_fll_print_trim_except_in_dynamic_
- extern f_status_t fll_print_trim_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_dynamic(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_dynamic_
/**
* @see fl_print_trim_except_in_dynamic_raw()
*/
#ifndef _di_fll_print_trim_except_in_dynamic_raw_
- extern f_status_t fll_print_trim_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_dynamic_raw(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_dynamic_raw_
/**
* @see fl_print_trim_except_in_dynamic_raw_safely()
*/
#ifndef _di_fll_print_trim_except_in_dynamic_raw_safely_
- extern f_status_t fll_print_trim_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_dynamic_raw_safely_
/**
* @see fl_print_trim_except_in_dynamic_safely()
*/
#ifndef _di_fll_print_trim_except_in_dynamic_safely_
- extern f_status_t fll_print_trim_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_dynamic_safely(const f_string_static_t buffer, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_dynamic_safely_
/**
* @see fl_print_trim_except_in_dynamic_partial()
*/
#ifndef _di_fll_print_trim_except_in_dynamic_partial_
- extern f_status_t fll_print_trim_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_dynamic_partial_
/**
* @see f_print_except_dynamic_partial()
*/
#ifndef _di_fll_print_trim_except_in_dynamic_partial_raw_
- extern f_status_t fll_print_trim_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_dynamic_partial_raw_
/**
* @see f_print_except_dynamic_partial()
*/
#ifndef _di_fll_print_trim_except_in_dynamic_partial_raw_safely_
- extern f_status_t fll_print_trim_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_dynamic_partial_raw_safely_
/**
* @see f_print_except_dynamic_partial()
*/
#ifndef _di_fll_print_trim_except_in_dynamic_partial_safely_
- extern f_status_t fll_print_trim_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, f_file_t file);
+ extern f_status_t fll_print_trim_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except_at, const f_string_ranges_t except_in, f_file_t file);
#endif // _di_fll_print_trim_except_in_dynamic_partial_safely_
/**
* @see fl_print_trim_except_dynamic_partial()
*/
#ifndef _di_fll_print_trim_except_dynamic_partial_
- extern f_status_t fll_print_trim_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_dynamic_partial_
/**
* @see fl_print_trim_except_dynamic_partial_raw()
*/
#ifndef _di_fll_print_trim_except_dynamic_partial_raw_
- extern f_status_t fll_print_trim_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_dynamic_partial_raw_
/**
* @see fl_print_trim_except_dynamic_partial_raw_safely()
*/
#ifndef _di_fll_print_trim_except_dynamic_partial_raw_safely_
- extern f_status_t fll_print_trim_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_dynamic_partial_raw_safely_
/**
* @see fl_print_trim_except_dynamic_partial_safely()
*/
#ifndef _di_fll_print_trim_except_dynamic_partial_safely_
- extern f_status_t fll_print_trim_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, f_file_t file);
+ extern f_status_t fll_print_trim_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_number_unsigneds_t except, f_file_t file);
#endif // _di_fll_print_trim_except_dynamic_partial_safely_
#ifdef __cplusplus
context->set.warning = f_color_set_empty_s;
if (sets) {
- for (f_array_length_t i = 0; sets[i]; ++i) {
+ for (f_number_unsigned_t i = 0; sets[i]; ++i) {
*sets[i] = f_color_set_empty_s;
} // for
}
{
if (choices.used) {
f_status_t status = F_none;
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
if (right) {
status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
if (!choices.used) return F_data_not;
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
{
const f_status_t status = right ? f_console_parameter_prioritize_right(main->parameters, choices, &choice) : f_console_parameter_prioritize_left(main->parameters, choices, &choice);
#endif // _di_fll_program_parameter_process_verbosity_
#ifndef _di_fll_program_parameter_additional_append_
- f_status_t fll_program_parameter_additional_append(const f_string_static_t * const arguments, const f_array_lengths_t values, f_string_dynamics_t * const destination) {
+ f_status_t fll_program_parameter_additional_append(const f_string_static_t * const arguments, const f_number_unsigneds_t values, f_string_dynamics_t * const destination) {
#ifndef _di_level_2_parameter_checking_
if (!arguments) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- const f_array_length_t start = destination->used;
+ const f_number_unsigned_t start = destination->used;
- for (f_array_length_t i = 0; i < values.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < values.used; ++i) {
if (arguments[values.array[i]].used) {
status = f_string_dynamics_increase(F_memory_default_allocation_small_d, destination);
#endif // _di_fll_program_parameter_additional_append_
#ifndef _di_fll_program_parameter_additional_mash_
- f_status_t fll_program_parameter_additional_mash(const f_string_static_t glue, const f_string_static_t * const arguments, const f_array_lengths_t values, f_string_dynamic_t * const destination) {
+ f_status_t fll_program_parameter_additional_mash(const f_string_static_t glue, const f_string_static_t * const arguments, const f_number_unsigneds_t values, f_string_dynamic_t * const destination) {
#ifndef _di_level_2_parameter_checking_
if (!arguments) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- const f_array_length_t start = destination->used;
+ const f_number_unsigned_t start = destination->used;
- for (f_array_length_t i = 0; i < values.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < values.used; ++i) {
if (arguments[values.array[i]].used) {
status = f_string_dynamic_mash(glue, arguments[values.array[i]], destination);
#endif // _di_fll_program_parameter_additional_mash_
#ifndef _di_fll_program_parameter_additional_rip_
- f_status_t fll_program_parameter_additional_rip(const f_string_static_t * const arguments, const f_array_lengths_t values, f_string_dynamics_t * const destination) {
+ f_status_t fll_program_parameter_additional_rip(const f_string_static_t * const arguments, const f_number_unsigneds_t values, f_string_dynamics_t * const destination) {
#ifndef _di_level_2_parameter_checking_
if (!arguments) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- const f_array_length_t start = destination->used;
+ const f_number_unsigned_t start = destination->used;
- for (f_array_length_t i = 0; i < values.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < values.used; ++i) {
if (arguments[values.array[i]].used) {
status = f_string_dynamics_increase(F_memory_default_allocation_small_d, destination);
#endif // _di_fll_program_parameter_additional_rip_
#ifndef _di_fll_program_parameter_additional_rip_mash_
- f_status_t fll_program_parameter_additional_rip_mash(const f_string_static_t glue, const f_string_static_t * const arguments, const f_array_lengths_t values, f_string_dynamic_t * const destination) {
+ f_status_t fll_program_parameter_additional_rip_mash(const f_string_static_t glue, const f_string_static_t * const arguments, const f_number_unsigneds_t values, f_string_dynamic_t * const destination) {
#ifndef _di_level_2_parameter_checking_
if (!arguments) return F_status_set_error(F_parameter);
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
- const f_array_length_t start = destination->used;
+ const f_number_unsigned_t start = destination->used;
f_string_dynamic_t ripped = f_string_dynamic_t_initialize;
- for (f_array_length_t i = 0; i < values.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < values.used; ++i) {
if (arguments[values.array[i]].used) {
ripped.used = 0;
* @see f_string_dynamic_append()
*/
#ifndef _di_fll_program_parameter_additional_append_
- extern f_status_t fll_program_parameter_additional_append(const f_string_static_t * const arguments, const f_array_lengths_t values, f_string_dynamics_t * const destination);
+ extern f_status_t fll_program_parameter_additional_append(const f_string_static_t * const arguments, const f_number_unsigneds_t values, f_string_dynamics_t * const destination);
#endif // _di_fll_program_parameter_additional_append_
/**
* @see f_string_dynamic_mash()
*/
#ifndef _di_fll_program_parameter_additional_mash_
- extern f_status_t fll_program_parameter_additional_mash(const f_string_static_t glue, const f_string_static_t *arguments, const f_array_lengths_t values, f_string_dynamic_t * const destination);
+ extern f_status_t fll_program_parameter_additional_mash(const f_string_static_t glue, const f_string_static_t *arguments, const f_number_unsigneds_t values, f_string_dynamic_t * const destination);
#endif // _di_fll_program_parameter_additional_mash_
/**
* @see f_rip_dynamic()
*/
#ifndef _di_fll_program_parameter_additional_rip_
- extern f_status_t fll_program_parameter_additional_rip(const f_string_static_t * const arguments, const f_array_lengths_t values, f_string_dynamics_t * const destination);
+ extern f_status_t fll_program_parameter_additional_rip(const f_string_static_t * const arguments, const f_number_unsigneds_t values, f_string_dynamics_t * const destination);
#endif // _di_fll_program_parameter_additional_rip_
/**
* @see f_rip_dynamic()
*/
#ifndef _di_fll_program_parameter_additional_rip_mash_
- extern f_status_t fll_program_parameter_additional_rip_mash(const f_string_static_t glue, const f_string_static_t *arguments, const f_array_lengths_t values, f_string_dynamic_t * const destination);
+ extern f_status_t fll_program_parameter_additional_rip_mash(const f_string_static_t glue, const f_string_static_t *arguments, const f_number_unsigneds_t values, f_string_dynamic_t * const destination);
#endif // _di_fll_program_parameter_additional_rip_mash_
/**
if (F_status_is_error(status)) return;
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
// Identify priority of mode parameters.
{
uint16_t choices_array[5] = { byte_dump_parameter_hexidecimal_e, byte_dump_parameter_duodecimal_e, byte_dump_parameter_octal_e, byte_dump_parameter_binary_e, byte_dump_parameter_decimal_e };
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
const f_uint16s_t choices = macro_f_uint16s_t_initialize_1(choices_array, 0, 5);
status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
// Identify priority of presentation parameters.
{
uint16_t choices_array[3] = { byte_dump_parameter_normal_e, byte_dump_parameter_simple_e, byte_dump_parameter_classic_e };
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
const f_uint16s_t choices = macro_f_uint16s_t_initialize_1(choices_array, 0, 3);
status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
// Identify priority of narrow and wide parameters.
{
uint16_t choices_array[2] = { byte_dump_parameter_narrow_e, byte_dump_parameter_wide_e };
- f_array_length_t choice = byte_dump_parameter_wide_e;
+ f_number_unsigned_t choice = byte_dump_parameter_wide_e;
const f_uint16s_t choices = macro_f_uint16s_t_initialize_1(choices_array, 0, 2);
status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
}
if (main->parameters.array[byte_dump_parameter_width_e].result & f_console_result_value_e) {
- const f_array_length_t index = main->parameters.array[byte_dump_parameter_width_e].values.array[main->parameters.array[byte_dump_parameter_width_e].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[byte_dump_parameter_width_e].values.array[main->parameters.array[byte_dump_parameter_width_e].values.used - 1];
f_number_unsigned_t number = 0;
status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, data.argv[index], &number);
}
if (main->parameters.array[byte_dump_parameter_first_e].result & f_console_result_value_e) {
- const f_array_length_t index = main->parameters.array[byte_dump_parameter_first_e].values.array[main->parameters.array[byte_dump_parameter_first_e].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[byte_dump_parameter_first_e].values.array[main->parameters.array[byte_dump_parameter_first_e].values.used - 1];
f_number_unsigned_t number = 0;
status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, data.argv[index], &number);
}
if (main->parameters.array[byte_dump_parameter_last_e].result & f_console_result_value_e) {
- const f_array_length_t index = main->parameters.array[byte_dump_parameter_last_e].values.array[main->parameters.array[byte_dump_parameter_last_e].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[byte_dump_parameter_last_e].values.array[main->parameters.array[byte_dump_parameter_last_e].values.used - 1];
f_number_unsigned_t number = 0;
status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, data.argv[index], &number);
{
f_status_t missing_files = F_none;
- for (f_array_length_t counter = 0; counter < main->parameters.remaining.used; ++counter) {
+ for (f_number_unsigned_t counter = 0; counter < main->parameters.remaining.used; ++counter) {
status = f_file_exists(data.argv[main->parameters.remaining.array[counter]], F_true);
f_file_t file = f_file_t_initialize;
- for (f_array_length_t counter = 0; counter < main->parameters.remaining.used; ++counter) {
+ for (f_number_unsigned_t counter = 0; counter < main->parameters.remaining.used; ++counter) {
status = f_file_stream_open(data.argv[main->parameters.remaining.array[counter]], f_string_empty_s, &file);
}
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
// Store the current character main until it can be printed.
f_utf_string_dynamic_t sequence = f_utf_string_dynamic_t_initialize;
f_utf_char_t block[data->width];
- f_array_length_t current = 0;
+ f_number_unsigned_t current = 0;
// The row starts based on the first byte starting point and how many columns of bytes are displayed per row.
if (data->first) {
bool reset = F_false;
- f_array_length_t current = sequence.used - 1;
+ f_number_unsigned_t current = sequence.used - 1;
if (byte_current == 1) {
byte = macro_f_utf_char_t_to_char_1(sequence.string[current]);
}
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
if (F_status_is_error(status)) return;
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
control_long_socket_s
};
- f_array_length_t index = f_array_length_t_initialize;
+ f_number_unsigned_t index = f_number_unsigned_t_initialize;
for (uint8_t i = 0; i < 3; ++i) {
f_string_ranges_resize(0, &data->cache.header_objects);
f_string_rangess_resize(0, &data->cache.header_contents);
- f_array_lengths_resize(0, &data->cache.delimits);
+ f_number_unsigneds_resize(0, &data->cache.delimits);
}
#endif // _di_control_data_delete_
0, \
0, \
f_status_t_initialize, \
- f_array_length_t_initialize, \
+ f_number_unsigned_t_initialize, \
}
#endif // _di_control_payload_header_t_
data->cache.large.used = 0;
data->cache.small.used = 0;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
f_status_t status = F_none;
{
- f_array_length_t length = 5 + f_fss_header_s.used + f_fss_payload_s.used;
+ f_number_unsigned_t length = 5 + f_fss_header_s.used + f_fss_payload_s.used;
length += control_action_s.used + control_length_s.used + control_type_s.used;
length += (f_fss_payload_list_open_s.used + f_fss_payload_list_close_s.used) * 2;
length += (f_fss_payload_header_open_s.used + f_fss_payload_header_close_s.used) * 3;
header->length = 0;
f_status_t status = F_none;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
f_string_range_t range_header = f_string_range_t_initialize;
f_string_range_t range_payload = f_string_range_t_initialize;
{
- f_array_length_t length = 5;
+ f_number_unsigned_t length = 5;
uint8_t head[length];
memset(head, 0, sizeof(uint8_t) * length);
if (f_compare_dynamic_partial_string(control_action_s.string, data->cache.large, control_action_s.used, data->cache.header_objects.array[i]) == F_equal_to) {
if (!(found & 0x1)) {
- const f_array_length_t action_length = (data->cache.header_contents.array[i].array[0].stop - data->cache.header_contents.array[i].array[0].start) + 1;
+ const f_number_unsigned_t action_length = (data->cache.header_contents.array[i].array[0].stop - data->cache.header_contents.array[i].array[0].start) + 1;
char action_string[action_length + 1];
const f_string_static_t action = macro_f_string_static_t_initialize_1(action_string, 0, action_length);
if (F_status_set_fine(status) == F_number) {
// Not a number, so attempt get by status string name.
- const f_array_length_t name_length = (data->cache.header_contents.array[i].array[0].stop - data->cache.header_contents.array[i].array[0].start) + 1;
+ const f_number_unsigned_t name_length = (data->cache.header_contents.array[i].array[0].stop - data->cache.header_contents.array[i].array[0].start) + 1;
char name_string[name_length + 1];
const f_string_static_t name = macro_f_string_static_t_initialize_1(name_string, 0, name_length);
data->cache.small.used = 0;
if (main->parameters.array[control_parameter_settings_e].result & f_console_result_value_e) {
- const f_array_length_t index = main->parameters.array[control_parameter_settings_e].values.array[main->parameters.array[control_parameter_settings_e].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[control_parameter_settings_e].values.array[main->parameters.array[control_parameter_settings_e].values.used - 1];
status = f_string_dynamic_append(data->argv[index], &data->cache.small);
}
if (F_status_is_error_not(status)) {
uint8_t parameter_hass[] = { 0, 0, 0, 0 };
- f_array_length_t parameter_ats[] = { 0, 0, 0, 0 };
+ f_number_unsigned_t parameter_ats[] = { 0, 0, 0, 0 };
{
const f_string_static_t parameter_names[] = {
control_path_socket_suffix_s,
};
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
uint8_t j = 0;
f_string_range_t range = f_string_range_t_initialize;
data->cache.small.used = 0;
if (main->parameters.array[control_parameter_socket_e].result & f_console_result_value_e) {
- const f_array_length_t index = main->parameters.array[control_parameter_socket_e].values.array[main->parameters.array[control_parameter_socket_e].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[control_parameter_socket_e].values.array[main->parameters.array[control_parameter_socket_e].values.used - 1];
status = f_string_dynamic_append(data->argv[index], &data->cache.small);
}
for (uint8_t i = 0; i < 3; ++i) {
if (append_ids[i] && main->parameters.array[append_ids[i]].result & f_console_result_value_e) {
- const f_array_length_t index = main->parameters.array[append_ids[i]].values.array[main->parameters.array[append_ids[i]].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[append_ids[i]].values.array[main->parameters.array[append_ids[i]].values.used - 1];
status = f_string_dynamic_append(data->argv[index], &data->cache.small);
}
f_string_ranges_resize(0, &objects);
f_string_rangess_resize(0, &contents);
- f_array_lengths_resize(0, &delimits);
+ f_number_unsigneds_resize(0, &delimits);
data->cache.large.used = 0;
data->cache.small.used = 0;
}
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
f_string_dynamics_resize(0, &cache->expanded);
- f_array_lengths_resize(0, &cache->ats);
- f_array_lengths_resize(0, &cache->stack);
- f_array_lengths_resize(0, &cache->delimits);
+ f_number_unsigneds_resize(0, &cache->ats);
+ f_number_unsigneds_resize(0, &cache->stack);
+ f_number_unsigneds_resize(0, &cache->delimits);
f_string_ranges_resize(0, &cache->comments);
f_string_ranges_resize(0, &cache->content_action);
*/
#ifndef _di_controller_cache_action_t_
typedef struct {
- f_array_length_t line_action;
- f_array_length_t line_item;
+ f_number_unsigned_t line_action;
+ f_number_unsigned_t line_item;
f_string_dynamic_t name_action;
f_string_dynamic_t name_file;
f_string_range_t range_action;
- f_array_lengths_t ats;
- f_array_lengths_t stack;
+ f_number_unsigneds_t ats;
+ f_number_unsigneds_t stack;
f_fss_comments_t comments;
f_fss_delimits_t delimits;
#define controller_cache_t_initialize { \
f_time_spec_t_initialize, \
f_string_range_t_initialize, \
- f_array_lengths_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
+ f_number_unsigneds_t_initialize, \
f_fss_comments_t_initialize, \
f_fss_delimits_t_initialize, \
f_fss_content_t_initialize, \
* @param cache
* The cache to deallocate.
*
- * @see macro_f_array_lengths_t_delete_simple()
+ * @see macro_f_number_unsigneds_t_delete_simple()
* @see macro_f_fss_delimits_t_delete_simple()
*
* @see controller_cache_action_delete_simple()
#endif // _di_controller_entry_actions_delete_simple_
#ifndef _di_controller_entry_actions_increase_by_
- f_status_t controller_entry_actions_increase_by(const f_array_length_t amount, controller_entry_actions_t * const actions) {
+ f_status_t controller_entry_actions_increase_by(const f_number_unsigned_t amount, controller_entry_actions_t * const actions) {
if (actions->used + amount > actions->size) {
- if (actions->used + amount > F_array_length_t_size_d) {
+ if (actions->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
#endif // _di_controller_entry_items_delete_simple_
#ifndef _di_controller_entry_items_increase_by_
- f_status_t controller_entry_items_increase_by(const f_array_length_t amount, controller_entry_items_t * const items) {
+ f_status_t controller_entry_items_increase_by(const f_number_unsigned_t amount, controller_entry_items_t * const items) {
if (items->used + amount > items->size) {
- if (items->used + amount > F_array_length_t_size_d) {
+ if (items->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
uint8_t code;
uint8_t flag;
- f_array_length_t line;
+ f_number_unsigned_t line;
f_number_unsigned_t number;
f_status_t status;
typedef struct {
controller_entry_action_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} controller_entry_actions_t;
#define controller_entry_actions_t_initialize { \
*/
#ifndef _di_controller_entry_item_t_
typedef struct {
- f_array_length_t line;
+ f_number_unsigned_t line;
f_string_dynamic_t name;
controller_entry_actions_t actions;
typedef struct {
controller_entry_item_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} controller_entry_items_t;
#define controller_entry_items_t_initialize { \
* @see f_memory_resize()
*/
#ifndef _di_controller_entry_actions_increase_by_
- extern f_status_t controller_entry_actions_increase_by(const f_array_length_t amount, controller_entry_actions_t * const actions) F_attribute_visibility_internal_d;
+ extern f_status_t controller_entry_actions_increase_by(const f_number_unsigned_t amount, controller_entry_actions_t * const actions) F_attribute_visibility_internal_d;
#endif // _di_controller_entry_actions_increase_by_
/**
* @see f_memory_resize()
*/
#ifndef _di_controller_entry_items_increase_by_
- extern f_status_t controller_entry_items_increase_by(const f_array_length_t amount, controller_entry_items_t * const items) F_attribute_visibility_internal_d;
+ extern f_status_t controller_entry_items_increase_by(const f_number_unsigned_t amount, controller_entry_items_t * const items) F_attribute_visibility_internal_d;
#endif // _di_controller_entry_items_increase_by_
#ifdef __cplusplus
f_status_t controller_pids_increase(controller_pids_t * const pids) {
if (pids->used + 1 > pids->size) {
- f_array_length_t size = pids->used + controller_common_allocation_small_d;
+ f_number_unsigned_t size = pids->used + controller_common_allocation_small_d;
- if (size > F_array_length_t_size_d) {
- if (pids->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (pids->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return controller_pids_resize(size, pids);
#endif // _di_controller_pids_increase_
#ifndef _di_controller_pids_resize_
- f_status_t controller_pids_resize(const f_array_length_t length, controller_pids_t * const pids) {
+ f_status_t controller_pids_resize(const f_number_unsigned_t length, controller_pids_t * const pids) {
const f_status_t status = f_memory_resize(pids->size, length, sizeof(controller_rule_t), (void **) & pids->array);
if (F_status_is_error(status)) return status;
f_string_dynamics_resize(0, &process->path_pids);
- f_array_lengths_resize(0, &process->stack);
+ f_number_unsigneds_resize(0, &process->stack);
}
#endif // _di_controller_process_delete_simple_
f_status_t controller_processs_increase(controller_processs_t * const processs) {
if (processs->used + 1 > processs->size) {
- f_array_length_t size = processs->used + controller_common_allocation_small_d;
+ f_number_unsigned_t size = processs->used + controller_common_allocation_small_d;
- if (size > F_array_length_t_size_d) {
- if (processs->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (processs->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return controller_processs_resize(size, processs);
#endif // _di_controller_processs_increase_
#ifndef _di_controller_processs_resize_
- f_status_t controller_processs_resize(const f_array_length_t length, controller_processs_t * const processs) {
+ f_status_t controller_processs_resize(const f_number_unsigned_t length, controller_processs_t * const processs) {
f_status_t status = F_none;
- for (f_array_length_t i = length; i < processs->size; ++i) {
+ for (f_number_unsigned_t i = length; i < processs->size; ++i) {
if (processs->array[i]) {
controller_process_delete_simple(processs->array[i]);
- f_memory_delete(1, sizeof(f_array_length_t *), (void **) & processs->array[i]);
+ f_memory_delete(1, sizeof(f_number_unsigned_t *), (void **) & processs->array[i]);
}
} // for
return status;
}
- for (f_array_length_t i = 0; i < controller_rule_action_type__enum_size_e; ++i) {
+ for (f_number_unsigned_t i = 0; i < controller_rule_action_type__enum_size_e; ++i) {
process->rule.status[i] = F_known_not;
} // for
} // for
typedef struct {
pid_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} controller_pids_t;
#define controller_pids_t_initialize { \
};
typedef struct {
- f_array_length_t id;
+ f_number_unsigned_t id;
uint8_t state;
uint8_t action;
f_thread_mutex_t wait_lock;
controller_cache_t cache;
- f_array_lengths_t stack;
+ f_number_unsigneds_t stack;
f_string_dynamics_t path_pids;
f_thread_lock_t_initialize, \
f_thread_condition_t_initialize, \
controller_cache_t_initialize, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
f_string_dynamics_t_initialize, \
controller_pids_t_initialize, \
controller_rule_t_initialize, \
typedef struct {
controller_process_t **array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} controller_processs_t;
#define controller_processs_t_initialize { \
/**
* Increase the size of the pid array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param pids
* @see f_memory_resize()
*/
#ifndef _di_controller_pids_resize_
- extern f_status_t controller_pids_resize(const f_array_length_t length, controller_pids_t * const pids) F_attribute_visibility_internal_d;
+ extern f_status_t controller_pids_resize(const f_number_unsigned_t length, controller_pids_t * const pids) F_attribute_visibility_internal_d;
#endif // _di_controller_pids_resize_
/**
/**
* Increase the size of the rule array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param processs
* @see f_thread_lock_create()
*/
#ifndef _di_controller_processs_resize_
- extern f_status_t controller_processs_resize(const f_array_length_t length, controller_processs_t * const processs) F_attribute_visibility_internal_d;
+ extern f_status_t controller_processs_resize(const f_number_unsigned_t length, controller_processs_t * const processs) F_attribute_visibility_internal_d;
#endif // _di_controller_processs_resize_
#ifdef __cplusplus
#endif // _di_controller_rule_actions_delete_simple_
#ifndef _di_controller_rule_actions_increase_by_
- f_status_t controller_rule_actions_increase_by(const f_array_length_t amount, controller_rule_actions_t * const actions) {
+ f_status_t controller_rule_actions_increase_by(const f_number_unsigned_t amount, controller_rule_actions_t * const actions) {
if (actions->used + amount > actions->size) {
- if (actions->used + amount > F_array_length_t_size_d) {
+ if (actions->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
f_status_t controller_rule_ons_increase(controller_rule_ons_t * const ons) {
if (ons->used + 1 > ons->size) {
- f_array_length_t size = ons->used + controller_common_allocation_small_d;
+ f_number_unsigned_t size = ons->used + controller_common_allocation_small_d;
- if (size > F_array_length_t_size_d) {
- if (ons->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (ons->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return controller_rule_ons_resize(size, ons);
#endif // _di_controller_rule_ons_increase_
#ifndef _di_controller_rule_ons_resize_
- f_status_t controller_rule_ons_resize(const f_array_length_t length, controller_rule_ons_t * const ons) {
+ f_status_t controller_rule_ons_resize(const f_number_unsigned_t length, controller_rule_ons_t * const ons) {
- for (f_array_length_t i = length; i < ons->size; ++i) {
+ for (f_number_unsigned_t i = length; i < ons->size; ++i) {
controller_rule_on_delete_simple(&ons->array[i]);
} // for
f_status_t controller_rules_increase(controller_rules_t * const rules) {
if (rules->used + 1 > rules->size) {
- f_array_length_t size = rules->used + controller_common_allocation_small_d;
+ f_number_unsigned_t size = rules->used + controller_common_allocation_small_d;
- if (size > F_array_length_t_size_d) {
- if (rules->used + 1 > F_array_length_t_size_d) {
+ if (size > F_number_t_size_unsigned_d) {
+ if (rules->used + 1 > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
- size = F_array_length_t_size_d;
+ size = F_number_t_size_unsigned_d;
}
return controller_rules_resize(size, rules);
#endif // _di_controller_rules_increase_
#ifndef _di_controller_rules_resize_
- f_status_t controller_rules_resize(const f_array_length_t length, controller_rules_t * const rules) {
+ f_status_t controller_rules_resize(const f_number_unsigned_t length, controller_rules_t * const rules) {
- for (f_array_length_t i = length; i < rules->size; ++i) {
+ for (f_number_unsigned_t i = length; i < rules->size; ++i) {
controller_rule_delete_simple(&rules->array[i]);
} // for
typedef struct {
uint8_t type;
- f_array_length_t line;
+ f_number_unsigned_t line;
f_status_t status;
f_string_dynamics_t parameters;
typedef struct {
controller_rule_action_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} controller_rule_actions_t;
#define controller_rule_actions_t_initialize { \
typedef struct {
uint8_t type;
uint8_t with;
- f_array_length_t line;
+ f_number_unsigned_t line;
f_string_dynamic_t pid_file;
controller_rule_rerun_t reruns[controller_rule_action_execute_type__enum_size_e];
typedef struct {
controller_rule_item_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} controller_rule_items_t;
#define controller_rule_items_initialize { \
typedef struct {
controller_rule_on_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} controller_rule_ons_t;
#define controller_rule_ons_t_initialize { \
typedef struct {
controller_rule_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} controller_rules_t;
#define controller_rules_t_initialize { \
* Errors (with error bit) from: f_memory_resize().
*/
#ifndef _di_controller_rule_actions_increase_by_
- extern f_status_t controller_rule_actions_increase_by(const f_array_length_t amount, controller_rule_actions_t * const actions) F_attribute_visibility_internal_d;
+ extern f_status_t controller_rule_actions_increase_by(const f_number_unsigned_t amount, controller_rule_actions_t * const actions) F_attribute_visibility_internal_d;
#endif // _di_controller_rule_actions_increase_by_
/**
/**
* Increase the size of the Rule array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param ons
* @see f_memory_resize()
*/
#ifndef _di_controller_rule_ons_resize_
- extern f_status_t controller_rule_ons_resize(const f_array_length_t length, controller_rule_ons_t * const ons) F_attribute_visibility_internal_d;
+ extern f_status_t controller_rule_ons_resize(const f_number_unsigned_t length, controller_rule_ons_t * const ons) F_attribute_visibility_internal_d;
#endif // _di_controller_rule_ons_resize_
/**
/**
* Increase the size of the Rule array, but only if necessary.
*
- * If the given length is too large for the buffer, then attempt to set max buffer size (F_array_length_t_size_d).
+ * If the given length is too large for the buffer, then attempt to set max buffer size (F_number_t_size_unsigned_d).
* If already set to the maximum buffer size, then the resize will fail.
*
* @param rules
* @see f_memory_resize()
*/
#ifndef _di_controller_rules_resize_
- extern f_status_t controller_rules_resize(const f_array_length_t length, controller_rules_t * const rules) F_attribute_visibility_internal_d;
+ extern f_status_t controller_rules_resize(const f_number_unsigned_t length, controller_rules_t * const rules) F_attribute_visibility_internal_d;
#endif // _di_controller_rules_resize_
#ifdef __cplusplus
uint8_t ready;
uint8_t mode;
- f_array_length_t failsafe_item_id;
+ f_number_unsigned_t failsafe_item_id;
controller_control_t control;
if (F_status_is_error(status)) return;
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
status = F_status_set_error(F_parameter);
}
else if (main->parameters.array[controller_parameter_settings_e].locations.used) {
- const f_array_length_t index = main->parameters.array[controller_parameter_settings_e].values.array[main->parameters.array[controller_parameter_settings_e].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[controller_parameter_settings_e].values.array[main->parameters.array[controller_parameter_settings_e].values.used - 1];
status = controller_path_canonical_relative(&setting, argv[index], &setting.path_setting);
else if (main->parameters.array[controller_parameter_pid_e].locations.used) {
setting.path_pid.used = 0;
- const f_array_length_t index = main->parameters.array[controller_parameter_pid_e].values.array[main->parameters.array[controller_parameter_pid_e].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[controller_parameter_pid_e].values.array[main->parameters.array[controller_parameter_pid_e].values.used - 1];
if (argv[index].used) {
status = controller_path_canonical_relative(&setting, argv[index], &setting.path_pid);
status = F_status_set_error(F_parameter);
}
else if (main->parameters.array[controller_parameter_cgroup_e].locations.used) {
- const f_array_length_t index = main->parameters.array[controller_parameter_cgroup_e].values.array[main->parameters.array[controller_parameter_cgroup_e].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[controller_parameter_cgroup_e].values.array[main->parameters.array[controller_parameter_cgroup_e].values.used - 1];
if (argv[index].used) {
status = controller_path_canonical_relative(&setting, argv[index], &setting.path_cgroup);
const f_string_range_t range = macro_f_string_range_t_initialize_2(setting->path_current.used);
if (f_compare_dynamic_partial_string(destination->string, setting->path_current, destination->used, range) == F_equal_to) {
- f_array_length_t length = destination->used - setting->path_current.used;
+ f_number_unsigned_t length = destination->used - setting->path_current.used;
if (length) {
f_char_t temporary[--length];
if (status == F_false) return F_false;
}
- for (f_array_length_t i = macro_f_utf_byte_width(name.string[0]); i < name.used; i += macro_f_utf_byte_width(name.string[i])) {
+ for (f_number_unsigned_t i = macro_f_utf_byte_width(name.string[0]); i < name.used; i += macro_f_utf_byte_width(name.string[i])) {
if (name.string[i] == '_') continue;
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < name.used; i += macro_f_utf_byte_width(name.string[i])) {
+ for (f_number_unsigned_t i = 0; i < name.used; i += macro_f_utf_byte_width(name.string[i])) {
status = f_utf_is_graph(name.string, name.used);
controller_entry_action_t *action = 0;
- f_array_length_t allocate = 0;
- f_array_length_t at_least = 0;
- f_array_length_t at_most = 0;
+ f_number_unsigned_t allocate = 0;
+ f_number_unsigned_t at_least = 0;
+ f_number_unsigned_t at_most = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
for (; i < cache->object_actions.used; ++i) {
f_status_t status = F_none;
f_status_t status2 = F_none;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
- f_array_length_t at_i = 0;
- f_array_length_t at_j = 1;
+ f_number_unsigned_t at_i = 0;
+ f_number_unsigned_t at_j = 1;
controller_entry_t *entry = is_entry ? &global.setting->entry : &global.setting->exit;
controller_entry_actions_t *actions = 0;
cache->action.name_action.used = 0;
cache->action.name_item.used = 0;
- macro_f_array_lengths_t_increase_by(status, cache->ats, controller_common_allocation_small_d)
+ macro_f_number_unsigneds_t_increase_by(status, cache->ats, controller_common_allocation_small_d)
if (F_status_is_error(status)) {
- controller_entry_print_error(is_entry, global.main->error, cache->action, F_status_set_fine(status), "macro_f_array_lengths_t_increase_by", F_true, global.thread);
+ controller_entry_print_error(is_entry, global.main->error, cache->action, F_status_set_fine(status), "macro_f_number_unsigneds_t_increase_by", F_true, global.thread);
return status;
}
if (error_has) break;
- macro_f_array_lengths_t_increase_by(status2, cache->ats, controller_common_allocation_small_d)
+ macro_f_number_unsigneds_t_increase_by(status2, cache->ats, controller_common_allocation_small_d)
if (F_status_is_error(status2)) {
- controller_entry_print_error(is_entry, global.main->error, cache->action, F_status_set_fine(status2), "macro_f_array_lengths_t_increase_by", F_true, global.thread);
+ controller_entry_print_error(is_entry, global.main->error, cache->action, F_status_set_fine(status2), "macro_f_number_unsigneds_t_increase_by", F_true, global.thread);
return status2;
}
f_status_t status = F_none;
f_status_t status_lock = F_none;
- f_array_length_t at_i = 0;
- f_array_length_t at_j = 1;
+ f_number_unsigned_t at_i = 0;
+ f_number_unsigned_t at_j = 1;
uint8_t options_force = 0;
uint8_t options_process = 0;
controller_entry_actions_t *entry_actions = 0;
// An empty stack is used here because each rule here is the first rule run in the rule's scope.
- const f_array_lengths_t stack = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t stack = f_number_unsigneds_t_initialize;
cache->ats.used = 0;
cache->stack.used = 0;
cache->action.name_action.used = 0;
cache->action.name_item.used = 0;
- macro_f_array_lengths_t_increase_by(status, cache->ats, controller_common_allocation_small_d)
+ macro_f_number_unsigneds_t_increase_by(status, cache->ats, controller_common_allocation_small_d)
if (F_status_is_error(status)) {
- controller_entry_print_error(is_entry, global->main->error, cache->action, F_status_set_fine(status), "macro_f_array_lengths_t_increase_by", F_true, global->thread);
+ controller_entry_print_error(is_entry, global->main->error, cache->action, F_status_set_fine(status), "macro_f_number_unsigneds_t_increase_by", F_true, global->thread);
return status;
}
return F_status_is_error(F_critical);
}
- macro_f_array_lengths_t_increase_by(status, cache->ats, controller_common_allocation_small_d)
+ macro_f_number_unsigneds_t_increase_by(status, cache->ats, controller_common_allocation_small_d)
if (F_status_is_error(status)) {
- controller_entry_print_error(is_entry, global->main->error, cache->action, F_status_set_fine(status), "macro_f_array_lengths_t_increase_by", F_true, global->thread);
+ controller_entry_print_error(is_entry, global->main->error, cache->action, F_status_set_fine(status), "macro_f_number_unsigneds_t_increase_by", F_true, global->thread);
return status;
}
return status;
}
- const f_array_length_t id_rule_length = entry_action->parameters.array[0].used + entry_action->parameters.array[1].used + 1;
+ const f_number_unsigned_t id_rule_length = entry_action->parameters.array[0].used + entry_action->parameters.array[1].used + 1;
f_char_t id_rule_name[id_rule_length + 1];
const f_string_static_t alias_rule = macro_f_string_static_t_initialize_1(id_rule_name, 0, id_rule_length);
if (status != F_true) {
// Rule execution will re-use the existing cache, so save the current cache.
- const f_array_length_t cache_line_action = cache->action.line_action;
- const f_array_length_t cache_line_item = cache->action.line_item;
+ const f_number_unsigned_t cache_line_action = cache->action.line_action;
+ const f_number_unsigned_t cache_line_item = cache->action.line_item;
- const f_array_length_t cache_name_action_used = cache->action.name_action.used;
- const f_array_length_t cache_name_item_used = cache->action.name_item.used;
- const f_array_length_t cache_name_file_used = cache->action.name_file.used;
+ const f_number_unsigned_t cache_name_action_used = cache->action.name_action.used;
+ const f_number_unsigned_t cache_name_item_used = cache->action.name_item.used;
+ const f_number_unsigned_t cache_name_file_used = cache->action.name_file.used;
f_char_t cache_name_action[cache_name_action_used];
f_char_t cache_name_item[cache_name_item_used];
fl_print_format("%r%Q is executing '", global->main->output.to, f_string_eol_s, is_entry ? controller_entry_s : controller_exit_s);
- for (f_array_length_t k = 0; k < entry_action->parameters.used; ++k) {
+ for (f_number_unsigned_t k = 0; k < entry_action->parameters.used; ++k) {
fl_print_format("%[%Q%]", global->main->output.to, global->main->context.set.title, entry_action->parameters.array[k], global->main->context.set.title);
cache->content_action.used = 0;
{
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < cache->content_actions.used; ++i) {
cache->content_actions.array[i].used = 0;
f_string_range_t *range = 0;
- f_array_length_t at = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
f_state_t state = f_state_t_initialize;
if (F_status_is_error_not(status)) {
controller_entry_action_t *action = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t k = 0;
// 0x1 = missing or not, 0x2 = one or more missing.
uint8_t missing = 0;
cache->delimits.used = 0;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
controller_entry_t *entry = is_entry ? &global.setting->entry : &global.setting->exit;
f_state_t state = f_state_t_initialize;
const f_string_static_t *string = 0;
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
fl_print_format("%r%Q %[%Q%] {%r", global.main->output.to.stream, f_string_eol_s, is_entry ? controller_Entry_s : controller_Exit_s, global.main->context.set.title, controller_settings_s, global.main->context.set.title, f_string_eol_s);
if (entry->items.used) {
controller_entry_action_t *action = 0;
bool raw = F_false;
- f_array_length_t k = 0;
+ f_number_unsigned_t k = 0;
for (i = 0; i < entry->items.used; ++i) {
* F_recurse (with error bit) on a recursion error.
* F_valid_not (with error bit) on invalid entry item, entry item action, or entry item action value.
*
- * Errors (with error bit) from: macro_f_array_lengths_t_increase_by().
+ * Errors (with error bit) from: macro_f_number_unsigneds_t_increase_by().
* Errors (with error bit) from: f_string_dynamic_append().
*
* This will detect and report all errors, but only the first error is returned.
* Memory related errors return immediately.
- * @see macro_f_array_lengths_t_increase_by()
+ * @see macro_f_number_unsigneds_t_increase_by()
* @see f_string_dynamic_append()
*/
#ifndef _di_controller_entry_preprocess_
*
* Errors (with error bit) from: f_string_dynamic_append_nulless().
*
- * Errors (with error bit) from: macro_f_array_lengths_t_increase_by().
+ * Errors (with error bit) from: macro_f_number_unsigneds_t_increase_by().
* Errors (with error bit) from: controller_perform_ready().
*
* @see f_string_dynamic_append_nulless()
*
- * @see macro_f_array_lengths_t_increase_by()
+ * @see macro_f_number_unsigneds_t_increase_by()
* @see controller_perform_ready()
*/
#ifndef _di_controller_entry_process_
#ifndef _di_controller_entry_action_parameters_print_
void controller_entry_action_parameters_print(FILE * const stream, const controller_entry_action_t action) {
- for (f_array_length_t index = 0; ;) {
+ for (f_number_unsigned_t index = 0; ;) {
f_print_dynamic_safely(action.parameters.array[index], stream);
#endif // _di_controller_entry_setting_read_print_error_with_range_
#ifndef _di_controller_entry_settings_read_print_setting_ignored_
- void controller_entry_settings_read_print_setting_ignored(const controller_global_t global, const bool is_entry, const controller_cache_t cache, const f_array_length_t index) {
+ void controller_entry_settings_read_print_setting_ignored(const controller_global_t global, const bool is_entry, const controller_cache_t cache, const f_number_unsigned_t index) {
if (global.main->warning.verbosity != f_console_verbosity_debug_e) return;
#endif // _di_controller_entry_settings_read_print_setting_unknown_action_
#ifndef _di_controller_entry_settings_read_print_setting_unknown_action_value_
- void controller_entry_settings_read_print_setting_unknown_action_value(const controller_global_t global, const bool is_entry, const controller_cache_t cache, const f_array_length_t index) {
+ void controller_entry_settings_read_print_setting_unknown_action_value(const controller_global_t global, const bool is_entry, const controller_cache_t cache, const f_number_unsigned_t index) {
if (global.main->warning.verbosity != f_console_verbosity_debug_e) return;
* The expected number of arguments.
*/
#ifndef _di_controller_entry_settings_read_print_setting_ignored_
- extern void controller_entry_settings_read_print_setting_ignored(const controller_global_t global, const bool is_entry, const controller_cache_t cache, const f_array_length_t index) F_attribute_visibility_internal_d;
+ extern void controller_entry_settings_read_print_setting_ignored(const controller_global_t global, const bool is_entry, const controller_cache_t cache, const f_number_unsigned_t index) F_attribute_visibility_internal_d;
#endif // _di_controller_entry_settings_read_print_setting_ignored_
/**
* The location in the content actions array representing the action value.
*/
#ifndef _di_controller_entry_settings_read_print_setting_unknown_action_value_
- extern void controller_entry_settings_read_print_setting_unknown_action_value(const controller_global_t global, const bool is_entry, const controller_cache_t cache, const f_array_length_t index) F_attribute_visibility_internal_d;
+ extern void controller_entry_settings_read_print_setting_unknown_action_value(const controller_global_t global, const bool is_entry, const controller_cache_t cache, const f_number_unsigned_t index) F_attribute_visibility_internal_d;
#endif // _di_controller_entry_settings_read_print_setting_unknown_action_value_
#ifdef __cplusplus
#endif
#ifndef _di_controller_process_find_
- f_status_t controller_process_find(const f_array_length_t action, const f_string_static_t alias, const controller_processs_t processs, f_array_length_t *at) {
+ f_status_t controller_process_find(const f_number_unsigned_t action, const f_string_static_t alias, const controller_processs_t processs, f_number_unsigned_t *at) {
if (!alias.used) return F_none;
if (!processs.used) return F_false;
- for (f_array_length_t i = 0; i < processs.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < processs.used; ++i) {
if (processs.array[i] && processs.array[i]->action == action && f_compare_dynamic(alias, processs.array[i]->rule.alias) == F_equal_to) {
if (at) *at = i;
#endif // _di_controller_process_find_
#ifndef _di_controller_process_prepare_
- f_status_t controller_process_prepare(const controller_global_t global, const bool is_normal, const uint8_t action, const f_string_static_t alias, f_array_length_t *id) {
+ f_status_t controller_process_prepare(const controller_global_t global, const bool is_normal, const uint8_t action, const f_string_static_t alias, f_number_unsigned_t *id) {
f_status_t status = F_none;
#endif // _di_controller_process_prepare_
#ifndef _di_controller_process_prepare_process_type_
- f_status_t controller_process_prepare_process_type(const controller_global_t global, const uint8_t type, const uint8_t action, const f_string_static_t alias, f_array_length_t *id) {
+ f_status_t controller_process_prepare_process_type(const controller_global_t global, const uint8_t type, const uint8_t action, const f_string_static_t alias, f_number_unsigned_t *id) {
return controller_process_prepare(global, type != controller_process_type_exit_e, action, alias, id);
}
* @see controller_lock_write()
*/
#ifndef _di_controller_process_prepare_
- extern f_status_t controller_process_prepare(const controller_global_t global, const bool is_normal, const uint8_t action, const f_string_static_t alias, f_array_length_t *id) F_attribute_visibility_internal_d;
+ extern f_status_t controller_process_prepare(const controller_global_t global, const bool is_normal, const uint8_t action, const f_string_static_t alias, f_number_unsigned_t *id) F_attribute_visibility_internal_d;
#endif // _di_controller_process_prepare_
/**
* @see controller_process_prepare()
*/
#ifndef _di_controller_process_prepare_process_type_
- extern f_status_t controller_process_prepare_process_type(const controller_global_t global, const uint8_t type, const uint8_t action, const f_string_static_t alias, f_array_length_t *id) F_attribute_visibility_internal_d;
+ extern f_status_t controller_process_prepare_process_type(const controller_global_t global, const uint8_t type, const uint8_t action, const f_string_static_t alias, f_number_unsigned_t *id) F_attribute_visibility_internal_d;
#endif // _di_controller_process_prepare_process_type_
/**
* F_true if there is a process found (address is stored in "at").
*/
#ifndef _di_controller_process_find_
- f_status_t controller_process_find(const f_array_length_t action, const f_string_static_t alias, const controller_processs_t processs, f_array_length_t *at) F_attribute_visibility_internal_d;
+ f_status_t controller_process_find(const f_number_unsigned_t action, const f_string_static_t alias, const controller_processs_t processs, f_number_unsigned_t *at) F_attribute_visibility_internal_d;
#endif // _di_controller_process_find_
/***
#endif // _di_controller_rule_action_method_name_
#ifndef _di_controller_rule_find_
- f_status_t controller_rule_find(const f_string_static_t alias, const controller_rules_t rules, f_array_length_t *at) {
+ f_status_t controller_rule_find(const f_string_static_t alias, const controller_rules_t rules, f_number_unsigned_t *at) {
if (!alias.used) return F_none;
if (!rules.used) return F_false;
- for (f_array_length_t i = 0; i < rules.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < rules.used; ++i) {
if (f_compare_dynamic(alias, rules.array[i].alias) == F_equal_to) {
if (at) *at = i;
f_string_range_t range = f_string_range_t_initialize;
- for (f_array_length_t i = 0; i < content->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < content->used; ++i) {
if (content->array[i].start > content->array[i].stop) continue;
controller_state_interrupt_t custom = macro_controller_state_interrupt_t_initialize_1(is_normal, global.thread);
f_state_t state = macro_f_state_t_initialize_1(controller_common_allocation_large_d, controller_common_allocation_small_d, F_none, 0, 0, 0, &controller_thread_signal_state_fss, 0, (void *) &custom, 0);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < cache->comments.size; ++i) {
#endif // _di_controller_rule_action_read_
#ifndef _di_controller_rule_action_read_rerun_number_
- f_status_t controller_rule_action_read_rerun_number(const controller_global_t global, const f_string_t name, controller_cache_t * const cache, f_array_length_t * const index, f_number_unsigned_t * const number) {
+ f_status_t controller_rule_action_read_rerun_number(const controller_global_t global, const f_string_t name, controller_cache_t * const cache, f_number_unsigned_t * const index, f_number_unsigned_t * const number) {
f_status_t status = F_none;
f_number_signed_t parsed = 0;
macro_f_control_group_t_delete_simple(destination->cgroup)
f_capability_delete(&destination->capability);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < controller_rule_action_type__enum_size_e; ++i) {
destination->status[i] = source.status[i];
if (F_status_is_error(status)) return status;
}
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
for (i = 0; i < source.items.used; ++i) {
f_status_t status = F_none;
f_status_t success = F_false;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
// Child processes should receive all signals and handle the signals as they see fit.
f_signal_how_t signals = f_signal_how_t_initialize;
pid_t *child = 0;
{
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
while (i < process->childs.used && process->childs.array[i]) {
++i;
fl_print_format("%]' with the arguments: '%[", main->output.to, main->context.set.title, main->context.set.important);
- for (f_array_length_t i = program.used ? 0 : 1; i < arguments.used; ++i) {
+ for (f_number_unsigned_t i = program.used ? 0 : 1; i < arguments.used; ++i) {
if (program.used && i || !program.used && i > 1) {
f_print_dynamic_raw(f_string_space_s, main->output.to);
f_string_dynamic_t *child_pid_file = 0;
{
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
while (i < process->childs.used && process->childs.array[i]) {
++i;
fl_print_format("%]' with the arguments: '%[", main->error.to, main->context.set.title, main->context.set.important);
- for (f_array_length_t i = program.used ? 0 : 1; i < arguments.used; ++i) {
+ for (f_number_unsigned_t i = program.used ? 0 : 1; i < arguments.used; ++i) {
if (program.used && i || !program.used && i > 1) {
f_print_dynamic_raw(f_string_space_s, main->error.to);
f_status_t status = f_string_dynamics_increase_by(action.parameters.used, &process->cache.expanded);
if (F_status_is_error(status)) return status;
- f_array_length_t i = 0;
- f_array_length_t first = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t first = 0;
f_string_range_t range = f_string_range_t_initialize;
f_iki_data_t *iki_data = 0;
f_status_t status = F_none;
if (f_compare_dynamic_partial_string(controller_define_s.string, source, controller_define_s.used, vocabulary) == F_equal_to) {
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
// First check to see if the environment variable is overwritten by a "define".
for (; i < process->rule.define.used; ++i) {
}
}
else if (f_compare_dynamic_partial_string(controller_parameter_s.string, source, controller_parameter_s.used, vocabulary) == F_equal_to) {
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < process->rule.parameter.used; ++i) {
F_true, // socket.
};
- for (f_array_length_t i = 0; i < 17; ++i) {
+ for (f_number_unsigned_t i = 0; i < 17; ++i) {
if (f_compare_dynamic_partial_string(options[i].string, source, options[i].used, content) == F_equal_to) {
if (values[i]) {
if (parameters->array[codes[i]].result & f_console_result_value_e) {
- const f_array_length_t index = parameters->array[codes[i]].values.array[parameters->array[codes[i]].values.used - 1];
+ const f_number_unsigned_t index = parameters->array[codes[i]].values.array[parameters->array[codes[i]].values.used - 1];
status = f_string_dynamic_increase_by(symbols[i].used + expands[i].used + f_string_ascii_space_s.used + argv[index].used + 1, destination);
if (F_status_is_error(status)) return status;
if (f_compare_dynamic_partial_string(buffer.string, source, buffer.used, content) == F_equal_to) {
if (parameters->array[codes[i]].result & f_console_result_value_e) {
- const f_array_length_t index = parameters->array[codes[i]].values.array[parameters->array[codes[i]].values.used - 1];
+ const f_number_unsigned_t index = parameters->array[codes[i]].values.array[parameters->array[codes[i]].values.used - 1];
status = f_string_dynamic_append(argv[index], destination);
if (F_status_is_error(status)) return status;
controller_state_interrupt_t custom = macro_controller_state_interrupt_t_initialize_1(is_normal, global.thread);
f_state_t state = macro_f_state_t_initialize_1(controller_common_allocation_large_d, controller_common_allocation_small_d, F_none, 0, 0, 0, &controller_thread_signal_state_fss, 0, (void *) &custom, 0);
f_string_range_t range = macro_f_string_range_t_initialize_2(cache->buffer_item.used);
- f_array_length_t last = 0;
+ f_number_unsigned_t last = 0;
uint8_t type = 0;
uint8_t method = 0;
#endif // _di_controller_rule_item_read_
#ifndef _di_controller_rule_items_increase_by_
- f_status_t controller_rule_items_increase_by(const f_array_length_t amount, controller_rule_items_t * const items) {
+ f_status_t controller_rule_items_increase_by(const f_number_unsigned_t amount, controller_rule_items_t * const items) {
if (items->used + amount > items->size) {
- if (items->used + amount > F_array_length_t_size_d) {
+ if (items->used + amount > F_number_t_size_unsigned_d) {
return F_status_set_error(F_array_too_large);
}
controller_rule_validate(global, process->rule, process->action, process->options, &process->cache);
}
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
{
- f_array_length_t j = 0;
- f_array_length_t id_rule = 0;
- f_array_length_t id_dependency = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t id_rule = 0;
+ f_number_unsigned_t id_dependency = 0;
bool found = F_false;
if (process->options & controller_process_option_require_d) {
bool missing = F_true;
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
for (i = 0; i < process->rule.items.used; ++i) {
}
}
- f_array_length_t id_rule = 0;
+ f_number_unsigned_t id_rule = 0;
f_thread_unlock(&process->lock);
rule->status[process->action] = process->rule.status[process->action];
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
controller_rule_item_t *rule_item = 0;
#endif // _di_controller_rule_process_
#ifndef _di_controller_rule_process_begin_
- f_status_t controller_rule_process_begin(const controller_global_t global, const uint8_t options_force, const f_string_static_t alias_rule, const uint8_t action, const uint8_t options, const uint8_t type, const f_array_lengths_t stack, const controller_cache_t cache) {
+ f_status_t controller_rule_process_begin(const controller_global_t global, const uint8_t options_force, const f_string_static_t alias_rule, const uint8_t action, const uint8_t options, const uint8_t type, const f_number_unsigneds_t stack, const controller_cache_t cache) {
if (!controller_thread_is_enabled_process_type(type, global.thread)) {
return F_status_set_error(F_interrupt);
}
{
- f_array_length_t at = 0;
+ f_number_unsigned_t at = 0;
status = controller_process_prepare(global, type != controller_process_type_exit_e, action, alias_rule, &at);
if (F_status_is_error_not(status) && stack.used) {
if (process->stack.size < stack.used) {
- status = f_array_lengths_resize(stack.used, &process->stack);
+ status = f_number_unsigneds_resize(stack.used, &process->stack);
}
if (F_status_is_error(status)) {
- controller_print_error(global.thread, global.main->error, F_status_set_fine(status), "f_array_lengths_resize", F_true);
+ controller_print_error(global.thread, global.main->error, F_status_set_fine(status), "f_number_unsigneds_resize", F_true);
}
else {
- for (f_array_length_t i = 0; i < stack.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < stack.used; ++i) {
process->stack.array[i] = stack.array[i];
} // for
f_status_t status = F_none;
- f_array_length_t id_rule = 0;
+ f_number_unsigned_t id_rule = 0;
- const f_array_length_t used_original_stack = process->stack.used;
+ const f_number_unsigned_t used_original_stack = process->stack.used;
status_lock = controller_lock_read_process(process, global.thread, &global.thread->lock.rule);
return F_process_not;
}
else {
- for (f_array_length_t i = 0; i < process->stack.used && controller_thread_is_enabled_process(process, global.thread); ++i) {
+ for (f_number_unsigned_t i = 0; i < process->stack.used && controller_thread_is_enabled_process(process, global.thread); ++i) {
if (process->stack.array[i] == id_rule) {
if (global.main->error.verbosity > f_console_verbosity_quiet_e) {
}
if (F_status_is_error_not(status)) {
- status = f_array_lengths_increase(controller_common_allocation_small_d, &process->stack);
+ status = f_number_unsigneds_increase(controller_common_allocation_small_d, &process->stack);
if (F_status_is_error(status)) {
- controller_print_error(global.thread, global.main->error, F_status_set_fine(status), "f_array_lengths_increase", F_true);
+ controller_print_error(global.thread, global.main->error, F_status_set_fine(status), "f_number_unsigneds_increase", F_true);
}
else {
f_thread_unlock(&process->lock);
cache->action.name_item.used = 0;
{
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t l = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t l = 0;
for (i = 0; i < rule->cgroup.groups.size; ++i) {
rule->cgroup.groups.array[i].used = 0;
controller_print_error(global.thread, global.main->error, F_status_set_fine(status), "controller_rule_items_increase_by", F_true);
}
else {
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
f_state_t state = f_state_t_initialize;
for (; i < cache->object_items.used; ++i) {
f_string_dynamics_t *setting_values = 0;
f_string_maps_t *setting_maps = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
uint8_t type = 0;
uint8_t action = 0;
bool empty_disallow = F_true;
// Save the current name item and line number to restore on return.
- const f_array_length_t line_item = cache->action.line_item;
- const f_array_length_t length_name_item = cache->action.name_item.used;
+ const f_number_unsigned_t line_item = cache->action.line_item;
+ const f_number_unsigned_t length_name_item = cache->action.name_item.used;
f_char_t name_item[length_name_item];
name_item[length_name_item] = 0;
macro_f_int32s_t_increase_by(status, rule->groups, controller_common_allocation_small_d)
if (F_status_is_error(status)) {
- controller_rule_print_error(global.thread, global.main->error, cache->action, F_status_set_fine(status), "macro_f_array_lengths_t_increase_by", F_true, F_false);
+ controller_rule_print_error(global.thread, global.main->error, cache->action, F_status_set_fine(status), "macro_f_number_unsigneds_t_increase_by", F_true, F_false);
if (F_status_set_fine(status) == F_memory_not) {
status_return = status;
return;
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
// Find at least one of the requested action.
{
controller_rule_item_t *item = 0;
controller_rule_rerun_item_t *rerun_item = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t l = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t l = 0;
for (i = 0; i < rule.items.used; ++i) {
bool required_not_run = F_false;
bool skip = F_false;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
// Vuild a list of what to wait for so that anything new after this point will not be waited for.
- const f_array_length_t process_total = global.thread->processs.used;
+ const f_number_unsigned_t process_total = global.thread->processs.used;
controller_process_t *process_list[process_total];
for (; i < process_total; ++i) {
* F_false on success and rule was not found.
*/
#ifndef _di_controller_rule_find_
- extern f_status_t controller_rule_find(const f_string_static_t alias, const controller_rules_t rules, f_array_length_t *at) F_attribute_visibility_internal_d;
+ extern f_status_t controller_rule_find(const f_string_static_t alias, const controller_rules_t rules, f_number_unsigned_t *at) F_attribute_visibility_internal_d;
#endif // _di_controller_rule_find_
/**
* @see f_memory_resize()
*/
#ifndef _di_controller_rule_items_increase_by_
- extern f_status_t controller_rule_items_increase_by(const f_array_length_t amount, controller_rule_items_t * const items) F_attribute_visibility_internal_d;
+ extern f_status_t controller_rule_items_increase_by(const f_number_unsigned_t amount, controller_rule_items_t * const items) F_attribute_visibility_internal_d;
#endif // _di_controller_rule_items_increase_by_
/**
*
* This requires that a read lock be set on process->lock before being called.
*
- * This function is recursively called for each "need", "want", and "wish", and has a max recursion length of the max size of the f_array_lengths_t array.
+ * This function is recursively called for each "need", "want", and "wish", and has a max recursion length of the max size of the f_number_unsigneds_t array.
*
* The rule status will be updated by this function.
*
* @see f_thread_create()
*/
#ifndef _di_controller_rule_process_begin_
- extern f_status_t controller_rule_process_begin(const controller_global_t global, const uint8_t options_force, const f_string_static_t alias_rule, const uint8_t action, const uint8_t options, const uint8_t type, const f_array_lengths_t stack, const controller_cache_t cache) F_attribute_visibility_internal_d;
+ extern f_status_t controller_rule_process_begin(const controller_global_t global, const uint8_t options_force, const f_string_static_t alias_rule, const uint8_t action, const uint8_t options, const uint8_t type, const f_number_unsigneds_t stack, const controller_cache_t cache) F_attribute_visibility_internal_d;
#endif // _di_controller_rule_process_begin_
/**
* @see fl_conversion_dynamic_partial_to_signed_detect()
*/
#ifndef _di_controller_rule_action_read_rerun_number_
- extern f_status_t controller_rule_action_read_rerun_number(const controller_global_t global, const f_string_t name, controller_cache_t * const cache, f_array_length_t * const index, f_number_unsigned_t * const number) F_attribute_visibility_internal_d;
+ extern f_status_t controller_rule_action_read_rerun_number(const controller_global_t global, const f_string_t name, controller_cache_t * const cache, f_number_unsigned_t * const index, f_number_unsigned_t * const number) F_attribute_visibility_internal_d;
#endif // _di_controller_rule_action_read_rerun_number_
/**
#endif // _di_controller_rule_item_print_error_rule_not_loaded_
#ifndef _di_controller_rule_setting_read_print_error_
- void controller_rule_setting_read_print_error(const fl_print_t print, const f_string_t message, const f_array_length_t index, const f_array_length_t line_item, controller_thread_t * const thread, controller_cache_t * const cache) {
+ void controller_rule_setting_read_print_error(const fl_print_t print, const f_string_t message, const f_number_unsigned_t index, const f_number_unsigned_t line_item, controller_thread_t * const thread, controller_cache_t * const cache) {
if (print.verbosity == f_console_verbosity_quiet_e) return;
#endif // _di_controller_rule_setting_read_print_error_
#ifndef _di_controller_rule_setting_read_print_error_with_range_
- void controller_rule_setting_read_print_error_with_range(const fl_print_t print, const f_string_t before, const f_string_range_t range, const f_string_t after, const f_array_length_t index, const f_array_length_t line_item, controller_thread_t * const thread, controller_cache_t * const cache) {
+ void controller_rule_setting_read_print_error_with_range(const fl_print_t print, const f_string_t before, const f_string_range_t range, const f_string_t after, const f_number_unsigned_t index, const f_number_unsigned_t line_item, controller_thread_t * const thread, controller_cache_t * const cache) {
if (print.verbosity == f_console_verbosity_quiet_e) return;
#endif // _di_controller_rule_setting_read_print_value_
#ifndef _di_controller_rule_setting_read_print_values_
- void controller_rule_setting_read_print_values(const controller_global_t global, const f_string_static_t name, const f_array_length_t index, controller_cache_t * const cache) {
+ void controller_rule_setting_read_print_values(const controller_global_t global, const f_string_static_t name, const f_number_unsigned_t index, controller_cache_t * const cache) {
if (global.main->error.verbosity != f_console_verbosity_debug_e) {
if (!(global.main->error.verbosity == f_console_verbosity_verbose_e && (global.main->parameters.array[controller_parameter_simulate_e].result & f_console_result_found_e))) {
fl_print_format("%rProcessing rule item action '%[%Q%]' setting value to", global.main->output.to, f_string_eol_s, global.main->context.set.title, name, global.main->context.set.title);
- for (f_array_length_t j = 0; j < cache->content_actions.array[index].used; ++j) {
+ for (f_number_unsigned_t j = 0; j < cache->content_actions.array[index].used; ++j) {
fl_print_format(" '%[%/Q%]'", global.main->output.to, global.main->context.set.important, cache->buffer_item, cache->content_actions.array[index].array[j], global.main->context.set.important);
* @see controller_rule_setting_read()
*/
#ifndef _di_controller_rule_setting_read_print_error_
- extern void controller_rule_setting_read_print_error(const fl_print_t print, const f_string_t message, const f_array_length_t index, const f_array_length_t line_item, controller_thread_t * const thread, controller_cache_t * const cache) F_attribute_visibility_internal_d;
+ extern void controller_rule_setting_read_print_error(const fl_print_t print, const f_string_t message, const f_number_unsigned_t index, const f_number_unsigned_t line_item, controller_thread_t * const thread, controller_cache_t * const cache) F_attribute_visibility_internal_d;
#endif // _di_controller_rule_setting_read_print_error_
/**
* @see controller_rule_setting_read()
*/
#ifndef _di_controller_rule_setting_read_print_error_with_range_
- extern void controller_rule_setting_read_print_error_with_range(const fl_print_t print, const f_string_t before, const f_string_range_t range, const f_string_t after, const f_array_length_t index, const f_array_length_t line_item, controller_thread_t * const thread, controller_cache_t * const cache) F_attribute_visibility_internal_d;
+ extern void controller_rule_setting_read_print_error_with_range(const fl_print_t print, const f_string_t before, const f_string_range_t range, const f_string_t after, const f_number_unsigned_t index, const f_number_unsigned_t line_item, controller_thread_t * const thread, controller_cache_t * const cache) F_attribute_visibility_internal_d;
#endif // _di_controller_rule_setting_read_print_error_with_range_
/**
* A structure for containing and caching relevant data.
*/
#ifndef _di_controller_rule_setting_read_print_values_
- extern void controller_rule_setting_read_print_values(const controller_global_t global, const f_string_static_t name, const f_array_length_t index, controller_cache_t * const cache) F_attribute_visibility_internal_d;
+ extern void controller_rule_setting_read_print_values(const controller_global_t global, const f_string_static_t name, const f_number_unsigned_t index, controller_cache_t * const cache) F_attribute_visibility_internal_d;
#endif // _di_controller_rule_setting_read_print_values_
#ifdef __cplusplus
if (f_thread_lock_write_try(&global->thread->lock.process) == F_none) {
controller_process_t *process = 0;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < global->thread->processs.size && global->thread->enabled == controller_thread_enabled_e; ++i) {
// If process has a PID file, then it is running in the background, only cleanup if the PID file no longer exists.
if (process->path_pids.used) {
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
for (; j < process->path_pids.used; ++j) {
// Deallocate dynamic portions of the structure that are only ever needed while the process is running.
controller_cache_delete_simple(&process->cache);
- f_array_lengths_resize(0, &process->stack);
+ f_number_unsigneds_resize(0, &process->stack);
// Shrink the childs array.
if (process->childs.used) {
controller_process_t *process = 0;
f_status_t status = F_none;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
pid_t pid = 0;
if (is_normal) {
&main->setting.defines,
};
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (uint8_t s = 0; s < 12; ++s) {
#endif // _di_fake_build_arguments_standard_add_
#ifndef _di_fake_build_copy_
- void fake_build_copy(fake_data_t * const data, const f_mode_t mode, const f_string_static_t label, const f_string_static_t source, const f_string_static_t destination, const f_string_statics_t files, const f_string_static_t file_stage, const f_array_length_t perserve_offset) {
+ void fake_build_copy(fake_data_t * const data, const f_mode_t mode, const f_string_static_t label, const f_string_static_t source, const f_string_static_t destination, const f_string_statics_t files, const f_string_static_t file_stage, const f_number_unsigned_t perserve_offset) {
if (!data || !data->main) return;
if (data->main->setting.state.status == F_child) return;
return;
}
- for (f_array_length_t i = 0; i < files.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < files.used; ++i) {
if (fake_signal_check(main)) break;
if (!files.array[i].used) continue;
f_string_dynamic_t defines = f_string_dynamic_t_initialize;
if (main->setting.defines.used) {
- for (f_array_length_t i = 0; i < main->setting.defines.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->setting.defines.used; ++i) {
main->setting.state.status = f_string_dynamic_mash(f_string_space_s, main->setting.defines.array[i], &defines);
if (F_status_is_error(main->setting.state.status)) break;
return;
}
- for (f_array_length_t i = name->used; i > 0; --i) {
+ for (f_number_unsigned_t i = name->used; i > 0; --i) {
if (name->string[i] == f_path_extension_separator_s.string[0]) {
name->used = i;
fake_main_t * const main = data->main;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
f_string_static_t source = f_string_static_t_initialize;
fake_main_t * const main = data->main;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
const f_string_statics_t *sources[2] = {
generic,
* @see fll_program_print_signal_received()
*/
#ifndef _di_fake_build_copy_
- extern void fake_build_copy(fake_data_t * const data, const f_mode_t mode, const f_string_static_t label, const f_string_static_t source, const f_string_static_t destination, const f_string_statics_t files, const f_string_static_t file_stage, const f_array_length_t perserve_offset);
+ extern void fake_build_copy(fake_data_t * const data, const f_mode_t mode, const f_string_static_t label, const f_string_static_t source, const f_string_static_t destination, const f_string_statics_t files, const f_string_static_t file_stage, const f_number_unsigned_t perserve_offset);
#endif // _di_fake_build_copy_
/**
f_string_static_t parameter_file_name_micro = f_string_static_t_initialize;
f_string_static_t parameter_file_name_nano = f_string_static_t_initialize;
- f_array_length_t strings_length = 1;
+ f_number_unsigned_t strings_length = 1;
parameter_file_name.used = fake_build_parameter_library_name_prefix_s.used + data_build->setting.build_name.used + fake_build_parameter_library_name_suffix_shared_s.used;
fake_string_dynamic_reset(&main->cache_2);
fake_string_dynamics_reset(&main->cache_arguments);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < data_build->setting.build_indexer_arguments.used; ++i) {
}
if (F_status_is_error_not(main->setting.state.status)) {
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
const f_string_dynamics_t *sources[2] = {
&data_build->setting.build_sources_library,
fake_main_t * const main = data->main;
// Reset the environment.
- for (f_array_length_t i = 0; i < environment->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < environment->used; ++i) {
environment->array[i].name.used = 0;
environment->array[i].value.used = 0;
modes_custom.array = modes_custom_array;
if (build_arguments) {
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
if (build_arguments->used > 1) {
for (; i < modes_custom.used; ++i) {
bool found = F_false;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
for (; i < modes->used; ++i) {
5, // version_target
};
- for (f_array_length_t i = 0; i < 40; ++i) {
+ for (f_number_unsigned_t i = 0; i < 40; ++i) {
// Assign the default for literal and path types.
if (!settings_single_matches[i] && settings_single_destination[i]) {
&data_build->setting.build_sources_library_static,
};
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
uint8_t k = 0;
for (i = 0; i < 2; ++i) {
fake_build_print_message_skeleton_build_base(&main->program.message);
bool created = F_false;
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
for (uint8_t i = 0; i < 19; ++i) {
return;
}
- f_array_length_t j = 0;
- f_array_length_t index = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t index = 0;
{
uint8_t i = 0;
}
{
- static const f_array_length_t parameters[] = {
+ static const f_number_unsigned_t parameters[] = {
fake_parameter_build_e,
fake_parameter_data_e,
fake_parameter_documents_e,
}
{
- static const f_array_length_t parameters[] = {
+ static const f_number_unsigned_t parameters[] = {
fake_parameter_define_e,
fake_parameter_mode_e,
};
&main->setting.modes,
};
- f_array_length_t width_max = 0;
+ f_number_unsigned_t width_max = 0;
for (i = 0; i < 2; ++i) {
}
if (iki_data->delimits.used > fake_max_over_array_d) {
- f_array_lengths_resize(fake_allocation_large_d, &iki_data->delimits);
+ f_number_unsigneds_resize(fake_allocation_large_d, &iki_data->delimits);
}
if (iki_data->variable.used > fake_max_over_array_d) {
* @param iki_data
* The iki data to shrink.
*
- * @see f_array_lengths_resize()
+ * @see f_number_unsigneds_resize()
* @see f_string_ranges_resize()
*/
#ifndef _di_fake_iki_data_reset_
const f_string_t fake_f_a[] = {
"f_account_group_id_by_name",
"f_account_id_by_name",
- "f_array_lengths_increase",
+ "f_number_unsigneds_increase",
"f_compare_dynamic_partial",
"f_console_parameter_prioritize_right",
"f_console_parameter_process",
enum {
fake_f_f_account_group_id_by_name_e,
fake_f_f_account_id_by_name_e,
- fake_f_f_array_lengths_increase_e,
+ fake_f_f_number_unsigneds_increase_e,
fake_f_f_compare_dynamic_partial_e,
fake_f_f_console_parameter_prioritize_right_e,
fake_f_f_console_parameter_process_e,
f_fss_nameds_t fakefile;
- f_array_length_t id_main;
+ f_number_unsigned_t id_main;
fake_main_t *main;
fake_data_t *data;
}
if (F_status_is_error_not(main->setting.state.status)) {
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
// Pre-process and perform validation when "clean" is before a "build" or "make" command as a safety check.
{
f_print_dynamic(program, main->program.message.to);
- for (f_array_length_t i = 0; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->cache_arguments.used; ++i) {
if (!main->cache_arguments.array[i].used) continue;
];
if (parameter->result & f_console_result_value_e) {
- const f_array_length_t index = parameter->values.array[parameter->location];
+ const f_number_unsigned_t index = parameter->values.array[parameter->location];
if (f_path_is_absolute(main->program.parameters.arguments.array[index]) == F_true || f_path_is_relative_current(main->program.parameters.arguments.array[index]) == F_true) {
requireds[1] = F_none; // fake_long_data_s
if (F_status_is_error(data_make->main->setting.state.status)) {
f_string_ranges_resize(0, &list_objects);
f_string_rangess_resize(0, &list_contents);
- f_array_lengths_resize(0, &delimits);
+ f_number_unsigneds_resize(0, &delimits);
return;
}
f_fss_set_resize(0, &settings);
f_string_ranges_resize(0, &list_objects);
f_string_rangess_resize(0, &list_contents);
- f_array_lengths_resize(0, &delimits);
+ f_number_unsigneds_resize(0, &delimits);
return;
}
{
f_string_range_t content_range = f_string_range_t_initialize;
- for (f_array_length_t i = 0; i < list_objects.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < list_objects.used; ++i) {
if (fake_signal_check(data_make->main)) break;
f_string_ranges_resize(0, &list_objects);
f_string_rangess_resize(0, &list_contents);
- f_array_lengths_resize(0, &delimits);
+ f_number_unsigneds_resize(0, &delimits);
if (F_status_is_error(data_make->main->setting.state.status)) {
f_fss_set_resize(0, &settings);
data_make->setting_make.fail = fake_make_operation_fail_exit_e;
if (settings.objects.used) {
- for (f_array_length_t i = 0; i < settings.objects.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < settings.objects.used; ++i) {
if (f_compare_dynamic_partial_string(fake_make_setting_load_build_s.string, data_make->main->buffer, fake_make_setting_load_build_s.used, settings.objects.array[i]) == F_equal_to) {
fake_make_load_fakefile_setting_build(data_make, &settings.objects.array[i], &settings.contents.array[i]);
if (define.used) {
f_string_dynamic_t combined = f_string_dynamic_t_initialize;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
for (; i < define.used; ++i) {
f_string_dynamic_t name_define = f_string_dynamic_t_initialize;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
data_make->setting_build.flag |= data_build_setting_flag_has_environment_e;
// Each "return" define replaces the previous "return" define.
data_make->setting_make.parameter.array[0].value.array[0].used = 0;
- for (f_array_length_t i = 1; i < content->used; ++i) {
+ for (f_number_unsigned_t i = 1; i < content->used; ++i) {
data_make->main->setting.state.status = f_string_dynamic_partial_append_nulless(data_make->main->buffer, content->array[i], &data_make->setting_make.parameter.array[0].value.array[0]);
&data_make->parameter_value.mode,
};
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
for (uint8_t i = 0; i < 2; ++i) {
fake_make_print_message_now_making(&main->program.message, main->setting.fakefile);
- f_array_lengths_t section_stack = f_array_lengths_t_initialize;
+ f_number_unsigneds_t section_stack = f_number_unsigneds_t_initialize;
fake_make_data_t data_make = fake_make_data_t_initialize;
data_make.data = data;
data_make.error.custom = main;
if (main->program.parameters.remaining.used) {
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
f_string_range_t range = f_string_range_t_initialize;
- f_array_length_t index = 0;
+ f_number_unsigned_t index = 0;
main->setting.state.status = F_none;
f_file_stream_flush(data_make.path.top);
f_file_stream_close(&data_make.path.top);
- f_array_lengths_resize(0, §ion_stack);
+ f_number_unsigneds_resize(0, §ion_stack);
fake_make_data_delete(&data_make);
if (F_status_is_error_not(main->setting.state.status)) {
bool unmatched = F_true;
bool separate = F_false;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t l = 0;
- f_array_length_t m = 0;
- f_array_length_t n = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t l = 0;
+ f_number_unsigned_t m = 0;
+ f_number_unsigned_t n = 0;
const f_string_static_t reserved_name[] = {
fake_make_parameter_variable_build_s,
0, // modes_default
};
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
for (i = 0; i < 36; ++i) {
main->program.context.set.warning,
};
- for (f_array_length_t i = 0; i < 9; ++i) {
+ for (f_number_unsigned_t i = 0; i < 9; ++i) {
if (f_compare_dynamic_partial_string(context_name[i].string, main->buffer, context_name[i].used, range_name) == F_equal_to) {
context = context_value[i].before;
#endif // _di_fake_make_operate_expand_environment_
#ifndef _di_fake_make_operate_section_
- int fake_make_operate_section(fake_make_data_t * const data_make, const f_array_length_t id_section, f_array_lengths_t * const section_stack) {
+ int fake_make_operate_section(fake_make_data_t * const data_make, const f_number_unsigned_t id_section, f_number_unsigneds_t * const section_stack) {
if (!data_make || !data_make->main || !section_stack) return 0;
if (F_status_is_error(data_make->main->setting.state.status) || data_make->main->setting.state.status == F_child) return data_make->main->program.child;
}
// Add the operation id to the operation stack.
- main->setting.state.status = f_array_lengths_increase(main->setting.state.step_small, section_stack);
+ main->setting.state.status = f_number_unsigneds_increase(main->setting.state.step_small, section_stack);
if (F_status_is_error(main->setting.state.status)) {
- fake_print_error(&data_make->error, macro_fake_f(f_array_lengths_increase));
+ fake_print_error(&data_make->error, macro_fake_f(f_number_unsigneds_increase));
return 0;
}
fake_state_process_t state_process = fake_state_process_t_initialize;
int result;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
for (i = 0; i < section->objects.used; ++i, main->setting.state.status = F_none) {
* F_recurse (with error bit) is returned if unable to recurse to another operation section (usually max stack depth reached).
* F_valid_not (with error bit) is returned if any part of the section is invalid, such as an invalid operation name.
*
- * Errors (with error bit) from: f_array_lengths_increase()
+ * Errors (with error bit) from: f_number_unsigneds_increase()
*
* Errors (with error bit) from: fake_make_operate_block_postprocess()
* Errors (with error bit) from: fake_make_operate_block_prepare()
* The return code of the execution process.
* This generally is only needed when F_child is returned, where this holds the return status of the child process.
*
- * @see f_array_lengths_increase()
+ * @see f_number_unsigneds_increase()
* @see fll_program_print_signal_received()
*
* @see fake_make_operate_block_postprocess()
* @see fake_make_operate_validate()
*/
#ifndef _di_fake_make_operate_section_
- extern int fake_make_operate_section(fake_make_data_t * const data_make, const f_array_length_t id_section, f_array_lengths_t *section_stack);
+ extern int fake_make_operate_section(fake_make_data_t * const data_make, const f_number_unsigned_t id_section, f_number_unsigneds_t *section_stack);
#endif // _di_fake_make_operate_section_
#ifdef __cplusplus
#endif
#ifndef _di_fake_make_operate_process_
- int fake_make_operate_process(fake_make_data_t * const data_make, const f_string_range_t section_name, fake_state_process_t * const state_process, f_array_lengths_t * const section_stack) {
+ int fake_make_operate_process(fake_make_data_t * const data_make, const f_string_range_t section_name, fake_state_process_t * const state_process, f_number_unsigneds_t * const section_stack) {
if (!data_make || !data_make->main || !state_process || !section_stack) return 0;
if (data_make->main->setting.state.status == F_child) return data_make->main->program.child;
main->setting.state.status = f_string_dynamic_increase_by(source.used, destination);
if (F_status_is_error(main->setting.state.status)) return;
- for (f_array_length_t i = 0; i < source.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < source.used; ++i) {
// NULL characters are from delimited characters and must be skipped.
if (!source.string[i]) continue;
}
// Reset the environment.
- for (f_array_length_t i = 0; i < data_make->environment.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < data_make->environment.used; ++i) {
data_make->environment.array[i].name.used = 0;
data_make->environment.array[i].value.used = 0;
* @see fake_make_operate_process_type_write()
*/
#ifndef _di_fake_make_operate_process_
- extern int fake_make_operate_process(fake_make_data_t * const data_make, const f_string_range_t section_name, fake_state_process_t * const state_process, f_array_lengths_t * const section_stack);
+ extern int fake_make_operate_process(fake_make_data_t * const data_make, const f_string_range_t section_name, fake_state_process_t * const state_process, f_number_unsigneds_t * const section_stack);
#endif // _di_fake_make_operate_process_
/**
else if (state_process->condition == fake_make_operation_if_type_if_equal_e) {
state_process->condition_result = fake_condition_result_true_e;
- for (f_array_length_t i = 2; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 2; i < main->cache_arguments.used; ++i) {
if (f_compare_dynamic(main->cache_arguments.array[1], main->cache_arguments.array[i]) == F_equal_to_not) {
state_process->condition_result = fake_condition_result_false_e;
else if (state_process->condition == fake_make_operation_if_type_if_equal_not_e) {
state_process->condition_result = fake_condition_result_true_e;
- f_array_length_t i = 1;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 1;
+ f_number_unsigned_t j = 0;
for (; i < main->cache_arguments.used; ++i) {
fake_main_t * const main = data_make->main;
- const f_array_length_t total = main->cache_arguments.used - 1;
+ const f_number_unsigned_t total = main->cache_arguments.used - 1;
f_status_t failed = F_none;
fake_local_t local = macro_fake_local_t_initialize_1(main, &main->cache_map, &failed);
fake_string_dynamic_reset(&main->cache_recurse_do.path_cache);
bool existing = F_true;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
const f_string_t *function = 0;
const f_string_static_t *operation = 0;
uint8_t type = fll_error_file_type_path_e;
main->setting.state.status = F_none;
- for (f_array_length_t i = 0; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->cache_arguments.used; ++i) {
memset(&file_stat, 0, sizeof(struct stat));
gid_t id = 0;
bool dereference = F_true;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
main->setting.state.status = F_none;
// Multiple properties may pass and so if any of them fail, then they all fail.
if (if_not) {
- for (f_array_length_t i = 2; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 2; i < main->cache_arguments.used; ++i) {
if (f_environment_exists(main->cache_arguments.array[i]) == F_true) {
state_process->condition_result = fake_condition_result_false_e;
} // for
}
else {
- for (f_array_length_t i = 1; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 1; i < main->cache_arguments.used; ++i) {
if (f_environment_exists(main->cache_arguments.array[i]) != F_true) {
state_process->condition_result = fake_condition_result_false_e;
fake_main_t * const main = data_make->main;
- f_array_length_t i = if_not ? 2 : 1;
+ f_number_unsigned_t i = if_not ? 2 : 1;
bool dereference = F_true;
main->setting.state.status = F_none;
// fifo = 0x8 (0000 1000) invalid = 0x80 (1000 0000)
uint8_t type = 0;
- f_array_length_t i = if_not ? 2 : 1;
+ f_number_unsigned_t i = if_not ? 2 : 1;
bool dereference = F_true;
main->setting.state.status = F_none;
bool is_negative_left = F_false;
bool is_negative_right = F_false;
- f_array_length_t i = 1;
+ f_number_unsigned_t i = 1;
main->setting.state.status = F_none;
state_process->condition_result = fake_condition_result_true_e;
fake_main_t * const main = data_make->main;
uid_t id = 0;
- f_array_length_t i = if_not ? 2 : 1;
+ f_number_unsigned_t i = if_not ? 2 : 1;
bool dereference = F_true;
main->setting.state.status = F_none;
state_process->condition_result = fake_condition_result_true_e;
- for (f_array_length_t i = if_not ? 4 : 3; i < main->cache_arguments.used; ++i, mode_file = 0) {
+ for (f_number_unsigned_t i = if_not ? 4 : 3; i < main->cache_arguments.used; ++i, mode_file = 0) {
main->setting.state.status = f_file_mode_read(main->cache_arguments.array[i], F_true, &mode_file);
fake_main_t * const main = data_make->main;
uid_t id = 0;
- f_array_length_t i = if_not ? 2 : 1;
+ f_number_unsigned_t i = if_not ? 2 : 1;
bool dereference = F_true;
main->setting.state.status = F_none;
data_make->parameter_value.work.used,
};
- f_array_length_t i = if_not ? 2 : 1;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = if_not ? 2 : 1;
+ f_number_unsigned_t j = 0;
// 0 = unknown, 1 = fail, 2 = pass.
uint8_t result = 0;
mode_t mode = 0;
mode_t mode_file = 0;
- for (f_array_length_t i = 1; i < main->cache_arguments.used; ++i, mode = 0) {
+ for (f_number_unsigned_t i = 1; i < main->cache_arguments.used; ++i, mode = 0) {
main->setting.state.status = f_file_mode_read(main->cache_arguments.array[i], F_true, &mode_file);
fake_main_t * const main = data_make->main;
- const f_array_length_t total = main->cache_arguments.used - 1;
+ const f_number_unsigned_t total = main->cache_arguments.used - 1;
bool existing = F_true;
const f_string_static_t *operation = 0;
f_string_static_t *file = 0;
- for (f_array_length_t i = 0; i < total; ++i) {
+ for (f_number_unsigned_t i = 0; i < total; ++i) {
fake_string_dynamic_reset(&main->cache_argument);
#endif // _di_fake_make_operate_process_type_move_
#ifndef _di_fake_make_operate_process_type_operate_
- int fake_make_operate_process_type_operate(fake_make_data_t * const data_make, f_array_lengths_t * const section_stack) {
+ int fake_make_operate_process_type_operate(fake_make_data_t * const data_make, f_number_unsigneds_t * const section_stack) {
if (!data_make || !data_make->main) return 0;
fake_main_t * const main = data_make->main;
- f_array_length_t id_section = 0;
+ f_number_unsigned_t id_section = 0;
for (; id_section < data_make->fakefile.used; ++id_section) {
uid_t id = 0;
bool dereference = F_true;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
if (f_compare_dynamic(fake_make_operation_argument_no_dereference_s, main->cache_arguments.array[i]) == F_equal_to) {
++i;
fake_main_t * const main = data_make->main;
bool found = F_false;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < data_make->setting_make.parameter.used; ++i) {
} // for
if (found) {
- for (f_array_length_t j = 0; j < data_make->setting_make.parameter.array[i].value.size; ++j) {
+ for (f_number_unsigned_t j = 0; j < data_make->setting_make.parameter.array[i].value.size; ++j) {
main->setting.state.status = f_string_dynamic_resize(0, &data_make->setting_make.parameter.array[i].value.array[j]);
return;
}
- for (f_array_length_t j = 0; j < data_make->setting_make.parameter.array[i].value.size; ++j) {
+ for (f_number_unsigned_t j = 0; j < data_make->setting_make.parameter.array[i].value.size; ++j) {
main->setting.state.status = f_string_dynamic_append_nulless(main->cache_arguments.array[j + 1], &data_make->setting_make.parameter.array[i].value.array[j]);
fake_string_dynamic_reset(&main->cache_1);
{
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
// Pre-allocate the cache to reduce allocations.
{
- f_array_length_t total = main->cache_arguments.used;
+ f_number_unsigned_t total = main->cache_arguments.used;
for (; i < main->cache_arguments.used; ++i) {
total += main->cache_arguments.array[i].used;
fake_make_print_verbose_operate_set_path(&main->program.message, f_string_empty_s);
// Clear stack, except for the project root.
- for (f_array_length_t i = 1; i < data_make->path.stack.used; ++i) {
+ for (f_number_unsigned_t i = 1; i < data_make->path.stack.used; ++i) {
f_string_dynamic_resize(0, &data_make->path.stack.array[i]);
} // for
macro_f_mode_t_set_default_umask(mode, main->program.umask);
- for (f_array_length_t i = 1; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 1; i < main->cache_arguments.used; ++i) {
if (f_compare_dynamic(fake_make_operation_argument_file_s, main->cache_arguments.array[0]) == F_equal_to) {
main->setting.state.status = f_file_touch(main->cache_arguments.array[i], mode.regular, F_false);
}
if (F_status_is_error_not(main->setting.state.status)) {
- for (f_array_length_t i = 1; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 1; i < main->cache_arguments.used; ++i) {
fake_string_dynamic_reset(&main->cache_1);
* @see fake_make_operate_section()
*/
#ifndef _di_fake_make_operate_process_type_operate_
- extern int fake_make_operate_process_type_operate(fake_make_data_t * const data_make, f_array_lengths_t * const section_stack);
+ extern int fake_make_operate_process_type_operate(fake_make_data_t * const data_make, f_number_unsigneds_t * const section_stack);
#endif // _di_fake_make_operate_process_type_operate_
/**
#endif
#ifndef _di_fake_make_operate_validate_
- void fake_make_operate_validate(fake_make_data_t * const data_make, const f_string_range_t section_name, fake_state_process_t * const state_process, f_array_lengths_t * const section_stack) {
+ void fake_make_operate_validate(fake_make_data_t * const data_make, const f_string_range_t section_name, fake_state_process_t * const state_process, f_number_unsigneds_t * const section_stack) {
if (!data_make || !data_make->main) return;
if (F_status_is_error(data_make->main->setting.state.status)) return;
if (!name.used) return F_data_not;
if (!isalpha(name.string[0]) && name.string[0] != '_') return F_false;
- for (f_array_length_t i = 1; i < name.used; ++i) {
+ for (f_number_unsigned_t i = 1; i < name.used; ++i) {
if (!isalnum(name.string[i]) && name.string[i] != '_') return F_false;
} // for
* @see fake_make_operate_validate_type_write()
*/
#ifndef _di_fake_make_operate_validate_
- extern void fake_make_operate_validate(fake_make_data_t * const data_make, const f_string_range_t section_name, fake_state_process_t * const state_process, f_array_lengths_t * const section_stack);
+ extern void fake_make_operate_validate(fake_make_data_t * const data_make, const f_string_range_t section_name, fake_state_process_t * const state_process, f_number_unsigneds_t * const section_stack);
#endif // _di_fake_make_operate_validate_
/**
if (main->cache_arguments.used > 1) {
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->cache_arguments.used; ++i) {
fake_make_assure_inside_project(data_make, main->cache_arguments.array[i]);
}
} // for
- for (f_array_length_t i = 0; i < main->cache_arguments.used - 1; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->cache_arguments.used - 1; ++i) {
if (f_file_exists(main->cache_arguments.array[i], F_true) != F_true) {
fake_print_error_file_simple(&main->program.error, macro_fake_f(f_file_is), main->cache_arguments.array[i], f_file_operation_find_s, fll_error_file_type_file_e);
fake_make_operation_if_type_if_not_parameter_e,
};
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
f_string_static_t if_and_or;
bool dereference = F_true;
if (main->cache_arguments.used > 1) {
f_status_t status = F_none;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < main->cache_arguments.used; ++i) {
if (main->cache_arguments.used) {
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->cache_arguments.used; ++i) {
fake_make_assure_inside_project(data_make, main->cache_arguments.array[i]);
{
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->cache_arguments.used; ++i) {
fake_make_assure_inside_project(data_make, main->cache_arguments.array[i]);
} // for
if (F_status_is_error_not(status)) {
- for (f_array_length_t i = 0; i < main->cache_arguments.used - 1; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->cache_arguments.used - 1; ++i) {
if (f_file_exists(main->cache_arguments.array[i], F_true) != F_true) {
fake_print_error_file_simple(&main->program.error, macro_fake_f(f_file_is), main->cache_arguments.array[i], f_file_operation_find_s, fll_error_file_type_file_e);
#endif // _di_fake_make_operate_validate_type_move_
#ifndef _di_fake_make_operate_validate_type_operate_
- void fake_make_operate_validate_type_operate(fake_make_data_t * const data_make, f_array_lengths_t * const section_stack) {
+ void fake_make_operate_validate_type_operate(fake_make_data_t * const data_make, f_number_unsigneds_t * const section_stack) {
if (!data_make || !data_make->main || !section_stack) return;
}
if (main->cache_arguments.used == 1) {
- f_array_length_t id_section = 0;
+ f_number_unsigned_t id_section = 0;
for (; id_section < data_make->fakefile.used; ++id_section) {
return;
}
- for (f_array_length_t i = 0; i < section_stack->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < section_stack->used; ++i) {
if (section_stack->array[i] == id_section) {
fake_make_print_error_operation_recursion(&main->program.error, main->buffer, data_make->fakefile.array[id_section].name);
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < 33; ++i) {
+ for (f_number_unsigned_t i = 0; i < 33; ++i) {
if (f_compare_dynamic(reserved_name[i], main->cache_arguments.array[0]) == F_equal_to) {
fake_make_print_error_reserved_parameter_name(&main->program.error, reserved_name[i]);
fake_main_t * const main = data_make->main;
if (main->cache_arguments.used) {
- f_array_length_t i = 1;
+ f_number_unsigned_t i = 1;
if (state_process->operation == fake_make_operation_type_group_e || state_process->operation == fake_make_operation_type_groups_e || state_process->operation == fake_make_operation_type_owner_e || state_process->operation == fake_make_operation_type_owners_e) {
if (f_compare_dynamic(fake_make_operation_argument_no_dereference_s, main->cache_arguments.array[i]) == F_equal_to) {
f_status_t status = F_none;
- for (f_array_length_t i = 1; i < main->cache_arguments.used; ++i) {
+ for (f_number_unsigned_t i = 1; i < main->cache_arguments.used; ++i) {
fake_make_assure_inside_project(data_make, main->cache_arguments.array[i]);
* F_failure (with error bit) on any error.
*/
#ifndef _di_fake_make_operate_validate_type_operate_
- extern void fake_make_operate_validate_type_operate(fake_make_data_t * const data_make, f_array_lengths_t * const section_stack);
+ extern void fake_make_operate_validate_type_operate(fake_make_data_t * const data_make, f_number_unsigneds_t * const section_stack);
#endif // _di_fake_make_operate_validate_type_operate_
/**
if (main->setting.modes.used) {
fl_print_format("%[' with modes '%]", print->to, print->set->important, print->set->important);
- for (f_array_length_t i = 0; i < main->setting.modes.used; ) {
+ for (f_number_unsigned_t i = 0; i < main->setting.modes.used; ) {
fl_print_format("%[%Q%]", print->to, print->set->notable, main->setting.modes.array[i], print->set->notable);
f_file_stream_lock(print->to);
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
if (program.used) {
f_print_dynamic_safely(program, print->to);
#endif // _di_fake_print_error_
#ifndef _di_fake_print_error_argument_empty_
- f_status_t fake_print_error_argument_empty(fl_print_t * const print, const f_array_length_t index) {
+ f_status_t fake_print_error_argument_empty(fl_print_t * const print, const f_number_unsigned_t index) {
if (!print) return F_status_set_error(F_output_not);
if (print->verbosity == f_console_verbosity_quiet_e) return F_output_not;
fake_main_t * const main = (fake_main_t *) print->custom;
- f_array_length_t line = 1;
+ f_number_unsigned_t line = 1;
const f_status_t status = main->setting.state.status;
f_fss_count_lines(buffer, operation_name.start, &line, &main->setting.state);
#endif // _di_fake_print_error_operation_path_stack_max_
#ifndef _di_fake_print_error_operation_stack_max_
- f_status_t fake_print_error_operation_stack_max(fl_print_t * const print, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name, const f_array_length_t stack_max) {
+ f_status_t fake_print_error_operation_stack_max(fl_print_t * const print, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name, const f_number_unsigned_t stack_max) {
if (!print->custom) return F_status_set_error(F_output_not);
if (print->verbosity < f_console_verbosity_error_e) return F_output_not;
fake_main_t * const main = (fake_main_t *) print->custom;
- f_array_length_t line = 1;
+ f_number_unsigned_t line = 1;
const f_status_t status = main->setting.state.status;
f_fss_count_lines(buffer, operation_name.start, &line, &main->setting.state);
fake_main_t * const main = (fake_main_t *) print->custom;
- f_array_length_t line = 1;
+ f_number_unsigned_t line = 1;
const f_status_t status = main->setting.state.status;
f_fss_count_lines(buffer, operation_name.start, &line, &main->setting.state);
* @see fake_print_context_wrapped_number()
*/
#ifndef _di_fake_print_error_argument_empty_
- extern f_status_t fake_print_error_argument_empty(fl_print_t * const print, const f_array_length_t index);
+ extern f_status_t fake_print_error_argument_empty(fl_print_t * const print, const f_number_unsigned_t index);
#endif // _di_fake_print_error_argument_empty_
/**
* @see fl_print_format()
*/
#ifndef _di_fake_print_error_operation_stack_max_
- extern f_status_t fake_print_error_operation_stack_max(fl_print_t * const print, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name, const f_array_length_t stack_max);
+ extern f_status_t fake_print_error_operation_stack_max(fl_print_t * const print, const f_string_static_t buffer, const f_string_range_t section_name, const f_string_range_t operation_name, const f_number_unsigned_t stack_max);
#endif // _di_fake_print_error_operation_stack_max_
/**
? &main->setting.modes
: &setting_build->modes_default;
- for (f_array_length_t i = build_arguments && build_arguments->used > 1 ? 1 : 0; i < modes->used; ) {
+ for (f_number_unsigned_t i = build_arguments && build_arguments->used > 1 ? 1 : 0; i < modes->used; ) {
fl_print_format("%[%Q%]", print->to, print->set->notable, modes->array[i], print->set->notable);
if (!main) return;
siginfo_t information;
- f_array_length_t failsafe = 0;
+ f_number_unsigned_t failsafe = 0;
memset(&information, 0, sizeof(siginfo_t));
}
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
if (F_status_is_error(status)) return;
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
show_mangle = F_false;
show_ports = F_false;
- f_array_length_t index = 0;
+ f_number_unsigned_t index = 0;
- for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->parameters.remaining.used; ++i) {
index = main->parameters.remaining.array[i];
// Remove "lo" (loopback) from the device listing.
{
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < data.devices.used; ++i) {
return status;
}
- for (f_array_length_t i = 0; i < local.chain_objects.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < local.chain_objects.used; ++i) {
if (!reserved.has_stop && f_compare_dynamic_partial_string(firewall_group_stop_s.string, local.buffer, firewall_group_stop_s.used, local.chain_objects.array[i]) == F_equal_to) {
reserved.stop_at = i;
return status;
}
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
local.is_global = F_true;
local.is_stop = F_false;
{
f_string_dynamic_t path_file = f_string_dynamic_t_initialize;
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
for (i = 0; i < data.devices.used; ++i) {
fl_print_format("%[%r", output.to, output.context, tool);
- for (f_array_length_t i = 0; i < arguments.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < arguments.used; ++i) {
fl_print_format(" %Q", output.to, arguments.array[i]);
} // for
fl_print_format("%r%[%QFailed to perform requested %r operation:%]", output.to, f_string_eol_s, output.context, output.prefix, tool, output.context);
fl_print_format("%r %[%r", output.to, f_string_eol_s, output.context, tool);
- for (f_array_length_t i = 0; i < arguments.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < arguments.used; ++i) {
fl_print_format(" %Q", output.to, arguments.array[i]);
} // for
bool is_stop;
bool is_lock;
- f_array_length_t device;
+ f_number_unsigned_t device;
f_string_dynamic_t buffer;
- f_array_length_t chain;
- f_array_lengths_t chain_ids;
+ f_number_unsigned_t chain;
+ f_number_unsigneds_t chain_ids;
f_fss_objects_t chain_objects;
f_fss_contents_t chain_contents;
f_fss_objects_t rule_objects;
0, \
f_string_dynamic_t_initialize, \
0, \
- f_array_lengths_t_initialize, \
+ f_number_unsigneds_t_initialize, \
f_fss_objects_t_initialize, \
f_fss_contents_t_initialize, \
f_fss_objects_t_initialize, \
bool has_stop;
bool has_lock;
- f_array_length_t main_at;
- f_array_length_t stop_at;
- f_array_length_t lock_at;
+ f_number_unsigned_t main_at;
+ f_number_unsigned_t stop_at;
+ f_number_unsigned_t lock_at;
} firewall_reserved_chains_t;
#define firewall_reserved_chains_t_initialize \
int return_code = 0;
- f_array_length_t i = 0;
- f_array_length_t r = 0;
- f_array_length_t repeat = 2;
- f_array_length_t length = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t r = 0;
+ f_number_unsigned_t repeat = 2;
+ f_number_unsigned_t length = 0;
f_string_static_t current_tool = firewall_tool_iptables_s;
// Last up is the "rule".
if ((!is_ip_list && local->rule_contents.array[i].used > 0) || (is_ip_list && local->rule_contents.array[i].used > 1)) {
- f_array_length_t subcounter = 0;
+ f_number_unsigned_t subcounter = 0;
if (is_ip_list) {
}
if (F_status_is_error(status)) {
- f_array_lengths_resize(0, &delimits);
+ f_number_unsigneds_resize(0, &delimits);
break;
}
++arguments.used;
// The ip_list file contains objects and no content, all objects are what matter an nothing else.
- for (f_array_length_t at = 0; at < basic_objects.used; ++at) {
+ for (f_number_unsigned_t at = 0; at < basic_objects.used; ++at) {
arguments.array[arguments.used].used = 0;
status = fll_execute_program(current_tool, arguments, 0, 0, (void *) &return_code);
if (status == F_child) {
- f_array_lengths_resize(0, &delimits);
+ f_number_unsigneds_resize(0, &delimits);
f_string_dynamic_resize(0, &ip_list);
f_string_dynamics_resize(0, &arguments);
--arguments.used;
}
- f_array_lengths_resize(0, &delimits);
+ f_number_unsigneds_resize(0, &delimits);
}
}
bool create_chain = F_false;
int return_code = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
- f_array_length_t length = 0;
+ f_number_unsigned_t length = 0;
f_string_dynamics_t arguments = f_string_dynamics_t_initialize;
local->chain_ids.used = local->chain_objects.used;
status = f_string_dynamics_resize(2, &arguments);
if (F_status_is_error(status)) return status;
- status = f_array_lengths_increase_by(local->chain_objects.used, &local->chain_ids);
+ status = f_number_unsigneds_increase_by(local->chain_objects.used, &local->chain_ids);
if (F_status_is_error(status)) return status;
- memset(local->chain_ids.array, 0, sizeof(f_array_length_t) * local->chain_ids.used);
+ memset(local->chain_ids.array, 0, sizeof(f_number_unsigned_t) * local->chain_ids.used);
status = f_string_dynamic_append(firewall_chain_create_command_s, &arguments.array[0]);
const f_string_static_t tools[2] = { firewall_tool_iptables_s, firewall_tool_ip6tables_s };
f_status_t status = F_none;
- for (f_array_length_t i = 0; i < 2; ++i) {
+ for (f_number_unsigned_t i = 0; i < 2; ++i) {
if (firewall_signal_received(data)) {
return F_status_set_error(F_interrupt);
arguments.array = argument_array;
argument_array[0] = firewall_chain_delete_command_s;
- for (f_array_length_t i = 0; i < 2; ++i) {
+ for (f_number_unsigned_t i = 0; i < 2; ++i) {
firewall_print_debug_tool(data->main->warning, tools[i], arguments);
arguments.array[0] = firewall_action_policy_command_s;
arguments.array[2] = firewall_chain_drop_s;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
for (; i < 3; ++i) {
local->chain = 0;
f_string_dynamic_resize(0, &local->buffer);
- f_array_lengths_resize(0, &local->chain_ids);
+ f_number_unsigneds_resize(0, &local->chain_ids);
f_string_ranges_resize(0, &local->chain_objects);
f_string_rangess_resize(0, &local->chain_contents);
}
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
if (F_status_is_error(status)) return;
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
status = F_status_set_error(F_parameter);
}
else if (main->parameters.array[fss_embedded_list_read_parameter_delimit_e].result & f_console_result_value_e) {
- const f_array_length_t index = main->parameters.array[fss_embedded_list_read_parameter_delimit_e].values.array[0];
- f_array_length_t length = data.argv[index].used;
+ const f_number_unsigned_t index = main->parameters.array[fss_embedded_list_read_parameter_delimit_e].values.array[0];
+ f_number_unsigned_t length = data.argv[index].used;
if (!length) {
f_file_stream_lock(main->error.to);
off_t size_file = 0;
off_t size_read = 0;
- for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->parameters.remaining.used; ++i) {
if (!((++main->signal_check) % fss_embedded_list_read_signal_check_d)) {
if (fll_program_standard_signal_received(&main->program)) {
f_fss_nest_resize(0, &data.nest);
f_string_dynamic_resize(0, &data.buffer);
fss_embedded_list_read_depths_resize(0, &depths);
- f_array_lengths_resize(0, &objects_delimits);
- f_array_lengths_resize(0, &contents_delimits);
+ f_number_unsigneds_resize(0, &objects_delimits);
+ f_number_unsigneds_resize(0, &contents_delimits);
f_string_ranges_resize(0, &comments);
}
else {
#endif // _di_fss_embedded_list_read_data_delete_
#ifndef _di_fss_embedded_list_read_depths_resize_
- f_status_t fss_embedded_list_read_depths_resize(const f_array_length_t length, fss_embedded_list_read_depths_t *depths) {
+ f_status_t fss_embedded_list_read_depths_resize(const f_number_unsigned_t length, fss_embedded_list_read_depths_t *depths) {
if (!depths) {
return F_status_set_error(F_parameter);
}
- for (f_array_length_t i = length; i < depths->size; ++i) {
+ for (f_number_unsigned_t i = length; i < depths->size; ++i) {
fss_embedded_list_read_depth_delete(&depths->array[i]);
} // for
*/
#ifndef _di_fss_embedded_list_read_depth_t_
typedef struct {
- f_array_length_t depth;
+ f_number_unsigned_t depth;
- f_array_length_t index_at;
- f_array_length_t index_name;
+ f_number_unsigned_t index_at;
+ f_number_unsigned_t index_name;
f_number_unsigned_t value_at;
f_string_dynamic_t value_name;
#ifndef _di_fss_embedded_list_read_skip_t_
typedef struct {
bool *skip;
- f_array_length_t used;
+ f_number_unsigned_t used;
} fss_embedded_list_read_skip_t;
#define fss_embedded_list_read_skip_t_initialize \
typedef struct {
fss_embedded_list_read_depth_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} fss_embedded_list_read_depths_t;
#define fss_embedded_list_read_depths_t_initialize { 0, 0, 0 }
f_fss_nest_t nest;
uint8_t delimit_mode;
- f_array_length_t delimit_depth;
+ f_number_unsigned_t delimit_depth;
} fss_embedded_list_read_data_t;
#define fss_embedded_list_read_data_t_initialize \
* @see fss_embedded_list_read_depths_increase()
*/
#ifndef _di_fss_embedded_list_read_depths_resize_
- extern f_status_t fss_embedded_list_read_depths_resize(const f_array_length_t length, fss_embedded_list_read_depths_t *depths) F_attribute_visibility_internal_d;
+ extern f_status_t fss_embedded_list_read_depths_resize(const f_number_unsigned_t length, fss_embedded_list_read_depths_t *depths) F_attribute_visibility_internal_d;
#endif // _di_fss_embedded_list_read_depths_resize_
#ifdef __cplusplus
f_status_t status = F_none;
- const f_array_length_t values_total = data->main->parameters.array[fss_embedded_list_read_parameter_depth_e].values.used + data->main->parameters.array[fss_embedded_list_read_parameter_at_e].values.used + data->main->parameters.array[fss_embedded_list_read_parameter_name_e].values.used;
+ const f_number_unsigned_t values_total = data->main->parameters.array[fss_embedded_list_read_parameter_depth_e].values.used + data->main->parameters.array[fss_embedded_list_read_parameter_at_e].values.used + data->main->parameters.array[fss_embedded_list_read_parameter_name_e].values.used;
- f_array_length_t values_order[values_total];
- f_array_length_t values_type[values_total];
+ f_number_unsigned_t values_order[values_total];
+ f_number_unsigned_t values_type[values_total];
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
// Determine the linear order in which all of the three parameter values are to be applied.
if (values_total) {
memset(values_order, 0, sizeof(f_char_t) * values_total);
- f_array_length_t k = 0;
- f_array_length_t l = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t l = 0;
for (; j < data->main->parameters.array[fss_embedded_list_read_parameter_depth_e].values.used; ++j) {
return status;
}
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
// Comments are not to be part of the file, so remove them.
for (; i < comments->used; ++i) {
f_number_unsigned_t select = 0;
if (data->main->parameters.array[fss_embedded_list_read_parameter_select_e].result & f_console_result_value_e) {
- const f_array_length_t index = data->main->parameters.array[fss_embedded_list_read_parameter_select_e].values.array[data->main->parameters.array[fss_embedded_list_read_parameter_select_e].values.used - 1];
+ const f_number_unsigned_t index = data->main->parameters.array[fss_embedded_list_read_parameter_select_e].values.array[data->main->parameters.array[fss_embedded_list_read_parameter_select_e].values.used - 1];
status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, data->main->parameters.arguments.array[index], &select);
}
}
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
if (data->main->parameters.array[fss_embedded_list_read_parameter_line_e].result & f_console_result_value_e) {
- const f_array_length_t index = data->main->parameters.array[fss_embedded_list_read_parameter_line_e].values.array[data->main->parameters.array[fss_embedded_list_read_parameter_line_e].values.used - 1];
+ const f_number_unsigned_t index = data->main->parameters.array[fss_embedded_list_read_parameter_line_e].values.array[data->main->parameters.array[fss_embedded_list_read_parameter_line_e].values.used - 1];
status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, data->main->parameters.arguments.array[index], &line);
#endif // _di_fss_embedded_list_read_main_process_file_
#ifndef _di_fss_embedded_list_read_main_process_for_depth_
- f_status_t fss_embedded_list_read_main_process_for_depth(fss_embedded_list_read_data_t * const data, const f_string_static_t filename, const fss_embedded_list_read_depths_t depths, const f_array_length_t depths_index, const f_array_length_t line, const fss_embedded_list_read_skip_t parents, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) {
+ f_status_t fss_embedded_list_read_main_process_for_depth(fss_embedded_list_read_data_t * const data, const f_string_static_t filename, const fss_embedded_list_read_depths_t depths, const f_number_unsigned_t depths_index, const f_number_unsigned_t line, const fss_embedded_list_read_skip_t parents, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) {
f_fss_items_t *items = &data->nest.depth[depths.array[depths_index].depth];
memset(skip, F_false, sizeof(skip) * items->used);
if (parents.used) {
- for (f_array_length_t i = 0; i < items->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < items->used; ++i) {
if (items->array[i].parent >= parents.used || parents.skip[items->array[i].parent]) {
skip[i] = F_true;
}
if (depths.array[depths_index].index_name || depths.array[depths_index].index_at) {
- const f_array_lengths_t except_none = f_array_lengths_t_initialize;
+ const f_number_unsigneds_t except_none = f_number_unsigneds_t_initialize;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
if (!depths.array[depths_index].index_name || (depths.array[depths_index].index_at && depths.array[depths_index].index_at < depths.array[depths_index].index_name)) {
parents_next.used = items->used;
}
else {
- const f_array_length_t parents_depth = depths.array[depths_index + 1].depth - 1;
- const f_array_length_t depth_next = depths.array[depths_index + 1].depth;
+ const f_number_unsigned_t parents_depth = depths.array[depths_index + 1].depth - 1;
+ const f_number_unsigned_t depth_next = depths.array[depths_index + 1].depth;
parents_next.skip = skip_next;
parents_next.used = data->nest.depth[parents_depth].used;
f_fss_items_t *items_previous = 0;
f_fss_item_t *item_previous = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
for (; i < items_next->used; ++i) {
}
// Process objects.
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
if (data->main->parameters.array[fss_embedded_list_read_parameter_object_e].result & f_console_result_found_e) {
if (data->main->parameters.array[fss_embedded_list_read_parameter_total_e].result & f_console_result_found_e) {
- f_array_length_t total = 0;
+ f_number_unsigned_t total = 0;
for (i = 0; i < items->used; ++i) {
if (skip[i]) continue;
return F_none;
}
- f_status_t (*print_object)(const f_string_static_t, const f_string_range_t, const f_array_lengths_t, FILE *) = &f_print_except_dynamic_partial;
+ f_status_t (*print_object)(const f_string_static_t, const f_string_range_t, const f_number_unsigneds_t, FILE *) = &f_print_except_dynamic_partial;
if (data->main->parameters.array[fss_embedded_list_read_parameter_trim_e].result & f_console_result_found_e) {
print_object = &fl_print_trim_except_dynamic_partial;
}
if (data->main->parameters.array[fss_embedded_list_read_parameter_total_e].result & f_console_result_found_e) {
- f_array_length_t total = 0;
+ f_number_unsigned_t total = 0;
for (i = 0; i < items->used; ++i) {
}
if (data->main->parameters.array[fss_embedded_list_read_parameter_line_e].result & f_console_result_value_e) {
- f_array_length_t line_current = 0;
+ f_number_unsigned_t line_current = 0;
f_file_stream_lock(data->main->output);
}
}
- const f_array_length_t original_objects_used = objects_delimits->used;
- const f_array_length_t original_contents_used = contents_delimits->used;
+ const f_number_unsigned_t original_objects_used = objects_delimits->used;
+ const f_number_unsigned_t original_contents_used = contents_delimits->used;
- f_array_length_t original_objects_delimits[original_objects_used];
- f_array_length_t original_contents_delimits[original_contents_used];
+ f_number_unsigned_t original_objects_delimits[original_objects_used];
+ f_number_unsigned_t original_contents_delimits[original_contents_used];
- memcpy(&original_objects_delimits, objects_delimits->array, original_objects_used * sizeof(f_array_length_t));
- memcpy(&original_contents_delimits, contents_delimits->array, original_contents_used * sizeof(f_array_length_t));
+ memcpy(&original_objects_delimits, objects_delimits->array, original_objects_used * sizeof(f_number_unsigned_t));
+ memcpy(&original_contents_delimits, contents_delimits->array, original_contents_used * sizeof(f_number_unsigned_t));
objects_delimits->used = 0;
contents_delimits->used = 0;
fss_embedded_list_read_process_delimits_objects(data, 0, original_objects_delimits, original_objects_used, objects_delimits);
fss_embedded_list_read_process_delimits_contents(data, 0, original_contents_delimits, original_contents_used, contents_delimits);
- for (f_array_length_t i = 1; i <= data->delimit_depth && i < data->nest.used; ++i) {
+ for (f_number_unsigned_t i = 1; i <= data->delimit_depth && i < data->nest.used; ++i) {
fss_embedded_list_read_process_delimits_objects(data, i, original_contents_delimits, original_contents_used, contents_delimits);
fss_embedded_list_read_process_delimits_contents(data, i, original_contents_delimits, original_contents_used, contents_delimits);
} // for
}
else if (data->delimit_mode == fss_embedded_list_read_delimit_mode_depth_greater_e) {
- for (f_array_length_t i = data->delimit_depth; i < data->nest.used; ++i) {
+ for (f_number_unsigned_t i = data->delimit_depth; i < data->nest.used; ++i) {
fss_embedded_list_read_process_delimits_objects(data, i, original_contents_delimits, original_contents_used, contents_delimits);
fss_embedded_list_read_process_delimits_contents(data, i, original_contents_delimits, original_contents_used, contents_delimits);
#endif // _di_fss_embedded_list_read_process_delimits_
#ifndef _di_fss_embedded_list_read_process_delimits_contents_
- void fss_embedded_list_read_process_delimits_contents(fss_embedded_list_read_data_t * const data, const f_array_length_t depth, const f_array_length_t original_delimits[], const f_array_length_t original_used, f_fss_delimits_t *delimits) {
+ void fss_embedded_list_read_process_delimits_contents(fss_embedded_list_read_data_t * const data, const f_number_unsigned_t depth, const f_number_unsigned_t original_delimits[], const f_number_unsigned_t original_used, f_fss_delimits_t *delimits) {
if (!original_used) return;
if (!items->used) return;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t l = 0;
- f_array_length_t m = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t l = 0;
+ f_number_unsigned_t m = 0;
for (i = 0; i < items->used; ++i) {
#endif // _di_fss_embedded_list_read_process_delimits_contents_
#ifndef _di_fss_embedded_list_read_process_delimits_objects_
- void fss_embedded_list_read_process_delimits_objects(fss_embedded_list_read_data_t * const data, const f_array_length_t depth, const f_array_length_t original_delimits[], const f_array_length_t original_used, f_fss_delimits_t *delimits) {
+ void fss_embedded_list_read_process_delimits_objects(fss_embedded_list_read_data_t * const data, const f_number_unsigned_t depth, const f_number_unsigned_t original_delimits[], const f_number_unsigned_t original_used, f_fss_delimits_t *delimits) {
if (!original_used) return;
if (!items->used) return;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t l = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t l = 0;
for (i = 0; i < items->used; ++i) {
#endif // _di_fss_embedded_list_read_process_delimits_objects_
#ifndef _di_fss_embedded_list_read_process_delimits_within_greater_
- f_status_t fss_embedded_list_read_process_delimits_within_greater(fss_embedded_list_read_data_t * const data, const f_array_length_t depth, const f_array_length_t location) {
+ f_status_t fss_embedded_list_read_process_delimits_within_greater(fss_embedded_list_read_data_t * const data, const f_number_unsigned_t depth, const f_number_unsigned_t location) {
if (depth + 1 >= data->nest.used) return F_false;
f_fss_items_t *items = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
- for (f_array_length_t d = depth + 1; d < data->nest.used; ++d) {
+ for (f_number_unsigned_t d = depth + 1; d < data->nest.used; ++d) {
items = &data->nest.depth[d];
for (i = 0; i < items->used; ++i) {
* @see fss_embedded_list_read_main_process_file()
*/
#ifndef _di_fss_embedded_list_read_main_process_for_depth_
- extern f_status_t fss_embedded_list_read_main_process_for_depth(fss_embedded_list_read_data_t * const data, const f_string_static_t filename, const fss_embedded_list_read_depths_t depths, const f_array_length_t depths_index, const f_array_length_t line, const fss_embedded_list_read_skip_t parents, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) F_attribute_visibility_internal_d;
+ extern f_status_t fss_embedded_list_read_main_process_for_depth(fss_embedded_list_read_data_t * const data, const f_string_static_t filename, const fss_embedded_list_read_depths_t depths, const f_number_unsigned_t depths_index, const f_number_unsigned_t line, const fss_embedded_list_read_skip_t parents, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits) F_attribute_visibility_internal_d;
#endif // _di_fss_embedded_list_read_main_process_for_depth_
/**
* @see fss_embedded_list_read_process_delimits()
*/
#ifndef _di_fss_embedded_list_read_process_delimits_contents_
- extern void fss_embedded_list_read_process_delimits_contents(fss_embedded_list_read_data_t * const data, const f_array_length_t depth, const f_array_length_t original_delimits[], const f_array_length_t original_used, f_fss_delimits_t *delimits) F_attribute_visibility_internal_d;
+ extern void fss_embedded_list_read_process_delimits_contents(fss_embedded_list_read_data_t * const data, const f_number_unsigned_t depth, const f_number_unsigned_t original_delimits[], const f_number_unsigned_t original_used, f_fss_delimits_t *delimits) F_attribute_visibility_internal_d;
#endif // _di_fss_embedded_list_read_process_delimits_contents_
/**
* @see fss_embedded_list_read_process_delimits()
*/
#ifndef _di_fss_embedded_list_read_process_delimits_objects_
- extern void fss_embedded_list_read_process_delimits_objects(fss_embedded_list_read_data_t * const data, const f_array_length_t depth, const f_array_length_t original_delimits[], const f_array_length_t original_used, f_fss_delimits_t *delimits) F_attribute_visibility_internal_d;
+ extern void fss_embedded_list_read_process_delimits_objects(fss_embedded_list_read_data_t * const data, const f_number_unsigned_t depth, const f_number_unsigned_t original_delimits[], const f_number_unsigned_t original_used, f_fss_delimits_t *delimits) F_attribute_visibility_internal_d;
#endif // _di_fss_embedded_list_read_process_delimits_objects_
/**
* @see fss_embedded_list_read_process_delimits_contents()
*/
#ifndef _di_fss_embedded_list_read_process_delimits_within_greater_
- extern f_status_t fss_embedded_list_read_process_delimits_within_greater(fss_embedded_list_read_data_t * const data, const f_array_length_t depth, const f_array_length_t location) F_attribute_visibility_internal_d;
+ extern f_status_t fss_embedded_list_read_process_delimits_within_greater(fss_embedded_list_read_data_t * const data, const f_number_unsigned_t depth, const f_number_unsigned_t location) F_attribute_visibility_internal_d;
#endif // _di_fss_embedded_list_read_process_delimits_within_greater_
#ifdef __cplusplus
}
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
if (F_status_is_error(status)) return;
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
status = F_status_set_error(F_parameter);
}
else if (main->parameters.array[fss_identify_parameter_line_e].result & f_console_result_value_e) {
- const f_array_length_t index = main->parameters.array[fss_identify_parameter_line_e].values.array[main->parameters.array[fss_identify_parameter_line_e].values.used - 1];
+ const f_number_unsigned_t index = main->parameters.array[fss_identify_parameter_line_e].values.array[main->parameters.array[fss_identify_parameter_line_e].values.used - 1];
status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, data.argv[index], &data.line);
status = F_status_set_error(F_parameter);
}
else if (main->parameters.array[fss_identify_parameter_name_e].result & f_console_result_value_e) {
- const f_array_length_t index = main->parameters.array[fss_identify_parameter_name_e].values.array[main->parameters.array[fss_identify_parameter_name_e].values.used - 1];
- const f_array_length_t length = data.argv[index].used;
+ const f_number_unsigned_t index = main->parameters.array[fss_identify_parameter_name_e].values.array[main->parameters.array[fss_identify_parameter_name_e].values.used - 1];
+ const f_number_unsigned_t length = data.argv[index].used;
const f_string_range_t range = macro_f_string_range_t_initialize_2(length);
if (length == 0) {
if (F_status_is_error_not(status)) {
- for (f_array_length_t i = range.start; i <= range.stop; ++i) {
+ for (f_number_unsigned_t i = range.start; i <= range.stop; ++i) {
status = f_utf_is_word_dash(data.argv[index].string + i, length, F_true);
}
if (F_status_is_error_not(status)) {
- for (f_array_length_t i = 0; i < main->parameters.remaining.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->parameters.remaining.used; ++i) {
if (!((++main->signal_check) % fss_identify_signal_check_d)) {
if (fll_program_standard_signal_received(&main->program)) {
*/
#ifndef _di_fss_identify_data_t_
typedef struct {
- f_array_length_t current;
- f_array_length_t line;
- f_array_length_t total;
+ f_number_unsigned_t current;
+ f_number_unsigned_t line;
+ f_number_unsigned_t total;
f_string_static_t *argv;
// 0 = is name, 1 = is type, 2 = is full.
uint8_t mode = 1;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
if (data->name.used) {
for (; i < data->name.used; ++i) {
f_status_t fss_identify_process_name_compare(fss_identify_data_t * const data, const f_fll_id_t id, const uint8_t mode) {
if (mode) {
- f_array_length_t number = 0;
+ f_number_unsigned_t number = 0;
f_string_range_t range = macro_f_string_range_t_initialize_2(data->name.used);
- for (f_array_length_t i = 0; i < data->name.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < data->name.used; ++i) {
if (data->name.string[i] == f_string_ascii_minus_s.string[0] && i + 1 < data->name.used) {
range.start = i + 1;
#ifndef _di_fss_read_ensure_quotes_length_
void fss_read_ensure_quotes_length(fss_read_main_t * const main) {
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
if (main->setting.quotes_object.used < main->setting.objects.used) {
main->setting.state.status = f_uint8s_resize(main->setting.objects.used, &main->setting.quotes_object);
if (parameters->array[fss_read_parameter_help_e].result & f_console_result_found_e) return;
if (parameters->array[fss_read_parameter_version_e].result & f_console_result_found_e) return;
- f_array_length_t i = 0;
- f_array_length_t index = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t index = 0;
{
- static const f_array_length_t parameter_code[] = {
+ static const f_number_unsigned_t parameter_code[] = {
fss_read_parameter_at_e,
fss_read_parameter_depth_e,
fss_read_parameter_line_e,
}
if (parameters->array[fss_read_parameter_columns_e].result & f_console_result_found_e) {
- static const f_array_length_t parameter_code[] = {
+ static const f_number_unsigned_t parameter_code[] = {
fss_read_parameter_depth_e,
fss_read_parameter_line_e,
fss_read_parameter_pipe_e,
}
if (parameters->array[fss_read_parameter_delimit_e].result & f_console_result_value_e) {
- f_array_length_t length = 0;
+ f_number_unsigned_t length = 0;
// Set the value to 0 to allow for detecting mode based on what is provided.
main->setting.delimit_mode = 0;
fss_read_main_t * const main = (fss_read_main_t *) void_main;
- f_array_length_t i = 1;
+ f_number_unsigned_t i = 1;
if (parameters->array[fss_read_parameter_depth_e].result & f_console_result_value_e) {
i = parameters->array[fss_read_parameter_depth_e].values.used;
main->setting.depths.used = i;
- f_array_length_t position_depth = 0;
- f_array_length_t position_at = 0;
- f_array_length_t position_name = 0;
+ f_number_unsigned_t position_depth = 0;
+ f_number_unsigned_t position_at = 0;
+ f_number_unsigned_t position_name = 0;
fss_read_depth_t *current = 0;
for (i = 0; i < main->setting.depths.used; ++i) {
}
} // for
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
for (i = 0; i < main->setting.depths.used; ++i) {
#endif
#ifndef _di_fss_read_except_none_c_
- const f_array_lengths_t fss_read_except_none_c = macro_f_array_lengths_t_initialize_1(0, 0, 0);
+ const f_number_unsigneds_t fss_read_except_none_c = macro_f_number_unsigneds_t_initialize_1(0, 0, 0);
#endif // _di_fss_read_except_none_c_
#ifdef __cplusplus
* This is intended to represent an empty array lengths structure.
*/
#ifndef _di_fss_read_except_none_c_
- extern const f_array_lengths_t fss_read_except_none_c;
+ extern const f_number_unsigneds_t fss_read_except_none_c;
#endif // _di_fss_read_except_none_c_
#ifdef __cplusplus
#endif // _di_fss_read_depth_delete_
#ifndef _di_fss_read_depths_resize_
- f_status_t fss_read_depths_resize(const f_array_length_t length, fss_read_depths_t * const depths) {
+ f_status_t fss_read_depths_resize(const f_number_unsigned_t length, fss_read_depths_t * const depths) {
if (!depths) return F_status_set_error(F_parameter);
- if (depths->used + length > F_array_length_t_size_d) return F_status_set_error(F_array_too_large);
+ if (depths->used + length > F_number_t_size_unsigned_d) return F_status_set_error(F_array_too_large);
- for (f_array_length_t i = length; i < depths->size; ++i) {
+ for (f_number_unsigned_t i = length; i < depths->size; ++i) {
fss_read_depth_delete(&depths->array[i]);
} // for
#endif // _di_fss_read_depths_resize_
#ifndef _di_fss_read_files_resize_
- f_status_t fss_read_files_resize(const f_array_length_t length, fss_read_files_t * const files) {
+ f_status_t fss_read_files_resize(const f_number_unsigned_t length, fss_read_files_t * const files) {
if (!files) return F_status_set_error(F_parameter);
- if (files->used + length > F_array_length_t_size_d) return F_status_set_error(F_array_too_large);
+ if (files->used + length > F_number_t_size_unsigned_d) return F_status_set_error(F_array_too_large);
const f_status_t status = f_memory_adjust(files->size, length, sizeof(fss_read_file_t), (void **) & files->array);
if (F_status_is_error(status)) return status;
f_fss_nest_resize(0, &setting->nest);
- f_array_lengths_resize(0, &setting->delimits_object);
- f_array_lengths_resize(0, &setting->delimits_content);
+ f_number_unsigneds_resize(0, &setting->delimits_object);
+ f_number_unsigneds_resize(0, &setting->delimits_content);
f_uint8s_resize(0, &setting->quotes_object);
f_uint8ss_resize(0, &setting->quotes_content);
*/
#ifndef _di_fss_read_depth_t_
typedef struct {
- f_array_length_t depth;
+ f_number_unsigned_t depth;
- f_array_length_t index_at;
- f_array_length_t index_name;
+ f_number_unsigned_t index_at;
+ f_number_unsigned_t index_name;
f_number_unsigned_t value_at;
f_string_dynamic_t value_name;
typedef struct {
fss_read_depth_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} fss_read_depths_t;
#define fss_read_depths_t_initialize { 0, 0, 0 }
typedef struct {
fss_read_file_t *array;
- f_array_length_t size;
- f_array_length_t used;
+ f_number_unsigned_t size;
+ f_number_unsigned_t used;
} fss_read_files_t;
#define fss_read_files_t_initialize { 0, 0, 0 }
void (*process_normal)(void * const main);
void (*process_at)(void * const main, const bool names[], const f_fss_delimits_t delimits_object, const f_fss_delimits_t delimits_content);
- void (*process_at_line)(void * const void_main, const f_array_length_t at, const f_array_lengths_t delimits_object, const f_array_lengths_t delimits_content, f_number_unsigned_t * const line);
+ void (*process_at_line)(void * const void_main, const f_number_unsigned_t at, const f_number_unsigneds_t delimits_object, const f_number_unsigneds_t delimits_content, f_number_unsigned_t * const line);
void (*process_columns)(void * const main, const bool names[]);
void (*process_load)(void * const main);
void (*process_name)(void * const main, bool names[]);
void (*process_total)(void * const main, const bool names[]);
- f_status_t (*print_at)(fl_print_t * const print, const f_array_length_t at, const f_fss_delimits_t delimits_object, const f_fss_delimits_t delimits_content);
- f_status_t (*print_object)(fl_print_t * const print, const f_array_length_t at, const f_fss_delimits_t delimits);
+ f_status_t (*print_at)(fl_print_t * const print, const f_number_unsigned_t at, const f_fss_delimits_t delimits_object, const f_fss_delimits_t delimits_content);
+ f_status_t (*print_object)(fl_print_t * const print, const f_number_unsigned_t at, const f_fss_delimits_t delimits);
f_status_t (*print_content)(fl_print_t * const print, const f_string_range_t range, const uint8_t quote, const f_fss_delimits_t delimits);
f_status_t (*print_content_ignore)(fl_print_t * const print);
f_status_t (*print_content_next)(fl_print_t * const print);
f_status_t status_thread;
f_state_t state;
- f_array_length_t delimit_depth;
+ f_number_unsigned_t delimit_depth;
f_number_unsigned_t select;
f_number_unsigned_t line;
* @see f_memory_resize()
*/
#ifndef _di_fss_read_depths_resize_
- extern f_status_t fss_read_depths_resize(const f_array_length_t length, fss_read_depths_t * const depths);
+ extern f_status_t fss_read_depths_resize(const f_number_unsigned_t length, fss_read_depths_t * const depths);
#endif // _di_fss_read_depths_resize_
/**
* @see f_string_ranges_resize()
*/
#ifndef _di_fss_read_files_resize_
- extern f_status_t fss_read_files_resize(const f_array_length_t length, fss_read_files_t * const files);
+ extern f_status_t fss_read_files_resize(const f_number_unsigned_t length, fss_read_files_t * const files);
#endif // _di_fss_read_files_resize_
/**
#endif
#ifndef _di_fss_read_delimit_content_is_
- f_status_t fss_read_delimit_content_is(fss_read_main_t * const main, const f_array_length_t depth) {
+ f_status_t fss_read_delimit_content_is(fss_read_main_t * const main, const f_number_unsigned_t depth) {
if (!main) return F_false;
#endif // _di_fss_read_delimit_content_is_
#ifndef _di_fss_read_delimit_object_is_
- f_status_t fss_read_delimit_object_is(fss_read_main_t * const main, const f_array_length_t depth) {
+ f_status_t fss_read_delimit_object_is(fss_read_main_t * const main, const f_number_unsigned_t depth) {
if (!main) return F_false;
#endif // _di_fss_read_main_
#ifndef _di_fss_read_file_identify_
- f_string_static_t fss_read_file_identify(const f_array_length_t at, const fss_read_files_t files) {
+ f_string_static_t fss_read_file_identify(const f_number_unsigned_t at, const fss_read_files_t files) {
- for (f_array_length_t i = 0; i < files.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < files.used; ++i) {
if (at >= files.array[i].range.start && at <= files.array[i].range.stop) return files.array[i].name;
} // for
* F_false if to not apply delimits (fallback when main is NULL).
*/
#ifndef _di_fss_read_delimit_content_is_
- extern f_status_t fss_read_delimit_content_is(fss_read_main_t * const main, const f_array_length_t depth);
+ extern f_status_t fss_read_delimit_content_is(fss_read_main_t * const main, const f_number_unsigned_t depth);
#endif // _di_fss_read_delimit_content_is_
/**
* F_false if to not apply delimits (fallback when main is NULL).
*/
#ifndef _di_fss_read_delimit_object_is_
- extern f_status_t fss_read_delimit_object_is(fss_read_main_t * const main, const f_array_length_t depth);
+ extern f_status_t fss_read_delimit_object_is(fss_read_main_t * const main, const f_number_unsigned_t depth);
#endif // _di_fss_read_delimit_object_is_
/**
* On failure to identify, an empty string is returned.
*/
#ifndef _di_fss_read_file_identify_
- extern f_string_static_t fss_read_file_identify(const f_array_length_t at, const fss_read_files_t files);
+ extern f_string_static_t fss_read_file_identify(const f_number_unsigned_t at, const fss_read_files_t files);
#endif // _di_fss_read_file_identify_
/**
if (main->program.parameters.array[fss_read_parameter_as_e].result & f_console_result_value_e && main->program.parameters.array[fss_read_parameter_as_e].values.used) {
- f_array_length_t index = 0;
+ f_number_unsigned_t index = 0;
f_string_static_t *argv = main->program.parameters.arguments.array;
- for (f_array_length_t i = 0; i < main->program.parameters.array[fss_read_parameter_as_e].values.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->program.parameters.array[fss_read_parameter_as_e].values.used; ++i) {
index = main->program.parameters.array[fss_read_parameter_as_e].values.array[i];
#endif
#ifndef _di_fss_read_print_at_
- f_status_t fss_read_print_at(fl_print_t * const print, const f_array_length_t at, const f_fss_delimits_t delimits_object, const f_fss_delimits_t delimits_content) {
+ f_status_t fss_read_print_at(fl_print_t * const print, const f_number_unsigned_t at, const f_fss_delimits_t delimits_object, const f_fss_delimits_t delimits_content) {
if (!print || !print->custom) return F_status_set_error(F_output_not);
print_set_end = F_true;
if (main->callback.print_content) {
- for (f_array_length_t i = 0; i < main->setting.contents.array[at].used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->setting.contents.array[at].used; ++i) {
main->callback.print_content(&main->program.output, main->setting.contents.array[at].array[i], main->setting.quotes_content.array[at].used ? main->setting.quotes_content.array[at].array[i] : 0, delimits_content);
#endif // _di_fss_read_print_number_
#ifndef _di_fss_read_print_object_
- f_status_t fss_read_print_object(fl_print_t * const print, const f_array_length_t at, const f_fss_delimits_t delimits) {
+ f_status_t fss_read_print_object(fl_print_t * const print, const f_number_unsigned_t at, const f_fss_delimits_t delimits) {
if (!print || !print->custom) return F_status_set_error(F_output_not);
* @see main.callback.print_set_end()
*/
#ifndef _di_fss_read_print_at_
- extern f_status_t fss_read_print_at(fl_print_t * const print, const f_array_length_t at, const f_fss_delimits_t delimits_object, const f_fss_delimits_t delimits_content);
+ extern f_status_t fss_read_print_at(fl_print_t * const print, const f_number_unsigned_t at, const f_fss_delimits_t delimits_object, const f_fss_delimits_t delimits_content);
#endif // _di_fss_read_print_at_
/**
* @see fss_read_print_quote()
*/
#ifndef _di_fss_read_print_object_
- extern f_status_t fss_read_print_object(fl_print_t * const print, const f_array_length_t at, const f_fss_delimits_t delimits);
+ extern f_status_t fss_read_print_object(fl_print_t * const print, const f_number_unsigned_t at, const f_fss_delimits_t delimits);
#endif // _di_fss_read_print_object_
/**
#endif // _di_fss_read_print_error_parameter_requires_message_
#ifndef _di_fss_read_print_error_parameter_value_before_value_number_
- f_status_t fss_read_print_error_parameter_value_before_value_number(fl_print_t * const print, const f_string_static_t symbol, const f_string_static_t name, const f_array_length_t value, const f_array_length_t before) {
+ f_status_t fss_read_print_error_parameter_value_before_value_number(fl_print_t * const print, const f_string_static_t symbol, const f_string_static_t name, const f_number_unsigned_t value, const f_number_unsigned_t before) {
if (!print) return F_status_set_error(F_output_not);
if (print->verbosity == f_console_verbosity_quiet_e) return F_output_not;
#endif // _di_fss_read_print_error_parameter_value_before_value_number_
#ifndef _di_fss_read_print_error_parameter_value_once_only_number_
- f_status_t fss_read_print_error_parameter_value_once_only_number(fl_print_t * const print, const f_string_static_t symbol, const f_string_static_t name, const f_array_length_t value) {
+ f_status_t fss_read_print_error_parameter_value_once_only_number(fl_print_t * const print, const f_string_static_t symbol, const f_string_static_t name, const f_number_unsigned_t value) {
if (!print) return F_status_set_error(F_output_not);
if (print->verbosity == f_console_verbosity_quiet_e) return F_output_not;
* F_output_not (with error bit) if a parameter is NULL.
*/
#ifndef _di_fss_read_print_error_parameter_value_before_value_number_
- extern f_status_t fss_read_print_error_parameter_value_before_value_number(fl_print_t * const print, const f_string_static_t symbol, const f_string_static_t name, const f_array_length_t value, const f_array_length_t before);
+ extern f_status_t fss_read_print_error_parameter_value_before_value_number(fl_print_t * const print, const f_string_static_t symbol, const f_string_static_t name, const f_number_unsigned_t value, const f_number_unsigned_t before);
#endif // _di_fss_read_print_error_parameter_value_before_value_number_
/**
* F_output_not (with error bit) if a parameter is NULL.
*/
#ifndef _di_fss_read_print_error_parameter_value_once_only_number_
- extern f_status_t fss_read_print_error_parameter_value_once_only_number(fl_print_t * const print, const f_string_static_t symbol, const f_string_static_t name, const f_array_length_t value);
+ extern f_status_t fss_read_print_error_parameter_value_once_only_number(fl_print_t * const print, const f_string_static_t symbol, const f_string_static_t name, const f_number_unsigned_t value);
#endif // _di_fss_read_print_error_parameter_value_once_only_number_
/**
main->callback.process_load(main);
if (F_status_is_error(main->setting.state.status)) return;
- const f_array_lengths_t * const delimits_object = !(main->setting.flag & fss_read_main_flag_original_e) && fss_read_delimit_object_is(main, 0) ? &main->setting.delimits_object : &fss_read_except_none_c;
- const f_array_lengths_t * const delimits_content = !(main->setting.flag & fss_read_main_flag_original_e) && fss_read_delimit_content_is(main, 0) ? &main->setting.delimits_content : &fss_read_except_none_c;
+ const f_number_unsigneds_t * const delimits_object = !(main->setting.flag & fss_read_main_flag_original_e) && fss_read_delimit_object_is(main, 0) ? &main->setting.delimits_object : &fss_read_except_none_c;
+ const f_number_unsigneds_t * const delimits_content = !(main->setting.flag & fss_read_main_flag_original_e) && fss_read_delimit_content_is(main, 0) ? &main->setting.delimits_content : &fss_read_except_none_c;
bool names[main->setting.objects.used];
}
}
else {
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
if (main->setting.flag & fss_read_main_flag_line_e) {
if (main->callback.process_at_line) {
#endif // _di_fss_read_process_normal_
#ifndef _di_fss_read_process_normal_at_
- void fss_read_process_normal_at(void * const void_main, const bool names[], const f_array_lengths_t delimits_object, f_array_lengths_t delimits_content) {
+ void fss_read_process_normal_at(void * const void_main, const bool names[], const f_number_unsigneds_t delimits_object, f_number_unsigneds_t delimits_content) {
if (!void_main) return;
}
}
- f_array_length_t i = 0;
- f_array_length_t at = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t at = 0;
for (; i < main->setting.objects.used; ++i) {
if ((main->setting.flag & fss_read_main_flag_line_single_e) && !at) break;
if (main->callback.process_at_line) {
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
main->callback.process_at_line(void_main, i, delimits_object, delimits_content, &line);
}
#endif // _di_fss_read_process_normal_at_
#ifndef _di_fss_read_process_normal_at_line_
- void fss_read_process_normal_at_line(void * const void_main, const f_array_length_t at, const f_array_lengths_t delimits_object, const f_array_lengths_t delimits_content, f_number_unsigned_t * const line) {
+ void fss_read_process_normal_at_line(void * const void_main, const f_number_unsigned_t at, const f_number_unsigneds_t delimits_object, const f_number_unsigneds_t delimits_content, f_number_unsigned_t * const line) {
if (!void_main || !line) return;
return;
}
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
if (main->setting.flag & fss_read_main_flag_line_single_e) {
if (*line == main->setting.line) {
++(*line);
}
else {
- f_array_length_t line_original = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t line_original = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
for (; i < main->setting.contents.array[at].used; ++i) {
return;
}
- f_array_length_t max = 0;
+ f_number_unsigned_t max = 0;
if (main->setting.flag & fss_read_main_flag_content_multiple_e) {
- for (f_array_length_t at = 0; at < main->setting.contents.used; ++at) {
+ for (f_number_unsigned_t at = 0; at < main->setting.contents.used; ++at) {
if (!names[at]) continue;
if (fss_read_signal_check(main)) return;
} // for
}
else {
- for (f_array_length_t at = 0; at < main->setting.contents.used; ++at) {
+ for (f_number_unsigned_t at = 0; at < main->setting.contents.used; ++at) {
if (names[at]) {
max = 1;
fss_read_main_t * const main = (fss_read_main_t *) void_main;
if (main->setting.depths.array[0].index_name) {
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
memset(names, F_false, sizeof(bool) * main->setting.objects.used);
fss_read_main_t * const main = (fss_read_main_t *) void_main;
- f_array_length_t total = 0;
- f_array_length_t i = 0;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t i = 0;
if (main->setting.flag & fss_read_main_flag_select_e) {
for (; i < main->setting.contents.used; ++i) {
fss_read_main_t * const main = (fss_read_main_t *) void_main;
- f_array_length_t total = 0;
+ f_number_unsigned_t total = 0;
f_string_range_t range = f_string_range_t_initialize;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_length_t k = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
- for (f_array_length_t at = 0; at < main->setting.contents.used; ++at) {
+ for (f_number_unsigned_t at = 0; at < main->setting.contents.used; ++at) {
if (!names[at]) continue;
if (fss_read_signal_check(main)) return;
* Must not be NULL.
*/
#ifndef _di_fss_read_process_normal_at_line_
- extern void fss_read_process_normal_at_line(void * const main, const f_array_length_t at, const f_array_lengths_t delimits_object, const f_array_lengths_t delimits_content, f_number_unsigned_t * const line);
+ extern void fss_read_process_normal_at_line(void * const main, const f_number_unsigned_t at, const f_number_unsigneds_t delimits_object, const f_number_unsigneds_t delimits_content, f_number_unsigned_t * const line);
#endif // _di_fss_read_process_normal_at_line_
/**
if (!main) return;
siginfo_t information;
- f_array_length_t failsafe = 0;
+ f_number_unsigned_t failsafe = 0;
memset(&information, 0, sizeof(siginfo_t));
if (!main) return;
- f_array_lengths_t * const values = &main->program.parameters.array[fss_read_parameter_object_e].values;
+ f_number_unsigneds_t * const values = &main->program.parameters.array[fss_read_parameter_object_e].values;
f_string_static_t * const argv = main->program.parameters.arguments.array;
if ((main->program.parameters.array[fss_read_parameter_object_e].result & f_console_result_value_e) && values->used) {
- for (f_array_length_t i = 0; i < values->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < values->used; ++i) {
if (fss_read_signal_check(main)) return;
return;
}
- const f_array_length_t index = main->program.parameters.array[fss_write_parameter_file_e].values.array[0];
+ const f_number_unsigned_t index = main->program.parameters.array[fss_write_parameter_file_e].values.array[0];
main->program.output.to.id = -1;
main->program.output.to.stream = 0;
}
if ((main->program.parameters.array[fss_write_parameter_object_e].result & f_console_result_value_e) && main->program.parameters.array[fss_write_parameter_object_e].values.used) {
- f_array_lengths_t * const values = &main->program.parameters.array[fss_write_parameter_object_e].values;
+ f_number_unsigneds_t * const values = &main->program.parameters.array[fss_write_parameter_object_e].values;
main->setting.objects.used = 0;
}
// Construct the array without allocating any more memory for the string data by setting this as a static string (used > 0, size = 0).
- for (f_array_length_t index = 0; main->setting.objects.used < values->used; ) {
+ for (f_number_unsigned_t index = 0; main->setting.objects.used < values->used; ) {
index = values->array[main->setting.objects.used];
}
}
- f_array_length_t stub_object_array[1] = { 0 };
- f_array_lengths_t stub_object = macro_f_array_lengths_t_initialize_1(stub_object_array, 0, 1);
+ f_number_unsigned_t stub_object_array[1] = { 0 };
+ f_number_unsigneds_t stub_object = macro_f_number_unsigneds_t_initialize_1(stub_object_array, 0, 1);
- f_array_lengths_t * const values_content = &main->program.parameters.array[fss_write_parameter_content_e].values;
- f_array_lengths_t * const values_object = main->program.parameters.array[fss_write_parameter_object_e].values.used
+ f_number_unsigneds_t * const values_content = &main->program.parameters.array[fss_write_parameter_content_e].values;
+ f_number_unsigneds_t * const values_object = main->program.parameters.array[fss_write_parameter_object_e].values.used
? &main->program.parameters.array[fss_write_parameter_object_e].values
: &stub_object;
return;
}
- f_array_length_t i = 0; // For Contents.
- f_array_length_t j = 0; // For Objects.
- f_array_length_t k = 0;
- f_array_length_t total = 0;
- f_array_length_t index = 0;
+ f_number_unsigned_t i = 0; // For Contents.
+ f_number_unsigned_t j = 0; // For Objects.
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t index = 0;
// Construct the array without allocating any more memory for the string data by setting this as a static string (used > 0, size = 0).
while (i < values_content->used) {
}
if ((main->program.parameters.array[fss_write_parameter_prepend_e].result & f_console_result_value_e) && main->program.parameters.array[fss_write_parameter_prepend_e].values.used) {
- const f_array_length_t index = main->program.parameters.array[fss_write_parameter_prepend_e].values.array[main->program.parameters.array[fss_write_parameter_prepend_e].location];
+ const f_number_unsigned_t index = main->program.parameters.array[fss_write_parameter_prepend_e].values.array[main->program.parameters.array[fss_write_parameter_prepend_e].location];
main->setting.prepend.used = 0;
// Only process if the standard designates that the ingore is supported.
if (main->setting.flag & fss_write_main_flag_ignore_e) {
- f_array_length_t stub_data_array[1] = { 0 };
- f_array_lengths_t stub_data = macro_f_array_lengths_t_initialize_1(stub_data_array, 0, 1);
+ f_number_unsigned_t stub_data_array[1] = { 0 };
+ f_number_unsigneds_t stub_data = macro_f_number_unsigneds_t_initialize_1(stub_data_array, 0, 1);
- f_array_lengths_t * const values_ignore = &main->program.parameters.array[fss_write_parameter_ignore_e].values;
- f_array_lengths_t * const values_data = main->program.parameters.array[fss_write_parameter_object_e].values.used
+ f_number_unsigneds_t * const values_ignore = &main->program.parameters.array[fss_write_parameter_ignore_e].values;
+ f_number_unsigneds_t * const values_data = main->program.parameters.array[fss_write_parameter_object_e].values.used
? &main->program.parameters.array[fss_write_parameter_object_e].values
: main->program.parameters.array[fss_write_parameter_content_e].values.used
? &main->program.parameters.array[fss_write_parameter_content_e].values
return;
}
- f_array_length_t i = 0; // For Ignores.
- f_array_length_t j = 0; // For Objects/Contents.
- f_array_length_t k = 0;
- f_array_length_t total = 0;
- f_array_length_t index = 0;
+ f_number_unsigned_t i = 0; // For Ignores.
+ f_number_unsigned_t j = 0; // For Objects/Contents.
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t index = 0;
// Construct the array without allocating any more memory for the string data by setting this as a static string (used > 0, size = 0).
while (i < values_ignore->used) {
else {
// Still validate the parameters, even if not being used.
- f_array_length_t i = 0;
- f_array_length_t index = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t index = 0;
f_string_range_t number = f_string_range_t_initialize;
while (i < main->program.parameters.array[fss_write_parameter_ignore_e].values.used) {
#endif // _di_fss_write_process_normal_
#ifndef _di_fss_write_process_normal_data_
- void fss_write_process_normal_data(void * const void_main, const f_array_length_t length) {
+ void fss_write_process_normal_data(void * const void_main, const f_number_unsigned_t length) {
if (!void_main) return;
main->setting.contents = 0;
if (length) {
- for (f_array_length_t i = 0; i < length; ++i) {
+ for (f_number_unsigned_t i = 0; i < length; ++i) {
// @todo replace all signal checks with forked main process that independently checks and assigns main->program.signal_received.
if (!((++main->program.signal_check) % fss_write_signal_check_d)) {
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- const f_array_length_t used_objects = main->setting.objects.used;
- const f_array_length_t used_contentss = main->setting.contentss.used;
- const f_array_length_t used_ignoress = main->setting.ignoress.used;
+ const f_number_unsigned_t used_objects = main->setting.objects.used;
+ const f_number_unsigned_t used_contentss = main->setting.contentss.used;
+ const f_number_unsigned_t used_ignoress = main->setting.ignoress.used;
main->setting.object = &main->setting.objects.array[used_objects];
main->setting.contents = &main->setting.contentss.array[used_contentss];
input.id = F_type_descriptor_input_d;
input.size_read = main->setting.state.step_large;
- f_array_length_t total = 0;
- f_array_length_t ignore = 0;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t ignore = 0;
f_string_range_t range = f_string_range_t_initialize;
// Reset all of the used data before starting the loop.
if (main->callback.process_content) {
if (main->setting.contents && main->setting.contents->used) {
- for (f_array_length_t i = 0; i < main->setting.contents->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->setting.contents->used; ++i) {
if (main->setting.contents->array[i].used) {
main->setting.range.start = 0;
* F_parameter (with error bit) if main is NULL or setting is NULL.
*/
#ifndef _di_fss_write_process_normal_data_
- void fss_write_process_normal_data(void * const main, const f_array_length_t length);
+ void fss_write_process_normal_data(void * const main, const f_number_unsigned_t length);
#endif // _di_fss_write_process_normal_data_
/**
if (main->program.parameters.array[fss_write_parameter_as_e].result & f_console_result_value_e && main->program.parameters.array[fss_write_parameter_as_e].values.used) {
- f_array_length_t index = 0;
+ f_number_unsigned_t index = 0;
f_string_static_t *argv = main->program.parameters.arguments.array;
- for (f_array_length_t i = 0; i < main->program.parameters.array[fss_write_parameter_as_e].values.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->program.parameters.array[fss_write_parameter_as_e].values.used; ++i) {
index = main->program.parameters.array[fss_write_parameter_as_e].values.array[i];
if (!main) return;
siginfo_t information;
- f_array_length_t failsafe = 0;
+ f_number_unsigned_t failsafe = 0;
memset(&information, 0, sizeof(siginfo_t));
input.id = F_type_descriptor_input_d;
input.size_read = fss_write_allocation_large_d;
- f_array_length_t total = 0;
- f_array_length_t length = 0;
+ f_number_unsigned_t total = 0;
+ f_number_unsigned_t length = 0;
f_string_range_t range = f_string_range_t_initialize;
- const f_array_length_t used_objects = main->setting.objects.used;
- const f_array_length_t used_contentss = main->setting.contentss.used;
- const f_array_length_t used_ignoress = main->setting.ignoress.used;
+ const f_number_unsigned_t used_objects = main->setting.objects.used;
+ const f_number_unsigned_t used_contentss = main->setting.contentss.used;
+ const f_number_unsigned_t used_ignoress = main->setting.ignoress.used;
main->setting.object = &main->setting.objects.array[used_objects];
main->setting.contents = &main->setting.contentss.array[used_contentss];
const f_string_static_t *prepend = 0;
if (main->setting.flag & fss_write_main_flag_prepend_e) {
- const f_array_length_t index = main->program.parameters.array[fss_write_parameter_prepend_e].values.array[main->program.parameters.array[fss_write_parameter_prepend_e].values.used - 1];
+ const f_number_unsigned_t index = main->program.parameters.array[fss_write_parameter_prepend_e].values.array[main->program.parameters.array[fss_write_parameter_prepend_e].values.used - 1];
prepend = &main->program.parameters.arguments.array[index];
}
if (!main) return;
- f_array_lengths_t * const values = &main->program.parameters.array[fss_write_parameter_object_e].values;
+ f_number_unsigneds_t * const values = &main->program.parameters.array[fss_write_parameter_object_e].values;
f_string_static_t * const argv = main->program.parameters.arguments.array;
if ((main->program.parameters.array[fss_write_parameter_object_e].result & f_console_result_value_e) && values->used) {
- for (f_array_length_t i = 0; i < values->used; ++i) {
+ for (f_number_unsigned_t i = 0; i < values->used; ++i) {
if (f_compare_dynamic(argv[values->array[i]], fss_write_payload_s) == F_equal_to && i + 1 < values->used) {
main->setting.state.status = F_status_set_error(F_parameter);
return;
}
- const f_array_length_t index = main->program.parameters.array[iki_read_parameter_at_e].values.array[main->program.parameters.array[iki_read_parameter_at_e].values.used - 1];
+ const f_number_unsigned_t index = main->program.parameters.array[iki_read_parameter_at_e].values.array[main->program.parameters.array[iki_read_parameter_at_e].values.used - 1];
main->setting.at = 0;
}
if (main->program.parameters.array[iki_read_parameter_line_e].result & f_console_result_value_e) {
- const f_array_length_t index = main->program.parameters.array[iki_read_parameter_line_e].values.array[main->program.parameters.array[iki_read_parameter_line_e].values.used - 1];
+ const f_number_unsigned_t index = main->program.parameters.array[iki_read_parameter_line_e].values.array[main->program.parameters.array[iki_read_parameter_line_e].values.used - 1];
main->setting.line = 0;
}
// Distinctly append all names.
- f_array_length_t i = 0;
- f_array_length_t j = 0;
- f_array_lengths_t *values = &main->program.parameters.array[iki_read_parameter_name_e].values;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigneds_t *values = &main->program.parameters.array[iki_read_parameter_name_e].values;
for (; i < values->used; ++i) {
return;
}
- f_array_length_t at = 0;
- f_array_length_t index = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t index = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
for (; i < main->program.parameters.array[iki_read_parameter_replace_e].values.used; ++i) {
return;
}
- f_array_length_t at = 0;
- f_array_length_t index = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t index = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
for (; i < main->program.parameters.array[iki_read_parameter_wrap_e].values.used; ++i) {
return;
}
- f_array_length_t index = 0;
+ f_number_unsigned_t index = 0;
- for (f_array_length_t i = 0; i < main->program.parameters.remaining.used; ++i, ++main->setting.files.used) {
+ for (f_number_unsigned_t i = 0; i < main->program.parameters.remaining.used; ++i, ++main->setting.files.used) {
// Static strings are being used, so if a dynamic string exists (size > 0), then de-allocate it.
if (main->setting.files.array[main->setting.files.used].size) {
return F_false;
}
- f_array_length_t at = 0;
- f_array_length_t index = 0;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t at = 0;
+ f_number_unsigned_t index = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
for (; i < parameter.values.used; ++i) {
f_status_t status_thread;
f_state_t state;
- f_array_length_t at;
- f_array_length_t line;
+ f_number_unsigned_t at;
+ f_number_unsigned_t line;
f_string_dynamic_t buffer;
f_string_dynamics_t names;
f_string_triples_t substitute;
f_string_triples_t wrap;
- f_array_length_t *map_replaces;
- f_array_length_t *map_wraps;
+ f_number_unsigned_t *map_replaces;
+ f_number_unsigned_t *map_wraps;
f_iki_data_t data;
} iki_read_setting_t;
if (!main || !(main->setting.replace.used || main->setting.wrap.used)) return;
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
if (main->setting.flag & (iki_read_main_flag_content_e | iki_read_main_flag_literal_e)) {
- f_array_length_t j = 0;
+ f_number_unsigned_t j = 0;
for (i = 0; i < main->setting.data.vocabulary.used; ++i) {
#endif // _di_iki_read_identify_alteration_
#ifndef _di_iki_read_identify_substitution_
- f_array_length_t iki_read_identify_substitution(iki_read_main_t * const main, const f_string_range_t name, const f_string_range_t value, f_string_triples_t *triple) {
+ f_number_unsigned_t iki_read_identify_substitution(iki_read_main_t * const main, const f_string_range_t name, const f_string_range_t value, f_string_triples_t *triple) {
- f_array_length_t i = triple->used - 1;
+ f_number_unsigned_t i = triple->used - 1;
do {
if (f_compare_dynamic_partial_string(triple->array[i].a.string, main->setting.buffer, triple->array[i].a.used, name) == F_equal_to) {
* The value of the triple.used is returned on no match.
*/
#ifndef _di_iki_read_identify_substitution_
- extern f_array_length_t iki_read_identify_substitution(iki_read_main_t * const main, const f_string_range_t name, const f_string_range_t value, f_string_triples_t *triple);
+ extern f_number_unsigned_t iki_read_identify_substitution(iki_read_main_t * const main, const f_string_range_t name, const f_string_range_t value, f_string_triples_t *triple);
#endif // _di_iki_read_identify_substitution_
#ifdef __cplusplus
off_t size_file = 0;
off_t size_read = 0;
- for (f_array_length_t i = 0; i < main->setting.files.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->setting.files.used; ++i) {
if (!((++main->program.signal_check) % iki_read_signal_check_d)) {
if (fll_program_standard_signal_received(&main->program)) {
#endif
#ifndef _di_iki_read_print_data_
- void iki_read_print_data(fl_print_t * const print, const f_array_length_t index) {
+ void iki_read_print_data(fl_print_t * const print, const f_number_unsigned_t index) {
if (!print || !print->custom) return;
iki_read_main_t * const main = (iki_read_main_t *) print->custom;
- f_array_length_t at = main->setting.reassign.used;
+ f_number_unsigned_t at = main->setting.reassign.used;
if (main->setting.reassign.used && (main->setting.flag & (iki_read_main_flag_content_e | iki_read_main_flag_literal_e))) {
at = iki_read_identify_substitution(main, main->setting.data.vocabulary.array[index], main->setting.data.content.array[index], &main->setting.reassign);
#endif // _di_iki_read_print_data_
#ifndef _di_iki_read_print_data_wrap_append_
- void iki_read_print_data_wrap_append(fl_print_t * const print, const f_array_length_t index) {
+ void iki_read_print_data_wrap_append(fl_print_t * const print, const f_number_unsigned_t index) {
if (!print || !print->custom) return;
#endif // _di_iki_read_print_data_wrap_append_
#ifndef _di_iki_read_print_data_wrap_prepend_
- void iki_read_print_data_wrap_prepend(fl_print_t * const print, const f_array_length_t index) {
+ void iki_read_print_data_wrap_prepend(fl_print_t * const print, const f_number_unsigned_t index) {
if (!print || !print->custom) return;
* @see iki_read_print_data_wrap_append()
*/
#ifndef _di_iki_read_print_data_
- extern void iki_read_print_data(fl_print_t * const print, const f_array_length_t index) F_attribute_visibility_internal_d;
+ extern void iki_read_print_data(fl_print_t * const print, const f_number_unsigned_t index) F_attribute_visibility_internal_d;
#endif // _di_iki_read_print_data_
/**
* @see f_print_dynamic()
*/
#ifndef _di_iki_read_print_data_wrap_append_
- extern void iki_read_print_data_wrap_append(fl_print_t * const print, const f_array_length_t index) F_attribute_visibility_internal_d;
+ extern void iki_read_print_data_wrap_append(fl_print_t * const print, const f_number_unsigned_t index) F_attribute_visibility_internal_d;
#endif // _di_iki_read_print_data_wrap_append_
/**
* @see f_print_dynamic()
*/
#ifndef _di_iki_read_print_data_wrap_prepend_
- extern void iki_read_print_data_wrap_prepend(fl_print_t * const print, const f_array_length_t index) F_attribute_visibility_internal_d;
+ extern void iki_read_print_data_wrap_prepend(fl_print_t * const print, const f_number_unsigned_t index) F_attribute_visibility_internal_d;
#endif // _di_iki_read_print_data_wrap_prepend_
#ifdef __cplusplus
return;
}
- f_array_length_t line = 0;
+ f_number_unsigned_t line = 0;
range->start = 0;
if (main->setting.line) {
return;
}
- f_array_length_t i = 0;
- f_array_length_t replaces[main->setting.data.vocabulary.used];
- f_array_length_t wraps[main->setting.data.vocabulary.used];
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t replaces[main->setting.data.vocabulary.used];
+ f_number_unsigned_t wraps[main->setting.data.vocabulary.used];
- memset(replaces, 0, sizeof(f_array_length_t) * main->setting.data.vocabulary.used);
- memset(wraps, 0, sizeof(f_array_length_t) * main->setting.data.vocabulary.used);
+ memset(replaces, 0, sizeof(f_number_unsigned_t) * main->setting.data.vocabulary.used);
+ memset(wraps, 0, sizeof(f_number_unsigned_t) * main->setting.data.vocabulary.used);
main->setting.map_replaces = replaces;
main->setting.map_wraps = wraps;
iki_read_identify_alteration(main);
if (main->setting.flag & iki_read_main_flag_name_e) {
- f_array_length_t j = 0;
- f_array_length_t matches = 0;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t matches = 0;
bool unmatched = F_true;
f_file_stream_lock(main->program.output.to);
return;
}
- f_array_length_t i = 0;
+ f_number_unsigned_t i = 0;
for (; i < main->setting.data.delimits.used; ++i) {
main->setting.buffer.string[main->setting.data.delimits.array[i]] = f_iki_syntax_placeholder_s.string[0];
return;
}
- f_array_length_t replaces[main->setting.data.vocabulary.used];
- f_array_length_t wraps[main->setting.data.vocabulary.used];
+ f_number_unsigned_t replaces[main->setting.data.vocabulary.used];
+ f_number_unsigned_t wraps[main->setting.data.vocabulary.used];
- memset(replaces, 0, sizeof(f_array_length_t) * main->setting.data.vocabulary.used);
- memset(wraps, 0, sizeof(f_array_length_t) * main->setting.data.vocabulary.used);
+ memset(replaces, 0, sizeof(f_number_unsigned_t) * main->setting.data.vocabulary.used);
+ memset(wraps, 0, sizeof(f_number_unsigned_t) * main->setting.data.vocabulary.used);
main->setting.map_replaces = replaces;
main->setting.map_wraps = wraps;
iki_read_identify_alteration(main);
{
- f_array_length_t j = 0;
- f_array_length_t k = 0;
- f_array_length_t stop = main->setting.data.variable.used;
+ f_number_unsigned_t j = 0;
+ f_number_unsigned_t k = 0;
+ f_number_unsigned_t stop = main->setting.data.variable.used;
i = buffer_range.start;
range = buffer_range;
return;
}
- f_array_length_t i = 0;
- f_array_length_t total = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t total = 0;
for (; i < main->setting.data.delimits.used; ++i) {
main->setting.buffer.string[main->setting.data.delimits.array[i]] = f_iki_syntax_placeholder_s.string[0];
if (main->program.parameters.array[iki_read_parameter_name_e].result & f_console_result_value_e) {
f_string_dynamic_t name = f_string_dynamic_t_initialize;
- f_array_length_t index = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t index = 0;
+ f_number_unsigned_t j = 0;
range.start = 0;
if (!main) return;
siginfo_t information;
- f_array_length_t failsafe = 0;
+ f_number_unsigned_t failsafe = 0;
memset(&information, 0, sizeof(siginfo_t));
return;
}
- const f_array_length_t index = main->program.parameters.array[iki_write_parameter_file_e].values.array[0];
+ const f_number_unsigned_t index = main->program.parameters.array[iki_write_parameter_file_e].values.array[0];
main->program.output.to.id = -1;
main->program.output.to.stream = 0;
}
if (main->program.parameters.array[iki_write_parameter_object_e].result & f_console_result_value_e) {
- f_array_lengths_t * const values = &main->program.parameters.array[iki_write_parameter_object_e].values;
+ f_number_unsigneds_t * const values = &main->program.parameters.array[iki_write_parameter_object_e].values;
main->setting.objects.used = 0;
}
// Construct the array without allocating any more memory by setting this as a static string (used > 0, size = 0).
- for (f_array_length_t index = 0; main->setting.objects.used < values->used; ) {
+ for (f_number_unsigned_t index = 0; main->setting.objects.used < values->used; ) {
index = values->array[main->setting.objects.used];
}
if (main->program.parameters.array[iki_write_parameter_content_e].result & f_console_result_value_e) {
- f_array_lengths_t * const values = &main->program.parameters.array[iki_write_parameter_content_e].values;
+ f_number_unsigneds_t * const values = &main->program.parameters.array[iki_write_parameter_content_e].values;
main->setting.contents.used = 0;
}
// Construct the array without allocating any more memory by setting this as a static string (used > 0, size = 0).
- for (f_array_length_t index = 0; main->setting.contents.used < values->used; ) {
+ for (f_number_unsigned_t index = 0; main->setting.contents.used < values->used; ) {
index = values->array[main->setting.contents.used];
if (main->program.pipe & fll_program_data_pipe_input_e) {
bool object_ended = F_false;
- f_array_length_t previous = 0;
+ f_number_unsigned_t previous = 0;
f_string_range_t range = f_string_range_t_initialize;
f_status_t status = F_none;
f_file_t pipe = f_file_t_initialize;
}
if (F_status_is_error_not(main->setting.state.status) && F_status_set_fine(main->setting.state.status) != F_interrupt) {
- for (f_array_length_t i = 0; i < main->setting.objects.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->setting.objects.used; ++i) {
if (!((++main->program.signal_check) % iki_write_signal_check_d)) {
if (fll_program_standard_signal_received(&main->program)) {
if (!main) return;
siginfo_t information;
- f_array_length_t failsafe = 0;
+ f_number_unsigned_t failsafe = 0;
memset(&information, 0, sizeof(siginfo_t));
if (!main) return;
siginfo_t information;
- f_array_length_t failsafe = 0;
+ f_number_unsigned_t failsafe = 0;
memset(&information, 0, sizeof(siginfo_t));
if (main->program.parameters.remaining.used) {
f_file_stream_lock(main->program.output.to);
- for (f_array_length_t i = 0; i < main->program.parameters.remaining.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->program.parameters.remaining.used; ++i) {
if (!((++main->program.signal_check) % status_code_signal_check_d)) {
if (fll_program_standard_signal_received(&main->program)) {
if (main->program.parameters.remaining.used) {
f_file_stream_lock(main->program.output.to);
- for (f_array_length_t i = 0; i < main->program.parameters.remaining.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->program.parameters.remaining.used; ++i) {
if (!((++main->program.signal_check) % status_code_signal_check_d)) {
if (fll_program_standard_signal_received(&main->program)) {
if (main->program.parameters.remaining.used) {
f_file_stream_lock(main->program.output.to);
- for (f_array_length_t i = 0; i < main->program.parameters.remaining.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < main->program.parameters.remaining.used; ++i) {
if (!((++main->program.signal_check) % status_code_signal_check_d)) {
if (fll_program_standard_signal_received(&main->program)) {
bool next = F_true;
uint8_t mode_codepoint = utf8_codepoint_mode_ready_e;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
f_char_t block[4] = { 0, 0, 0, 0 };
f_string_static_t sequence = macro_f_string_static_t_initialize_1(block, 0, 4);
if (F_status_is_error(main->setting.state.status)) return;
}
- for (f_array_length_t i = 0; i < unicode.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < unicode.used; ++i) {
main->setting.text.string[main->setting.text.used++] = unicode.string[i];
} // for
}
if (F_status_is_error(main->setting.state.status)) return;
}
- for (f_array_length_t i = 0; i < hex.used; ++i) {
+ for (f_number_unsigned_t i = 0; i < hex.used; ++i) {
main->setting.text.string[main->setting.text.used++] = hex.string[i];
} // for
}
bool next = F_true;
uint8_t mode_codepoint = utf8_codepoint_mode_ready_e;
- f_array_length_t i = 0;
- f_array_length_t j = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t j = 0;
f_char_t block[5] = { 0, 0, 0, 0, 0 };
f_string_static_t sequence = macro_f_string_static_t_initialize_1(block, 0, 0);
}
{
- f_array_length_t choice = 0;
+ f_number_unsigned_t choice = 0;
f_uint16s_t choices = f_uint16s_t_initialize;
// Identify and prioritize "color context" parameters.
main->setting.path_files_from.used = main->program.parameters.array[utf8_parameter_from_file_e].values.used;
- f_array_length_t i = 0;
- f_array_length_t index = 0;
+ f_number_unsigned_t i = 0;
+ f_number_unsigned_t index = 0;
for (; i < main->setting.path_files_from.used; ++i) {
}
// Construct the array without allocating any more memory by setting this as a static string (used > 0, size = 0).
- for (f_array_length_t index = 0; main->setting.remaining.used < main->program.parameters.remaining.used; ) {
+ for (f_number_unsigned_t index = 0; main->setting.remaining.used < main->program.parameters.remaining.used; ) {
index = main->program.parameters.remaining.array[main->setting.remaining.used];
#endif // _di_utf8_print_data_raw_combining_or_width_
#ifndef _di_utf8_print_data_section_header_file_
- f_status_t utf8_print_data_section_header_file(fl_print_t * const print, const f_string_static_t name, const f_array_length_t index) {
+ f_status_t utf8_print_data_section_header_file(fl_print_t * const print, const f_string_static_t name, const f_number_unsigned_t index) {
if (!print->custom) return F_status_set_error(F_output_not);
#endif // _di_utf8_print_data_section_header_file_
#ifndef _di_utf8_print_data_section_header_parameter_
- f_status_t utf8_print_data_section_header_parameter(fl_print_t * const print, const f_array_length_t index) {
+ f_status_t utf8_print_data_section_header_parameter(fl_print_t * const print, const f_number_unsigned_t index) {
if (!print->custom) return F_status_set_error(F_output_not);
* F_output_not (with error bit) if setting is NULL.
*/
#ifndef _di_utf8_print_data_section_header_file_
- extern f_status_t utf8_print_data_section_header_file(fl_print_t * const print, const f_string_static_t name, const f_array_length_t index);
+ extern f_status_t utf8_print_data_section_header_file(fl_print_t * const print, const f_string_static_t name, const f_number_unsigned_t index);
#endif // _di_utf8_print_data_section_header_file_
/**
* F_output_not (with error bit) if setting is NULL.
*/
#ifndef _di_utf8_print_data_section_header_parameter_
- extern f_status_t utf8_print_data_section_header_parameter(fl_print_t * const print, const f_array_length_t index);
+ extern f_status_t utf8_print_data_section_header_parameter(fl_print_t * const print, const f_number_unsigned_t index);
#endif // _di_utf8_print_data_section_header_parameter_
/**
#endif // _di_utf8_print_error_no_from_
#ifndef _di_utf8_print_error_parameter_file_name_empty_
- f_status_t utf8_print_error_parameter_file_name_empty(fl_print_t * const print, const f_array_length_t index) {
+ f_status_t utf8_print_error_parameter_file_name_empty(fl_print_t * const print, const f_number_unsigned_t index) {
if (print->verbosity < f_console_verbosity_error_e) return F_output_not;
* @see fl_print_format()
*/
#ifndef _di_utf8_print_error_parameter_file_name_empty_
- extern f_status_t utf8_print_error_parameter_file_name_empty(fl_print_t * const print, const f_array_length_t index);
+ extern f_status_t utf8_print_error_parameter_file_name_empty(fl_print_t * const print, const f_number_unsigned_t index);
#endif // _di_utf8_print_error_parameter_file_name_empty_
/**
if (!main) return;
siginfo_t information;
- f_array_length_t failsafe = 0;
+ f_number_unsigned_t failsafe = 0;
memset(&information, 0, sizeof(siginfo_t));
if (F_status_is_error_not(main->setting.state.status) && (main->setting.flag & utf8_main_flag_file_from_e)) {
f_file_t file = macro_f_file_t_initialize_1(0, -1, F_file_flag_read_only_d, 32768, F_file_default_size_write_d);
- for (f_array_length_t i = 0; i < main->setting.path_files_from.used && F_status_is_error_not(main->setting.state.status); ++i) {
+ for (f_number_unsigned_t i = 0; i < main->setting.path_files_from.used && F_status_is_error_not(main->setting.state.status); ++i) {
if (!((++main->program.signal_check) % utf8_signal_check_d)) {
if (fll_program_standard_signal_received(&main->program)) {
// Process remaining parameters.
if (F_status_is_error_not(main->setting.state.status) && main->setting.remaining.used) {
- for (f_array_length_t i = 0; F_status_is_error_not(main->setting.state.status) && i < main->setting.remaining.used; ++i) {
+ for (f_number_unsigned_t i = 0; F_status_is_error_not(main->setting.state.status) && i < main->setting.remaining.used; ++i) {
if (!((++main->program.signal_check) % utf8_signal_check_d)) {
if (fll_program_standard_signal_received(&main->program)) {