From 2b61b24b69bb7bf7dec41759dfb4f9cb4b188ffd Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 30 Aug 2023 22:55:47 -0500 Subject: [PATCH] Update: Add too large and too small status codes for F_payload and F_packet. The packet and payload are very likely to have too large status codes. Add the too small status codes for consistency. --- level_0/f_status/c/status.h | 8 + level_0/f_status_string/c/status_string.c | 28 + level_0/f_status_string/c/status_string.h | 1326 ++++++++++---------- .../tests/unit/c/test-status_string-to.c | 18 +- level_1/fl_status_string/c/status_string.c | 48 + .../tests/unit/c/test-status_string-from.c | 18 +- 6 files changed, 793 insertions(+), 653 deletions(-) diff --git a/level_0/f_status/c/status.h b/level_0/f_status/c/status.h index 64ef7f3..3218026 100644 --- a/level_0/f_status/c/status.h +++ b/level_0/f_status/c/status.h @@ -400,6 +400,10 @@ extern "C" { F_output_not, F_packet, F_packet_not, + F_packet_too_large, + F_packet_too_large_not, + F_packet_too_small, + F_packet_too_small_not, F_parameter, F_parameter_not, F_parent, @@ -408,6 +412,10 @@ extern "C" { F_partial_not, F_payload, F_payload_not, + F_payload_too_large, + F_payload_too_large_not, + F_payload_too_small, + F_payload_too_small_not, F_pipe, F_pipe_not, F_port, diff --git a/level_0/f_status_string/c/status_string.c b/level_0/f_status_string/c/status_string.c index 47e05a2..03656cd 100644 --- a/level_0/f_status_string/c/status_string.c +++ b/level_0/f_status_string/c/status_string.c @@ -268,6 +268,10 @@ extern "C" { const f_string_static_t f_status_output_not_s = macro_f_string_static_t_initialize_1(F_status_output_not_s, 0, F_status_output_not_s_length); const f_string_static_t f_status_packet_s = macro_f_string_static_t_initialize_1(F_status_packet_s, 0, F_status_packet_s_length); const f_string_static_t f_status_packet_not_s = macro_f_string_static_t_initialize_1(F_status_packet_not_s, 0, F_status_packet_not_s_length); + const f_string_static_t f_status_packet_too_large_s = macro_f_string_static_t_initialize_1(F_status_packet_too_large_s, 0, F_status_packet_too_large_s_length); + const f_string_static_t f_status_packet_too_large_not_s = macro_f_string_static_t_initialize_1(F_status_packet_too_large_not_s, 0, F_status_packet_too_large_not_s_length); + const f_string_static_t f_status_packet_too_small_s = macro_f_string_static_t_initialize_1(F_status_packet_too_small_s, 0, F_status_packet_too_small_s_length); + const f_string_static_t f_status_packet_too_small_not_s = macro_f_string_static_t_initialize_1(F_status_packet_too_small_not_s, 0, F_status_packet_too_small_not_s_length); const f_string_static_t f_status_parameter_s = macro_f_string_static_t_initialize_1(F_status_parameter_s, 0, F_status_parameter_s_length); const f_string_static_t f_status_parameter_not_s = macro_f_string_static_t_initialize_1(F_status_parameter_not_s, 0, F_status_parameter_not_s_length); const f_string_static_t f_status_parent_s = macro_f_string_static_t_initialize_1(F_status_parent_s, 0, F_status_parent_s_length); @@ -276,6 +280,10 @@ extern "C" { const f_string_static_t f_status_partial_not_s = macro_f_string_static_t_initialize_1(F_status_partial_not_s, 0, F_status_partial_not_s_length); const f_string_static_t f_status_payload_s = macro_f_string_static_t_initialize_1(F_status_payload_s, 0, F_status_payload_s_length); const f_string_static_t f_status_payload_not_s = macro_f_string_static_t_initialize_1(F_status_payload_not_s, 0, F_status_payload_not_s_length); + const f_string_static_t f_status_payload_too_large_s = macro_f_string_static_t_initialize_1(F_status_payload_too_large_s, 0, F_status_payload_too_large_s_length); + const f_string_static_t f_status_payload_too_large_not_s = macro_f_string_static_t_initialize_1(F_status_payload_too_large_not_s, 0, F_status_payload_too_large_not_s_length); + const f_string_static_t f_status_payload_too_small_s = macro_f_string_static_t_initialize_1(F_status_payload_too_small_s, 0, F_status_payload_too_small_s_length); + const f_string_static_t f_status_payload_too_small_not_s = macro_f_string_static_t_initialize_1(F_status_payload_too_small_not_s, 0, F_status_payload_too_small_not_s_length); const f_string_static_t f_status_pipe_s = macro_f_string_static_t_initialize_1(F_status_pipe_s, 0, F_status_pipe_s_length); const f_string_static_t f_status_pipe_not_s = macro_f_string_static_t_initialize_1(F_status_pipe_not_s, 0, F_status_pipe_not_s_length); const f_string_static_t f_status_port_s = macro_f_string_static_t_initialize_1(F_status_port_s, 0, F_status_port_s_length); @@ -1987,6 +1995,26 @@ extern "C" { break; + case F_packet_too_large: + *name = f_status_packet_too_large_s; + + break; + + case F_packet_too_large_not: + *name = f_status_packet_too_large_not_s; + + break; + + case F_packet_too_small: + *name = f_status_packet_too_small_s; + + break; + + case F_packet_too_small_not: + *name = f_status_packet_too_small_not_s; + + break; + case F_parameter: *name = f_status_parameter_s; diff --git a/level_0/f_status_string/c/status_string.h b/level_0/f_status_string/c/status_string.h index b9c2f57..13ba176 100644 --- a/level_0/f_status_string/c/status_string.h +++ b/level_0/f_status_string/c/status_string.h @@ -230,657 +230,673 @@ extern "C" { extern const f_string_static_t f_status_signal_reserved_64_s; // Basic. - #define F_status_okay_s "F_okay" - #define F_status_okay_block_s "F_okay_block" - #define F_status_okay_eoa_s "F_okay_eoa" - #define F_status_okay_eof_s "F_okay_eof" - #define F_status_okay_eol_s "F_okay_eol" - #define F_status_okay_eos_s "F_okay_eos" - #define F_status_okay_not_s "F_okay_not" - #define F_status_okay_start_s "F_okay_start" - #define F_status_okay_stop_s "F_okay_stop" - #define F_status_abort_s "F_abort" - #define F_status_abort_not_s "F_abort_not" - #define F_status_absolute_s "F_absolute" - #define F_status_absolute_not_s "F_absolute_not" - #define F_status_address_s "F_address" - #define F_status_address_not_s "F_address_not" - #define F_status_again_s "F_again" - #define F_status_again_not_s "F_again_not" - #define F_status_all_s "F_all" - #define F_status_all_not_s "F_all_not" - #define F_status_ascii_s "F_ascii" - #define F_status_ascii_not_s "F_ascii_not" - #define F_status_atomic_s "F_atomic" - #define F_status_atomic_not_s "F_atomic_not" - #define F_status_base_s "F_base" - #define F_status_base_not_s "F_base_not" - #define F_status_begin_s "F_begin" - #define F_status_begin_not_s "F_begin_not" - #define F_status_block_s "F_block" - #define F_status_block_not_s "F_block_not" - #define F_status_body_s "F_body" - #define F_status_body_not_s "F_body_not" - #define F_status_bottom_s "F_bottom" - #define F_status_bottom_not_s "F_bottom_not" - #define F_status_bound_s "F_bound" - #define F_status_bound_not_s "F_bound_not" - #define F_status_break_s "F_break" - #define F_status_break_not_s "F_break_not" - #define F_status_call_s "F_call" - #define F_status_call_not_s "F_call_not" - #define F_status_capability_s "F_capability" - #define F_status_capability_not_s "F_capability_not" - #define F_status_character_s "F_character" - #define F_status_character_not_s "F_character_not" - #define F_status_child_s "F_child" - #define F_status_child_not_s "F_child_not" - #define F_status_complete_s "F_complete" - #define F_status_complete_not_s "F_complete_not" - #define F_status_connect_s "F_connect" - #define F_status_connect_not_s "F_connect_not" - #define F_status_connect_refuse_s "F_connect_refuse" - #define F_status_connect_reset_s "F_connect_reset" - #define F_status_container_s "F_container" - #define F_status_container_not_s "F_container_not" - #define F_status_content_s "F_content" - #define F_status_content_not_s "F_content_not" - #define F_status_continue_s "F_continue" - #define F_status_continue_not_s "F_continue_not" - #define F_status_control_s "F_control" - #define F_status_control_not_s "F_control_not" - #define F_status_control_group_s "F_control_group" - #define F_status_control_group_not_s "F_control_group_not" - #define F_status_critical_s "F_critical" - #define F_status_critical_not_s "F_critical_not" - #define F_status_dead_s "F_dead" - #define F_status_dead_not_s "F_dead_not" - #define F_status_deadlock_s "F_deadlock" - #define F_status_deadlock_not_s "F_deadlock_not" - #define F_status_descriptor_s "F_descriptor" - #define F_status_descriptor_not_s "F_descriptor_not" - #define F_status_desire_s "F_desire" - #define F_status_desire_not_s "F_desire_not" - #define F_status_device_s "F_device" - #define F_status_device_not_s "F_device_not" - #define F_status_discard_s "F_discard" - #define F_status_discard_not_s "F_discard_not" - #define F_status_disable_s "F_disable" - #define F_status_disable_not_s "F_disable_not" - #define F_status_domain_s "F_domain" - #define F_status_domain_not_s "F_domain_not" - #define F_status_done_s "F_done" - #define F_status_done_not_s "F_done_not" - #define F_status_drop_s "F_drop" - #define F_status_drop_not_s "F_drop_not" - #define F_status_dummy_s "F_dummy" - #define F_status_dummy_not_s "F_dummy_not" - #define F_status_empty_s "F_empty" - #define F_status_empty_not_s "F_empty_not" - #define F_status_enable_s "F_enable" - #define F_status_enable_not_s "F_enable_not" - #define F_status_encoding_s "F_encoding" - #define F_status_encoding_not_s "F_encoding_not" - #define F_status_endian_s "F_endian" - #define F_status_endian_big_s "F_endian_big" - #define F_status_endian_little_s "F_endian_little" - #define F_status_endian_not_s "F_endian_not" - #define F_status_eoa_s "F_eoa" - #define F_status_eoa_not_s "F_eoa_not" - #define F_status_eof_s "F_eof" - #define F_status_eof_not_s "F_eof_not" - #define F_status_eol_s "F_eol" - #define F_status_eol_not_s "F_eol_not" - #define F_status_eos_s "F_eos" - #define F_status_eos_not_s "F_eos_not" - #define F_status_execute_s "F_execute" - #define F_status_execute_not_s "F_execute_not" - #define F_status_exist_s "F_exist" - #define F_status_exist_not_s "F_exist_not" - #define F_status_exit_s "F_exit" - #define F_status_exit_not_s "F_exit_not" - #define F_status_failure_s "F_failure" - #define F_status_failure_not_s "F_failure_not" - #define F_status_family_s "F_family" - #define F_status_family_not_s "F_family_not" - #define F_status_fifo_s "F_fifo" - #define F_status_fifo_not_s "F_fifo_not" - #define F_status_first_s "F_first" - #define F_status_first_not_s "F_first_not" - #define F_status_footer_s "F_footer" - #define F_status_footer_not_s "F_footer_not" - #define F_status_fork_s "F_fork" - #define F_status_fork_not_s "F_fork_not" - #define F_status_format_s "F_format" - #define F_status_format_not_s "F_format_not" - #define F_status_found_s "F_found" - #define F_status_found_not_s "F_found_not" - #define F_status_full_s "F_full" - #define F_status_full_not_s "F_full_not" - #define F_status_group_s "F_group" - #define F_status_group_not_s "F_group_not" - #define F_status_halt_s "F_halt" - #define F_status_halt_not_s "F_halt_not" - #define F_status_header_s "F_header" - #define F_status_header_not_s "F_header_not" - #define F_status_help_s "F_help" - #define F_status_help_not_s "F_help_not" - #define F_status_ignore_s "F_ignore" - #define F_status_ignore_not_s "F_ignore_not" - #define F_status_implement_s "F_implement" - #define F_status_implement_not_s "F_implement_not" - #define F_status_input_s "F_input" - #define F_status_input_not_s "F_input_not" - #define F_status_input_output_s "F_input_output" - #define F_status_interrupt_s "F_interrupt" - #define F_status_interrupt_not_s "F_interrupt_not" - #define F_status_keep_s "F_keep" - #define F_status_keep_not_s "F_keep_not" - #define F_status_known_s "F_known" - #define F_status_known_not_s "F_known_not" - #define F_status_last_s "F_last" - #define F_status_last_not_s "F_last_not" - #define F_status_limit_s "F_limit" - #define F_status_limit_not_s "F_limit_not" - #define F_status_link_s "F_link" - #define F_status_link_not_s "F_link_not" - #define F_status_live_s "F_live" - #define F_status_live_not_s "F_live_not" - #define F_status_local_s "F_local" - #define F_status_local_not_s "F_local_not" - #define F_status_lock_s "F_lock" - #define F_status_lock_not_s "F_lock_not" - #define F_status_loop_s "F_loop" - #define F_status_loop_not_s "F_loop_not" - #define F_status_maybe_s "F_maybe" - #define F_status_maybe_not_s "F_maybe_not" - #define F_status_memory_s "F_memory" - #define F_status_memory_not_s "F_memory_not" - #define F_status_message_s "F_message" - #define F_status_message_not_s "F_message_not" - #define F_status_middle_s "F_middle" - #define F_status_middle_not_s "F_middle_not" - #define F_status_minor_s "F_minor" - #define F_status_minor_not_s "F_minor_not" - #define F_status_moderate_s "F_moderate" - #define F_status_moderate_not_s "F_moderate_not" - #define F_status_mount_s "F_mount" - #define F_status_mount_not_s "F_mount_not" - #define F_status_name_s "F_name" - #define F_status_name_not_s "F_name_not" - #define F_status_need_s "F_need" - #define F_status_need_not_s "F_need_not" - #define F_status_next_s "F_next" - #define F_status_next_not_s "F_next_not" - #define F_status_nice_s "F_nice" - #define F_status_nice_not_s "F_nice_not" - #define F_status_no_s "F_no" - #define F_status_no_not_s "F_no_not" - #define F_status_none_s "F_none" - #define F_status_none_not_s "F_none_not" - #define F_status_object_s "F_object" - #define F_status_object_not_s "F_object_not" - #define F_status_once_s "F_once" - #define F_status_once_not_s "F_once_not" - #define F_status_option_s "F_option" - #define F_status_option_not_s "F_option_not" - #define F_status_output_s "F_output" - #define F_status_output_not_s "F_output_not" - #define F_status_packet_s "F_packet" - #define F_status_packet_not_s "F_packet_not" - #define F_status_parameter_s "F_parameter" - #define F_status_parameter_not_s "F_parameter_not" - #define F_status_parent_s "F_parent" - #define F_status_parent_not_s "F_parent_not" - #define F_status_partial_s "F_partial" - #define F_status_partial_not_s "F_partial_not" - #define F_status_payload_s "F_payload" - #define F_status_payload_not_s "F_payload_not" - #define F_status_pipe_s "F_pipe" - #define F_status_pipe_not_s "F_pipe_not" - #define F_status_port_s "F_port" - #define F_status_port_not_s "F_port_not" - #define F_status_previous_s "F_previous" - #define F_status_previous_not_s "F_previous_not" - #define F_status_processor_s "F_processor" - #define F_status_processor_not_s "F_processor_not" - #define F_status_progress_s "F_progress" - #define F_status_progress_not_s "F_progress_not" - #define F_status_prohibited_s "F_prohibited" - #define F_status_prohibited_not_s "F_prohibited_not" - #define F_status_property_s "F_property" - #define F_status_property_not_s "F_property_not" - #define F_status_protocol_s "F_protocol" - #define F_status_protocol_not_s "F_protocol_not" - #define F_status_range_s "F_range" - #define F_status_range_not_s "F_range_not" - #define F_status_read_s "F_read" - #define F_status_read_not_s "F_read_not" - #define F_status_read_only_s "F_read_only" - #define F_status_ready_s "F_ready" - #define F_status_ready_not_s "F_ready_not" - #define F_status_receive_s "F_receive" - #define F_status_receive_not_s "F_receive_not" - #define F_status_recover_s "F_recover" - #define F_status_recover_not_s "F_recover_not" - #define F_status_recurse_s "F_recurse" - #define F_status_recurse_not_s "F_recurse_not" - #define F_status_regular_s "F_regular" - #define F_status_regular_not_s "F_regular_not" - #define F_status_relative_s "F_relative" - #define F_status_relative_not_s "F_relative_not" - #define F_status_remote_s "F_remote" - #define F_status_remote_not_s "F_remote_not" - #define F_status_repeat_s "F_repeat" - #define F_status_repeat_not_s "F_repeat_not" - #define F_status_require_s "F_require" - #define F_status_require_not_s "F_require_not" - #define F_status_resource_s "F_resource" - #define F_status_resource_not_s "F_resource_not" - #define F_status_restart_s "F_restart" - #define F_status_restart_not_s "F_restart_not" - #define F_status_restore_s "F_restore" - #define F_status_restore_not_s "F_restore_not" - #define F_status_revert_s "F_revert" - #define F_status_revert_not_s "F_revert_not" - #define F_status_schedule_s "F_schedule" - #define F_status_schedule_not_s "F_schedule_not" - #define F_status_search_s "F_search" - #define F_status_search_not_s "F_search_not" - #define F_status_send_s "F_send" - #define F_status_send_not_s "F_send_not" - #define F_status_size_s "F_size" - #define F_status_size_not_s "F_size_not" - #define F_status_signal_s "F_signal" - #define F_status_signal_not_s "F_signal_not" - #define F_status_skip_s "F_skip" - #define F_status_skip_not_s "F_skip_not" - #define F_status_some_s "F_some" - #define F_status_some_not_s "F_some_not" - #define F_status_space_s "F_space" - #define F_status_space_not_s "F_space_not" - #define F_status_start_s "F_start" - #define F_status_start_not_s "F_start_not" - #define F_status_status_s "F_status" - #define F_status_status_not_s "F_status_not" - #define F_status_stop_s "F_stop" - #define F_status_stop_not_s "F_stop_not" - #define F_status_store_s "F_store" - #define F_status_store_not_s "F_store_not" - #define F_status_stream_s "F_stream" - #define F_status_stream_not_s "F_stream_not" - #define F_status_string_s "F_string" - #define F_status_string_not_s "F_string_not" - #define F_status_string_too_large_s "F_string_too_large" - #define F_status_string_too_small_s "F_string_too_small" - #define F_status_syntax_s "F_syntax" - #define F_status_syntax_not_s "F_syntax_not" - #define F_status_terminate_s "F_terminate" - #define F_status_terminate_not_s "F_terminate_not" - #define F_status_thread_s "F_thread" - #define F_status_thread_not_s "F_thread_not" - #define F_status_time_s "F_time" - #define F_status_time_not_s "F_time_not" - #define F_status_time_out_s "F_time_out" - #define F_status_too_large_s "F_too_large" - #define F_status_too_small_s "F_too_small" - #define F_status_top_s "F_top" - #define F_status_top_not_s "F_top_not" - #define F_status_type_s "F_type" - #define F_status_type_not_s "F_type_not" - #define F_status_success_s "F_success" - #define F_status_success_not_s "F_success_not" - #define F_status_support_s "F_support" - #define F_status_support_not_s "F_support_not" - #define F_status_user_s "F_user" - #define F_status_user_not_s "F_user_not" - #define F_status_utf_s "F_utf" - #define F_status_utf_fragment_s "F_utf_fragment" - #define F_status_utf_fragment_not_s "F_utf_fragment_not" - #define F_status_utf_not_s "F_utf_not" - #define F_status_valid_s "F_valid" - #define F_status_valid_not_s "F_valid_not" - #define F_status_value_s "F_value" - #define F_status_value_not_s "F_value_not" - #define F_status_wait_s "F_wait" - #define F_status_wait_not_s "F_wait_not" - #define F_status_want_s "F_want" - #define F_status_want_not_s "F_want_not" - #define F_status_wish_s "F_wish" - #define F_status_wish_not_s "F_wish_not" - #define F_status_world_s "F_world" - #define F_status_world_not_s "F_world_not" - #define F_status_write_s "F_write" - #define F_status_write_not_s "F_write_not" - #define F_status_write_only_s "F_write_only" - #define F_status_yes_s "F_yes" - #define F_status_yes_not_s "F_yes_not" - - #define F_status_okay_s_length 6 - #define F_status_okay_block_s_length 12 - #define F_status_okay_eoa_s_length 10 - #define F_status_okay_eof_s_length 10 - #define F_status_okay_eol_s_length 10 - #define F_status_okay_eos_s_length 10 - #define F_status_okay_not_s_length 10 - #define F_status_okay_start_s_length 12 - #define F_status_okay_stop_s_length 11 - #define F_status_abort_s_length 7 - #define F_status_abort_not_s_length 11 - #define F_status_absolute_s_length 10 - #define F_status_absolute_not_s_length 14 - #define F_status_address_s_length 9 - #define F_status_address_not_s_length 13 - #define F_status_again_s_length 7 - #define F_status_again_not_s_length 11 - #define F_status_all_s_length 5 - #define F_status_all_not_s_length 9 - #define F_status_ascii_s_length 7 - #define F_status_ascii_not_s_length 11 - #define F_status_atomic_s_length 8 - #define F_status_atomic_not_s_length 12 - #define F_status_base_s_length 6 - #define F_status_base_not_s_length 10 - #define F_status_begin_s_length 7 - #define F_status_begin_not_s_length 11 - #define F_status_break_s_length 7 - #define F_status_break_not_s_length 11 - #define F_status_block_s_length 7 - #define F_status_block_not_s_length 11 - #define F_status_body_s_length 6 - #define F_status_body_not_s_length 10 - #define F_status_bottom_s_length 8 - #define F_status_bottom_not_s_length 12 - #define F_status_bound_s_length 7 - #define F_status_bound_not_s_length 11 - #define F_status_call_s_length 6 - #define F_status_call_not_s_length 10 - #define F_status_capability_s_length 12 - #define F_status_capability_not_s_length 16 - #define F_status_character_s_length 11 - #define F_status_character_not_s_length 15 - #define F_status_child_s_length 7 - #define F_status_child_not_s_length 11 - #define F_status_complete_s_length 10 - #define F_status_complete_not_s_length 14 - #define F_status_connect_s_length 9 - #define F_status_connect_not_s_length 13 - #define F_status_connect_refuse_s_length 16 - #define F_status_connect_reset_s_length 15 - #define F_status_container_s_length 11 - #define F_status_container_not_s_length 15 - #define F_status_content_s_length 9 - #define F_status_content_not_s_length 13 - #define F_status_continue_s_length 10 - #define F_status_continue_not_s_length 14 - #define F_status_control_s_length 9 - #define F_status_control_not_s_length 13 - #define F_status_control_group_s_length 15 - #define F_status_control_group_not_s_length 19 - #define F_status_critical_s_length 10 - #define F_status_critical_not_s_length 14 - #define F_status_dead_s_length 6 - #define F_status_dead_not_s_length 10 - #define F_status_deadlock_s_length 10 - #define F_status_deadlock_not_s_length 14 - #define F_status_descriptor_s_length 12 - #define F_status_descriptor_not_s_length 16 - #define F_status_desire_s_length 8 - #define F_status_desire_not_s_length 12 - #define F_status_device_s_length 8 - #define F_status_device_not_s_length 12 - #define F_status_discard_s_length 9 - #define F_status_discard_not_s_length 13 - #define F_status_disable_s_length 9 - #define F_status_disable_not_s_length 13 - #define F_status_domain_s_length 8 - #define F_status_domain_not_s_length 12 - #define F_status_done_s_length 6 - #define F_status_done_not_s_length 10 - #define F_status_drop_s_length 6 - #define F_status_drop_not_s_length 10 - #define F_status_dummy_s_length 7 - #define F_status_dummy_not_s_length 11 - #define F_status_empty_s_length 7 - #define F_status_empty_not_s_length 11 - #define F_status_enable_s_length 8 - #define F_status_enable_not_s_length 12 - #define F_status_encoding_s_length 10 - #define F_status_encoding_not_s_length 14 - #define F_status_endian_s_length 8 - #define F_status_endian_big_s_length 12 - #define F_status_endian_little_s_length 19 - #define F_status_endian_not_s_length 12 - #define F_status_eoa_s_length 5 - #define F_status_eoa_not_s_length 9 - #define F_status_eof_s_length 5 - #define F_status_eof_not_s_length 9 - #define F_status_eol_s_length 5 - #define F_status_eol_not_s_length 9 - #define F_status_eos_s_length 5 - #define F_status_eos_not_s_length 9 - #define F_status_execute_s_length 9 - #define F_status_execute_not_s_length 13 - #define F_status_exist_s_length 7 - #define F_status_exist_not_s_length 11 - #define F_status_exit_s_length 6 - #define F_status_exit_not_s_length 10 - #define F_status_failure_s_length 9 - #define F_status_failure_not_s_length 13 - #define F_status_family_s_length 8 - #define F_status_family_not_s_length 12 - #define F_status_fifo_s_length 6 - #define F_status_fifo_not_s_length 10 - #define F_status_first_s_length 7 - #define F_status_first_not_s_length 11 - #define F_status_footer_s_length 8 - #define F_status_footer_not_s_length 12 - #define F_status_fork_s_length 6 - #define F_status_fork_not_s_length 10 - #define F_status_format_s_length 8 - #define F_status_format_not_s_length 12 - #define F_status_found_s_length 7 - #define F_status_found_not_s_length 11 - #define F_status_full_s_length 6 - #define F_status_full_not_s_length 10 - #define F_status_group_s_length 7 - #define F_status_group_not_s_length 11 - #define F_status_halt_s_length 6 - #define F_status_halt_not_s_length 10 - #define F_status_header_s_length 8 - #define F_status_header_not_s_length 12 - #define F_status_help_s_length 6 - #define F_status_help_not_s_length 10 - #define F_status_ignore_s_length 8 - #define F_status_ignore_not_s_length 12 - #define F_status_implement_s_length 11 - #define F_status_implement_not_s_length 15 - #define F_status_input_s_length 7 - #define F_status_input_not_s_length 11 - #define F_status_input_output_s_length 14 - #define F_status_interrupt_s_length 11 - #define F_status_interrupt_not_s_length 15 - #define F_status_keep_s_length 6 - #define F_status_keep_not_s_length 10 - #define F_status_known_s_length 7 - #define F_status_known_not_s_length 11 - #define F_status_last_s_length 6 - #define F_status_last_not_s_length 10 - #define F_status_limit_s_length 7 - #define F_status_limit_not_s_length 11 - #define F_status_link_s_length 6 - #define F_status_link_not_s_length 10 - #define F_status_live_s_length 6 - #define F_status_live_not_s_length 10 - #define F_status_local_s_length 7 - #define F_status_local_not_s_length 11 - #define F_status_lock_s_length 6 - #define F_status_lock_not_s_length 10 - #define F_status_loop_s_length 6 - #define F_status_loop_not_s_length 10 - #define F_status_maybe_s_length 7 - #define F_status_maybe_not_s_length 11 - #define F_status_memory_s_length 8 - #define F_status_memory_not_s_length 12 - #define F_status_message_s_length 9 - #define F_status_message_not_s_length 13 - #define F_status_middle_s_length 8 - #define F_status_middle_not_s_length 12 - #define F_status_minor_s_length 7 - #define F_status_minor_not_s_length 11 - #define F_status_moderate_s_length 10 - #define F_status_moderate_not_s_length 14 - #define F_status_mount_s_length 7 - #define F_status_mount_not_s_length 11 - #define F_status_name_s_length 6 - #define F_status_name_not_s_length 10 - #define F_status_need_s_length 6 - #define F_status_need_not_s_length 10 - #define F_status_next_s_length 6 - #define F_status_next_not_s_length 10 - #define F_status_nice_s_length 6 - #define F_status_nice_not_s_length 10 - #define F_status_no_s_length 4 - #define F_status_no_not_s_length 8 - #define F_status_none_s_length 6 - #define F_status_none_not_s_length 10 - #define F_status_object_s_length 8 - #define F_status_object_not_s_length 12 - #define F_status_once_s_length 6 - #define F_status_once_not_s_length 10 - #define F_status_option_s_length 8 - #define F_status_option_not_s_length 12 - #define F_status_output_s_length 8 - #define F_status_output_not_s_length 12 - #define F_status_packet_s_length 8 - #define F_status_packet_not_s_length 12 - #define F_status_parameter_s_length 11 - #define F_status_parameter_not_s_length 15 - #define F_status_parent_s_length 8 - #define F_status_parent_not_s_length 12 - #define F_status_partial_s_length 9 - #define F_status_partial_not_s_length 13 - #define F_status_payload_s_length 9 - #define F_status_payload_not_s_length 13 - #define F_status_pipe_s_length 6 - #define F_status_pipe_not_s_length 10 - #define F_status_port_s_length 6 - #define F_status_port_not_s_length 10 - #define F_status_previous_s_length 10 - #define F_status_previous_not_s_length 14 - #define F_status_processor_s_length 11 - #define F_status_processor_not_s_length 15 - #define F_status_progress_s_length 10 - #define F_status_progress_not_s_length 14 - #define F_status_prohibited_s_length 12 - #define F_status_prohibited_not_s_length 16 - #define F_status_property_s_length 10 - #define F_status_property_not_s_length 14 - #define F_status_protocol_s_length 10 - #define F_status_protocol_not_s_length 14 - #define F_status_range_s_length 7 - #define F_status_range_not_s_length 11 - #define F_status_read_s_length 6 - #define F_status_read_not_s_length 10 - #define F_status_read_only_s_length 11 - #define F_status_ready_s_length 7 - #define F_status_ready_not_s_length 11 - #define F_status_receive_s_length 9 - #define F_status_receive_not_s_length 13 - #define F_status_recover_s_length 9 - #define F_status_recover_not_s_length 13 - #define F_status_recurse_s_length 9 - #define F_status_recurse_not_s_length 13 - #define F_status_regular_s_length 9 - #define F_status_regular_not_s_length 13 - #define F_status_relative_s_length 10 - #define F_status_relative_not_s_length 14 - #define F_status_remote_s_length 8 - #define F_status_remote_not_s_length 12 - #define F_status_repeat_s_length 8 - #define F_status_repeat_not_s_length 12 - #define F_status_require_s_length 9 - #define F_status_require_not_s_length 13 - #define F_status_resource_s_length 10 - #define F_status_resource_not_s_length 14 - #define F_status_restart_s_length 9 - #define F_status_restart_not_s_length 13 - #define F_status_restore_s_length 9 - #define F_status_restore_not_s_length 13 - #define F_status_revert_s_length 8 - #define F_status_revert_not_s_length 12 - #define F_status_schedule_s_length 10 - #define F_status_schedule_not_s_length 14 - #define F_status_search_s_length 8 - #define F_status_search_not_s_length 12 - #define F_status_send_s_length 6 - #define F_status_send_not_s_length 10 - #define F_status_size_s_length 6 - #define F_status_size_not_s_length 10 - #define F_status_signal_s_length 8 - #define F_status_signal_not_s_length 12 - #define F_status_skip_s_length 6 - #define F_status_skip_not_s_length 10 - #define F_status_some_s_length 6 - #define F_status_some_not_s_length 10 - #define F_status_space_s_length 7 - #define F_status_space_not_s_length 11 - #define F_status_start_s_length 7 - #define F_status_start_not_s_length 11 - #define F_status_status_s_length 8 - #define F_status_status_not_s_length 12 - #define F_status_stop_s_length 6 - #define F_status_stop_not_s_length 10 - #define F_status_store_s_length 7 - #define F_status_store_not_s_length 11 - #define F_status_stream_s_length 8 - #define F_status_stream_not_s_length 12 - #define F_status_string_s_length 8 - #define F_status_string_not_s_length 12 - #define F_status_string_too_large_s_length 18 - #define F_status_string_too_small_s_length 18 - #define F_status_success_s_length 9 - #define F_status_success_not_s_length 13 - #define F_status_support_s_length 9 - #define F_status_support_not_s_length 13 - #define F_status_syntax_s_length 8 - #define F_status_syntax_not_s_length 12 - #define F_status_terminate_s_length 11 - #define F_status_terminate_not_s_length 15 - #define F_status_thread_s_length 8 - #define F_status_thread_not_s_length 12 - #define F_status_time_s_length 6 - #define F_status_time_not_s_length 10 - #define F_status_time_out_s_length 10 - #define F_status_too_large_s_length 11 - #define F_status_too_small_s_length 11 - #define F_status_top_s_length 5 - #define F_status_top_not_s_length 9 - #define F_status_type_s_length 6 - #define F_status_type_not_s_length 10 - #define F_status_user_s_length 6 - #define F_status_user_not_s_length 10 - #define F_status_utf_s_length 5 - #define F_status_utf_fragment_s_length 14 - #define F_status_utf_fragment_not_s_length 18 - #define F_status_utf_not_s_length 9 - #define F_status_valid_s_length 7 - #define F_status_valid_not_s_length 11 - #define F_status_value_s_length 7 - #define F_status_value_not_s_length 11 - #define F_status_wait_s_length 6 - #define F_status_wait_not_s_length 10 - #define F_status_want_s_length 6 - #define F_status_want_not_s_length 10 - #define F_status_wish_s_length 6 - #define F_status_wish_not_s_length 10 - #define F_status_world_s_length 7 - #define F_status_world_not_s_length 11 - #define F_status_write_s_length 7 - #define F_status_write_not_s_length 11 - #define F_status_write_only_s_length 12 - #define F_status_yes_s_length 5 - #define F_status_yes_not_s_length 9 + #define F_status_okay_s "F_okay" + #define F_status_okay_block_s "F_okay_block" + #define F_status_okay_eoa_s "F_okay_eoa" + #define F_status_okay_eof_s "F_okay_eof" + #define F_status_okay_eol_s "F_okay_eol" + #define F_status_okay_eos_s "F_okay_eos" + #define F_status_okay_not_s "F_okay_not" + #define F_status_okay_start_s "F_okay_start" + #define F_status_okay_stop_s "F_okay_stop" + #define F_status_abort_s "F_abort" + #define F_status_abort_not_s "F_abort_not" + #define F_status_absolute_s "F_absolute" + #define F_status_absolute_not_s "F_absolute_not" + #define F_status_address_s "F_address" + #define F_status_address_not_s "F_address_not" + #define F_status_again_s "F_again" + #define F_status_again_not_s "F_again_not" + #define F_status_all_s "F_all" + #define F_status_all_not_s "F_all_not" + #define F_status_ascii_s "F_ascii" + #define F_status_ascii_not_s "F_ascii_not" + #define F_status_atomic_s "F_atomic" + #define F_status_atomic_not_s "F_atomic_not" + #define F_status_base_s "F_base" + #define F_status_base_not_s "F_base_not" + #define F_status_begin_s "F_begin" + #define F_status_begin_not_s "F_begin_not" + #define F_status_block_s "F_block" + #define F_status_block_not_s "F_block_not" + #define F_status_body_s "F_body" + #define F_status_body_not_s "F_body_not" + #define F_status_bottom_s "F_bottom" + #define F_status_bottom_not_s "F_bottom_not" + #define F_status_bound_s "F_bound" + #define F_status_bound_not_s "F_bound_not" + #define F_status_break_s "F_break" + #define F_status_break_not_s "F_break_not" + #define F_status_call_s "F_call" + #define F_status_call_not_s "F_call_not" + #define F_status_capability_s "F_capability" + #define F_status_capability_not_s "F_capability_not" + #define F_status_character_s "F_character" + #define F_status_character_not_s "F_character_not" + #define F_status_child_s "F_child" + #define F_status_child_not_s "F_child_not" + #define F_status_complete_s "F_complete" + #define F_status_complete_not_s "F_complete_not" + #define F_status_connect_s "F_connect" + #define F_status_connect_not_s "F_connect_not" + #define F_status_connect_refuse_s "F_connect_refuse" + #define F_status_connect_reset_s "F_connect_reset" + #define F_status_container_s "F_container" + #define F_status_container_not_s "F_container_not" + #define F_status_content_s "F_content" + #define F_status_content_not_s "F_content_not" + #define F_status_continue_s "F_continue" + #define F_status_continue_not_s "F_continue_not" + #define F_status_control_s "F_control" + #define F_status_control_not_s "F_control_not" + #define F_status_control_group_s "F_control_group" + #define F_status_control_group_not_s "F_control_group_not" + #define F_status_critical_s "F_critical" + #define F_status_critical_not_s "F_critical_not" + #define F_status_dead_s "F_dead" + #define F_status_dead_not_s "F_dead_not" + #define F_status_deadlock_s "F_deadlock" + #define F_status_deadlock_not_s "F_deadlock_not" + #define F_status_descriptor_s "F_descriptor" + #define F_status_descriptor_not_s "F_descriptor_not" + #define F_status_desire_s "F_desire" + #define F_status_desire_not_s "F_desire_not" + #define F_status_device_s "F_device" + #define F_status_device_not_s "F_device_not" + #define F_status_discard_s "F_discard" + #define F_status_discard_not_s "F_discard_not" + #define F_status_disable_s "F_disable" + #define F_status_disable_not_s "F_disable_not" + #define F_status_domain_s "F_domain" + #define F_status_domain_not_s "F_domain_not" + #define F_status_done_s "F_done" + #define F_status_done_not_s "F_done_not" + #define F_status_drop_s "F_drop" + #define F_status_drop_not_s "F_drop_not" + #define F_status_dummy_s "F_dummy" + #define F_status_dummy_not_s "F_dummy_not" + #define F_status_empty_s "F_empty" + #define F_status_empty_not_s "F_empty_not" + #define F_status_enable_s "F_enable" + #define F_status_enable_not_s "F_enable_not" + #define F_status_encoding_s "F_encoding" + #define F_status_encoding_not_s "F_encoding_not" + #define F_status_endian_s "F_endian" + #define F_status_endian_big_s "F_endian_big" + #define F_status_endian_little_s "F_endian_little" + #define F_status_endian_not_s "F_endian_not" + #define F_status_eoa_s "F_eoa" + #define F_status_eoa_not_s "F_eoa_not" + #define F_status_eof_s "F_eof" + #define F_status_eof_not_s "F_eof_not" + #define F_status_eol_s "F_eol" + #define F_status_eol_not_s "F_eol_not" + #define F_status_eos_s "F_eos" + #define F_status_eos_not_s "F_eos_not" + #define F_status_execute_s "F_execute" + #define F_status_execute_not_s "F_execute_not" + #define F_status_exist_s "F_exist" + #define F_status_exist_not_s "F_exist_not" + #define F_status_exit_s "F_exit" + #define F_status_exit_not_s "F_exit_not" + #define F_status_failure_s "F_failure" + #define F_status_failure_not_s "F_failure_not" + #define F_status_family_s "F_family" + #define F_status_family_not_s "F_family_not" + #define F_status_fifo_s "F_fifo" + #define F_status_fifo_not_s "F_fifo_not" + #define F_status_first_s "F_first" + #define F_status_first_not_s "F_first_not" + #define F_status_footer_s "F_footer" + #define F_status_footer_not_s "F_footer_not" + #define F_status_fork_s "F_fork" + #define F_status_fork_not_s "F_fork_not" + #define F_status_format_s "F_format" + #define F_status_format_not_s "F_format_not" + #define F_status_found_s "F_found" + #define F_status_found_not_s "F_found_not" + #define F_status_full_s "F_full" + #define F_status_full_not_s "F_full_not" + #define F_status_group_s "F_group" + #define F_status_group_not_s "F_group_not" + #define F_status_halt_s "F_halt" + #define F_status_halt_not_s "F_halt_not" + #define F_status_header_s "F_header" + #define F_status_header_not_s "F_header_not" + #define F_status_help_s "F_help" + #define F_status_help_not_s "F_help_not" + #define F_status_ignore_s "F_ignore" + #define F_status_ignore_not_s "F_ignore_not" + #define F_status_implement_s "F_implement" + #define F_status_implement_not_s "F_implement_not" + #define F_status_input_s "F_input" + #define F_status_input_not_s "F_input_not" + #define F_status_input_output_s "F_input_output" + #define F_status_interrupt_s "F_interrupt" + #define F_status_interrupt_not_s "F_interrupt_not" + #define F_status_keep_s "F_keep" + #define F_status_keep_not_s "F_keep_not" + #define F_status_known_s "F_known" + #define F_status_known_not_s "F_known_not" + #define F_status_last_s "F_last" + #define F_status_last_not_s "F_last_not" + #define F_status_limit_s "F_limit" + #define F_status_limit_not_s "F_limit_not" + #define F_status_link_s "F_link" + #define F_status_link_not_s "F_link_not" + #define F_status_live_s "F_live" + #define F_status_live_not_s "F_live_not" + #define F_status_local_s "F_local" + #define F_status_local_not_s "F_local_not" + #define F_status_lock_s "F_lock" + #define F_status_lock_not_s "F_lock_not" + #define F_status_loop_s "F_loop" + #define F_status_loop_not_s "F_loop_not" + #define F_status_maybe_s "F_maybe" + #define F_status_maybe_not_s "F_maybe_not" + #define F_status_memory_s "F_memory" + #define F_status_memory_not_s "F_memory_not" + #define F_status_message_s "F_message" + #define F_status_message_not_s "F_message_not" + #define F_status_middle_s "F_middle" + #define F_status_middle_not_s "F_middle_not" + #define F_status_minor_s "F_minor" + #define F_status_minor_not_s "F_minor_not" + #define F_status_moderate_s "F_moderate" + #define F_status_moderate_not_s "F_moderate_not" + #define F_status_mount_s "F_mount" + #define F_status_mount_not_s "F_mount_not" + #define F_status_name_s "F_name" + #define F_status_name_not_s "F_name_not" + #define F_status_need_s "F_need" + #define F_status_need_not_s "F_need_not" + #define F_status_next_s "F_next" + #define F_status_next_not_s "F_next_not" + #define F_status_nice_s "F_nice" + #define F_status_nice_not_s "F_nice_not" + #define F_status_no_s "F_no" + #define F_status_no_not_s "F_no_not" + #define F_status_none_s "F_none" + #define F_status_none_not_s "F_none_not" + #define F_status_object_s "F_object" + #define F_status_object_not_s "F_object_not" + #define F_status_once_s "F_once" + #define F_status_once_not_s "F_once_not" + #define F_status_option_s "F_option" + #define F_status_option_not_s "F_option_not" + #define F_status_output_s "F_output" + #define F_status_output_not_s "F_output_not" + #define F_status_packet_s "F_packet" + #define F_status_packet_not_s "F_packet_not" + #define F_status_packet_too_large_s "F_packet_too_large" + #define F_status_packet_too_large_not_s "F_packet_too_large_not" + #define F_status_packet_too_small_s "F_packet_too_small" + #define F_status_packet_too_small_not_s "F_packet_too_small_not" + #define F_status_parameter_s "F_parameter" + #define F_status_parameter_not_s "F_parameter_not" + #define F_status_parent_s "F_parent" + #define F_status_parent_not_s "F_parent_not" + #define F_status_partial_s "F_partial" + #define F_status_partial_not_s "F_partial_not" + #define F_status_payload_s "F_payload" + #define F_status_payload_not_s "F_payload_not" + #define F_status_payload_too_large_s "F_payload_too_large" + #define F_status_payload_too_large_not_s "F_payload_too_large_not" + #define F_status_payload_too_small_s "F_payload_too_small" + #define F_status_payload_too_small_not_s "F_payload_too_small_not" + #define F_status_pipe_s "F_pipe" + #define F_status_pipe_not_s "F_pipe_not" + #define F_status_port_s "F_port" + #define F_status_port_not_s "F_port_not" + #define F_status_previous_s "F_previous" + #define F_status_previous_not_s "F_previous_not" + #define F_status_processor_s "F_processor" + #define F_status_processor_not_s "F_processor_not" + #define F_status_progress_s "F_progress" + #define F_status_progress_not_s "F_progress_not" + #define F_status_prohibited_s "F_prohibited" + #define F_status_prohibited_not_s "F_prohibited_not" + #define F_status_property_s "F_property" + #define F_status_property_not_s "F_property_not" + #define F_status_protocol_s "F_protocol" + #define F_status_protocol_not_s "F_protocol_not" + #define F_status_range_s "F_range" + #define F_status_range_not_s "F_range_not" + #define F_status_read_s "F_read" + #define F_status_read_not_s "F_read_not" + #define F_status_read_only_s "F_read_only" + #define F_status_ready_s "F_ready" + #define F_status_ready_not_s "F_ready_not" + #define F_status_receive_s "F_receive" + #define F_status_receive_not_s "F_receive_not" + #define F_status_recover_s "F_recover" + #define F_status_recover_not_s "F_recover_not" + #define F_status_recurse_s "F_recurse" + #define F_status_recurse_not_s "F_recurse_not" + #define F_status_regular_s "F_regular" + #define F_status_regular_not_s "F_regular_not" + #define F_status_relative_s "F_relative" + #define F_status_relative_not_s "F_relative_not" + #define F_status_remote_s "F_remote" + #define F_status_remote_not_s "F_remote_not" + #define F_status_repeat_s "F_repeat" + #define F_status_repeat_not_s "F_repeat_not" + #define F_status_require_s "F_require" + #define F_status_require_not_s "F_require_not" + #define F_status_resource_s "F_resource" + #define F_status_resource_not_s "F_resource_not" + #define F_status_restart_s "F_restart" + #define F_status_restart_not_s "F_restart_not" + #define F_status_restore_s "F_restore" + #define F_status_restore_not_s "F_restore_not" + #define F_status_revert_s "F_revert" + #define F_status_revert_not_s "F_revert_not" + #define F_status_schedule_s "F_schedule" + #define F_status_schedule_not_s "F_schedule_not" + #define F_status_search_s "F_search" + #define F_status_search_not_s "F_search_not" + #define F_status_send_s "F_send" + #define F_status_send_not_s "F_send_not" + #define F_status_size_s "F_size" + #define F_status_size_not_s "F_size_not" + #define F_status_signal_s "F_signal" + #define F_status_signal_not_s "F_signal_not" + #define F_status_skip_s "F_skip" + #define F_status_skip_not_s "F_skip_not" + #define F_status_some_s "F_some" + #define F_status_some_not_s "F_some_not" + #define F_status_space_s "F_space" + #define F_status_space_not_s "F_space_not" + #define F_status_start_s "F_start" + #define F_status_start_not_s "F_start_not" + #define F_status_status_s "F_status" + #define F_status_status_not_s "F_status_not" + #define F_status_stop_s "F_stop" + #define F_status_stop_not_s "F_stop_not" + #define F_status_store_s "F_store" + #define F_status_store_not_s "F_store_not" + #define F_status_stream_s "F_stream" + #define F_status_stream_not_s "F_stream_not" + #define F_status_string_s "F_string" + #define F_status_string_not_s "F_string_not" + #define F_status_string_too_large_s "F_string_too_large" + #define F_status_string_too_small_s "F_string_too_small" + #define F_status_syntax_s "F_syntax" + #define F_status_syntax_not_s "F_syntax_not" + #define F_status_terminate_s "F_terminate" + #define F_status_terminate_not_s "F_terminate_not" + #define F_status_thread_s "F_thread" + #define F_status_thread_not_s "F_thread_not" + #define F_status_time_s "F_time" + #define F_status_time_not_s "F_time_not" + #define F_status_time_out_s "F_time_out" + #define F_status_too_large_s "F_too_large" + #define F_status_too_small_s "F_too_small" + #define F_status_top_s "F_top" + #define F_status_top_not_s "F_top_not" + #define F_status_type_s "F_type" + #define F_status_type_not_s "F_type_not" + #define F_status_success_s "F_success" + #define F_status_success_not_s "F_success_not" + #define F_status_support_s "F_support" + #define F_status_support_not_s "F_support_not" + #define F_status_user_s "F_user" + #define F_status_user_not_s "F_user_not" + #define F_status_utf_s "F_utf" + #define F_status_utf_fragment_s "F_utf_fragment" + #define F_status_utf_fragment_not_s "F_utf_fragment_not" + #define F_status_utf_not_s "F_utf_not" + #define F_status_valid_s "F_valid" + #define F_status_valid_not_s "F_valid_not" + #define F_status_value_s "F_value" + #define F_status_value_not_s "F_value_not" + #define F_status_wait_s "F_wait" + #define F_status_wait_not_s "F_wait_not" + #define F_status_want_s "F_want" + #define F_status_want_not_s "F_want_not" + #define F_status_wish_s "F_wish" + #define F_status_wish_not_s "F_wish_not" + #define F_status_world_s "F_world" + #define F_status_world_not_s "F_world_not" + #define F_status_write_s "F_write" + #define F_status_write_not_s "F_write_not" + #define F_status_write_only_s "F_write_only" + #define F_status_yes_s "F_yes" + #define F_status_yes_not_s "F_yes_not" + + #define F_status_okay_s_length 6 + #define F_status_okay_block_s_length 12 + #define F_status_okay_eoa_s_length 10 + #define F_status_okay_eof_s_length 10 + #define F_status_okay_eol_s_length 10 + #define F_status_okay_eos_s_length 10 + #define F_status_okay_not_s_length 10 + #define F_status_okay_start_s_length 12 + #define F_status_okay_stop_s_length 11 + #define F_status_abort_s_length 7 + #define F_status_abort_not_s_length 11 + #define F_status_absolute_s_length 10 + #define F_status_absolute_not_s_length 14 + #define F_status_address_s_length 9 + #define F_status_address_not_s_length 13 + #define F_status_again_s_length 7 + #define F_status_again_not_s_length 11 + #define F_status_all_s_length 5 + #define F_status_all_not_s_length 9 + #define F_status_ascii_s_length 7 + #define F_status_ascii_not_s_length 11 + #define F_status_atomic_s_length 8 + #define F_status_atomic_not_s_length 12 + #define F_status_base_s_length 6 + #define F_status_base_not_s_length 10 + #define F_status_begin_s_length 7 + #define F_status_begin_not_s_length 11 + #define F_status_break_s_length 7 + #define F_status_break_not_s_length 11 + #define F_status_block_s_length 7 + #define F_status_block_not_s_length 11 + #define F_status_body_s_length 6 + #define F_status_body_not_s_length 10 + #define F_status_bottom_s_length 8 + #define F_status_bottom_not_s_length 12 + #define F_status_bound_s_length 7 + #define F_status_bound_not_s_length 11 + #define F_status_call_s_length 6 + #define F_status_call_not_s_length 10 + #define F_status_capability_s_length 12 + #define F_status_capability_not_s_length 16 + #define F_status_character_s_length 11 + #define F_status_character_not_s_length 15 + #define F_status_child_s_length 7 + #define F_status_child_not_s_length 11 + #define F_status_complete_s_length 10 + #define F_status_complete_not_s_length 14 + #define F_status_connect_s_length 9 + #define F_status_connect_not_s_length 13 + #define F_status_connect_refuse_s_length 16 + #define F_status_connect_reset_s_length 15 + #define F_status_container_s_length 11 + #define F_status_container_not_s_length 15 + #define F_status_content_s_length 9 + #define F_status_content_not_s_length 13 + #define F_status_continue_s_length 10 + #define F_status_continue_not_s_length 14 + #define F_status_control_s_length 9 + #define F_status_control_not_s_length 13 + #define F_status_control_group_s_length 15 + #define F_status_control_group_not_s_length 19 + #define F_status_critical_s_length 10 + #define F_status_critical_not_s_length 14 + #define F_status_dead_s_length 6 + #define F_status_dead_not_s_length 10 + #define F_status_deadlock_s_length 10 + #define F_status_deadlock_not_s_length 14 + #define F_status_descriptor_s_length 12 + #define F_status_descriptor_not_s_length 16 + #define F_status_desire_s_length 8 + #define F_status_desire_not_s_length 12 + #define F_status_device_s_length 8 + #define F_status_device_not_s_length 12 + #define F_status_discard_s_length 9 + #define F_status_discard_not_s_length 13 + #define F_status_disable_s_length 9 + #define F_status_disable_not_s_length 13 + #define F_status_domain_s_length 8 + #define F_status_domain_not_s_length 12 + #define F_status_done_s_length 6 + #define F_status_done_not_s_length 10 + #define F_status_drop_s_length 6 + #define F_status_drop_not_s_length 10 + #define F_status_dummy_s_length 7 + #define F_status_dummy_not_s_length 11 + #define F_status_empty_s_length 7 + #define F_status_empty_not_s_length 11 + #define F_status_enable_s_length 8 + #define F_status_enable_not_s_length 12 + #define F_status_encoding_s_length 10 + #define F_status_encoding_not_s_length 14 + #define F_status_endian_s_length 8 + #define F_status_endian_big_s_length 12 + #define F_status_endian_little_s_length 19 + #define F_status_endian_not_s_length 12 + #define F_status_eoa_s_length 5 + #define F_status_eoa_not_s_length 9 + #define F_status_eof_s_length 5 + #define F_status_eof_not_s_length 9 + #define F_status_eol_s_length 5 + #define F_status_eol_not_s_length 9 + #define F_status_eos_s_length 5 + #define F_status_eos_not_s_length 9 + #define F_status_execute_s_length 9 + #define F_status_execute_not_s_length 13 + #define F_status_exist_s_length 7 + #define F_status_exist_not_s_length 11 + #define F_status_exit_s_length 6 + #define F_status_exit_not_s_length 10 + #define F_status_failure_s_length 9 + #define F_status_failure_not_s_length 13 + #define F_status_family_s_length 8 + #define F_status_family_not_s_length 12 + #define F_status_fifo_s_length 6 + #define F_status_fifo_not_s_length 10 + #define F_status_first_s_length 7 + #define F_status_first_not_s_length 11 + #define F_status_footer_s_length 8 + #define F_status_footer_not_s_length 12 + #define F_status_fork_s_length 6 + #define F_status_fork_not_s_length 10 + #define F_status_format_s_length 8 + #define F_status_format_not_s_length 12 + #define F_status_found_s_length 7 + #define F_status_found_not_s_length 11 + #define F_status_full_s_length 6 + #define F_status_full_not_s_length 10 + #define F_status_group_s_length 7 + #define F_status_group_not_s_length 11 + #define F_status_halt_s_length 6 + #define F_status_halt_not_s_length 10 + #define F_status_header_s_length 8 + #define F_status_header_not_s_length 12 + #define F_status_help_s_length 6 + #define F_status_help_not_s_length 10 + #define F_status_ignore_s_length 8 + #define F_status_ignore_not_s_length 12 + #define F_status_implement_s_length 11 + #define F_status_implement_not_s_length 15 + #define F_status_input_s_length 7 + #define F_status_input_not_s_length 11 + #define F_status_input_output_s_length 14 + #define F_status_interrupt_s_length 11 + #define F_status_interrupt_not_s_length 15 + #define F_status_keep_s_length 6 + #define F_status_keep_not_s_length 10 + #define F_status_known_s_length 7 + #define F_status_known_not_s_length 11 + #define F_status_last_s_length 6 + #define F_status_last_not_s_length 10 + #define F_status_limit_s_length 7 + #define F_status_limit_not_s_length 11 + #define F_status_link_s_length 6 + #define F_status_link_not_s_length 10 + #define F_status_live_s_length 6 + #define F_status_live_not_s_length 10 + #define F_status_local_s_length 7 + #define F_status_local_not_s_length 11 + #define F_status_lock_s_length 6 + #define F_status_lock_not_s_length 10 + #define F_status_loop_s_length 6 + #define F_status_loop_not_s_length 10 + #define F_status_maybe_s_length 7 + #define F_status_maybe_not_s_length 11 + #define F_status_memory_s_length 8 + #define F_status_memory_not_s_length 12 + #define F_status_message_s_length 9 + #define F_status_message_not_s_length 13 + #define F_status_middle_s_length 8 + #define F_status_middle_not_s_length 12 + #define F_status_minor_s_length 7 + #define F_status_minor_not_s_length 11 + #define F_status_moderate_s_length 10 + #define F_status_moderate_not_s_length 14 + #define F_status_mount_s_length 7 + #define F_status_mount_not_s_length 11 + #define F_status_name_s_length 6 + #define F_status_name_not_s_length 10 + #define F_status_need_s_length 6 + #define F_status_need_not_s_length 10 + #define F_status_next_s_length 6 + #define F_status_next_not_s_length 10 + #define F_status_nice_s_length 6 + #define F_status_nice_not_s_length 10 + #define F_status_no_s_length 4 + #define F_status_no_not_s_length 8 + #define F_status_none_s_length 6 + #define F_status_none_not_s_length 10 + #define F_status_object_s_length 8 + #define F_status_object_not_s_length 12 + #define F_status_once_s_length 6 + #define F_status_once_not_s_length 10 + #define F_status_option_s_length 8 + #define F_status_option_not_s_length 12 + #define F_status_output_s_length 8 + #define F_status_output_not_s_length 12 + #define F_status_packet_s_length 8 + #define F_status_packet_not_s_length 12 + #define F_status_packet_too_large_s_length 18 + #define F_status_packet_too_large_not_s_length 22 + #define F_status_packet_too_small_s_length 18 + #define F_status_packet_too_small_not_s_length 22 + #define F_status_parameter_s_length 11 + #define F_status_parameter_not_s_length 15 + #define F_status_parent_s_length 8 + #define F_status_parent_not_s_length 12 + #define F_status_partial_s_length 9 + #define F_status_partial_not_s_length 13 + #define F_status_payload_s_length 9 + #define F_status_payload_not_s_length 13 + #define F_status_payload_too_large_s_length 19 + #define F_status_payload_too_large_not_s_length 23 + #define F_status_payload_too_small_s_length 19 + #define F_status_payload_too_small_not_s_length 23 + #define F_status_pipe_s_length 6 + #define F_status_pipe_not_s_length 10 + #define F_status_port_s_length 6 + #define F_status_port_not_s_length 10 + #define F_status_previous_s_length 10 + #define F_status_previous_not_s_length 14 + #define F_status_processor_s_length 11 + #define F_status_processor_not_s_length 15 + #define F_status_progress_s_length 10 + #define F_status_progress_not_s_length 14 + #define F_status_prohibited_s_length 12 + #define F_status_prohibited_not_s_length 16 + #define F_status_property_s_length 10 + #define F_status_property_not_s_length 14 + #define F_status_protocol_s_length 10 + #define F_status_protocol_not_s_length 14 + #define F_status_range_s_length 7 + #define F_status_range_not_s_length 11 + #define F_status_read_s_length 6 + #define F_status_read_not_s_length 10 + #define F_status_read_only_s_length 11 + #define F_status_ready_s_length 7 + #define F_status_ready_not_s_length 11 + #define F_status_receive_s_length 9 + #define F_status_receive_not_s_length 13 + #define F_status_recover_s_length 9 + #define F_status_recover_not_s_length 13 + #define F_status_recurse_s_length 9 + #define F_status_recurse_not_s_length 13 + #define F_status_regular_s_length 9 + #define F_status_regular_not_s_length 13 + #define F_status_relative_s_length 10 + #define F_status_relative_not_s_length 14 + #define F_status_remote_s_length 8 + #define F_status_remote_not_s_length 12 + #define F_status_repeat_s_length 8 + #define F_status_repeat_not_s_length 12 + #define F_status_require_s_length 9 + #define F_status_require_not_s_length 13 + #define F_status_resource_s_length 10 + #define F_status_resource_not_s_length 14 + #define F_status_restart_s_length 9 + #define F_status_restart_not_s_length 13 + #define F_status_restore_s_length 9 + #define F_status_restore_not_s_length 13 + #define F_status_revert_s_length 8 + #define F_status_revert_not_s_length 12 + #define F_status_schedule_s_length 10 + #define F_status_schedule_not_s_length 14 + #define F_status_search_s_length 8 + #define F_status_search_not_s_length 12 + #define F_status_send_s_length 6 + #define F_status_send_not_s_length 10 + #define F_status_size_s_length 6 + #define F_status_size_not_s_length 10 + #define F_status_signal_s_length 8 + #define F_status_signal_not_s_length 12 + #define F_status_skip_s_length 6 + #define F_status_skip_not_s_length 10 + #define F_status_some_s_length 6 + #define F_status_some_not_s_length 10 + #define F_status_space_s_length 7 + #define F_status_space_not_s_length 11 + #define F_status_start_s_length 7 + #define F_status_start_not_s_length 11 + #define F_status_status_s_length 8 + #define F_status_status_not_s_length 12 + #define F_status_stop_s_length 6 + #define F_status_stop_not_s_length 10 + #define F_status_store_s_length 7 + #define F_status_store_not_s_length 11 + #define F_status_stream_s_length 8 + #define F_status_stream_not_s_length 12 + #define F_status_string_s_length 8 + #define F_status_string_not_s_length 12 + #define F_status_string_too_large_s_length 18 + #define F_status_string_too_small_s_length 18 + #define F_status_success_s_length 9 + #define F_status_success_not_s_length 13 + #define F_status_support_s_length 9 + #define F_status_support_not_s_length 13 + #define F_status_syntax_s_length 8 + #define F_status_syntax_not_s_length 12 + #define F_status_terminate_s_length 11 + #define F_status_terminate_not_s_length 15 + #define F_status_thread_s_length 8 + #define F_status_thread_not_s_length 12 + #define F_status_time_s_length 6 + #define F_status_time_not_s_length 10 + #define F_status_time_out_s_length 10 + #define F_status_too_large_s_length 11 + #define F_status_too_small_s_length 11 + #define F_status_top_s_length 5 + #define F_status_top_not_s_length 9 + #define F_status_type_s_length 6 + #define F_status_type_not_s_length 10 + #define F_status_user_s_length 6 + #define F_status_user_not_s_length 10 + #define F_status_utf_s_length 5 + #define F_status_utf_fragment_s_length 14 + #define F_status_utf_fragment_not_s_length 18 + #define F_status_utf_not_s_length 9 + #define F_status_valid_s_length 7 + #define F_status_valid_not_s_length 11 + #define F_status_value_s_length 7 + #define F_status_value_not_s_length 11 + #define F_status_wait_s_length 6 + #define F_status_wait_not_s_length 10 + #define F_status_want_s_length 6 + #define F_status_want_not_s_length 10 + #define F_status_wish_s_length 6 + #define F_status_wish_not_s_length 10 + #define F_status_world_s_length 7 + #define F_status_world_not_s_length 11 + #define F_status_write_s_length 7 + #define F_status_write_not_s_length 11 + #define F_status_write_only_s_length 12 + #define F_status_yes_s_length 5 + #define F_status_yes_not_s_length 9 extern const f_string_static_t f_status_okay_s; extern const f_string_static_t f_status_okay_block_s; @@ -1082,6 +1098,10 @@ extern "C" { extern const f_string_static_t f_status_output_not_s; extern const f_string_static_t f_status_packet_s; extern const f_string_static_t f_status_packet_not_s; + extern const f_string_static_t f_status_packet_too_large_s; + extern const f_string_static_t f_status_packet_too_large_not_s; + extern const f_string_static_t f_status_packet_too_small_s; + extern const f_string_static_t f_status_packet_too_small_not_s; extern const f_string_static_t f_status_parameter_s; extern const f_string_static_t f_status_parameter_not_s; extern const f_string_static_t f_status_parent_s; @@ -1090,6 +1110,10 @@ extern "C" { extern const f_string_static_t f_status_partial_not_s; extern const f_string_static_t f_status_payload_s; extern const f_string_static_t f_status_payload_not_s; + extern const f_string_static_t f_status_payload_too_large_s; + extern const f_string_static_t f_status_payload_too_large_not_s; + extern const f_string_static_t f_status_payload_too_small_s; + extern const f_string_static_t f_status_payload_too_small_not_s; extern const f_string_static_t f_status_previous_s; extern const f_string_static_t f_status_previous_not_s; extern const f_string_static_t f_status_pipe_s; diff --git a/level_0/f_status_string/tests/unit/c/test-status_string-to.c b/level_0/f_status_string/tests/unit/c/test-status_string-to.c index c42784c..c2a2e11 100644 --- a/level_0/f_status_string/tests/unit/c/test-status_string-to.c +++ b/level_0/f_status_string/tests/unit/c/test-status_string-to.c @@ -294,6 +294,10 @@ void test__f_status_string_to__works(void **state) { F_output_not, F_packet, F_packet_not, + F_packet_too_large, + F_packet_too_large_not, + F_packet_too_small, + F_packet_too_small_not, F_parameter, F_parameter_not, F_parent, @@ -302,6 +306,10 @@ void test__f_status_string_to__works(void **state) { F_partial_not, F_payload, F_payload_not, + F_payload_too_large, + F_payload_too_large_not, + F_payload_too_small, + F_payload_too_small_not, F_pipe, F_pipe_not, F_port, @@ -921,6 +929,10 @@ void test__f_status_string_to__works(void **state) { f_status_output_not_s, f_status_packet_s, f_status_packet_not_s, + f_status_packet_too_large_s, + f_status_packet_too_large_not_s, + f_status_packet_too_small_s, + f_status_packet_too_small_not_s, f_status_parameter_s, f_status_parameter_not_s, f_status_parent_s, @@ -929,6 +941,10 @@ void test__f_status_string_to__works(void **state) { f_status_partial_not_s, f_status_payload_s, f_status_payload_not_s, + f_status_payload_too_large_s, + f_status_payload_too_large_not_s, + f_status_payload_too_small_s, + f_status_payload_too_small_not_s, f_status_pipe_s, f_status_pipe_not_s, f_status_port_s, @@ -1283,7 +1299,7 @@ void test__f_status_string_to__works(void **state) { f_status_status_code_last_s, }; - for (uint16_t i = 0; i < 624; ++i) { + for (uint16_t i = 0; i < 632; ++i) { f_string_static_t result = f_string_static_t_initialize; diff --git a/level_1/fl_status_string/c/status_string.c b/level_1/fl_status_string/c/status_string.c index 7596fac..ece4cee 100644 --- a/level_1/fl_status_string/c/status_string.c +++ b/level_1/fl_status_string/c/status_string.c @@ -1605,6 +1605,30 @@ extern "C" { return F_okay; } + if (f_compare_dynamic(name, f_status_packet_too_large_s) == F_equal_to) { + *code = F_packet_too_large; + + return F_okay; + } + + if (f_compare_dynamic(name, f_status_packet_too_large_not_s) == F_equal_to) { + *code = F_packet_too_large_not; + + return F_okay; + } + + if (f_compare_dynamic(name, f_status_packet_too_small_s) == F_equal_to) { + *code = F_packet_too_small; + + return F_okay; + } + + if (f_compare_dynamic(name, f_status_packet_too_small_not_s) == F_equal_to) { + *code = F_packet_too_small_not; + + return F_okay; + } + if (f_compare_dynamic(name, f_status_parameter_s) == F_equal_to) { *code = F_parameter; @@ -1653,6 +1677,30 @@ extern "C" { return F_okay; } + if (f_compare_dynamic(name, f_status_payload_too_large_s) == F_equal_to) { + *code = F_payload_too_large; + + return F_okay; + } + + if (f_compare_dynamic(name, f_status_payload_too_large_not_s) == F_equal_to) { + *code = F_payload_too_large_not; + + return F_okay; + } + + if (f_compare_dynamic(name, f_status_payload_too_small_s) == F_equal_to) { + *code = F_payload_too_small; + + return F_okay; + } + + if (f_compare_dynamic(name, f_status_payload_too_small_not_s) == F_equal_to) { + *code = F_payload_too_small_not; + + return F_okay; + } + if (f_compare_dynamic(name, f_status_pipe_s) == F_equal_to) { *code = F_pipe; diff --git a/level_1/fl_status_string/tests/unit/c/test-status_string-from.c b/level_1/fl_status_string/tests/unit/c/test-status_string-from.c index 06f62dd..c4e1931 100644 --- a/level_1/fl_status_string/tests/unit/c/test-status_string-from.c +++ b/level_1/fl_status_string/tests/unit/c/test-status_string-from.c @@ -310,6 +310,10 @@ void test__fl_status_string_from__works(void **state) { F_output_not, F_packet, F_packet_not, + F_packet_too_large, + F_packet_too_large_not, + F_packet_too_small, + F_packet_too_small_not, F_parameter, F_parameter_not, F_parent, @@ -318,6 +322,10 @@ void test__fl_status_string_from__works(void **state) { F_partial_not, F_payload, F_payload_not, + F_payload_too_large, + F_payload_too_large_not, + F_payload_too_small, + F_payload_too_small_not, F_pipe, F_pipe_not, F_port, @@ -937,6 +945,10 @@ void test__fl_status_string_from__works(void **state) { f_status_output_not_s, f_status_packet_s, f_status_packet_not_s, + f_status_packet_too_large_s, + f_status_packet_too_large_not_s, + f_status_packet_too_small_s, + f_status_packet_too_small_not_s, f_status_parameter_s, f_status_parameter_not_s, f_status_parent_s, @@ -945,6 +957,10 @@ void test__fl_status_string_from__works(void **state) { f_status_partial_not_s, f_status_payload_s, f_status_payload_not_s, + f_status_payload_too_large_s, + f_status_payload_too_large_not_s, + f_status_payload_too_small_s, + f_status_payload_too_small_not_s, f_status_pipe_s, f_status_pipe_not_s, f_status_port_s, @@ -1299,7 +1315,7 @@ void test__fl_status_string_from__works(void **state) { f_status_status_code_last_s, }; - for (uint16_t i = 0; i < 624; ++i) { + for (uint16_t i = 0; i < 632; ++i) { f_status_t result = F_okay; -- 1.8.3.1