This is the second part of changing the status codes.
This is a massive regex based change and so there is a lot of potential for mistakes.
Time will tell.
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
"
to\:
block:"
Common Return Types for f_status_t:
There are some code:"f_status_t" return types that are not required to be returned but are used quite often that they might seem required.
- code:"F_none"\:
+ code:"F_okay"\:
This general designates that no error occurred.
This is a generic status code used all over the place.
These are enumerations but they do not follow the enumeration style guide and are an exception to it.
Examples\:
- - code:"F_none".
+ - code:"F_okay".
- code:"F_signal_file_size_limit".
Global String Constant Names:
*id = group_data.gr_gid;
- return F_none;
+ return F_okay;
}
}
*id = group_data.gr_gid;
- return F_none;
+ return F_okay;
}
#endif // _di_f_account_group_id_by_name_
name->used = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
const size_t length_max = sysconf(_SC_GETPW_R_SIZE_MAX);
name->string[name_length] = 0;
name->used = name_length;
- return F_none;
+ return F_okay;
}
}
name->string[name_length] = 0;
name->used = name_length;
- return F_none;
+ return F_okay;
}
#endif // _di_f_account_group_name_by_id_
*id = password.pw_uid;
- return F_none;
+ return F_okay;
}
}
*id = password.pw_uid;
- return F_none;
+ return F_okay;
}
#endif // _di_f_account_id_by_name_
name->used = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
const size_t length_max = sysconf(_SC_GETPW_R_SIZE_MAX);
name->string[name_length] = 0;
name->used = name_length;
- return F_none;
+ return F_okay;
}
}
name->string[name_length] = 0;
name->used = name_length;
- return F_none;
+ return F_okay;
}
#endif // _di_f_account_name_by_id_
* All strings will be NULL terminated.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_buffer_too_small (with error bit) if the buffer is too small to store the account data.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
* All strings will be NULL terminated.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_buffer_too_small (with error bit) if the buffer is too small to store the account data.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
* The id associated with the given name.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_buffer_too_small (with error bit) if the buffer is too small to store the account data.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
* The name will be NULL terminated after the name.used.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_buffer_too_small (with error bit) if the buffer is too small to store the account data.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
* The id associated with the given name.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_buffer_too_small (with error bit) if the buffer is too small to store the account data.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
* The name will be NULL terminated after the name.used.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_buffer_too_small (with error bit) if the buffer is too small to store the account data.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_account_delete_
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_account_destroy_
{
f_account_t * const array = (f_account_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_accounts_delete_callback_
{
f_account_t * const array = (f_account_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_accounts_destroy_callback_
{
f_accounts_t * const array = (f_accounts_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_accountss_delete_callback_
{
f_accounts_t * const array = (f_accounts_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_accountss_destroy_callback_
* The account to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The account to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (F_status_is_error(status)) return status;
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_accounts_append_) || !defined(_di_f_accounts_append_all_) || !defined(_di_f_accountss_append_all_)
* The destination lengths the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_resize().
* Errors (with error bit) from: f_string_dynamic_append().
#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_number_unsigned_t password_length, f_account_t * const account) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Account UID and GID.
account->id_user = password.pw_uid;
account->shell.string[string_length] = 0;
account->shell.used = string_length;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_account_by_name_) || !defined(_di_f_account_by_id_)
* This assumes that all strings in account have their used set to the desired length, such as 0.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_increase_by().
*
const f_status_t status = f_account_by_id(uid, &account);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(account.id_user, password.pw_uid);
assert_int_equal(account.id_group, password.pw_gid);
assert_string_equal(account.home.string, password.pw_dir);
const f_status_t status = f_account_by_name(name, &account);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(account.id_user, password.pw_uid);
assert_int_equal(account.id_group, password.pw_gid);
assert_string_equal(account.home.string, password.pw_dir);
const f_status_t status = f_account_group_id_by_name(name, &gid);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(gid, group_data.gr_gid);
}
}
const f_status_t status = f_account_group_name_by_id(gid, &name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(name.string, group_data.gr_name);
}
const f_status_t status = f_account_id_by_name(name, &uid);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(uid, password.pw_uid);
}
}
const f_status_t status = f_account_name_by_id(uid, &name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(name.string, password.pw_name);
}
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_account_t), (void **) &datas.array, &datas.used, &datas.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].home);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].label);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].password);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].shell);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_accounts_delete_callback(0, length, (void *) datas.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datas.array[0].home.size, 0);
assert_int_equal(datas.array[0].label.size, 0);
assert_int_equal(datas.array[0].name.size, 0);
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_account_t), (void **) &datas.array, &datas.used, &datas.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].home);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].label);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].password);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datas.array[0].shell);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_accounts_destroy_callback(0, length, (void *) datas.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datas.array[0].home.size, 0);
assert_int_equal(datas.array[0].label.size, 0);
assert_int_equal(datas.array[0].name.size, 0);
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_accounts_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_account_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].home);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].label);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].password);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].shell);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_accountss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_accounts_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_account_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].home);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].label);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].password);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].shell);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_accountss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
return F_status_set_error(F_support_not);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_ambient_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_ambient_reset_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_ambient_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_clear_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_clear_flag_
*destination = cap_dup(source);
if (*destination) {
- return F_none;
+ return F_okay;
}
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (size) *size = result;
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_copy_external_
*capability = cap_copy_int(external);
if (*capability) {
- return F_none;
+ return F_okay;
}
if (errno == EINVAL) return F_status_set_error(F_parameter);
*capability = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_delete_
*capability = cap_get_fd(descriptor);
if (*capability) {
- return F_none;
+ return F_okay;
}
if (errno == EACCES) return F_status_set_error(F_access_denied);
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_file_descriptor_set_
*capability = cap_get_file(path.string);
if (*capability) {
- return F_none;
+ return F_okay;
}
if (errno == EACCES) return F_status_set_error(F_access_denied);
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_file_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_flag_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_flag_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_from_name_
*capability = cap_from_text(text.string);
if (*capability) {
- return F_none;
+ return F_okay;
}
if (errno == EINVAL) return F_status_set_error(F_parameter);
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_groups_set_
*capability = cap_init();
if (*capability) {
- return F_none;
+ return F_okay;
}
if (errno == EINVAL) return F_status_set_error(F_parameter);
*mode = cap_get_mode();
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_mode_get_
*name = cap_mode_name(mode);
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_mode_get_name_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_mode_set_
*id_user = cap_get_nsowner(capability);
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_owner_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_owner_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_process_bound_drop_
return F_status_set_error(F_known_not);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_process_bound_get_
*capability = cap_get_proc();
if (*capability) {
- return F_none;
+ return F_okay;
}
if (errno == EINVAL) return F_status_set_error(F_parameter);
*capability = cap_get_pid(id);
if (*capability) {
- return F_none;
+ return F_okay;
}
return F_status_set_error(F_failure);
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_process_set_
*bits = cap_get_secbits();
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_security_bits_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_security_bits_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_size_
cap_free(result);
- return F_none;
+ return F_okay;
}
if (errno == EINVAL) return F_status_set_error(F_parameter);
cap_free(result);
- return F_none;
+ return F_okay;
}
if (errno == EINVAL) return F_status_set_error(F_parameter);
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_capability_user_set_
* The retrieved ambient value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* Reset the ambient capability.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* The capability flag value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* The capability to clear.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* The capability to clear the flag of.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* This must be freed via f_capability_delete() when finished with.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* This must be freed via f_capability_delete() when finished with.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* Pointer address is set to 0 on success.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory (which doesn't make sense here but man page includes this).
* This must be freed via f_capability_delete() when finished with.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* The capability to set.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* This must be freed via f_capability_delete() when finished with.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* The capability to set.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* This is TRUE when the flag is enabled and FALSE otherwise.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* The capability to set the flag of.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* This must be freed via f_capability_delete().
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* The array of supplementary group IDs (as in setgroups()).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* This must be freed via f_capability_delete() when finished with.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* The capability mode.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
*
* This is a NULL terminated string.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
*
* The capability mode.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* The ID of the user.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
*
* The ID of the user.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_descriptor_not (with error bit) if the file descriptor is invalid.
* The determined bound value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* The determined bound value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_known_not (with error bit) if the code is unknown to the current system.
* This must be freed via f_capability_delete() when finished with.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* This must be freed via f_capability_delete() when finished with.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* The capability to assign.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* The security bits.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
*
* The security bits.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* Size may be set to -1 on error.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
* This is NULL terminated after the name.used.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* This is NULL terminated after the text.used.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
* The ID of the user.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_memory_not (with error bit) if a out of memory.
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(ambient, 1);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(capability_2, 1);
#endif // defined(_di_libcap_)
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(size, 1);
#endif // defined(_di_libcap_)
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(capability, 1);
#endif // defined(_di_libcap_)
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(capability, 0);
#endif // defined(_di_libcap_)
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(id, 1);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(bound, 1);
#endif // defined(_di_libcap_)
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(bound, 1);
#endif // defined(_di_libcap_)
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(capability, 1);
#endif // defined(_di_libcap_)
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_)
}
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(size, 1);
#endif // defined(_di_libcap_)
}
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(name.string, string);
assert_int_equal(name.used, 9);
#endif // defined(_di_libcap_)
#if defined(_di_libcap_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(text.string, string);
assert_int_equal(text.used, 9);
#endif // defined(_di_libcap_)
#if defined(_di_libcap_) || defined(_libcap_legacy_only_)
assert_int_equal(F_status_set_fine(status), F_implement_not);
#else
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
#endif // defined(_di_libcap_) || defined(_libcap_legacy_only_)
}
}
context->set.title = f_color_set_empty_s;
context->set.warning = f_color_set_empty_s;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (context->error.size) {
status = f_string_dynamic_resize(0, &context->error);
context->warning.used = 0;
}
- return F_none;
+ return F_okay;
}
if (mode != f_color_mode_dark_e && mode != f_color_mode_light_e) return F_data_not;
context->set.warning.before = &context->warning;
context->set.warning.after = &context->reset;
- status = F_none;
+ status = F_okay;
}
return status;
buffer->string[buffer->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_color_save_3_
buffer->string[buffer->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_color_save_4_
buffer->string[buffer->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_color_save_5_
* The context.mode is always set to the specified mode, even if it is not supported (except when there is an invalid parameter).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but mode is f_color_mode_none_e or not a supported mode.
*
* F_parameter (with error bit) if a parameter is invalid.
* The buffer will become NULL terminated after the appended string length.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The buffer will become NULL terminated after the appended string length.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The buffer will become NULL terminated after the appended string length.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The buffer will become NULL terminated after the appended string length.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The buffer will become NULL terminated after the appended string length.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!context) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
status = f_string_dynamic_resize(0, &context->error);
macro_f_color_context_t_clear((*context))
- return F_none;
+ return F_okay;
}
#endif // _di_f_color_context_delete_
if (!context) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
status = f_string_dynamic_adjust(0, &context->error);
macro_f_color_context_t_clear((*context))
- return F_none;
+ return F_okay;
}
#endif // _di_f_color_context_destroy_
* The context object.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The context object.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
buffer->string[buffer->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_color_load_context_) || !defined(_di_f_color_save_2_)
buffer->string[buffer->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_color_load_context_) || !defined(_di_f_color_save_2_)
* The buffer will become NULL terminated after the appended string length.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_increase_by()
*
* The buffer will become NULL terminated after the appended string length.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_increase_by()
*
{
const f_status_t status = f_string_dynamic_resize(size, &context.reset);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.reset.size, 0);
assert_non_null(context.reset.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.warning);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.warning.size, 0);
assert_non_null(context.warning.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.error);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.error.size, 0);
assert_non_null(context.error.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.title);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.title.size, 0);
assert_non_null(context.title.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.notable);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.notable.size, 0);
assert_non_null(context.notable.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.important);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.important.size, 0);
assert_non_null(context.important.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.standout);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.standout.size, 0);
assert_non_null(context.standout.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.success);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.success.size, 0);
assert_non_null(context.success.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.normal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.normal.size, 0);
assert_non_null(context.normal.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.normal_reset);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.normal_reset.size, 0);
assert_non_null(context.normal_reset.string);
}
{
const f_status_t status = f_color_context_delete(&context);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(context.reset.size, 0);
assert_int_equal(context.warning.size, 0);
assert_int_equal(context.error.size, 0);
{
const f_status_t status = f_string_dynamic_resize(size, &context.reset);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.reset.size, 0);
assert_non_null(context.reset.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.warning);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.warning.size, 0);
assert_non_null(context.warning.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.error);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.error.size, 0);
assert_non_null(context.error.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.title);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.title.size, 0);
assert_non_null(context.title.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.notable);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.notable.size, 0);
assert_non_null(context.notable.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.important);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.important.size, 0);
assert_non_null(context.important.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.standout);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.standout.size, 0);
assert_non_null(context.standout.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.success);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.success.size, 0);
assert_non_null(context.success.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.normal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.normal.size, 0);
assert_non_null(context.normal.string);
}
{
const f_status_t status = f_string_dynamic_resize(size, &context.normal_reset);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(context.normal_reset.size, 0);
assert_non_null(context.normal_reset.string);
}
{
const f_status_t status = f_color_context_destroy(&context);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(context.reset.size, 0);
assert_int_equal(context.warning.size, 0);
assert_int_equal(context.error.size, 0);
f_status_t statuss[4] = {
F_data_not,
- F_none,
- F_none,
- F_none,
+ F_okay,
+ F_okay,
+ F_okay,
};
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
macro_f_color_context_t_new(status, context);
}
const f_string_static_t color1 = macro_f_string_static_t_initialize_2("color1", 6);
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
macro_f_color_context_t_new(status, context);
}
{
const f_status_t status = f_color_save_1(format, color1, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(buffer.string, "color1");
}
const f_string_static_t color2 = macro_f_string_static_t_initialize_2("color2", 6);
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
macro_f_color_context_t_new(status, context);
}
{
const f_status_t status = f_color_save_2(format, color1, color2, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(buffer.string, "color1color2");
}
const f_string_static_t color3 = macro_f_string_static_t_initialize_2("color3", 6);
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
macro_f_color_context_t_new(status, context);
}
{
const f_status_t status = f_color_save_3(format, color1, color2, color3, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(buffer.string, "color1color2color3");
}
const f_string_static_t color4 = macro_f_string_static_t_initialize_2("color4", 6);
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
macro_f_color_context_t_new(status, context);
}
{
const f_status_t status = f_color_save_4(format, color1, color2, color3, color4, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(buffer.string, "color1color2color3color4");
}
const f_string_static_t color5 = macro_f_string_static_t_initialize_2("color5", 6);
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
macro_f_color_context_t_new(status, context);
}
{
const f_status_t status = f_color_save_5(format, color1, color2, color3, color4, color5, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(buffer.string, "color1color2color3color4color5");
}
f_number_unsigned_t previous = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading whitespace in string1.
for (; i1 < stop1; ++i1) {
f_number_unsigned_t i1 = offset1;
f_number_unsigned_t i2 = offset2;
f_number_unsigned_t previous = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading whitespace in string1.
for (; i1 < stop1; i1 += macro_f_utf_byte_width(string1[i1])) {
f_number_unsigned_t width_max = 0;
f_number_unsigned_t previous = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading whitespace in string1.
for (; i1 < stop1; i1 += width) {
f_number_unsigned_t i1 = offset1;
f_number_unsigned_t i2 = offset2;
f_number_unsigned_t previous = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading whitespace in string1.
for (; i1 < stop1; i1 += macro_f_utf_byte_width(string1[i1])) {
};
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
};
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
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_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
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_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
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_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
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_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
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_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
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_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
};
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
};
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
};
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
};
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// First eight are against empty strings for first argument.
for (; i < 8; ++i) {
F_equal_to,
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf(utf_string_1.string, utf_string_2.string, utf_string_1.used, utf_string_2.used);
F_equal_to,
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic(utf_string_1, utf_string_2);
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_except(utf_string_1, utf_string_2, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_except(utf_string_2, utf_string_1, excepts_2, excepts_1);
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_except_string(utf_string_1.string, utf_string_2, utf_string_1.used, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_except_string(utf_string_2.string, utf_string_1, utf_string_2.used, excepts_2, excepts_1);
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_except_trim(utf_string_1, utf_string_2, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_except_trim(utf_string_2, utf_string_1, excepts_2, excepts_1);
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_except_trim_string(utf_string_1.string, utf_string_2, utf_string_1.used, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_except_trim_string(utf_string_2.string, utf_string_1, utf_string_2.used, excepts_2, excepts_1);
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial(utf_string_1, utf_string_2, f_string_range_empty_c, f_string_range_empty_c);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
range_1.stop = string_1s[i].used - 4;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_dynamic(utf_string_1, utf_string_2, f_string_range_empty_c);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_dynamic(utf_string_1, utf_string_2, f_string_range_empty_c);
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_except(utf_string_1, utf_string_2, range_1, f_string_range_empty_c, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
range_1.stop = string_1s[i].used - 1;
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_except_dynamic(utf_string_1, utf_string_2, f_string_range_empty_c, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_except_dynamic(utf_string_1, utf_string_2, f_string_range_empty_c, excepts_1, excepts_2);
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_except_string(utf_string_1.string, utf_string_2, 0, f_string_range_empty_c, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
range_1.stop = string_1s[i].used - 1;
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_except_trim(utf_string_1, utf_string_2, range_1, f_string_range_empty_c, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
range_1.stop = string_1s[i].used - 1;
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_except_trim_dynamic(utf_string_1, utf_string_2, f_string_range_empty_c, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_except_trim_dynamic(utf_string_1, utf_string_2, f_string_range_empty_c, excepts_1, excepts_2);
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_except_trim_string(utf_string_1.string, utf_string_2, 0, f_string_range_empty_c, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
range_1.stop = string_1s[i].used - 1;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_string(utf_string_1.string, utf_string_2, 0, f_string_range_empty_c);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
range_1.stop = string_1s[i].used - 1;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_trim(utf_string_1, utf_string_2, f_string_range_empty_c, f_string_range_empty_c);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
range_1.stop = string_1s[i].used - 4;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_trim_dynamic(utf_string_1, utf_string_2, f_string_range_empty_c);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_trim_dynamic(utf_string_1, utf_string_2, f_string_range_empty_c);
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
if (i % 8 == 0) {
status = f_compare_utf_dynamic_partial_trim_string(utf_string_1.string, utf_string_2, 0, f_string_range_empty_c);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
range_1.stop = string_1s[i].used - 1;
F_equal_to,
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_string(utf_string_1.string, utf_string_2, utf_string_1.used);
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim(utf_string_1, utf_string_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim(utf_string_2, utf_string_1);
utf_string_1.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim(utf_string_1, utf_string_1);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim(utf_string_2, utf_string_2);
macro_f_string_static_t_initialize_1("\t\0\tspace\t\0 space \0 ", 0, 19),
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
for (uint8_t i = 0; i < 10; ++i) {
utf_string_1.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim(utf_string_1, f_utf_string_empty_s);
F_equal_to,
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim(utf_string_1, utf_string_2);
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim_string(utf_string_1.string, utf_string_2, utf_string_1.used);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim_string(utf_string_2.string, utf_string_1, utf_string_2.used);
utf_string_1.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim_string(utf_string_1.string, utf_string_1, utf_string_1.used);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim_string(utf_string_2.string, utf_string_2, utf_string_2.used);
macro_f_string_static_t_initialize_1("\t\0\tspace\t\0 space \0 ", 0, 19),
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
for (uint8_t i = 0; i < 10; ++i) {
utf_string_1.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim_string(utf_string_1.string, f_utf_string_empty_s, utf_string_1.used);
F_equal_to,
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_dynamic_trim_string(utf_string_1.string, utf_string_2, utf_string_1.used);
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_except(utf_string_1.string, utf_string_2.string, utf_string_1.used, utf_string_2.used, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_except(utf_string_2.string, utf_string_1.string, utf_string_2.used, utf_string_1.used, excepts_2, excepts_1);
const f_number_unsigneds_t excepts_2 = f_number_unsigneds_t_initialize;
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_except_trim(utf_string_1.string, utf_string_2.string, utf_string_1.used, utf_string_2.used, excepts_1, excepts_2);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_except_trim(utf_string_2.string, utf_string_1.string, utf_string_2.used, utf_string_1.used, excepts_2, excepts_1);
uint8_t i = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_trim(utf_string_1.string, utf_string_2.string, utf_string_1.used, utf_string_2.used);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_trim(utf_string_2.string, utf_string_1.string, utf_string_2.used, utf_string_1.used);
utf_string_1.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_trim(utf_string_1.string, utf_string_1.string, utf_string_1.used, utf_string_1.used);
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_trim(utf_string_2.string, utf_string_2.string, utf_string_2.used, utf_string_2.used);
macro_f_string_static_t_initialize_1("\t\0\tspace\t\0 space \0 ", 0, 19),
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
for (uint8_t i = 0; i < 10; ++i) {
utf_string_1.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_trim(utf_string_1.string, f_utf_string_empty_s.string, utf_string_1.used, f_utf_string_empty_s.used);
F_equal_to,
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_utf_string_dynamic_t utf_string_1 = f_utf_string_dynamic_t_initialize;
f_utf_string_dynamic_t utf_string_2 = f_utf_string_dynamic_t_initialize;
utf_string_2.used = 0;
status = test_convert_dynamic_to_utf(string_1s[i], &utf_string_1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = test_convert_dynamic_to_utf(string_2s[i], &utf_string_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_compare_utf_trim(utf_string_1.string, utf_string_2.string, utf_string_1.used, utf_string_2.used);
if (F_status_is_error(status)) return status;
} // for
- return F_none;
+ return F_okay;
}
#ifdef __cplusplus
* The UTF destination string.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_utf_char_to_character().
* Errors (with error bit) from: f_utf_string_dynamic_resize().
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_console_environment_process_
*decision = priority;
- return F_none;
+ return F_okay;
}
#endif // _di_f_console_parameter_prioritize_left_
*decision = priority;
- return F_none;
+ return F_okay;
}
#endif // _di_f_console_parameter_prioritize_right_
process.needs.array[i] = process.needs.array[i + 1];
} // for
- state->status = F_none;
+ state->status = F_okay;
continue;
}
}
process.found = F_false;
- state->status = F_none;
+ state->status = F_okay;
if (process.result & f_console_result_short_e) {
break;
}
- state->status = F_none;
+ state->status = F_okay;
if (state->status == F_break) break;
break;
}
- state->status = F_none;
+ state->status = F_okay;
if (state->status == F_break) break;
if (state->status == F_break || state->status == F_continue) {
process.depth = 0;
- state->status = F_none;
+ state->status = F_okay;
if (state->status == F_break) break;
break;
}
- state->status = F_none;
+ state->status = F_okay;
if (state->status == F_break) break;
if (F_status_is_error(state->status)) break;
}
- state->status = F_none;
+ state->status = F_okay;
break;
} // for
break;
}
- state->status = F_none;
+ state->status = F_okay;
if (state->status == F_break) break;
if (state->status == F_break || state->status == F_continue) {
process.depth = 0;
- state->status = F_none;
+ state->status = F_okay;
if (state->status == F_break) break;
break;
}
- state->status = F_none;
+ state->status = F_okay;
if (state->status == F_break) break;
break;
}
- state->status = F_none;
+ state->status = F_okay;
if (state->status == F_break) break;
if (state->status == F_break || state->status == F_continue) {
process.depth = 0;
- state->status = F_none;
+ state->status = F_okay;
if (state->status == F_break) break;
if (F_status_is_error(state->status)) break;
}
- state->status = F_none;
+ state->status = F_okay;
}
if (F_status_is_error(state->status)) break;
parameters->remaining.array[parameters->remaining.used++] = process.location;
}
- state->status = F_none;
+ state->status = F_okay;
}
++process.location;
}
if (state->status == F_process) {
- state->status = F_none;
+ state->status = F_okay;
for (; process.location < arguments.argc && arguments.argv[process.location]; ++process.location) {
} // for
if (F_status_is_error_not(state->status)) {
- state->status = process.needs.used ? F_complete_not : F_none;
+ state->status = process.needs.used ? F_complete_not : F_okay;
}
}
* Both the name and the value strings may be pointers to the envp memory addresses.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if the arguments.envp pointer is NULL or there are no environment variables in arguments.envp.
*
* Errors (with error bit) from: f_string_maps_increase_by().
* The flag with the console type bits determined by this function.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not the input string is empty.
*/
#ifndef _di_f_console_identify_
* If none of the parameters are found, then this will not be updated (therefore it is safe to have it pre-initialized to the default).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if no parameters were matched with the available choices.
*
* F_parameter (with error bit) if a parameter is invalid.
* If none of the parameters are found, then this will not be updated (therefore it is safe to have it pre-initialized to the default).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if no parameters were matched with the available choices.
*
* F_parameter (with error bit) if a parameter is invalid.
* A state for providing flags and handling interrupts during long running operations.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not if argc is 0, argv is a NULL pointer, or if argv[0] is NULL.
* F_complete_not if "values" parameters were expected but not found.
*
if (!parameters) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < parameters->used; ++i) {
status = f_memory_array_resize(0, sizeof(f_number_unsigned_t), (void **) ¶meters->remaining.array, ¶meters->remaining.used, ¶meters->remaining.size);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_console_parameters_delete_
if (!parameters) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < parameters->used; ++i) {
status = f_memory_array_adjust(0, sizeof(f_number_unsigned_t), (void **) ¶meters->remaining.array, ¶meters->remaining.used, ¶meters->remaining.size);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_console_parameters_destroy_
* - data: The structure determined by the caller for passing to the parameter processing function and is intended to be used for updating based on results.
*
* The callback function state.status interpretations:
- * - F_none: On no error and processing complete.
+ * - F_okay: On no error and processing complete.
* - F_break: To tell the caller to break out of the loop (based on depth, when applicable).
* - F_continue: To tell the caller to continue the loop (based on depth, when applicable).
* - F_process: To tell the caller to perform the built in functionality.
* The state object.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* A state for providing flags and handling interrupts during long running operations.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The parameters object.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The parameters object.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
}
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_console_identify_) || !defined(_di_f_console_parameter_process_)
* The flag with the console type bits determined by this function.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not the input string is empty.
*
*
{
const f_status_t status = f_console_environment_process(arguments, &maps);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(maps.used, 5);
assert_int_equal(maps.array[0].name.used, 1);
assert_int_equal(maps.array[0].value.used, 1);
{
const f_status_t status = f_console_identify("input", &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, f_console_result_none_e);
}
{
const f_status_t status = f_console_identify("-", &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, f_console_result_found_e | f_console_result_normal_e | f_console_result_short_e | f_console_result_alone_e);
}
{
const f_status_t status = f_console_identify("+", &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, f_console_result_found_e | f_console_result_inverse_e | f_console_result_short_e | f_console_result_alone_e);
}
{
const f_status_t status = f_console_identify("-i", &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, f_console_result_found_e | f_console_result_normal_e | f_console_result_short_e);
}
{
const f_status_t status = f_console_identify("+i", &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, f_console_result_found_e | f_console_result_inverse_e | f_console_result_short_e);
}
{
const f_status_t status = f_console_identify("--input", &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, f_console_result_found_e | f_console_result_normal_e | f_console_result_long_e);
}
{
const f_status_t status = f_console_identify("++input", &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, f_console_result_found_e | f_console_result_inverse_e | f_console_result_long_e);
}
{
const f_status_t status = f_console_identify("--", &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, f_console_result_found_e | f_console_result_normal_e | f_console_result_long_e | f_console_result_alone_e);
}
{
const f_status_t status = f_console_identify("++", &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, f_console_result_found_e | f_console_result_inverse_e | f_console_result_long_e | f_console_result_alone_e);
}
}
const f_status_t status = f_console_parameter_prioritize_left(parameters, choices, &decision);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(decision, 1);
}
const f_status_t status = f_console_parameter_prioritize_right(parameters, choices, &decision);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(decision, 0);
}
f_state_t state = f_state_t_initialize;
f_console_parameter_process(arguments, ¶meters, &state, 0);
- assert_int_equal(state.status, argc ? F_none : F_data_not);
+ assert_int_equal(state.status, argc ? F_okay : F_data_not);
assert_int_equal(parameter[0].result, f_console_result_none_e);
assert_int_equal(parameter[0].locations.used, 0);
f_state_t state = f_state_t_initialize;
f_console_parameter_process(arguments, ¶meters, &state, 0);
- assert_int_equal(state.status, F_none);
+ assert_int_equal(state.status, F_okay);
assert_int_equal(parameter[0].result, f_console_result_none_e);
assert_int_equal(parameter[0].locations.used, 0);
f_state_t state = f_state_t_initialize;
f_console_parameter_process(arguments, ¶meters, &state, 0);
- assert_int_equal(state.status, F_none);
+ assert_int_equal(state.status, F_okay);
assert_int_equal(parameter[0].result & f_console_result_value_e, f_console_result_value_e);
assert_int_equal(parameter[0].locations.used, 1);
{
const f_status_t status = f_string_dynamics_resize(size, ¶meters.arguments);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(parameters.arguments.size, 0);
assert_non_null(parameters.arguments.array);
}
{
const f_status_t status = f_memory_array_resize(size, sizeof(f_number_unsigned_t), (void **) ¶meters.array[0].locations.array, ¶meters.array[0].locations.used, ¶meters.array[0].locations.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(parameters.array[0].locations.size, 0);
assert_non_null(parameters.array[0].locations.array);
}
{
const f_status_t status = f_memory_array_resize(size, sizeof(f_number_unsigned_t), (void **) ¶meters.array[0].locations_sub.array, ¶meters.array[0].locations_sub.used, ¶meters.array[0].locations_sub.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(parameters.array[0].locations_sub.size, 0);
assert_non_null(parameters.array[0].locations_sub.array);
}
{
const f_status_t status = f_console_parameters_delete(¶meters);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(parameters.arguments.size, 0);
assert_int_equal(parameters.array[0].locations.size, 0);
assert_int_equal(parameters.array[0].locations_sub.size, 0);
{
const f_status_t status = f_string_dynamics_resize(size, ¶meters.arguments);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(parameters.arguments.size, 0);
assert_non_null(parameters.arguments.array);
}
{
const f_status_t status = f_memory_array_resize(size, sizeof(f_number_unsigned_t), (void **) ¶meters.array[0].locations.array, ¶meters.array[0].locations.used, ¶meters.array[0].locations.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(parameters.array[0].locations.size, 0);
assert_non_null(parameters.array[0].locations.array);
}
{
const f_status_t status = f_memory_array_resize(size, sizeof(f_number_unsigned_t), (void **) ¶meters.array[0].locations_sub.array, ¶meters.array[0].locations_sub.used, ¶meters.array[0].locations_sub.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_not_equal(parameters.array[0].locations_sub.size, 0);
assert_non_null(parameters.array[0].locations_sub.array);
}
{
const f_status_t status = f_console_parameters_destroy(¶meters);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(parameters.arguments.size, 0);
assert_int_equal(parameters.array[0].locations.size, 0);
assert_int_equal(parameters.array[0].locations_sub.size, 0);
destination->path.used = 0;
destination->groups.used = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (source.path.used) {
status = f_string_dynamic_append(source.path, &destination->path);
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_control_group_copy_
* The destination the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
const f_status_t status = f_control_group_copy(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
macro_f_control_group_t_delete_simple(destination);
const f_status_t status = f_control_group_copy(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.as_new, source.as_new);
const f_status_t status = f_control_group_copy(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.as_new, source.as_new);
const f_status_t status = f_control_group_copy(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.as_new, source.as_new);
return F_status_set_error(F_number);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_conversion_character_to_binary_
if (character > 0x2f && character < 0x3a) {
*number = 0xf & character;
- return F_none;
+ return F_okay;
}
return F_status_set_error(F_number);
if (character > 0x2f && character < 0x3a) {
*number = 0xf & character;
- return F_none;
+ return F_okay;
}
if ((character > 0x40 && character < 0x43) || (character > 0x60 && character < 0x63)) {
*number = 9 + (0xf & character);
- return F_none;
+ return F_okay;
}
return F_status_set_error(F_number);
if (character > 0x2f && character < 0x3a) {
*number = 0xf & character;
- return F_none;
+ return F_okay;
}
if ((character > 0x40 && character < 0x47) || (character > 0x60 && character < 0x67)) {
*number = 9 + (0xf & character);
- return F_none;
+ return F_okay;
}
return F_status_set_error(F_number);
*number = 0xf & character;
- return F_none;
+ return F_okay;
}
#endif // _di_f_conversion_character_to_octal_
* This value is only changed on success.
*
* @return
- * F_none if character was converted to a binary.
+ * F_okay if character was converted to a binary.
*
* F_number (with error bit) if no conversion was made due to non-binary values being found.
* F_parameter (with error bit) if a parameter is invalid.
* This value is only changed on success.
*
* @return
- * F_none if character was converted to a decimal.
+ * F_okay if character was converted to a decimal.
*
* F_number (with error bit) if no conversion was made due to non-decimal values being found.
* F_parameter (with error bit) if a parameter is invalid.
* This value is only changed on success.
*
* @return
- * F_none if character was converted to a duodecimal.
+ * F_okay if character was converted to a duodecimal.
*
* F_number (with error bit) if no conversion was made due to non-duodecimal values being found.
* F_parameter (with error bit) if a parameter is invalid.
* This value is only changed on success.
*
* @return
- * F_none if character was converted to a hexidecimal.
+ * F_okay if character was converted to a hexidecimal.
*
* F_number (with error bit) if no conversion was made due to non-hexidecimal values being found.
* F_parameter (with error bit) if a parameter is invalid.
* This value is only changed on success.
*
* @return
- * F_none if character was converted to a hexidecimal.
+ * F_okay if character was converted to a hexidecimal.
*
* F_number (with error bit) if no conversion was made due to non-hexidecimal values being found.
* F_parameter (with error bit) if a parameter is invalid.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none if the number was converted to a string.
+ * F_okay if the number was converted to a string.
*
* F_block (with error bit) if file stream is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* The destination the converted string is saved into.
*
* @return
- * F_none if the number was converted to a string.
+ * F_okay if the number was converted to a string.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none if the number was converted to a string.
+ * F_okay if the number was converted to a string.
*
* F_block (with error bit) if file stream is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* The destination the converted string is saved into.
*
* @return
- * F_none if the number was converted to a string.
+ * F_okay if the number was converted to a string.
*
* F_parameter (with error bit) if a parameter is invalid.
*
}
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_conversion_number_signed_print_) || !defined(_di_f_conversion_number_unsigned_print_)
}
} // while
- return F_none;
+ return F_okay;
}
f_char_t c = 0;
} // while
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_conversion_number_signed_print_) || !defined(_di_f_conversion_number_unsigned_print_)
} // while
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_conversion_number_signed_print_) || !defined(_di_f_conversion_number_unsigned_print_)
}
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_conversion_number_signed_print_) || !defined(_di_f_conversion_number_unsigned_print_)
destination->string[destination->used++] = f_string_ascii_0_s.string[0];
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_conversion_number_signed_to_string_) || !defined(_di_f_conversion_number_unsigned_to_string_)
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_output (with error bit) on failure.
* F_parameter (with error bit) if a parameter is invalid.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_output (with error bit) on failure.
* F_parameter (with error bit) if a parameter is invalid.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_output (with error bit) on failure.
* F_parameter (with error bit) if a parameter is invalid.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_output (with error bit) on failure.
* F_parameter (with error bit) if a parameter is invalid.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_increase_by()
*
const f_status_t status = f_conversion_number_signed_print(1, data, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_conversion_number_signed_print(0, data, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_conversion_number_signed_print(0, data, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0b1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0B1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0o1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0O1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0t1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0T1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0d1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0D1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0x1");
}
const f_status_t status = f_conversion_number_signed_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0X1");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, " 0");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "00");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, " 0");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, " 0");
}
const f_status_t status = f_conversion_number_signed_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, " 00");
}
const f_status_t status = f_conversion_number_unsigned_print(1, data, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_conversion_number_unsigned_print(0, data, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_conversion_number_unsigned_print(0, data, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0b1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0B1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0o1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0O1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0t1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0T1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0d1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0D1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0x1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(1, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0X1");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "0");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, " 0");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "00");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, " 0");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, "");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, " 0");
}
const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, " 00");
}
if (!path.used) return F_data_not;
struct dirent **listing = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
const size_t length = scandir(path.string, &listing, filter, sort);
if (F_status_is_error(status)) return status;
if (!length) return F_directory_empty;
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_list_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_open_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_open_at_
else {
// Not recursively deleting and the path is requested to be preserved, so there is nothing to delete.
- if (preserve) return F_none;
+ if (preserve) return F_okay;
result = remove(path.string);
}
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_remove_
else {
// Not recursively deleting and the path is requested to be preserved, so there is nothing to delete.
- if (preserve) return F_none;
+ if (preserve) return F_okay;
result = remove(path.string);
}
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_remove_custom_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_touch_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_touch_at_
* The directory mode to use when creating.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* The directory mode to use when creating.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* Will be populated with the names of each file and/or directory inside path.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_directory_empty if directory is empty.
*
* This is updated with the result of open() or openat().
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* This is updated with the result of open() or openat().
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* When depth_max is 0, then this should only be FALSE (setting this to TRUE would be a no-op).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* Such as a custom function for verbose printing of removed files.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* The file mode to use when (directory) file is created.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* Any valid flag, such as F_file_at_path_empty_d, F_file_at_automount_no_d, or F_file_at_symlink_follow_no_d.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_listing_delete_
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_listing_destroy_
{
f_directory_listing_t * const array = (f_directory_listing_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_listings_delete_callback_
{
f_directory_listing_t * const array = (f_directory_listing_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_listings_destroy_callback_
{
f_directory_listings_t * const array = (f_directory_listings_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_listingss_delete_callback_
{
f_directory_listings_t * const array = (f_directory_listings_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_listingss_destroy_callback_
* The listing to fully delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The listing to fully destroy.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_recurse_do_delete_
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_recurse_do_destroy_
{
f_directory_recurse_do_t * const array = (f_directory_recurse_do_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_recurse_dos_delete_callback_
{
f_directory_recurse_do_t * const array = (f_directory_recurse_do_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_recurse_dos_destroy_callback_
{
f_directory_recurse_dos_t * const array = (f_directory_recurse_dos_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_recurse_doss_delete_callback_
{
f_directory_recurse_dos_t * const array = (f_directory_recurse_dos_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_recurse_doss_destroy_callback_
* The recurse to fully delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The recurse to fully destroy.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_status_delete_
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_status_destroy_
{
f_directory_status_t * const array = (f_directory_status_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_statuss_delete_callback_
{
f_directory_status_t * const array = (f_directory_status_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
- array[i].status = F_none;
+ array[i].status = F_okay;
status = f_string_dynamic_adjust(0, &array[i].path);
if (F_status_is_error(status)) return status;
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_statuss_destroy_callback_
{
f_directory_statuss_t * const array = (f_directory_statuss_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_statusss_delete_callback_
{
f_directory_statuss_t * const array = (f_directory_statuss_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
for (j = 0; j < array[i].size; ++j) {
- array[i].array[j].status = F_none;
+ array[i].array[j].status = F_okay;
status = f_string_dynamic_adjust(0, &array[i].array[j].path);
if (F_status_is_error(status)) return status;
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_directory_statusss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_directory_create_) || !defined(_di_f_directory_touch_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_directory_create_at_) || !defined(_di_f_directory_touch_at_)
* The directory mode to use when creating.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_directory (with error bit) if a supposed directory in path is not actually a directory.
* The directory mode to use when creating.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_directory (with error bit) if a supposed directory in path is not actually a directory.
const f_status_t status = f_directory_create(path, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_directory_create_at(0, path, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_directory_list(path, 0, 0, &names);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
f_string_dynamics_resize(0, &names);
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
const f_status_t status = f_directory_listings_delete_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
const f_status_t status = f_directory_listings_destroy_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_directory_listings_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_directory_listing_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].block);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].character);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].directory);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].regular);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].link);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].fifo);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].unknown);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_listingss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_directory_listings_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_directory_listing_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].block);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].character);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].directory);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].regular);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].link);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].fifo);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].unknown);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_listingss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
const f_status_t status = f_directory_open(path, F_false, &id);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(id, 5);
}
}
const f_status_t status = f_directory_open_at(at, path, F_false, &id);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(id, 5);
}
}
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
const f_status_t status = f_directory_recurse_dos_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
const f_status_t status = f_directory_recurse_dos_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, true);
will_return(__wrap_f_string_dynamic_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, true);
will_return(__wrap_f_string_dynamics_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_string_dynamics_resize, false);
- will_return(__wrap_f_string_dynamics_resize, F_none);
+ will_return(__wrap_f_string_dynamics_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_directory_recurse_dos_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_directory_recurse_do_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].path_cache);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].listing.block);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].listing.character);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].listing.directory);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].listing.regular);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].listing.link);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].listing.fifo);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].listing.socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_resize(1, &datass.array[0].array[0].listing.unknown);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_recurse_doss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, true);
will_return(__wrap_f_string_dynamic_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, true);
will_return(__wrap_f_string_dynamics_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_string_dynamics_adjust, false);
- will_return(__wrap_f_string_dynamics_adjust, F_none);
+ will_return(__wrap_f_string_dynamics_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_directory_recurse_dos_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_directory_recurse_do_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_adjust(1, &datass.array[0].array[0].path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_adjust(1, &datass.array[0].array[0].path_cache);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].listing.block);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].listing.character);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].listing.directory);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].listing.regular);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].listing.link);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].listing.fifo);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].listing.socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamics_adjust(1, &datass.array[0].array[0].listing.unknown);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_recurse_doss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
const f_status_t status = f_directory_remove(path, 0, F_false);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_remove(path, 0, F_true);
- assert_int_equal(F_status_set_fine(status), F_none);
+ assert_int_equal(F_status_set_fine(status), F_okay);
}
{
const f_status_t status = f_directory_remove(path, 1, F_false);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_remove(path, 1, F_true);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_directory_remove_custom(path, 0, F_false, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_remove_custom(path, 0, F_true, 0);
- assert_int_equal(F_status_set_fine(status), F_none);
+ assert_int_equal(F_status_set_fine(status), F_okay);
}
{
const f_status_t status = f_directory_remove_custom(path, 1, F_false, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_remove_custom(path, 1, F_true, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
const f_status_t status = f_directory_statuss_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
const f_status_t status = f_directory_statuss_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_directory_statuss_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_directory_status_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_statusss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_directory_statuss_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_directory_status_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_adjust(1, &datass.array[0].array[0].path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_statusss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
const f_status_t status = f_directory_touch(path, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_touch(path, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_directory_touch_at(1, path, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_directory_touch_at(1, path, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
f_status_t f_environment_clear(void) {
if (!clearenv()) {
- return F_none;
+ return F_okay;
}
return F_status_set_error(F_failure);
value->used = 0;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_environment_get_
if (!environment) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
char *at = 0;
f_string_map_t map = f_string_map_t_initialize;
if (F_status_is_error(status)) return status;
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_environment_get_all_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_environment_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_environment_unset_
* Delete all environment variables.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_failure (with error bit) on failure.
*
* @see clearenv()
* The value is be appended (set value->used to 0 before calling this to fully replace).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if name.used is 0.
* F_exist_not if name does not exist.
*
* An array of maps containing all available environment variable name and value pairs.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Set to FALSE to not replace value if name already exists.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if name.used is 0.
*
* F_memory_not (with error bit) on out of memory.
* The name must be NULL terminated.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if name.used is 0.
*
* F_memory_not (with error bit) on out of memory.
const f_status_t status = f_environment_clear();
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_environment_get(path, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(buffer.used, path.used);
assert_string_equal(buffer.string, path.string);
}
const f_status_t status = f_environment_get(path, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(buffer.used, f_string_empty_s.used);
assert_string_equal(buffer.string, f_string_empty_s.string);
}
const f_status_t status = f_environment_get_all(&environment);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(environment.used, 1);
assert_string_equal(environment.array[0].name.string, name.string);
assert_string_equal(environment.array[0].value.string, value.string);
const f_status_t status = f_environment_set(path, path, F_false);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_environment_unset(path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
for (f_status_t i = 0; i < F_status_code_last; ++i) {
// Skip past all valid status codes.
- if (i == F_none) continue;
+ if (i == F_okay) continue;
if (i == F_access) continue;
if (i == F_execute_not) continue;
if (i == F_buffer) continue;
void test__f_execute_status_from_status__works(void **state) {
const uint8_t status_executes[] = {
- F_execute_none,
+ F_execute_okay,
F_execute_access,
F_execute_bad,
F_execute_buffer,
};
const f_status_t statuss[] = {
- F_none,
+ F_okay,
F_access,
F_execute_not,
F_buffer,
for (uint8_t i = 0; i < 0xff; ++i) {
// Skip past all valid execute codes.
- if (i == F_execute_none) continue;
+ if (i == F_execute_okay) continue;
if (i == F_execute_access) continue;
if (i == F_execute_bad) continue;
if (i == F_execute_buffer) continue;
void test__f_execute_status_to_status__works(void **state) {
const uint8_t status_executes[] = {
- F_execute_none,
+ F_execute_okay,
F_execute_access,
F_execute_bad,
F_execute_buffer,
};
const f_status_t statuss[] = {
- F_none,
+ F_okay,
F_access,
F_execute_not,
F_buffer,
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
return F_support_not;
if (!source.used || !destination.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
struct stat source_stat;
memset(&source_stat, 0, sizeof(struct stat));
status = private_f_file_mode_set(destination, (~F_file_type_mask_d) & mode.directory);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
if (macro_f_file_type_is_link(source_stat.st_mode)) {
}
}
- return F_none;
+ return F_okay;
}
if (macro_f_file_type_is_fifo(source_stat.st_mode)) {
status = private_f_file_mode_set(destination, (~F_file_type_mask_d) & mode.fifo);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
if (macro_f_file_type_is_socket(source_stat.st_mode)) {
status = private_f_file_mode_set(destination, (~F_file_type_mask_d) & mode.socket);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
if (macro_f_file_type_is_block(source_stat.st_mode) || macro_f_file_type_is_character(source_stat.st_mode)) {
status = private_f_file_mode_set(destination, (~F_file_type_mask_d) & mode.block);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
return F_support_not;
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_create_fifo_at_
if (file->id == -1) return F_status_set_error(F_file_descriptor_not);
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_descriptor_
*group = stat_file.st_gid;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_group_read_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_link_hard_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_link_hard_at_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_manipulate_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_mode_determine_
*replace = replace_result;
}
- return F_none;
+ return F_okay;
}
return F_status_set_error(F_syntax);
*mode = stat_file.st_mode;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_mode_read_
*mode = stat_file.st_mode;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_mode_read_at_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_mode_set_at_
*to |= F_file_mode_world_x_d;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_mode_to_mode_
name_base->used += size;
name_base->string[name_base->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_name_base_
name_directory->used += size;
name_directory->string[name_directory->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_name_directory_
*owner = stat_file.st_uid;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_owner_read_
return F_status_set_error(F_failure);
}
- return result ? F_none : F_time_out;
+ return result ? F_okay : F_time_out;
}
#endif // _di_f_file_poll_
if (file.id == -1) return F_file_descriptor_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
ssize_t size_read = 0;
do {
} while (size_read);
- return F_none_eof;
+ return F_okay_eof;
}
#endif // _di_f_file_read_
return F_status_set_error(F_failure);
}
- if (size_read) return F_none;
+ if (size_read) return F_okay;
- return F_none_eof;
+ return F_okay_eof;
}
#endif // _di_f_file_read_block_
f_number_unsigned_t buffer_size = file.size_read;
f_number_unsigned_t buffer_count = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
ssize_t size_read = 0;
for (;;) {
buffer->used += size_read;
- if (!size_read) return F_none_eof;
+ if (!size_read) return F_okay_eof;
buffer_count += size_read;
if (buffer_count >= total) break;
} // for
- return F_none_stop;
+ return F_okay_stop;
}
#endif // _di_f_file_read_until_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_remove_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_remove_at_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_rename_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_rename_at_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_seek_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_select_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_select_signal_
*size = stat_file.st_size;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_size_
*size = stat_file.st_size;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_size_at_
*size = stat_file.st_size;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_size_by_id_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_touch_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_touch_at_
*type = macro_f_file_type_get(stat_file.st_mode);
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_type_
*type = macro_f_file_type_get(stat_file.st_mode);
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_type_at_
// Restore umask.
umask(*mask);
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_umask_get_
umask(mask);
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_umask_set_
const f_status_t status = private_f_file_write_until(file, buffer, buffer.used, written);
if (F_status_is_error(status)) return status;
- if (status == F_none && *written == buffer.used) return F_none_eos;
+ if (status == F_okay && *written == buffer.used) return F_okay_eos;
}
else {
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;
- if (status == F_none && written_local == buffer.used) return F_none_eos;
+ if (status == F_okay && written_local == buffer.used) return F_okay_eos;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_write_
const f_status_t status = private_f_file_write_until(file, buffer, write_max, written);
if (F_status_is_error(status)) return status;
- if (status == F_none) {
- if (*written == buffer.used) return F_none_eos;
- if (*written == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (*written == buffer.used) return F_okay_eos;
+ if (*written == write_max) return F_okay_stop;
}
}
else {
const f_status_t status = private_f_file_write_until(file, buffer, write_max, &written_local);
if (F_status_is_error(status)) return status;
- if (status == F_none) {
- if (written_local == buffer.used) return F_none_eos;
- if (written_local == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (written_local == buffer.used) return F_okay_eos;
+ if (written_local == write_max) return F_okay_stop;
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_write_block_
const f_status_t status = private_f_file_write_until(file, buffer, write_max, written);
if (F_status_is_error(status)) return status;
- if (status == F_none) {
- if (*written == buffer.used) return F_none_eos;
- if (*written == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (*written == buffer.used) return F_okay_eos;
+ if (*written == write_max) return F_okay_stop;
}
}
else {
const f_status_t status = private_f_file_write_until(file, buffer, buffer.used, &written_local);
if (F_status_is_error(status)) return status;
- if (status == F_none) {
- if (written_local == buffer.used) return F_none_eos;
- if (written_local == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (written_local == buffer.used) return F_okay_eos;
+ if (written_local == write_max) return F_okay_stop;
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_write_until_
const f_status_t status = private_f_file_write_until(file, buffer_adjusted, write_max, written);
if (F_status_is_error(status)) return status;
- if (status == F_none) {
- if (range.start + *written == buffer.used) return F_none_eos;
- if (range.start + *written == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (range.start + *written == buffer.used) return F_okay_eos;
+ if (range.start + *written == write_max) return F_okay_stop;
}
}
else {
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;
- if (status == F_none) {
- if (range.start + written_local == buffer.used) return F_none_eos;
- if (range.start + written_local == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (range.start + written_local == buffer.used) return F_okay_eos;
+ if (range.start + written_local == write_max) return F_okay_stop;
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_write_range_
* If neither f_file_stat_flag_group_e nor f_file_stat_flag_owner_e, will not copy the owner and group ids.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source.used or destination.used is 0.
*
* F_access_denied (with error bit) on access denied.
* The file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_file_close (with error bit) if fclose() failed for any other reason.
* The file descriptor.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if id is -1.
*
* F_file_close (with error bit) if fclose() failed for any other reason.
* If not f_file_stat_flag_reference_e, will dereference any links.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source.used or destination.used is 0.
*
* F_access_denied (with error bit) on access denied.
* If FALSE, will not fail if file already exists.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* If FALSE, will not fail if file already exists.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* Is ignored by pipe file types.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* Is ignored by pipe file types.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* The file mode to assign.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* The file mode to assign.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* Is ignored by pipe file types.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* Is ignored by pipe file types.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* The file.
*
* @return
- * F_none is returned on success.
+ * F_okay is returned on success.
* F_stream_not if file.stream is NULL.
*
* F_parameter (with error bit) if a parameter is invalid.
* The file.
*
* @return
- * F_none is returned on success.
+ * F_okay is returned on success.
* F_file_descriptor_not if file.id is -1.
*
* F_file_descriptor (with error bit) if file descriptor is invalid.
* The id of the file's group.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) if access to the file was denied.
* A path to the link that does the pointing.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if target.used or point.used is 0.
*
* F_access_denied (with error bit) on access denied.
* A path to the link that does the pointing.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if target.used or point.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* A path to the link that does the pointing.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if target.used or point.used is 0.
*
* F_access_denied (with error bit) on access denied.
* Any valid flag, such as F_file_at_path_empty_d, F_file_at_automount_no_d, or F_file_at_symlink_follow_no_d.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if target.used or point.used is 0.
* F_file_descriptor_not if either file.id is -1.
*
* Will be NULL terminated with the NULL at target.string[target.used];
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* Will be NULL terminated with the NULL at target.string[target.used];
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* See fcntl() for details.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied (due to locks being held by other processes).
* F_again (with error bit) on operation on file is prohibited (often due to file being memory mapped by another process).
* The determined mode.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_syntax (with error bit) if the string fails to follow the syntax rules.
* The read file mode.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) if access to the file was denied.
* The read file mode.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* The new mode to use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* The new mode to use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* The determined mode.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* This is NULL terminated after the name_directory.used.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_memory_not (with error bit) on out of memory.
* This is NULL terminated after the name_directory.used.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_memory_not (with error bit) on out of memory.
* This will be updated with the file descriptor.
*
* @return
- * F_none is returned on success.
+ * F_okay is returned on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* This will be updated with the file descriptor.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* The id of the file's owner.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) if access to the file was denied.
* A value of 0 results in immediate return.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if polls.used is 0.
* F_time_out if time out is reached befoe a signal is received.
*
* The contents of the file is appended into this buffer.
*
* @return
- * F_none_eof on success and EOF was reached.
+ * F_okay_eof on success and EOF was reached.
* F_file_descriptor_not if file.id is -1.
*
* F_block (with error bit) if file descriptor is set to non-block and the read would result in a blocking operation.
* The contents of the file is appended into this buffer.
*
* @return
- * F_none on success.
- * F_none_eof on success and EOF was reached.
+ * F_okay on success.
+ * F_okay_eof on success and EOF was reached.
* F_file_descriptor_not if file.id is -1.
*
* F_block (with error bit) if file descriptor is set to non-block and the read would result in a blocking operation.
* The buffer the file is being read into.
*
* @return
- * F_none_eof on success and EOF was reached.
- * F_none_stop on success and total was reached.
+ * F_okay_eof on success and EOF was reached.
+ * F_okay_stop on success and total was reached.
* F_data_not if total is 0.
* F_file_descriptor_not if file.id is -1.
*
* The path file name.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_busy (with error bit) if file is busy.
* Any valid flag, such as F_file_at_path_empty_d, F_file_at_automount_no_d, or F_file_at_symlink_follow_no_d.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_access_denied (with error bit) on access denied.
* The path to copy to.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* If this is compiled with renameat2 support (), then flag is used otherwise flag is always 0 regardless of this property.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_access_denied (with error bit) on access denied.
* Set to FALSE to operate on the symlink itself.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if either both uid and gid are -1 or path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* Any valid flag, such as F_file_at_path_empty_d, F_file_at_automount_no_d, or F_file_at_symlink_follow_no_d.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if either both uid and gid are -1 or path.used is 0.
* F_file_descriptor_not if file.id is -1.
*
* To be compared against offset.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_bound_not (with error bit) if SEEK_DATA or SEEK_HOLE is specified as whence and offset is beyond the end of file.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if all of read, write, except, and timeout are NULL (having at least one is required) or when highest_plus_one is 0.
*
* F_file_descriptor (with error bit) if the file descriptor is invalid.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if all of read, write, except, and timeout are NULL (having at least one is required) or when highest_plus_one is 0.
*
* F_file_descriptor (with error bit) if the file descriptor is invalid.
* This gets set to the size of the file.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) if access to the file was denied.
* F_directory_not (with error bit) on invalid directory.
* This gets set to the size of the file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_access_denied (with error bit) if access to the file was denied.
* This gets set to the size of the file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_access_denied (with error bit) if access to the file was denied.
* The statistics read.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_access_denied (with error bit) if access to the file was denied.
* The statistics read.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_access_denied (with error bit) if access to the file was denied.
* The statistics read.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_access_denied (with error bit) if access to the file was denied.
* Set to FALSE to operate on the symlink itself.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* Any valid flag, such as F_file_at_path_empty_d, F_file_at_automount_no_d, or F_file_at_symlink_follow_no_d.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_descriptor_not if file.id is -1.
*
* F_access_denied (with error bit) on access denied.
* The type of the file.
*
* @return
- * F_none if path was found and and the type was loaded in the type parameter.
+ * F_okay if path was found and and the type was loaded in the type parameter.
* F_file_found_not if the path was not found.
*
* F_access_denied (with error bit) if access to the file was denied.
* The type of the file.
*
* @return
- * F_none if path was found and and the type was loaded in the type parameter.
+ * F_okay if path was found and and the type was loaded in the type parameter.
* F_file_descriptor_not if file.id is -1.
* F_file_found_not if the path was not found.
*
* (The name "mask" is used avoid a naming conflict with the umask() function.)
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* (The name "mask" is used avoid a naming conflict with the umask() function.)
*
* @return
- * F_none on success.
+ * F_okay on success.
*/
#ifndef _di_f_file_umask_set_
extern f_status_t f_file_umask_set(const mode_t mask);
* Set to NULL to not use.
*
* @return
- * F_none on success.
- * F_none_eos on success and wrote up to buffer.used.
+ * F_okay on success.
+ * F_okay_eos on success and wrote up to buffer.used.
* F_data_not if buffer.used is 0 or range.start > range.stop.
* F_file_descriptor_not if file.id is -1.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
- * F_none_stop on success and wrote up to stop point.
- * F_none_eos on success and wrote up to buffer.used (buffer.used is reached before stop point).
+ * F_okay on success.
+ * F_okay_stop on success and wrote up to stop point.
+ * F_okay_eos on success and wrote up to buffer.used (buffer.used is reached before stop point).
* F_data_not if buffer.used is 0 or range.start > range.stop.
* F_file_descriptor_not if file.id is -1.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
- * F_none_stop on success and wrote up to stop point.
- * F_none_eos on success and wrote up to buffer.used (buffer.used is reached before stop point).
+ * F_okay on success.
+ * F_okay_stop on success and wrote up to stop point.
+ * F_okay_eos on success and wrote up to buffer.used (buffer.used is reached before stop point).
* F_data_not if buffer.used is 0 or range.start > range.stop.
* F_file_descriptor_not if file.id is -1.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
- * F_none_stop on success and wrote up to stop point.
- * F_none_eos on success and wrote up to buffer.used (buffer.used is reached before stop point).
+ * F_okay on success.
+ * F_okay_stop on success and wrote up to stop point.
+ * F_okay_eos on success and wrote up to buffer.used (buffer.used is reached before stop point).
* F_data_not if buffer.used is 0 or range.start > range.stop.
* F_file_descriptor_not if file.id is -1.
*
file->stream = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_close_
return F_status_set_error(F_file_synchronize);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_flush_
flockfile(file.stream);
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_lock_
if (ftrylockfile(file.stream)) return F_busy;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_lock_try_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_open_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_open_descriptor_
if (feof_unlocked(file.stream)) {
funlockfile(file.stream);
- return F_none_eof;
+ return F_okay_eof;
}
if (ferror_unlocked(file.stream)) {
return F_status_set_error(F_error);
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
size_t size_read = 0;
do {
funlockfile(file.stream);
- return F_none_eof;
+ return F_okay_eof;
}
#endif // _di_f_file_stream_read_
if (feof_unlocked(file.stream)) {
funlockfile(file.stream);
- return F_none_eof;
+ return F_okay_eof;
}
if (ferror_unlocked(file.stream)) {
if (feof_unlocked(file.stream)) {
funlockfile(file.stream);
- return F_none_eof;
+ return F_okay_eof;
}
funlockfile(file.stream);
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_read_block_
if (feof_unlocked(file.stream)) {
funlockfile(file.stream);
- return F_none_eof;
+ return F_okay_eof;
}
if (ferror_unlocked(file.stream)) {
if (F_status_is_error(status)) {
funlockfile(file.stream);
- return F_none_eof;
+ return F_okay_eof;
}
}
if (feof_unlocked(file.stream)) {
funlockfile(file.stream);
- return F_none_eof;
+ return F_okay_eof;
}
buffer_count += size_read;
funlockfile(file.stream);
- return F_none_stop;
+ return F_okay_stop;
}
#endif // _di_f_file_stream_read_until_
file->stream = result;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_reopen_
funlockfile(file.stream);
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_unlock_
return file.stream ? F_data_not : F_stream_not;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (written) {
status = private_f_file_stream_write_until(file, buffer, buffer.used, written);
- if (status == F_none && *written == buffer.used) return F_none_eos;
+ if (status == F_okay && *written == buffer.used) return F_okay_eos;
}
else {
f_number_unsigned_t written_local = 0;
status = private_f_file_stream_write_until(file, buffer, buffer.used, &written_local);
- if (status == F_none && written_local == buffer.used) return F_none_eos;
+ if (status == F_okay && written_local == buffer.used) return F_okay_eos;
}
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_write_
const f_number_unsigned_t write_max = file.size_write > buffer.used ? buffer.used : file.size_write;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (written) {
status = private_f_file_stream_write_until(file, buffer, write_max, written);
- if (status == F_none) {
- if (*written == buffer.used) return F_none_eos;
- if (*written == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (*written == buffer.used) return F_okay_eos;
+ if (*written == write_max) return F_okay_stop;
}
}
else {
status = private_f_file_stream_write_until(file, buffer, write_max, &written_local);
- if (status == F_none) {
- if (written_local == buffer.used) return F_none_eos;
- if (written_local == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (written_local == buffer.used) return F_okay_eos;
+ if (written_local == write_max) return F_okay_stop;
}
}
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_write_block_
const f_number_unsigned_t write_max = total > buffer.used ? buffer.used : total;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (written) {
status = private_f_file_stream_write_until(file, buffer, write_max, written);
- if (status == F_none) {
- if (*written == buffer.used) return F_none_eos;
- if (*written == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (*written == buffer.used) return F_okay_eos;
+ if (*written == write_max) return F_okay_stop;
}
}
else {
status = private_f_file_stream_write_until(file, buffer, buffer.used, &written_local);
- if (status == F_none) {
- if (written_local == buffer.used) return F_none_eos;
- if (written_local == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (written_local == buffer.used) return F_okay_eos;
+ if (written_local == write_max) return F_okay_stop;
}
}
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_write_until_
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;
+ f_status_t status = F_okay;
if (written) {
status = private_f_file_stream_write_until(file, buffer_adjusted, write_max, written);
- if (status == F_none) {
- if (range.start + *written == buffer.used) return F_none_eos;
- if (range.start + *written == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (range.start + *written == buffer.used) return F_okay_eos;
+ if (range.start + *written == write_max) return F_okay_stop;
}
}
else {
status = private_f_file_stream_write_until(file, buffer_adjusted, write_max, &written_local);
- if (status == F_none) {
- if (range.start + written_local == buffer.used) return F_none_eos;
- if (range.start + written_local == write_max) return F_none_stop;
+ if (status == F_okay) {
+ if (range.start + written_local == buffer.used) return F_okay_eos;
+ if (range.start + written_local == write_max) return F_okay_stop;
}
}
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_file_stream_write_range_
* The file.stream is set to NULL, on both success or on failure.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_stream_not if file.stream is NULL.
*
* F_access_denied (with error bit) on access denied.
* The file.id is updated with the file descriptor, if necessary and able.
*
* @return
- * F_none is returned on success.
+ * F_okay is returned on success.
* F_stream_not if file.stream is NULL.
* F_file_descriptor_not if file.id is -1.
*
* The file to lock.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_stream_not if file.stream is NULL.
*
* @see flockfile()
* The file to lock.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_busy on success, but the file.stream is already locked.
* F_stream_not if file.stream is NULL.
*
* The file.id is updated with the file descriptor, if necessary and able.
*
* @return
- * F_none is returned on success.
+ * F_okay is returned on success.
* F_data_not if both path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* The file with a valid file descriptor (file.id).
*
* @return
- * F_none is returned on success.
+ * F_okay is returned on success.
* F_file_descriptor_not if file.id is -1.
*
* F_access_denied (with error bit) on access denied.
* The contents of the file is appended into this buffer.
*
* @return
- * F_none_eof on success and EOF was reached.
+ * F_okay_eof on success and EOF was reached.
* F_stream_not if file.stream is NULL.
*
* F_block (with error bit) if file descriptor is set to non-block and the read would result in a blocking operation.
* The contents of the file is appended into this buffer.
*
* @return
- * F_none on success.
- * F_none_eof on success and EOF was reached.
+ * F_okay on success.
+ * F_okay_eof on success and EOF was reached.
* F_stream_not if file.stream is NULL.
*
* F_error (with error bit) if the file is already in the error state at the start of this function.
* The buffer the file is being read into.
*
* @return
- * F_none_eof on success and EOF was reached.
- * F_none_stop on success and total was reached.
+ * F_okay_eof on success and EOF was reached.
+ * F_okay_stop on success and total was reached.
* F_data_not if total is 0.
* F_stream_not if file.stream is NULL.
*
* The file.stream is updated, if necessary.
*
* @return
- * F_none is returned on success.
+ * F_okay is returned on success.
* F_data_not if both path.used and mode.used are 0.
*
* F_access_denied (with error bit) on access denied.
* The file to unlock.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_stream_not if file.stream is NULL.
*
* @see funlockfile()
* Set to NULL to not use.
*
* @return
- * F_none on success.
- * F_none_eof when the file stream is at the end of the file.
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_eof when the file stream is at the end of the file.
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
* F_data_not on success but buffer.used is 0.
* F_stream_not if file.stream is NULL.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
- * F_none_eof when the file stream is at the end of the file.
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_eof when the file stream is at the end of the file.
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
* F_data_not on success but buffer.used is 0.
* F_stream_not if file.stream is NULL.
*
* Set to NULL to not use..
*
* @return
- * F_none on success.
- * F_none_eof when the file stream is at the end of the file.
- * F_none_eos on success but range.stop exceeded buffer.used (only wrote up to buffer.used).
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_eof when the file stream is at the end of the file.
+ * F_okay_eos on success but range.stop exceeded buffer.used (only wrote up to buffer.used).
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
* F_data_not on success but either buffer.used or total is 0.
* F_stream_not if file.stream is NULL.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
- * F_none_eos on success but range.stop exceeded buffer.used (only wrote up to buffer.used).
+ * F_okay on success.
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay_eos on success but range.stop exceeded buffer.used (only wrote up to buffer.used).
* F_stream_not if file.stream is NULL.
*
* F_file_write (with error bit) on error during file write.
*id = -1;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_clone_) || !defined(_di_f_file_close_) || !defined(_di_f_file_copy_) || !defined(_di_f_file_create_) || !defined(_di_f_file_create_at_) || !defined(_di_f_file_stream_close_)
if (size_read < 0) return F_status_set_error(F_file_read);
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_copy_) || !defined(_di_f_file_clone_)
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_create_) || !defined(_di_f_file_copy_)
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_create_at_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_copy_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_create_fifo_) || !defined(_di_f_file_copy_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_create_device_) || !defined(_di_f_file_create_node_) || !defined(_di_f_file_copy_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_create_device_at_) || !defined(_di_f_file_create_node_at_)
return F_status_set_error(F_file_synchronize);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_clone_) || !defined(_di_f_file_close_) || !defined(_di_f_file_copy_) || !defined(_di_f_file_create_) || !defined(_di_f_file_create_at_) || !defined(_di_f_file_stream_close_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_link_) || !defined(_di_f_file_copy_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_link_at_)
status = f_string_dynamic_terminate_after(target);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_link_read_) || !defined(_di_f_file_copy_)
status = f_string_dynamic_terminate_after(target);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_link_read_at_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_mode_set_) || !defined(_di_f_file_copy_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_open_) || !defined(_di_f_file_copy_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_create_at_) || !defined(_di_f_file_open_at_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_role_change_) || !defined(_di_f_file_copy_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_role_change_at_)
return F_status_set_error(F_file_stat);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_clone_) || !defined(_di_f_file_copy_) || !defined(_di_f_file_exists_) || !defined(_di_f_file_group_read_) || !defined(_di_f_file_is_) || !defined(_di_f_file_link_read_) || !defined(_di_f_file_mode_read_) || !defined(_di_f_file_owner_read_) || !defined(_di_f_file_size_) || !defined(_di_f_file_stat_) || !defined(_di_f_file_touch_) || !defined(_di_f_file_type_)
return F_status_set_error(F_file_stat);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_exists_at_) || !defined(_di_f_file_link_read_at_) || !defined(_di_f_file_mode_read_at_) || !defined(_di_f_file_size_at_) || !defined(_di_f_file_stat_at_) || !defined(_di_f_file_touch_at_) || !defined(_di_f_file_type_at_)
return F_status_set_error(F_file_stat);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_stat_by_id_) || !defined(_di_f_file_size_by_id_)
if (!size_write) {
funlockfile(file.stream);
- return F_none_stop;
+ return F_okay_stop;
}
} // while
funlockfile(file.stream);
- return F_none;
+ return F_okay;
}
#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)
} // while
if (!size_write) {
- return F_none_stop;
+ return F_okay_stop;
}
if (size_write < 0) {
return F_status_set_error(F_file_write);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_file_write_) || !defined(_di_f_file_write_block_) || !defined(_di_f_file_write_until) || !defined(_di_f_file_write_range)
* The file descriptor gets set to -1.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_file_close (with error bit) if fclose() failed for any other reason.
* F_file_descriptor (with error bit) if file descriptor is invalid.
* If FALSE, will not fail if file already exists (existing file will be replaced).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_busy (with error bit) if file system is too busy to perform write.
* If FALSE, will not fail if file already exists.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_busy (with error bit) if file system is too busy to perform write.
* If FALSE, will not fail if file already exists.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_busy (with error bit) if file system is too busy to perform write.
* The directory mode to use when creating.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* The file mode to assign.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_directory (with error bit) if a supposed directory in path is not actually a directory.
* This will be updated with the file descriptor.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_directory (with error bit) if a supposed directory in path is not actually a directory.
* This will be updated with the file descriptor.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_directory (with error bit) if a supposed directory in path is not actually a directory.
* The file to flush.
*
* @return
- * F_none is returned on success.
+ * F_okay is returned on success.
*
* F_file_descriptor (with error bit) if file descriptor is invalid.
* F_filesystem_quota_block (with error bit) if file system's disk blocks or inodes are exhausted.
* A path to the link that does the pointing.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* A path to the link that does the pointing.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_busy (with error bit) if file system is too busy to perform write.
* Will be NULL terminated with the NULL at target.string[target.used];
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* Will be NULL terminated with the NULL at target.string[target.used];
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* The new mode to use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_access_mode (with error bit) if the current user does not have access to assign the file mode.
* This will be updated with the file descriptor.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_file_descriptor (with error bit) if unable to load the file descriptor (the file pointer may still be valid).
* F_file_found_not (with error bit) if the file was not found.
* This will be updated with the file descriptor.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_directory_descriptor (with error bit) for bad directory descriptor for at_id.
* F_file_found_not (with error bit) if the file was not found.
* Set to FALSE to operate on the symlink itself.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_access_group (with error bit) if the current user does not have access to assign the specified group.
* Any valid flag, such as F_file_at_path_empty_d, F_file_at_automount_no_d, or F_file_at_symlink_follow_no_d.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_access_group (with error bit) if the current user does not have access to assign the specified group.
* The statistics read.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) if access to the file was denied.
* F_directory (with error bit) on invalid directory.
* The statistics read.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) if access to the file was denied.
* F_directory (with error bit) on invalid directory.
* The statistics read.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) if access to the file was denied.
* F_directory (with error bit) on invalid directory.
* The total bytes to written.
*
* @return
- * F_none on success.
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
*
* F_file_write (with error bit) on error during file write.
* F_parameter (with error bit) if a parameter is invalid.
* The total bytes written.
*
* @return
- * F_none on success.
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
const f_status_t status = f_file_clone(path, path, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_clone(path, path, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_close(&file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.id, -1);
}
}
const f_status_t status = f_file_close_id(&id);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(id, -1);
}
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
if (statuss[i] == F_file_found) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_copy(path, path, mode, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_create(path, 0, F_false);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_create_at(file, path, 0, F_false);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_create_device(path, modes[i], 1, 1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
} // for
}
}
const f_status_t status = f_file_create_device_at(file, path, modes[i], 1, 1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
} // for
}
}
const f_status_t status = f_file_create_fifo(path, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
} // for
}
const f_status_t status = f_file_create_fifo_at(file, path, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
} // for
}
const f_status_t status = f_file_create_node(path, modes[i], 1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
} // for
}
}
const f_status_t status = f_file_create_node_at(file, path, modes[i], 1);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
} // for
}
}
const f_status_t status = f_file_descriptor(&file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.id, F_type_descriptor_output_d);
}
}
const f_status_t status = f_file_flush(file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_group_read(path, F_true, &id);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(id, 5);
}
}
const f_status_t status = f_file_link(path, path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_link_at(file, path, path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_link_hard(path, path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_link_hard_at(target, point, path, path, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_link_read(path, F_true, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
f_string_dynamic_resize(0, &buffer);
const f_status_t status = f_file_link_read_at(file, path, 0, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
f_string_dynamic_resize(0, &buffer);
const f_status_t status = f_file_manipulate(file, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_mode_determine(existing, changes[i], 0, F_false, &changed);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(changed, changeds[i]);
} // for
}
const f_status_t status = f_file_mode_determine(existing, changes[i], 0, F_true, &changed);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(changed, changeds[i]);
} // for
}
const f_status_t status = f_file_mode_determine(existing, changes[i], F_file_mode_t_replace_all_d, F_false, &changed);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(changed, changeds[i]);
} // for
}
const f_status_t status = f_file_mode_determine(existing, changes[i], F_file_mode_t_replace_all_d, F_true, &changed);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(changed, changeds[i]);
} // for
}
const f_status_t status = f_file_mode_from_string(codes[i], 0, &mode, &replace);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(mode, modes[i]);
assert_int_equal(replace, replaces[i]);
} // for
const f_status_t status = f_file_mode_from_string(codes[i], 0, &mode, &replace);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(mode, modes[i]);
assert_int_equal(replace, replaces[i]);
} // for
const f_status_t status = f_file_mode_read(path, F_false, &mode);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(mode, statistics.st_mode);
}
const f_status_t status = f_file_mode_read(path, F_true, &mode);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(mode, statistics.st_mode);
}
}
const f_status_t status = f_file_mode_read_at(file, path, 0, &mode);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(mode, statistics.st_mode);
}
}
const f_status_t status = f_file_mode_set(path, mode);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_mode_set_at(file, path, mode);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_mode_to_mode(file_modes[i], &mode);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(mode, modes[i]);
} // for
}
const f_status_t status = f_file_name_base(paths[i], &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(buffer.used, bases[i].used);
assert_string_equal(buffer.string, bases[i].string);
} // for
const f_status_t status = f_file_name_directory(paths[i], &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(buffer.used, bases[i].used);
assert_string_equal(buffer.string, bases[i].string);
} // for
const f_status_t status = f_file_open(path, 0, &file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.id, 5);
}
}
const f_status_t status = f_file_open_at(file, path, F_false, &file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.id, 5);
}
}
const f_status_t status = f_file_owner_read(path, F_true, &id);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(id, 5);
}
}
const f_status_t status = f_file_poll(polls, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(poll.fd, fd);
assert_int_equal(poll.events, total);
assert_int_equal(poll.revents, revents);
f_string_dynamic_increase_by(1, &buffer);
buffer.string[buffer.used] = 0;
- assert_int_equal(status, F_none_eof);
+ assert_int_equal(status, F_okay_eof);
assert_int_equal(buffer.used, 6);
assert_string_equal(buffer.string, "abcdef");
}
f_string_dynamic_increase_by(1, &buffer);
buffer.string[buffer.used] = 0;
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(buffer.used, 4);
assert_string_equal(buffer.string, "abcd");
}
const f_status_t status = f_file_read_block(file, &buffer);
- assert_int_equal(status, F_none_eof);
+ assert_int_equal(status, F_okay_eof);
assert_int_equal(buffer.used, 4);
assert_string_equal(buffer.string, "abcd");
}
f_string_dynamic_increase_by(1, &buffer);
buffer.string[buffer.used] = 0;
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(buffer.used, 6);
assert_string_equal(buffer.string, "abcdef");
}
f_string_dynamic_increase_by(1, &buffer);
buffer.string[buffer.used] = 0;
- assert_int_equal(status, F_none_eof);
+ assert_int_equal(status, F_okay_eof);
assert_int_equal(buffer.used, 4);
assert_string_equal(buffer.string, "abcd");
}
const f_status_t status = f_file_remove(path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_remove_at(file, path, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_rename(path, path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_rename_at(source, destination, path, path, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_role_change(path, 0, 0, F_true);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_role_change(path, -1, 0, F_true);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_role_change(path, 0, -1, F_true);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_role_change(path, 0, 0, F_false);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_role_change(path, -1, 0, F_false);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_role_change(path, 0, -1, F_false);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_role_change_at(file, path, 0, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_role_change_at(file, path, -1, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_role_change_at(file, path, 0, -1, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_role_change_at(file, path, 0, 0, F_file_at_symlink_follow_no_d);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_role_change_at(file, path, -1, 0, F_file_at_symlink_follow_no_d);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_role_change_at(file, path, 0, -1, F_file_at_symlink_follow_no_d);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_seek(file, 0, 0, &seeked);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_select(1, &read, &write, &except, &timeout);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, &read, &write, 0, &timeout);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, &read, 0, &except, &timeout);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, 0, &write, &except, &timeout);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, &read, 0, 0, &timeout);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, 0, &write, 0, &timeout);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, 0, 0, &except, &timeout);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, &read, &write, &except, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, &read, &write, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, &read, 0, &except, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, 0, &write, &except, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, &read, 0, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, 0, &write, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select(1, 0, 0, &except, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_select_signal(1, &read, &write, &except, &timeout, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, &write, &except, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, &write, &except, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, &write, 0, &timeout, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, 0, &except, &timeout, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &write, &except, &timeout, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, 0, 0, &timeout, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, 0, &except, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, 0, &except, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &write, 0, &timeout, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &write, &except, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &write, &except, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, 0, &except, &timeout, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &read, &except, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &read, &except, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, &write, 0, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, &write, 0, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, 0, &except, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, 0, &except, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &write, &except, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &write, &except, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, 0, 0, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &write, 0, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, 0, &except, 0, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, 0, 0, &timeout, &signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, 0, 0, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &write, 0, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, 0, &except, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, 0, 0, &timeout, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, 0, &except, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, 0, &write, 0, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_file_select_signal(1, &read, 0, 0, 0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_size(path, F_true, &size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(size, statistics.st_size);
}
}
const f_status_t status = f_file_size_at(file, path, F_false, &size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(size, statistics.st_size);
}
const f_status_t status = f_file_size_at(file, path, F_true, &size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(size, statistics.st_size);
}
}
const f_status_t status = f_file_size_by_id(file, &size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(size, statistics.st_size);
}
}
const f_status_t status = f_file_stat(path, F_true, &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result.st_mode, statistics.st_mode);
assert_int_equal(result.st_size, statistics.st_size);
}
const f_status_t status = f_file_stat_at(file, path, F_false, &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result.st_mode, statistics.st_mode);
assert_int_equal(result.st_size, statistics.st_size);
}
const f_status_t status = f_file_stat_at(file, path, F_true, &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result.st_mode, statistics.st_mode);
assert_int_equal(result.st_size, statistics.st_size);
}
const f_status_t status = f_file_stat_by_id(file, &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result.st_mode, statistics.st_mode);
assert_int_equal(result.st_size, statistics.st_size);
}
const f_status_t status = f_file_stream_close(&file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.stream, 0);
}
}
const f_status_t status = f_file_stream_open(path, path, &file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.stream, F_type_output_d);
}
const f_status_t status = f_file_stream_open(path, f_string_empty_s, &file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.stream, F_type_output_d);
}
}
const f_status_t status = f_file_stream_open_descriptor(path, &file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.id, id);
}
const f_status_t status = f_file_stream_open_descriptor(f_string_empty_s, &file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.id, id);
}
}
const f_status_t status = f_file_stream_read(file, &buffer);
- assert_int_equal(status, F_none_eof);
+ assert_int_equal(status, F_okay_eof);
}
f_string_dynamic_resize(0, &buffer);
const f_status_t status = f_file_stream_read_block(file, &buffer);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
f_string_dynamic_resize(0, &buffer);
const f_status_t status = f_file_stream_read_until(file, 1, &buffer);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
}
f_string_dynamic_resize(0, &buffer);
const f_status_t status = f_file_stream_reopen(path, path, &file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.stream, F_type_input_d);
}
const f_status_t status = f_file_stream_reopen(path, f_string_empty_s, &file);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(file.stream, F_type_input_d);
}
}
const f_status_t status = f_file_stream_write(file, test, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
}
f_status_t status = f_file_stream_write_block(file, test, &written);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(written, file.size_write);
// The letter 'e'.
status = f_file_stream_write_block(file, test, &written);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(written, file.size_write);
// The letter 's'.
status = f_file_stream_write_block(file, test, &written);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(written, file.size_write);
// The letter 't'.
status = f_file_stream_write_block(file, test, &written);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(written, file.size_write);
}
const f_status_t status = f_file_stream_write_block(file, test, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
}
const f_status_t status = f_file_stream_write_range(file, test, range, 0);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
}
{
const f_status_t status = f_file_stream_write_range(file, test, range, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
}
const f_status_t status = f_file_stream_write_until(file, test, test.used, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
{
const f_status_t status = f_file_stream_write_until(file, test, test.used, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
}
const f_status_t status = f_file_touch(path, mode, F_true);
if (statuss[i] == F_file_found_not) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_touch(path, mode, F_true);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_touch_at(file, path, mode, 0);
if (statuss[i] == F_file_found_not) {
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
else {
assert_int_equal(status, F_status_set_error(statuss[i]));
const f_status_t status = f_file_touch_at(file, path, mode, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_type(path, F_false, &type);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(type, F_file_type_link_d);
}
const f_status_t status = f_file_type(path, F_true, &type);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(type, F_file_type_regular_d);
}
}
const f_status_t status = f_file_type_at(file, path, 0, &type);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(type, F_file_type_link_d);
}
const f_status_t status = f_file_type_at(file, path, 0, &type);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(type, F_file_type_regular_d);
}
}
const mode_t status = f_file_umask_get(&mode);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(mode, F_file_mode_all_rw_d);
}
}
const mode_t status = f_file_umask_set(F_file_mode_all_rw_d);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_file_write(file, path, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
{
const f_status_t status = f_file_write(file, path, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
}
const f_status_t status = f_file_write_block(file, path, 0);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
}
{
const f_status_t status = f_file_write_block(file, path, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
}
const f_status_t status = f_file_write_range(file, path, range, 0);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
}
{
const f_status_t status = f_file_write_range(file, path, range, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
}
const f_status_t status = f_file_write_until(file, path, path.used, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
{
const f_status_t status = f_file_write_until(file, path, path.used, 0);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
}
}
}
} // for
- state->status = F_none;
+ state->status = F_okay;
}
#endif // _di_f_fss_apply_delimit_
}
} // for
- state->status = F_none;
+ state->status = F_okay;
}
#endif // _di_f_fss_apply_delimit_range_
}
} // for
- state->status = F_none;
+ state->status = F_okay;
}
#endif // _di_f_fss_count_lines_
}
} // for
- state->status = F_none;
+ state->status = F_okay;
}
#endif // _di_f_fss_count_lines_range_
for (;; ++range->start) {
if (range->start >= buffer.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
if (buffer.string[range->start] == f_fss_eol_s.string[0]) break;
} // for
- state->status = F_none;
+ state->status = F_okay;
}
#endif // _di_f_fss_seek_to_eol_
for (;; ++range->start) {
if (range->start >= buffer.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
if (buffer.string[range->start] != f_fss_placeholder_s.string[0]) break;
} // for
- state->status = F_none;
+ state->status = F_okay;
}
#endif // _di_f_fss_skip_past_delimit_
}
if (buffer.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_none_eol;
+ state->status = F_okay_eol;
return;
}
range->start += width;
if (range->start >= buffer.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
} // for
- state->status = F_none;
+ state->status = F_okay;
}
#endif // _di_f_fss_skip_past_space_
* A state for providing flags and handling interrupts during long running operations.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but buffer.used is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* A state for providing flags and handling interrupts during long running operations.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but buffer.used is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* A state for providing flags and handling interrupts during long running operations.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but buffer.used is 0 (line is set to 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* A state for providing flags and handling interrupts during long running operations.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but the range.start is greater than buffer.used or buffer.used is 0 (line is set to 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* A state for providing flags and handling interrupts during long running operations.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but nothing is processed.
* F_parameter (with error bit) if a parameter is invalid.
*
* A state for providing flags and handling interrupts during long running operations.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but buffer.used is 0, initial range.start is greater than range.stop, or initial range.start is greater than or equal to buffer.used.
- * F_none_eos on success and EOS was reached.
- * F_none_stop on success and stop point was reached.
+ * F_okay_eos on success and EOS was reached.
+ * F_okay_stop on success and stop point was reached.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
* A state for providing flags and handling interrupts during long running operations.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but buffer.used is 0, initial range.start is greater than range.stop, or initial range.start is greater than or equal to buffer.used.
- * F_none_eos on success and EOS was reached.
- * F_none_stop on success and stop point was reached.
+ * F_okay_eos on success and EOS was reached.
+ * F_okay_stop on success and stop point was reached.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
* A state for providing flags and handling interrupts during long running operations.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but buffer.used is 0, initial range.start is greater than range.stop, or initial range.start is greater than or equal to buffer.used.
- * F_none_eol on success and EOL was reached.
- * F_none_eos on success and EOS was reached.
- * F_none_stop on success and stop point was reached.
+ * F_okay_eol on success and EOL was reached.
+ * F_okay_eos on success and EOS was reached.
+ * F_okay_stop on success and stop point was reached.
*
* F_complete_not_utf_eos (with error bit) if unable to get entire UTF-8 sequence due to EOS.
* F_complete_not_utf_start (with error bit) if the first character is a combining character.
{
f_fss_item_t * const array = (f_fss_item_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_items_delete_callback_
{
f_fss_item_t * const array = (f_fss_item_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_items_destroy_callback_
{
f_fss_items_t * const array = (f_fss_items_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_itemss_delete_callback_
{
f_fss_items_t * const array = (f_fss_items_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_itemss_destroy_callback_
* The item to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The item to destroy.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_named_delete_
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_named_destroy_
{
f_fss_named_t * const array = (f_fss_named_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_nameds_delete_callback_
{
f_fss_named_t * const array = (f_fss_named_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_nameds_destroy_callback_
{
f_fss_nameds_t * const array = (f_fss_nameds_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_namedss_delete_callback_
{
f_fss_nameds_t * const array = (f_fss_nameds_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_namedss_destroy_callback_
* The named to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The named to destroy.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
#endif // _di_level_0_parameter_checking_
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = 0; i < nest->size; ++i) {
#endif // _di_level_0_parameter_checking_
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = 0; i < nest->size; ++i) {
{
f_fss_nest_t * const array = (f_fss_nest_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
f_number_unsigned_t k = 0;
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_nests_delete_callback_
{
f_fss_nest_t * const array = (f_fss_nest_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
f_number_unsigned_t k = 0;
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_nests_destroy_callback_
{
f_fss_nests_t * const array = (f_fss_nests_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
f_number_unsigned_t k = 0;
f_number_unsigned_t l = 0;
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_nestss_delete_callback_
{
f_fss_nests_t * const array = (f_fss_nests_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
f_number_unsigned_t k = 0;
f_number_unsigned_t l = 0;
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_nestss_destroy_callback_
* The nest to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The nest to destroy.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
#if !defined(_di_f_fss_items_adjust_) || !defined(_di_f_fss_items_decimate_by_) || !defined(_di_f_fss_nest_adjust_) || !defined(_di_f_fss_nest_decimate_by_)
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < items->size; ++i) {
#if !defined(_di_f_fss_items_decrease_by_) || !defined(_di_f_fss_items_resize_) || !defined(_di_f_fss_nest_decrease_by_) || !defined(_di_f_fss_nest_resize_)
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < items->size; ++i) {
status = f_memory_arrays_adjust(length, sizeof(f_uint8s_t), (void **) &named->quotess.array, &named->quotess.used, &named->quotess.size, &f_uint8s_delete_callback);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_fss_nameds_adjust_) || !defined(_di_f_fss_nameds_decimate_by_)
status = f_memory_arrays_resize(length, sizeof(f_uint8s_t), (void **) &named->quotess.array, &named->quotess.used, &named->quotess.size, &f_uint8s_delete_callback);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_fss_nameds_decrease_by_) || !defined(_di_f_fss_named_increase_) || !defined(_di_f_fss_named_increase_by_) || !defined(_di_f_fss_nameds_resize_)
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < nameds->size; ++i) {
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < nameds->size; ++i) {
* The named to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_arrays_adjust().
* Errors (with error bit) from: macro_f_string_ranges_t_adjust().
* The named to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_arrays_resize().
* Errors (with error bit) from: f_string_ranges_resize().
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < nest->size; ++i) {
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < nest->size; ++i) {
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < nests->size; ++i) {
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < nests->size; ++i) {
status = f_string_rangess_adjust(length, &set->contents);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_fss_set_adjust_) || !defined(_di_f_fss_set_decimate_by_)
status = f_string_rangess_resize(length, &set->contents);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#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_)
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < sets->size; ++i) {
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < sets->size; ++i) {
* The set to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_ranges_adjust().
* Errors (with error bit) from: f_string_rangess_adjust().
* The set to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_ranges_resize().
* Errors (with error bit) from: f_string_rangess_resize().
status = f_memory_arrays_adjust(length, sizeof(f_uint8s_t), (void **) &set_quote->contents_quote.array, &set_quote->contents_quote.used, &set_quote->contents_quote.size, &f_uint8s_delete_callback);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_fss_set_quote_adjust_) || !defined(_di_f_fss_set_quote_decimate_by_)
status = f_memory_arrays_resize(length, sizeof(f_uint8s_t), (void **) &set_quote->contents_quote.array, &set_quote->contents_quote.used, &set_quote->contents_quote.size, &f_uint8s_delete_callback);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#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_)
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < set_quotes->size; ++i) {
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < set_quotes->size; ++i) {
* The set_quote to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_array_resize().
* Errors (with error bit) from: f_memory_arrays_resize().
* The set_quote to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_array_resize().
* Errors (with error bit) from: f_memory_arrays_resize().
destination->array[destination->used++] = source;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_fss_simple_packet_ranges_append_) || !defined(_di_f_fss_simple_packet_rangess_append_)
destination->array[destination->used++] = source.array[i];
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_fss_simple_packet_ranges_append_) || !defined(_di_f_fss_simple_packet_ranges_append_all_) || !defined(_di_f_fss_simple_packet_rangess_append_all_)
f_status_t private_f_fss_simple_packet_rangess_adjust(const f_number_unsigned_t length, f_fss_simple_packet_rangess_t *rangess) {
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < rangess->size; ++i) {
f_status_t private_f_fss_simple_packet_rangess_resize(const f_number_unsigned_t length, f_fss_simple_packet_rangess_t *rangess) {
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < rangess->size; ++i) {
f_status_t private_f_fss_simple_packets_adjust(const f_number_unsigned_t length, f_fss_simple_packets_t *packets) {
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < packets->size; ++i) {
destination->array[destination->used++] = source;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_fss_simple_packets_append_) || !defined(_di_f_fss_simple_packetss_append_)
destination->array[destination->used++] = source.array[i];
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_fss_simple_packets_append_) || !defined(_di_f_fss_simple_packets_append_all_) || !defined(_di_f_fss_simple_packetss_append_all_)
f_status_t private_f_fss_simple_packets_resize(const f_number_unsigned_t length, f_fss_simple_packets_t *packets) {
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < packets->size; ++i) {
f_status_t private_f_fss_simple_packetss_adjust(const f_number_unsigned_t length, f_fss_simple_packetss_t *packetss) {
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < packetss->size; ++i) {
f_status_t private_f_fss_simple_packetss_resize(const f_number_unsigned_t length, f_fss_simple_packetss_t *packetss) {
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < packetss->size; ++i) {
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_set_delete_
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_set_destroy_
{
f_fss_set_t * const array = (f_fss_set_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_sets_delete_callback_
{
f_fss_set_t * const array = (f_fss_set_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_sets_destroy_callback_
{
f_fss_sets_t * const array = (f_fss_sets_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_setss_delete_callback_
{
f_fss_sets_t * const array = (f_fss_sets_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_setss_destroy_callback_
* The set to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The set to destroy.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_set_quote_delete_
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_set_quote_destroy_
{
f_fss_set_quote_t * const array = (f_fss_set_quote_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_set_quotes_delete_callback_
{
f_fss_set_quote_t * const array = (f_fss_set_quote_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_set_quotes_destroy_callback_
{
f_fss_set_quotes_t * const array = (f_fss_set_quotes_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_set_quotess_delete_callback_
{
f_fss_set_quotes_t * const array = (f_fss_set_quotes_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_set_quotess_destroy_callback_
* The quote set to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The quote set to destroy.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (buffer.string[2] || buffer.string[3] || !buffer.string[4]) return F_partial;
if (buffer.string[1] < F_fss_simple_packet_block_header_size_d) return F_status_set_error(F_valid_not);
- return (buffer.string[1] == F_fss_simple_packet_block_header_size_d) ? F_none : F_partial;
+ return (buffer.string[1] == F_fss_simple_packet_block_header_size_d) ? F_okay : F_partial;
}
// Little endian.
if (!buffer.string[1] || buffer.string[2] || buffer.string[3]) return F_partial;
if (buffer.string[4] < F_fss_simple_packet_block_header_size_d) return F_status_set_error(F_valid_not);
- return (buffer.string[4] == F_fss_simple_packet_block_header_size_d) ? F_none : F_partial;
+ return (buffer.string[4] == F_fss_simple_packet_block_header_size_d) ? F_okay : F_partial;
}
range->payload.start = F_fss_simple_packet_block_header_size_d;
range->payload.stop = (buffer.used - F_fss_simple_packet_block_header_size_d < F_fss_simple_packet_block_payload_size_d) ? buffer.used - 1 : F_fss_simple_packet_block_payload_size_d - 1;
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_simple_packet_identify_
{
f_fss_simple_packet_t * const array = (f_fss_simple_packet_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_simple_packets_delete_callback_
{
f_fss_simple_packet_t * const array = (f_fss_simple_packet_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_simple_packets_destroy_callback_
{
f_fss_simple_packets_t * const array = (f_fss_simple_packets_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_simple_packetss_delete_callback_
{
f_fss_simple_packets_t * const array = (f_fss_simple_packets_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fss_simple_packetss_destroy_callback_
* The simple packet to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The simple packet to destroy.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* If the buffer is too small (including when F_data_not is returned), then the ranges are all set to the out of range values as appropriate.
*
* @return
- * F_none on success (The end of the Payload Block is assumed to be the remainder of the buffer or F_fss_simple_packet_block_payload_size_d, whichever is smaller).
+ * F_okay on success (The end of the Payload Block is assumed to be the remainder of the buffer or F_fss_simple_packet_block_payload_size_d, whichever is smaller).
* F_partial on success but not all blocks are identified.
* F_data_not if buffer.used is 0.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
f_fss_apply_delimit(delimitss[i], &tests[i], &state_data);
- assert_int_equal(state_data.status, F_none);
+ assert_int_equal(state_data.status, F_okay);
assert_int_equal(tests[i].used, expects[i].used);
for (uint8_t j = 0; j < tests[i].used; ++j) {
f_fss_apply_delimit_range(delimitss[i], range, &tests[i], &state_data);
- assert_int_equal(state_data.status, F_none);
+ assert_int_equal(state_data.status, F_okay);
assert_int_equal(tests[i].used, expects[i].used);
for (uint8_t j = 0; j < tests[i].used; ++j) {
f_fss_count_lines(buffers[i], buffers[i].used, &line, &state_data);
- assert_int_equal(state_data.status, F_none);
+ assert_int_equal(state_data.status, F_okay);
assert_int_equal(line, expect);
} // for
}
f_fss_count_lines_range(buffers[i], range, &line, &state_data);
- assert_int_equal(state_data.status, F_none);
+ assert_int_equal(state_data.status, F_okay);
assert_int_equal(line, expect);
} // for
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
const f_status_t status = f_fss_items_delete_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
const f_status_t status = f_fss_items_destroy_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_fss_items_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_fss_item_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_resize(1, &datass.array[0].array[0].content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_itemss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_fss_items_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_fss_item_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_adjust(1, &datass.array[0].array[0].content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_itemss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, true);
will_return(__wrap_f_string_rangess_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, false);
- will_return(__wrap_f_string_rangess_resize, F_none);
+ will_return(__wrap_f_string_rangess_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, false);
- will_return(__wrap_f_string_rangess_resize, F_none);
+ will_return(__wrap_f_string_rangess_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, false);
- will_return(__wrap_f_memory_arrays_resize, F_none);
+ will_return(__wrap_f_memory_arrays_resize, F_okay);
const f_status_t status = f_fss_nameds_delete_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, true);
will_return(__wrap_f_string_rangess_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, false);
- will_return(__wrap_f_string_rangess_adjust, F_none);
+ will_return(__wrap_f_string_rangess_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, false);
- will_return(__wrap_f_string_rangess_adjust, F_none);
+ will_return(__wrap_f_string_rangess_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, false);
- will_return(__wrap_f_memory_arrays_adjust, F_none);
+ will_return(__wrap_f_memory_arrays_adjust, F_okay);
const f_status_t status = f_fss_nameds_destroy_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, true);
will_return(__wrap_f_string_rangess_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, false);
- will_return(__wrap_f_string_rangess_resize, F_none);
+ will_return(__wrap_f_string_rangess_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_fss_nameds_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_fss_named_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_resize(1, &datass.array[0].array[0].objects);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_rangess_resize(1, &datass.array[0].array[0].contents);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_arrays_resize(1, sizeof(f_uint8s_t), (void **) &datass.array[0].array[0].quotess.array, &datass.array[0].array[0].quotess.used, &datass.array[0].array[0].quotess.size, &f_uint8ss_delete_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(uint8_t), (void **) &datass.array[0].array[0].quotess.array[0].array, &datass.array[0].array[0].quotess.array[0].used, &datass.array[0].array[0].quotess.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_namedss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, true);
will_return(__wrap_f_string_rangess_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, false);
- will_return(__wrap_f_string_rangess_adjust, F_none);
+ will_return(__wrap_f_string_rangess_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_fss_nameds_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_fss_named_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_adjust(1, &datass.array[0].array[0].objects);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_rangess_adjust(1, &datass.array[0].array[0].contents);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_arrays_adjust(1, sizeof(f_uint8s_t), (void **) &datass.array[0].array[0].quotess.array, &datass.array[0].array[0].quotess.used, &datass.array[0].array[0].quotess.size, &f_uint8ss_delete_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(uint8_t), (void **) &datass.array[0].array[0].quotess.array[0].array, &datass.array[0].array[0].quotess.array[0].used, &datass.array[0].array[0].quotess.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_namedss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
const f_status_t status = f_fss_nests_delete_callback(0, length, (void *) data_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
const f_status_t status = f_fss_nests_destroy_callback(0, length, (void *) data_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_fss_nests_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_fss_nest_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_fss_items_t), (void **) &datass.array[0].array[0].depth, &datass.array[0].array[0].used, &datass.array[0].array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_fss_item_t), (void **) &datass.array[0].array[0].depth[0].array, &datass.array[0].array[0].depth[0].used, &datass.array[0].array[0].depth[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_resize(1, &datass.array[0].array[0].depth[0].array[0].content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_nestss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_fss_nests_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_fss_nest_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_fss_items_t), (void **) &datass.array[0].array[0].depth, &datass.array[0].array[0].used, &datass.array[0].array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_fss_item_t), (void **) &datass.array[0].array[0].depth[0].array, &datass.array[0].array[0].depth[0].used, &datass.array[0].array[0].depth[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_adjust(1, &datass.array[0].array[0].depth[0].array[0].content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_nestss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
};
f_status_t statuss[] = {
- F_none_eos,
- F_none_eos,
- F_none,
- F_none,
- F_none,
- F_none,
- F_none_stop,
- F_none_stop,
- F_none,
- F_none,
- F_none,
- F_none,
+ F_okay_eos,
+ F_okay_eos,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay_stop,
+ F_okay_stop,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
};
for (uint8_t i = 0; i < 12; ++i) {
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, true);
will_return(__wrap_f_string_rangess_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, false);
- will_return(__wrap_f_string_rangess_resize, F_none);
+ will_return(__wrap_f_string_rangess_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, false);
- will_return(__wrap_f_string_rangess_resize, F_none);
+ will_return(__wrap_f_string_rangess_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, false);
- will_return(__wrap_f_string_rangess_resize, F_none);
+ will_return(__wrap_f_string_rangess_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, false);
- will_return(__wrap_f_memory_arrays_resize, F_none);
+ will_return(__wrap_f_memory_arrays_resize, F_okay);
const f_status_t status = f_fss_set_quotes_delete_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, true);
will_return(__wrap_f_string_rangess_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, false);
- will_return(__wrap_f_string_rangess_adjust, F_none);
+ will_return(__wrap_f_string_rangess_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, false);
- will_return(__wrap_f_string_rangess_adjust, F_none);
+ will_return(__wrap_f_string_rangess_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, false);
- will_return(__wrap_f_string_rangess_adjust, F_none);
+ will_return(__wrap_f_string_rangess_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, false);
- will_return(__wrap_f_memory_arrays_adjust, F_none);
+ will_return(__wrap_f_memory_arrays_adjust, F_okay);
const f_status_t status = f_fss_set_quotes_destroy_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, true);
will_return(__wrap_f_string_rangess_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, false);
- will_return(__wrap_f_string_rangess_resize, F_none);
+ will_return(__wrap_f_string_rangess_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, false);
- will_return(__wrap_f_string_rangess_resize, F_none);
+ will_return(__wrap_f_string_rangess_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_memory_arrays_resize, true);
will_return(__wrap_f_memory_arrays_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_fss_set_quotes_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_fss_set_quote_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_resize(1, &datass.array[0].array[0].objects);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_rangess_resize(1, &datass.array[0].array[0].contents);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(uint8_t), (void **) &datass.array[0].array[0].objects_quote.array, &datass.array[0].array[0].objects_quote.used, &datass.array[0].array[0].objects_quote.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_arrays_adjust(1, sizeof(f_uint8s_t), (void **) &datass.array[0].array[0].contents_quote.array, &datass.array[0].array[0].contents_quote.used, &datass.array[0].array[0].contents_quote.size, &f_uint8ss_destroy_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_set_quotess_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, true);
will_return(__wrap_f_string_rangess_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, false);
- will_return(__wrap_f_string_rangess_adjust, F_none);
+ will_return(__wrap_f_string_rangess_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, false);
- will_return(__wrap_f_string_rangess_adjust, F_none);
+ will_return(__wrap_f_string_rangess_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_memory_arrays_adjust, true);
will_return(__wrap_f_memory_arrays_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_fss_set_quotes_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_fss_set_quote_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_adjust(1, &datass.array[0].array[0].objects);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_rangess_adjust(1, &datass.array[0].array[0].contents);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(uint8_t), (void **) &datass.array[0].array[0].objects_quote.array, &datass.array[0].array[0].objects_quote.used, &datass.array[0].array[0].objects_quote.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_arrays_adjust(1, sizeof(f_uint8s_t), (void **) &datass.array[0].array[0].contents_quote.array, &datass.array[0].array[0].contents_quote.used, &datass.array[0].array[0].contents_quote.size, &f_uint8ss_destroy_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_set_quotess_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, true);
will_return(__wrap_f_string_rangess_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, false);
- will_return(__wrap_f_string_rangess_resize, F_none);
+ will_return(__wrap_f_string_rangess_resize, F_okay);
const f_status_t status = f_fss_sets_delete_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, true);
will_return(__wrap_f_string_rangess_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, false);
- will_return(__wrap_f_string_rangess_adjust, F_none);
+ will_return(__wrap_f_string_rangess_adjust, F_okay);
const f_status_t status = f_fss_sets_destroy_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_rangess_resize, true);
will_return(__wrap_f_string_rangess_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_fss_sets_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_fss_set_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_resize(1, &datass.array[0].array[0].objects);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_rangess_resize(1, &datass.array[0].array[0].contents);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_setss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_rangess_adjust, true);
will_return(__wrap_f_string_rangess_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_fss_sets_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_fss_set_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_adjust(1, &datass.array[0].array[0].objects);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_rangess_adjust(1, &datass.array[0].array[0].contents);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_setss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
const f_status_t status = f_fss_simple_packets_delete_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
const f_status_t status = f_fss_simple_packets_destroy_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_dynamic_resize, false);
- will_return(__wrap_f_string_dynamic_resize, F_none);
+ will_return(__wrap_f_string_dynamic_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_fss_simple_packets_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_fss_simple_packet_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_resize(1, &datass.array[0].array[0].payload);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_simple_packetss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_dynamic_adjust, false);
- will_return(__wrap_f_string_dynamic_adjust, F_none);
+ will_return(__wrap_f_string_dynamic_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_fss_simple_packets_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_fss_simple_packet_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_dynamic_adjust(1, &datass.array[0].array[0].payload);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fss_simple_packetss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
f_fss_skip_past_delimit(tests[i], &range, &state_data);
- assert_int_equal(state_data.status, F_none);
+ assert_int_equal(state_data.status, F_okay);
assert_int_equal(range.start, expects[i]);
} // for
}
f_fss_skip_past_space(tests[i], &range, &state_data);
- assert_int_equal(state_data.status, F_none);
+ assert_int_equal(state_data.status, F_okay);
assert_int_equal(range.start, expects[i]);
} // for
}
data->content.array[data->content.used++].stop = range->start - 1;
if (++range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else if (range->start >= buffer->used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
- state->status = F_none;
+ state->status = F_okay;
}
return;
data->content.array[data->content.used++].stop = range->start - 1;
if (++range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else if (range->start >= buffer->used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
- state->status = F_none;
+ state->status = F_okay;
}
return;
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success and an IKI vocabulary name was found.
- * F_none_eos on success and an IKI vocabulary name was found and end of string was reached.
- * F_none_stop on success and an IKI vocabulary name was found and stop point was reached.
+ * F_okay on success and an IKI vocabulary name was found.
+ * F_okay_eos on success and an IKI vocabulary name was found and end of string was reached.
+ * F_okay_stop on success and an IKI vocabulary name was found and stop point was reached.
* F_complete_not_utf_eos on success but string ended on incomplete UTF-8 and f_iki_state_flag_utf_fail_on_valid_not_e is not set.
* F_complete_not_utf_stop on success but stop point reached on incomplete UTF-8 and f_iki_state_flag_utf_fail_on_valid_not_e is not set.
* F_data_not on success, but there were no IKI vocabulary names found.
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_iki_data_delete_
if (F_status_is_error(status)) return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_iki_data_destroy_
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_iki_datas_append_
{
f_iki_data_t * const array = (f_iki_data_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_iki_datas_delete_callback_
{
f_iki_data_t * const array = (f_iki_data_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_iki_datas_destroy_callback_
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_iki_datass_append_
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_iki_datass_append_all_
{
f_iki_datas_t * const array = (f_iki_datas_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_iki_datass_delete_callback_
{
f_iki_datas_t * const array = (f_iki_datas_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t j = 0;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_iki_datass_destroy_callback_
* The IKI data to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The IKI data to destroy.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination iki_datas the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination iki_datas the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_iki_datas_append_) || !defined(_di_f_iki_datas_append_all_) || !defined(_di_f_iki_datass_append_all_)
* The iki_datas array the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_array_append().
* Errors (with error bit) from: f_memory_array_increase_by().
#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_number_unsigned_t length) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < length; i += macro_f_utf_byte_width(buffer[i])) {
f_status_t status = f_string_ranges_resize(length, &source.content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.content.size, length);
status = f_memory_array_resize(length, sizeof(f_number_unsigned_t), (void **) &source.delimits.array, &source.delimits.used, &source.delimits.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.delimits.size, length);
status = f_string_ranges_resize(length, &source.variable);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.variable.size, length);
status = f_string_ranges_resize(length, &source.vocabulary);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.vocabulary.size, length);
for (; source.content.used < length; ++i) {
{
const f_status_t status = f_iki_datas_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].content.used, source.content.used);
assert_int_equal(destination.array[0].delimits.used, source.delimits.used);
{
f_status_t status = f_memory_array_resize(2, sizeof(f_iki_data_t), (void **) &source.array, &source.used, &source.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, 2);
f_number_unsigned_t i = 1;
status = f_string_ranges_resize(length, &source.array[j].content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[j].content.size, length);
status = f_memory_array_resize(length, sizeof(f_number_unsigned_t), (void **) &source.array[j].delimits.array, &source.array[j].delimits.used, &source.array[j].delimits.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[j].delimits.size, length);
status = f_string_ranges_resize(length, &source.array[j].variable);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[j].variable.size, length);
status = f_string_ranges_resize(length, &source.array[j].vocabulary);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[j].vocabulary.size, length);
for (; source.array[j].content.used < length; ++i) {
{
const f_status_t status = f_iki_datas_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_memory_array_resize(length, sizeof(f_iki_data_t), (void **) &source.array, &source.used, &source.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, true);
will_return(__wrap_f_string_ranges_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, true);
will_return(__wrap_f_string_ranges_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
const f_status_t status = f_iki_datas_delete_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, true);
will_return(__wrap_f_string_ranges_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, true);
will_return(__wrap_f_string_ranges_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
const f_status_t status = f_iki_datas_destroy_callback(0, length, (void *) datas_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
f_status_t status = f_memory_array_resize(length_outer, sizeof(f_iki_data_t), (void **) &source.array, &source.used, &source.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_outer);
f_number_unsigned_t i = 1;
status = f_string_ranges_resize(length, &source.array[j].content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[j].content.size, length);
status = f_memory_array_resize(length, sizeof(f_number_unsigned_t), (void **) &source.array[j].delimits.array, &source.array[j].delimits.used, &source.array[j].delimits.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[j].delimits.size, length);
status = f_string_ranges_resize(length, &source.array[j].variable);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[j].variable.size, length);
status = f_string_ranges_resize(length, &source.array[j].vocabulary);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[j].vocabulary.size, length);
for (; source.array[j].content.used < length; ++i) {
{
const f_status_t status = f_iki_datass_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].used, source.used);
{
f_status_t status = f_memory_array_resize(length, sizeof(f_iki_data_t), (void **) &source.array, &source.used, &source.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
f_status_t status = f_memory_arrays_resize(length_outer, sizeof(f_iki_data_t), (void **) &source.array, &source.used, &source.size, &f_iki_datas_delete_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_outer);
f_number_unsigned_t i = 1;
status = f_memory_array_resize(length_inner, sizeof(f_iki_data_t), (void **) &source.array[source.used].array, &source.array[source.used].used, &source.array[source.used].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].size, length_inner);
for (j = 0; j < length_inner; ++j) {
status = f_string_ranges_resize(length, &source.array[source.used].array[j].content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].array[j].content.size, length);
status = f_memory_array_resize(length, sizeof(f_number_unsigned_t), (void **) &source.array[source.used].array[j].delimits.array, &source.array[source.used].array[j].delimits.used, &source.array[source.used].array[j].delimits.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].array[j].delimits.size, length);
status = f_string_ranges_resize(length, &source.array[source.used].array[j].variable);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].array[j].variable.size, length);
status = f_string_ranges_resize(length, &source.array[source.used].array[j].vocabulary);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].array[j].vocabulary.size, length);
for (; source.array[source.used].array[j].content.used < length; ++i) {
{
const f_status_t status = f_iki_datass_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t k = 0; k < length_outer; ++k) {
{
const f_status_t status = f_memory_arrays_resize(length, sizeof(f_iki_data_t), (void **) &source.array, &source.used, &source.size, &f_iki_datas_delete_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, true);
will_return(__wrap_f_string_ranges_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, true);
will_return(__wrap_f_string_ranges_resize, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, false);
- will_return(__wrap_f_memory_array_resize, F_none);
+ will_return(__wrap_f_memory_array_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_string_ranges_resize, false);
- will_return(__wrap_f_string_ranges_resize, F_none);
+ will_return(__wrap_f_string_ranges_resize, F_okay);
will_return(__wrap_f_memory_array_resize, true);
will_return(__wrap_f_memory_array_resize, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_resize(length, sizeof(f_iki_datas_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_iki_data_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_resize(1, &datass.array[0].array[0].content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_number_unsigned_t), (void **) &datass.array[0].array[0].delimits.array, &datass.array[0].array[0].delimits.used, &datass.array[0].array[0].delimits.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_resize(1, &datass.array[0].array[0].variable);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_resize(1, &datass.array[0].array[0].vocabulary);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_iki_datass_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, true);
will_return(__wrap_f_string_ranges_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, true);
will_return(__wrap_f_string_ranges_adjust, F_status_set_error(F_failure));
{
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, false);
- will_return(__wrap_f_memory_array_adjust, F_none);
+ will_return(__wrap_f_memory_array_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_string_ranges_adjust, false);
- will_return(__wrap_f_string_ranges_adjust, F_none);
+ will_return(__wrap_f_string_ranges_adjust, F_okay);
will_return(__wrap_f_memory_array_adjust, true);
will_return(__wrap_f_memory_array_adjust, F_status_set_error(F_failure));
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_iki_datas_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_iki_data_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_adjust(1, &datass.array[0].array[0].content);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_number_unsigned_t), (void **) &datass.array[0].array[0].delimits.array, &datass.array[0].array[0].delimits.used, &datass.array[0].array[0].delimits.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_adjust(1, &datass.array[0].array[0].variable);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_string_ranges_adjust(1, &datass.array[0].array[0].vocabulary);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_iki_datass_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
const f_status_t statuss[] = {
F_data_not,
F_data_not_stop,
- F_none_stop,
- F_none,
- F_none_stop,
- F_none,
- F_none,
- F_none,
- F_none,
- F_none,
- F_none,
- F_none,
- F_none,
- F_none,
- F_none,
- F_none,
- F_none_stop,
- F_none_stop,
- F_none_stop,
- F_none_stop,
- F_none,
- F_none,
+ F_okay_stop,
+ F_okay,
+ F_okay_stop,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay,
+ F_okay_stop,
+ F_okay_stop,
+ F_okay_stop,
+ F_okay_stop,
+ F_okay,
+ F_okay,
};
const f_string_range_t variables[][22] = {
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_limit_process_
* If both value_next and value_current are non-zero, then this represents the value prior to the assignment of value_next.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_address_not (with error bit) if a pointer is outside of valid address space.
* F_found_not (with error bit) if no process by the given PID was found.
* F_parameter (with error bit) if a parameter is invalid.
destination->array[destination->used++] = source;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_limit_sets_append_) || !defined(_di_f_limit_setss_append_)
destination->array[destination->used++] = source.array[i];
} // for
- return F_none;
+ return F_okay;
}
#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_setss_adjust_) || !defined(_di_f_limit_setss_decimate_by_)
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < setss->size; ++i) {
#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_number_unsigned_t length, f_limit_setss_t *setss) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < setss->size; ++i) {
* The destination lengths the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_array_increase().
*
* The destination lengths the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_array_increase_by().
*
* The setss array to adjust.
*
* @return
- * F_none on success.
+ * F_okay 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.
* The setss array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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.
destination->array[destination->used++] = source;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_limit_values_append_) || !defined(_di_f_limit_valuess_append_)
destination->array[destination->used++] = source.array[i];
} // for
- return F_none;
+ return F_okay;
}
#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_valuess_adjust_) || !defined(_di_f_limit_valuess_decimate_by_)
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;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < valuess->size; ++i) {
#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_number_unsigned_t length, f_limit_valuess_t *valuess) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < valuess->size; ++i) {
* The destination lengths the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_array_increase().
*
* The destination lengths the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_array_increase_by().
*
* The valuess array to adjust.
*
* @return
- * F_none on success.
+ * F_okay 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.
* The valuess array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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.
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_limit_setss_append_
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_limit_setss_append_all_
* The destination sets the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
* The destination sets the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_limit_valuess_append_
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_limit_valuess_append_all_
* The destination values the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
* The destination values the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
const f_status_t status = f_limit_process(1, 1, &value, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.rlim_cur, value.rlim_cur);
assert_int_equal(destination.rlim_max, value.rlim_max);
}
{
const f_status_t status = f_limit_sets_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_sets_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].type, source.type);
assert_int_equal(destination.array[0].value.rlim_cur, source.value.rlim_cur);
{
const f_status_t status = f_limit_sets_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_sets_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_sets_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_limit_sets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_sets_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_limit_sets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_sets_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_limit_sets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_sets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_limit_sets_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_limit_sets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_limit_sets_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_limit_sets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_setss_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_sets_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_sets_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_setss_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
{
const f_status_t status = f_limit_setss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_setss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
const f_status_t status = f_limit_sets_resize(length_inner, &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
{
const f_status_t status = f_limit_setss_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_limit_setss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_setss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_setss_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_limit_setss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_setss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_setss_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_limit_setss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_setss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_limit_setss_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_limit_setss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_setss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_limit_setss_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_limit_setss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_values_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_values_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].rlim_cur, source.rlim_cur);
assert_int_equal(destination.array[0].rlim_max, source.rlim_max);
{
const f_status_t status = f_limit_values_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_values_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_values_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_limit_values_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_values_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_limit_values_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_values_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_limit_values_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_values_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_limit_values_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_limit_values_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_limit_values_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_limit_values_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_valuess_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_values_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_values_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_valuess_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
{
const f_status_t status = f_limit_valuess_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_limit_valuess_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
const f_status_t status = f_limit_values_resize(length_inner, &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
{
const f_status_t status = f_limit_valuess_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_limit_valuess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_valuess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_valuess_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_limit_valuess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_valuess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_valuess_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_limit_valuess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_valuess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_limit_valuess_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_limit_valuess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_limit_valuess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_limit_valuess_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_limit_valuess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
// It has been deallocated, so reset the pointer.
*pointer = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_memory_delete_
// It has been deallocated, so reset the pointer.
*pointer = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_memory_destroy_
// Prevent double-allocations and unnecessary frees.
if (*pointer || !length) return F_data_not;
- if ((*pointer = calloc(length, size))) return F_none;
+ if ((*pointer = calloc(length, size))) return F_okay;
return F_status_set_error(F_memory_not);
}
memset(*pointer, 0, length);
- return F_none;
+ return F_okay;
}
#endif // _di_f_memory_new_aligned_
* A pointer to the address that will be resized.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there was nothing to do.
*
* F_memory_not (with error bit) on out of memory.
* A pointer to the address that will be freed.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there was nothing to do.
*
* F_parameter (with error bit) if a parameter is invalid.
* A pointer to the address that will be freed.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there was nothing to do.
*
* F_parameter (with error bit) if a parameter is invalid.
* Must be greater than 0.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there was nothing to do.
*
* F_memory_not (with error bit) on allocation error.
* A pointer that will be updated to the address of the newly allocated memory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there was nothing to do.
*
* F_memory_not (with error bit) on allocation error.
* A pointer to the address that will be resized.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there was nothing to do.
*
* F_memory_not (with error bit) on out of memory.
++(*used);
- return F_none;
+ return F_okay;
}
#endif // _di_f_memory_array_append_
*used += amount;
- return F_none;
+ return F_okay;
}
#endif // _di_f_memory_array_append_all_
* The structure.size.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the new array length is too large.
* F_memory_not (with error bit) on out of memory.
* The structure.size destination.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the new array length is too large.
* F_memory_not (with error bit) on out of memory.
* The structure.size destination.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_array_too_large (with error bit) if the new array length is too large.
* The structure.size.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The structure.size.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The structure.size.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The structure.size.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_memory_not (with error bit) on out of memory.
* The structure.size.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the new array length is too large.
* F_memory_not (with error bit) on out of memory.
* The standard status codes similar to this function.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the new array length is too large.
* F_memory_not (with error bit) on out of memory.
* The standard status codes similar to this function.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the new array length is too large.
* F_memory_not (with error bit) on out of memory.
*used = length;
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_memory_array_adjust_) || !defined(_di_f_memory_array_decimate_by_)
*used = length;
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_memory_array_append_) || !defined(_di_f_memory_array_append_all_) || !defined(_di_f_memory_array_decrease_by_) || !defined(_di_f_memory_array_increase_) || !defined(_di_f_memory_array_increase_by_) || !defined(_di_f_memory_array_resize_)
* The structure.size.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_adjust().
*
* The structure.size.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_resize().
*
*pointer = new_pointer;
- return F_none;
+ return F_okay;
}
}
else {
// Assure that the pointer is always 0 after deallocation.
*pointer = 0;
- return F_none;
+ return F_okay;
}
}
else if (length_new) {
*pointer = calloc(type_size, length_new);
- if (*pointer) return F_none;
+ if (*pointer) return F_okay;
}
else {
return F_data_not;
*pointer = new_pointer;
- return F_none;
+ return F_okay;
}
}
else {
// Assure that the pointer is always 0 after deallocation.
*pointer = 0;
- return F_none;
+ return F_okay;
}
}
else if (length_new) {
*pointer = calloc(type_size, length_new);
- if (*pointer) return F_none;
+ if (*pointer) return F_okay;
}
else {
return F_data_not;
* The pointer to the memory to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to do (length_old = length_new).
*
* F_memory_not (with error bit) on allocation error.
* The pointer to the memory to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to do (length_old = length_new).
*
* F_memory_not (with error bit) on allocation error.
{
const f_status_t status = f_memory_new(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_adjust(1, 4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_array_adjust(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_memory_array_adjust(0, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_memory_array_append((void *) &number, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 1);
assert_int_equal(data.array[0], number);
assert_int_not_equal(data.size, 0);
{
const f_status_t status = f_memory_array_append((void *) &number_next, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 2);
assert_int_equal(data.array[0], number);
assert_int_equal(data.array[1], number_next);
{
const f_status_t status = f_memory_array_append_all((void *) sources.array, sources.used, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 2);
assert_int_equal(data.array[0], sources.array[0]);
assert_int_equal(data.array[1], sources.array[1]);
{
const f_status_t status = f_memory_array_append_all((void *) sources_next.array, sources_next.used, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 3);
assert_int_equal(data.array[0], sources.array[0]);
assert_int_equal(data.array[1], sources.array[1]);
{
const f_status_t status = f_memory_array_resize(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_memory_array_resize(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_memory_array_decimate_by(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_memory_array_resize(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_memory_array_resize(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_memory_array_decrease_by(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_memory_array_resize(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_memory_array_resize(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_memory_array_increase(1, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length + 1);
}
{
const f_status_t status = f_memory_array_resize(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_memory_array_resize(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_memory_array_increase_by(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_memory_array_resize(length, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_memory_array_resize(0, sizeof(int), (void **) &data.array, &data.used, &data.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_memory_arrays_adjust(length, sizeof(test_memory_array_t), (void **) &data.array, &data.used, &data.size, &test_memory_array_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_memory_array_adjust(length_inner, sizeof(int), (void **) &data.array[0].array, &data.array[0].used, &data.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.array[0].used, 0);
assert_int_equal(data.array[0].size, length_inner);
}
{
const f_status_t status = f_memory_arrays_adjust(0, sizeof(test_memory_array_t), (void **) &data.array, &data.used, &data.size, &test_memory_array_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_memory_arrays_resize(length, sizeof(test_memory_array_t), (void **) &data.array, &data.used, &data.size, &test_memory_array_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_memory_array_resize(length_inner, sizeof(int), (void **) &data.array[0].array, &data.array[0].used, &data.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.array[0].used, 0);
assert_int_equal(data.array[0].size, length_inner);
}
{
const f_status_t status = f_memory_arrays_resize(0, sizeof(test_memory_array_t), (void **) &data.array, &data.used, &data.size, &test_memory_array_callback);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_memory_new(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_adjust(1, 4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_delete(4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_null(data);
}
}
{
const f_status_t status = f_memory_new_aligned(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_delete(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_null(data);
}
}
{
const f_status_t status = f_memory_new(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_delete(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_null(data);
}
}
{
const f_status_t status = f_memory_new(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_resize(1, 4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_delete(4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_null(data);
}
}
{
const f_status_t status = f_memory_new(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_adjust(1, 4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_destroy(4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_null(data);
}
}
{
const f_status_t status = f_memory_new_aligned(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_destroy(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_null(data);
}
}
{
const f_status_t status = f_memory_new(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_destroy(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_null(data);
}
}
{
const f_status_t status = f_memory_new(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_resize(1, 4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_destroy(4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_null(data);
}
}
const f_status_t status = f_memory_new(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
free((void *) data);
const f_status_t status = f_memory_new_aligned(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
free((void *) data);
{
const f_status_t status = f_memory_new(1, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
const f_status_t status = f_memory_resize(1, 4, sizeof(uint16_t), (void **) &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_non_null(data);
}
{
test_memory_array_t * const array = (test_memory_array_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < size; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#ifdef __cplusplus
*to = htonl(from);
- return F_none;
+ return F_okay;
}
#endif // _di_f_network_from_host_long_
*to = htons(from);
- return F_none;
+ return F_okay;
}
#endif // _di_f_network_from_host_short_
memcpy((void *) to, (void *) result, sizeof(struct hostent));
- return F_none;
+ return F_okay;
}
#endif // _di_f_network_from_ip_address_
memcpy((void *) to, (void *) result, sizeof(struct hostent));
- return F_none;
+ return F_okay;
}
#endif // _di_f_network_from_ip_name_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_network_from_ip_string_
*to = ntohl(from);
- return F_none;
+ return F_okay;
}
#endif // _di_f_network_to_host_long_
*to = ntohs(from);
- return F_none;
+ return F_okay;
}
#endif // _di_f_network_to_host_short_
// The string should be NULL terminated, but in case it is not, ensure one always exists.
to->string[to->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_network_to_ip_string_
* The converted long integer in network byte order.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The converted short integer in network byte order.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The converted IP host entity.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to convert (to.type is f_network_family_none_e).
*
* F_again (with error bit) Resolver temporarily failed, try again.
* The converted IP host entity.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to convert (from.used is 0).
*
* F_again (with error bit) Resolver temporarily failed, try again.
* The converted IP version 4 or version 6 family integer.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to convert (to.type is f_network_family_none_e or from.used is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The converted long integer in host byte order.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The converted short integer in host byte order.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The converted human-friendly IP address string.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to convert (from.type is f_network_family_none_e).
*
* F_parameter (with error bit) if a parameter is invalid.
const f_status_t status = f_network_from_host_long(0, &to);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(to, expect);
}
}
const f_status_t status = f_network_from_host_short(0, &to);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(to, expect);
}
}
const f_status_t status = f_network_from_ip_address(family, &host);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(host.h_name, mocked.h_name);
assert_int_equal(host.h_aliases, mocked.h_aliases);
assert_int_equal(host.h_length, mocked.h_length);
const f_status_t status = f_network_from_ip_address(family, &host);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(host.h_name, mocked.h_name);
assert_int_equal(host.h_aliases, mocked.h_aliases);
assert_int_equal(host.h_length, mocked.h_length);
const f_status_t status = f_network_from_ip_name(ip, &host);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(host.h_name, mocked.h_name);
assert_int_equal(host.h_aliases, mocked.h_aliases);
assert_int_equal(host.h_length, mocked.h_length);
const f_status_t status = f_network_from_ip_string(ip, &family);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
family.type = f_network_family_ip_6_e;
const f_status_t status = f_network_from_ip_string(ip, &family);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
for (uint8_t i = 0; i < 7; ++i) {
- state_data.status = F_none;
+ state_data.status = F_okay;
f_network_is_ip_address(ips[i], 0, &state_data);
for (uint8_t i = 0; i < 4; ++i) {
- state_data.status = F_none;
+ state_data.status = F_okay;
port = 100000;
f_network_is_ip_address(ips[i], &port, &state_data);
for (uint8_t i = 0; i < 17; ++i) {
- state_data.status = F_none;
+ state_data.status = F_okay;
f_network_is_ip_address(ips[i], 0, &state_data);
for (uint8_t i = 0; i < 98; ++i) {
- state_data.status = F_none;
+ state_data.status = F_okay;
f_network_is_ip_address(ips[i], 0, &state_data);
for (uint8_t i = 0; i < 42; ++i) {
- state_data.status = F_none;
+ state_data.status = F_okay;
port = 100000;
f_network_is_ip_address(ips[i], &port, &state_data);
const f_status_t status = f_network_to_host_long(0, &to);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(to, expect);
}
}
const f_status_t status = f_network_to_host_short(0, &to);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(to, expect);
}
}
const f_status_t status = f_network_to_ip_string(family, &ip);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(ip.used, expect.used);
assert_string_equal(ip.string, expect.string);
}
const f_status_t status = f_network_to_ip_string(family, &ip);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(ip.used, expect.used);
assert_string_equal(ip.string, expect.string);
}
const unsigned short seek_width = macro_f_utf_char_t_width(seek_to_this);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
unsigned short width = 0;
f_number_unsigned_t width_max = 0;
if (!width) {
width = 1;
- if (buffer.string[range->start] == f_string_eol_s.string[0]) return F_none_eol;
- if (seek_width == width && buffer.string[range->start] == seek_to_this) return F_none;
+ if (buffer.string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
+ if (seek_width == width && buffer.string[range->start] == seek_to_this) return F_okay;
}
// Do not operate on UTF-8 fragments that are not the first byte of the character.
else if (width == 1) {
status = f_utf_char_to_character(buffer.string + range->start, width_max, &character);
if (F_status_is_error(status)) return status;
- if (character == seek_to_this) return F_none;
+ if (character == seek_to_this) return F_okay;
}
}
range->start += width;
- if (range->start >= range->stop) return F_none_stop;
- if (range->start > buffer.used) return F_none_eos;
+ if (range->start >= range->stop) return F_okay_stop;
+ if (range->start > buffer.used) return F_okay_eos;
} // while
- return F_none_eos;
+ return F_okay_eos;
}
#endif // _di_f_parse_dynamic_seek_line_to_utf_character_
if (range->start > range->stop) return F_data_not_stop;
if (range->start >= buffer.used) return F_data_not_eos;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
unsigned short width = 0;
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) {
if (F_status_is_error(status)) return status;
- if (buffer.string[range->start] == f_string_eol_s.string[0]) return F_none_eol;
+ if (buffer.string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
width = macro_f_utf_byte_width_is(buffer.string[range->start]);
range->start += width;
- if (range->start > range->stop) return F_none_stop;
- if (range->start >= buffer.used) return F_none_eos;
+ if (range->start > range->stop) return F_okay_stop;
+ if (range->start >= buffer.used) return F_okay_eos;
width_max = (range->stop - range->start) + 1;
} // while
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_dynamic_seek_line_until_graph_
if (range->start > range->stop) return F_data_not_stop;
if (range->start >= buffer.used) return F_data_not_eos;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
unsigned short width = 0;
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) {
if (F_status_is_error(status)) return status;
- if (buffer.string[range->start] == f_string_eol_s.string[0]) return F_none_eol;
+ if (buffer.string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
width = macro_f_utf_byte_width_is(buffer.string[range->start]);
range->start += width;
- if (range->start > range->stop) return F_none_stop;
- if (range->start >= buffer.used) return F_none_eos;
+ if (range->start > range->stop) return F_okay_stop;
+ if (range->start >= buffer.used) return F_okay_eos;
width_max = (range->stop - range->start) + 1;
} // while
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_dynamic_seek_line_until_graph_non_
const unsigned short seek_width = macro_f_utf_char_t_width(seek_to_this);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
unsigned short width = 0;
width = 1;
if (seek_width == width) {
- if (buffer.string[range->start] == seek_to_this) return F_none;
+ if (buffer.string[range->start] == seek_to_this) return F_okay;
}
}
// Do not operate on UTF-8 fragments that are not the first byte of the character.
status = f_utf_char_to_character(buffer.string + range->start, width_max, &character);
if (F_status_is_error(status)) return status;
- if (character == seek_to_this) return F_none;
+ if (character == seek_to_this) return F_okay;
}
}
range->start += width;
} // while
- if (range->start >= range->stop) return F_none_stop;
+ if (range->start >= range->stop) return F_okay_stop;
- return F_none_eos;
+ return F_okay_eos;
}
#endif // _di_f_parse_dynamic_seek_to_utf_character_
return F_found_not;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (; range->start <= range->stop && range->start < buffer.used; ) {
const unsigned short seek_width = macro_f_utf_char_t_width(seek_to);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
unsigned short width = 0;
f_number_unsigned_t width_max = (range->stop - range->start) + 1;
if (!width) {
width = 1;
- if (string[range->start] == f_string_eol_s.string[0]) return F_none_eol;
- if (seek_width == width && string[range->start] == seek_to) return F_none;
+ if (string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
+ if (seek_width == width && string[range->start] == seek_to) return F_okay;
}
// Do not operate on UTF-8 fragments that are not the first byte of the character.
else if (width == 1) {
status = f_utf_char_to_character(string + range->start, width_max, &character);
if (F_status_is_error(status)) return status;
- if (character == seek_to) return F_none;
+ if (character == seek_to) return F_okay;
}
}
} // for
- return F_none_stop;
+ return F_okay_stop;
}
#endif // _di_f_parse_seek_line_to_utf_character_
if (range->start > range->stop) return F_data_not_stop;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
unsigned short width = 0;
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) {
if (F_status_is_error(status)) return status;
- if (string[range->start] == f_string_eol_s.string[0]) return F_none_eol;
+ if (string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
width = macro_f_utf_byte_width_is(string[range->start]);
range->start += width;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
width_max = (range->stop - range->start) + 1;
} // while
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_seek_line_until_graph_
if (range->start > range->stop) return F_data_not_stop;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
unsigned short width = 0;
f_number_unsigned_t width_max = (range->stop - range->start) + 1;
if (F_status_is_error(status)) return status;
- if (string[range->start] == f_string_eol_s.string[0]) return F_none_eol;
+ if (string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
width = macro_f_utf_byte_width_is(string[range->start]);
range->start += width;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
width_max = (range->stop - range->start) + 1;
} // while
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_seek_line_until_graph_non_
const unsigned short seek_width = macro_f_utf_char_t_width(seek_to);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
unsigned short width = 0;
f_number_unsigned_t width_max = 0;
if (!width) {
width = 1;
- if (seek_width == width && string[range->start] == seek_to) return F_none;
+ if (seek_width == width && string[range->start] == seek_to) return F_okay;
}
// Do not operate on UTF-8 fragments that are not the first byte of the character.
else if (width == 1) {
status = f_utf_char_to_character(string + range->start, width_max, &character);
if (F_status_is_error(status)) return status;
- if (character == seek_to) return F_none;
+ if (character == seek_to) return F_okay;
}
}
} // for
- return F_none_stop;
+ return F_okay_stop;
}
#endif // _di_f_parse_seek_to_utf_character_
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_eos on success, but stopped at end of buffer.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_eos on success, but stopped at end of buffer.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_eos on success, but the range.start >= buffer.used.
* F_data_not_stop on success, but the range.start > range.stop.
* A range within the buffer representing the start and stop locations.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_eos on success, but stopped at end of buffer.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_eos on success, but stopped at end of buffer.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_eos on success, but the range.start >= buffer.used.
* F_data_not_stop on success, but the range.start > range.stop.
* A range within the buffer representing the start and stop locations.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_eos on success, but stopped at end of buffer.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_eos on success, but stopped at end of buffer.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_eos on success, but the range.start >= buffer.used.
* F_data_not_stop on success, but the range.start > range.stop.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_eos on success, but stopped at end of buffer.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_eos on success, but stopped at end of buffer.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_eos on success, but the range.start >= buffer.used.
* F_data_not_stop on success, but the range.start > range.stop.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
* F_data_not_stop if range.start > range.stop.
*
* F_complete_not_utf (with error bit) if character is an incomplete UTF-8 fragment.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
* F_data_not_stop if range.start > range.stop.
*
* F_complete_not_utf (with error bit) if character is an incomplete UTF-8 fragment.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_stop on success, but stopped stop location.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_stop on success, but stopped stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_complete_not_utf (with error bit) if character is an incomplete UTF-8 fragment.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_stop on success, but stopped stop location.
+ * F_okay on success.
+ * F_okay_stop on success, but stopped stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_complete_not_utf (with error bit) if character is an incomplete UTF-8 fragment.
while (buffer.string[range->start] != seek_to_character) {
if (buffer.string[range->start++] == f_utf_char_eol_s) {
- return F_none_eol;
+ return F_okay_eol;
}
if (macro_f_utf_char_t_width_is(buffer.string[range->start]) == 1) {
}
if (range->start >= buffer.used) {
- return F_none_eos;
+ return F_okay_eos;
}
if (range->start > range->stop) {
- return F_none_stop;
+ return F_okay_stop;
}
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_utf_dynamic_seek_line_to_char_
if (!buffer.used) return F_data_not;
if (range->start > range->stop) return F_data_not_stop;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (macro_f_utf_char_t_width_is(buffer.string[range->start]) == 1) {
return F_status_set_error(F_utf_fragment);
}
if (buffer.string[range->start++] == f_utf_char_eol_s) {
- return F_none_eol;
+ return F_okay_eol;
}
if (macro_f_utf_char_t_width_is(buffer.string[range->start]) == 1) {
}
if (range->start >= buffer.used) {
- return F_none_eos;
+ return F_okay_eos;
}
if (range->start > range->stop) {
- return F_none_stop;
+ return F_okay_stop;
}
} // while
return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_utf_dynamic_seek_line_until_graph_
if (!buffer.used) return F_data_not;
if (range->start > range->stop) return F_data_not_stop;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (macro_f_utf_char_t_width_is(buffer.string[range->start]) == 1) {
return F_status_set_error(F_utf_fragment);
while (buffer.string[range->start] == placeholder || (status = f_utf_character_is_whitespace(buffer.string[range->start], F_false)) == F_false) {
if (F_status_is_error(status)) return status;
- if (buffer.string[range->start] == f_utf_char_eol_s) return F_none_eol;
+ if (buffer.string[range->start] == f_utf_char_eol_s) return F_okay_eol;
++range->start;
return F_status_set_error(F_utf_fragment);
}
- if (range->start >= buffer.used) return F_none_eos;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start >= buffer.used) return F_okay_eos;
+ if (range->start > range->stop) return F_okay_stop;
} // while
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_utf_dynamic_seek_line_until_graph_non_
}
if (range->start >= buffer.used) {
- return F_none_eos;
+ return F_okay_eos;
}
if (range->start > range->stop) {
- return F_none_stop;
+ return F_okay_stop;
}
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_utf_dynamic_seek_to_char_
}
if (string[range->start] == f_utf_char_eol_s) {
- return F_none_eol;
+ return F_okay_eol;
}
if (string[range->start] == seek_to_character) {
- return F_none;
+ return F_okay;
}
} // for
- return F_none_stop;
+ return F_okay_stop;
}
#endif // _di_f_parse_utf_seek_line_to_char_
return F_data_not_stop;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (macro_f_utf_char_t_width_is(string[range->start]) == 1) {
return F_status_set_error(F_utf_fragment);
}
if (string[range->start++] == f_utf_char_eol_s) {
- return F_none_eol;
+ return F_okay_eol;
}
if (macro_f_utf_char_t_width_is(string[range->start]) == 1) {
}
if (range->start > range->stop) {
- return F_none_stop;
+ return F_okay_stop;
}
} // while
return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_utf_seek_line_until_graph_
return F_data_not_stop;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (macro_f_utf_char_t_width_is(string[range->start]) == 1) {
return F_status_set_error(F_utf_fragment);
}
if (string[range->start++] == f_utf_char_eol_s) {
- return F_none_eol;
+ return F_okay_eol;
}
if (macro_f_utf_char_t_width_is(string[range->start]) == 1) {
}
if (range->start > range->stop) {
- return F_none_stop;
+ return F_okay_stop;
}
} // while
return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_parse_utf_seek_line_until_graph_non_
while (range->start <= range->stop) {
if (string[range->start++] == seek_to_character) {
- return F_none;
+ return F_okay;
}
if (macro_f_utf_char_t_width_is(string[range->start]) == 1) {
}
} // while
- return F_none_stop;
+ return F_okay_stop;
}
#endif // _di_fl_utf_string_seek_to_utf_character_
* A single-width character.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_eos on success, but stopped at end of buffer.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_eos on success, but stopped at end of buffer.
* F_data_not if buffer length is 0.
* F_data_not_stop if range.start > range.stop.
*
* A UTF-8 character representing a placeholder to ignore (may be NULL).
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_eos on success, but stopped at end of buffer.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_eos on success, but stopped at end of buffer.
* F_data_not if buffer length is 0.
* F_data_not_stop if range.start > range.stop.
*
* A single-width character representing a placeholder to ignore (may be NULL).
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_eos on success, but stopped at end of buffer.
- * F_none_stop on success, but stopped stop location.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_eos on success, but stopped at end of buffer.
+ * F_okay_stop on success, but stopped stop location.
* F_data_not if buffer length is 0.
* F_data_not_stop if range.start > range.stop.
*
* A single-width non-UTF-8 character.
*
* @return
- * F_none on success.
- * F_none_eos on success, but stopped at end of buffer.
- * F_none_stop on success, but stopped stop location.
+ * F_okay on success.
+ * F_okay_eos on success, but stopped at end of buffer.
+ * F_okay_stop on success, but stopped stop location.
* F_data_not if buffer length is 0.
* F_data_not_stop if range.start > range.stop.
*
* A single-width character.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_eos on success, but stopped at end of buffer.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_eos on success, but stopped at end of buffer.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* A UTF-8 character representing a placeholder to ignore (may be NULL).
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* A UTF-8 character representing a placeholder to ignore (may be NULL).
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_stop on success, but stopped stop location.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_stop on success, but stopped stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* A single-width non-UTF-8 character.
*
* @return
- * F_none on success.
- * F_none_eos on success, but stopped at end of buffer.
- * F_none_stop on success, but stopped stop location.
+ * F_okay on success.
+ * F_okay_eos on success, but stopped at end of buffer.
+ * F_okay_stop on success, but stopped stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_path_change_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_path_change_at_
path->string[length] = 0;
path->used = length;
- return F_none;
+ return F_okay;
}
#endif // _di_f_path_current_
directory->used = 0;
if (!argument.used) {
- return F_none;
+ return F_okay;
}
// Ensure enough space is available for terminating slash and terminating NULL.
directory->string[directory->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // _f_path_directory_cleanup_
* The file path.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* An open directory file descriptor, in which path is relative to.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* This will be NULL terminated at real->used + 1.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* The directory string is replaced by this function.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* This will be NULL terminated at real->used + 1.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
real->string[length] = 0;
real->used = length;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_path_current_) || !defined(_di_f_path_real_)
* This will be NULL terminated at real->used + 1.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_directory (with error bit) if a supposed directory in path is not actually a directory.
const f_status_t status = f_path_change(path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_path_change_at(id);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_path_current(F_false, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, path.used);
assert_string_equal(destination.string, path.string);
}
const f_status_t status = f_path_current(F_true, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, path_real.used);
assert_string_equal(destination.string, path_real.string);
}
const f_status_t status = f_path_directory_cleanup(paths[i], &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expecteds[i].used);
if (destination.used) {
const f_status_t status = f_path_real(path, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, path_real.used);
assert_string_equal(destination.string, path_real.string);
}
* This will keep trying to print using fwrite_unlocked() until all bytes are written or an error occurs.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_output (with error bit) on error.
*
} while (count < total);
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_character_) && !defined(_di_f_print_character_safely_)
} while (count < total);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_print_safely_terminated_
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
* F_utf on success, but character is a UTF-8 character.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_stream_not if file.stream is NULL.
*
} // while
} // for
- return F_none;
+ return F_okay;
}
#endif // !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_character_safely(const f_char_t character, const int id) {
if (character == 0x7f) {
- if (write(id, f_print_sequence_delete_s.string, f_print_sequence_delete_s.used) != -1) return F_none;
+ if (write(id, f_print_sequence_delete_s.string, f_print_sequence_delete_s.used) != -1) return F_okay;
}
else if (macro_f_utf_byte_width_is(character) == 1) {
- if (write(id, f_print_sequence_unknown_s.string, f_print_sequence_unknown_s.used) != -1) return F_none;
+ if (write(id, f_print_sequence_unknown_s.string, f_print_sequence_unknown_s.used) != -1) return F_okay;
}
else if (macro_f_utf_byte_width_is(character) > 1) {
if (write(id, &character, 1) != -1) return F_utf;
}
else if (character > 0x1f) {
- if (write(id, &character, 1) != -1) return F_none;
+ if (write(id, &character, 1) != -1) return F_okay;
}
else {
if (write(id, f_print_sequence_set_control_s[(unsigned int) character].string, f_print_sequence_set_control_s[(unsigned int) character].used) != -1) {
- return F_none;
+ return F_okay;
}
}
if (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_to_except_) || !defined(_di_f_print_to_except_dynamic_) || !defined(_di_f_print_to_except_dynamic_partial_)
if (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#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 (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#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 (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#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 (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#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 (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#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 (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#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 (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#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_)
}
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_to_raw_) || !defined(_di_f_print_dynamic_to_raw_) || !defined(_di_f_print_dynamic_partial_to_raw_)
if (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#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 (write(id, string + start, total) == -1) return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_dynamic_partial_to_safely_) || !defined(_di_f_print_to_safely_)
#if !defined(_di_f_print_to_terminated_) || !defined(_di_f_print_to_raw_terminated_)
f_status_t private_f_print_to_terminated(const f_string_t string, const int id) {
- return write(id, string, strlen(string)) == -1 ? private_inline_f_print_to_error() : F_none;
+ return write(id, string, strlen(string)) == -1 ? private_inline_f_print_to_error() : F_okay;
}
#endif // !defined(_di_f_print_to_terminated_) || !defined(_di_f_print_to_raw_terminated_)
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_utf on success, but character is a UTF-8 character.
*
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
return private_inline_f_print_to_error();
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_print_to_character_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_print_to_safely_terminated_
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* F_file_descriptor_not if file.id is -1.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The array of locations is required/assumed to be in linear order.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
* The file structure containing the file descriptor to output to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
* F_file_descriptor_not if file.id is -1.
*
}
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_) || !defined(_di_f_print_dynamic_) || !defined(_di_f_print_dynamic_partial_)
}
} // while
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_)
}
} // while
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_except_in_) || !defined(_di_f_print_except_in_dynamic_) || !defined(_di_f_print_except_in_dynamic_partial_)
}
} // while
- return F_none;
+ return F_okay;
}
#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_)
} while (count < total);
}
- return F_none;
+ return F_okay;
}
#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_)
} while (count < total);
}
- return F_none;
+ return F_okay;
}
#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_)
} while (count < total);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_except_raw_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
} while (count < total);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
} while (count < total);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_)
} // for
}
- return F_none;
+ return F_okay;
}
#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_)
} while (count < total);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_dynamic_partial_raw_safely_) || !defined(_di_f_print_dynamic_raw_safely_) || !defined(_di_f_print_raw_safely_)
} while (count < total);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_safely_)
} while (count < length);
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_print_terminated_) || !defined(_di_f_print_raw_terminated_)
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if there is nothing to print.
*
* F_output (with error bit) on failure.
const f_status_t status = f_print(test.string, test.used, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_character(test.string[0], output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_character_safely((f_char_t) 0x7f, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_character_safely((f_char_t) F_utf_byte_1_d, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_character_safely(test.string[0], output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_dynamic(test, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_dynamic_partial(test, partial, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_dynamic_partial_raw(test, partial, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_dynamic_partial_raw_safely(test, partial, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_dynamic_partial_safely(test, partial, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_dynamic_raw(test, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_dynamic_raw_safely(test, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_dynamic_safely(test, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except(test.string, 0, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except(test.string, 2, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except(test.string, 1, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_dynamic(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_dynamic(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_dynamic_partial(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_dynamic_partial(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_dynamic_partial_raw(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_dynamic_partial_raw(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_dynamic_partial_raw_safely(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_dynamic_partial_raw_safely(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_dynamic_partial_safely(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_dynamic_partial_safely(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_dynamic_raw(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_dynamic_raw(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_dynamic_raw_safely(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_dynamic_raw_safely(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_dynamic_safely(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_dynamic_safely(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in(test.string, 0, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in(test.string, 2, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in(test.string, 1, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_dynamic(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_dynamic(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_dynamic_partial(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_dynamic_partial(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_dynamic_partial_raw(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_dynamic_partial_raw(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_dynamic_partial_raw_safely(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_dynamic_partial_raw_safely(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_dynamic_partial_safely(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_dynamic_partial_safely(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_dynamic_raw(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_dynamic_raw(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_dynamic_raw_safely(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_dynamic_raw_safely(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_dynamic_safely(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_dynamic_safely(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_raw(test.string, 0, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_raw(test.string, 2, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_raw(test.string, 1, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_raw_safely(test.string, 0, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_raw_safely(test.string, 2, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_raw_safely(test.string, 1, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_in_safely(test.string, 0, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_safely(test.string, 2, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_in_safely(test.string, 1, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_raw(test.string, 0, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_raw(test.string, 2, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_raw(test.string, 1, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_raw_safely(test.string, 0, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_raw_safely(test.string, 2, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_raw_safely(test.string, 1, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_except_safely(test.string, 0, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_safely(test.string, 2, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_except_safely(test.string, 1, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_raw(test.string, test.used, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_raw_safely(test.string, test.used, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_raw_terminated(test.string, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_safely(test.string, test.used, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_safely_terminated(test.string, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_terminated(test.string, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to(test.string, test.used, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_character(test.string[0], output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_character_safely((f_char_t) 0x7f, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_character_safely((f_char_t) F_utf_byte_1_d, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_character_safely(test.string[0], output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_dynamic(test, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_dynamic_partial(test, partial, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_dynamic_partial_raw(test, partial, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_dynamic_partial_raw_safely(test, partial, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_dynamic_partial_safely(test, partial, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_dynamic_raw(test, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_dynamic_raw_safely(test, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_dynamic_safely(test, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except(test.string, 0, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except(test.string, 2, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except(test.string, 1, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_dynamic(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_dynamic(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_dynamic_partial(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_dynamic_partial(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_dynamic_partial_raw(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_dynamic_partial_raw(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_dynamic_partial_raw_safely(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_dynamic_partial_raw_safely(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_dynamic_partial_safely(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_dynamic_partial_safely(test, partial, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_dynamic_raw(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_dynamic_raw(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_dynamic_raw_safely(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_dynamic_raw_safely(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_dynamic_safely(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_dynamic_safely(test, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in(test.string, 0, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in(test.string, 2, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in(test.string, 1, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_dynamic(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_dynamic(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_dynamic_partial(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_dynamic_partial(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_dynamic_partial_raw(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_dynamic_partial_raw(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_dynamic_partial_raw_safely(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_dynamic_partial_raw_safely(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_dynamic_partial_safely(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_dynamic_partial_safely(test, partial, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_dynamic_raw(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_dynamic_raw(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_dynamic_raw_safely(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_dynamic_raw_safely(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_dynamic_safely(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_dynamic_safely(test, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_raw(test.string, 0, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_raw(test.string, 2, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_raw(test.string, 1, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_raw_safely(test.string, 0, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_raw_safely(test.string, 2, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_raw_safely(test.string, 1, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_in_safely(test.string, 0, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_safely(test.string, 2, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_in_safely(test.string, 1, test.used, except, range, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_raw(test.string, 0, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_raw(test.string, 2, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_raw(test.string, 1, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_raw_safely(test.string, 0, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_raw_safely(test.string, 2, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_raw_safely(test.string, 1, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_except_safely(test.string, 0, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_safely(test.string, 2, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_print_to_except_safely(test.string, 1, test.used, except, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_raw(test.string, test.used, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_raw_safely(test.string, test.used, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_raw_terminated(test.string, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_safely(test.string, test.used, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_safely_terminated(test.string, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_print_to_terminated(test.string, output);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_number_unsigned_t stop_original = *stop;
f_number_unsigned_t previous = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading whitespace.
for (; *start <= *stop; *start += macro_f_utf_byte_width(string[*start])) {
}
}
- return F_none;
+ return F_okay;
}
#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_)
* Will be updated to reflect the new stop range.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but only white space found.
*
* F_utf_not (with error bit) if a character is not valid UTF-8.
#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_number_unsigned_t *start, f_number_unsigned_t *stop) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading whitespace.
for (; *start <= *stop; ++(*start)) {
}
}
- return F_none;
+ return F_okay;
}
#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_)
* Will be updated to reflect the new stop range.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but only white space found.
*
* F_parameter (with error bit) if a parameter is invalid.
* The new string, which will be allocated or reallocated as necessary.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The new string, which will be allocated or reallocated as necessary.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_stop if range.start > range.stop.
*
* The new string, which will be allocated or reallocated as necessary.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_stop if range.start > range.stop.
*
* The new string, which will be allocated or reallocated as necessary.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
range->stop = i - 1;
}
- return F_none;
+ return F_okay;
}
start = i + width;
range->start = 1;
range->stop = 0;
- return F_none;
+ return F_okay;
}
}
else if (i == source.used) {
range->stop = i - 1;
}
- return F_none_eos;
+ return F_okay_eos;
}
if (i + width > source.used) {
* A range within the serialize string representing the string at the given index.
*
* @return
- * F_none on success.
- * F_none_eos on success at end of string.
+ * F_okay on success.
+ * F_okay_eos on success at end of string.
* F_data_not_eos if end of string reached before index was reached.
*
* F_complete_not_utf_eos (with error bit) if end of string is reached before a complete UTF-8 character can be processed.
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t start = 0;
f_number_unsigned_t total = 0;
++destination->used;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_serialize_from_simple_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t start = 0;
f_number_unsigned_t total = 0;
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_serialize_from_simple_range_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used) {
status = f_string_dynamic_append_assure(f_serialize_to_simple_splitter_s, destination);
status = f_string_dynamic_append(source, destination);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_f_serialize_to_simple_
* All deserialized values are appended to the destination.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_complete_not_utf_eos if an incomplete UTF-8 character is found at the end of the source.
* F_data_not on success and source.used is 0.
*
* This string is NULL terminated after destination.used on success.
*
* @return
- * F_none on success.
- * F_none_eos on success at end of string.
+ * F_okay on success.
+ * F_okay_eos on success at end of string.
* F_data_not_eos if end of string reached before index was reached (dynamic->used is set to 0).
* F_data_not on success and source.used is 0.
*
* All deserialized ranges are appended to the destination.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_complete_not_utf_eos if an incomplete UTF-8 character is found at the end of the source.
* F_data_not on success and source.used is 0.
*
* A range within the serialized string representing the string at the given index.
*
* @return
- * F_none on success.
- * F_none_eos on success at end of string.
+ * F_okay on success.
+ * F_okay_eos on success at end of string.
* F_data_not on success and source.used is 0.
* F_data_not_eos if end of string reached before index was reached.
*
* All serialized values are appended to the destination.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success and source.used is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
const f_status_t status = f_serialize_from_simple(sources[i], &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expecteds[i].used);
for (uint8_t j = 0; j < destination.used; ++j) {
const f_status_t status = f_serialize_from_simple_get(source, i, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, matchs[i].used);
if (destination.used) {
const f_status_t status = f_serialize_from_simple_range(sources[i], &ranges);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(ranges.used, expecteds[i].used);
for (uint8_t j = 0; j < ranges.used; ++j) {
const f_status_t status = f_serialize_from_simple_select(source, i, &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, ranges[i].start);
assert_int_equal(range.stop, ranges[i].stop);
} // for
{
const f_status_t status = f_serialize_to_simple(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, source.string);
}
{
const f_status_t status = f_serialize_to_simple(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(destination.string, multiple.string);
}
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_action_
signal->id = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_close_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_mask_
signal->id = result;
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_open_
pause();
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_pause_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_queue_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_read_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_send_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_set_add_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_set_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_set_empty_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_set_fill_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_suspend_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_wait_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_signal_wait_until_
* Set to NULL to not use.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_buffer (with error bit) if the buffer is invalid (action or previous point to invalid memory).
* F_parameter (with error bit) if a parameter is invalid.
* The signal settings.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but no descriptor was provided to close.
*
* F_descriptor (with error bit) if id is an invalid descriptor.
* Set to NULL to not use.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Otherwise, signal.id is used as the file descriptor.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_device (with error bit) if could not mount the internal inode device.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
* The signal value to send.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_found_not (with error bit) if the given PID was found.
* F_parameter (with error bit) if a parameter is invalid.
* The signal data to be populated if a signal is found during read.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
* F_data_not on success, but no descriptor was provided to read.
* F_signal on success and signal found.
*
* This may also be a process group id.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to send signals to the given process.
* The set of signals to add to.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The set of signals to delete from.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The set of signals to clear.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The set of signals to fully populate.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The signal mask.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_buffer (with error bit) if the mask is pointing to invalid memory.
* F_interrupt (with error bit) when program received an interrupt signal, halting operation.
* Set to NULL to not use.
*
* @return
- * F_none if signal is found.
+ * F_okay if signal is found.
* F_interrupt if interrupted by a signal other than one specified in the signal set.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set to NULL to not use.
*
* @return
- * F_none if signal is found before time out.
+ * F_okay if signal is found before time out.
* F_interrupt if interrupted by a signal other than one specified in the signal set.
* F_time_out if no signal is find by the time out.
*
const f_status_t status = f_signal_action(signal, &action, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_signal_action(signal, 0, &previous);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_signal_action(signal, &action, &previous);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_close(&signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_mask(0, &next, ¤t);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_open(&signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(signal.id, id);
}
}
{
const f_status_t status = f_signal_pause();
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_queue(0, 0, value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_read(signal, 0, &information);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(signal.id, -1);
}
const f_status_t status = f_signal_send(0, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_set_add(0, &set);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_set_delete(0, &set);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_set_empty(&set);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_set_fill(&set);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_suspend(&set);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_wait(&set, &information);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_signal_wait_until(&set, &timeout, &information);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
socket->id_data = result;
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_accept_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_bind_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_bind_inet4_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_bind_inet6_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_bind_local_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_connect_
socket_structure->id = result;
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_create_
*id_1 = pair[0];
*id_2 = pair[1];
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_create_pair_
socket->id = -1;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_disconnect_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_listen_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_option_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_option_set_
if (!name->string[name->used]) break;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_host_name_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_name_peer_
*length = (size_t) result;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_read_
*length = (size_t) result;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_read_message_
*length = (size_t) result;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_read_stream_
*length = (size_t) result;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_write_
*length = (size_t) result;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_write_message_
*length = (size_t) result;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_socket_write_stream_
* The socket.id_data, socket.address, and socket.length are updated upon a successful return.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_block (with error bit) if socket is blocked.
* The socket.id must refer to a valid socket file descriptor.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_address (with error bit) if address is already in use (therefore unavailable).
* F_available_not_address (with error bit) if address is unavailable (is non-existent or not local).
* The socket.type (address family) will be assigned to f_socket_address_family_inet4_e.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_address (with error bit) if address is already in use (therefore unavailable).
* F_address_not (with error bit) if socket.domain is not set to f_socket_protocol_family_inet4_e.
* The socket.type (address family) will be assigned to f_socket_address_family_inet6_e.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_address (with error bit) if address is already in use (therefore unavailable).
* F_address_not (with error bit) if socket.domain is not set to f_socket_protocol_family_inet6_e.
* The socket.type (address family) will be assigned to f_socket_address_family_local_e.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_address (with error bit) if address is already in use (therefore unavailable).
* F_available_not_address (with error bit) if address is unavailable (is non-existent or not local).
* The socket.address may point to any valid structure, like "struct sockaddr", "struct sockaddr_un", or "struct sockaddr_in".
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_available_not_address (with error bit) if address is unavailable (is non-existent or not local).
* The socket.id will be updated with a file descriptor representing the created socket.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer_not (with error bit) if unable to create socket due to resource restrictions (maps to ENOBUFS).
* This socket is supposed to be identical to the one specified by id_1.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_buffer_not (with error bit) if unable to create socket due to resource restrictions (maps to ENOBUFS).
* f_socket_close_fast_e calls close().
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_connect_not if the socket is not connected.
*
* F_busy_address (with error bit) if address is already in use (therefore unavailable).
* Suggested default setting: 8.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy_address (with error bit) if address is already in use (therefore unavailable).
* F_file_descriptor (with error bit) if id is an invalid descriptor.
* The length of the value (often derived from a sizeof() call).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_buffer (with error bit) if the given value is out of scope.
* F_file_descriptor (with error bit) if id is an invalid descriptor.
* The length of the value (often derived from a sizeof() call).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_buffer (with error bit) if the given value is out of scope.
* F_file_descriptor (with error bit) if id is an invalid descriptor.
* If name.size is 0, then a default max (F_socket_default_name_max_d) is used.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_buffer (with error bit) if the buffer is invalid.
* F_parameter (with error bit) if a parameter is invalid.
* The socket.address is used to store the name of the remote connection.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_file_descriptor (with error bit) if id is an invalid descriptor.
* F_buffer (with error bit) if the buffer is invalid.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_complete_not (with error bit) if an existing connection is not yet complete.
* Data may be lost if the amount of data read is larger than given buffer length.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_complete_not (with error bit) if an existing connection is not yet complete.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_complete_not (with error bit) if an existing connection is not yet complete.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_address_not (with error bit) if no address is provided and the connection is not "connection-mode".
* Data may be lost if the amount of data send is larger than given buffer length.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_address_not (with error bit) if no address is provided and the connection is not "connection-mode".
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_address_not (with error bit) if no address is provided and the connection is not "connection-mode".
destination->array[destination->used++] = source.array[i];
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_sockets_append_all_) || !defined(_di_f_socketss_append_) || !defined(_di_f_socketss_append_all_)
#if !defined(_di_f_socketss_adjust_) || !defined(_di_f_socketss_decimate_by_)
f_status_t private_f_socketss_adjust(const f_number_unsigned_t length, f_socketss_t * const socketss) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < socketss->size; ++i) {
#if !defined(_di_f_socketss_decrease_by_) || !defined(_di_f_socketss_increase_) || !defined(_di_f_socketss_increase_by_) || !defined(_di_f_socketss_resize_)
f_status_t private_f_socketss_resize(const f_number_unsigned_t length, f_socketss_t * const socketss) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < socketss->size; ++i) {
* The destination lengths the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_array_increase_by().
*
* The socketss array to adjust.
*
* @return
- * F_none on success.
+ * F_okay 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.
* The socketss array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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.
destination->array[destination->used++] = source;
- return F_none;
+ return F_okay;
}
#endif // _di_f_sockets_append_
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_socketss_append_
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_socketss_append_all_
* The destination sockets the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
* The destination sockets the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
* The string socketss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* Success from f_memory_array_resize().
const f_status_t status = f_socket_accept(&socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(socket.id_data, id);
assert_int_not_equal(socket.id, id);
}
const f_status_t status = f_socket_bind(&socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_bind_inet4(&socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_bind_inet6(&socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_bind_local(&socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_connect(socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_create(&socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_create_pair(0, 0, 0, &id_1, &id_2);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_disconnect(&socket, f_socket_close_fast_e);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(socket.id, -1);
}
}
const f_status_t status = f_socket_disconnect(&socket, f_socket_close_read_e);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(socket.id, 1);
}
}
const f_status_t status = f_socket_disconnect(&socket, f_socket_close_write_e);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(socket.id, 1);
}
}
const f_status_t status = f_socket_listen(&socket, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_name_host(&socket, &name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(name.size, F_socket_default_name_max_d);
}
const f_status_t status = f_socket_name_host(&socket, &name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_name_peer(&socket);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_option_get(&socket, 0, 0, (void *) &value, &length);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_option_set(&socket, 0, 0, (void *) &value, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_socket_read(&socket, 0, (void *) buffer, &length);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(length, 1);
}
}
const f_status_t status = f_socket_read_message(&socket, 0, &header, &length);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(length, 1);
}
}
const f_status_t status = f_socket_read_stream(&socket, 0, (void *) buffer, &length);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(length, 1);
}
}
{
const f_status_t status = f_sockets_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_sockets_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].id, source.id);
assert_int_equal(destination.array[0].domain, source.domain);
{
const f_status_t status = f_sockets_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_sockets_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_sockets_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_sockets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_sockets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_sockets_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_sockets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_sockets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_sockets_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_sockets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_sockets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_sockets_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_sockets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_sockets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_sockets_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_sockets_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_socketss_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_sockets_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_sockets_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_socketss_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].used, source.used);
assert_int_equal(destination.array[0].size, source.used);
{
const f_status_t status = f_socketss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_socketss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
const f_status_t status = f_sockets_resize(length_inner, &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
source.array[source.used].array[source.array[source.used].used++] = sources[i];
{
const f_status_t status = f_socketss_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_socketss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_socketss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_socketss_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_socketss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_socketss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_socketss_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_socketss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_socketss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_socketss_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_socketss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_socketss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_socketss_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_socketss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_socket_write(&socket, 0, buffer, &length);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(length, 1);
}
}
const f_status_t status = f_socket_write_message(&socket, 0, &header, &length);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(length, 1);
}
}
const f_status_t status = f_socket_write_stream(&socket, 0, buffer, &length);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(length, 1);
}
}
// Basic.
// Start at 197 to allow compatibility with the reserved bash return codes (keep in mind fss return codes can be larger than 255).
F_okay = 197,
+ F_okay_block,
+ F_okay_eoa,
+ F_okay_eof,
+ F_okay_eol,
+ F_okay_eos,
F_okay_not,
+ F_okay_start,
+ F_okay_stop,
F_abort,
F_abort_not,
F_absolute,
F_complete_not_utf_eos,
F_complete_not_utf_start,
F_complete_not_utf_stop,
- F_none_block,
- F_none_eoa,
- F_none_eof,
- F_none_eol,
- F_none_eos,
- F_none_start,
- F_none_stop,
F_data,
F_data_not,
F_data_not_block,
void test__F_status_is_error__works(void **state) {
assert_false(F_status_is_error(0));
- assert_false(F_status_is_error(F_none));
+ assert_false(F_status_is_error(F_okay));
assert_true(F_status_is_error(F_status_bit_error));
assert_true(F_status_is_error(F_status_bit_signal)); // The signal bit uses the error bit.
assert_false(F_status_is_error(F_status_bit_warning));
void test__F_status_is_error_not__works(void **state) {
assert_true(F_status_is_error_not(0));
- assert_true(F_status_is_error_not(F_none));
+ assert_true(F_status_is_error_not(F_okay));
assert_false(F_status_is_error_not(F_status_bit_error));
assert_false(F_status_is_error_not(F_status_bit_signal)); // The signal bit uses the error bit.
assert_true(F_status_is_error_not(F_status_bit_warning));
void test__F_status_is_fine__works(void **state) {
assert_true(F_status_is_fine(0));
- assert_true(F_status_is_fine(F_none));
+ assert_true(F_status_is_fine(F_okay));
assert_false(F_status_is_fine(F_status_bit_error));
assert_false(F_status_is_fine(F_status_bit_signal));
assert_false(F_status_is_fine(F_status_bit_warning));
void test__F_status_is_fine_not__works(void **state) {
assert_false(F_status_is_fine_not(0));
- assert_false(F_status_is_fine_not(F_none));
+ assert_false(F_status_is_fine_not(F_okay));
assert_true(F_status_is_fine_not(F_status_bit_error));
assert_true(F_status_is_fine_not(F_status_bit_signal));
assert_true(F_status_is_fine_not(F_status_bit_warning));
void test__F_status_is_problem__works(void **state) {
assert_false(F_status_is_problem(0));
- assert_false(F_status_is_problem(F_none));
+ assert_false(F_status_is_problem(F_okay));
assert_true(F_status_is_problem(F_status_bit_error));
assert_true(F_status_is_problem(F_status_bit_signal));
assert_true(F_status_is_problem(F_status_bit_warning));
void test__F_status_is_problem_not__works(void **state) {
assert_true(F_status_is_problem_not(0));
- assert_true(F_status_is_problem_not(F_none));
+ assert_true(F_status_is_problem_not(F_okay));
assert_false(F_status_is_problem_not(F_status_bit_error));
assert_false(F_status_is_problem_not(F_status_bit_signal));
assert_false(F_status_is_problem_not(F_status_bit_warning));
void test__F_status_is_signal__works(void **state) {
assert_false(F_status_is_signal(0));
- assert_false(F_status_is_signal(F_none));
+ assert_false(F_status_is_signal(F_okay));
assert_false(F_status_is_signal(F_status_bit_error));
assert_true(F_status_is_signal(F_status_bit_signal));
assert_false(F_status_is_signal(F_status_bit_warning));
void test__F_status_is_signal_not__works(void **state) {
assert_true(F_status_is_signal_not(0));
- assert_true(F_status_is_signal_not(F_none));
+ assert_true(F_status_is_signal_not(F_okay));
assert_true(F_status_is_signal_not(F_status_bit_error));
assert_false(F_status_is_signal_not(F_status_bit_signal));
assert_true(F_status_is_signal_not(F_status_bit_warning));
void test__F_status_is_warning__works(void **state) {
assert_false(F_status_is_warning(0));
- assert_false(F_status_is_warning(F_none));
+ assert_false(F_status_is_warning(F_okay));
assert_false(F_status_is_warning(F_status_bit_error));
assert_true(F_status_is_warning(F_status_bit_signal)); // The signal bit uses the warning bit.
assert_true(F_status_is_warning(F_status_bit_warning));
void test__F_status_is_warning_not__works(void **state) {
assert_true(F_status_is_warning_not(0));
- assert_true(F_status_is_warning_not(F_none));
+ assert_true(F_status_is_warning_not(F_okay));
assert_true(F_status_is_warning_not(F_status_bit_error));
assert_false(F_status_is_warning_not(F_status_bit_signal));
assert_false(F_status_is_warning_not(F_status_bit_warning));
void test__F_status_set_error__works(void **state) {
assert_true(F_status_is_error(F_status_set_error(0)));
- assert_true(F_status_is_error(F_status_set_error(F_none)));
+ assert_true(F_status_is_error(F_status_set_error(F_okay)));
assert_true(F_status_is_error(F_status_set_error(F_status_bit_error)));
assert_true(F_status_is_error(F_status_set_error(F_status_bit_signal)));
assert_true(F_status_is_error(F_status_set_error(F_status_bit_warning)));
void test__F_status_set_fine__works(void **state) {
assert_true(F_status_is_fine(F_status_set_fine(0)));
- assert_true(F_status_is_fine(F_status_set_fine(F_none)));
+ assert_true(F_status_is_fine(F_status_set_fine(F_okay)));
assert_true(F_status_is_fine(F_status_set_fine(F_status_bit_error)));
assert_true(F_status_is_fine(F_status_set_fine(F_status_bit_signal)));
assert_true(F_status_is_fine(F_status_set_fine(F_status_bit_warning)));
void test__F_status_set_signal__works(void **state) {
assert_true(F_status_is_signal(F_status_set_signal(0)));
- assert_true(F_status_is_signal(F_status_set_signal(F_none)));
+ assert_true(F_status_is_signal(F_status_set_signal(F_okay)));
assert_true(F_status_is_signal(F_status_set_signal(F_status_bit_error)));
assert_true(F_status_is_signal(F_status_set_signal(F_status_bit_signal)));
assert_true(F_status_is_signal(F_status_set_signal(F_status_bit_warning)));
void test__F_status_set_warning__works(void **state) {
assert_true(F_status_is_warning(F_status_set_warning(0)));
- assert_true(F_status_is_warning(F_status_set_warning(F_none)));
+ assert_true(F_status_is_warning(F_status_set_warning(F_okay)));
assert_true(F_status_is_warning(F_status_set_warning(F_status_bit_error)));
assert_true(F_status_is_warning(F_status_set_warning(F_status_bit_signal)));
assert_true(F_status_is_warning(F_status_set_warning(F_status_bit_warning)));
const f_string_static_t f_status_complete_not_utf_eos_s = macro_f_string_static_t_initialize_1(F_status_complete_not_utf_eos_s, 0, F_status_complete_not_utf_eos_s_length);
const f_string_static_t f_status_complete_not_utf_start_s = macro_f_string_static_t_initialize_1(F_status_complete_not_utf_start_s, 0, F_status_complete_not_utf_start_s_length);
const f_string_static_t f_status_complete_not_utf_stop_s = macro_f_string_static_t_initialize_1(F_status_complete_not_utf_stop_s, 0, F_status_complete_not_utf_stop_s_length);
- const f_string_static_t f_status_none_block_s = macro_f_string_static_t_initialize_1(F_status_none_block_s, 0, F_status_none_block_s_length);
- const f_string_static_t f_status_none_eoa_s = macro_f_string_static_t_initialize_1(F_status_none_eoa_s, 0, F_status_none_eoa_s_length);
- const f_string_static_t f_status_none_eof_s = macro_f_string_static_t_initialize_1(F_status_none_eof_s, 0, F_status_none_eof_s_length);
- const f_string_static_t f_status_none_eol_s = macro_f_string_static_t_initialize_1(F_status_none_eol_s, 0, F_status_none_eol_s_length);
- const f_string_static_t f_status_none_eos_s = macro_f_string_static_t_initialize_1(F_status_none_eos_s, 0, F_status_none_eos_s_length);
- const f_string_static_t f_status_none_start_s = macro_f_string_static_t_initialize_1(F_status_none_start_s, 0, F_status_none_start_s_length);
- const f_string_static_t f_status_none_stop_s = macro_f_string_static_t_initialize_1(F_status_none_stop_s, 0, F_status_none_stop_s_length);
+ const f_string_static_t f_status_okay_block_s = macro_f_string_static_t_initialize_1(F_status_okay_block_s, 0, F_status_okay_block_s_length);
+ const f_string_static_t f_status_okay_eoa_s = macro_f_string_static_t_initialize_1(F_status_okay_eoa_s, 0, F_status_okay_eoa_s_length);
+ const f_string_static_t f_status_okay_eof_s = macro_f_string_static_t_initialize_1(F_status_okay_eof_s, 0, F_status_okay_eof_s_length);
+ const f_string_static_t f_status_okay_eol_s = macro_f_string_static_t_initialize_1(F_status_okay_eol_s, 0, F_status_okay_eol_s_length);
+ const f_string_static_t f_status_okay_eos_s = macro_f_string_static_t_initialize_1(F_status_okay_eos_s, 0, F_status_okay_eos_s_length);
+ const f_string_static_t f_status_okay_start_s = macro_f_string_static_t_initialize_1(F_status_okay_start_s, 0, F_status_okay_start_s_length);
+ const f_string_static_t f_status_okay_stop_s = macro_f_string_static_t_initialize_1(F_status_okay_stop_s, 0, F_status_okay_stop_s_length);
const f_string_static_t f_status_data_s = macro_f_string_static_t_initialize_1(F_status_data_s, 0, F_status_data_s_length);
const f_string_static_t f_status_data_not_s = macro_f_string_static_t_initialize_1(F_status_data_not_s, 0, F_status_data_not_s_length);
const f_string_static_t f_status_data_not_block_s = macro_f_string_static_t_initialize_1(F_status_data_not_block_s, 0, F_status_data_not_block_s_length);
break;
+ case F_okay_block:
+ *name = f_status_okay_block_s;
+
+ break;
+
+ case F_okay_eoa:
+ *name = f_status_okay_eoa_s;
+
+ break;
+
+ case F_okay_eof:
+ *name = f_status_okay_eof_s;
+
+ break;
+
+ case F_okay_eol:
+ *name = f_status_okay_eol_s;
+
+ break;
+
+ case F_okay_eos:
+ *name = f_status_okay_eos_s;
+
+ break;
+
case F_okay_not:
*name = f_status_okay_not_s;
break;
+ case F_okay_start:
+ *name = f_status_okay_start_s;
+
+ break;
+
+ case F_okay_stop:
+ *name = f_status_okay_stop_s;
+
+ break;
+
case F_abort:
*name = f_status_abort_s;
break;
- case F_none_block:
- *name = f_status_none_block_s;
-
- break;
-
- case F_none_eoa:
- *name = f_status_none_eoa_s;
-
- break;
-
- case F_none_eof:
- *name = f_status_none_eof_s;
-
- break;
-
- case F_none_eol:
- *name = f_status_none_eol_s;
-
- break;
-
- case F_none_eos:
- *name = f_status_none_eos_s;
-
- break;
-
- case F_none_start:
- *name = f_status_none_start_s;
-
- break;
-
- case F_none_stop:
- *name = f_status_none_stop_s;
-
- break;
-
case F_data:
*name = f_status_data_s;
return F_status_set_error(F_data);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_status_string_to_
// 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_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_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;
+ extern const f_string_static_t f_status_okay_eoa_s;
+ extern const f_string_static_t f_status_okay_eof_s;
+ extern const f_string_static_t f_status_okay_eol_s;
+ extern const f_string_static_t f_status_okay_eos_s;
extern const f_string_static_t f_status_okay_not_s;
+ extern const f_string_static_t f_status_okay_start_s;
+ extern const f_string_static_t f_status_okay_stop_s;
extern const f_string_static_t f_status_abort_s;
extern const f_string_static_t f_status_abort_not_s;
extern const f_string_static_t f_status_absolute_s;
#define F_status_complete_not_utf_eos_s "F_complete_not_utf_eos"
#define F_status_complete_not_utf_start_s "F_complete_not_utf_start"
#define F_status_complete_not_utf_stop_s "F_complete_not_utf_stop"
- #define F_status_none_block_s "F_none_block"
- #define F_status_none_eoa_s "F_none_eoa"
- #define F_status_none_eof_s "F_none_eof"
- #define F_status_none_eol_s "F_none_eol"
- #define F_status_none_eos_s "F_none_eos"
- #define F_status_none_start_s "F_none_start"
- #define F_status_none_stop_s "F_none_stop"
#define F_status_data_s "F_data"
#define F_status_data_not_s "F_data_not"
#define F_status_data_not_block_s "F_data_not_block"
#define F_status_complete_not_utf_eos_s_length 22
#define F_status_complete_not_utf_start_s_length 24
#define F_status_complete_not_utf_stop_s_length 23
- #define F_status_none_block_s_length 12
- #define F_status_none_eoa_s_length 10
- #define F_status_none_eof_s_length 10
- #define F_status_none_eol_s_length 10
- #define F_status_none_eos_s_length 10
- #define F_status_none_start_s_length 12
- #define F_status_none_stop_s_length 11
#define F_status_data_s_length 6
#define F_status_data_not_s_length 10
#define F_status_data_not_block_s_length 16
extern const f_string_static_t f_status_complete_not_utf_eos_s;
extern const f_string_static_t f_status_complete_not_utf_start_s;
extern const f_string_static_t f_status_complete_not_utf_stop_s;
- extern const f_string_static_t f_status_none_block_s;
- extern const f_string_static_t f_status_none_eoa_s;
- extern const f_string_static_t f_status_none_eof_s;
- extern const f_string_static_t f_status_none_eol_s;
- extern const f_string_static_t f_status_none_eos_s;
- extern const f_string_static_t f_status_none_start_s;
- extern const f_string_static_t f_status_none_stop_s;
extern const f_string_static_t f_status_data_s;
extern const f_string_static_t f_status_data_not_s;
extern const f_string_static_t f_status_data_not_block_s;
* The processed code name.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_data (with error bit) if there status is unknown.
* F_parameter (with error bit) if a parameter is invalid.
F_signal_reserved_63,
F_signal_reserved_64,
F_okay,
+ F_okay_block,
+ F_okay_eoa,
+ F_okay_eof,
+ F_okay_eol,
+ F_okay_eos,
F_okay_not,
+ F_okay_start,
+ F_okay_stop,
F_abort,
F_abort_not,
F_absolute,
F_complete_not_utf_eos,
F_complete_not_utf_start,
F_complete_not_utf_stop,
- F_none_block,
- F_none_eoa,
- F_none_eof,
- F_none_eol,
- F_none_eos,
- F_none_start,
- F_none_stop,
F_data,
F_data_not,
F_data_not_block,
const f_string_static_t status_strings[] = {
f_status_false_s,
f_status_true_s,
- f_status_signal_hangup_s,
+ f_status_true_s, // This is F_signal_hangup, but it overlaps and falls back to F_true.
f_status_signal_interrupt_s,
f_status_signal_quit_s,
f_status_signal_illegal_s,
f_status_signal_reserved_63_s,
f_status_signal_reserved_64_s,
f_status_okay_s,
+ f_status_okay_block_s,
+ f_status_okay_eoa_s,
+ f_status_okay_eof_s,
+ f_status_okay_eol_s,
+ f_status_okay_eos_s,
f_status_okay_not_s,
+ f_status_okay_start_s,
+ f_status_okay_stop_s,
f_status_abort_s,
f_status_abort_not_s,
f_status_absolute_s,
f_status_complete_not_utf_eos_s,
f_status_complete_not_utf_start_s,
f_status_complete_not_utf_stop_s,
- f_status_none_block_s,
- f_status_none_eoa_s,
- f_status_none_eof_s,
- f_status_none_eol_s,
- f_status_none_eos_s,
- f_status_none_start_s,
- f_status_none_stop_s,
f_status_data_s,
f_status_data_not_s,
f_status_data_not_block_s,
const f_status_t status = f_status_string_to(statuss[i], &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result.used, status_strings[i].used);
assert_string_equal(result.string, status_strings[i].string);
} // for
destination->used += length;
destination->string[destination->used] = 0;
- return F_none;
+ return F_okay;
}
#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 (destination->used >= F_string_t_size_d) return F_status_set_error(F_string_too_large);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t size = 0;
destination->string[destination->used] = 0;
- return F_none;
+ return F_okay;
}
#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_)
destination->used += length;
- return F_none;
+ return F_okay;
}
#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 (destination->used + length > F_string_t_size_d) return F_status_set_error(F_string_too_large);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t first = 0;
f_number_unsigned_t offset = 0;
}
} // for
- return F_none;
+ return F_okay;
}
#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_)
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_string_too_large (with error bit) if the combined string is too large.
*
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_string_too_large (with error bit) if the combined string is too large.
*
* The destination string the source and glue are prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_string_too_large (with error bit) if the combined string is too large.
*
* The destination string the source and glue are prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_string_too_large (with error bit) if the combined string is too large.
*
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_append_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_append_assure_nulless_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_prepend_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_prepend_assure_nulless_
++range->start;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_seek_line_
while (string[range->start] != seek_to) {
- if (string[range->start] == f_string_eol_s.string[0]) return F_none_eol;
+ if (string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
++range->start;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_seek_line_to_
++range->start;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_seek_to_
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not_stop on success, but the range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_stop on success, but stopped at the stop location.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_stop on success, but stopped at the stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_stop on success, but stopped at the stop location.
+ * F_okay on success.
+ * F_okay_stop on success, but stopped at the stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_complete_not_utf (with error bit) if character is an incomplete UTF-8 fragment.
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_append_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_append_assure_nulless_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_partial_append_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_append_assure_nulless_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_partial_prepend_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_partial_prepend_assure_nulless
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_prepend_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_prepend_assure_nulless_
++range->start;
- if (range->start >= structure.used) return F_none_eos;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start >= structure.used) return F_okay_eos;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_seek_line_
while (structure.string[range->start] != seek_to_this) {
- if (structure.string[range->start] == f_string_eol_s.string[0]) return F_none_eol;
+ if (structure.string[range->start] == f_string_eol_s.string[0]) return F_okay_eol;
++range->start;
- if (range->start >= structure.used) return F_none_eos;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start >= structure.used) return F_okay_eos;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_seek_line_to_
++range->start;
- if (range->start >= structure.used) return F_none_eos;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start >= structure.used) return F_okay_eos;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_seek_to_
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- if (destination->used && !destination->string[destination->used - 1]) return F_none;
+ if (destination->used && !destination->string[destination->used - 1]) return F_okay;
if (destination->used == F_string_t_size_d) return F_status_set_error(F_string_too_large);
{
destination->string[destination->used++] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_terminate_
#endif // _di_level_0_parameter_checking_
if (destination->used < destination->size) {
- if (!destination->string[destination->used]) return F_none;
+ if (!destination->string[destination->used]) return F_okay;
}
if (destination->used == F_string_t_size_d) return F_status_set_error(F_string_too_large);
destination->string[destination->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamic_terminate_after_
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + 1 <= size) (or step is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eos on success, but stopped at end of string.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eos on success, but stopped at end of string.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_stop on success, but the range.start > range.stop.
*
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eos on success, but stopped at end of string.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eos on success, but stopped at end of string.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_stop on success, but the range.start > range.stop.
*
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eos on success, but stopped at end of string.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eos on success, but stopped at end of string.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_stop on success, but the range.start > range.stop.
*
* The new string, which will be allocated or reallocated as necessary.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if string is too large to fit into the buffer.
* The new string, which will be allocated or reallocated as necessary.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if string is too large to fit into the buffer.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination strings the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination strings the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0) (or amount is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0) (or amount is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_dynamicss_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamicss_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_dynamicss_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_dynamicss_append_all_
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination strings the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination strings the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0) (or amount is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0) (or amount is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_map_multis_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_map_multis_append_
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if the combined string is too large.
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The map_multis array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_map_multiss_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_map_multiss_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_map_multiss_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_map_multiss_append_all_
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if the combined string is too large.
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The map_multiss array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_maps_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_maps_append_
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if the combined string is too large.
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string maps array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_mapss_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_mapss_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_mapss_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_mapss_append_all_
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination mapss the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if the combined string is too large.
* The destination mapss the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + 1 <= size) (or step is 0).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string mapss array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
#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_number_unsigned_t length, f_string_dynamics_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#if !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_)
f_status_t private_f_string_dynamics_append(const f_string_dynamic_t source, f_string_dynamics_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_dynamics_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_string_dynamics_append_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_)
#if !defined(_di_f_string_dynamics_append_all_) || !defined(_di_f_string_map_multis_append_) || !defined(_di_f_string_map_multis_append_all_)
f_status_t private_f_string_dynamics_append_all(const f_string_dynamics_t source, f_string_dynamics_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_dynamics_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#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_number_unsigned_t length, f_string_dynamics_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The dynamics to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination dynamics the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination dynamics the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The dynamics to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#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_number_unsigned_t length, f_string_dynamicss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_string_dynamicss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The dynamicss to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The dynamicss to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#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_number_unsigned_t length, f_string_map_multis_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#if !defined(_di_f_string_map_multis_append_all_) || !defined(_di_f_string_map_multiss_append_) || !defined(_di_f_string_map_multiss_append_all_)
f_status_t private_f_string_map_multis_append_all(const f_string_map_multis_t source, f_string_map_multis_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_map_multis_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#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_number_unsigned_t length, f_string_map_multis_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The map_multis to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination map_multis the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The map_multis to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#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_number_unsigned_t length, f_string_map_multiss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_string_map_multiss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The map_multiss to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The map_multiss to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#if !defined(_di_f_string_maps_adjust_) || !defined(_di_f_string_maps_decimate_by_)
f_status_t private_f_string_maps_adjust(const f_number_unsigned_t length, f_string_maps_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#if !defined(_di_f_string_maps_append_all_) || !defined(_di_f_string_mapss_append_) || !defined(_di_f_string_mapss_append_all_)
f_status_t private_f_string_maps_append_all(const f_string_maps_t source, f_string_maps_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_maps_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#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_number_unsigned_t length, f_string_maps_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The maps to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The maps to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#if !defined(_di_f_string_mapss_adjust_) || !defined(_di_f_string_mapss_decimate_by_)
f_status_t private_f_string_mapss_adjust(const f_number_unsigned_t length, f_string_mapss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_string_mapss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The structure to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The structure to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
destination->array[destination->used++].total = source.array[i].total;
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_string_quantitys_append_all_) || !defined(_di_f_string_quantityss_append_) || !defined(_di_f_string_quantityss_append_all_)
* The destination quantitys the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#if !defined(_di_f_string_quantityss_adjust_) || !defined(_di_f_string_quantityss_decimate_by_)
f_status_t private_f_string_quantityss_adjust(const f_number_unsigned_t length, f_string_quantityss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_string_quantityss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The structure to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The structure to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
destination->array[destination->used++].stop = source.array[i].stop;
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_string_ranges_append_all_) || !defined(_di_f_string_rangess_append_) || !defined(_di_f_string_rangess_append_all_)
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#if !defined(_di_f_string_rangess_adjust_) || !defined(_di_f_string_rangess_decimate_by_)
f_status_t private_f_string_rangess_adjust(const f_number_unsigned_t length, f_string_rangess_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_string_rangess_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The structure to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The structure to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#if !defined(_di_f_string_triples_adjust_) || !defined(_di_f_string_triples_decimate_by_)
f_status_t private_f_string_triples_adjust(const f_number_unsigned_t length, f_string_triples_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#if !defined(_di_f_string_triples_append_all_) || !defined(_di_f_string_tripless_append_) || !defined(_di_f_string_tripless_append_all_)
f_status_t private_f_string_triples_append_all(const f_string_triples_t source, f_string_triples_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_triples_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#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_number_unsigned_t length, f_string_triples_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The triples to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination triples the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The triples to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The tripless to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The tripless to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#if !defined(_di_f_string_tripless_adjust_) || !defined(_di_f_string_tripless_decimate_by_)
f_status_t private_f_string_tripless_adjust(const f_number_unsigned_t length, f_string_tripless_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_string_tripless_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The tripless to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The tripless to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
destination->array[destination->used].start = source.start;
destination->array[destination->used++].total = source.total;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_quantitys_append_
* The string quantitys array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination quantitys the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination quantitys the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string quantitys array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string quantitys array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The string quantitys array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the new array length is too large.
* F_parameter (with error bit) if a parameter is invalid.
* The string quantitys array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the new array length is too large.
* F_parameter (with error bit) if a parameter is invalid.
* The string quantitys array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_quantityss_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_quantityss_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_quantityss_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_quantityss_append_all_
* The string quantityss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination quantityss the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination quantityss the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string quantityss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string quantityss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The string quantityss array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The string quantityss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string quantityss array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
destination->array[destination->used].start = source.start;
destination->array[destination->used++].stop = source.stop;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_ranges_append_
destination->array[destination->used++].stop = source.array[i].stop;
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_ranges_append_all_
* The string ranges array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination ranges the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string ranges array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string ranges array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_data_not on success, but there is no reason to increase size (used + 1 <= size).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_array_too_large (with error bit) if the new array length is too large.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string ranges array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string ranges array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_rangess_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_rangess_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_rangess_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_rangess_append_all_
* The string rangess array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination rangess the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination rangess the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string rangess array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string rangess array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string rangess array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The string rangess array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string rangess array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_triples_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_triples_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_triples_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_triples_append_all_
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The destination triples the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination triples the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string triples array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_string_tripless_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_tripless_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_string_tripless_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_string_tripless_append_all_
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The destination tripless the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination tripless the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string tripless array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
const f_status_t status = f_string_append(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_append_assure(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_append_assure(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_append_assure_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_append_assure_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_append_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamic_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_dynamic_append_assure(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_dynamic_append_assure(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_dynamic_append_assure_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_append_assure_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_append_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamic_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamic_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_dynamic_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_dynamic_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_dynamic_mash(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_dynamic_mash(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_mash_nulless(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
assert_string_equal(destination.string, expected1.string);
{
const f_status_t status = f_string_dynamic_mash_nulless(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
assert_string_equal(destination.string, expected2.string);
{
const f_status_t status = f_string_dynamic_mish(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_dynamic_mish(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_mish_nulless(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
assert_string_equal(destination.string, expected1.string);
{
const f_status_t status = f_string_dynamic_mish_nulless(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
assert_string_equal(destination.string, expected2.string);
{
const f_status_t status = f_string_dynamic_partial_append(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_append(expected, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_partial_append_assure(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_append(expected, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_partial_append_assure_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_partial_append_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_partial_mash(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
assert_string_equal(destination.string, expected1.string);
{
const f_status_t status = f_string_dynamic_partial_mash(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
assert_string_equal(destination.string, expected2.string);
{
const f_status_t status = f_string_dynamic_partial_mash_nulless(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
assert_string_equal(destination.string, expected1.string);
{
const f_status_t status = f_string_dynamic_partial_mash_nulless(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
assert_string_equal(destination.string, expected2.string);
{
const f_status_t status = f_string_dynamic_partial_mish(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
assert_string_equal(destination.string, expected1.string);
{
const f_status_t status = f_string_dynamic_partial_mish(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
assert_string_equal(destination.string, expected2.string);
{
const f_status_t status = f_string_dynamic_partial_mish_nulless(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
assert_string_equal(destination.string, expected1.string);
{
const f_status_t status = f_string_dynamic_partial_mish_nulless(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
assert_string_equal(destination.string, expected2.string);
{
const f_status_t status = f_string_dynamic_partial_prepend(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_partial_prepend_assure(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_partial_prepend_assure(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_partial_prepend_assure_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_partial_prepend_assure_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_partial_prepend_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_prepend(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_dynamic_prepend_assure(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_dynamic_prepend_assure(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_dynamic_prepend_assure_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_prepend_assure_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_prepend_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_dynamic_seek_line(source, &range);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_string_dynamic_seek_line(source, &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used - 1);
assert_int_equal(range.stop, source.used - 2);
const f_status_t status = f_string_dynamic_seek_line(source, &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 4);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_string_dynamic_seek_line__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_eos stopped after end of string because no newline is found.
+ * Test that the function returns F_okay_eos stopped after end of string because no newline is found.
*
* @see f_string_dynamic_seek_line()
*/
extern void test__f_string_dynamic_seek_line__returns_none_eos(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_string_dynamic_seek_line()
*/
const f_status_t status = f_string_dynamic_seek_line_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_eol);
+ assert_int_equal(status, F_okay_eol);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_string_dynamic_seek_line_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_string_dynamic_seek_line_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used - 1);
assert_int_equal(range.stop, source.used - 2);
const f_status_t status = f_string_dynamic_seek_line_to(source, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_string_dynamic_seek_line_to__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_eos stopped after end of string because no newline is found.
+ * Test that the function returns F_okay_eos stopped after end of string because no newline is found.
*
* @see f_string_dynamic_seek_line_to()
*/
extern void test__f_string_dynamic_seek_line_to__returns_none_eos(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_string_dynamic_seek_line_to()
*/
const f_status_t status = f_string_dynamic_seek_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_string_dynamic_seek_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used - 1);
assert_int_equal(range.stop, source.used - 2);
const f_status_t status = f_string_dynamic_seek_to(source, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 3);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_string_dynamic_seek_to__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_eos stopped after end of string because no newline is found.
+ * Test that the function returns F_okay_eos stopped after end of string because no newline is found.
*
* @see f_string_dynamic_seek_to()
*/
extern void test__f_string_dynamic_seek_to__returns_none_eos(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_string_dynamic_seek_to()
*/
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
data.string[0] = 'X';
}
{
const f_status_t status = f_string_dynamic_terminate(&data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 1);
assert_int_equal(data.string[0], 0);
}
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
data.string[0] = 0;
}
{
const f_status_t status = f_string_dynamic_terminate(&data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 1);
assert_int_equal(data.string[0], 0);
}
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
data.string[0] = 'X';
}
{
const f_status_t status = f_string_dynamic_terminate_after(&data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_in_range(data.size, 1, 1 + F_memory_default_allocation_small_d);
{
const f_status_t status = f_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_in_range(data.size, length, length + F_memory_default_allocation_small_d);
data.string[0] = 0;
{
const f_status_t status = f_string_dynamic_terminate_after(&data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_in_range(data.size, length, length + F_memory_default_allocation_small_d);
{
const f_status_t status = f_string_dynamics_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamics_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].used, source.used);
{
f_status_t status = f_string_dynamics_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_string_dynamic_append(test_sources[source.used], &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].used, test_sources[source.used].used);
assert_string_equal(source.array[source.used].string, test_sources[source.used].string);
{
const f_status_t status = f_string_dynamics_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_string_dynamics_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamics_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamics_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_dynamics_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_dynamics_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamicss_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_string_dynamics_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_string_dynamic_append(test_names[source.used], &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].string, test_names[source.used].string);
assert_int_equal(source.array[source.used].used, test_names[source.used].used);
} // for
{
const f_status_t status = f_string_dynamicss_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_inner);
for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
{
const f_status_t status = f_string_dynamics_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
f_status_t status = f_string_dynamicss_resize(length_outer, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
status = f_string_dynamics_resize(length_inner, &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].used, 0);
assert_int_equal(source.array[source.used].size, length_inner);
status = f_string_dynamic_append(test_names[i], &source.array[source.used].array[i]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].array[i].string, test_names[i].string);
assert_int_equal(source.array[source.used].array[i].used, test_names[i].used);
} // for
{
const f_status_t status = f_string_dynamicss_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
{
const f_status_t status = f_string_dynamicss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamicss_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamicss_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_dynamicss_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_dynamicss_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_map_multis_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_string_dynamic_append(test_name, &source.name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.name.used, test_name.used);
assert_string_equal(source.name.string, test_name.string);
status = f_string_dynamics_append_all(test_value, &source.value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.value.used, test_value.used);
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);
{
const f_status_t status = f_string_map_multis_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].name.used, source.name.used);
assert_int_equal(destination.array[0].value.used, source.value.used);
{
f_status_t status = f_string_map_multis_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_string_dynamic_append(test_name, &source.array[source.used].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].name.string, test_name.string);
assert_int_equal(source.array[source.used].name.used, test_name.used);
status = f_string_dynamics_append_all(test_value, &source.array[source.used].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].value.array[0].used, test_value.array[0].used);
assert_int_equal(source.array[source.used].value.array[1].used, test_value.array[1].used);
assert_string_equal(source.array[source.used].value.array[0].string, test_value.array[0].string);
{
const f_status_t status = f_string_map_multis_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_string_map_multis_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_map_multis_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_map_multis_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_map_multis_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_map_multis_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_map_multiss_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_string_map_multis_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_string_dynamic_append(test_names[source.used], &source.array[source.used].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].name.string, test_names[source.used].string);
assert_int_equal(source.array[source.used].name.used, test_names[source.used].used);
status = f_string_dynamics_append_all(test_values[source.used], &source.array[source.used].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].value.used, test_values[source.used].used);
assert_int_equal(source.array[source.used].value.array[0].used, test_values[source.used].array[0].used);
assert_int_equal(source.array[source.used].value.array[1].used, test_values[source.used].array[1].used);
{
const f_status_t status = f_string_map_multiss_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_inner);
for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
{
const f_status_t status = f_string_map_multis_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
f_status_t status = f_string_map_multiss_resize(length_outer, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
status = f_string_map_multis_resize(length_inner, &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].used, 0);
assert_int_equal(source.array[source.used].size, length_inner);
status = f_string_dynamic_append(test_names[i], &source.array[source.used].array[i].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].array[i].name.used, test_names[i].used);
assert_string_equal(source.array[source.used].array[i].name.string, test_names[i].string);
status = f_string_dynamics_append_all(test_values[i], &source.array[source.used].array[i].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].array[i].value.used, test_values[i].used);
assert_int_equal(source.array[source.used].array[i].value.array[0].used, test_values[i].array[0].used);
assert_int_equal(source.array[source.used].array[i].value.array[1].used, test_values[i].array[1].used);
{
const f_status_t status = f_string_map_multiss_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
{
const f_status_t status = f_string_map_multiss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_map_multiss_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_map_multiss_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_map_multiss_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_map_multiss_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_maps_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_string_dynamic_append(test_name, &source.name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.name.string, test_name.string);
assert_int_equal(source.name.used, test_name.used);
status = f_string_dynamic_append(test_value, &source.value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.value.string, test_value.string);
assert_int_equal(source.value.used, test_value.used);
}
{
const f_status_t status = f_string_maps_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].name.used, source.name.used);
assert_int_equal(destination.array[0].value.used, source.value.used);
{
f_status_t status = f_string_maps_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_string_dynamic_append(test_name, &source.array[source.used].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].name.string, test_name.string);
assert_int_equal(source.array[source.used].name.used, test_name.used);
status = f_string_dynamic_append(test_value, &source.array[source.used].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].value.string, test_value.string);
assert_int_equal(source.array[source.used].value.used, test_value.used);
} // for
{
const f_status_t status = f_string_maps_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_string_maps_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_maps_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_maps_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_maps_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_maps_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_mapss_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_string_maps_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_string_dynamic_append(test_names[source.used], &source.array[source.used].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].name.string, test_names[source.used].string);
assert_int_equal(source.array[source.used].name.used, test_names[source.used].used);
status = f_string_dynamic_append(test_values[source.used], &source.array[source.used].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].value.string, test_values[source.used].string);
assert_int_equal(source.array[source.used].value.used, test_values[source.used].used);
} // for
{
const f_status_t status = f_string_mapss_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_inner);
for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
{
const f_status_t status = f_string_maps_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
f_status_t status = f_string_mapss_resize(length_outer, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
status = f_string_maps_resize(length_inner, &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].used, 0);
assert_int_equal(source.array[source.used].size, length_inner);
status = f_string_dynamic_append(test_names[i], &source.array[source.used].array[i].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].array[i].name.string, test_names[i].string);
assert_int_equal(source.array[source.used].array[i].name.used, test_names[i].used);
status = f_string_dynamic_append(test_values[i], &source.array[source.used].array[i].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].array[i].value.string, test_values[i].string);
assert_int_equal(source.array[source.used].array[i].value.used, test_values[i].used);
} // for
{
const f_status_t status = f_string_mapss_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
{
const f_status_t status = f_string_mapss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_mapss_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_mapss_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_mapss_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_mapss_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_mash(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_mash(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_mash_nulless(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
assert_string_equal(destination.string, expected1.string);
{
const f_status_t status = f_string_mash_nulless(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
assert_string_equal(destination.string, expected2.string);
{
const f_status_t status = f_string_mish(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_mish(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_mish_nulless(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
assert_string_equal(destination.string, expected1.string);
{
const f_status_t status = f_string_mish_nulless(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
assert_string_equal(destination.string, expected2.string);
{
const f_status_t status = f_string_prepend(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_prepend_assure(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_prepend_assure(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_string_equal(destination.string, source.string);
{
const f_status_t status = f_string_prepend_assure_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_prepend_assure_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_prepend_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
assert_string_equal(destination.string, expected.string);
{
const f_status_t status = f_string_quantitys_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_quantitys_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].start, source.start);
assert_int_equal(destination.array[0].total, source.total);
{
const f_status_t status = f_string_quantitys_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_string_quantitys_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_quantitys_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_quantitys_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_quantitys_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_quantitys_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_quantitys_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_quantitys_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_quantitys_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_quantitys_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_quantitys_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_quantitys_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_quantityss_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_quantityss_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_sources);
for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
{
const f_status_t status = f_string_quantitys_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_quantityss_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_sources_set; ++j) {
{
const f_status_t status = f_string_quantityss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_quantityss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_quantityss_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_quantityss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_quantityss_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_quantityss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_quantityss_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_quantityss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_quantityss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_quantityss_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_quantityss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_ranges_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_ranges_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].start, source.start);
assert_int_equal(destination.array[0].stop, source.stop);
{
const f_status_t status = f_string_ranges_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_string_ranges_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_ranges_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_ranges_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_ranges_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_ranges_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_ranges_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_ranges_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_ranges_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_ranges_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_ranges_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_ranges_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_rangess_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_rangess_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_sources);
for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
{
const f_status_t status = f_string_ranges_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_rangess_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_sources_set; ++j) {
{
const f_status_t status = f_string_rangess_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_rangess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_rangess_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_rangess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_rangess_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_rangess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_rangess_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_rangess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_rangess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_rangess_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_rangess_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_seek_line(source.string, &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_string_seek_line(source.string, &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 4);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_string_seek_line__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_string_seek_line()
*/
const f_status_t status = f_string_seek_line_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none_eol);
+ assert_int_equal(status, F_okay_eol);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_string_seek_line_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_string_seek_line_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_string_seek_line_to__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_string_seek_line_to()
*/
const f_status_t status = f_string_seek_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_string_seek_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 3);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_string_seek_to__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_string_seek_to()
*/
{
const f_status_t status = f_string_triples_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_triples_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].a.used, source.a.used);
assert_int_equal(destination.array[0].b.used, source.b.used);
{
const f_status_t status = f_string_triples_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_string_triples_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_triples_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_triples_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_triples_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_triples_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_tripless_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_tripless_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_sources);
for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
{
const f_status_t status = f_string_triples_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_tripless_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_sources_set; ++j) {
{
const f_status_t status = f_string_tripless_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_tripless_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_tripless_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_tripless_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_string_tripless_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_key_create_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // defined(_pthread_attr_unsupported_) && !defined(_di_f_thread_attribute_affinity_get_)
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // defined(_pthread_attr_unsupported_) && !defined(_di_f_thread_attribute_affinity_set_)
*level = pthread_getconcurrency();
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_concurrency_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_concurrency_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_create_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_default_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_default_set_
if (pthread_attr_destroy(attribute)) return F_status_set_error(F_failure);
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_detach_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_detach_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_guard_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_guard_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_scheduler_inherit_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_scheduler_inherit_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_scheduler_parameter_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_scheduler_parameter_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_scheduler_policy_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_scheduler_policy_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_scope_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_scope_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_stack_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_stack_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_stack_size_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attribute_stack_size_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_attribute_create_
if (!attribute) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- return pthread_barrierattr_destroy(attribute) ? F_status_set_error(F_failure) : F_none;
+ return pthread_barrierattr_destroy(attribute) ? F_status_set_error(F_failure) : F_okay;
}
#endif // _di_f_thread_barrier_attribute_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_attribute_shared_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_attribute_shared_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_create_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_delete_
pthread_barrier_wait(barrier);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_wait_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_cancel_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_cancel_state_set_
pthread_testcancel();
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_cancel_test_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_cancel_type_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_clock_get_id_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attribute_clock_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attribute_clock_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attribute_create_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attribute_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attribute_shared_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attribute_shared_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_create_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_signal_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_signal_all_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_wait_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_wait_timed_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_create_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_detach_
pthread_exit(result);
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_exit_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_join_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_join_try_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_join_timed_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_key_create_
*key = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_key_delete_
*value = pthread_getspecific(key);
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_key_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_key_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_attribute_create_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_attribute_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_attribute_shared_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_attribute_shared_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_create_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_read_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_read_timed_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_read_try_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_write_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_write_timed_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_write_try_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_create_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_priority_ceiling_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_priority_ceiling_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_protocol_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_protocol_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_shared_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_shared_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_type_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attribute_type_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_create_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_lock_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_lock_timed_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_lock_try_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_priority_ceiling_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_priority_ceiling_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_unlock_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_once_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_scheduler_parameter_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_scheduler_parameter_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_scheduler_priority_set_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_create_
if (sem_destroy(semaphore) == -1) return (errno == EINVAL) ? F_status_set_error(F_parameter) : F_status_set_error(F_failure);
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_file_close_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_file_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_file_open_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_lock_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_lock_timed_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_lock_try_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_unlock_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphore_value_get_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_signal_mask_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // defined(_pthread_sigqueue_unsupported_) && !defined(_di_f_thread_signal_queue_)
}
if (signal) {
- return F_none;
+ return F_okay;
}
return F_found;
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_spin_create_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_spin_delete_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_spin_lock_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_spin_lock_try_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_spin_unlock_
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_unlock_
* The function called after forking, for the child process.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_memory_not (with error bit) if out of memory.
* The assigned affinity information.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The concurrency level.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_resource_not (with error bit) if the new level would cause the system to exceed available resources.
* The concurrency level.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Set to NULL to not use (in which case the default attribute is used).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_memory_not (with error bit) if out of memory.
* The thread attributes to process.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The thread attributes to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The currently assigned state.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The currently assigned guard size.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The currently assigned scheduler inherit state.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The currently assigned scheduler parameters.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The currently assigned scheduler policy state.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The currently assigned scheduler scope state.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_support_not (with error bit) if the scope is not supported by the current OS (such as Linux not supporting PTHREAD_SCOPE_PROCESS).
* The assigned stack.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) if the caller cannot both read and write to the stack address.
* F_parameter (with error bit) if a parameter is invalid.
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) if the caller cannot both read and write to the stack address.
* F_parameter (with error bit) if a parameter is invalid.
* The assigned size of the stack.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread attributes to update.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Set to NULL to not use (in which case the default attribute is used).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_memory_not (with error bit) if out of memory.
* The thread barrier_attributes to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The process shared attribute value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The barrier thread attribute.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The barrier to set.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if barrier is already in use (a re-initialization attempt).
* F_memory_not (with error bit) if out of memory.
* The thread barriers to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread to cancel.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_found_not (with error bit) if no thread by the given ID was found.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* If there is a pending thread cancel, the thread cancels and this function never returns.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* @see pthread_testcancel()
*/
* (Note: Linux allows this to be optional/NULL but POSIX does not explicitly defined this and there may be portability issues.)
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The retrieved clock ID.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_found_not (with error bit) if no thread by the given ID was found.
* F_support_not (with error bit) if per-CPU clocks are not supported by the OS.
* This assigns the default to the attribute.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The clock ID.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread condition attribute.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The attribute to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the attribute is busy.
* F_parameter (with error bit) if a parameter is invalid.
* The process shared attribute value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread condition attribute.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The condition to wait on.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The condition to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the condition is busy.
* F_parameter (with error bit) if a parameter is invalid.
* The condition to broadcast the unblock signal to.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The condition to broadcast the unblock signal to.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The mutex to use for waiting on condition.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_dead (with error bit) if the owning thread terminated while holding the mutex lock (thread is dead).
* F_parameter (with error bit) if a parameter is invalid.
* The mutex to use for waiting on condition.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_time on success, and wait timeout was reached before condition was triggered.
*
* F_dead (with error bit) if the owning thread terminated while holding the mutex lock (thread is dead).
* Set to NULL to not pass an argument.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to set the scheduling policy and parameters specified in attribute.
* The ID of the thread to detach.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_found_not (with error bit) if no thread by the given ID was found.
* F_parameter (with error bit) if a parameter is invalid.
* The code returned by the exited thread.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_deadlock (with error bit) if operation would cause a deadlock.ead.
* F_found_not (with error bit) if no thread by the given ID was found.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_busy on success, but thread could not be joined because it has not yet exited.
*
* F_deadlock (with error bit) if operation would cause a deadlock.ead.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_busy on success, but thread could not be joined because it has not yet exited.
* F_time on success, but thread could not be joined because it has not yet exited and the wait timeout was reached.
*
* The thread key.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The key to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The assigned thread key value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The thread key value to assign.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The lock attributes to create.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the lock is busy.
* F_memory_not (with error bit) if out of memory.
* The attribute to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the lock is busy.
* F_parameter (with error bit) if a parameter is invalid.
* The lock shared attribute value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The lock shared attribute value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The lock to create.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The lock to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the lock is busy.
* F_parameter (with error bit) if a parameter is invalid.
* The thread lock.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_deadlock (with error bit) if operation would cause a deadlock.
* F_parameter (with error bit) if a parameter is invalid.
* The read/write lock.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_time if the timeout was reached before obtaining the lock.
*
* F_deadlock (with error bit) if operation would cause a deadlock.
* The thread lock.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_busy on success, but the lock is already locked.
*
* F_parameter (with error bit) if a parameter is invalid.
* The thread lock.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_deadlock (with error bit) if operation would cause a deadlock.
* F_parameter (with error bit) if a parameter is invalid.
* The read/write lock.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_time if the timeout was reached before obtaining the lock.
*
* F_deadlock (with error bit) if operation would cause a deadlock.
* The thread lock.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_busy on success, but the lock is already locked.
*
* F_parameter (with error bit) if a parameter is invalid.
* The mutex attributes to create.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the mutex is busy.
* F_memory_not (with error bit) if out of memory.
* The attribute to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the mutex is busy.
* F_parameter (with error bit) if a parameter is invalid.
* The priority ceiling.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to perform the operation.
* The thread mutex attribute.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to perform the operation.
* The protocol.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to perform the operation.
* The thread mutex attribute.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to perform the operation.
* The mutex shared attribute value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The mutex shared attribute value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The type.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The mutex attribute.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The mutex to create.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the mutex is busy.
* F_memory_not (with error bit) if out of memory.
* The mutex to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the mutex is busy.
* F_parameter (with error bit) if a parameter is invalid.
* The priority ceiling.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to perform the operation.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_deadlock (with error bit) if operation would cause a deadlock.
* F_parameter (with error bit) if a parameter is invalid.
* The thread mutex.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to perform the operation (possibly because mutex is not owned by current thread).
* The thread mutex.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_deadlock (with error bit) if operation would cause a deadlock.
* F_parameter (with error bit) if a parameter is invalid.
* The thread mutex.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_time if the timeout was reached before obtaining the lock.
*
* F_deadlock (with error bit) if operation would cause a deadlock.
* The thread mutex.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_busy on success, but the mutex is already locked.
*
* F_parameter (with error bit) if a parameter is invalid.
* The once variable designating that the given routine will be called only once.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The scheduler parameter
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_support_not (with error bit) if the policy or scheduling parameter is invalid.
* The scheduler parameter
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if insufficient privileges or scheduler (or policy) does not allow operation.
* The scheduler priority.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_found_not (with error bit) no thread by the given ID was found.
* F_parameter (with error bit) if a parameter is invalid.
* The semaphore to create.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_support_not (with error bit) if the system does not support the process shared semaphore (shared == true).
* The semaphore to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the semaphore is busy.
* F_parameter (with error bit) if a parameter is invalid.
* The semaphore to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The semaphore name to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_found_not the named file was not found.
*
* F_access_denied (with error bit) on access denied.
* The thread semaphore.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_file_descriptor_max (with error bit) if max file descrriptors was reached.
* The thread semaphore.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_interrupt (with error bit) if returned due to an interrupt signal.
* The thread semaphore.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_time if the timeout was reached before obtaining the lock.
*
* F_parameter (with error bit) if a parameter is invalid.
* The thread semaphore.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_interrupt (with error bit) if returned due to an interrupt signal.
* The thread semaphore.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_number_overflow (with error bit) if max semaphore value is reached.
* F_parameter (with error bit) if a parameter is invalid.
* The semaphore's value.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Set to NULL to not use.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The signal value to send.
*
* @return
- * F_none on success but no signal found.
+ * F_okay on success but no signal found.
*
* F_found_not (with error bit) if no thread by the given ID was found.
* F_parameter (with error bit) if a parameter is invalid.
* If 0 is used instead of a valid signal, then instead check to see if the thread exists.
*
* @return
- * F_none on success and signal is not 0.
+ * F_okay on success and signal is not 0.
* F_found on success, signal is 0, and the thread by the given ID does exist.
*
* F_found_not on success, signal is 0, and the thread by the given ID does not exist.
* The spin to create.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The spin to delete.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_busy (with error bit) if the spin is busy.
* F_parameter (with error bit) if a parameter is invalid.
* The thread spin.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_deadlock (with error bit) if operation would cause a deadlock.
* F_parameter (with error bit) if a parameter is invalid.
* The thread spin.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_busy on success, but the spin is already locked.
*
* F_parameter (with error bit) if a parameter is invalid.
* The thread spin.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to perform the operation (possibly because spin is not owned by current thread).
* The thread lock.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if not allowed to perform the operation (possibly because lock is not owned by current thread).
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attributes_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attributes_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attributess_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_attributess_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barriers_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barriers_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrierss_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrierss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_attributes_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_attributes_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_attributess_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_barrier_attributess_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_conditions_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_conditions_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_conditionss_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_conditionss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attributes_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attributes_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attributess_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_condition_attributess_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_keys_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_keys_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_keyss_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_keyss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_locks_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_locks_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lockss_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lockss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_attributes_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_attributes_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_attributess_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_lock_attributess_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutexs_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutexs_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutexss_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutexss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attributes_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attributes_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attributess_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_mutex_attributess_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphores_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphores_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphoress_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_semaphoress_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_sets_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_sets_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_setss_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_setss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_spins_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_spins_destroy_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_spinss_delete_callback_
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_thread_spinss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
const f_status_t status = f_thread_at_fork(stub, stub, stub);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_affinity_get(attribute, 0, &cpu_set);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
#endif // defined(_pthread_attr_unsupported_)
}
const f_status_t status = f_thread_attribute_affinity_set(0, &cpu_set, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
#endif // defined(_pthread_attr_unsupported_)
}
const f_status_t status = f_thread_attribute_concurrency_get(&level);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(level, 1);
}
}
const f_status_t status = f_thread_attribute_concurrency_set(level);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_create(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_default_get(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_default_set(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_delete(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_detach_get(attribute, &state_data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_detach_set(state_data, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_guard_get(attribute, &guard);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_guard_set(guard, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_scheduler_inherit_get(attribute, &inherit);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_scheduler_inherit_set(inherit, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_scheduler_parameter_get(attribute, ¶meter);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_scheduler_parameter_set(parameter, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_scheduler_policy_get(attribute, &policy);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_scheduler_policy_set(policy, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_scope_get(attribute, &scope);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_scope_set(scope, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_stack_get(attribute, &stack_size, (void *) &stack);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_stack_set(stack_size, (void *) &stack, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_stack_size_get(attribute, &stack_size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attribute_stack_size_set(stack_size, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attributes_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_attributes_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barrier_attribute_create(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barrier_attribute_delete(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barrier_attribute_shared_get(&attribute, &shared);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barrier_attribute_shared_set(shared, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barrier_attributes_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barrier_attributes_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barrier_create(count, &attribute, &barrier);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barrier_delete(&barrier);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barrier_wait(&attribute, &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barriers_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_barriers_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_cancel(id);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_cancel_state_set(state_data, &previous);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
{
const f_status_t status = f_thread_cancel_test();
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_cancel_type_set(result, &previous);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_clock_get_id(id_thread, &id_clock);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_attribute_clock_get(&attribute, &id);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_attribute_clock_set(0, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_attribute_create(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_attribute_delete(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_attribute_shared_get(&attribute, &shared);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_attribute_shared_set(0, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_attributes_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_attributes_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_create(&attribute, &condition);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_delete(&condition);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_signal(&condition);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_signal_all(&condition);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_wait(&condition, &mutex);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_condition_wait_timed(&wait, &condition, &mutex);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_conditions_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_conditions_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_create(&attribute, &id, stub_callback, &argument);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_detach(id);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_exit(&result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, 1);
}
}
const f_status_t status = f_thread_join(id, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_join_timed(id, wait, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_join_try(id, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_key_create(stub_other, &key);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_key_delete(&key);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_key_get(key, (void *) &value_ptr);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(value_ptr, &expect);
}
}
const f_status_t status = f_thread_key_set(key, &value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_keys_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_keys_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_attribute_create(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_attribute_delete(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_attribute_shared_get(&attribute, &shared);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_attribute_shared_set(shared, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_attributes_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_attributes_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_create(&attribute, &lock);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_delete(&lock);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_read(&lock);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_read_timed(&timeout, &lock);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_read_try(&lock);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_write(&lock);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_write_timed(&timeout, &lock);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_lock_write_try(&lock);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_locks_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_locks_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_create(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_delete(&attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_priority_ceiling_get(&attribute, &ceiling);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_priority_ceiling_set(ceiling, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_protocol_get(&attribute, &protocol);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_protocol_set(protocol, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_shared_get(&attribute, &shared);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_shared_set(shared, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_type_get(&attribute, &type);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attribute_type_set(type, &attribute);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attributes_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_attributes_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_create(&attribute, &mutex);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_delete(&mutex);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_lock(&mutex);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_lock_timed(&timeout, &mutex);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_lock_try(&mutex);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_priority_ceiling_get(&mutex, &ceiling);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutex_priority_ceiling_set(ceiling, &mutex, &previous);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutexs_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_mutexs_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_once(stub, &once);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_onces_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_onces_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_scheduler_parameter_get(id, &policy, ¶meter);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_scheduler_parameter_set(id, policy, ¶meter);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_scheduler_priority_set(id, priority);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_create(shared, value, &semaphore);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_delete(&semaphore);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_file_close(&semaphore);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_file_delete(name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_file_open(name, flag, &mode, value, &semaphore_ptr);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_thread_semaphore_file_open(name, flag, &mode, value, &semaphore_ptr);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_lock(&semaphore);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_lock_timed(&timeout, &semaphore);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_lock_try(&semaphore);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_unlock(&semaphore);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphore_value_get(&semaphore, &value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphores_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_semaphores_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_sets_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_sets_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_signal_mask(how, &next, 0);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_thread_signal_mask(how, 0, ¤t);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_signal_mask(how, &next, ¤t);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_signal_queue(id, signal, value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
#endif // _pthread_sigqueue_unsupported_
}
const f_status_t status = f_thread_signal_write(id, signal);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_thread_spin_create(shared, &spin);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_spin_delete(&spin);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_spin_lock(&spin);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_spin_lock_try(&spin);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_spin_unlock(&spin);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_spins_delete_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
const f_status_t status = f_thread_spins_destroy_callback(0, length, (void *) datass_array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
}
time->tv_sec += (time_t) second;
- return time->tv_sec < (time_t) second ? F_status_set_error(F_number_overflow) : F_none;
+ return time->tv_sec < (time_t) second ? F_status_set_error(F_number_overflow) : F_okay;
}
#endif // _di_f_time_spec_millisecond_
if (time->tv_sec < (time_t) second) return F_status_set_error(F_number_overflow);
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_time_spec_nanosecond_
* This is still updated on F_number_underflow, but the underflow value is set to 0.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_number_overflow (with error bit) if the summation of seconds and milliseconds results in an overflow when cast to appropriate integer type.
* F_number_underflow (with error bit) if the seconds or milliseconds is less than 0 when cast to appropriate integer type.
* This is still updated on F_number_underflow, but the underflow value is set to 0.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_number_overflow (with error bit) if the summation of seconds and nanoseconds results in an overflow when cast to appropriate integer type.
* F_number_underflow (with error bit) if the second or nanoseconds is less than 0 when cast to appropriate integer type.
const f_status_t status = f_time_spec_millisecond(seconds[i], milliseconds[i], &time);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(time.tv_sec, seconds[i]);
assert_int_equal(time.tv_nsec, milliseconds[i] * 1000);
} // for
const f_status_t status = f_time_spec_millisecond(seconds[i], milliseconds[i], &time);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(time.tv_sec, seconds[i] + 1);
assert_int_equal(time.tv_nsec, (milliseconds[i] - 1000) * 1000);
} // for
const f_status_t status = f_time_spec_nanosecond(seconds[i], nanoseconds[i], &time);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(time.tv_sec, seconds[i]);
assert_int_equal(time.tv_nsec, nanoseconds[i]);
} // for
const f_status_t status = f_time_spec_nanosecond(seconds[i], nanoseconds[i], &time);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(time.tv_sec, seconds[i] + 1);
assert_int_equal(time.tv_nsec, (nanoseconds[i] - 1000000000));
} // for
#ifndef _di_f_status_t_
typedef uint16_t f_status_t;
- #define f_status_t_initialize F_none
+ #define f_status_t_initialize F_okay
#endif // _di_f_status_t_
/**
#define f_state_t_initialize { \
F_memory_default_allocation_large_d, \
F_memory_default_allocation_small_d, \
- F_none, \
+ F_okay, \
0, \
0, \
0, \
#define macro_f_state_t_clear(state) \
state.step_large = 0; \
state.step_small = 0; \
- state.status = F_none; \
+ state.status = F_okay; \
state.flag = 0; \
state.code = 0; \
state.handle = 0; \
{
f_cells_t * const array = (f_cells_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_cellss_delete_callback_
{
f_cells_t * const array = (f_cells_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_cellss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_files_t * const array = (f_files_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_filess_delete_callback_
{
f_files_t * const array = (f_files_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_filess_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_fll_ids_t * const array = (f_fll_ids_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fll_idss_delete_callback_
{
f_fll_ids_t * const array = (f_fll_ids_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_fll_idss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_int128s_t * const array = (f_int128s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int128ss_delete_callback_
{
f_int128s_t * const array = (f_int128s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int128ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_int16s_t * const array = (f_int16s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int16ss_delete_callback_
{
f_int16s_t * const array = (f_int16s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int16ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_int32s_t * const array = (f_int32s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int32ss_delete_callback_
{
f_int32s_t * const array = (f_int32s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int32ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_int64s_t * const array = (f_int64s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int64ss_delete_callback_
{
f_int64s_t * const array = (f_int64s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int64ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_int8s_t * const array = (f_int8s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int8ss_delete_callback_
{
f_int8s_t * const array = (f_int8s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_int8ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_number_unsigneds_t * const array = (f_number_unsigneds_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_number_unsignedss_delete_callback_
{
f_number_unsigneds_t * const array = (f_number_unsigneds_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_number_unsignedss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_polls_t * const array = (f_polls_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_pollss_delete_callback_
{
f_polls_t * const array = (f_polls_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_pollss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_states_t * const array = (f_states_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_statess_delete_callback_
{
f_states_t * const array = (f_states_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_statess_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_statuss_t * const array = (f_statuss_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_statusss_delete_callback_
{
f_statuss_t * const array = (f_statuss_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_statusss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_uint128s_t * const array = (f_uint128s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint128ss_delete_callback_
{
f_uint128s_t * const array = (f_uint128s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint128ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_uint16s_t * const array = (f_uint16s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint16ss_delete_callback_
{
f_uint16s_t * const array = (f_uint16s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint16ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_uint32s_t * const array = (f_uint32s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint32ss_delete_callback_
{
f_uint32s_t * const array = (f_uint32s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint32ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_uint64s_t * const array = (f_uint64s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint64ss_delete_callback_
{
f_uint64s_t * const array = (f_uint64s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint64ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_uint8s_t * const array = (f_uint8s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint8ss_delete_callback_
{
f_uint8s_t * const array = (f_uint8s_t *) void_array;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = start; i < stop; ++i) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_uint8ss_destroy_callback_
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
f_status_t status = f_memory_array_resize(length, sizeof(f_cells_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_cell_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_cellss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_cells_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_cell_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_cellss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_files_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_file_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_filess_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_files_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_file_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_filess_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_fll_ids_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_fll_id_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fll_idss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_fll_ids_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_fll_id_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_fll_idss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_int128s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_int128_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int128ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_int128s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_int128_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int128ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_int16s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(int16_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int16ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_int16s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(int16_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int16ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_int32s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(int32_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int32ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_int32s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(int32_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int32ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_int64s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(int64_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int64ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_int64s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(int64_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int64ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_int8s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(int8_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int8ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_int8s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(int8_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_int8ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_number_unsigneds_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_number_unsigned_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_number_unsignedss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_number_unsigneds_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_number_unsigned_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_number_unsignedss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_polls_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_poll_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_pollss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_polls_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_poll_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_pollss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_states_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_state_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_statess_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_states_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_state_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_statess_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_statuss_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_status_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_statusss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_statuss_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_status_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_statusss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_uint128s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(f_uint128_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint128ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_uint128s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(f_uint128_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint128ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_uint16s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(uint16_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint16ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_uint16s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(uint16_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint16ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_uint32s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(uint32_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint32ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_uint32s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(uint32_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint32ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_uint64s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(uint64_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint64ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_uint64s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(uint64_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint64ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_resize(length, sizeof(f_uint8s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_resize(1, sizeof(uint8_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint8ss_delete_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
{
f_status_t status = f_memory_array_adjust(length, sizeof(f_uint8s_t), (void **) &datass.array, &datass.used, &datass.size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
status = f_memory_array_adjust(1, sizeof(uint8_t), (void **) &datass.array[0].array, &datass.array[0].used, &datass.array[0].size);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
}
{
const f_status_t status = f_uint8ss_destroy_callback(0, length, (void *) datass.array);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(datass.array[0].size, 0);
}
if (!macro_f_utf_byte_width_is(*sequence)) {
*character_utf = macro_f_utf_char_t_from_char_1(sequence[0]);
- return F_none;
+ return F_okay;
}
if (macro_f_utf_byte_width_is(*sequence) == 1) return F_status_set_error(F_utf_fragment);
*character_utf = macro_f_utf_char_t_from_char_1(sequence[0]);
- if (macro_f_utf_byte_width_is(*sequence) < 2) return F_none;
+ if (macro_f_utf_byte_width_is(*sequence) < 2) return F_okay;
*character_utf |= macro_f_utf_char_t_from_char_2(sequence[1]);
- if (macro_f_utf_byte_width_is(*sequence) == 2) return F_none;
+ if (macro_f_utf_byte_width_is(*sequence) == 2) return F_okay;
*character_utf |= macro_f_utf_char_t_from_char_3(sequence[2]);
- if (macro_f_utf_byte_width_is(*sequence) == 3) return F_none;
+ if (macro_f_utf_byte_width_is(*sequence) == 3) return F_okay;
*character_utf |= macro_f_utf_char_t_from_char_4(sequence[3]);
- return F_none;
+ return F_okay;
}
#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_)
*codepoint |= macro_f_utf_char_t_to_char_4(sequence) & 0x3f;
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_utf_unicode_to_) || !defined(_di_f_utf_character_unicode_to_)
* This value may be cleared, even on error.
*
* @return
- * F_none if conversion was successful.
+ * F_okay if conversion was successful.
*
* F_complete_not_utf (with error bit) if character is an incomplete UTF-8 sequence.
* F_parameter (with error bit) if a parameter is invalid.
* Does not need to be interpretted like UTF-8, this is a number from 0 onto max supported Unicode integer value (U+10FFFF).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) if width is not long enough to convert.
* F_parameter (with error bit) if a parameter is invalid.
return F_status_set_error(F_complete_not_utf_eos);
}
- return F_none_eos;
+ return F_okay_eos;
}
++i;
} while (i < step);
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_buffer_decrement_
range->start += width;
- return F_none_stop;
+ return F_okay_stop;
}
else if (range->start + width >= buffer.used) {
if (width > 1 && range->start + width >= buffer.used + 1) {
range->start += width;
- return F_none_eos;
+ return F_okay_eos;
}
++i;
} while (i < step);
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_buffer_increment_
* (For UTF-8 character of width 3, each step would be (3 * sizeof(uint8_t)).
*
* @return
- * F_none on success.
- * F_none_stop if the stop range is reached before all steps are completed.
- * F_none_eos if the end of buffer is reached before all steps are completed.
+ * F_okay on success.
+ * F_okay_stop if the stop range is reached before all steps are completed.
+ * F_okay_eos if the end of buffer is reached before all steps are completed.
* F_data_not if buffer is empty or out of range.
*
* F_complete_not_utf_eos (with error bit) if the end of buffer is reached before the complete UTF-8 character can be processed.
* (For UTF-8 character of width 3, each step would be (3 * sizeof(uint8_t)).
*
* @return
- * F_none on success.
- * F_none_stop if the stop range is reached before all steps are completed.
- * F_none_eos if the end of buffer is reached before all steps are completed.
+ * F_okay on success.
+ * F_okay_stop if the stop range is reached before all steps are completed.
+ * F_okay_eos if the end of buffer is reached before all steps are completed.
* F_data_not if buffer is empty or out of range.
*
* F_complete_not_utf_stop (with error bit) if the stop range is reached before the complete UTF-8 character can be processed.
memcpy(*character, &unicode, sizeof(f_char_t) * macro_f_utf_char_t_width_is(unicode));
#endif // __BYTE_ORDER == __LITTLE_ENDIAN*/
- return F_none;
+ return F_okay;
}
memcpy(*character, &unicode, sizeof(f_char_t));
memcpy(*character, &unicode, sizeof(f_char_t));
#endif // __BYTE_ORDER == __LITTLE_ENDIAN*/
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_char_to_char_
*character |= 0xe0808080;
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_character_unicode_from_
*codepoint = value;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_character_unicode_string_to_
(*character)[3] = F_utf_byte_1_d | ((f_char_t) (codepoint & 0x3f));
}
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_unicode_from_
*unicode = value;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_unicode_string_to_
* This is then updated to represent the max bytes used if enough space is available.
*
* @return
- * F_none if conversion was successful.
+ * F_okay if conversion was successful.
*
* F_failure (with error bit) if width is not long enough to convert.
* F_parameter (with error bit) if a parameter is invalid.
* The Unicode number.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_utf_fragment (with error bit) if character is a UTF-8 fragment.
* The (UTF-8) character.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_utf_fragment (with error bit) if character is a UTF-8 fragment.
* Does not need to be interpretted like UTF-8, this is a number from 0 onto max supported Unicode integer value (U+10FFFF).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) if width_max is not long enough to convert.
* F_parameter (with error bit) if a parameter is invalid.
* This value may be cleared, even on error.
*
* @return
- * F_none if conversion was successful.
+ * F_okay if conversion was successful.
*
* F_failure (with error bit) if width is not long enough to convert.
* F_parameter (with error bit) if a parameter is invalid.
* The caller is expected to ensure this.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) if width_max is not long enough to convert.
* F_parameter (with error bit) if a parameter is invalid.
* Does not need to be interpretted like UTF-8, this is a number from 0 onto max supported Unicode integer value (U+10FFFF).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) if width is not long enough to convert.
* F_parameter (with error bit) if a parameter is invalid.
* Does not need to be interpretted like UTF-8, this is a number from 0 onto max supported Unicode integer value (U+10FFFF).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) if width_max is not long enough to convert.
* F_parameter (with error bit) if a parameter is invalid.
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_append_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_append_assure_nulless_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_partial_append_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_append_assure_nulless_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_partial_prepend_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_partial_prepend_assure_nulless
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_prepend_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_prepend_assure_nulless_
++range->start;
- if (range->start >= buffer.used) return F_none_eos;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start >= buffer.used) return F_okay_eos;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_seek_line_
return F_status_set_error(F_utf_fragment);
}
- if (buffer.string[range->start] == f_utf_char_eol_s) return F_none_eol;
+ if (buffer.string[range->start] == f_utf_char_eol_s) return F_okay_eol;
++range->start;
- if (range->start >= buffer.used) return F_none_eos;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start >= buffer.used) return F_okay_eos;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_seek_line_to_
++range->start;
- if (range->start >= buffer.used) return F_none_eos;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start >= buffer.used) return F_okay_eos;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_seek_to_
#endif // _di_level_0_parameter_checking_
if (destination->used && !destination->string[destination->used - 1]) {
- return F_none;
+ return F_okay;
}
if (destination->used == F_string_t_size_d) {
destination->string[destination->used++] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_terminate_
if (destination->used < destination->size) {
if (!destination->string[destination->used]) {
- return F_none;
+ return F_okay;
}
}
destination->string[destination->used] = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamic_terminate_after_
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + 1 <= size) (or step is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
* F_data_not_eos if range.start >= source.used.
* F_data_not_stop if range.start > range.stop.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eos on success, but stopped at end of string.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eos on success, but stopped at end of string.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_stop on success, but the range.start > range.stop.
*
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eos on success, but stopped at end of string.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eos on success, but stopped at end of string.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_stop on success, but the range.start > range.stop.
*
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eos on success, but stopped at end of string.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_eos on success, but stopped at end of string.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not on success, but there was no string data to seek.
* F_data_not_stop on success, but the range.start > range.stop.
*
* The new string, which will be allocated or reallocated as necessary.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if string is too large to fit into the buffer.
* The new string, which will be allocated or reallocated as necessary.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if string is too large to fit into the buffer.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination strings the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination strings the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0) (or amount is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0) (or amount is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_utf_string_dynamicss_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamicss_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_utf_string_dynamicss_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_dynamicss_append_all_
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination strings the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination strings the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0) (or amount is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0) (or amount is 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* This is the width in bytes the codepoint takes up in UTF-8.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if width_max is less than 1.
*
* F_complete_not_utf (with error bit set) if character is an incomplete UTF-8 sequence.
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_utf_string_map_multis_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_map_multis_append_
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if the combined string is too large.
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The map_multis array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The map_multis array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_utf_string_map_multiss_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_map_multiss_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_utf_string_map_multiss_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_map_multiss_append_all_
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if the combined string is too large.
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The map_multiss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The map_multiss array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_utf_string_maps_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_maps_append_
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if the combined string is too large.
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The string maps array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string maps array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_utf_string_mapss_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_mapss_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_utf_string_mapss_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_mapss_append_all_
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The destination mapss the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if the combined string is too large.
* The destination mapss the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is nothing to append (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + 1 <= size) (or step is 0).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string mapss array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string mapss array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
dynamic->used = length;
}
- return F_none;
+ return F_okay;
}
#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_)
dynamic->used = length;
}
- return F_none;
+ return F_okay;
}
#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_)
* The string to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_adjust().
*
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_string_too_large (with error bit) if the combined string is too large.
* The string to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_resize().
*
#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_number_unsigned_t length, f_utf_string_dynamics_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#if !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_)
f_status_t private_f_utf_string_dynamics_append(const f_utf_string_dynamic_t source, f_utf_string_dynamics_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_utf_string_dynamics_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_f_utf_string_dynamics_append_) || !defined(_di_f_utf_string_map_multis_append_) || !defined(_di_f_utf_string_map_multis_append_all_)
#if !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_)
f_status_t private_f_utf_string_dynamics_append_all(const f_utf_string_dynamics_t source, f_utf_string_dynamics_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_utf_string_dynamics_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#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(f_utf_string_dynamics_resize) || !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_dynamics_resize(const f_number_unsigned_t length, f_utf_string_dynamics_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The dynamics to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination dynamics the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination dynamics the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The dynamics to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#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_number_unsigned_t length, f_utf_string_dynamicss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_utf_string_dynamicss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The dynamicss to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The dynamicss to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#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_number_unsigned_t length, f_utf_string_map_multis_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#if !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_)
f_status_t private_f_utf_string_map_multis_append_all(const f_utf_string_map_multis_t source, f_utf_string_map_multis_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_utf_string_map_multis_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#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_number_unsigned_t length, f_utf_string_map_multis_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The map_multis to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination map_multis the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The map_multis to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#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_number_unsigned_t length, f_utf_string_map_multiss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_utf_string_map_multiss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The map_multiss to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The map_multiss to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#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_number_unsigned_t length, f_utf_string_maps_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#if !defined(_di_f_utf_string_maps_append_all_) || !defined(_di_f_utf_string_mapss_append_) || !defined(_di_f_utf_string_mapss_append_all_)
f_status_t private_f_utf_string_maps_append_all(const f_utf_string_maps_t source, f_utf_string_maps_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_utf_string_maps_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#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_number_unsigned_t length, f_utf_string_maps_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The maps to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination maps the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The maps to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#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_number_unsigned_t length, f_utf_string_mapss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_utf_string_mapss_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The structure to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The structure to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
destination->used += length;
destination->string[destination->used] = 0;
- return F_none;
+ return F_okay;
}
#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_number_unsigned_t length, f_utf_string_dynamic_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t size = 0;
destination->string[destination->used] = 0;
- return F_none;
+ return F_okay;
}
#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_)
destination->used += length;
- return F_none;
+ return F_okay;
}
#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_)
return F_status_set_error(F_string_too_large);
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t first = 0;
f_number_unsigned_t offset = 0;
}
} // for
- return F_none;
+ return F_okay;
}
#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_)
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_string_too_large (with error bit) if the combined string is too large.
*
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_string_too_large (with error bit) if the combined string is too large.
*
* The destination string the source and glue are prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_string_too_large (with error bit) if the combined string is too large.
*
* The destination string the source and glue are prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_string_too_large (with error bit) if the combined string is too large.
*
#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_number_unsigned_t length, f_utf_string_triples_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#if !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_triples_append_all(const f_utf_string_triples_t source, f_utf_string_triples_t * const destination) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_utf_string_triples_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#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_number_unsigned_t length, f_utf_string_triples_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The triples to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The destination triples the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The triples to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The tripless to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The tripless to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
#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_number_unsigned_t length, f_utf_string_tripless_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
#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_number_unsigned_t length, f_utf_string_tripless_t * const structure) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < structure->size; ++i) {
* The tripless to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
* The tripless to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the combined array is too large.
*
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_append_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_append_assure_nulless_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_prepend_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_prepend_assure_nulless_
++range->start;
if (range->start > range->stop) {
- return F_none_stop;
+ return F_okay_stop;
}
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_seek_line_
while (string[range->start] != seek_to) {
if (string[range->start] == f_utf_char_eol_s) {
- return F_none_eol;
+ return F_okay_eol;
}
++range->start;
if (range->start > range->stop) {
- return F_none_stop;
+ return F_okay_stop;
}
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_seek_line_to_
++range->start;
if (range->start > range->stop) {
- return F_none_stop;
+ return F_okay_stop;
}
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_seek_to_
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not_stop on success, but the range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_stop on success, but stopped at the stop location.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_stop on success, but stopped at the stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_stop on success, but stopped at the stop location.
+ * F_okay on success.
+ * F_okay_stop on success, but stopped at the stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_append_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_append_assure_nulless_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_prepend_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_prepend_assure_nulless_
++range->start;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_seek_line_
while (string[range->start] != seek_to) {
- if (string[range->start] == f_utf_char_t_eol_s) return F_none_eol;
+ if (string[range->start] == f_utf_char_t_eol_s) return F_okay_eol;
++range->start;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_seek_line_to_
++range->start;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_seek_to_
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not_stop on success, but the range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_stop on success, but stopped at the stop location.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_stop on success, but stopped at the stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_stop on success, but stopped at the stop location.
+ * F_okay on success.
+ * F_okay_stop on success, but stopped at the stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_append_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_append_assure_nulless_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_prepend_assure_
++j;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_prepend_assure_nulless_
++range->start;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_seek_line_
while (string[range->start] != seek_to) {
- if (string[range->start] == f_utf_char_t_eol_s) return F_none_eol;
+ if (string[range->start] == f_utf_char_t_eol_s) return F_okay_eol;
++range->start;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_seek_line_to_
++range->start;
- if (range->start > range->stop) return F_none_stop;
+ if (range->start > range->stop) return F_okay_stop;
} // while
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_seek_to_
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination string the source is prepended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_stop on success, but stopped at end of range.
+ * F_okay on success.
+ * F_okay_stop on success, but stopped at end of range.
* F_data_not_stop on success, but the range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_eol on success, but stopped at EOL.
- * F_none_stop on success, but stopped at the stop location.
+ * F_okay on success.
+ * F_okay_eol on success, but stopped at EOL.
+ * F_okay_stop on success, but stopped at the stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
* The start location will be incremented by seek.
*
* @return
- * F_none on success.
- * F_none_stop on success, but stopped at the stop location.
+ * F_okay on success.
+ * F_okay_stop on success, but stopped at the stop location.
* F_data_not_stop if range.start > range.stop.
*
* F_parameter (with error bit) if a parameter is invalid.
if (!destination) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_utf_string_triples_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_triples_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_utf_string_triples_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_triples_append_all_
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The destination triples the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination triples the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The string triples array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string triples array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + 1 > destination->size) {
status = private_f_utf_string_tripless_resize(destination->used + F_memory_default_allocation_small_d, destination);
++destination->used;
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_tripless_append_
if (!source.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (destination->used + source.used > destination->size) {
status = private_f_utf_string_tripless_resize(destination->used + source.used, destination);
}
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_f_utf_string_tripless_append_all_
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The destination tripless the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The destination tripless the source is appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (size == 0).
*
* F_parameter (with error bit) if a parameter is invalid.
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if amount is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay 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 the new array length is too large.
* The string tripless array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + amount <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The string tripless array to adjust.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
{
const f_status_t status = f_utf_string_append(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_append_assure(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_append_assure(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_append_assure_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_append_assure_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_append_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
uint8_t fourth = 0;
uint8_t width = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_utf_char_t sequence = 0; sequence < UINT32_MAX; ++sequence) {
{
const f_status_t status = f_utf_string_dynamic_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamic_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_append_assure(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_append_assure(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_append_assure_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_append_assure_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_append_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamic_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamic_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_dynamic_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_dynamic_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_utf_string_dynamic_mash(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_mash(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_mash_nulless(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_mash_nulless(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_mish(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_mish(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_mish_nulless(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_mish_nulless(glue, source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_append(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_append(expected, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_append_assure(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_append(expected, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_append_assure_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_append_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_mash(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_mash(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_mash_nulless(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_mash_nulless(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_mish(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_mish(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_mish_nulless(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_mish_nulless(glue, source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_prepend(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_prepend_assure(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_prepend_assure(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_prepend_assure_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_prepend_assure_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_partial_prepend_nulless(source, partial, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_prepend(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_prepend_assure(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_prepend_assure(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_prepend_assure_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_prepend_assure_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_prepend_nulless(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_dynamic_seek_line(source, &range);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_dynamic_seek_line(source, &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used - 1);
assert_int_equal(range.stop, source.used - 2);
const f_status_t status = f_utf_string_dynamic_seek_line(source, &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 4);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_utf_dynamic_seek_line__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_eos stopped after end of string because no newline is found.
+ * Test that the function returns F_okay_eos stopped after end of string because no newline is found.
*
* @see f_utf_string_dynamic_seek_line()
*/
extern void test__f_utf_dynamic_seek_line__returns_none_eos(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_utf_string_dynamic_seek_line()
*/
const f_status_t status = f_utf_string_dynamic_seek_line_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_eol);
+ assert_int_equal(status, F_okay_eol);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_dynamic_seek_line_to(source, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_dynamic_seek_line_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_dynamic_seek_line_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used - 1);
assert_int_equal(range.stop, source.used - 2);
extern void test__f_utf_dynamic_seek_line_to__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_eos stopped after end of string because no newline is found.
+ * Test that the function returns F_okay_eos stopped after end of string because no newline is found.
*
* @see f_utf_string_dynamic_seek_line_to()
*/
extern void test__f_utf_dynamic_seek_line_to__returns_none_eos(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_utf_string_dynamic_seek_line_to()
*/
const f_status_t status = f_utf_string_dynamic_seek_to(source, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 3);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_dynamic_seek_to(source, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_dynamic_seek_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_eos);
+ assert_int_equal(status, F_okay_eos);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_dynamic_seek_to(source, to.string[0], &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used - 1);
assert_int_equal(range.stop, source.used - 2);
const f_status_t status = f_utf_string_dynamic_seek_to(source, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 3);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_dynamic_seek_to(source, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_utf_dynamic_seek_to__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_eos stopped after end of string because no newline is found.
+ * Test that the function returns F_okay_eos stopped after end of string because no newline is found.
*
* @see f_utf_string_dynamic_seek_to()
*/
extern void test__f_utf_dynamic_seek_to__returns_none_eos(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_utf_string_dynamic_seek_to()
*/
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
data.string[0] = (f_utf_char_t) 'X';
}
{
const f_status_t status = f_utf_string_dynamic_terminate(&data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 1);
assert_int_equal(data.string[0], 0);
}
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
data.string[0] = 0;
}
{
const f_status_t status = f_utf_string_dynamic_terminate(&data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 1);
assert_int_equal(data.string[0], 0);
}
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
data.string[0] = (f_utf_char_t) 'X';
}
{
const f_status_t status = f_utf_string_dynamic_terminate_after(&data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_in_range(data.size, 1, 1 + F_memory_default_allocation_small_d);
{
const f_status_t status = f_utf_string_dynamic_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_in_range(data.size, length, length + F_memory_default_allocation_small_d);
data.string[0] = 0;
{
const f_status_t status = f_utf_string_dynamic_terminate_after(&data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_in_range(data.size, length, length + F_memory_default_allocation_small_d);
{
const f_status_t status = f_utf_string_dynamics_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamics_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].used, source.used);
{
f_status_t status = f_utf_string_dynamics_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_utf_string_dynamic_append(test_sources[source.used], &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].used, test_sources[source.used].used);
for (f_number_unsigned_t i = 0; i < source.array[source.used].used; ++i) {
{
const f_status_t status = f_utf_string_dynamics_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_utf_string_dynamics_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_utf_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamics_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamics_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_dynamics_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_utf_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_dynamics_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_utf_string_dynamics_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamicss_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_utf_string_dynamics_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_utf_string_dynamic_append(test_names[source.used], &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].used, test_names[source.used].used);
for (f_number_unsigned_t i = 0; i < source.array[source.used].used; ++i) {
{
const f_status_t status = f_utf_string_dynamicss_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_inner);
for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
{
const f_status_t status = f_utf_string_dynamics_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
f_status_t status = f_utf_string_dynamicss_resize(length_outer, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
status = f_utf_string_dynamics_resize(length_inner, &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].used, 0);
assert_int_equal(source.array[source.used].size, length_inner);
status = f_utf_string_dynamic_append(test_names[i], &source.array[source.used].array[i]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].array[i].used, test_names[i].used);
for (f_number_unsigned_t j = 0; j < source.array[source.used].array[i].used; ++j) {
{
const f_status_t status = f_utf_string_dynamicss_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
{
const f_status_t status = f_utf_string_dynamicss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_utf_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamicss_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamicss_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_dynamicss_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_utf_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_dynamicss_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_utf_string_dynamicss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_map_multis_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_utf_string_dynamic_append(test_name, &source.name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.name.used, test_name.used);
for (f_number_unsigned_t i = 0; i < source.name.used; ++i) {
status = f_utf_string_dynamics_append_all(test_value, &source.value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.value.used, test_value.used);
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);
{
const f_status_t status = f_utf_string_map_multis_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].name.used, source.name.used);
assert_int_equal(destination.array[0].value.used, source.value.used);
{
f_status_t status = f_utf_string_map_multis_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_utf_string_dynamic_append(test_name, &source.array[source.used].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].name.string, test_name.string);
assert_int_equal(source.array[source.used].name.used, test_name.used);
status = f_utf_string_dynamics_append_all(test_value, &source.array[source.used].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].value.array[0].used, test_value.array[0].used);
assert_int_equal(source.array[source.used].value.array[1].used, test_value.array[1].used);
assert_string_equal(source.array[source.used].value.array[0].string, test_value.array[0].string);
{
const f_status_t status = f_utf_string_map_multis_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_utf_string_map_multis_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_utf_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_map_multis_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_map_multis_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_map_multis_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_utf_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_map_multis_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_utf_string_map_multis_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_map_multiss_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_utf_string_map_multis_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_utf_string_dynamic_append(test_names[source.used], &source.array[source.used].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].name.string, test_names[source.used].string);
assert_int_equal(source.array[source.used].name.used, test_names[source.used].used);
status = f_utf_string_dynamics_append_all(test_values[source.used], &source.array[source.used].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].value.used, test_values[source.used].used);
assert_int_equal(source.array[source.used].value.array[0].used, test_values[source.used].array[0].used);
assert_int_equal(source.array[source.used].value.array[1].used, test_values[source.used].array[1].used);
{
const f_status_t status = f_utf_string_map_multiss_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_inner);
for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
{
const f_status_t status = f_utf_string_map_multis_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
f_status_t status = f_utf_string_map_multiss_resize(length_outer, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
status = f_utf_string_map_multis_resize(length_inner, &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].used, 0);
assert_int_equal(source.array[source.used].size, length_inner);
status = f_utf_string_dynamic_append(test_names[i], &source.array[source.used].array[i].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].array[i].name.used, test_names[i].used);
assert_string_equal(source.array[source.used].array[i].name.string, test_names[i].string);
status = f_utf_string_dynamics_append_all(test_values[i], &source.array[source.used].array[i].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].array[i].value.used, test_values[i].used);
assert_int_equal(source.array[source.used].array[i].value.array[0].used, test_values[i].array[0].used);
assert_int_equal(source.array[source.used].array[i].value.array[1].used, test_values[i].array[1].used);
{
const f_status_t status = f_utf_string_map_multiss_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
{
const f_status_t status = f_utf_string_map_multiss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_utf_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_map_multiss_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_map_multiss_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_map_multiss_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_utf_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_map_multiss_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_utf_string_map_multiss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_maps_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_utf_string_dynamic_append(test_name, &source.name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.name.string, test_name.string);
assert_int_equal(source.name.used, test_name.used);
status = f_utf_string_dynamic_append(test_value, &source.value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.value.string, test_value.string);
assert_int_equal(source.value.used, test_value.used);
}
{
const f_status_t status = f_utf_string_maps_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].name.used, source.name.used);
assert_int_equal(destination.array[0].value.used, source.value.used);
{
f_status_t status = f_utf_string_maps_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_utf_string_dynamic_append(test_name, &source.array[source.used].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].name.string, test_name.string);
assert_int_equal(source.array[source.used].name.used, test_name.used);
status = f_utf_string_dynamic_append(test_value, &source.array[source.used].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].value.string, test_value.string);
assert_int_equal(source.array[source.used].value.used, test_value.used);
} // for
{
const f_status_t status = f_utf_string_maps_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_utf_string_maps_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_utf_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_maps_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_maps_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_maps_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_utf_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_maps_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_utf_string_maps_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_mapss_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
f_status_t status = f_utf_string_maps_resize(length_inner, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.size, length_inner);
for (; source.used < length_inner; ++source.used) {
status = f_utf_string_dynamic_append(test_names[source.used], &source.array[source.used].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].name.string, test_names[source.used].string);
assert_int_equal(source.array[source.used].name.used, test_names[source.used].used);
status = f_utf_string_dynamic_append(test_values[source.used], &source.array[source.used].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].value.string, test_values[source.used].string);
assert_int_equal(source.array[source.used].value.used, test_values[source.used].used);
} // for
{
const f_status_t status = f_utf_string_mapss_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_inner);
for (f_number_unsigned_t i = 0; i < length_inner; ++i) {
{
const f_status_t status = f_utf_string_maps_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
f_status_t status = f_utf_string_mapss_resize(length_outer, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length_outer);
status = f_utf_string_maps_resize(length_inner, &source.array[source.used]);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.array[source.used].used, 0);
assert_int_equal(source.array[source.used].size, length_inner);
status = f_utf_string_dynamic_append(test_names[i], &source.array[source.used].array[i].name);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].array[i].name.string, test_names[i].string);
assert_int_equal(source.array[source.used].array[i].name.used, test_names[i].used);
status = f_utf_string_dynamic_append(test_values[i], &source.array[source.used].array[i].value);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_string_equal(source.array[source.used].array[i].value.string, test_values[i].string);
assert_int_equal(source.array[source.used].array[i].value.used, test_values[i].used);
} // for
{
const f_status_t status = f_utf_string_mapss_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_outer; ++j) {
{
const f_status_t status = f_utf_string_mapss_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_utf_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_mapss_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_mapss_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_mapss_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_utf_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_mapss_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_utf_string_mapss_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_mash(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_mash(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_mash_nulless(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
{
const f_status_t status = f_utf_string_mash_nulless(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
{
const f_status_t status = f_utf_string_mish(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_mish(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_mish_nulless(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected1.used);
for (f_number_unsigned_t i = 0; i < expected1.used; ++i) {
{
const f_status_t status = f_utf_string_mish_nulless(glue.string, glue.used, source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected2.used);
for (f_number_unsigned_t i = 0; i < expected2.used; ++i) {
{
const f_status_t status = f_utf_string_prepend(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_prepend_assure(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_prepend_assure(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t i = 0; i < source.used; ++i) {
{
const f_status_t status = f_utf_string_prepend_assure_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_prepend_assure_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
{
const f_status_t status = f_utf_string_prepend_nulless(source.string, source.used, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, expected.used);
for (f_number_unsigned_t i = 0; i < expected.used; ++i) {
const f_status_t status = f_utf_string_seek_line(source.string, &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_seek_line(source.string, &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 4);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_utf_seek_line__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_utf_string_seek_line()
*/
const f_status_t status = f_utf_string_seek_line_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none_eol);
+ assert_int_equal(status, F_okay_eol);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_seek_line_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_seek_line_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_utf_seek_line_to__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_utf_string_seek_line_to()
*/
const f_status_t status = f_utf_string_seek_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 3);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_seek_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(range.start, 2);
assert_int_equal(range.stop, source.used - 1);
const f_status_t status = f_utf_string_seek_to(source.string, to.string[0], &range);
- assert_int_equal(status, F_none_stop);
+ assert_int_equal(status, F_okay_stop);
assert_int_equal(range.start, source.used);
assert_int_equal(range.stop, source.used - 1);
extern void test__f_utf_seek_to__returns_data_not_stop(void **state);
/**
- * Test that the function returns F_none_stop stopped after end of range because no newline is found.
+ * Test that the function returns F_okay_stop stopped after end of range because no newline is found.
*
* @see f_utf_string_seek_to()
*/
{
const f_status_t status = f_utf_string_triples_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_triples_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, 1);
assert_int_equal(destination.array[0].a.used, source.a.used);
assert_int_equal(destination.array[0].b.used, source.b.used);
{
const f_status_t status = f_utf_string_triples_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
assert_int_equal(destination.size, source.used);
{
const f_status_t status = f_utf_string_triples_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_utf_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_triples_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_triples_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_triples_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_utf_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_triples_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_utf_string_triples_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_tripless_adjust(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_tripless_append(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.array[0].used, length_sources);
for (f_number_unsigned_t i = 0; i < length_sources; ++i) {
{
const f_status_t status = f_utf_string_triples_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_utf_string_tripless_append_all(source, &destination);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(destination.used, source.used);
for (f_number_unsigned_t j = 0; j < length_sources_set; ++j) {
{
const f_status_t status = f_utf_string_tripless_resize(length, &source);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(source.used, 0);
assert_int_equal(source.size, length);
}
{
const f_status_t status = f_utf_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_tripless_decimate_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_tripless_decrease_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, 0);
}
{
const f_status_t status = f_utf_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_tripless_increase(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_in_range(data.size, length + 1, length + 1 + F_memory_default_allocation_small_d);
}
{
const f_status_t status = f_utf_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
{
const f_status_t status = f_utf_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
const f_status_t status = f_utf_string_tripless_increase_by(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, length);
assert_int_equal(data.size, length * 2);
}
{
const f_status_t status = f_utf_string_tripless_resize(length, &data);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(data.used, 0);
assert_int_equal(data.size, length);
}
}
f_file_t file = macro_f_file_t_initialize_2(0, -1, F_file_flag_write_only_d);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_string_static_t path = f_string_static_t_initialize;
for (f_number_unsigned_t i = 0; i < control_group.groups.used; ++i) {
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fl_control_group_apply_
* The PID of the process to apply the control group(s) to.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* This value is only changed on success.
*
* @return
- * F_none if the binary string was converted to an signed long.
+ * F_okay if the binary string was converted to an signed long.
* F_data_not if string starts with a null (length is 0).
*
* F_base_not (with error bit) if no supported or valid base unit is provided.
* This value is only changed on success.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if string starts with a null (length is 0).
*
* F_base_not (with error bit) if no supported or valid base unit is provided.
* This value is only changed on success.
*
* @return
- * F_none if the binary string was converted to an unsigned long.
+ * F_okay if the binary string was converted to an unsigned long.
* F_data_not if string starts with a null (length is 0).
*
* F_base_not (with error bit) if no supported or valid base unit is provided.
* This value is only changed on success.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if string starts with a null (length is 0).
* F_number_negative on negative value (has a -, such as '-1').
* F_number_positive on positive value (has a +, such as '+1').
* This value is only changed on success.
*
* @return
- * F_none if the binary string was converted to an signed long.
+ * F_okay if the binary string was converted to an signed long.
* F_data_not if string starts with a null (length is 0).
*
* F_base_not (with error bit) if no supported or valid base unit is provided.
* This value is only changed on success.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if string starts with a null (length is 0).
*
* F_base_not (with error bit) if no supported or valid base unit is provided.
* This value is only changed on success.
*
* @return
- * F_none if the binary string was converted to an unsigned long.
+ * F_okay if the binary string was converted to an unsigned long.
* F_data_not if string starts with a null (length is 0).
*
* F_base_not (with error bit) if no supported or valid base unit is provided.
* This value is only changed on success.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if string starts with a null (length is 0).
* F_number_negative on negative value (has a -, such as '-1').
* F_number_positive on positive value (has a +, such as '+1').
if (string[i] == f_string_ascii_period_s.string[0]) return F_status_set_error(F_number_decimal);
- if (f_conversion_character_to_binary(string[i], &digit) == F_none) {
+ if (f_conversion_character_to_binary(string[i], &digit) == F_okay) {
if (digits) {
++digits;
*number = converted;
- return F_none;
+ return F_okay;
}
#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 (string[i] == f_string_ascii_period_s.string[0]) return F_status_set_error(F_number_decimal);
- if (f_conversion_character_to_binary(string[i], &digit) == F_none) {
+ if (f_conversion_character_to_binary(string[i], &digit) == F_okay) {
if (digits) {
++digits;
*number = converted;
- return F_none;
+ return F_okay;
}
#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 (string[i] == f_string_ascii_period_s.string[0]) return F_status_set_error(F_number_decimal);
- if (character_to_digit(string[i], &digit) == F_none) {
+ if (character_to_digit(string[i], &digit) == F_okay) {
if (digits) {
++digits;
| macro_f_utf_char_t_from_char_3_le(macro_f_utf_char_t_to_char_3_be(converted))
| macro_f_utf_char_t_from_char_4_le(macro_f_utf_char_t_to_char_4_be(converted));
- return F_none;
+ return F_okay;
}
#else
if (data.flag & fl_conversion_data_flag_endian_big_e) {
| macro_f_utf_char_t_from_char_3_be(macro_f_utf_char_t_to_char_3_le(converted))
| macro_f_utf_char_t_from_char_4_be(macro_f_utf_char_t_to_char_4_le(converted));
- return F_none;
+ return F_okay;
}
#endif // _is_F_endian_big
*number = converted;
- return F_none;
+ return F_okay;
}
#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 (string[i] == f_string_ascii_period_s.string[0]) return F_status_set_error(F_number_decimal);
- if (character_to_digit(string[i], &digit) == F_none) {
+ if (character_to_digit(string[i], &digit) == F_okay) {
if (digits) {
++digits;
| macro_f_utf_char_t_from_char_3_le(macro_f_utf_char_t_to_char_3_be(converted))
| macro_f_utf_char_t_from_char_4_le(macro_f_utf_char_t_to_char_4_be(converted));
- return F_none;
+ return F_okay;
}
#else
if (data.flag & fl_conversion_data_flag_endian_big_e) {
| macro_f_utf_char_t_from_char_3_be(macro_f_utf_char_t_to_char_3_le(converted))
| macro_f_utf_char_t_from_char_4_be(macro_f_utf_char_t_to_char_4_le(converted));
- return F_none;
+ return F_okay;
}
#endif // _is_F_endian_big
*number = converted;
- return F_none;
+ return F_okay;
}
#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_)
int8_t vector = 0; // 0 for assumed positive, 1 for explicit positive, -1 for negative.
f_number_unsigned_t j = 0;
f_number_unsigned_t offset = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < length; ++i) {
if (j >= length) {
*number = 0;
- return F_none;
+ return F_okay;
}
if (string[j] > f_string_ascii_slash_backward_s.string[0] && string[j] < f_string_ascii_colon_s.string[0]) {
uint8_t mode = 0;
f_number_unsigned_t j = 0;
f_number_unsigned_t offset = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
int8_t sign_found = 0;
for (f_number_unsigned_t i = 0; i < length; ++i) {
if (j >= length) {
*number = 0;
- return F_none;
+ return F_okay;
}
else if (string[j] > f_string_ascii_slash_backward_s.string[0] && string[j] < f_string_ascii_colon_s.string[0]) {
mode = 10;
// The +/- signs are not allowed.
if (sign_found) {
- if (status == F_none) return (sign_found == -1) ? F_number_negative : F_number_positive;
+ if (status == F_okay) return (sign_found == -1) ? F_number_negative : F_number_positive;
return F_status_set_error(F_number);
}
* This value is only changed on success.
*
* @return
- * F_none if the binary string was converted to an signed long.
+ * F_okay if the binary string was converted to an signed long.
* F_data_not if string starts with a null (length is 0).
*
* F_number (with error bit) if no conversion was made due to non-binary values being found.
* This value is only changed on success.
*
* @return
- * F_none if the binary string was converted to an unsigned long.
+ * F_okay if the binary string was converted to an unsigned long.
* F_data_not if string starts with a null (length is 0).
*
* F_number (with error bit) if no conversion was made due to non-binary values being found.
* This value is only changed on success.
*
* @return
- * F_none if the decimal string was converted to an signed long.
+ * F_okay if the decimal string was converted to an signed long.
* F_data_not if string starts with a null (length is 0).
*
* F_number (with error bit) if no conversion was made due to non-decimal values being found.
* This value is only changed on success.
*
* @return
- * F_none if the decimal string was converted to an unsigned long.
+ * F_okay if the decimal string was converted to an unsigned long.
* F_data_not if string starts with a null (length is 0).
*
* F_number (with error bit) if no conversion was made due to non-decimal values being found.
* This value is only changed on success.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if string starts with a null (length is 0).
*
* F_complete_not_utf (with error bit) if an incomplete UTF-8 fragment is found.
* This value is only changed on success.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if string starts with a null (length is 0).
* F_number_negative on negative value (has a -, such as '-1').
* F_number_positive on positive value (has a +, such as '+1').
recurse->path_cache.used = 0;
recurse->path_top = &path;
recurse->depth = 0;
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
recurse->state.data = (void *) recurse;
// Guarantee initialization even for parameter checking failures.
}
if ((recurse->flag & f_directory_recurse_do_flag_top_e) && (recurse->flag & f_directory_recurse_do_flag_before_e)) {
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
recurse->action((void *) recurse, path, f_directory_recurse_do_flag_top_e | f_directory_recurse_do_flag_path_e | f_directory_recurse_do_flag_before_e);
}
if (recurse->state.status == F_done) {
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
return;
}
if (F_status_is_error(recurse->state.status)) return;
}
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
recurse->action((void *) recurse, path, f_directory_recurse_do_flag_top_e | f_directory_recurse_do_flag_directory_e);
}
if (recurse->state.status == F_done) {
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
return;
}
}
if ((recurse->flag & f_directory_recurse_do_flag_top_e) && (recurse->flag & f_directory_recurse_do_flag_after_e)) {
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
recurse->action((void *) recurse, path, f_directory_recurse_do_flag_top_e | f_directory_recurse_do_flag_path_e | f_directory_recurse_do_flag_after_e);
}
if (F_status_is_error(recurse->state.status)) return;
}
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
}
#endif // _di_fl_directory_do_
f_number_unsigned_t i = path->used - 1;
f_number_unsigned_t j = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (; i > 0; --i) {
path->used = i + 1;
}
- return F_none;
+ return F_okay;
}
}
else {
path->used = 0;
- return F_none;
+ return F_okay;
}
#endif // _di_fl_directory_path_pop_
* This is applied to all created directories.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
* F_directory_found on success, but the directory already exists.
*
* This must not be NULL.
*
* This alters recurse.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not if source.used or destination.used is 0.
*
* F_directory_descriptor (with error bit) on directory file descriptor error.
* Will be populated with the names of all top-level paths found within the given directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source.used or destination.used is 0.
* F_directory_empty if directory is empty.
*
* This will only be NULL terminated if path string is already NULL terminated.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* This will only be NULL terminated if destination string is already NULL terminated.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if source.used is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
}
}
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
if (recurse->flag & f_directory_recurse_do_flag_list_e) {
recurse->action((void *) recurse, recurse->path, f_directory_recurse_do_flag_list_e);
}
if (recurse->state.status != F_done && F_status_is_error_not(recurse->state.status)) {
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
}
}
for (j = 0; j < 3; ++j) {
if (!flag_actions[j] || (recurse->flag & flag_actions[j])) {
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
recurse->action((void *) recurse, list[k]->array[i], flag_actions[j] | flags[k]);
}
}
else {
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
if (recurse->depth < recurse->depth_max) {
++recurse->depth;
if (F_status_is_error(recurse->state.status) || recurse->state.status == F_done) break;
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
} // for
}
struct dirent **entity = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
DIR *parent = opendir(path.string);
if (F_status_is_error(status)) return status;
if (!length) return F_directory_empty;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fl_directory_do_) || !defined(_di_fl_directory_list_)
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_status_t status = F_okay;
{
f_number_unsigned_t i = 0;
destination->string[destination->used - 1] = 0;
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fl_directory_path_push_) || !defined(_di_fl_directory_path_push_dynamic_)
* The directory recurse data.
*
* This alters recurse.state.status:
- * F_none on success.
+ * F_okay on success.
* F_done on success and instructed to end recursion.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
* The directory recurse data.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) for any other failure, failures might be populated with individual status codes.
*
* Will be populated with the names of all top-level paths found within the given directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if directory is empty.
*
* F_directory_descriptor (with error bit) on directory file descriptor error.
* This will only be NULL terminated if destination string is already NULL terminated.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if length is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
++environment->used;
- return F_none;
+ return F_okay;
}
#endif // _di_fl_environment_load_name_
++environment->used;
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_fl_environment_load_names_
if (!paths) return F_status_set_error(F_parameter);
#endif // _di_level_1_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (!path.used) {
paths->array[paths->used++].used = 0;
- return F_none;
+ return F_okay;
}
f_number_unsigned_t i = 0;
f_string_dynamic_resize(0, &architecture_bits);
#endif // _en_kevux_path_architecture_bits_
- return F_none;
+ return F_okay;
}
#endif // _di_fl_environment_path_explode_
if (!paths) return F_status_set_error(F_parameter);
#endif // _di_level_1_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (!path.used) {
paths->array[paths->used++].used = 0;
- return F_none;
+ return F_okay;
}
f_number_unsigned_t i = 0;
f_string_dynamic_resize(0, &architecture_bits);
#endif // _en_kevux_path_architecture_bits_
- return F_none;
+ return F_okay;
}
#endif // _di_fl_environment_path_explode_reverse_
* An array of maps generated from the loaded environment variable names.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if names.used is 0.
* F_exist_not if name does not exist.
*
* All environment names loaded are appended to this.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if names.used is 0.
*
* Errors (with error bit) from: f_environment_get().
* Each exploded path is not NULL terminated.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if paths array is too large for further addressing.
* F_memory_not (with error bit) on out of memory.
* Each exploded path is not NULL terminated.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if paths array is too large for further addressing.
* F_memory_not (with error bit) on out of memory.
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eol) {
+ if (state->status == F_okay_eol) {
++range->start;
state->status = F_fss_found_content_not;
return;
}
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
f_fss_skip_past_delimit(buffer, range, state);
if (F_status_is_error(state->status)) break;
- if (state->status == F_none_eos || state->status == F_none_stop) return;
+ if (state->status == F_okay_eos || state->status == F_okay_stop) return;
if (buffer.string[range->start] == f_fss_basic_close_s.string[0]) break;
} // for
}
#endif // _di_level_1_parameter_checking_
- state->status = F_none;
+ state->status = F_okay;
f_fss_skip_past_delimit(content, range, state);
if (F_status_is_error(state->status)) return;
if (content.string[range->start] == f_fss_eol_s.string[0]) {
destination->used = destination_used;
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
return;
}
destination->string[destination->used++] = f_fss_basic_close_s.string[0];
}
- if (range->start > range->stop) state->status = F_none_stop;
- else state->status = F_none_eos;
+ if (range->start > range->stop) state->status = F_okay_stop;
+ else state->status = F_okay_eos;
}
#endif // _di_fl_fss_basic_content_write_
}
if (complete == f_fss_complete_partial_e || complete == f_fss_complete_partial_trim_e || complete == f_fss_complete_full_e || complete == f_fss_complete_full_trim_e || complete == f_fss_complete_trim_e) {
- if (state->status == F_none_stop || state->status == F_none_eos || state->status == F_data_not_stop || state->status == F_data_not_eos) {
+ if (state->status == F_okay_stop || state->status == F_okay_eos || state->status == F_data_not_stop || state->status == F_data_not_eos) {
const f_status_t status_original = state->status;
if (complete == f_fss_complete_full_trim_e || complete == f_fss_complete_trim_e) {
* This alters state.status:
* F_fss_found_content on success and content was found (start location is at end of content).
* F_fss_found_content_not on success and no content was found (start location is after character designating this is not a content).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
* Error bit designates an error but must be passed along with F_interrupt.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching the range stop.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching the range stop.
* F_data_not if content is empty (content.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
- * F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
+ * F_okay_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_fss_skip_past_delimit().
* F_fss_found_object on success and object was found (start location is at end of object).
* F_fss_found_object_content_not on success but object ended at the line so there can be no content.
* F_fss_found_object_not on success and no object was found (start location is after character designating this is not an object).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching the range stop.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching the range stop.
* F_data_not if object is empty (object.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
- * F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
+ * F_okay_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_fss_is_space().
if (range->start >= buffer.used) {
found->array[found->used].stop = buffer.used - 1;
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
found->array[found->used].stop = range->stop;
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
return;
if (range->start >= buffer.used) {
found->array[found->used].stop = buffer.used - 1;
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
found->array[found->used].stop = range->stop;
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_stop || state->status == F_none_eos) {
+ if (state->status == F_okay_stop || state->status == F_okay_eos) {
if (complete == f_fss_complete_full_e || complete == f_fss_complete_full_trim_e || complete == f_fss_complete_end_e) {
const f_status_t status = f_string_dynamic_increase(state->step_large, destination);
destination->string[destination->used++] = f_fss_basic_list_close_s.string[0];
}
- state->status = state->status == F_none_stop ? F_data_not_stop : F_data_not_eos;
+ state->status = state->status == F_okay_stop ? F_data_not_stop : F_data_not_eos;
return;
}
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else if (range->start >= content.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
- state->status = F_none;
+ state->status = F_okay;
}
}
#endif // _di_fl_fss_basic_list_content_write_
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eol) {
+ if (state->status == F_okay_eol) {
// Move the start position to after the EOL.
++range->start;
return;
}
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
f_fss_seek_to_eol(buffer, range, state);
if (F_status_is_error(state->status)) return;
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
if (range->start >= buffer.used) {
found->stop = buffer.used - 1;
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
found->stop = range->stop;
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
return;
}
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_stop || state->status == F_none_eos) {
+ if (state->status == F_okay_stop || state->status == F_okay_eos) {
if (complete == f_fss_complete_partial_e || complete == f_fss_complete_partial_trim_e || complete == f_fss_complete_full_e || complete == f_fss_complete_full_trim_e) {
{
const f_status_t status = f_string_dynamic_increase_by(state->step_small + 2, destination);
}
}
- state->status = state->status == F_none_stop ? F_data_not_stop : F_data_not_eos;
+ state->status = state->status == F_okay_stop ? F_data_not_stop : F_data_not_eos;
return;
}
// Objects will not have leading white spaces, but having this does not result in an invalid object, so just write the provided spaces.
if (object.string[range->start] != f_fss_placeholder_s.string[0]) {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
}
else {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
if (object.string[range->start] != f_fss_placeholder_s.string[0]) {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else if (range->start >= object.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
- state->status = F_none;
+ state->status = F_okay;
}
}
#endif // _di_fl_fss_basic_list_object_write_
* This alters state.status:
* F_fss_found_content on success and content was found (start location is at end of content).
* F_fss_found_content_not on success and no content was found (start location is after character designating this is not a content).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eol on success after reaching the end of the line.
- * F_none_eos on success after reaching the end of the buffer.
+ * F_okay on success.
+ * F_okay_eol on success after reaching the end of the line.
+ * F_okay_eos on success after reaching the end of the buffer.
* F_data_not if content is empty (content.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
- * F_none_stop on success after reaching stopping point.
+ * F_okay_stop on success after reaching stopping point.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
* This alters state.status:
* F_fss_found_object on success and object was found (start location is at end of object).
* F_fss_found_object_not on success and no object was found (start location is after character designating this is not an object).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
* F_data_not if object is empty (object.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
- * F_none_stop on success after reaching stopping point.
+ * F_okay_stop on success after reaching stopping point.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
- * F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
+ * F_okay_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_fss_is_graph().
f_fss_skip_past_delimit(buffer, range, state);
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eos || state->status == F_none_stop) return;
+ if (state->status == F_okay_eos || state->status == F_okay_stop) return;
state->status = f_memory_array_increase(state->step_small, sizeof(f_fss_nest_t), (void **) &found->depth, &found->used, &found->size);
if (F_status_is_error(state->status)) return;
f_string_ranges_resize(0, &objects);
f_memory_array_resize(0, sizeof(f_number_unsigned_t), (void **) &slashes.array, &slashes.used, &slashes.size);
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
return;
}
f_memory_array_resize(0, sizeof(f_number_unsigned_t), (void **) &slashes.array, &slashes.used, &slashes.size);
if (range->start >= buffer.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
} else if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else {
state->status = F_fss_found_content;
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
}
- else if (state->status == F_none_stop) {
+ else if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
}
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else if (range->start >= content.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
- state->status = F_none;
+ state->status = F_okay;
}
}
#endif // _di_fl_fss_embedded_list_content_write_
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eol) {
+ if (state->status == F_okay_eol) {
// Move the start position to after the EOL.
++range->start;
return;
}
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
return;
}
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
if (range->start >= buffer.used) {
found->stop = buffer.used - 1;
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
found->stop = range->stop;
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
}
- else if (state->status == F_none_stop) {
+ else if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
}
// Objects will not have leading white spaces, but having this does not result in an invalid object, so just write the provided spaces.
if (object.string[range->start] != f_fss_placeholder_s.string[0]) {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
}
else {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
if (object.string[range->start] != f_fss_placeholder_s.string[0]) {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
ends_on_space = F_true;
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else if (range->start >= object.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
- state->status = F_none;
+ state->status = F_okay;
}
}
#endif // _di_fl_fss_embedded_list_object_write_
* This alters state.status:
* F_fss_found_content on success and content was found (start location is at end of content).
* F_fss_found_content_not on success and no content was found (start location is after character designating this is not a content).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
* F_data_not if content is empty (content.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
- * F_none_stop on success after reaching stopping point.
+ * F_okay_stop on success after reaching stopping point.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
* This alters state.status:
* F_fss_found_object on success and object was found (start location is at end of object).
* F_fss_found_object_not on success and no object was found (start location is after character designating this is not an object).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
* F_data_not if object is empty (object.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
- * F_none_stop on success after reaching stopping point.
+ * F_okay_stop on success after reaching stopping point.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
- * F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
+ * F_okay_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_fss_is_graph().
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eol) {
+ if (state->status == F_okay_eol) {
++range->start;
state->status = F_fss_found_content_not;
return;
}
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
uint8_t content_found = 0;
uint8_t quote = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
while (range->start <= range->stop && range->start < buffer.used) {
}
else if (state->status == F_data_not_eos) {
if (content_found) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
content_found = 2;
}
else if (state->status == F_data_not_stop) {
if (content_found) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
content_found = 2;
return;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (state->status == F_data_not_stop || state->status == F_data_not_eos) {
destination->string[destination->used++] = f_fss_extended_close_s.string[0];
}
- state->status = (state->status == F_data_not_stop) ? F_none_stop : F_none_eos;
+ state->status = (state->status == F_data_not_stop) ? F_okay_stop : F_okay_eos;
return;
}
return;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (state->status == F_data_not_stop || state->status == F_data_not_eos) {
}
if (complete == f_fss_complete_partial_e || complete == f_fss_complete_partial_trim_e || complete == f_fss_complete_full_e || complete == f_fss_complete_full_trim_e || complete == f_fss_complete_trim_e) {
- if (state->status == F_none_stop || state->status == F_none_eos || state->status == F_data_not_stop || state->status == F_data_not_eos) {
- status = F_none;
+ if (state->status == F_okay_stop || state->status == F_okay_eos || state->status == F_data_not_stop || state->status == F_data_not_eos) {
+ status = F_okay;
if (complete == f_fss_complete_full_trim_e || complete == f_fss_complete_trim_e) {
private_fl_fss_basic_write_object_trim(quote ? quote : f_fss_quote_double_s.string[0], destination_used, destination, state);
* This alters state.status:
* F_fss_found_content on success and content was found (start location is at end of content).
* F_fss_found_content_not on success and no content was found (start location is after character designating this is not a content).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching the range stop.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching the range stop.
* F_data_not if content is empty (content.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
- * F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
+ * F_okay_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_fss_is_space().
* F_fss_found_object on success and object was found (start location is at end of object).
* F_fss_found_object_content_not on success but object ended at the line so there can be no content.
* F_fss_found_object_not on success and no object was found (start location is after character designating this is not an object).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching the range stop.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching the range stop.
* F_data_not if object is empty (object.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
- * F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
+ * F_okay_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_fss_is_space().
if (range->start >= buffer.used) {
found->array[found->used].stop = buffer.used - 1;
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
found->array[found->used].stop = range->stop;
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
return;
f_fss_skip_past_space(buffer, range, state);
if (F_status_is_error(state->status)) break;
- if (state->status == F_none_eol) {
+ if (state->status == F_okay_eol) {
newline_last = range->start++;
continue;
}
- if (state->status == F_none_eos || state->status == F_none_stop) break;
+ if (state->status == F_okay_eos || state->status == F_okay_stop) break;
if (buffer.string[range->start] == f_fss_slash_s.string[0]) {
slash_first = range->start;
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
}
- else if (state->status == F_none_stop) {
+ else if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
}
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else if (range->start >= content.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
- state->status = F_none;
+ state->status = F_okay;
}
}
#endif // _di_fl_fss_extended_list_content_write_
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eol) {
+ if (state->status == F_okay_eol) {
// Move the start position to after the EOL.
++range->start;
return;
}
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
return;
}
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
if (range->start >= buffer.used) {
found->stop = buffer.used - 1;
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
found->stop = range->stop;
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
}
- else if (state->status == F_none_stop) {
+ else if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
}
// Objects will not have leading white spaces, but having this does not result in an invalid object, so just write the provided spaces.
if (object.string[range->start] != f_fss_placeholder_s.string[0]) {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
}
else {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
if (object.string[range->start] != f_fss_placeholder_s.string[0]) {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
ends_on_space = F_true;
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else if (range->start >= object.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
else {
- state->status = F_none;
+ state->status = F_okay;
}
}
#endif // _di_fl_fss_extended_list_object_write_
* This alters state.status:
* F_fss_found_content on success and content was found (start location is at end of content).
* F_fss_found_content_not on success and no content was found (start location is after character designating this is not a content).
- * F_none_eos on success after reaching the end of the buffer (a valid content is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid content is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid content is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid content is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no content found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no content found after reaching stopping point (essentially only comments are found).
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
* F_data_not if content is empty (content.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
- * F_none_stop on success after reaching stopping point.
+ * F_okay_stop on success after reaching stopping point.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
* F_parameter (with error bit) if a parameter is invalid.
* This alters state.status:
* F_fss_found_object on success and object was found (start location is at end of object).
* F_fss_found_object_not on success and no object was found (start location is after character designating this is not an object).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
* F_data_not if object is empty (object.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
- * F_none_stop on success after reaching stopping point.
+ * F_okay_stop on success after reaching stopping point.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
- * F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
+ * F_okay_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_fss_is_graph().
#if !defined(_di_fl_fss_basic_list_content_write_) || !defined(_di_fl_fss_extended_list_content_write_) || !defined(_di_fl_fss_embedded_list_content_write_)
void private_fl_fss_basic_list_write_add_until_end(const f_string_static_t buffer, f_string_range_t * const range, f_string_dynamic_t * const destination, f_state_t * const state) {
- state->status = F_none;
+ state->status = F_okay;
for (; range->start <= range->stop && range->start < buffer.used; ++range->start) {
f_number_unsigned_t i = 0;
uint8_t width = 0;
- state->status = F_none;
+ state->status = F_okay;
for (; destination_range.start < destination->used; ++destination_range.start) {
}
}
- state->status = F_none;
+ state->status = F_okay;
}
#endif // !defined(_di_fl_fss_basic_list_object_write_) || !defined(_di_fl_fss_extended_list_object_write_)
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eol) {
+ if (state->status == F_okay_eol) {
// Move the start position to after the EOL.
++range->start;
return;
}
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
if (range->start >= buffer.used) {
found->stop = buffer.used - 1;
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
found->stop = range->stop;
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
}
if (++range->start >= buffer.used) {
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
if (range->start >= buffer.used) {
found->stop = buffer.used - 1;
- state->status = F_none_eos;
+ state->status = F_okay_eos;
return;
}
if (range->start > range->stop) {
found->stop = range->stop;
- state->status = F_none_stop;
+ state->status = F_okay_stop;
return;
}
}
}
else {
- state->status = F_none;
+ state->status = F_okay;
while (range->start <= range->stop && range->start < buffer.used) {
if (F_status_is_error(state->status)) return;
if (state->status == F_data_not) return;
- if (state->status == F_none_eos) {
+ if (state->status == F_okay_eos) {
state->status = F_data_not_eos;
return;
}
- if (state->status == F_none_stop) {
+ if (state->status == F_okay_stop) {
state->status = F_data_not_stop;
return;
}
- if (state->status == F_none_eol) {
- state->status = F_status_set_error(F_none_eol);
+ if (state->status == F_okay_eol) {
+ state->status = F_status_set_error(F_okay_eol);
return;
}
}
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
}
else {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
}
else {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
}
else {
if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
} // for
}
else if (object.string[range->start] == f_fss_eol_s.string[0]) {
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
break;
}
if (object.string[i] == f_fss_eol_s.string[0]) {
destination->used = used_start;
- state->status = F_status_set_error(F_none_eol);
+ state->status = F_status_set_error(F_okay_eol);
return;
}
destination->string[used_start] = f_fss_slash_s.string[0];
}
- if (range->start > range->stop) state->status = F_none_stop;
- else state->status = F_none_eos;
+ if (range->start > range->stop) state->status = F_okay_stop;
+ else state->status = F_okay_eos;
}
#endif // !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_) || !defined(_di_fl_fss_extended_content_write_)
}
}
- state->status = F_none;
+ state->status = F_okay;
}
#endif // !defined(_di_fl_fss_basic_object_write_) || !defined(_di_fl_fss_extended_object_write_)
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
*
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
*
* This alters state.status:
* F_fss_found_object on success and object was found (start location is at end of object).
* F_fss_found_object_not on success and no object was found (start location is after character designating this is not an object).
- * F_none_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
- * F_none_stop on success after reaching stopping point (a valid object is not yet confirmed).
+ * F_okay_eos on success after reaching the end of the buffer (a valid object is not yet confirmed).
+ * F_okay_stop on success after reaching stopping point (a valid object is not yet confirmed).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no objects found after reaching the end of the buffer (essentially only comments are found).
* F_data_not_stop no data found after reaching stopping point (essentially only comments are found).
*
* F_fss_found_object_content_not (with error bit) If an unterminated quoted Object is found.
* F_interrupt (with error bit) if stopping due to an interrupt.
- * F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
+ * F_okay_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_memory_array_increase().
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching the range stop.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching the range stop.
* F_data_not if object is empty (object.used is 0).
* F_data_not_stop no data to write due start location being greater than stop location.
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
- * F_none_eol (with error bit) after reaching an EOL, which is not supported by the standard.
+ * F_okay_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_fss_is_space().
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) if stopping due to an interrupt.
*
* This must not be NULL.
*
* This alters state.status:
- * F_none on success and an IKI vocabulary name was found.
- * F_none_stop on success and an IKI vocabulary name was found and stop point was reached.
- * F_none_eos on success and an IKI vocabulary name was found and end of string was reached.
+ * F_okay on success and an IKI vocabulary name was found.
+ * F_okay_stop on success and an IKI vocabulary name was found and stop point was reached.
+ * F_okay_eos on success and an IKI vocabulary name was found and end of string was reached.
* F_complete_not_utf_eos on success and EOS was reached, but at an incomplete UTF-8 sequence.
* F_complete_not_utf_stop on success and stop point was reached, but at an incomplete UTF-8 sequence.
* F_data_not_eos on success and EOS was reached, but there were no IKI vocabularie names found.
if (!canonical) return F_status_set_error(F_parameter);
#endif // _di_level_1_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (!path.used) {
status = f_path_current(F_true, canonical);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
f_number_unsigned_t at = 0;
status = f_path_current(F_true, canonical);
if (F_status_is_error(status)) return status;
- if (!path.string[0]) return F_none;
+ if (!path.string[0]) return F_okay;
at = 0;
}
--canonical->used;
}
- return F_none;
+ return F_okay;
}
#endif // _di_fl_path_canonical_
* This will be NULL terminated at canonical->used + 1.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_path_current().
* Errors (with error bit) from: f_string_append().
const f_status_t status = fl_path_canonical(contents[i], &path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
// Assert_string_equal() is NULL terminated, so ensure NULL termination at end of path.used.
path.string[path.used] = 0;
{
const f_status_t status = fl_path_canonical(f_string_empty_s, &path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(pwd_length, path.used);
assert_string_equal(pwd, path.string);
} // for
const f_status_t status = fl_path_canonical(contents[i], &path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
// Assert_string_equal() is NULL terminated, so ensure NULL termination at end of path.used.
path.string[path.used] = 0;
const f_status_t status = fl_path_canonical(contents[i], &path);
// Assert_string_equal() is NULL terminated, so ensure NULL termination at end of path.used.
- if (status == F_none) {
+ if (status == F_okay) {
path.string[path.used] = 0;
}
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(expected[i].used, path.used);
assert_string_equal(expected[i].string, path.string);
} // for
const f_status_t status = fl_path_canonical(contents[i], &path);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
// Assert_string_equal() is NULL terminated, so ensure NULL termination at end of path.used.
path.string[path.used] = 0;
if (!file.stream) return F_stream_not;
if (!string) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
va_list ap;
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fl_print_format_
return private_fl_print_format_convert(string, file, ap, status);
}
- f_status_t status_local = F_none;
+ f_status_t status_local = F_okay;
return private_fl_print_format_convert(string, file, ap, &status_local);
}
if (!file.stream) return F_stream_not;
if (!string) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
private_fl_print_format_convert(string, file, ap, &status);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fl_print_string_va_
* Additional arguments relating to the string.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
*
* The status parameter will be set as follows:
*
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The va_start(ap, string) and va_end(ap) is required to be called outside this function.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
* F_stream_not if file.stream is NULL.
*
return string;
}
- *status = F_none;
+ *status = F_okay;
uint8_t base = 10;
uint32_t flag = 0;
f_number_unsigned_t in = 0;
f_number_unsigned_t in2 = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading white space.
while (i < stop) {
if (status == F_true || !string[i]) {
previous = i;
j = i + macro_f_utf_byte_width(string[i]);
- status = F_none;
+ status = F_okay;
while (j < stop) {
// Search for the next non-NULL character and check if it is a combining character.
if (status == F_true) {
- status = F_none;
+ status = F_okay;
for (k = j + macro_f_utf_byte_width(string[j]); k < stop; k += macro_f_utf_byte_width(string[k])) {
i += macro_f_utf_byte_width(string[i]);
} // while
- return F_none;
+ return F_okay;
}
#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_)
f_number_unsigned_t in = 0;
f_number_unsigned_t in2 = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading white space.
while (i < stop) {
if (status == F_true || !string[i]) {
previous = i;
j = i + macro_f_utf_byte_width(string[i]);
- status = F_none;
+ status = F_okay;
while (j < stop) {
// Search for the next non-NULL character and check if it is a combining character.
if (status == F_true) {
- status = F_none;
+ status = F_okay;
for (k = j + macro_f_utf_byte_width(string[j]); k < stop; k += macro_f_utf_byte_width(string[k])) {
i += macro_f_utf_byte_width(string[i]);
} // while
- return F_none;
+ return F_okay;
}
#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_)
f_number_unsigned_t in = 0;
f_number_unsigned_t in2 = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading white space.
while (i < stop) {
if (status == F_true || !string[i]) {
previous = j;
j = i + macro_f_utf_byte_width(string[i]);
- status = F_none;
+ status = F_okay;
while (j < stop) {
// Search for the next non-NULL character and check if it is a combining character.
if (status == F_true) {
- status = F_none;
+ status = F_okay;
for (k = j + macro_f_utf_byte_width(string[j]); k < stop; k += macro_f_utf_byte_width(string[k])) {
}
i = stop;
- status = F_none;
+ status = F_okay;
break;
}
i += macro_f_utf_byte_width(string[i]);
} // while
- return F_none;
+ return F_okay;
}
#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_)
f_number_unsigned_t in = 0;
f_number_unsigned_t in2 = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading white space.
while (i < stop) {
if (status == F_true || !string[i]) {
previous = i;
j = i + macro_f_utf_byte_width(string[i]);
- status = F_none;
+ status = F_okay;
while (j < stop) {
// Search for the next non-NULL character and check if it is a combining character.
if (status == F_true) {
- status = F_none;
+ status = F_okay;
for (k = j + macro_f_utf_byte_width(string[j]); k < stop; k += macro_f_utf_byte_width(string[k])) {
}
i = stop;
- status = F_none;
+ status = F_okay;
break;
}
i += macro_f_utf_byte_width(string[i]);
} // while
- return F_none;
+ return F_okay;
}
#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_)
f_number_unsigned_t k = 0;
f_number_unsigned_t previous = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading white space.
while (i < length) {
if (status == F_true || !string[i]) {
previous = i;
j = i + macro_f_utf_byte_width(string[i]);
- status = F_none;
+ status = F_okay;
while (j < length) {
// Search for the next non-NULL character and check if it is a combining character.
if (status == F_true) {
- status = F_none;
+ status = F_okay;
for (k = j + macro_f_utf_byte_width(string[j]); k < length; k += macro_f_utf_byte_width(string[k])) {
i += macro_f_utf_byte_width(string[i]);
} // while
- return F_none;
+ return F_okay;
}
#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_)
f_number_unsigned_t k = 0;
f_number_unsigned_t previous = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading white space.
while (i < length) {
if (status == F_true || !string[i]) {
previous = i;
j = i + macro_f_utf_byte_width(string[i]);
- status = F_none;
+ status = F_okay;
while (j < length) {
// Search for the next non-NULL character and check if it is a combining character.
if (status == F_true) {
- status = F_none;
+ status = F_okay;
for (k = j + macro_f_utf_byte_width(string[j]); k < length; k += macro_f_utf_byte_width(string[k])) {
i += macro_f_utf_byte_width(string[i]);
} // while
- return F_none;
+ return F_okay;
}
#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_)
f_number_unsigned_t k = 0;
f_number_unsigned_t previous = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading white space.
while (i < length) {
if (status == F_true || !string[i]) {
previous = i;
j = i + macro_f_utf_byte_width(string[i]);
- status = F_none;
+ status = F_okay;
while (j < length) {
}
i = length;
- status = F_none;
+ status = F_okay;
break;
}
i += macro_f_utf_byte_width(string[i]);
} // while
- return F_none;
+ return F_okay;
}
#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_)
f_number_unsigned_t k = 0;
f_number_unsigned_t previous = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Skip past leading white space.
while (i < length) {
if (status == F_true || !string[i]) {
previous = j;
j = i + macro_f_utf_byte_width(string[i]);
- status = F_none;
+ status = F_okay;
while (j < length) {
}
i = length;
- status = F_none;
+ status = F_okay;
break;
}
i += macro_f_utf_byte_width(string[i]);
} // while
- return F_none;
+ return F_okay;
}
#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_)
*
* The status parameter will be set as follows:
*
- * F_none on success.
+ * F_okay on success.
*
* F_eos (with error bit) on failure because end of string found and cannot process further.
* F_output (with error bit) on failure to print to the output file.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
*
* F_complete_not_utf_stop (with error bit) if character is an incomplete UTF-8 fragment at end of the string.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
*
* F_output (with error bit) on failure to print to the output file.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
*
* F_output (with error bit) on failure to print to the output file.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
*
* F_output (with error bit) on failure to print to the output file.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
*
* F_complete_not_utf_stop (with error bit) if character is an incomplete UTF-8 fragment at end of the string.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
*
* F_output (with error bit) on failure to print to the output file.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
*
* F_output (with error bit) on failure to print to the output file.
* The file structure containing a valid stream to output to, including standard streams such as stdout and stderr.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but there is nothing to print.
*
* F_output (with error bit) on failure to print to the output file.
if (!code) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (!name.used) return F_data_not;
if (f_compare_dynamic(name, f_status_false_s) == F_equal_to) {
*code = F_false;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_true_s) == F_equal_to) {
*code = F_true;
- return F_none;
+ return F_okay;
}
// Signal.
if (f_compare_dynamic(name, f_status_signal_hangup_s) == F_equal_to) {
*code = F_signal_hangup;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_interrupt_s) == F_equal_to) {
*code = F_signal_interrupt;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_quit_s) == F_equal_to) {
*code = F_signal_quit;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_illegal_s) == F_equal_to) {
*code = F_signal_illegal;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_trap_s) == F_equal_to) {
*code = F_signal_trap;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_abort_s) == F_equal_to) {
*code = F_signal_abort;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_bus_error_s) == F_equal_to) {
*code = F_signal_bus_error;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_floating_point_error_s) == F_equal_to) {
*code = F_signal_floating_point_error;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_kill_s) == F_equal_to) {
*code = F_signal_kill;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_user_1_s) == F_equal_to) {
*code = F_signal_user_1;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_segmentation_fault_s) == F_equal_to) {
*code = F_signal_segmentation_fault;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_user_2_s) == F_equal_to) {
*code = F_signal_user_2;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_broken_pipe_s) == F_equal_to) {
*code = F_signal_broken_pipe;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_alarm_clock_s) == F_equal_to) {
*code = F_signal_alarm_clock;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_termination_s) == F_equal_to) {
*code = F_signal_termination;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_stack_fault_s) == F_equal_to) {
*code = F_signal_stack_fault;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_child_s) == F_equal_to) {
*code = F_signal_child;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_continue_s) == F_equal_to) {
*code = F_signal_continue;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_stop_s) == F_equal_to) {
*code = F_signal_stop;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_keyboard_stop_s) == F_equal_to) {
*code = F_signal_keyboard_stop;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_tty_in_s) == F_equal_to) {
*code = F_signal_tty_in;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_tty_out_s) == F_equal_to) {
*code = F_signal_tty_out;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_urgent_s) == F_equal_to) {
*code = F_signal_urgent;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_cpu_limit_s) == F_equal_to) {
*code = F_signal_cpu_limit;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_file_size_limit_s) == F_equal_to) {
*code = F_signal_file_size_limit;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_virtual_alarm_clock_s) == F_equal_to) {
*code = F_signal_virtual_alarm_clock;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_profile_alarm_clock_s) == F_equal_to) {
*code = F_signal_profile_alarm_clock;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_window_size_change_s) == F_equal_to) {
*code = F_signal_window_size_change;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_pollable_event_s) == F_equal_to) {
*code = F_signal_pollable_event;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_power_failure_s) == F_equal_to) {
*code = F_signal_power_failure;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_bad_system_call_s) == F_equal_to) {
*code = F_signal_bad_system_call;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_32_s) == F_equal_to) {
*code = F_signal_reserved_32;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_33_s) == F_equal_to) {
*code = F_signal_reserved_33;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_34_s) == F_equal_to) {
*code = F_signal_reserved_34;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_35_s) == F_equal_to) {
*code = F_signal_reserved_35;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_36_s) == F_equal_to) {
*code = F_signal_reserved_36;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_37_s) == F_equal_to) {
*code = F_signal_reserved_37;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_38_s) == F_equal_to) {
*code = F_signal_reserved_38;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_39_s) == F_equal_to) {
*code = F_signal_reserved_39;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_40_s) == F_equal_to) {
*code = F_signal_reserved_40;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_41_s) == F_equal_to) {
*code = F_signal_reserved_41;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_42_s) == F_equal_to) {
*code = F_signal_reserved_42;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_43_s) == F_equal_to) {
*code = F_signal_reserved_43;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_44_s) == F_equal_to) {
*code = F_signal_reserved_44;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_45_s) == F_equal_to) {
*code = F_signal_reserved_45;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_46_s) == F_equal_to) {
*code = F_signal_reserved_46;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_47_s) == F_equal_to) {
*code = F_signal_reserved_47;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_48_s) == F_equal_to) {
*code = F_signal_reserved_48;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_49_s) == F_equal_to) {
*code = F_signal_reserved_49;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_50_s) == F_equal_to) {
*code = F_signal_reserved_50;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_51_s) == F_equal_to) {
*code = F_signal_reserved_51;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_52_s) == F_equal_to) {
*code = F_signal_reserved_52;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_53_s) == F_equal_to) {
*code = F_signal_reserved_53;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_54_s) == F_equal_to) {
*code = F_signal_reserved_54;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_55_s) == F_equal_to) {
*code = F_signal_reserved_55;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_56_s) == F_equal_to) {
*code = F_signal_reserved_56;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_57_s) == F_equal_to) {
*code = F_signal_reserved_57;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_58_s) == F_equal_to) {
*code = F_signal_reserved_58;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_59_s) == F_equal_to) {
*code = F_signal_reserved_59;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_60_s) == F_equal_to) {
*code = F_signal_reserved_60;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_61_s) == F_equal_to) {
*code = F_signal_reserved_61;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_62_s) == F_equal_to) {
*code = F_signal_reserved_62;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_63_s) == F_equal_to) {
*code = F_signal_reserved_63;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_reserved_64_s) == F_equal_to) {
*code = F_signal_reserved_64;
- return F_none;
+ return F_okay;
}
// Basic.
- if (f_compare_dynamic(name, f_status_none_s) == F_equal_to) {
- *code = F_none;
+ if (f_compare_dynamic(name, f_status_okay_s) == F_equal_to) {
+ *code = F_okay;
+
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_okay_block_s) == F_equal_to) {
+ *code = F_okay_block;
+
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_okay_eoa_s) == F_equal_to) {
+ *code = F_okay_eoa;
- return F_none;
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_okay_eof_s) == F_equal_to) {
+ *code = F_okay_eof;
+
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_okay_eol_s) == F_equal_to) {
+ *code = F_okay_eol;
+
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_okay_eos_s) == F_equal_to) {
+ *code = F_okay_eos;
+
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_okay_not_s) == F_equal_to) {
+ *code = F_okay_not;
+
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_okay_start_s) == F_equal_to) {
+ *code = F_okay_start;
+
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_okay_stop_s) == F_equal_to) {
+ *code = F_okay_stop;
+
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_abort_s) == F_equal_to) {
*code = F_abort;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_abort_not_s) == F_equal_to) {
*code = F_abort_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_absolute_s) == F_equal_to) {
*code = F_absolute;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_absolute_not_s) == F_equal_to) {
*code = F_absolute_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_address_s) == F_equal_to) {
*code = F_address;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_address_not_s) == F_equal_to) {
*code = F_address_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_again_s) == F_equal_to) {
*code = F_again;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_again_not_s) == F_equal_to) {
*code = F_again_not;
- return F_none;
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_all_s) == F_equal_to) {
+ *code = F_all;
+
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_all_not_s) == F_equal_to) {
+ *code = F_all_not;
+
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_ascii_s) == F_equal_to) {
*code = F_ascii;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_ascii_not_s) == F_equal_to) {
*code = F_ascii_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_atomic_s) == F_equal_to) {
*code = F_atomic;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_atomic_not_s) == F_equal_to) {
*code = F_atomic_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_base_s) == F_equal_to) {
*code = F_base;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_base_not_s) == F_equal_to) {
*code = F_base_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_begin_s) == F_equal_to) {
*code = F_begin;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_begin_not_s) == F_equal_to) {
*code = F_begin_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_block_s) == F_equal_to) {
*code = F_block;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_block_not_s) == F_equal_to) {
*code = F_block_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_body_s) == F_equal_to) {
*code = F_body;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_body_not_s) == F_equal_to) {
*code = F_body_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_bottom_s) == F_equal_to) {
*code = F_bottom;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_bottom_not_s) == F_equal_to) {
*code = F_bottom_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_bound_s) == F_equal_to) {
*code = F_bound;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_bound_not_s) == F_equal_to) {
*code = F_bound_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_break_s) == F_equal_to) {
*code = F_break;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_break_not_s) == F_equal_to) {
*code = F_break_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_call_s) == F_equal_to) {
*code = F_call;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_call_not_s) == F_equal_to) {
*code = F_call_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_capability_s) == F_equal_to) {
*code = F_capability;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_capability_not_s) == F_equal_to) {
*code = F_capability_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_child_s) == F_equal_to) {
*code = F_child;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_character_s) == F_equal_to) {
*code = F_character;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_character_not_s) == F_equal_to) {
*code = F_character_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_child_not_s) == F_equal_to) {
*code = F_child_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_s) == F_equal_to) {
*code = F_complete;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_not_s) == F_equal_to) {
*code = F_complete_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_connect_s) == F_equal_to) {
*code = F_connect;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_connect_not_s) == F_equal_to) {
*code = F_connect_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_connect_refuse_s) == F_equal_to) {
*code = F_connect_refuse;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_connect_reset_s) == F_equal_to) {
*code = F_connect_reset;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_container_s) == F_equal_to) {
*code = F_container;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_container_not_s) == F_equal_to) {
*code = F_container_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_content_s) == F_equal_to) {
*code = F_content;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_content_not_s) == F_equal_to) {
*code = F_content_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_continue_s) == F_equal_to) {
*code = F_continue;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_continue_not_s) == F_equal_to) {
*code = F_continue_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_control_s) == F_equal_to) {
*code = F_control;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_control_not_s) == F_equal_to) {
*code = F_control_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_control_group_s) == F_equal_to) {
*code = F_control_group;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_control_group_not_s) == F_equal_to) {
*code = F_control_group_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_critical_s) == F_equal_to) {
*code = F_critical;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_critical_not_s) == F_equal_to) {
*code = F_critical_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_dead_s) == F_equal_to) {
*code = F_dead;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_dead_not_s) == F_equal_to) {
*code = F_dead_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_deadlock_s) == F_equal_to) {
*code = F_deadlock;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_deadlock_not_s) == F_equal_to) {
*code = F_deadlock_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_descriptor_s) == F_equal_to) {
*code = F_descriptor;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_descriptor_not_s) == F_equal_to) {
*code = F_descriptor_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_desire_s) == F_equal_to) {
*code = F_desire;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_desire_not_s) == F_equal_to) {
*code = F_desire_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_device_s) == F_equal_to) {
*code = F_device;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_device_not_s) == F_equal_to) {
*code = F_device_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_disable_s) == F_equal_to) {
*code = F_disable;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_disable_not_s) == F_equal_to) {
*code = F_disable_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_discard_s) == F_equal_to) {
*code = F_discard;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_discard_not_s) == F_equal_to) {
*code = F_discard_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_drop_s) == F_equal_to) {
*code = F_drop;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_drop_not_s) == F_equal_to) {
*code = F_drop_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_domain_s) == F_equal_to) {
*code = F_domain;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_domain_not_s) == F_equal_to) {
*code = F_domain_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_done_s) == F_equal_to) {
*code = F_done;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_done_not_s) == F_equal_to) {
*code = F_done_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_dummy_s) == F_equal_to) {
*code = F_dummy;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_dummy_not_s) == F_equal_to) {
*code = F_dummy_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_empty_s) == F_equal_to) {
*code = F_empty;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_empty_not_s) == F_equal_to) {
*code = F_empty_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_enable_s) == F_equal_to) {
*code = F_enable;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_enable_not_s) == F_equal_to) {
*code = F_enable_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_encoding_s) == F_equal_to) {
*code = F_encoding;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_encoding_not_s) == F_equal_to) {
*code = F_encoding_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_endian_s) == F_equal_to) {
*code = F_endian;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_endian_big_s) == F_equal_to) {
*code = F_endian_big;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_endian_little_s) == F_equal_to) {
*code = F_endian_little;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_endian_not_s) == F_equal_to) {
*code = F_endian_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_eoa_s) == F_equal_to) {
*code = F_eoa;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_eoa_not_s) == F_equal_to) {
*code = F_eoa_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_eof_s) == F_equal_to) {
*code = F_eof;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_eof_not_s) == F_equal_to) {
*code = F_eof_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_eol_s) == F_equal_to) {
*code = F_eol;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_eol_not_s) == F_equal_to) {
*code = F_eol_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_eos_s) == F_equal_to) {
*code = F_eos;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_eos_not_s) == F_equal_to) {
*code = F_eos_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_execute_s) == F_equal_to) {
*code = F_execute;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_execute_not_s) == F_equal_to) {
*code = F_execute_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_exist_s) == F_equal_to) {
*code = F_exist;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_exist_not_s) == F_equal_to) {
*code = F_exist_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_exit_s) == F_equal_to) {
*code = F_exit;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_exit_not_s) == F_equal_to) {
*code = F_exit_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_failure_s) == F_equal_to) {
*code = F_failure;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_failure_not_s) == F_equal_to) {
*code = F_failure_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_family_s) == F_equal_to) {
*code = F_family;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_family_not_s) == F_equal_to) {
*code = F_family_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_fifo_s) == F_equal_to) {
*code = F_fifo;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_fifo_not_s) == F_equal_to) {
*code = F_fifo_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_first_s) == F_equal_to) {
*code = F_first;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_first_not_s) == F_equal_to) {
*code = F_first_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_footer_s) == F_equal_to) {
*code = F_footer;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_footer_not_s) == F_equal_to) {
*code = F_footer_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_fork_s) == F_equal_to) {
*code = F_fork;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_fork_not_s) == F_equal_to) {
*code = F_fork_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_format_s) == F_equal_to) {
*code = F_format;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_format_not_s) == F_equal_to) {
*code = F_format_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_found_s) == F_equal_to) {
*code = F_found;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_found_not_s) == F_equal_to) {
*code = F_found_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_full_s) == F_equal_to) {
*code = F_full;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_full_not_s) == F_equal_to) {
*code = F_full_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_group_s) == F_equal_to) {
*code = F_group;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_group_not_s) == F_equal_to) {
*code = F_group_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_halt_s) == F_equal_to) {
*code = F_halt;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_halt_not_s) == F_equal_to) {
*code = F_halt_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_header_s) == F_equal_to) {
*code = F_header;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_header_not_s) == F_equal_to) {
*code = F_header_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_help_s) == F_equal_to) {
*code = F_help;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_help_not_s) == F_equal_to) {
*code = F_help_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_ignore_s) == F_equal_to) {
*code = F_ignore;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_ignore_not_s) == F_equal_to) {
*code = F_ignore_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_implement_s) == F_equal_to) {
*code = F_implement;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_implement_not_s) == F_equal_to) {
*code = F_implement_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_input_s) == F_equal_to) {
*code = F_input;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_input_not_s) == F_equal_to) {
*code = F_input_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_input_output_s) == F_equal_to) {
*code = F_input_output;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_interrupt_s) == F_equal_to) {
*code = F_interrupt;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_interrupt_not_s) == F_equal_to) {
*code = F_interrupt_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_keep_s) == F_equal_to) {
*code = F_keep;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_keep_not_s) == F_equal_to) {
*code = F_keep_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_known_s) == F_equal_to) {
*code = F_known;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_known_not_s) == F_equal_to) {
*code = F_known_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_last_s) == F_equal_to) {
*code = F_last;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_last_not_s) == F_equal_to) {
*code = F_last_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_limit_s) == F_equal_to) {
*code = F_limit;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_limit_not_s) == F_equal_to) {
*code = F_limit_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_link_s) == F_equal_to) {
*code = F_link;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_link_not_s) == F_equal_to) {
*code = F_link_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_live_s) == F_equal_to) {
*code = F_live;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_live_not_s) == F_equal_to) {
*code = F_live_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_local_s) == F_equal_to) {
*code = F_local;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_local_not_s) == F_equal_to) {
*code = F_local_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_lock_s) == F_equal_to) {
*code = F_lock;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_lock_not_s) == F_equal_to) {
*code = F_lock_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_loop_s) == F_equal_to) {
*code = F_loop;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_loop_not_s) == F_equal_to) {
*code = F_loop_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_maybe_s) == F_equal_to) {
*code = F_maybe;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_maybe_not_s) == F_equal_to) {
*code = F_maybe_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_memory_s) == F_equal_to) {
*code = F_memory;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_memory_not_s) == F_equal_to) {
*code = F_memory_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_message_s) == F_equal_to) {
*code = F_message;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_message_not_s) == F_equal_to) {
*code = F_message_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_middle_s) == F_equal_to) {
*code = F_middle;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_middle_not_s) == F_equal_to) {
*code = F_middle_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_minor_s) == F_equal_to) {
*code = F_minor;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_minor_not_s) == F_equal_to) {
*code = F_minor_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_moderate_s) == F_equal_to) {
*code = F_moderate;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_moderate_not_s) == F_equal_to) {
*code = F_moderate_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_mount_s) == F_equal_to) {
*code = F_mount;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_mount_not_s) == F_equal_to) {
*code = F_mount_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_name_s) == F_equal_to) {
*code = F_name;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_name_not_s) == F_equal_to) {
*code = F_name_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_need_s) == F_equal_to) {
*code = F_need;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_need_not_s) == F_equal_to) {
*code = F_need_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_next_s) == F_equal_to) {
*code = F_next;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_next_not_s) == F_equal_to) {
*code = F_next_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_nice_s) == F_equal_to) {
*code = F_nice;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_nice_not_s) == F_equal_to) {
*code = F_nice_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_no_s) == F_equal_to) {
*code = F_no;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_no_not_s) == F_equal_to) {
*code = F_no_not;
- return F_none;
+ return F_okay;
}
- if (f_compare_dynamic(name, f_status_object_s) == F_equal_to) {
- *code = F_object;
+ if (f_compare_dynamic(name, f_status_none_s) == F_equal_to) {
+ *code = F_none;
- return F_none;
+ return F_okay;
}
- if (f_compare_dynamic(name, f_status_object_not_s) == F_equal_to) {
- *code = F_object_not;
+ if (f_compare_dynamic(name, f_status_none_not_s) == F_equal_to) {
+ *code = F_none_not;
- return F_none;
+ return F_okay;
}
- if (f_compare_dynamic(name, f_status_okay_s) == F_equal_to) {
- *code = F_okay;
+ if (f_compare_dynamic(name, f_status_object_s) == F_equal_to) {
+ *code = F_object;
- return F_none;
+ return F_okay;
}
- if (f_compare_dynamic(name, f_status_okay_not_s) == F_equal_to) {
- *code = F_okay_not;
+ if (f_compare_dynamic(name, f_status_object_not_s) == F_equal_to) {
+ *code = F_object_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_once_s) == F_equal_to) {
*code = F_once;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_once_not_s) == F_equal_to) {
*code = F_once_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_option_s) == F_equal_to) {
*code = F_option;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_option_not_s) == F_equal_to) {
*code = F_option_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_output_s) == F_equal_to) {
*code = F_output;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_output_not_s) == F_equal_to) {
*code = F_output_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_packet_s) == F_equal_to) {
*code = F_packet;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_packet_not_s) == F_equal_to) {
*code = F_packet_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_parameter_s) == F_equal_to) {
*code = F_parameter;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_parameter_not_s) == F_equal_to) {
*code = F_parameter_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_parent_s) == F_equal_to) {
*code = F_parent;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_parent_not_s) == F_equal_to) {
*code = F_parent_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_partial_s) == F_equal_to) {
*code = F_partial;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_partial_not_s) == F_equal_to) {
*code = F_partial_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_payload_s) == F_equal_to) {
*code = F_payload;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_payload_not_s) == F_equal_to) {
*code = F_payload_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_pipe_s) == F_equal_to) {
*code = F_pipe;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_pipe_not_s) == F_equal_to) {
*code = F_pipe_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_port_s) == F_equal_to) {
*code = F_port;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_port_not_s) == F_equal_to) {
*code = F_port_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_previous_s) == F_equal_to) {
*code = F_previous;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_previous_not_s) == F_equal_to) {
*code = F_previous_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_processor_s) == F_equal_to) {
*code = F_processor;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_processor_not_s) == F_equal_to) {
*code = F_processor_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_progress_s) == F_equal_to) {
*code = F_progress;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_progress_not_s) == F_equal_to) {
*code = F_progress_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_prohibited_s) == F_equal_to) {
*code = F_prohibited;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_prohibited_not_s) == F_equal_to) {
*code = F_prohibited_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_property_s) == F_equal_to) {
*code = F_property;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_property_not_s) == F_equal_to) {
*code = F_property_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_protocol_s) == F_equal_to) {
*code = F_protocol;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_protocol_not_s) == F_equal_to) {
*code = F_protocol_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_range_s) == F_equal_to) {
*code = F_range;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_range_not_s) == F_equal_to) {
*code = F_range_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_read_s) == F_equal_to) {
*code = F_read;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_read_not_s) == F_equal_to) {
*code = F_read_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_read_only_s) == F_equal_to) {
*code = F_read_only;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_ready_s) == F_equal_to) {
*code = F_ready;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_ready_not_s) == F_equal_to) {
*code = F_ready_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_receive_s) == F_equal_to) {
*code = F_receive;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_receive_not_s) == F_equal_to) {
*code = F_receive_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_recover_s) == F_equal_to) {
*code = F_recover;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_recover_not_s) == F_equal_to) {
*code = F_recover_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_recurse_s) == F_equal_to) {
*code = F_recurse;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_recurse_not_s) == F_equal_to) {
*code = F_recurse_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_regular_s) == F_equal_to) {
*code = F_regular;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_regular_not_s) == F_equal_to) {
*code = F_regular_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_relative_s) == F_equal_to) {
*code = F_relative;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_relative_not_s) == F_equal_to) {
*code = F_relative_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_remote_s) == F_equal_to) {
*code = F_remote;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_remote_not_s) == F_equal_to) {
*code = F_remote_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_repeat_s) == F_equal_to) {
*code = F_repeat;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_repeat_not_s) == F_equal_to) {
*code = F_repeat_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_require_s) == F_equal_to) {
*code = F_require;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_require_not_s) == F_equal_to) {
*code = F_require_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_resource_s) == F_equal_to) {
*code = F_resource;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_resource_not_s) == F_equal_to) {
*code = F_resource_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_restart_s) == F_equal_to) {
*code = F_restart;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_restart_not_s) == F_equal_to) {
*code = F_restart_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_restore_s) == F_equal_to) {
*code = F_restore;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_restore_not_s) == F_equal_to) {
*code = F_restore_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_revert_s) == F_equal_to) {
*code = F_revert;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_revert_not_s) == F_equal_to) {
*code = F_revert_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_schedule_s) == F_equal_to) {
*code = F_schedule;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_schedule_not_s) == F_equal_to) {
*code = F_schedule_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_search_s) == F_equal_to) {
*code = F_search;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_search_not_s) == F_equal_to) {
*code = F_search_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_send_s) == F_equal_to) {
*code = F_send;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_send_not_s) == F_equal_to) {
*code = F_send_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_size_s) == F_equal_to) {
*code = F_size;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_size_not_s) == F_equal_to) {
*code = F_size_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_s) == F_equal_to) {
*code = F_signal;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_signal_not_s) == F_equal_to) {
*code = F_signal_not;
- return F_none;
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_some_s) == F_equal_to) {
+ *code = F_some;
+
+ return F_okay;
+ }
+
+ if (f_compare_dynamic(name, f_status_some_not_s) == F_equal_to) {
+ *code = F_some_not;
+
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_space_s) == F_equal_to) {
*code = F_space;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_space_not_s) == F_equal_to) {
*code = F_space_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_skip_s) == F_equal_to) {
*code = F_skip;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_skip_not_s) == F_equal_to) {
*code = F_skip_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_start_s) == F_equal_to) {
*code = F_start;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_start_not_s) == F_equal_to) {
*code = F_start_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_status_s) == F_equal_to) {
*code = F_status;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_status_not_s) == F_equal_to) {
*code = F_status_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_stop_s) == F_equal_to) {
*code = F_stop;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_stop_not_s) == F_equal_to) {
*code = F_stop_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_store_s) == F_equal_to) {
*code = F_store;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_store_not_s) == F_equal_to) {
*code = F_store_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_stream_s) == F_equal_to) {
*code = F_stream;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_stream_not_s) == F_equal_to) {
*code = F_stream_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_string_s) == F_equal_to) {
*code = F_string;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_string_not_s) == F_equal_to) {
*code = F_string_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_string_too_large_s) == F_equal_to) {
*code = F_string_too_large;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_string_too_small_s) == F_equal_to) {
*code = F_string_too_small;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_success_s) == F_equal_to) {
*code = F_success;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_success_not_s) == F_equal_to) {
*code = F_success_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_support_s) == F_equal_to) {
*code = F_support;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_support_not_s) == F_equal_to) {
*code = F_support_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_syntax_s) == F_equal_to) {
*code = F_syntax;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_syntax_not_s) == F_equal_to) {
*code = F_syntax_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminate_s) == F_equal_to) {
*code = F_terminate;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminate_not_s) == F_equal_to) {
*code = F_terminate_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_thread_s) == F_equal_to) {
*code = F_thread;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_thread_not_s) == F_equal_to) {
*code = F_thread_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_time_s) == F_equal_to) {
*code = F_time;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_time_not_s) == F_equal_to) {
*code = F_time_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_time_out_s) == F_equal_to) {
*code = F_time_out;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_too_large_s) == F_equal_to) {
*code = F_too_large;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_too_small_s) == F_equal_to) {
*code = F_too_small;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_top_s) == F_equal_to) {
*code = F_top;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_top_not_s) == F_equal_to) {
*code = F_top_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_type_s) == F_equal_to) {
*code = F_type;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_type_not_s) == F_equal_to) {
*code = F_type_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_user_s) == F_equal_to) {
*code = F_user;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_user_not_s) == F_equal_to) {
*code = F_user_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_utf_s) == F_equal_to) {
*code = F_utf;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_utf_fragment_s) == F_equal_to) {
*code = F_utf_fragment;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_utf_fragment_not_s) == F_equal_to) {
*code = F_utf_fragment_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_utf_not_s) == F_equal_to) {
*code = F_utf_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_valid_s) == F_equal_to) {
*code = F_valid;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_valid_not_s) == F_equal_to) {
*code = F_valid_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_value_s) == F_equal_to) {
*code = F_value;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_value_not_s) == F_equal_to) {
*code = F_value_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_wait_s) == F_equal_to) {
*code = F_wait;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_wait_not_s) == F_equal_to) {
*code = F_wait_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_want_s) == F_equal_to) {
*code = F_want;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_want_not_s) == F_equal_to) {
*code = F_want_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_wish_s) == F_equal_to) {
*code = F_wish;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_wish_not_s) == F_equal_to) {
*code = F_wish_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_world_s) == F_equal_to) {
*code = F_world;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_world_not_s) == F_equal_to) {
*code = F_world_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_write_s) == F_equal_to) {
*code = F_write;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_write_not_s) == F_equal_to) {
*code = F_write_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_write_only_s) == F_equal_to) {
*code = F_write_only;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_yes_s) == F_equal_to) {
*code = F_yes;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_yes_not_s) == F_equal_to) {
*code = F_yes_not;
- return F_none;
+ return F_okay;
}
// Return.
if (f_compare_dynamic(name, f_status_debug_s) == F_equal_to) {
*code = F_debug;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_debug_not_s) == F_equal_to) {
*code = F_debug_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_error_s) == F_equal_to) {
*code = F_error;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_error_not_s) == F_equal_to) {
*code = F_error_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_fine_s) == F_equal_to) {
*code = F_fine;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_fine_not_s) == F_equal_to) {
*code = F_fine_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_warning_s) == F_equal_to) {
*code = F_warning;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_warning_not_s) == F_equal_to) {
*code = F_warning_not;
- return F_none;
+ return F_okay;
}
// Array.
if (f_compare_dynamic(name, f_status_array_s) == F_equal_to) {
*code = F_array;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_array_not_s) == F_equal_to) {
*code = F_array_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_array_too_large_s) == F_equal_to) {
*code = F_array_too_large;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_array_too_small_s) == F_equal_to) {
*code = F_array_too_small;
- return F_none;
+ return F_okay;
}
// Available.
if (f_compare_dynamic(name, f_status_available_s) == F_equal_to) {
*code = F_available;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_available_not_s) == F_equal_to) {
*code = F_available_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_available_not_address_s) == F_equal_to) {
*code = F_available_not_address;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_available_not_buffer_s) == F_equal_to) {
*code = F_available_not_buffer;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_available_not_device_s) == F_equal_to) {
*code = F_available_not_device;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_available_not_pipe_s) == F_equal_to) {
*code = F_available_not_pipe;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_available_not_port_s) == F_equal_to) {
*code = F_available_not_port;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_available_not_process_s) == F_equal_to) {
*code = F_available_not_process;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_available_not_socket_s) == F_equal_to) {
*code = F_available_not_socket;
- return F_none;
+ return F_okay;
}
// Busy.
if (f_compare_dynamic(name, f_status_busy_s) == F_equal_to) {
*code = F_busy;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_busy_address_s) == F_equal_to) {
*code = F_busy_address;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_busy_buffer_s) == F_equal_to) {
*code = F_busy_buffer;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_busy_device_s) == F_equal_to) {
*code = F_busy_device;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_busy_not_s) == F_equal_to) {
*code = F_busy_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_busy_pipe_s) == F_equal_to) {
*code = F_busy_pipe;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_busy_port_s) == F_equal_to) {
*code = F_busy_port;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_busy_process_s) == F_equal_to) {
*code = F_busy_process;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_busy_socket_s) == F_equal_to) {
*code = F_busy_socket;
- return F_none;
+ return F_okay;
}
// Network.
if (f_compare_dynamic(name, f_status_network_s) == F_equal_to) {
*code = F_network;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_busy_s) == F_equal_to) {
*code = F_network_busy;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_busy_not_s) == F_equal_to) {
*code = F_network_busy_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_client_s) == F_equal_to) {
*code = F_network_client;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_client_not_s) == F_equal_to) {
*code = F_network_client_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_device_s) == F_equal_to) {
*code = F_network_device;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_device_not_s) == F_equal_to) {
*code = F_network_device_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_found_s) == F_equal_to) {
*code = F_network_found;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_found_not_s) == F_equal_to) {
*code = F_network_found_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_lost_s) == F_equal_to) {
*code = F_network_lost;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_lost_not_s) == F_equal_to) {
*code = F_network_lost_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_not_s) == F_equal_to) {
*code = F_network_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_reach_s) == F_equal_to) {
*code = F_network_reach;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_reach_client_s) == F_equal_to) {
*code = F_network_reach_client;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_reach_client_not_s) == F_equal_to) {
*code = F_network_reach_client_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_reach_not_s) == F_equal_to) {
*code = F_network_reach_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_reach_server_s) == F_equal_to) {
*code = F_network_reach_server;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_reach_server_not_s) == F_equal_to) {
*code = F_network_reach_server_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_server_s) == F_equal_to) {
*code = F_network_server;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_server_not_s) == F_equal_to) {
*code = F_network_server_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_time_s) == F_equal_to) {
*code = F_network_time;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_time_not_s) == F_equal_to) {
*code = F_network_time_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_version_four_s) == F_equal_to) {
*code = F_network_version_four;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_version_four_not_s) == F_equal_to) {
*code = F_network_version_four_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_version_six_s) == F_equal_to) {
*code = F_network_version_six;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_network_version_six_not_s) == F_equal_to) {
*code = F_network_version_six_not;
- return F_none;
+ return F_okay;
}
// Number.
if (f_compare_dynamic(name, f_status_number_s) == F_equal_to) {
*code = F_number;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_decimal_s) == F_equal_to) {
*code = F_number_decimal;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_decimal_not_s) == F_equal_to) {
*code = F_number_decimal_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_divide_by_zero_s) == F_equal_to) {
*code = F_number_divide_by_zero;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_negative_s) == F_equal_to) {
*code = F_number_negative;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_negative_not_s) == F_equal_to) {
*code = F_number_negative_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_not_s) == F_equal_to) {
*code = F_number_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_overflow_s) == F_equal_to) {
*code = F_number_overflow;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_positive_s) == F_equal_to) {
*code = F_number_positive;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_positive_not_s) == F_equal_to) {
*code = F_number_positive_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_too_large_s) == F_equal_to) {
*code = F_number_too_large;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_too_small_s) == F_equal_to) {
*code = F_number_too_small;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_underflow_s) == F_equal_to) {
*code = F_number_underflow;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_whole_s) == F_equal_to) {
*code = F_number_whole;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_whole_not_s) == F_equal_to) {
*code = F_number_whole_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_zero_s) == F_equal_to) {
*code = F_number_zero;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_number_zero_not_s) == F_equal_to) {
*code = F_number_zero_not;
- return F_none;
+ return F_okay;
}
// Buffer.
if (f_compare_dynamic(name, f_status_buffer_s) == F_equal_to) {
*code = F_buffer;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_buffer_not_s) == F_equal_to) {
*code = F_buffer_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_buffer_overflow_s) == F_equal_to) {
*code = F_buffer_overflow;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_buffer_too_large_s) == F_equal_to) {
*code = F_buffer_too_large;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_buffer_too_small_s) == F_equal_to) {
*code = F_buffer_too_small;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_buffer_underflow_s) == F_equal_to) {
*code = F_buffer_underflow;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_not_utf_s) == F_equal_to) {
*code = F_complete_not_utf;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_not_utf_block_s) == F_equal_to) {
*code = F_complete_not_utf_block;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_not_utf_eoa_s) == F_equal_to) {
*code = F_complete_not_utf_eoa;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_not_utf_eof_s) == F_equal_to) {
*code = F_complete_not_utf_eof;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_not_utf_eol_s) == F_equal_to) {
*code = F_complete_not_utf_eol;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_not_utf_eos_s) == F_equal_to) {
*code = F_complete_not_utf_eos;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_not_utf_start_s) == F_equal_to) {
*code = F_complete_not_utf_start;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_complete_not_utf_stop_s) == F_equal_to) {
*code = F_complete_not_utf_stop;
- return F_none;
- }
-
- if (f_compare_dynamic(name, f_status_none_block_s) == F_equal_to) {
- *code = F_none_block;
-
- return F_none;
- }
-
- if (f_compare_dynamic(name, f_status_none_eoa_s) == F_equal_to) {
- *code = F_none_eoa;
-
- return F_none;
- }
-
- if (f_compare_dynamic(name, f_status_none_eof_s) == F_equal_to) {
- *code = F_none_eof;
-
- return F_none;
- }
-
- if (f_compare_dynamic(name, f_status_none_eol_s) == F_equal_to) {
- *code = F_none_eol;
-
- return F_none;
- }
-
- if (f_compare_dynamic(name, f_status_none_eos_s) == F_equal_to) {
- *code = F_none_eos;
-
- return F_none;
- }
-
- if (f_compare_dynamic(name, f_status_none_start_s) == F_equal_to) {
- *code = F_none_start;
-
- return F_none;
- }
-
- if (f_compare_dynamic(name, f_status_none_stop_s) == F_equal_to) {
- *code = F_none_stop;
-
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_data_s) == F_equal_to) {
*code = F_data;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_data_not_s) == F_equal_to) {
*code = F_data_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_data_not_block_s) == F_equal_to) {
*code = F_data_not_block;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_data_not_eoa_s) == F_equal_to) {
*code = F_data_not_eoa;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_data_not_eof_s) == F_equal_to) {
*code = F_data_not_eof;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_data_not_eol_s) == F_equal_to) {
*code = F_data_not_eol;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_data_not_eos_s) == F_equal_to) {
*code = F_data_not_eos;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_data_not_start_s) == F_equal_to) {
*code = F_data_not_start;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_data_not_stop_s) == F_equal_to) {
*code = F_data_not_stop;
- return F_none;
+ return F_okay;
}
// End.
if (f_compare_dynamic(name, f_status_end_s) == F_equal_to) {
*code = F_end;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_s) == F_equal_to) {
*code = F_end_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_block_s) == F_equal_to) {
*code = F_end_not_block;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_eoa_s) == F_equal_to) {
*code = F_end_not_eoa;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_eof_s) == F_equal_to) {
*code = F_end_not_eof;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_eol_s) == F_equal_to) {
*code = F_end_not_eol;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_eos_s) == F_equal_to) {
*code = F_end_not_eos;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_group_s) == F_equal_to) {
*code = F_end_not_group;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_group_block_s) == F_equal_to) {
*code = F_end_not_group_block;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_group_eoa_s) == F_equal_to) {
*code = F_end_not_group_eoa;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_group_eof_s) == F_equal_to) {
*code = F_end_not_group_eof;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_group_eol_s) == F_equal_to) {
*code = F_end_not_group_eol;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_group_eos_s) == F_equal_to) {
*code = F_end_not_group_eos;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_group_start_s) == F_equal_to) {
*code = F_end_not_group_start;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_group_stop_s) == F_equal_to) {
*code = F_end_not_group_stop;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_nest_s) == F_equal_to) {
*code = F_end_not_nest;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_nest_block_s) == F_equal_to) {
*code = F_end_not_nest_block;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_nest_eoa_s) == F_equal_to) {
*code = F_end_not_nest_eoa;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_nest_eof_s) == F_equal_to) {
*code = F_end_not_nest_eof;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_nest_eol_s) == F_equal_to) {
*code = F_end_not_nest_eol;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_nest_eos_s) == F_equal_to) {
*code = F_end_not_nest_eos;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_nest_start_s) == F_equal_to) {
*code = F_end_not_nest_start;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_nest_stop_s) == F_equal_to) {
*code = F_end_not_nest_stop;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_start_s) == F_equal_to) {
*code = F_end_not_start;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_end_not_stop_s) == F_equal_to) {
*code = F_end_not_stop;
- return F_none;
+ return F_okay;
}
// Process.
if (f_compare_dynamic(name, f_status_process_s) == F_equal_to) {
*code = F_process;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_process_not_s) == F_equal_to) {
*code = F_process_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_process_too_many_s) == F_equal_to) {
*code = F_process_too_many;
- return F_none;
+ return F_okay;
}
#endif // _di_f_status_process_s_
if (f_compare_dynamic(name, f_status_file_s) == F_equal_to) {
*code = F_file;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_close_s) == F_equal_to) {
*code = F_file_close;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_closed_s) == F_equal_to) {
*code = F_file_closed;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_descriptor_s) == F_equal_to) {
*code = F_file_descriptor;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_descriptor_max_s) == F_equal_to) {
*code = F_file_descriptor_max;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_descriptor_not_s) == F_equal_to) {
*code = F_file_descriptor_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_empty_s) == F_equal_to) {
*code = F_file_empty;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_flush_s) == F_equal_to) {
*code = F_file_flush;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_found_s) == F_equal_to) {
*code = F_file_found;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_found_not_s) == F_equal_to) {
*code = F_file_found_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_not_s) == F_equal_to) {
*code = F_file_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_open_s) == F_equal_to) {
*code = F_file_open;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_open_max_s) == F_equal_to) {
*code = F_file_open_max;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_opened_s) == F_equal_to) {
*code = F_file_opened;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_overflow_s) == F_equal_to) {
*code = F_file_overflow;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_purge_s) == F_equal_to) {
*code = F_file_purge;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_read_s) == F_equal_to) {
*code = F_file_read;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_reallocation_s) == F_equal_to) {
*code = F_file_reallocation;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_seek_s) == F_equal_to) {
*code = F_file_seek;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_stat_s) == F_equal_to) {
*code = F_file_stat;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_synchronize_s) == F_equal_to) {
*code = F_file_synchronize;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_block_s) == F_equal_to) {
*code = F_file_type_block;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_character_s) == F_equal_to) {
*code = F_file_type_character;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_directory_s) == F_equal_to) {
*code = F_file_type_directory;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_fifo_s) == F_equal_to) {
*code = F_file_type_fifo;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_link_s) == F_equal_to) {
*code = F_file_type_link;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_not_block_s) == F_equal_to) {
*code = F_file_type_not_block;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_not_character_s) == F_equal_to) {
*code = F_file_type_not_character;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_not_directory_s) == F_equal_to) {
*code = F_file_type_not_directory;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_not_fifo_s) == F_equal_to) {
*code = F_file_type_not_fifo;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_not_link_s) == F_equal_to) {
*code = F_file_type_not_link;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_not_pipe_s) == F_equal_to) {
*code = F_file_type_not_pipe;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_not_regular_s) == F_equal_to) {
*code = F_file_type_not_regular;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_not_socket_s) == F_equal_to) {
*code = F_file_type_not_socket;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_not_unknown_s) == F_equal_to) {
*code = F_file_type_not_unknown;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_pipe_s) == F_equal_to) {
*code = F_file_type_pipe;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_regular_s) == F_equal_to) {
*code = F_file_type_regular;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_socket_s) == F_equal_to) {
*code = F_file_type_socket;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_type_unknown_s) == F_equal_to) {
*code = F_file_type_unknown;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_underflow_s) == F_equal_to) {
*code = F_file_underflow;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_utf_s) == F_equal_to) {
*code = F_file_utf;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_utf_not_s) == F_equal_to) {
*code = F_file_utf_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_file_write_s) == F_equal_to) {
*code = F_file_write;
- return F_none;
+ return F_okay;
}
// Filesystem.
if (f_compare_dynamic(name, f_status_filesystem_s) == F_equal_to) {
*code = F_filesystem;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_filesystem_not_s) == F_equal_to) {
*code = F_filesystem_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_filesystem_quota_block_s) == F_equal_to) {
*code = F_filesystem_quota_block;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_filesystem_quota_reached_s) == F_equal_to) {
*code = F_filesystem_quota_reached;
- return F_none;
+ return F_okay;
}
// Directory.
if (f_compare_dynamic(name, f_status_directory_s) == F_equal_to) {
*code = F_directory;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_close_s) == F_equal_to) {
*code = F_directory_close;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_closed_s) == F_equal_to) {
*code = F_directory_closed;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_descriptor_s) == F_equal_to) {
*code = F_directory_descriptor;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_empty_s) == F_equal_to) {
*code = F_directory_empty;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_empty_not_s) == F_equal_to) {
*code = F_directory_empty_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_found_s) == F_equal_to) {
*code = F_directory_found;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_found_not_s) == F_equal_to) {
*code = F_directory_found_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_flush_s) == F_equal_to) {
*code = F_directory_flush;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_link_max_s) == F_equal_to) {
*code = F_directory_link_max;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_not_s) == F_equal_to) {
*code = F_directory_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_open_s) == F_equal_to) {
*code = F_directory_open;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_purge_s) == F_equal_to) {
*code = F_directory_purge;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_read_s) == F_equal_to) {
*code = F_directory_read;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_stream_s) == F_equal_to) {
*code = F_directory_stream;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_support_not_s) == F_equal_to) {
*code = F_directory_support_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_synchronize_s) == F_equal_to) {
*code = F_directory_synchronize;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_utf_s) == F_equal_to) {
*code = F_directory_utf;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_utf_not_s) == F_equal_to) {
*code = F_directory_utf_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_directory_write_s) == F_equal_to) {
*code = F_directory_write;
- return F_none;
+ return F_okay;
}
// Socket.
if (f_compare_dynamic(name, f_status_socket_s) == F_equal_to) {
*code = F_socket;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_socket_client_s) == F_equal_to) {
*code = F_socket_client;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_socket_not_s) == F_equal_to) {
*code = F_socket_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_socket_receive_s) == F_equal_to) {
*code = F_socket_receive;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_socket_send_s) == F_equal_to) {
*code = F_socket_send;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_socket_target_s) == F_equal_to) {
*code = F_socket_target;
- return F_none;
+ return F_okay;
}
// Compare.
if (f_compare_dynamic(name, f_status_equal_to_s) == F_equal_to) {
*code = F_equal_to;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_equal_to_not_s) == F_equal_to) {
*code = F_equal_to_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_than_greater_s) == F_equal_to) {
*code = F_than_greater;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_than_less_s) == F_equal_to) {
*code = F_than_less;
- return F_none;
+ return F_okay;
}
// Access.
if (f_compare_dynamic(name, f_status_access_s) == F_equal_to) {
*code = F_access;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_denied_s) == F_equal_to) {
*code = F_access_denied;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_denied_user_s) == F_equal_to) {
*code = F_access_denied_user;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_denied_group_s) == F_equal_to) {
*code = F_access_denied_group;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_denied_world_s) == F_equal_to) {
*code = F_access_denied_world;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_denied_read_s) == F_equal_to) {
*code = F_access_denied_read;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_denied_write_s) == F_equal_to) {
*code = F_access_denied_write;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_denied_execute_s) == F_equal_to) {
*code = F_access_denied_execute;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_denied_super_s) == F_equal_to) {
*code = F_access_denied_super;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_s) == F_equal_to) {
*code = F_access_granted;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_user_s) == F_equal_to) {
*code = F_access_granted_user;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_group_s) == F_equal_to) {
*code = F_access_granted_group;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_world_s) == F_equal_to) {
*code = F_access_granted_world;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_read_s) == F_equal_to) {
*code = F_access_granted_read;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_write_s) == F_equal_to) {
*code = F_access_granted_write;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_execute_s) == F_equal_to) {
*code = F_access_granted_execute;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_group_s) == F_equal_to) {
*code = F_access_granted_group;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_read_s) == F_equal_to) {
*code = F_access_granted_read;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_super_s) == F_equal_to) {
*code = F_access_granted_super;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_granted_user_s) == F_equal_to) {
*code = F_access_granted_user;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_group_s) == F_equal_to) {
*code = F_access_group;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_mode_s) == F_equal_to) {
*code = F_access_mode;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_not_s) == F_equal_to) {
*code = F_access_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_access_owner_s) == F_equal_to) {
*code = F_access_owner;
- return F_none;
+ return F_okay;
}
// Terminal.
if (f_compare_dynamic(name, f_status_terminal_s) == F_equal_to) {
*code = F_terminal;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminal_access_s) == F_equal_to) {
*code = F_terminal_access;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminal_known_s) == F_equal_to) {
*code = F_terminal_known;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminal_known_not_s) == F_equal_to) {
*code = F_terminal_known_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminal_not_s) == F_equal_to) {
*code = F_terminal_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminal_prohibited_s) == F_equal_to) {
*code = F_terminal_prohibited;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminal_read_s) == F_equal_to) {
*code = F_terminal_read;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminal_valid_s) == F_equal_to) {
*code = F_terminal_valid;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminal_valid_not_s) == F_equal_to) {
*code = F_terminal_valid_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_terminal_write_s) == F_equal_to) {
*code = F_terminal_write;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, f_status_status_code_last_s) == F_equal_to) {
*code = F_status_code_last;
- return F_none;
+ return F_okay;
}
return F_status_set_error(F_data);
* The status code a matched string represents.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if string is empty.
*
* F_data (with error bit) if not found.
for (uint8_t i = 0; i < 3; ++i) {
- f_status_t result = F_none;
+ f_status_t result = F_okay;
const f_status_t status = fl_status_string_from(invalids[i], &result);
void test__fl_status_string_from__returns_data_not(void **state) {
{
- f_status_t result = F_none;
+ f_status_t result = F_okay;
const f_status_t status = fl_status_string_from(f_string_empty_s, &result);
F_signal_reserved_62,
F_signal_reserved_63,
F_signal_reserved_64,
- F_none,
+ F_okay,
+ F_okay_block,
+ F_okay_eoa,
+ F_okay_eof,
+ F_okay_eol,
+ F_okay_eos,
+ F_okay_not,
+ F_okay_start,
+ F_okay_stop,
F_abort,
F_abort_not,
F_absolute,
F_address_not,
F_again,
F_again_not,
+ F_all,
+ F_all_not,
F_ascii,
F_ascii_not,
F_atomic,
F_nice_not,
F_no,
F_no_not,
+ F_none,
+ F_none_not,
F_object,
F_object_not,
- F_okay,
- F_okay_not,
F_once,
F_once_not,
F_option,
F_size_not,
F_skip,
F_skip_not,
+ F_some,
+ F_some_not,
F_space,
F_space_not,
F_start,
F_complete_not_utf_eos,
F_complete_not_utf_start,
F_complete_not_utf_stop,
- F_none_block,
- F_none_eoa,
- F_none_eof,
- F_none_eol,
- F_none_eos,
- F_none_start,
- F_none_stop,
F_data,
F_data_not,
F_data_not_block,
f_status_signal_reserved_62_s,
f_status_signal_reserved_63_s,
f_status_signal_reserved_64_s,
- f_status_none_s,
+ f_status_okay_s,
+ f_status_okay_block_s,
+ f_status_okay_eoa_s,
+ f_status_okay_eof_s,
+ f_status_okay_eol_s,
+ f_status_okay_eos_s,
+ f_status_okay_not_s,
+ f_status_okay_start_s,
+ f_status_okay_stop_s,
f_status_abort_s,
f_status_abort_not_s,
f_status_absolute_s,
f_status_address_not_s,
f_status_again_s,
f_status_again_not_s,
+ f_status_all_s,
+ f_status_all_not_s,
f_status_ascii_s,
f_status_ascii_not_s,
f_status_atomic_s,
f_status_nice_not_s,
f_status_no_s,
f_status_no_not_s,
+ f_status_none_s,
+ f_status_none_not_s,
f_status_object_s,
f_status_object_not_s,
- f_status_okay_s,
- f_status_okay_not_s,
f_status_once_s,
f_status_once_not_s,
f_status_option_s,
f_status_size_not_s,
f_status_skip_s,
f_status_skip_not_s,
+ f_status_some_s,
+ f_status_some_not_s,
f_status_space_s,
f_status_space_not_s,
f_status_start_s,
f_status_complete_not_utf_eos_s,
f_status_complete_not_utf_start_s,
f_status_complete_not_utf_stop_s,
- f_status_none_block_s,
- f_status_none_eoa_s,
- f_status_none_eof_s,
- f_status_none_eol_s,
- f_status_none_eos_s,
- f_status_none_start_s,
- f_status_none_stop_s,
f_status_data_s,
f_status_data_not_s,
f_status_data_not_block_s,
f_status_status_code_last_s,
};
- for (uint16_t i = 0; i < 619; ++i) {
+ for (uint16_t i = 0; i < 624; ++i) {
- f_status_t result = F_none;
+ f_status_t result = F_okay;
const f_status_t status = fl_status_string_from(status_strings[i], &result);
- assert_int_equal(status, F_none);
+ assert_int_equal(status, F_okay);
assert_int_equal(result, statuss[i]);
} // for
}
size_write = write(file.id, buffer_write, used);
if (!size_write) {
- return F_none_stop;
+ return F_okay_stop;
}
if (size_write < 0) {
} while (*written < write_max);
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fl_utf_file_write_) || !defined(_di_fl_utf_file_write_until_) || !defined(fl_utf_file_write_range)
* The total bytes written.
*
* @return
- * F_none on success.
- * F_none_eos on success but range.stop exceeded buffer.used (only wrote up to buffer.used).
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_eos on success but range.stop exceeded buffer.used (only wrote up to buffer.used).
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
* F_complete_not_utf_stop if max write was reached but was unable to completely write a given UTF-8 block (incomplete UTF-8 is not written, not even partially).
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
return F_status_set_error(F_file_closed);
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
ssize_t size_read = 0;
uint8_t width = 0;
return F_status_set_error(F_complete_not_utf_eof);
}
- return F_none_eof;
+ return F_okay_eof;
}
else if (size_read < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
return F_status_set_error(F_complete_not_utf_stop);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fl_utf_file_read_
if (file.id < 0) return F_status_set_error(F_file);
if (!file.id) return F_status_set_error(F_file_closed);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
ssize_t size_read = 0;
uint8_t width = 0;
return F_status_set_error(F_complete_not_utf_eof);
}
- return F_none_eof;
+ return F_okay_eof;
}
else if (size_read < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
return F_status_set_error(F_complete_not_utf_stop);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fl_utf_file_read_block_
return F_status_set_error(F_file_closed);
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
ssize_t size_read = 0;
uint8_t width = 0;
return F_status_set_error(F_complete_not_utf_eof);
}
- return F_none_eof;
+ return F_okay_eof;
}
else if (size_read < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
return F_status_set_error(F_complete_not_utf_stop);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fl_utf_file_read_until_
const f_status_t status = private_fl_utf_file_write_until(file, destination.string, destination.used, written);
if (F_status_is_error(status)) return status;
- if (status == F_none && *written == destination.used) {
- return F_none_eos;
+ if (status == F_okay && *written == destination.used) {
+ return F_okay_eos;
}
return status;
const f_status_t status = private_fl_utf_file_write_until(file, destination.string, write_max, written);
if (F_status_is_error(status)) return status;
- if (status == F_none && *written == destination.used) {
- return F_none_eos;
+ if (status == F_okay && *written == destination.used) {
+ return F_okay_eos;
}
return status;
const f_status_t status = private_fl_utf_file_write_until(file, destination.string, write_max, written);
if (F_status_is_error(status)) return status;
- if (status == F_none && *written == destination.used) {
- return F_none_eos;
+ if (status == F_okay && *written == destination.used) {
+ return F_okay_eos;
}
return status;
const f_status_t status = private_fl_utf_file_write_until(file, destination.string + range.start, write_max, written);
if (F_status_is_error(status)) return status;
- if (status == F_none) {
+ if (status == F_okay) {
if (range.start + *written == total) {
- return F_none_stop;
+ return F_okay_stop;
}
if (range.start + *written == destination.used) {
- return F_none_eos;
+ return F_okay_eos;
}
}
* The contents of the file is appended into this destination.
*
* @return
- * F_none on success.
- * F_none_eof on success and EOF was reached.
+ * F_okay on success.
+ * F_okay_eof on success and EOF was reached.
*
* F_block (with error bit) if file descriptor is set to non-block and the read would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* The contents of the file is appended into this destination.
*
* @return
- * F_none on success.
- * F_none_eof on success and EOF was reached.
+ * F_okay on success.
+ * F_okay_eof on success and EOF was reached.
*
* F_block (with error bit) if file descriptor is set to non-block and the read would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* The destination the file is being read into.
*
* @return
- * F_none on success.
- * F_none_eof on success and EOF was reached.
+ * F_okay on success.
+ * F_okay_eof on success and EOF was reached.
*
* F_block (with error bit) if file descriptor is set to non-block and the read would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* The total bytes written.
*
* @return
- * F_none on success.
- * F_none_eos on success but range.stop exceeded destination.used (only wrote up to destination.used).
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_eos on success but range.stop exceeded destination.used (only wrote up to destination.used).
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
* F_complete_not_utf_stop if max write was reached but was unable to completely write a given UTF-8 block (incomplete UTF-8 is not written, not even partially).
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The total bytes written.
*
* @return
- * F_none on success.
- * F_none_eos on success but range.stop exceeded destination.used (only wrote up to destination.used).
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_eos on success but range.stop exceeded destination.used (only wrote up to destination.used).
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
* F_complete_not_utf_stop if max write was reached but was unable to completely write a given UTF-8 block (incomplete UTF-8 is not written, not even partially).
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The total bytes written.
*
* @return
- * F_none on success.
- * F_none_eos on success but range.stop exceeded destination.used (only wrote up to destination.used).
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_eos on success but range.stop exceeded destination.used (only wrote up to destination.used).
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
* F_complete_not_utf_stop if max write was reached but was unable to completely write a given UTF-8 block (incomplete UTF-8 is not written, not even partially).
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* The total bytes written.
*
* @return
- * F_none on success.
- * F_none_eos on success but range.stop exceeded destination.used (only wrote up to destination.used).
- * F_none_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
+ * F_okay on success.
+ * F_okay_eos on success but range.stop exceeded destination.used (only wrote up to destination.used).
+ * F_okay_stop on success but no data was written (written == 0) (not an error and often happens if file type is not a regular file).
* F_complete_not_utf_stop if max write was reached but was unable to completely write a given UTF-8 block (incomplete UTF-8 is not written, not even partially).
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
#ifndef _di_fll_control_group_prepare_
f_status_t fll_control_group_prepare(const f_control_group_t control_group) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (control_group.path.used) {
status = f_directory_exists(control_group.path);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_control_group_prepare_
* The control group(s) to ensure the directories exist.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_directory_not (with error bit) if control_group.path does not exist.
*
status = private_fll_execute_arguments_add(source, arguments);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_execute_arguments_add_
status = private_fll_execute_arguments_add_parameter(prefix, name, value, arguments);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_execute_arguments_add_parameter_
f_string_dynamics_t paths = f_string_dynamics_t_initialize;
f_string_dynamic_t *found = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (last_slash) {
status = f_file_exists(program.used ? program : arguments.array[0], F_true);
// Do not consider PATH is not available (or not valid?) to be an error.
if (F_status_set_fine(status) == F_valid_not || F_status_set_fine(status) == F_failure) {
- status = F_none;
+ status = F_okay;
}
}
else {
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fll_execute_into_
f_string_dynamics_t paths = f_string_dynamics_t_initialize;
f_string_dynamic_t *found = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (last_slash) {
status = f_file_exists(program.used ? program : arguments.array[0], F_true);
// Do not consider PATH to be not available (or not valid?) to be an error.
if (F_status_set_fine(status) == F_valid_not || F_status_set_fine(status) == F_failure) {
- status = F_none;
+ status = F_okay;
}
}
else {
* The array of string arguments intended to pass to the execute functions.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_append().
* Errors (with error bit) from: f_string_dynamic_resize().
* The array of string arguments intended to pass to the execute functions.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_append().
* Errors (with error bit) from: f_string_dynamic_resize().
* The array of string arguments intended to pass to the execute functions.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_append().
* Errors (with error bit) from: f_string_dynamic_resize().
* The array of string arguments intended to pass to the execute functions.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_append().
* Errors (with error bit) from: f_string_dynamic_resize().
* The code returned after finishing execution of program.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on execution failure.
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on success and this is the child thread.
* F_parent on success and this is the parent thread (only happens when FL_execute_parameter_option_return_d is passed).
*
++arguments->used;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fll_execute_arguments_add_) || !defined(_di_fll_execute_arguments_add_set_)
++arguments->used;
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fll_execute_arguments_add_parameter_) || !defined(_di_fll_execute_arguments_add_parameter_set_)
}
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fll_execute_program_)
} // for
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fll_execute_program_)
// This must explicitly check for 0 (as opposed to checking (!result)).
if (result != 0) {
- if (WIFEXITED(*((int *) result))) return F_none;
+ if (WIFEXITED(*((int *) result))) return F_okay;
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
if (parameter && parameter->option & FL_execute_parameter_option_session_d) {
const f_file_t file = macro_f_file_t_initialize_2(0, descriptors[1], F_file_flag_write_only_d);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Have the parent perform all appropriate access controls and then send either '0' for no error or '1' for error to the child.
if (as) {
// This must explicitly check for 0 (as opposed to checking (!result)).
if (result != 0) {
- if (WIFEXITED(*((int *) result))) return F_none;
+ if (WIFEXITED(*((int *) result))) return F_okay;
return F_status_set_error(F_failure);
}
- return F_none;
+ return F_okay;
}
if (parameter && parameter->option & FL_execute_parameter_option_session_d) {
* The array of string arguments intended to pass to the execute functions.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_increase_by().
* Errors (with error bit) from: f_string_dynamic_resize().
* The array of string arguments intended to pass to the execute functions.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_append().
* Errors (with error bit) from: f_string_dynamic_resize().
* The code returned after finishing execution of program.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_capability (with error bit) on failure to set capabilities.
* F_group (with error bit) on failure to set GID.
* A string representing the return code ('0' for success, '1' for failure).
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_control_group (with error bit) on failure to set control group.
* F_limit (with error bit) on failure to set a resource limit.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on success and this is the child thread.
* F_parent on success and this is the parent thread (only happens when FL_execute_parameter_option_return_d is passed).
*
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on success and this is the child thread.
* F_parent on success and this is the parent thread (only happens when FL_execute_parameter_option_return_d is passed).
*
* This is a array of simple strings intended to be eventually directly passed to functions like exec().
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* @see fll_execute_program()
*/
* The max recursion depth.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if path.used is 0.
*
* F_access_denied (with error bit) on access denied.
* The max recursion depth.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_access_group (with error bit) if the current user does not have access to assign the specified group.
#if !defined(_di_fll_file_mode_set_all_)
f_status_t private_fll_file_mode_set_all(const f_string_static_t path, const bool dereference, const mode_t mode, const f_number_unsigned_t depth_max, const f_number_unsigned_t depth) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
status = f_directory_is(path);
if (F_status_is_error(status)) return status;
return status;
}
- status = F_none;
+ status = F_okay;
{
f_string_dynamics_t * const list[] = {
#if !defined(_di_fll_file_role_change_all_)
f_status_t private_fll_file_role_change_all(const f_string_static_t path, const uid_t uid, const gid_t gid, const bool dereference, const f_number_unsigned_t depth_max, const f_number_unsigned_t depth) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
status = f_directory_is(path);
if (F_status_is_error(status)) return status;
return status;
}
- status = F_none;
+ status = F_okay;
{
f_string_dynamics_t * const list[] = {
* The current depth.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_access_mode (with error bit) if the current user does not have access to assign the file mode.
* The current depth.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_access_denied (with error bit) on access denied.
* F_access_group (with error bit) if the current user does not have access to assign the specified group.
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
} // for
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_string_ranges_t *content = 0;
f_number_unsigned_t i = 0;
} // for
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_apart_
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_string_dynamic_t name = f_string_dynamic_t_initialize;
f_number_unsigned_t i = 0;
f_string_dynamic_resize(0, &name);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_map_
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
} // for
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_map_apart_
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
} // for
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_map_mash_
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_string_dynamic_t name = f_string_dynamic_t_initialize;
f_number_unsigned_t i = 0;
f_string_dynamic_resize(0, &name);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_map_mash_apart_
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_string_dynamic_t name = f_string_dynamic_t_initialize;
f_number_unsigned_t i = 0;
f_string_dynamic_resize(0, &name);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_map_together_
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
} // for
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_mash_
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
} // for
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_mash_apart_
if (!objects.used) return F_data_not;
if (!contents.used) return F_data_not;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
} // for
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_snatch_together_
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set the pointer address to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not when there is no buffer, objects or contents to process.
*
* F_parameter (with error bit) if a parameter is invalid.
}
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
if (state->status == F_data_not) return;
if (found_data) {
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
return;
}
} while (state->status == F_fss_found_object_not);
- if (state->status == F_none_eos || state->status == F_none_stop) {
+ if (state->status == F_okay_eos || state->status == F_okay_stop) {
++contents->array[contents->used++].used;
++objects->used;
if (state->status == F_data_not || state->status == F_data_not_eos || state->status == F_data_not_stop) {
- // If at least some valid object was found, then return F_none equivelents.
+ // If at least some valid object was found, then return F_okay equivelents.
if (objects->used > initial_used) {
- state->status = (state->status == F_data_not_eos) ? F_none_eos : F_none_stop;
+ state->status = (state->status == F_data_not_eos) ? F_okay_eos : F_okay_stop;
}
return;
}
}
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
return;
}
return;
}
- if (state->status == F_none || state->status == F_none_stop || state->status == F_none_eos || state->status == F_none_eol) {
+ if (state->status == F_okay || state->status == F_okay_stop || state->status == F_okay_eos || state->status == F_okay_eol) {
if (content.used) {
range.start = 0;
range.stop = content.used - 1;
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching stopping point.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching stopping point.
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eol if there is no data to write and EOL was reached.
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching stopping point.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching stopping point.
* F_data_not if object or contents are empty (either object.used or contents.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
}
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
if (state->status == F_data_not) return;
if (found_data) {
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
}
else {
state->status = (range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop;
} while (state->status == F_fss_found_object_not);
- if (state->status == F_none_eos || state->status == F_none_stop) {
+ if (state->status == F_okay_eos || state->status == F_okay_stop) {
++contents->array[contents->used++].used;
++objects->used;
if (state->status == F_data_not || state->status == F_data_not_eos || state->status == F_data_not_stop) {
- // If at least some valid object was found, then return F_none equivalents.
+ // If at least some valid object was found, then return F_okay equivalents.
if (objects->used > initial_used) {
- state->status = (state->status == F_data_not_eos) ? F_none_eos : F_none_stop;
+ state->status = (state->status == F_data_not_eos) ? F_okay_eos : F_okay_stop;
}
return;
++contents->used;
}
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
return;
}
return;
}
- if (state->status == F_none || state->status == F_none_stop || state->status == F_none_eos || state->status == F_none_eol) {
+ if (state->status == F_okay || state->status == F_okay_stop || state->status == F_okay_eos || state->status == F_okay_eol) {
if (content.used) {
range.start = 0;
range.stop = content.used - 1;
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching stopping point.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching stopping point.
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching stopping point.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching stopping point.
* F_data_not if object or contents are empty (either object.used or contents.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location
if (state->status == F_data_not) return;
if (found_data) {
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
return;
}
} while (state->status == F_fss_found_object_not);
- if (state->status == F_none_eos || state->status == F_none_stop) return;
+ if (state->status == F_okay_eos || state->status == F_okay_stop) return;
if (state->status == F_data_not || state->status == F_data_not_eos || state->status == F_data_not_stop) {
- // If at least some valid object was found, then return F_none equivalents.
+ // If at least some valid object was found, then return F_okay equivalents.
if (nest->depth[0].used > initial_used) {
- state->status = (state->status == F_data_not_eos) ? F_none_eos : F_none_stop;
+ state->status = (state->status == F_data_not_eos) ? F_okay_eos : F_okay_stop;
}
return;
if (state->status == F_end_not_eos || state->status == F_end_not_stop || state->status == F_end_not_nest_eos || state->status == F_end_not_nest_stop) {
- // If at least some valid object was found, then return F_none equivalents.
+ // If at least some valid object was found, then return F_okay equivalents.
if (nest->depth[0].used > initial_used) {
- state->status = (state->status == F_data_not_eos) ? F_none_eos : F_data_not_stop;
+ state->status = (state->status == F_data_not_eos) ? F_okay_eos : F_data_not_stop;
}
return;
if (range->start >= range->stop || range->start >= buffer.used) {
// When content is found, the range->start is incremented, if content is found at range->stop, then range->start will be > range.stop.
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
return;
}
return;
}
- if (state->status == F_none || state->status == F_none_stop || state->status == F_none_eos || state->status == F_none_eol) {
+ if (state->status == F_okay || state->status == F_okay_stop || state->status == F_okay_eos || state->status == F_okay_eol) {
if (content.used) {
range.start = 0;
range.stop = content.used - 1;
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success (both valid object and valid content found with start location is at end of content).
- * F_none_eos on success after reaching the end of the buffer (both valid object and valid content found with start location is at end of buffer).
- * F_none_stop on success after reaching stopping point (both valid object and valid content found with start location is at stop point).
+ * F_okay on success (both valid object and valid content found with start location is at end of content).
+ * F_okay_eos on success after reaching the end of the buffer (both valid object and valid content found with start location is at end of buffer).
+ * F_okay_stop on success after reaching stopping point (both valid object and valid content found with start location is at stop point).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eol if there is no data to write and EOL was reached.
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching stopping point.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching stopping point.
* F_data_not if object or contents are empty (either object.used or contents.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
}
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
if (state->status == F_data_not) return;
if (found_data) {
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
}
else {
state->status = (range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop;
} while (state->status == F_fss_found_object_not);
- if (state->status == F_none_eos || state->status == F_none_stop) {
+ if (state->status == F_okay_eos || state->status == F_okay_stop) {
++contents->array[contents->used++].used;
++objects->used;
if (state->status == F_data_not || state->status == F_data_not_eos || state->status == F_data_not_stop || state->status == F_end_not_group_eos || state->status == F_end_not_group_stop) {
- // If at least some valid object was found, then return F_none equivelents.
+ // If at least some valid object was found, then return F_okay equivelents.
if (objects->used > initial_used) {
- state->status = (state->status == F_data_not_eos) ? F_none_eos : F_none_stop;
+ state->status = (state->status == F_data_not_eos) ? F_okay_eos : F_okay_stop;
}
return;
}
if (range->start >= buffer.used) {
- state->status = (state->status == F_end_not_group) ? F_end_not_group_eos : F_none_eos;
+ state->status = (state->status == F_end_not_group) ? F_end_not_group_eos : F_okay_eos;
return;
}
- state->status = (state->status == F_end_not_group) ? F_end_not_group_stop : F_none_stop;
+ state->status = (state->status == F_end_not_group) ? F_end_not_group_stop : F_okay_stop;
return;
}
return;
}
- if (state->status == F_none || state->status == F_none_stop || state->status == F_none_eos || state->status == F_none_eol) {
+ if (state->status == F_okay || state->status == F_okay_stop || state->status == F_okay_eos || state->status == F_okay_eol) {
uint8_t complete = f_fss_complete_next_e;
for (f_number_unsigned_t i = 0; i < contents.used; ++i) {
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_stop on success after reaching stopping point.
- * F_none_eos on success after reaching the end of the buffer.
+ * F_okay on success.
+ * F_okay_stop on success after reaching stopping point.
+ * F_okay_eos on success after reaching the end of the buffer.
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_stop no data to write due start location being greater than stop location.
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching stopping point.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching stopping point.
* F_data_not if object or contents are empty (either object.used or contents.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
}
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
if (state->status == F_data_not) return;
if (found_data) {
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
}
else {
state->status = (range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop;
} while (state->status == F_fss_found_object_not);
- if (state->status == F_none_eos || state->status == F_none_stop) {
+ if (state->status == F_okay_eos || state->status == F_okay_stop) {
++contents->array[contents->used++].used;
++objects->used;
if (state->status == F_data_not || state->status == F_data_not_eos || state->status == F_data_not_stop) {
- // If at least some valid object was found, then return F_none equivalents.
+ // If at least some valid object was found, then return F_okay equivalents.
if (objects->used > initial_used) {
- state->status = state->status == F_data_not_eos ? F_none_eos : F_none_stop;
+ state->status = state->status == F_data_not_eos ? F_okay_eos : F_okay_stop;
}
return;
++contents->used;
}
- state->status = (range->start >= buffer.used) ? F_none_eos : F_none_stop;
+ state->status = (range->start >= buffer.used) ? F_okay_eos : F_okay_stop;
return;
}
return;
}
- if (state->status == F_none || state->status == F_none_stop || state->status == F_none_eos || state->status == F_none_eol) {
+ if (state->status == F_okay || state->status == F_okay_stop || state->status == F_okay_eos || state->status == F_okay_eol) {
if (content.used) {
range.start = 0;
range.stop = content.used - 1;
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success (both valid object and valid content found with start location is at end of content).
- * F_none_eos on success after reaching the end of the buffer (both valid object and valid content found with start location is at end of buffer).
- * F_none_stop on success after reaching stopping point (both valid object and valid content found with start location is at stop point).
+ * F_okay on success (both valid object and valid content found with start location is at end of content).
+ * F_okay_eos on success after reaching the end of the buffer (both valid object and valid content found with start location is at end of buffer).
+ * F_okay_stop on success after reaching stopping point (both valid object and valid content found with start location is at stop point).
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eol if there is no data to write and EOL was reached.
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching stopping point.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching stopping point.
* F_data_not if object or contents are empty (either object.used or contents.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
}
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t initial_used = objects->used;
bool found_data = F_false;
}
if (found_data) {
- state->status = F_status_set_error((range->start >= buffer.used) ? F_none_eos : F_none_stop);
+ state->status = F_status_set_error((range->start >= buffer.used) ? F_okay_eos : F_okay_stop);
}
else {
state->status = F_status_set_error((range->start >= buffer.used) ? F_data_not_eos : F_data_not_stop);
if (buffer.used > range->stop) {
contents->array[contents->used].array[0].stop = range->stop;
range->start = range->stop + 1;
- state->status = F_none_stop;
+ state->status = F_okay_stop;
}
else {
contents->array[contents->used].array[0].stop = buffer.used - 1;
range->start = buffer.used;
- state->status = F_none_eos;
+ state->status = F_okay_eos;
}
++objects->used;
}
contents->array[contents->used++].used = 0;
- state->status = F_none;
+ state->status = F_okay;
return;
}
}
} while (state->status == F_fss_found_object_not);
- if (state->status == F_none_eos || state->status == F_none_stop) {
+ if (state->status == F_okay_eos || state->status == F_okay_stop) {
++contents->array[contents->used].used;
++objects->used;
++contents->used;
if (state->status == F_data_not || state->status == F_data_not_eos || state->status == F_data_not_stop) {
- // If at least some valid object was found, then return F_none equivalents.
+ // If at least some valid object was found, then return F_okay equivalents.
if (objects->used > initial_used) {
// Returning without a "payload" is an error.
- state->status = (state->status == F_data_not_eos) ? F_status_set_error(F_none_eos) : F_status_set_error(F_none_stop);
+ state->status = (state->status == F_data_not_eos) ? F_status_set_error(F_okay_eos) : F_status_set_error(F_okay_stop);
}
else {
state->status = F_status_set_error(state->status);
}
// Returning without a "payload" is an error.
- state->status = F_status_set_error((range->start >= buffer.used) ? F_none_eos : F_none_stop);
+ state->status = F_status_set_error((range->start >= buffer.used) ? F_okay_eos : F_okay_stop);
return;
}
return;
}
- if (state->status == F_none || state->status == F_none_stop || state->status == F_none_eos || state->status == F_none_eol) {
+ if (state->status == F_okay || state->status == F_okay_stop || state->status == F_okay_eos || state->status == F_okay_eol) {
if (f_compare_dynamic(f_fss_payload_s, object) == F_equal_to) {
state->status = f_string_dynamic_increase_by(content.used, destination);
if (F_status_is_error(state->status)) return;
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching stopping point.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching stopping point.
* F_data_not if buffer is empty (buffer.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
* F_fss_found_object_content_not (with error bit) When payload Content is missing.
* F_data_not_eos (with error bit) no data to write due start location being greater than or equal to buffer size, except that no "payload" is found.
* F_data_not_stop (with error bit) no data to write due start location being greater than stop location, except that no "payload" is found.
- * F_none (with error bit) on success, except that no "payload" is found.
- * F_none_eos (with error bit) on success after reaching the end of the buffer, except that no "payload" is found.
- * F_none_stop (with error bit) on success after reaching stopping point, except that no "payload" is found.
+ * F_okay (with error bit) on success, except that no "payload" is found.
+ * F_okay_eos (with error bit) on success after reaching the end of the buffer, except that no "payload" is found.
+ * F_okay_stop (with error bit) on success after reaching stopping point, except that no "payload" is found.
* F_number_overflow (with error bit) if the maximum buffer size is reached.
* F_parameter (with error bit) if a parameter is invalid.
*
* All other statuses are ignored.
*
* This alters state.status:
- * F_none on success.
- * F_none_eos on success after reaching the end of the buffer.
- * F_none_stop on success after reaching stopping point.
+ * F_okay on success.
+ * F_okay_eos on success after reaching the end of the buffer.
+ * F_okay_stop on success after reaching stopping point.
* F_data_not if object or contents are empty (either object.used or contents.used is 0).
* F_data_not_eos no data to write due start location being greater than or equal to buffer size.
* F_data_not_stop no data to write due start location being greater than stop location.
if (!code) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (!name.used) return F_data_not;
if (f_compare_dynamic(name, fll_fss_status_format_s) == F_equal_to) {
*code = F_fss_format;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, fll_fss_status_format_eos_s) == F_equal_to) {
*code = F_fss_format_eos;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_status_error_
if (f_compare_dynamic(name, fll_fss_status_accepted_invalid_s) == F_equal_to) {
*code = F_fss_accepted_invalid;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, fll_fss_status_accepted_invalid_eos_s) == F_equal_to) {
*code = F_fss_accepted_invalid_eos;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_status_warning_
if (f_compare_dynamic(name, fll_fss_status_found_object_s) == F_equal_to) {
*code = F_fss_found_object;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, fll_fss_status_found_content_s) == F_equal_to) {
*code = F_fss_found_content;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, fll_fss_status_found_object_not_s) == F_equal_to) {
*code = F_fss_found_object_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, fll_fss_status_found_content_not_s) == F_equal_to) {
*code = F_fss_found_content_not;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, fll_fss_status_found_object_content_not_s) == F_equal_to) {
*code = F_fss_found_object_content_not;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_status_success_
if (f_compare_dynamic(name, fll_fss_status_found_comment_s) == F_equal_to) {
*code = F_fss_found_object;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_fss_status_codes_
if (f_compare_dynamic(name, fll_fss_status_status_code_first_s) == F_equal_to) {
*code = F_fss_status_code_first;
- return F_none;
+ return F_okay;
}
if (f_compare_dynamic(name, fll_fss_status_status_code_last_s) == F_equal_to) {
*code = F_fss_status_code_last;
- return F_none;
+ return F_okay;
}
return fl_status_string_from(name, code);
return f_status_string_to(code, name);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fl_status_string_to_
* The status number a matched string represents.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if string is empty.
*
* F_data (with error bit) if not found.
* The status name that represents the given code.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The escaped string data is appended to this, so set the escaped.used = 0 if "replace" behavior is desired.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The escaped string data is appended to this, so set the escaped.used = 0 if "replace" behavior is desired.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The unescaped string data is appended to this, so set the unescaped.used = 0 if "replace" behavior is desired.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_syntax (with error bit) if the given string is invalid, such as having an undelimited quote.
* The unescaped string data is appended to this, so set the unescaped.used = 0 if "replace" behavior is desired.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_syntax (with error bit) if the given string is invalid, such as having an undelimited quote.
#if !defined(_di_fll_iki_content_escape_) || !defined(_di_fll_iki_content_partial_escape_)
f_status_t private_fll_iki_content_partial_escape(const f_string_static_t content, const f_string_range_t range, const f_char_t quote, f_string_dynamic_t * const escaped) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Ensure escaped is at least the same size as content.
if (content.used > escaped->size) {
} // for
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fll_iki_content_escape_) || !defined(_di_fll_iki_content_partial_escape_)
#if !defined(_di_fll_iki_content_unescape_) || !defined(_di_fll_iki_content_partial_unescape_)
f_status_t private_fll_iki_content_partial_unescape(const f_string_static_t content, const f_string_range_t range, const f_char_t quote, f_string_dynamic_t * const unescaped) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// Ensure escaped is at least the same size as content.
if (content.used > unescaped->size) {
}
} // for
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fll_iki_content_unescape_) || !defined(_di_fll_iki_content_partial_unescape_)
* The escaped string data is appended to this, so set the escaped.used = 0 if "replace" behavior is desired.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The unescaped string data is appended to this, so set the unescaped.used = 0 if "replace" behavior is desired.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
* F_syntax (with error bit) if the given string is invalid, such as having an undelimited quote.
{
if (choices.used) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t choice = 0;
if (right) {
private_fll_program_parameter_process_empty(&main->context, sets);
}
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fll_program_parameter_process_context_) || !defined(_di_fll_program_parameter_process_context_standard_)
fl_print_format(" %Q%[%Q%]", print->to, symbol_short, print->set->standout, option_short, print->set->standout);
fl_print_format(", %Q%[%Q%] %S%r", print->to, symbol_long, print->set->standout, option_long, print->set->standout, description, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // !defined(_di_fll_program_print_help_option_) || !defined(_di_fll_program_print_help_option_standard_)
* The main program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if "values" parameters were expected but not found.
*
* F_memory_not (with error bit) on out of memory.
* A desciption associated with the option.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* @see f_print_terminated()
* @see fl_print_format()
private_fll_program_parameter_process_empty(context, sets);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_parameter_process_empty_
main->error.verbosity = main->message.verbosity;
main->warning.verbosity = main->message.verbosity;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_parameter_process_verbosity_
main->error.verbosity = main->message.verbosity;
main->warning.verbosity = main->message.verbosity;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_parameter_process_verbosity_standard_
if (!arguments || !destination) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
const f_number_unsigned_t start = destination->used;
for (f_number_unsigned_t i = 0; i < values.used; ++i) {
if (F_status_is_error(status)) break;
if (status == F_data_not) {
- status = F_none;
+ status = F_okay;
}
else {
++destination->used;
if (F_status_is_error(status)) return status;
if (start == destination->used) return F_data_not;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_parameter_additional_append_
if (!arguments || !destination) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
const f_number_unsigned_t start = destination->used;
for (f_number_unsigned_t i = 0; i < values.used; ++i) {
if (F_status_is_error(status)) return status;
if (start == destination->used) return F_data_not;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_parameter_additional_mash_
if (!arguments || !destination) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
const f_number_unsigned_t start = destination->used;
for (f_number_unsigned_t i = 0; i < values.used; ++i) {
if (F_status_is_error(status)) break;
if (status == F_data_not) {
- status = F_none;
+ status = F_okay;
}
else {
++destination->used;
if (F_status_is_error(status)) return status;
if (start == destination->used) return F_data_not;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_parameter_additional_rip_
if (!arguments || !destination) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
const f_number_unsigned_t start = destination->used;
f_string_dynamic_t ripped = f_string_dynamic_t_initialize;
if (F_status_is_error(status)) return status;
if (start == destination->used) return F_data_not;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_parameter_additional_rip_mash_
const f_status_t status = f_signal_close(&program->signal);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_standard_set_down_
status = f_signal_mask(SIG_UNBLOCK, &program->signal.set, 0);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_standard_set_up_
* The main program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if "values" parameters were expected but not found.
*
* F_memory_not (with error bit) on out of memory.
* The main program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if "values" parameters were expected but not found.
*
* F_memory_not (with error bit) on out of memory.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
* The main program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but choices.used is 0.
*
* F_parameter (with error bit) if a parameter is invalid.
* The main program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* An array of dynamic strings each representing a console parameter.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if nothing to rip, no allocations or reallocations are performed.
*
* F_array_too_large (with error bit) if a buffer would exceed max length.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if nothing to rip, no allocations or reallocations are performed.
*
* F_memory_not (with error bit) on out of memory.
* An array of dynamic strings each representing a console parameter.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if nothing to rip, no allocations or reallocations are performed.
*
* F_memory_not (with error bit) on out of memory.
* The destination string the source and glue are appended onto.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not if nothing to rip, no allocations or reallocations are performed.
*
* F_memory_not (with error bit) on out of memory.
* The program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
if (!data) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
status = f_console_parameters_delete(&data->parameters);
if (F_status_is_error(status)) return status;
status = f_color_context_delete(&data->context);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_data_delete_
if (!data) return F_status_set_error(F_parameter);
#endif // _di_level_2_parameter_checking_
- f_status_t status = F_none;
+ f_status_t status = F_okay;
status = f_console_parameters_destroy(&data->parameters);
if (F_status_is_error(status)) return status;
status = f_color_context_destroy(&data->context);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_data_destroy_
* The program data object.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The program data object.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_copyright_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_missing_file_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_missing_variable_not_zero_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_both_specified_same_amount_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_both_specified_same_amount_without_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_cannot_use_with_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_cannot_use_with_without_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_cannot_use_with_pipe_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_cannot_use_with_xor_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_empty_value_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_integer_less_than_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_integer_more_than_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_integer_not_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_integer_not_negative_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_integer_not_positive_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_missing_value_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_missing_value_requires_amount_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_must_specify_once_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_must_specify_once_value_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_process_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_range_start_before_stop_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_value_too_long_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_pipe_invalid_form_feed_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_pipe_missing_content_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_pipe_object_without_content_
fl_print_format(" %[Available Options:%] %r", print->to, print->set->important, print->set->important, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_help_header_
private_fll_program_print_help_option(print, f_console_standard_short_line_first_no_s, f_console_standard_long_line_first_no_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "Disable printing of first line.");
private_fll_program_print_help_option(print, f_console_standard_short_line_last_no_s, f_console_standard_long_line_last_no_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, " Disable printing of last line.");
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_help_option_standard_
fl_print_format(" %Q%[%Q%] %S%r", print->to, symbol_long, print->set->standout, option_long, print->set->standout, description, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_help_option_long_
fl_print_format(" %[%Q%] %S%r", print->to, print->set->standout, option_other, print->set->standout, description, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_help_option_other_
f_print_dynamic_raw(f_string_eol_s, print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_help_usage_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_signal_received_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_version_
* The print.verbosity is used to determine how much detail is printed (except for when _di_detailed_copyright_ is set).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* This locks, uses, and unlocks the file stream.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The name of the variable that is not defined or has a length of 0.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The second parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The first and second parameter must be specified the same amount of times without this parameter.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The second parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The third parameter name (the without parameter).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* This represents the parameter that is an exclusive or with the second parameter.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string representing the number to not be less than.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The string representing the number to not be less than.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The value.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The value.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The value.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* A string representing the amount of missing parameters.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The value.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The range stop value.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* This locks, uses, and unlocks the file stream.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* This locks, uses, and unlocks the file stream.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* This locks, uses, and unlocks the file stream.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The version number of the program.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* A desciption associated with the option.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* A desciption associated with the option.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* A desciption associated with the option.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The color context.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* Set parameters.used to 0 to disable.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The signal code received.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
* The version number of the program.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_parameter (with error bit) if a parameter is invalid.
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (byte_dump_main_flag_help_e | byte_dump_main_flag_version_e | byte_dump_main_flag_copyright_e)) {
if (main->setting.flag & byte_dump_main_flag_help_e) {
* The main program data and settings.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_true on success when performing verification and verify passed.
* F_false on success when performing verification and verify failed.
*
return;
}
- f_status_t status_files = F_none;
+ f_status_t status_files = F_okay;
for (index = 0; index < main->program.parameters.remaining.used; ++index) {
}
if (F_status_is_error(main->setting.state.status)) {
- if (status_files == F_none) {
+ if (status_files == F_okay) {
if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
}
} // for
- if (status_files != F_none) {
+ if (status_files != F_okay) {
main->setting.state.status = F_status_set_error(status_files);
}
}
* The main program data and settings.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: fll_program_parameter_process_context_standard().
f_string_dynamics_resize(0, &setting->files);
- return F_none;
+ return F_okay;
}
#endif // _di_byte_dump_setting_delete_
#define byte_dump_setting_t_initialize \
{ \
byte_dump_main_flag_none_e, \
- F_none, \
+ F_okay, \
f_state_t_initialize, \
0, \
0, \
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
fl_print_format(" %[%r%]%r", print->to, print->set->notable, byte_dump_character_wall_s, print->set->notable, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_byte_dump_print_text_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_byte_dump_print_file_header_
* If name.used is 0 then this is assumed to be the input pipe.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* Will be reduced to 0 once used.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fll_error_print(print, F_status_set_fine(((byte_dump_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_byte_dump_print_error_
fll_error_file_print(print, F_status_set_fine(main->setting.state.status), function, fll_error_file_flag_fallback_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_byte_dump_print_error_file_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_file_code_invalid_
fll_print_format("%[%QNo files are specified, please pipe data or designate a file.%]%r", print->to, print->set->error, print->prefix, print->set->error, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_byte_dump_print_error_file_none_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_file_read_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fll_program_print_error_parameter_first_greater_than_last_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_byte_dump_print_error_parameter_range_out_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* If name.used is 0 then this is assumed to be the input pipe.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* If name.used is 0 then this is assumed to be the input pipe.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string that is supposed to be a valid number within range (but is not).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_byte_dump_print_message_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
}
if (!F_status_is_error(main->setting.state.status)) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // byte_dump_process_file
* The main program and settings data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on failure, usually when read() fails.
* F_interrupt (with error bit) on receiving a process signal, such as an interrupt signal.
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_control_action_verify_
* The main program data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) on parameter validation/verification failure.
*/
} // for
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_control_setting_load_
* The main program data and settings.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: fll_program_parameter_process_context().
f_string_dynamics_resize(0, &setting->actions);
- return F_none;
+ return F_okay;
}
#endif // _di_control_setting_delete_
control_main_flag_none_e, \
0, \
0, \
- F_none, \
+ F_okay, \
f_state_t_initialize, \
f_string_range_t_initialize, \
f_socket_t_initialize, \
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (control_main_flag_help_e | control_main_flag_version_e | control_main_flag_copyright_e)) {
if (main->setting.flag & control_main_flag_help_e) {
if (F_status_is_error(main->setting.state.status)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_control_main_
* The main program data and settings.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_true on success when performing verification and verify passed.
* F_false on success when performing verification and verify failed.
*
if (F_status_is_error(main->setting.state.status)) return;
}
- f_state_t state = macro_f_state_t_initialize_1(control_allocation_large_d, control_allocation_small_d, F_none, 0, 0, 0, &fll_program_standard_signal_handle, 0, (void *) main, 0);
+ f_state_t state = macro_f_state_t_initialize_1(control_allocation_large_d, control_allocation_small_d, F_okay, 0, 0, 0, &fll_program_standard_signal_handle, 0, (void *) main, 0);
f_string_static_t contents_array[main->setting.actions.used];
f_string_statics_t contents = macro_f_string_statics_t_initialize_1(contents_array, 0, main->setting.actions.used);
main->cache.packet.string[4] = main->cache.packet.used & 0xffu;
#endif // _is_F_endian_big
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_control_packet_build_
header->action = 0;
header->type = 0;
- header->status = F_none;
+ header->status = F_okay;
header->length = 0;
f_number_unsigned_t i = 0;
}
{
- f_state_t state = macro_f_state_t_initialize_1(control_allocation_large_d, control_allocation_small_d, F_none, 0, 0, 0, &fll_program_standard_signal_handle, 0, (void *) main, 0);
+ f_state_t state = macro_f_state_t_initialize_1(control_allocation_large_d, control_allocation_small_d, F_okay, 0, 0, 0, &fll_program_standard_signal_handle, 0, (void *) main, 0);
f_string_range_t range_packet = macro_f_string_range_t_initialize_2(main->cache.large.used);
fll_fss_basic_list_read(main->cache.large, &range_packet, &main->cache.packet_objects, &main->cache.packet_contents, &main->cache.delimits, 0, 0, &state);
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_control_packet_receive_
* The main program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_too_large (with error bit) If the message is too large for the packet format to transmit.
*
* The main program data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_header_not (with error bit) If there is a problem processing the packet header.
* F_memory_not (with error bit) On out of memory issues (this is passed through from called functions).
* The main program data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_socket_write().
*
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_debug_packet_header_object_and_content_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_debug_packet_message_
* The range representing the content where the content is found within the content string.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fll_error_print(print, F_status_set_fine(((control_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_
fll_error_file_print(print, F_status_set_fine(main->setting.state.status), function, fll_error_file_flag_fallback_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_file_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_packet_response_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_packet_response_failure_
fll_print_format("%[%QNo actions provided.%]%r", print->to, print->set->error, print->prefix, print->set->error, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_actions_none_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_not_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_rule_basename_empty_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_rule_directory_empty_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_rule_empty_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_rule_not_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_rule_too_few_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_rule_too_few_with_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_rule_too_many_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_rule_too_many_with_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_action_rule_with_unknown_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_value_empty_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_parameter_value_not_
fll_print_format("%[%QPipe input is not supported by this program.%]%r", print->to, print->set->error, print->prefix, print->set->error, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_pipe_supported_not_
fll_print_format("%[%QThe received response is not a valid or supported packet.%]%r", print->to, print->set->error, print->prefix, print->set->error, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_response_packet_valid_not_
fll_print_format("%[%QThe generated packet is too large, cannot send packet.%]%r", print->to, print->set->error, print->prefix, print->set->error, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_request_packet_too_large_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_socket_file_failed_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_socket_file_missing_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_error_socket_file_not_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string representing the name of the status code from header.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string representing the name of the status code from header.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter representing an action.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter representing an action.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter representing an action.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter representing an action.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter representing an action.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter representing an action.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The additional parameter in which is requiring additional arguments that are not met.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter representing an action.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The additional parameter in which is requiring additional arguments that are not met.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The additional parameter in which is requiring additional arguments that are not met.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The socket file path.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The socket file path.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The socket file path.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_message_help_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_message_packet_response_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string representing the name of the status code from header.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_warning_packet_header_duplicate_object_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_warning_packet_process_string_to_failed_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_control_print_warning_packet_response_busy_
* The repeated response header.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The status code representing the failure status returned by f_status_string_to().
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string representing the name of the status code from header.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
f_string_dynamic_resize(0, &main->program.path_pid);
f_string_dynamic_resize(0, &main->program.path_setting);
- return F_none;
+ return F_okay;
}
#endif // _di_controller_main_delete_
if (!setting) return F_status_set_error(F_parameter);
- return F_none;
+ return F_okay;
}
#endif // _di_controller_setting_delete_
controller_setting_delete(&main->setting);
- return F_none;
+ return F_okay;
}
#endif // _di_controller_setting_unload_
* The main program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Status codes (with error bit) are returned on any problem.
*/
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
* The main program settings.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: fll_program_parameter_process_context().
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* The entry item actions to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_array_too_large (with error bit) if the resulting new size is bigger than the max array length.
*
* Errors (with error bit) from: f_memory_resize().
* The entry items to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_array_too_large (with error bit) if the resulting new size is bigger than the max array length.
*
* Errors (with error bit) from: f_memory_resize().
if (F_status_is_error(status)) {
if (F_status_set_fine(status) == F_busy) {
- if (f_thread_mutex_delete(mutex) == F_none) {
+ if (f_thread_mutex_delete(mutex) == F_okay) {
mutex = 0;
}
}
if (F_status_is_error(status)) {
if (F_status_set_fine(status) == F_busy) {
- if (f_thread_lock_delete(lock) == F_none) {
+ if (f_thread_lock_delete(lock) == F_okay) {
lock = 0;
}
}
pids->used = length;
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_pids_resize_
#ifndef _di_controller_processs_resize_
f_status_t controller_processs_resize(const f_number_unsigned_t length, controller_processs_t * const processs) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = length; i < processs->size; ++i) {
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_processs_resize_
* The pid array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + controller_common_allocation_small_d <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The pid array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The process array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + controller_common_allocation_small_d <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The process array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: controller_process_delete_simple().
* Errors (with error bit) from: f_memory_resize().
ons->used = length;
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rule_ons_resize_
rules->used = length;
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rules_resize_
* The actions to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_array_too_large (with error bit) if the resulting new size is bigger than the max array length.
*
* Errors (with error bit) from: f_memory_resize().
* The on array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + controller_common_allocation_small_d <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The on array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* The rule array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but there is no reason to increase size (used + controller_common_allocation_small_d <= size).
*
* F_array_too_large (with error bit) if the new array length is too large.
* The rule array to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
#define controller_thread_t_initialize { \
controller_thread_enabled_e, \
0, \
- F_none, \
+ F_okay, \
f_thread_id_t_initialize, \
f_thread_id_t_initialize, \
f_thread_id_t_initialize, \
#ifndef _di_controller_main_
f_status_t controller_main(controller_main_t * const main, const f_console_arguments_t arguments) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
setting->state.step_small = controller_allocation_console_d;
if (main->parameters.array[f_console_standard_parameter_help_e].result & f_console_result_found_e) {
controller_print_help(main);
- return F_none;
+ return F_okay;
}
if (main->parameters.array[f_console_standard_parameter_version_e].result & f_console_result_found_e) {
fll_program_print_version(main->message, controller_program_version_s);
- return F_none;
+ return F_okay;
}
if (main->parameters.array[f_console_standard_parameter_copyright_e].result & f_console_result_found_e) {
fll_program_print_copyright(main->message);
- return F_none;
+ return F_okay;
}
- status = F_none;
+ status = F_okay;
f_string_static_t * const argv = main->parameters.arguments.array;
* The parameters passed to the process.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child if this is a child process returning.
*
* F_interrupt (with error bit) on receiving a process signal, such as an interrupt signal.
#ifndef _di_controller_file_load_
f_status_t controller_file_load(const controller_global_t global, const bool required, const f_string_static_t path_prefix, const f_string_static_t path_name, const f_string_static_t path_suffix, controller_cache_t * const cache) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_file_t file = f_file_t_initialize;
cache->action.name_file.used = 0;
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_controller_file_load_
#ifndef _di_controller_file_pid_create_
f_status_t controller_file_pid_create(const pid_t pid, const f_string_static_t path) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// The file exists, do not attempt to overwrite.
if (f_file_exists(path, F_true) == F_true) {
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_controller_file_pid_create_
// Only delete if the file exists and there is no error while checking.
if (f_file_exists(path, F_true) != F_true) {
- return F_none;
+ return F_okay;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_file_t pid_file = f_file_t_initialize;
status = f_file_stream_open(path, f_file_open_mode_read_s, &pid_file);
return F_status_set_error(F_exist_not);
}
- return F_none;
+ return F_okay;
}
return status;
return F_status_set_error(F_exist_not);
}
- return F_none;
+ return F_okay;
}
return status;
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_path_canonical_relative_
f_status_t controller_perform_ready(const controller_global_t * const global, controller_cache_t * const cache, const bool is_entry) {
if (!is_entry) {
- return F_none;
+ return F_okay;
}
if (global->main->parameters.array[controller_parameter_validate_e].result & f_console_result_found_e) {
controller_unlock_print_flush(global->main->output.to, global->thread);
}
- return F_none;
+ return F_okay;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (global->setting->entry.pid != controller_entry_pid_disable_e && !global->setting->path_pid.used) {
status = controller_file_pid_create(global->main->pid, global->setting->path_pid);
controller_unlock_print_flush(global->main->warning.to, global->thread);
}
- status = F_none;
+ status = F_okay;
}
else {
global->setting->flag |= controller_setting_flag_pid_created_e;
// Do not fail on non-memory errors related to creating the control socket.
if (F_status_is_error(status) && F_status_set_fine(status) != F_memory) {
- status = F_none;
+ status = F_okay;
}
}*/
#ifndef _di_controller_perform_ready_socket_
f_status_t controller_perform_ready_socket(const controller_global_t * const global, controller_cache_t * const cache, const bool is_entry) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (global->setting->control.flag & controller_control_flag_readonly_e) {
if (f_file_exists(global->setting->path_control, F_true) != F_true) {
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_perform_ready_socket_
#ifndef _di_controller_validate_define_name_
f_status_t controller_validate_environment_name(const f_string_static_t name) {
- if (!name.used) return F_none;
+ if (!name.used) return F_okay;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (name.string[0] != '_') {
status = f_utf_is_alphabetic(name.string, name.used);
#ifndef _di_controller_validate_has_graph_
f_status_t controller_validate_has_graph(const f_string_static_t name) {
- if (!name.used) return F_none;
+ if (!name.used) return F_okay;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < name.used; i += macro_f_utf_byte_width(name.string[i])) {
* - timestamp: This is updated to reflect the last changed timestamp.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_found_not if required is FALSE and the file is not found.
*
* Errors (with error bit) from: f_file_stat().
* The file path to the pid file to create.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_access_denied if pid file is not created due to access denied errors.
* F_directory_not if pid file is not created due to a parent directory is unavailable or invalid.
*
* The file path to the pid file to create.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_number_not (with error bit) if the number from the pid file doesn't match the expected pid.
*
* The PID to be read.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_file_stream_close().
* Errors (with error bit) from: f_file_stream_open().
* The determined user ID.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_exist_not (with error bit) if failed to match the name to an ID.
* F_number_too_large (with error bit) if the given ID is too large.
*
* The determined group ID.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_exist_not (with error bit) if failed to match the name to an ID.
* F_number_too_large (with error bit) if the given ID is too large.
*
* The destination will be completely replaced on success.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fl_path_canonical().
*
* If FALSE, then this operate as an exit.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors from controller_file_pid_create() are not returned, unless it is a memory error.
*
* If FALSE, then this operate as an exit.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but socket file not created.
*
* Errors (with error bit) from: f_file_mode_set().
* @return
* F_true on valid.
* F_false on invalid.
- * F_none if there is no string to validate (used = 0).
+ * F_okay if there is no string to validate (used = 0).
*
* Errors (with error bit) from: f_utf_is_alphabetic().
* Errors (with error bit) from: f_utf_is_alphabetic_digit().
* @return
* F_true on valid.
* F_false on invalid.
- * F_none if there is no string to validate (used = 0).
+ * F_okay if there is no string to validate (used = 0).
*
* Errors (with error bit) from: f_utf_is_graph().
*
#ifndef _di_controller_entry_actions_read_
f_status_t controller_entry_actions_read(const controller_global_t global, const bool is_entry, const f_string_range_t content_range, controller_cache_t * const cache, controller_entry_actions_t *actions) {
- f_status_t status = F_none;
- f_status_t status_action = F_none;
+ f_status_t status = F_okay;
+ f_status_t status_action = F_okay;
actions->used = 0;
{
controller_state_interrupt_t custom = macro_controller_state_interrupt_t_initialize_1(is_entry, 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_state_t state = macro_f_state_t_initialize_1(controller_common_allocation_large_d, controller_common_allocation_small_d, F_okay, 0, 0, 0, &controller_thread_signal_state_fss, 0, (void *) &custom, 0);
f_string_range_t range = content_range;
status = fll_fss_extended_read(cache->buffer_file, state, &range, &cache->object_actions, &cache->content_actions, 0, 0, &cache->delimits, 0);
}
}
else {
- action->status = F_none;
+ action->status = F_okay;
}
if (F_status_is_error(action->status)) {
action->code |= controller_entry_rule_code_wait_d;
}
else {
- if (action->status == F_none) {
+ if (action->status == F_okay) {
action->status = F_status_set_error(F_support_not);
if (F_status_is_error_not(status_action)) {
}
}
- if (action->status == F_none) {
+ if (action->status == F_okay) {
if (action->parameters.used == 2) {
if (action->flag & controller_entry_action_flag_undefined_e) {
action->flag -= controller_entry_action_flag_undefined_e;
#ifndef _di_controller_entry_preprocess_
f_status_t controller_entry_preprocess(const controller_global_t global, const bool is_entry, controller_cache_t * const cache) {
- f_status_t status = F_none;
- f_status_t status2 = F_none;
+ f_status_t status = F_okay;
+ f_status_t status2 = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
#ifndef _di_controller_entry_process_
f_status_t controller_entry_process(const controller_global_t * const global, controller_cache_t * const cache, const bool failsafe, const bool is_entry) {
- f_status_t status = F_none;
- f_status_t status_lock = F_none;
+ f_status_t status = F_okay;
+ f_status_t status_lock = F_okay;
f_number_unsigned_t at_i = 0;
f_number_unsigned_t at_j = 1;
#ifndef _di_controller_entry_read_
f_status_t controller_entry_read(const controller_global_t global, const bool is_entry, controller_cache_t * const cache) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
controller_entry_t *entry = is_entry ? &global.setting->entry : &global.setting->exit;
if (F_status_is_error_not(status)) {
if (cache->buffer_file.used) {
controller_state_interrupt_t custom = macro_controller_state_interrupt_t_initialize_1(is_entry, 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_state_t state = macro_f_state_t_initialize_1(controller_common_allocation_large_d, controller_common_allocation_small_d, F_okay, 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_file.used);
status = fll_fss_basic_list_read(cache->buffer_file, state, &range, &cache->object_items, &cache->content_items, &cache->delimits, 0, &cache->comments);
entry->status = controller_status_simplify_error(F_status_set_fine(status));
}
else {
- entry->status = F_none;
+ entry->status = F_okay;
}
return entry->status;
#ifndef _di_controller_entry_settings_read_
f_status_t controller_entry_settings_read(const controller_global_t global, const bool is_entry, const f_string_range_t content_range, controller_cache_t * const cache) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
{
controller_state_interrupt_t custom = macro_controller_state_interrupt_t_initialize_1(is_entry, 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_state_t state = macro_f_state_t_initialize_1(controller_common_allocation_large_d, controller_common_allocation_small_d, F_okay, 0, 0, 0, &controller_thread_signal_state_fss, 0, (void *) &custom, 0);
f_string_range_t range = content_range;
status = fll_fss_extended_read(cache->buffer_file, state, &range, &cache->object_actions, &cache->content_actions, 0, 0, &cache->delimits, 0);
++setting_maps->used;
- return F_none;
+ return F_okay;
}
#endif // _di_controller_entry_settings_read_map_
const f_string_static_t *string = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
* The processed actions.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: controller_entry_actions_increase_by().
* Errors (with error bit) from: f_fss_count_lines().
* The main/global cache to use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* 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.
*
* If FALSE, then this operate as an exit.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_execute on success and program exiting (scripts may result in this) or when execute would have been executed but is instead simulated.
*
* F_require (with error bit) if a required Item failed.
* This should be the cache global.thread->asynchronouss.array[global.id].cache.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_file_found_not on file not found for a an exit file (is_entry is FALSE).
*
* Errors (with error bit) from: controller_entry_actions_read().
status = f_thread_condition_create(0, &lock->alert_condition);
if (F_status_is_error(status)) return status;
- return F_none;
+ return F_okay;
}
#endif // _di_controller_lock_create_
struct timespec time;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (;;) {
struct timespec time;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (;;) {
* The lock to allocate.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_thread_lock_delete().
* Errors (with error bit) from: f_thread_mutex_delete().
* The r/w lock to obtain a read lock on.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit set) on (exit) signal received, lock will not be set when this is returned.
*
* The r/w lock to obtain a write lock on.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit set) on (exit) signal received, lock will not be set when this is returned.
*
controller_unlock_print_flush(print.to, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_controller_print_help_
* The output structure to print to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_controller_print_help_
#ifndef _di_controller_process_find_
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 (!alias.used) return F_okay;
if (!processs.used) return F_false;
for (f_number_unsigned_t i = 0; i < processs.used; ++i) {
#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_number_unsigned_t *id) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (controller_process_find(action, alias, global.thread->processs, id) == F_false) {
f_thread_unlock(&global.thread->lock.process);
if (F_status_is_error_not(status)) {
process->id = global.thread->processs.used++;
- status = F_none;
+ status = F_okay;
if (id) {
*id = process->id;
struct timespec time;
- f_status_t status = F_none;
- f_status_t status_lock = F_none;
+ f_status_t status = F_okay;
+ f_status_t status_lock = F_okay;
uint8_t count = 0;
if (!controller_rule_status_is_available(process->action, process->rule) && !(process->state == controller_process_state_active_e || process->state == controller_process_state_busy_e)) {
f_thread_unlock(&process->lock);
- return F_none;
+ return F_okay;
}
if (status != F_time) {
* Set to NULL to not use.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_found on success, but nothing was done because an existing process was found.
*
* F_lock (with error bit) if failed to re-establish read lock on global.thread->lock.process while returning.
* (optional) Set to NULL to disable.
*
* @return
- * F_none if not given a valid id to search.
+ * F_okay if not given a valid id to search.
* F_false if there is no process found.
* F_true if there is a process found (address is stored in "at").
*/
* The process to wait on.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on receiving a process signal, such as an interrupt signal.
*
#ifndef _di_controller_rule_find_
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 (!alias.used) return F_okay;
if (!rules.used) return F_false;
for (f_number_unsigned_t i = 0; i < rules.used; ++i) {
#ifndef _di_controller_rule_parameters_read_
f_status_t controller_rule_parameters_read(const controller_global_t global, const f_string_static_t buffer, f_string_range_t * const object, f_string_ranges_t * const content, controller_rule_action_t * const action, f_state_t * const state) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
action->parameters.used = 0;
action->ikis.used = 0;
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rule_parameters_read_
#ifndef _di_controller_rule_action_read_
f_status_t controller_rule_action_read(const controller_global_t global, const bool is_normal, const uint8_t type, const uint8_t method, controller_cache_t * const cache, controller_rule_item_t *item, controller_rule_actions_t *actions, f_string_range_t *range) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
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_state_t state = macro_f_state_t_initialize_1(controller_common_allocation_large_d, controller_common_allocation_small_d, F_okay, 0, 0, 0, &controller_thread_signal_state_fss, 0, (void *) &custom, 0);
f_number_unsigned_t i = 0;
#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_number_unsigned_t * const index, f_number_unsigned_t * const number) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_signed_t parsed = 0;
if (*index + 1 == cache->content_action.used) {
*number = (f_number_unsigned_t) parsed;
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rule_action_read_rerun_number_
destination->ons.used = 0;
destination->items.used = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
status = f_string_dynamic_append(source.alias, &destination->alias);
if (F_status_is_error(status)) return status;
#ifndef _di_controller_rule_execute_
f_status_t controller_rule_execute(const controller_global_t global, const uint8_t action, const uint8_t options, controller_process_t * const process) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_status_t success = F_false;
f_number_unsigned_t i = 0;
return F_ignore;
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rule_execute_
#ifndef _di_controller_rule_execute_foreground_
f_status_t controller_rule_execute_foreground(const uint8_t type, const f_string_static_t program, const f_string_statics_t arguments, const uint8_t options, controller_execute_set_t * const execute_set, controller_process_t * const process) {
- f_status_t status = F_none;
- f_status_t status_lock = F_none;
+ f_status_t status = F_okay;
+ f_status_t status_lock = F_okay;
controller_main_t * const main = (controller_main_t *) process->main_data;
controller_thread_t * const thread = (controller_thread_t *) process->main_thread;
if (F_status_set_fine(status_lock) != F_interrupt) {
status = controller_lock_read_process(process, thread, &process->lock);
- if (status == F_none) {
+ if (status == F_okay) {
return status_lock;
}
}
}
if (F_status_set_fine(status_lock) == F_interrupt || !controller_thread_is_enabled_process(process, thread)) {
- if (status_lock == F_none) {
+ if (status_lock == F_okay) {
return F_status_set_error(F_interrupt);
}
return F_status_set_error(F_lock);
}
- if (status_lock == F_none) {
+ if (status_lock == F_okay) {
f_thread_unlock(&process->lock);
}
if (F_status_set_fine(status_lock) != F_interrupt) {
status = controller_lock_read_process(process, thread, &process->lock);
- if (status == F_none) {
+ if (status == F_okay) {
return status_lock;
}
}
status = F_status_set_error(F_failure);
}
else {
- status = F_none;
+ status = F_okay;
}
}
else {
#ifndef _di_controller_rule_execute_pid_with_
f_status_t controller_rule_execute_pid_with(const f_string_dynamic_t pid_file, const uint8_t type, const f_string_static_t program, const f_string_statics_t arguments, const uint8_t options, const uint8_t with, controller_execute_set_t * const execute_set, controller_process_t * const process) {
- f_status_t status = F_none;
- f_status_t status_lock = F_none;
+ f_status_t status = F_okay;
+ f_status_t status_lock = F_okay;
controller_main_t * const main = (controller_main_t *) process->main_data;
controller_thread_t * const thread = (controller_thread_t *) process->main_thread;
if (F_status_set_fine(status_lock) != F_interrupt) {
status = controller_lock_read_process(process, thread, &process->lock);
- if (status == F_none) {
+ if (status == F_okay) {
return status_lock;
}
}
}
if (!controller_thread_is_enabled_process(process, thread)) {
- if (status_lock == F_none) {
+ if (status_lock == F_okay) {
return F_status_set_error(F_interrupt);
}
return F_status_set_error(F_lock);
}
- if (status_lock == F_none) {
+ if (status_lock == F_okay) {
f_thread_unlock(&process->lock);
}
if (F_status_set_fine(status_lock) != F_interrupt) {
status = controller_lock_read_process(process, thread, &process->lock);
- if (status == F_none) {
+ if (status == F_okay) {
return status_lock;
}
}
status = F_status_set_error(F_failure);
}
else {
- status = F_none;
+ status = F_okay;
}
}
else {
process->cache.expanded.used = 0;
if (!action.parameters.used) {
- return F_none;
+ return F_okay;
}
f_status_t status = f_string_dynamics_increase_by(action.parameters.used, &process->cache.expanded);
if (F_status_is_error(status)) return status;
} // for
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rule_expand_
#ifndef _di_controller_rule_expand_iki_
f_status_t controller_rule_expand_iki(controller_process_t * const process, const f_string_static_t source, const f_string_range_t vocabulary, const f_string_range_t content, f_string_dynamic_t * const destination) {
- if (vocabulary.start > vocabulary.stop) return F_none;
- if (content.start > content.stop) return F_none;
+ if (vocabulary.start > vocabulary.stop) return F_okay;
+ if (content.start > content.stop) return F_okay;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (f_compare_dynamic_partial_string(controller_define_s.string, source, controller_define_s.used, vocabulary) == F_equal_to) {
f_number_unsigned_t i = 0;
} // for
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rule_expand_iki_
#ifndef _di_controller_rule_id_construct_
f_status_t controller_rule_id_construct(const controller_global_t global, const f_string_static_t source, const f_string_range_t directory, const f_string_range_t basename, f_string_dynamic_t * const alias) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
alias->used = 0;
#ifndef _di_controller_rule_item_read_
f_status_t controller_rule_item_read(const controller_global_t global, const bool is_normal, controller_cache_t * const cache, controller_rule_item_t * const item) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
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_state_t state = macro_f_state_t_initialize_1(controller_common_allocation_large_d, controller_common_allocation_small_d, F_okay, 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_number_unsigned_t last = 0;
return F_status_set_error(F_parameter);
}
- f_status_t status = F_none;
- f_status_t status_lock = F_none;
+ f_status_t status = F_okay;
+ f_status_t status_lock = F_okay;
process->cache.action.name_action.used = 0;
process->cache.action.name_item.used = 0;
return F_status_set_error(F_interrupt);
}
- f_status_t status = F_none;
- f_status_t status_lock = F_none;
+ f_status_t status = F_okay;
+ f_status_t status_lock = F_okay;
controller_process_t *process = 0;
return status;
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rule_process_begin_
#ifndef _di_controller_rule_process_do_
f_status_t controller_rule_process_do(const uint8_t options_force, controller_process_t * const process) {
- f_status_t status_lock = F_none;
+ f_status_t status_lock = F_okay;
controller_global_t global = macro_controller_global_t_initialize_1((controller_main_t *) process->main_data, (controller_setting_t *) process->main_setting, (controller_thread_t *) process->main_thread);
return status_lock;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t id_rule = 0;
#ifndef _di_controller_rule_read_
f_status_t controller_rule_read(const controller_global_t global, const bool is_normal, const f_string_static_t alias, controller_cache_t * const cache, controller_entry_t * const entry, controller_rule_t * const rule) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
bool for_item = F_true;
rule->items.array[i].actions.array[j].type = 0;
rule->items.array[i].actions.array[j].line = 0;
- rule->items.array[i].actions.array[j].status = F_none;
+ rule->items.array[i].actions.array[j].status = F_okay;
rule->items.array[i].actions.array[j].parameters.used = 0;
rule->items.array[i].actions.array[j].ikis.used = 0;
if (cache->buffer_file.used) {
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_state_t state = macro_f_state_t_initialize_1(controller_common_allocation_large_d, controller_common_allocation_small_d, F_okay, 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_file.used);
status = fll_fss_basic_list_read(cache->buffer_file, state, &range, &cache->object_items, &cache->content_items, &cache->delimits, 0, &cache->comments);
return rule->status[0];
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rule_read_
#ifndef _di_controller_rule_setting_read_
f_status_t controller_rule_setting_read(const controller_global_t global, const bool is_normal, const controller_setting_t setting, controller_cache_t * const cache, controller_rule_t * const rule) {
- f_status_t status = F_none;
- f_status_t status_return = F_none;
+ f_status_t status = F_okay;
+ f_status_t status_return = F_okay;
f_string_range_t range = macro_f_string_range_t_initialize_2(cache->buffer_item.used);
f_string_range_t range2 = f_string_range_t_initialize;
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_state_t state = macro_f_state_t_initialize_1(controller_common_allocation_large_d, controller_common_allocation_small_d, F_okay, 0, 0, 0, &controller_thread_signal_state_fss, 0, (void *) &custom, 0);
status = fll_fss_extended_read(cache->buffer_item, state, &range, &cache->object_actions, &cache->content_actions, 0, 0, &cache->delimits, 0);
return F_data_not;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
bool required_not_run = F_false;
bool skip = F_false;
if (process_list[i]->state == controller_process_state_done_e) {
f_thread_unlock(&process_list[i]->active);
- if (f_thread_lock_write_try(&process_list[i]->active) == F_none) {
+ if (f_thread_lock_write_try(&process_list[i]->active) == F_okay) {
controller_thread_join(&process_list[i]->id_thread);
process_list[i]->state = controller_process_state_idle_e;
return F_require;
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_rule_wait_all_
* (optional) Set to NULL to disable.
*
* @return
- * F_none on success, but the id.used is 0.
+ * F_okay on success, but the id.used is 0.
* F_true on success and rule was found, index is updated.
* F_false on success and rule was not found.
*/
* The state data for passing to fl_iki_read().
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_fss_count_lines().
* Errors (with error bit) from: f_memory_array_increase().
* This is expected to be set to a position immediately after a valid object read.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: controller_rule_actions_increase_by().
* Errors (with error bit) from: controller_rule_parameters_read().
* The destination rule to copy to.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_capability_copy().
* Errors (with error bit) from: f_control_group_copy().
* The process data for processing this rule.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
* F_ignore if the rule is unknown and nothing can be done.
*
* The process data for processing this rule.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
*
* F_interrupt (with error bit) on receiving a process signal, such as an interrupt signal.
* The process data for processing this rule.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
*
* F_file_found (with error bit) if the PID file already exists.
* The process information.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: controller_rule_expand_iki().
*
* The buffer to expand into.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_environment_get().
* Errors (with error bit) from: f_string_dynamic_append().
* The constructed alias.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_partial_append_nulless().
*
* The processed item.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_valid_not (with error bit) on invalid data.
*
* Errors (with error bit) from: f_fss_count_lines().
* The items to resize.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_array_too_large (with error bit) if the resulting new size is bigger than the max array length.
*
* Errors (with error bit) from: f_memory_resize().
* The process data for processing this rule.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
* F_failure on execution failure.
*
* A structure for containing and caching relevant data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_busy on success and the process was found to already be running (nothing to do).
*
* F_found_not (with error bit) if unable to for a process for the given rule id.
* The process data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_found on the process was found to already be running (nothing to do).
* F_process_not if the process was not executed because it is a "consider" Action.
*
* The rule status will be updated by this function.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Simplified status (with error bit) from controller_status_simplify_error() on failure.
*
* The processed number will be saved here.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_valid_not (with error bit) on failure due to invalid value.
*
* The processed rule.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_valid_not (with error bit) on success but there were one or more invalid settings encountered.
*
* If FALSE, process all waits, returning normally (required rules still result in failure).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success and nothing to do.
* F_require on success, but a required rule has not been run yet.
*
const struct timespec delay = controller_time_seconds((global->main->parameters.array[controller_parameter_simulate_e].result & f_console_result_found_e) ? controller_thread_cleanup_interval_short_d : controller_thread_cleanup_interval_long_d);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
while (global->thread->enabled == controller_thread_enabled_e) {
if (global->thread->enabled != controller_thread_enabled_e) break;
- if (f_thread_lock_write_try(&global->thread->lock.process) == F_none) {
+ if (f_thread_lock_write_try(&global->thread->lock.process) == F_okay) {
controller_process_t *process = 0;
f_number_unsigned_t i = 0;
process = global->thread->processs.array[i];
// If "active" has a read lock, then do not attempt to clean it.
- if (f_thread_lock_write_try(&process->active) != F_none) {
+ if (f_thread_lock_write_try(&process->active) != F_okay) {
continue;
}
// If "lock" has a read or write lock, then do not attempt to clean it.
- if (f_thread_lock_write_try(&process->lock) != F_none) {
+ if (f_thread_lock_write_try(&process->lock) != F_okay) {
f_thread_unlock(&process->active);
continue;
#ifndef _di_controller_thread_main_
f_status_t controller_thread_main(controller_main_t * const main, controller_setting_t * const setting) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
controller_thread_t thread = controller_thread_t_initialize;
controller_global_t global = macro_controller_global_t_initialize_1(main, setting, &thread);
return F_status_set_error(F_interrupt);
}
- return F_none;
+ return F_okay;
}
#endif // _di_controller_thread_main_
* The thread ID.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Success from: f_thread_detach().
*
* The controller settings data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
*
* F_failure (with error bit) on any failure.
* The thread ID.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Success from: f_thread_join().
*
if (global->thread->enabled != controller_thread_enabled_e) return 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (status == F_child) {
controller_entry_t *entry = 0;
controller_process_t *process = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
pid_t pid = 0;
The \fBheader\fR Object contains the following \fBFSS\-0001 (Extended)\fR Objects (depending on \fBtype\fR):
\- \fBaction\fR: A valid action type: \fBfreeze\fR, \fBkexec\fR, \fBkill\fR, \fBpause\fR, \fBreboot\fR, \fBreload\fR, \fBrerun\fR, \fBrestart\fR, \fBresume\fR, \fBshutdown\fR, \fBstart\fR, \fBstop\fR, or \fBthaw\fR.
\- \fBlength\fR: A positive whole number inclusively between 0 and 4294965248 representing the length of the \fBpayload\fR (may be in binary, octal, decimal, duodecimal, or hexidecimal).
- \- \fBstatus\fR: The status code name or number representing an FSS status code, such as F_none, F_failure, or 200 (where a number may have error and warning bits and may be in binary, octal, decimal, duodecimal, or hexidecimal).
+ \- \fBstatus\fR: The status code name or number representing an FSS status code, such as F_okay, F_failure, or 200 (where a number may have error and warning bits and may be in binary, octal, decimal, duodecimal, or hexidecimal).
\- \fBtype\fR: The packet type that is one of \fBcontroller\fR, \fBerror\fR, or \fBinit\fR.
When there are multiple Objects of the same name inside the \fBheader\fR:
\- \fBaction\fR: The order represents the order in which the actions are performed.
\- \fBlength\fR: There may only be one length Object, all others after the first are ignored (may be in binary, octal, decimal, duodecimal, or hexidecimal).
- \- \fBstatus\fR: A status for each action, in the same order as the order of the action, such as F_none, F_failure, or 200 (where a number may have error and warning bits and may be in binary, octal, decimal, duodecimal, or hexidecimal).
+ \- \fBstatus\fR: A status for each action, in the same order as the order of the action, such as F_okay, F_failure, or 200 (where a number may have error and warning bits and may be in binary, octal, decimal, duodecimal, or hexidecimal).
\- \fBtype\fR: The first represent the type and all others represents a sub\-type.
There are different headers and payload properties based on the \fBtype\fR.
The code:"header" Object contains the following code:"FSS-0001 (Extended)" Objects (depending on code:"type")\:
- code:"action": A valid action type: code:"freeze", code:"kexec", code:"kill", code:"pause", code:"reboot", code:"reload", code:"rerun", code:"restart", code:"resume", code:"shutdown", code:"start", code:"stop", or code:"thaw".
- code:"length": A positive whole number inclusively between 0 and 4294965248 representing the length of the code:"payload" (may be in binary, octal, decimal, duodecimal, or hexidecimal).
- - code:"status": The status code name or number representing an FSS status code, such as F_none, F_failure, or 200 (where a number may have error and warning bits and may be in binary, octal, decimal, duodecimal, or hexidecimal).
+ - code:"status": The status code name or number representing an FSS status code, such as F_okay, F_failure, or 200 (where a number may have error and warning bits and may be in binary, octal, decimal, duodecimal, or hexidecimal).
- code:"type": The packet type that is one of code:"controller", code:"error", or code:"init".
When there are multiple Objects of the same name inside the code:"header"\:
- code:"action": The order represents the order in which the actions are performed.
- code:"length": There may only be one length Object, all others after the first are ignored (may be in binary, octal, decimal, duodecimal, or hexidecimal).
- - code:"status": A status for each action, in the same order as the order of the action, such as F_none, F_failure, or 200 (where a number may have error and warning bits and may be in binary, octal, decimal, duodecimal, or hexidecimal).
+ - code:"status": A status for each action, in the same order as the order of the action, such as F_okay, F_failure, or 200 (where a number may have error and warning bits and may be in binary, octal, decimal, duodecimal, or hexidecimal).
- code:"type": The first represent the type and all others represents a sub-type.
There are different headers and payload properties based on the code:"type".
} // for
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_build_arguments_standard_add_
fake_main_t * const main = data->main;
f_string_static_t buffer = f_string_static_t_initialize;
- f_status_t failed = F_none;
+ f_status_t failed = F_okay;
fake_local_t local = macro_fake_local_t_initialize_1(main, &main->cache_map, &failed);
main->cache_recurse_do.action = &fake_do_copy_action;
break;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
} // for
fake_build_touch(data, file_stage);
fake_main_t * const main = data->main;
name->used = 0;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (!path.used) return;
}
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_build_get_file_name_without_extension_
} // for
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_build_objects_add_
fake_main_t * const main = data->main;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
f_mode_t mode = f_mode_t_initialize;
} // for
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_build_sources_add_
if (!data || !data->main || !data_build || !generic || !specific) return;
if (!generic->used && !specific->used) {
- data->main->setting.state.status = F_none;
+ data->main->setting.state.status = F_okay;
return;
}
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_build_sources_object_add_
fake_print_error_file(&main->program.error, macro_fake_f(f_file_touch), file, f_file_operation_touch_s, fll_error_file_type_file_e);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_build_touch_
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fll_execute_arguments_add()
* @param data_build
* This modifies data.main.cache_recurse_do.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_append_nulless()
* Errors (with error bit) from: f_string_dynamic_mash()
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_file_name_base()
* @param path
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fll_execute_arguments_add()
* @param data_build
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fll_execute_arguments_add()
* @param data_build
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fll_execute_arguments_add()
* @param data_build
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_file_link()
* Errors (with error bit) from: f_string_dynamics_resize()
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_file_link()
* Errors (with error bit) from: fll_execute_arguments_add()
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_file_name_directory()
* Errors (with error bit) from: f_string_dynamic_append_assure()
fake_print_error(&main->program.error, macro_fake_f(fl_environment_load_names));
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_build_load_environment_
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
fake_build_load_setting_override(data, setting);
main->setting.state.status = fll_fss_snatch_apart(buffer, objects, contents, settings_name, fake_build_setting_total_d, settings_value, settings_matches, 0);
- if (main->setting.state.status == F_none) {
+ if (main->setting.state.status == F_okay) {
const int total_build_libraries = setting->build_libraries.used;
// Custom modes are always used if provided, otherwise if any mode is specified, the entire defaults is replaced.
}
} // for
- if (main->setting.state.status == F_none) {
+ if (main->setting.state.status == F_okay) {
main->setting.state.status = fll_fss_snatch_apart(buffer, objects, contents, settings_mode_names, fake_build_setting_total_d, settings_value, 0, 0);
if (F_status_is_error(main->setting.state.status)) {
&stage->file_sources_settings,
};
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
f_string_dynamic_t settings_file_base = f_string_dynamic_t_initialize;
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_array_too_large (with error bit) if the environment variable values are too large.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on error.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fake_build_touch().
* @param data_build
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fll_execute_arguments_add().
*
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fll_execute_arguments_add().
*
}
if (main->cache_argument.used) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
else {
main->setting.state.status = f_string_dynamic_append_nulless(data->path_build_objects, &main->cache_argument);
* This modifies data.main.cache_arguments.
*
* This alters data.main->settings.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_directory_create().
* Errors (with error bit) from: f_directory_exists().
fll_print_dynamic_raw(f_string_eol_s, print->to);
fake_print_context_important_simple(print, "Compiling shared library");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_compile_library_shared_
fll_print_dynamic_raw(f_string_eol_s, print->to);
fake_print_context_important_simple(print, "Compiling static library");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_compile_library_static_
fll_print_dynamic_raw(f_string_eol_s, print->to);
fake_print_context_important_simple(print, "Compiling shared object");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_compile_object_shared_
fll_print_dynamic_raw(f_string_eol_s, print->to);
fake_print_context_important_simple(print, "Compiling static object");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_compile_object_static_
fll_print_dynamic_raw(f_string_eol_s, print->to);
fake_print_context_important_simple(print, "Compiling objects for static library");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_compile_object_static_library_
fll_print_dynamic_raw(f_string_eol_s, print->to);
fake_print_context_important_simple(print, "Compiling shared program");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_compile_program_shared_
fll_print_dynamic_raw(f_string_eol_s, print->to);
fake_print_context_important_simple(print, "Compiling static program");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_compile_program_static_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fake_print_context_wrapped_variable(print, "The path ", path, " could not be created, a parent directory is invalid or does not exist");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_error_cannot_create_due_to_parent_
fake_print_context_wrapped_variable(print, "The path ", path, " exists but is not a directory");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_error_exist_not_directory_
fake_print_context_wrapped_variables(print, "The setting ", name, " is required but is not specified in the settings file ", path, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_error_missing_required_setting_
fake_print_context_wrapped_variables(print, "The specified mode ", mode, " in the settings file ", path, " is not a valid mode");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_error_mode_invalid_
fake_print_context_wrapped_variable(print, "A setting in the settings file ", path, " is too long");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_error_setting_too_long_
fake_print_context_wrapped_variables(print, "The values for the setting ", name, " of the setting file ", path, " is too long");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_error_setting_value_too_long_
* The path that cannot be created.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The path that cannot be created.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The path to the file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The path to the file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The path that cannot be created.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The path that cannot be created.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fll_print_dynamic_raw(f_string_eol_s, print->to);
fake_print_context_important_simple_variable(print, "Copying ", path, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_message_copying_
fll_print_dynamic_raw(f_string_eol_s, print->to);
fake_print_context_important_simple(print, "Creating base build directories");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_message_skeleton_build_base_
* The path being copied.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fake_print_common_simple_variable(print, "Created directory ", directory);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_verbose_create_directory_
fake_print_common_wrapped_variables(print, "Linked file ", from, " to ", to, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_verbose_linked_file_
* The directory created.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The link destination.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fake_print_context_wrapped_parameters(print, "The parameters ", symbol_1, name_1, " and ", symbol_2, name_2, " contradict, defaulting to ", symbol_3, name_3, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_warning_parameters_contradict_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_warning_setting_boolean_may_only_be_
fake_print_context_wrapped_parameters(print, "The build settings ", f_string_empty_s, name_1, " and ", f_string_empty_s, name_2, " cannot both be false when using the language ", f_string_empty_s, language, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_warning_setting_both_cannot_using_language_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_warning_setting_language_may_only_be_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_warning_setting_required_default_to_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_build_print_warning_setting_version_may_only_be_
* The name for the third parameter (the fallback).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The value being defaulted to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name for the language.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The value being defaulted to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* @see f_file_stream_lock()
* The name for the language.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* @see fake_print_context_wrapped_parameters()
* The value being defaulted to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* @see f_file_stream_lock()
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fake_build_touch().
* @param data_build
* This modifies data.main.cache_arguments.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fll_execute_arguments_add().
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fll_execute_arguments_add().
*
if (F_status_is_error(main->setting.state.status)) {
if (F_status_set_fine(main->setting.state.status) == F_file_found) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
continue;
}
fake_build_touch(data, file_stage);
if (F_status_is_error_not(main->setting.state.status)) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_build_skeleton_
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
fake_print_message_delete_all_files(&main->program.message);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->program.error.verbosity >= f_console_verbosity_verbose_e) {
main->setting.state.status = f_directory_remove_custom(main->setting.build, F_directory_max_descriptors_d, F_true, fake_clean_remove_recursively_verbosely);
if (F_status_set_fine(main->setting.state.status) == F_file_found_not || F_status_set_fine(main->setting.state.status) == F_directory) {
fake_print_warning_build_directory_not_directory(&main->program.warning, main->setting.build);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
if (F_status_is_error(main->setting.state.status)) {
fake_print_error_file(&main->program.error, macro_fake_f(f_directory_remove), main->setting.build, f_file_operation_delete_s, fll_error_file_type_directory_e);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_clean_operate_
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
else {
return;
}
- parameter_state->state->status = F_none;
+ parameter_state->state->status = F_okay;
}
#endif // _di_fake_setting_load_parameter_callback_
* The main program and setting data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: f_memory_array_increase_by().
* The state.status is used to represent the return status of this callback.
*
* This alters parameter_state->state->status:
- * F_none on success.
+ * F_okay on success.
* F_process on success, designating that processing should be performed (see f_console_parameter_process()).
*
* Errors (with error bit) from: f_memory_array_increase().
#define fake_setting_t_initialize \
{ \
0, \
- F_none, \
+ F_okay, \
f_state_t_initialize, \
f_string_dynamic_t_initialize, \
f_string_dynamic_t_initialize, \
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (fake_main_flag_help_e | fake_main_flag_version_e | fake_main_flag_copyright_e)) {
if (main->setting.flag & fake_main_flag_help_e) {
}
else if (main->setting.state.status != F_child) {
if (F_status_is_error_not(main->setting.state.status)) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
fake_print_operation_all_complete(&main->program.message);
}
fake_print_error_file(&main->program.error, macro_fake_f(f_file_read), path_file, f_file_operation_read_s, fll_error_file_type_file_e);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
else {
main->setting.state.status = f_file_stream_read_block(file, buffer);
- } while (F_status_is_fine(main->setting.state.status) && main->setting.state.status != F_interrupt && main->setting.state.status != F_none_eof);
+ } while (F_status_is_fine(main->setting.state.status) && main->setting.state.status != F_interrupt && main->setting.state.status != F_okay_eof);
if (F_status_is_error(main->setting.state.status)) {
fake_print_error_file(&main->program.error, macro_fake_f(f_file_stream_read_block), f_string_ascii_minus_s, f_file_operation_read_s, fll_error_file_type_file_e);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_pipe_buffer_
struct stat directory_stat;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
// Check only expected operations (fake_operation_clean_e and fake_operation_skeleton_e should not call this function).
if (data->operation == fake_operation_make_e) {
// @fixme these should not be accessing main->program.parameters.arguments directly and should instead use setting flags.
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
+ requireds[1] = F_okay; // fake_long_data_s
}
else {
main->setting.state.status = f_file_exists(main->program.parameters.arguments.array[index], F_true);
if (F_status_is_error_not(main->setting.state.status) && main->setting.state.status == F_true) {
- requireds[1] = F_none; // fake_long_data_s
+ requireds[1] = F_okay; // fake_long_data_s
}
}
}
for (uint8_t i = 0; i < 6; ++i) {
- if (requireds[i] != F_none && values[i].used) {
+ if (requireds[i] != F_okay && values[i].used) {
memset(&directory_stat, 0, sizeof(struct stat));
main->setting.state.status = f_file_stat(values[i], F_true, &directory_stat);
}
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_validate_parameter_paths_
* The main program and setting data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_child if this is a child process returning.
*
* F_interrupt (with error bit) on interrupt signal received.
* The program data.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_child if this is a child process returning.
*
* F_interrupt (with error bit) on interrupt signal received.
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_false on file not found and file is not required.
*
* F_file_found_not (with error bit) if file is not found and file is required.
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
recurse->state.status = f_string_dynamic_append_nulless(map->name, &recurse->path_cache);
if (F_status_is_error_not(recurse->state.status)) {
- recurse->state.status = F_none;
+ recurse->state.status = F_okay;
// Do not allow trailing path separators in the string's length calculation, except root directory '/'.
for (; recurse->path_cache.used; --recurse->path_cache.used) {
* - fake_state_code_local_e: This is required and assumed to be set.
*
* This alters recurse.state.custom.main.setting.state.status and recurse.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) on invalid parameter to the callback.
*
fake_main_t * const main = data->main;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
uint8_t i = 0;
{
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_path_generate_
fake_main_t * const main = data->main;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
for (uint8_t i = 0; i < length; ++i) {
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_append_nulless().
* Errors (with error bit) from: fake_path_generate_string_dynamic().
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_append_nulless().
*
main->setting.state.status = F_status_set_error(F_exist_not);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
}
}
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_get_id_mode_
fake_string_dynamic_reset(&main->cache_argument);
if (!path.used || path.used == data_make->path.stack.array[0].used) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
main->setting.state.status = f_string_dynamic_terminate(&main->cache_argument);
if (F_status_is_error(main->setting.state.status)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_path_relative_
* The data_make.cache_path will be updated to reflect the full path to this file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
* F_exist_not (with error bit) if there is no owner or group by the given name.
* The data_make.cache_path will be updated to reflect the full path to this file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
* F_parameter (with error bit) on invalid parameter.
* The relative path is stored in data_make.cache_path.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
* F_parameter (with error bit) on invalid parameter.
f_fss_set_delete(&settings);
}
- data_make->main->setting.state.status = F_none;
+ data_make->main->setting.state.status = F_okay;
}
#endif // _di_fake_make_load_fakefile_
if (F_status_is_error(data_make->main->setting.state.status)) return;
- data_make->main->setting.state.status = F_none;
+ data_make->main->setting.state.status = F_okay;
}
#endif // _di_fake_make_load_fakefile_setting_define_and_parameter_
if (F_status_is_error(data_make->main->setting.state.status)) return;
- data_make->main->setting.state.status = F_none;
+ data_make->main->setting.state.status = F_okay;
}
#endif // _di_fake_make_load_fakefile_setting_environment_
fake_make_print_warning_setting_content_empty(&data_make->main->program.warning, data_make->data->file_data_build_fakefile, data_make->main->buffer, *object, fake_make_setting_return_s);
}
- data_make->main->setting.state.status = F_none;
+ data_make->main->setting.state.status = F_okay;
}
#endif // _di_fake_make_load_fakefile_setting_parameter_
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_environment_set().
* Errors (with error bit) from: f_string_dynamic_mash().
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_append().
* Errors (with error bit) from: f_string_dynamic_append_nulless().
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_append_assure().
* Errors (with error bit) from: f_string_dynamic_append_assure().
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_append().
* Errors (with error bit) from: f_string_dynamic_append_nulless().
f_string_range_t range = f_string_range_t_initialize;
f_number_unsigned_t index = 0;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
// Validate the remaining parameters.
for (i = 0; i < main->program.parameters.remaining.used; ++i) {
fake_make_data_delete(&data_make);
if (F_status_is_error_not(main->setting.state.status)) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_
fake_main_t * const main = data_make->main;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
fake_string_dynamic_reset(&main->cache_1);
fake_string_dynamic_reset(&main->cache_2);
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) {
+ for (i = 0; i < section->objects.used; ++i, main->setting.state.status = F_okay) {
fake_string_dynamics_reset(&main->cache_arguments);
// F_signal_quit is used by the exit section operation.
if (!section_stack->used) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
break;
else if (main->setting.state.status == F_failure) {
// When F_failure (without the error bit) is returned, an error occured but the exit mode is not set to exit.
- // Record the success state and set the status to F_none.
- main->setting.state.status = F_none;
+ // Record the success state and set the status to F_okay.
+ main->setting.state.status = F_okay;
state_process.success = F_false;
}
else {
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but fakefile is empty.
*
* F_interrupt (with error bit) on interrupt signal received.
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but fakefile is empty.
*
* F_interrupt (with error bit) on interrupt signal received.
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
* F_signal_abort on abort signal received.
* F_signal_quit on quit signal received.
if (F_status_is_error(main->setting.state.status)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_buffer_escape_
fll_error_print(&data_make->error, F_status_set_fine(main->setting.state.status), macro_fake_f(f_string_dynamic_append), F_true);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_process_return_
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters date_make.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not if source.used is 0.
*
* Errors (with error bit) from: f_string_dynamic_increase_by().
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters date_make.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not if both program.used is 0 and arguments.used is 0.
*
* F_interrupt (with error bit) on interrupt signal received.
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters date_make.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_failure on identifying the return code as an error code and fail mode is not set to fake_make_operation_fail_exit_e.
*
* F_failure (with error bit) on identifying the return code as an error code and fail mode is set to fake_make_operation_fail_exit_e.
fake_main_t * const main = data_make->main;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (!main->cache_arguments.used || f_compare_dynamic(fake_make_operation_argument_success_s, main->cache_arguments.array[0]) == F_equal_to) {
main->setting.state.status = F_signal_abort;
main->setting.state.status = F_status_set_error(F_signal_abort);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
fake_main_t * const main = data_make->main;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (state_process->condition == fake_make_operation_if_type_if_define_e) {
fake_make_operate_process_type_if_define(data_make, F_false, state_process);
fake_main_t * const main = data_make->main;
const f_number_unsigned_t total = main->cache_arguments.used - 1;
- f_status_t failed = F_none;
+ f_status_t failed = F_okay;
fake_local_t local = macro_fake_local_t_initialize_1(main, &main->cache_map, &failed);
main->cache_recurse_do.action = &fake_do_copy_action;
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_process_type_copy_
else {
fake_make_print_verbose_operate_define(&main->program.message, main->cache_arguments.array[0]);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_process_type_define_
const int recursion_max = all ? F_directory_max_descriptors_d : 0;
struct stat file_stat;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
for (f_number_unsigned_t i = 0; i < main->cache_arguments.used; ++i) {
if (F_status_set_fine(main->setting.state.status) == F_file_found_not) {
fake_make_print_warning_file_not_found(&main->program.warning, main->cache_arguments.array[i]);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
else {
fake_print_error_file(&main->program.error, macro_fake_f(f_file_stat), main->cache_arguments.array[i], f_file_operation_delete_s, fll_error_file_type_file_e);
if (F_status_set_fine(main->setting.state.status) == F_file_found_not) {
fake_make_print_verbose_operate_file_not_found(&main->program.message, F_true, main->cache_arguments.array[i]);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
if (F_status_is_error(main->setting.state.status)) {
fake_make_print_verbose_operate_file_not_found(&main->program.message, F_false, main->cache_arguments.array[i]);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
if (F_status_is_error(main->setting.state.status)) {
fake_make_print_verbose_operate_delete(&main->program.message, main->cache_arguments.array[i]);
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_deletes_
fake_main_t * const main = data_make->main;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (!main->cache_arguments.used || f_compare_dynamic(fake_make_operation_argument_success_s, main->cache_arguments.array[0]) == F_equal_to) {
main->setting.state.status = F_signal_quit;
data_make->error.set = &main->program.context.set;
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
bool dereference = F_true;
f_number_unsigned_t i = 0;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (f_compare_dynamic(fake_make_operation_argument_no_dereference_s, main->cache_arguments.array[i]) == F_equal_to) {
++i;
fake_make_print_verbose_operate_set_role(&main->program.message, all ? 0x1 : 0x0, main->cache_arguments.array[i], (f_number_unsigned_t) id);
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_groups_
f_number_unsigned_t i = if_not ? 2 : 1;
bool dereference = F_true;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (i == main->cache_arguments.used) {
if (if_not) {
state_process->condition_result = fake_condition_result_false_e;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
}
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_if_exist_
f_number_unsigned_t i = if_not ? 2 : 1;
bool dereference = F_true;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (f_compare_dynamic(fake_make_operation_argument_no_dereference_s, main->cache_arguments.array[i]) == F_equal_to) {
++i;
state_process->condition_result = fake_condition_result_false_e;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
}
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_if_is_
f_number_unsigned_t i = 1;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
state_process->condition_result = fake_condition_result_true_e;
range.start = 0;
}
if (F_status_is_error_not(main->setting.state.status)) {
- for (i = 2; i < main->cache_arguments.used; ++i, main->setting.state.status = F_none, number_left = number_right, is_negative_left = is_negative_right) {
+ for (i = 2; i < main->cache_arguments.used; ++i, main->setting.state.status = F_okay, number_left = number_right, is_negative_left = is_negative_right) {
if (main->cache_arguments.array[i].used) {
range.start = 0;
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_process_type_if_greater_if_lesser_
f_number_unsigned_t i = if_not ? 2 : 1;
bool dereference = F_true;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (f_compare_dynamic(fake_make_operation_argument_no_dereference_s, main->cache_arguments.array[i]) == F_equal_to) {
++i;
}
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_if_group_
}
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_if_mode_
f_number_unsigned_t i = if_not ? 2 : 1;
bool dereference = F_true;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (f_compare_dynamic(fake_make_operation_argument_no_dereference_s, main->cache_arguments.array[i]) == F_equal_to) {
++i;
}
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_if_owner_
fake_make_print_verbose_operate_symbolic_link(&main->program.message, main->cache_arguments.array[main->cache_arguments.used - 1], main->cache_arguments.array[0]);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_link_
fake_main_t * const main = data_make->main;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
f_file_mode_t mode_rule = 0;
uint8_t replace = 0;
fake_make_print_verbose_operate_set_mode(&main->program.message, main->cache_arguments.array[i], mode);
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_modes_
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_process_type_move_
// Ensure that a break only happens within its active state_process->operation stack.
if (main->setting.state.status == F_signal_abort) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
else if (F_status_set_fine(main->setting.state.status) == F_signal_abort) {
main->setting.state.status = F_status_set_error(F_failure);
fake_make_print_verbose_operate_set_role(&main->program.message, all ? 0x3 : 0x2, main->cache_arguments.array[i], (f_number_unsigned_t) id);
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_owners_
} // for
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_parameter_
fake_make_print_verbose_operate_set_path(&main->program.message, main->cache_argument);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_pop_
f_file_stream_unlock(main->program.message.to);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_print_
++data_make->path.stack.used;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_to_
data_make->path.stack.used = 1;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_top_
fake_make_print_verbose_operate_touch(&main->program.message, main->cache_arguments.array[i]);
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_process_type_touch_
main->setting.state.status = F_false;
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
f_file_stream_flush(file);
f_file_stream_close(&file);
f_file_stream_close(&file);
}
- main->setting.state.status = F_status_is_error(main->setting.state.status) ? F_status_set_error(F_failure) : F_none;
+ main->setting.state.status = F_status_is_error(main->setting.state.status) ? F_status_set_error(F_failure) : F_okay;
}
#endif // _di_fake_make_operate_process_type_write_
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success but not breaking.
+ * F_okay on success but not breaking.
* F_signal_abort on normal break
*
* F_signal_abort (with error bit) on break on error.
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* This modifies data.main.cache_map.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Success from: f_environment_set().
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on unknown exit type (only success and failure are known).
+ * F_okay on unknown exit type (only success and failure are known).
* F_signal_quit to designate exit on success.
*
* F_failure (with error bit) on any error.
* F_signal_quit (with error bit) to designate exit on failure.
*
* @return
- * F_none on unknown exit type (only success and failure are known).
+ * F_okay on unknown exit type (only success and failure are known).
* F_signal_quit to designate exit on success.
*
* F_failure (with error bit) on any error.
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
* @param if_not
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
* @param if_not
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* This modifies data.main.cache_argument.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* This resets and uses data_make.cache_1.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* This resets and uses data_make.cache_1.
*
* This alters data_make.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
return;
}
- data_make->main->setting.state.status = F_none;
+ data_make->main->setting.state.status = F_okay;
if (state_process->operation == fake_make_operation_type_break_e) {
fake_make_operate_validate_type_break(data_make);
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.status:
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) on invalid parameter.
*
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_validate_type_break_
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_validate_type_build_
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_validate_type_clean_top_skeleton_
fake_main_t * const main = data_make->main;
if (main->cache_arguments.used > 1) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < main->cache_arguments.used; ++i) {
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_validate_type_compile_
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
return;
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
return;
}
if (state_process->condition == fake_make_operation_if_type_if_exist_e || state_process->condition == fake_make_operation_if_type_if_not_exist_e) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
}
if (i < main->cache_arguments.used) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (; i < main->cache_arguments.used; ++i) {
main->setting.state.status = status;
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
return;
return;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_string_range_t range = f_string_range_t_initialize;
f_number_unsigned_t number = 0;
- for (i = k; i < main->cache_arguments.used; ++i, main->setting.state.status = F_none) {
+ for (i = k; i < main->cache_arguments.used; ++i, main->setting.state.status = F_okay) {
if (main->cache_arguments.array[i].used) {
range.start = 0;
main->setting.state.status = status;
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
return;
fake_main_t * const main = data_make->main;
if (main->cache_arguments.used > 1) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigned_t i = 0;
for (; i < main->cache_arguments.used; ++i) {
main->setting.state.status = fake_make_operate_validate_define_name(main->cache_arguments.array[0]);
if (main->setting.state.status == F_true) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
fake_main_t * const main = data_make->main;
if (main->cache_arguments.used) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < main->cache_arguments.used; ++i) {
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_validate_type_else_
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_make_operate_validate_type_exit_
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
else {
fake_print_error_requires_more_arguments(&main->program.error);
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_validate_type_index_
}
if (main->cache_arguments.used > 1) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
// 0x1 = force, 0x2 = strict.
uint8_t flag = 0;
if (main->cache_arguments.used > 1) {
{
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < main->cache_arguments.used; ++i) {
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
else {
fake_print_error_requires_more_arguments(&main->program.error);
}
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
else {
fake_print_error_requires_more_arguments(&main->program.error);
fake_make_parameter_variable_value_work_s,
};
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < 33; ++i) {
}
if (main->cache_arguments.used > i) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (; i < main->cache_arguments.used; ++i) {
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_validate_type_pop_
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_fake_make_operate_validate_type_run_
}
if (main->setting.state.status) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
else {
fake_make_print_error_content_not_directory(&main->program.error, 0, main->cache_arguments.array[0]);
}
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 1; i < main->cache_arguments.used; ++i) {
main->setting.state.status = F_status_set_error(F_failure);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
else {
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* This condition will be updated by this as appropriate.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* This condition will be updated by this as appropriate.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* The current operation stack.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* This condition will be updated by this as appropriate.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*/
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
* All make related setting data, including data from the fakefile and the build settings file.
*
* This alters data_make.main->setting.state:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with error bit) on any error.
*
fake_print_context_wrapped_variable(print, "The argument ", name, " is not a valid section name");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_argument_invalid_section_
fake_print_context_wrapped_variable(print, "No compiler has been specified, cannot perform ", action, " section operation");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_compiler_not_specified_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_content_not_directory_
fake_print_context_simple(print, "Define name must not be an empty string");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_define_name_empty_
fake_print_context_wrapped_variable(print, "Invalid characters in the define name ", name, ", only alpha-numeric ASCII characters and underscore (without a leading digit) are allowed");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_define_invalid_character_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_fakefile_section_missing_
fake_print_context_simple(print, "File name argument must not be an empty string");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_file_name_empty_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_file_type_
fake_print_context_wrapped_variable(print, "No indexer has been specified, cannot perform ", action, " section operation");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_indexer_not_specified_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_after_condition_
fake_make_print_error_after_condition(print, "May only be used immediately after");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_after_condition_may_only_
fake_make_print_error_after_condition(print, "Must not be used immediately after");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_after_condition_must_not_
fake_make_print_error_after_condition(print, "Has no preceding");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_after_condition_no_preceding_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_operation_incomplete_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_operation_recursion_
fake_print_context_wrapped_variable(print, "No operation section named ", name, " is found");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_operation_section_not_found_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_out_of_range_number_
fake_print_context_simple(print, "Must not attempt to pop project root off of path stack");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_pop_last_path_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_program_failed_
fake_print_context_wrapped_variable(print, "Failed to find program ", program, " for executing");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_program_not_found_
fake_print_context_wrapped_variable(print, "Cannot assign a value to the parameter name ", name, " because it is a reserved parameter name");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_reserved_parameter_name_
fake_print_context_simple(print, "Target file name argument must not be an empty string");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_target_file_name_empty_
fake_print_context_wrapped_variable(print, "Invalid or unsupported number provided ", number, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_unsupported_number_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_error_unsupported_type_
* The invalid section name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The action that cannot be performed due to a lack of a compiler.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the variable containing one or more invalid characters.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the missing section.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The second content that should be a directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The file path or name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The action that cannot be performed due to a lack of a compiler.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The message describing how in relation to the after condition.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The code of the operation.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The range within the buffer representing the operation name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the operation.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The number allowed, represented as a positive.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The return code from the program.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The program name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The reserved parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The string representing the number.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The value that is unsupported for the type.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_message_now_making_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_message_processing_section_
* The name or path of the file that is empty.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The section structure containing the section name range.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fake_print_context_simple_variable(print, "Breaking as ", arguments.used ? arguments.array[0] : fake_make_operation_argument_success_s, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_break_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_copy_
fake_print_context_simple_variable(print, "Defined environment variable ", variable, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_define_
fake_print_context_simple_variable(print, "Removed ", path, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_delete_
fake_print_context_simple_variable(print, "Exiting as ", arguments.used ? arguments.array[0] : fake_make_operation_argument_success_s, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_exiting_as_
fll_print_format("The %Q '%[%Q%]' is not found.%]%r", print->to, print->set->notable, is_directory ? f_file_type_name_directory_s : f_file_type_name_file_s, file, print->set->notable, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_file_not_found_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_program_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_set_failure_state_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_set_mode_
fake_print_context_simple_variable(print, "Changed project path to ", path, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_set_path_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_set_role_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_symbolic_link_
fake_print_context_simple_variable(print, "Touched ", path, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_verbose_operate_touch_
* Set arguments.used to 0 to use the default "success" exiting as string.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The destination to copy to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The environment variable name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The path or file that is deleted.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* Set arguments.used to 0 to use the default "success" exiting as string.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The file or directory path or name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The arguments pass to the program.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The failure state code being set to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The mode being changed to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The path being changed to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The uid_t or gid_t representing the owner or group.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string the symbolic link is to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The file path being touched.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_warning_cannot_change_back_
fake_print_context_simple_variable(print, "The environment name", name, "is already added, replacing previous value");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_warning_environment_name_already_added_
fake_print_context_simple_variable(print, "The environment name", name, "is invalid, ignoring");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_warning_environment_name_invalid_
fake_print_context_simple_variable(print, "The fakefile", fakefile, "is empty");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_warning_fakefile_empty_
fake_print_context_simple_variable(print, "The file", file, "cannot be found");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_warning_file_not_found_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_warning_setting_content_empty_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_warning_setting_content_invalid_
fake_print_context_wrapped_variables(print, "The fakefile ", fakefile, " may only have a single content for the object ", name, ", only using the first");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_warning_setting_content_multiple_
fake_print_context_wrapped_variables(print, "The object ", name, " in the fakefile ", fakefile, " may only be specified once, only using the first");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_make_print_warning_setting_object_multiple_
* The path that cannot be changed back to.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the environment variable that is already added.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the environment variable that is invalid.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name or path of the file that is empty.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name or path of the file that is not found.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the setting that has an invalid value.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the setting that has an invalid value.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the content.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the object.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fll_error_print(print, F_status_set_fine(main->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_
fake_print_context_wrapped_number(print, "The ", (f_number_unsigned_t) index, " argument must not be an empty string");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_argument_empty_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_build_operation_file_full_
fake_print_context_wrapped_variable(print, "The directory ", path, " could not be created, a parent directory is missing or invalid");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_directory_create_parent_missing_
fake_print_context_simple_variable(print, "Failed to find program ", program, " for executing");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_execute_program_not_found_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_failure_operation_
fake_print_context_wrapped_variable(print, "Failed to execute script ", script, "");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_failure_script_
fll_error_file_print(print, F_status_set_fine(main->setting.state.status), function, fll_error_file_flag_fallback_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_file_
fake_print_context_wrapped_variable(print, "The file ", path, " could not be created, a parent directory is missing or invalid");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_file_create_parent_missing_
fll_error_file_print(print, F_status_set_fine(main->setting.state.status), function, fll_error_file_flag_simple_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_file_simple_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_fss_message_
fake_print_context_wrapped_variable(print, "The group ", group, " is not found");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_group_not_found_
fake_print_context_wrapped_variable(print, "The mode ", mode, " is invalid");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_mode_invalid_
fake_print_context_wrapped_variable(print, "The number ", number, " is too large");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_number_too_large_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_operation_failed_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_operation_link_argument_unknown_
fake_print_context_wrapped_variable(print, "The point file ", argument, " already exists");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_operation_link_point_exists_
fake_print_context_wrapped_variable(print, "The target file ", argument, " does not exist");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_operation_link_target_exists_not_
fake_print_error_file(print, function, path, fake_common_file_path_determine_real_s, fll_error_file_type_file_e);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_operation_path_outside_
fake_print_error_file(print, function, path, fake_common_file_path_change_to_s, fll_error_file_type_directory_e);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_operation_path_stack_max_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_operation_stack_max_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_operation_unknown_
fake_print_context_wrapped_parameter(print, "The ", symbol, name, " parameter must not be empty and must not contain only white space");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_parameter_not_empty_
fake_print_context_wrapped_parameter_value(print, "The value of the directory parameter ", symbol, name, " has a path of ", value, " that is not found.");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_parameter_directory_not_found_path_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_parameter_not_word_
fake_print_context_wrapped_variables(print, "The operation ", operation_1, " cannot be specified with the operation ", operation_2, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_parameter_operation_not_with_
fake_print_context_wrapped_parameter(print, "The parameter ", symbol, parameter, " is specified too many times");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_parameter_too_many_
fake_print_context_simple(print, "Requires more arguments");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_requires_more_arguments_
fake_print_context_simple(print, "Has too many arguments");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_too_many_arguments_
fake_print_context_wrapped_variable(print, "The user ", user, " is not found");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_error_user_not_found_
* The function name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The index of the argument that is an empty string.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* Likely should have a space added at the start of the string.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if print is NULL.
* The name of the file or directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The identifier of the operation that failed.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the script that failed.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the file or directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the not found program.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* Set to F_true to print the fallback error message for unknown errors.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string representing the group (either as a name or as a group ID).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string representing the invalid mode.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string representing the number that is too large.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The range within the buffer representing the operation name within the section.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The argument that is unknown by the link operation.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The argument representing the point file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The argument representing the point file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The path that is outside of the project path.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The path to the directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The max stack depth.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The range within the buffer representing the operation name within the section.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The value that is invalid.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The value that is not found.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The value that is invalid.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the second operation that cannot be used.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* All make related setting data, including data from the fakefile and the build settings file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* All make related setting data, including data from the fakefile and the build settings file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A string representing the user (either as a name or as a user ID).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_message_building_
fake_print_context_important_simple_variable(print, "Deleting all files within build directory ", main->setting.build, 0);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_message_delete_all_files_
fake_print_context_important_simple(print, "Generating skeleton structure");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_message_generating_skeleton_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_message_help_
* The build setting data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* @see f_file_stream_lock()
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* @see fake_print_common_simple_variable()
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* @see fake_print_common_simple()
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_operation_all_complete_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_operation_cancelled_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The identifier of the operation that failed.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fake_print_common_wrapped_variables(print, "Cloning file ", source, " to ", destination, f_string_empty_s.string);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_verbose_cloning_
fake_print_common_wrapped_variables(print, "Copying file ", source, " to ", destination, f_string_empty_s.string);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_verbose_copying_
fake_print_common_simple_variable(print, "Created file ", path);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_verbose_create_file_
fake_print_common_wrapped_variable(print, "Directory ", path, " already exists");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_verbose_directory_exists_
fake_print_common_wrapped_variable(print, "File ", path, " already exists");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_verbose_file_exists_
fake_print_common_wrapped_variable(print, "File ", path, " already exists (as a symbolic link)");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_verbose_file_exists_as_link_
fake_print_common_wrapped_variable(print, "File ", path, " already exists but is not a regular file (or a symbolic link)");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_verbose_file_exists_not_regular_or_link_
fake_print_common_simple_variable(print, "Pre-populated file ", path);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_verbose_file_pre_populated_
fake_print_common_wrapped_variables(print, "Moving file ", source, " to ", destination, f_string_empty_s.string);
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_verbose_moving_
* The destination file path.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The destination file path.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the file or directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the file or directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the file or directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the file or directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The destination file path.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fake_print_context_wrapped_variable(print, "The build directory ", path, " exists but is not a directory");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_warning_build_directory_not_directory_
fake_print_context_wrapped_variable(print, "The path ", path, " exists but is not a directory");
- return F_none;
+ return F_okay;
}
#endif // _di_fake_print_warning_path_exists_not_directory_
* The path of the build directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The name of the file or directory.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
fake_skeleton_operate_file_create(data, data->file_data_build_fakefile, F_false, fake_make_skeleton_content_fakefile_s);
if (F_status_is_error(main->setting.state.status)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_skeleton_operate_
if (main->setting.state.status == F_true) {
fake_print_verbose_directory_exists(&main->program.message, path);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_skeleton_operate_directory_create_
if (main->setting.state.status == F_true) {
fake_print_verbose_file_exists(&main->program.message, path);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
if (main->setting.state.status == F_true) {
fake_print_verbose_file_exists_as_link(&main->program.message, path);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
if (main->setting.state.status == F_false) {
fake_print_verbose_file_exists_not_regular_or_link(&main->program.message, path);
- main->setting.state.status = F_status_set_warning(F_none);
+ main->setting.state.status = F_status_set_warning(F_okay);
return;
}
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fake_skeleton_operate_file_create_
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_failure (with warning bit) on path exists but is not a directory.
*
* The program data.
*
* This alters data.main->setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
- * F_none (with warning bit) on file exists but is not a regular or a link.
+ * F_okay (with warning bit) on file exists but is not a regular or a link.
*
* Errors (with error bit) from: f_file_create()
* Errors (with error bit) from: f_file_is()
if (!setting) return F_status_set_error(F_parameter);
- return F_none;
+ return F_okay;
}
#endif // _di_firewall_setting_delete_
firewall_setting_delete(&main->setting);
- return F_none;
+ return F_okay;
}
#endif // _di_firewall_setting_unload_
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
* The main program settings.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: fll_program_parameter_process_context().
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
#ifndef _di_firewall_main_
f_status_t firewall_main(fll_program_data_t * const main, firewall_setting_t * const setting) {
- f_status_t status = F_none;
+ f_status_t status = F_okay;
setting->state.step_small = firewall_allocation_console_d;
if (main->parameters.array[f_console_standard_parameter_help_e].result & f_console_result_found_e) {
firewall_print_help(setting, main->message);
- return F_none;
+ return F_okay;
}
if (main->parameters.array[f_console_standard_parameter_version_e].result & f_console_result_found_e) {
fll_program_print_version(&main->message, firewall_program_version_s);
- return F_none;
+ return F_okay;
}
if (main->parameters.array[f_console_standard_parameter_copyright_e].result & f_console_result_found_e) {
fll_program_print_copyright(&main->message);
- return F_none;
+ return F_okay;
}
- status = F_none;
+ status = F_okay;
firewall_data_t data = firewall_data_t_initialize;
data.main = main;
* The parameters passed to the process.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on receiving a process signal, such as an interrupt signal.
*
f_file_stream_flush(print.to);
f_file_stream_unlock(print.to);
- return F_none;
+ return F_okay;
}
#endif // _di_firewall_print_help_
* The output structure to print to.
*
* @return
- * F_none on success.
+ * F_okay on success.
*/
#ifndef _di_firewall_print_help_
extern f_status_t firewall_print_help(firewall_setting_t * const setting, const fl_print_t print);
f_string_dynamics_resize(0, &data->chains);
f_string_dynamics_resize(0, &data->devices);
- return F_none;
+ return F_okay;
}
#endif // _di_firewall_data_delete_
* The program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Status codes (with error bit) are returned on any problem.
*
if (!data || !local || local->device >= data->devices.used) return F_status_set_error(F_parameter);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
bool invalid = F_false;
bool is_ip_list = F_false;
if (F_status_is_error(status)) break;
if (status == F_data_not) {
- status = F_none;
+ status = F_okay;
}
else {
++arguments.used;
fll_print_format("%r%[%QCannot find the file '%Q'.%]%r", data->main->warning.to, f_string_eol_s, data->main->warning.context, data->main->warning.prefix, path_file, data->main->warning.context, f_string_eol_s);
}
- status = F_none;
+ status = F_okay;
}
else if (F_status_set_fine(status) == F_file_open) {
if (data->main->error.verbosity > f_console_verbosity_quiet_e) {
if (!data || !local) return F_status_set_error(F_parameter);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
uint8_t tool = firewall_program_iptables_e;
bool new_chain = F_false;
if (!data) return F_status_set_error(F_parameter);
const f_string_static_t tools[2] = { firewall_tool_iptables_s, firewall_tool_ip6tables_s };
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (f_number_unsigned_t i = 0; i < 2; ++i) {
const f_string_static_t chains[3] = { firewall_chain_input_s, firewall_chain_output_s, firewall_chain_forward_s };
const f_string_static_t tools[2] = { firewall_tool_iptables_s, firewall_tool_ip6tables_s };
- f_status_t status = F_none;
+ f_status_t status = F_okay;
int return_code = 0;
if (!data || !range || !local) return F_status_set_error(F_parameter);
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_number_unsigneds_t delimits = f_number_unsigneds_t_initialize;
f_state_t state = f_state_t_initialize;
f_string_ranges_resize(0, &local->rule_objects);
f_string_rangess_resize(0, &local->rule_contents);
- return F_none;
+ return F_okay;
}
#ifdef __cplusplus
* Local firewall settings.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
*
* F_interrupt (with error bit) on receiving a process signal, such as an interrupt signal.
* Local firewall settings.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
*
* F_interrupt (with error bit) on receiving a process signal, such as an interrupt signal.
* The program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
*
* F_interrupt (with error bit) on receiving a process signal, such as an interrupt signal.
* The program data.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
*
* Status codes (with error bit) are returned on any problem.
* Local firewall settings.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
*
* Status codes (with error bit) are returned on any problem.
* Local firewall settings.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_child on child process exiting.
*
* Status codes (with error bit) are returned on any problem.
* Local firewall settings.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Status codes (with error bit) are returned on any problem.
*/
f_number_unsigned_t i = 0;
f_number_unsigned_t j = 0;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
for (; i < main->setting.names.used; ++i) {
* The main program data and settings.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: fll_program_parameter_process_context().
f_string_dynamics_resize(0, &setting->names);
f_string_dynamics_resize(0, &setting->files);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_identify_setting_delete_
0, \
0, \
f_string_range_t_initialize, \
- F_none, \
+ F_okay, \
f_state_t_initialize, \
f_file_t_initialize, \
f_string_dynamic_t_initialize, \
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (fss_identify_main_flag_help_e | fss_identify_main_flag_version_e | fss_identify_main_flag_copyright_e)) {
if (main->setting.flag & fss_identify_main_flag_help_e) {
if (F_status_set_fine(main->setting.state.status) == F_interrupt) return;
if (F_status_is_error(main->setting.state.status)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_identify_main_
* The main program and setting data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
*
if (!main) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
main->setting.buffer.used = 0;
main->setting.range.start = 0;
main->setting.range.stop = 0;
main->setting.range.stop = main->setting.range.start;
- } while (main->setting.state.status != F_none_eof && main->setting.buffer.string[main->setting.range.start] != f_string_eol_s.string[0]);
+ } while (main->setting.state.status != F_okay_eof && main->setting.buffer.string[main->setting.range.start] != f_string_eol_s.string[0]);
// Reset the start point to prepare the buffer for processing.
main->setting.range.start = 0;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_identify_load_line_
* The main program and settings data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_file_stream_read_block().
* Errors (with error bit) from: f_string_dynamic_resize().
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_identify_print_data_id_
fll_print_format("%ul%r", print->to, main->setting.total, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_identify_print_data_total_
* The Identifier to print.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fll_error_print(print, F_status_set_fine(((fss_identify_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_identify_print_error_
fll_error_file_print(print, F_status_set_fine(main->setting.state.status), function, fll_error_file_flag_fallback_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_identify_print_error_file_
fll_print_format("%[%QNo sources are specified, please pipe data or designate a file.%]%r", print->to, print->set->error, print->prefix, print->set->error, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_identify_print_error_no_from_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_identify_print_error_parameter_file_name_empty_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_identify_print_error_parameter_file_name_invalid_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The index within the argv[] array where the empty string is found.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The parameter name value string that is invalid.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_identify_print_message_help_
#ifdef __cplusplus
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
} // for
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_identify_process_
* This alters main.program.signal_received, setting it to a received signal.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fll_fss_identify().
* @param name
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_basic_process_load_
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_read_basic_process_help_
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_data_not_stop (with warning bit) on no valid FSS data found and reached stopping point.
* F_data_not_eos (with warning bit) on no valid FSS data found and reached end of string.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_basic_print_help_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_basic_print_object_end_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_basic_list_process_load_
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_read_basic_list_process_help_
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_data_not_stop (with warning bit) on no valid FSS data found and reached stopping point.
* F_data_not_eos (with warning bit) on no valid FSS data found and reached end of string.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_basic_list_print_help_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_basic_list_print_object_end_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_embedded_list_process_load_
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_read_embedded_list_process_help_
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_data_not_stop (with warning bit) on no valid FSS data found and reached stopping point.
* F_data_not_eos (with warning bit) on no valid FSS data found and reached end of string.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_embedded_list_print_help_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_embedded_list_print_object_end_
f_print_dynamic_raw(f_fss_embedded_list_close_end_s, print->to);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_embedded_list_print_set_end_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_extended_process_load_
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_read_extended_process_help_
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_data_not_stop (with warning bit) on no valid FSS data found and reached stopping point.
* F_data_not_eos (with warning bit) on no valid FSS data found and reached end of string.
fll_print_dynamic_raw((main->setting.flag & fss_read_main_flag_pipe_format_e) ? fss_read_pipe_content_start_s : f_fss_extended_next_s, print->to);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_extended_print_content_next_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_extended_print_help_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_extended_print_object_end_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_extended_list_process_load_
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_read_extended_list_process_help_
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_data_not_stop (with warning bit) on no valid FSS data found and reached stopping point.
* F_data_not_eos (with warning bit) on no valid FSS data found and reached end of string.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_extended_list_print_help_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_extended_list_print_object_end_
f_print_dynamic_raw(f_fss_extended_list_close_end_s, print->to);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_extended_list_print_set_end_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
} // for
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_ensure_quotes_length_
if (F_status_is_error(main->setting.state.status)) return;
if (main->setting.state.status == F_done) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
main->setting.files.array[0].range.start = 0;
- while (main->setting.state.status != F_none_eof) {
+ while (main->setting.state.status != F_okay_eof) {
if (fss_read_signal_check(main)) break;
} // for
} // for
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_setting_load_depth_
* The main program data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_memory_array_resize().
* Errors (with error bit) from: f_memory_arrays_resize().
* This alters main.setting.range.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but nothing was provided to operate with.
*
* F_interrupt (with error bit) on interrupt signal received.
* Errors (with error bit) from: fss_read_signal_check()
* @param callback
* (optional) Designate a function to call after performing the initial processing, but before printing help.
- * If the function returns F_done, then this function immediately returns, resetting status to F_none.
+ * If the function returns F_done, then this function immediately returns, resetting status to F_okay.
* Set to NULL to disable.
*
* @see f_console_parameter_process()
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_interrupt (with error bit) on interrupt signal received.
* F_parameter (with error bit) on parameter error.
depths->used = length;
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_depths_resize_
files->used = length;
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_files_resize_
f_memory_array_resize(0, sizeof(uint8_t), (void **) &setting->quotes_object.array, &setting->quotes_object.used, &setting->quotes_object.size);
f_memory_arrays_resize(0, sizeof(f_uint8s_t), (void **) &setting->quotes_content.array, &setting->quotes_content.used, &setting->quotes_content.size, &f_uint8ss_delete_callback);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_setting_delete_
{ \
fss_read_main_flag_none_e, \
fss_read_delimit_mode_all_e, \
- F_none, \
- macro_f_state_t_initialize_1(fss_read_allocation_large_d, fss_read_allocation_small_d, F_none, 0, 0, &fll_program_standard_signal_handle, 0, 0, 0, 0), \
+ F_okay, \
+ macro_f_state_t_initialize_1(fss_read_allocation_large_d, fss_read_allocation_small_d, F_okay, 0, 0, &fll_program_standard_signal_handle, 0, 0, 0, 0), \
0, \
0, \
0, \
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* Must not be NULL.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (fss_read_main_flag_help_e | fss_read_main_flag_version_e | fss_read_main_flag_copyright_e)) {
if (main->setting.flag & fss_read_main_flag_help_e) {
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_true on success when performing verification and verify passed.
* F_false on success when performing verification and verify failed.
*
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_append_assure().
*
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_read_main_process_help_
* This alters main.callback.process_help, main.callback.process_normal, and main.callback.process_pipe.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but nothing was provided to operate with.
* F_parameter (with error bit) on parameter related error.
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_main_print_error_format_unknown_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_main_main_print_help_
* A string representing the value that is of an unknown format.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_at_
main->callback.print_content_ignore(&main->program.output);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_content_
fll_print_dynamic_raw(fss_read_pipe_content_ignore_s, print->to);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_content_ignore_
fll_print_format("%ul%r", print->to, number, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_number_
}
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_object_
);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_quote_
fll_print_dynamic_raw((main->setting.flag & fss_read_main_flag_pipe_format_e) ? fss_read_pipe_content_end_s : f_string_eol_s, print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_set_end_
fll_print_dynamic_raw(fss_read_pipe_content_end_s, print->to);
}
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_set_end_no_eol_
* This represents the positions within the current Content at the "at" position.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* The delimits array representing a delimited Content.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* The number to print.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This represents the positions within the current Object at the "at" position.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This represents the positions within the current Object at the "at" position.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
fll_error_print(print, F_status_set_fine(((fss_read_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_error_
fll_error_file_print(print, F_status_set_fine(((fss_read_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_error_file_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_error_parameter_requires_message_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_error_parameter_value_before_value_number_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_error_parameter_value_once_only_number_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_error_one_content_only_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_print_error_unsupported_eol_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* The message to print regarding why the message should be displayed.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* The parameter value that is before the "value" function parameter.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* The parameter value that is already specified.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
fss_read_print_number(&main->program.output, 0);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
if (F_status_is_error(main->setting.state.status)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_process_normal_
fss_read_print_number(&main->program.output, 0);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
// If the standard only has one line per Content, then any line value greater than 0 equates to no line to print.
if ((main->setting.flag & fss_read_main_flag_line_e) && (main->setting.flag & fss_read_main_flag_line_single_e)) {
if (main->setting.line) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
if (F_status_is_error(main->setting.state.status)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
fss_read_print_number(&main->program.output, 0);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_process_normal_at_
++(*line);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
}
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_process_normal_at_line_
if (!(main->setting.flag & fss_read_main_flag_content_e)) {
fss_read_print_number(&main->program.output, 0);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
fss_read_print_number(&main->program.output, max);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_process_normal_columns_
memset(names, F_true, sizeof(bool) * main->setting.objects.used);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_process_normal_name_
: total
);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_process_normal_total_
: total
);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_process_normal_total_multiple_
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: main.callback.process_at().
* Errors (with error bit) from: main.callback.process_at_line().
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fss_read_signal_check().
* @param names
* This alters main.setting.range.
*
* This alters main.setting.state.status:
- * F_none on success but line not yet found.
+ * F_okay on success but line not yet found.
* F_success on success and line is found and printed.
*
* Errors (with error bit) from: f_string_dynamic_append_assure().
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fss_read_signal_check().
* @param names
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fss_read_signal_check().
* @param names
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fss_read_signal_check().
* @param names
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: fss_read_signal_check().
* @param names
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_payload_process_load_
fss_read_main_t * const main = (fss_read_main_t *) void_main;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_read_payload_process_set_
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_read_payload_process_help_
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_data_not_stop (with warning bit) on no valid FSS data found and reached stopping point.
* F_data_not_eos (with warning bit) on no valid FSS data found and reached end of string.
* Must be of type fss_read_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*/
#ifndef _di_fss_read_payload_process_set_
extern void fss_read_payload_process_set(void * const main);
* The main program settings.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) on parameter error.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but nothing was provided to operate with.
*
* @see fss_read_setting_load()
fll_print_format("%r%[%QThe payload may only be specified last.%]%r", print->to, f_string_eol_s, print->set->error, print->prefix, print->set->error, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_payload_print_error_payload_not_last_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_payload_print_help_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_read_payload_print_object_end_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_write_basic_process_help_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_basic_print_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_write_basic_list_process_help_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_basic_list_print_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_write_embedded_list_process_help_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_embedded_list_print_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_write_extended_process_help_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_extended_print_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_write_extended_list_process_help_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_extended_list_print_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
if (F_status_is_error(main->setting.state.status)) return;
if (main->setting.state.status == F_done) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
* The main program settings.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but nothing was provided to operate with.
*
* F_parameter (with error bit) on parameter error.
* Errors (with error bit) from: fll_program_parameter_process_verbosity_standard().
* @param callback
* (optional) Designate a function to call after performing the initial processing, but before printing help.
- * If the function returns F_done, then this function immediately returns, resetting status to F_none.
+ * If the function returns F_done, then this function immediately returns, resetting status to F_okay.
* Set to NULL to disable.
*
* @see f_console_parameter_process()
f_string_dynamics_resize(0, &setting->objects);
f_string_dynamicss_resize(0, &setting->contentss);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_setting_delete_
#define fss_write_setting_t_initialize \
{ \
fss_write_main_flag_none_e, \
- F_none, \
- macro_f_state_t_initialize_1(fss_write_allocation_large_d, fss_write_allocation_small_d, F_none, 0, 0, &fll_program_standard_signal_handle, 0, 0, 0, 0), \
+ F_okay, \
+ macro_f_state_t_initialize_1(fss_write_allocation_large_d, fss_write_allocation_small_d, F_okay, 0, 0, &fll_program_standard_signal_handle, 0, 0, 0, 0), \
f_string_range_t_initialize, \
f_string_static_t_initialize, \
f_string_static_t_initialize, \
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (fss_write_main_flag_help_e | fss_write_main_flag_version_e | fss_write_main_flag_copyright_e)) {
if (main->setting.flag & fss_write_main_flag_help_e) {
return;
}
- f_status_t status_pipe = F_none;
+ f_status_t status_pipe = F_okay;
f_file_t input = f_file_t_initialize;
input.id = F_type_descriptor_input_d;
}
if (range.start > range.stop) {
- if (status_pipe == F_none_eof) break;
+ if (status_pipe == F_okay_eof) break;
main->setting.block.used = 0;
} // for
// If the pipe ended before finishing, then attempt to wrap up.
- if (F_status_is_error_not(main->setting.state.status) && status_pipe == F_none_eof && state) {
+ if (F_status_is_error_not(main->setting.state.status) && status_pipe == F_okay_eof && state) {
main->callback.process_set(void_main);
flag |= 0x1;
main->setting.contentss.used = used_contentss;
if (F_status_is_error_not(main->setting.state.status)) {
- main->setting.state.status = (flag & 0x1) ? F_none : F_data_not;
+ main->setting.state.status = (flag & 0x1) ? F_okay : F_data_not;
}
}
#endif // _di_fss_write_process_pipe_
* Must be of type fss_write_main_t.
*
* This alters main.custom.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_true on success when performing verification and verify passed.
* F_false on success when performing verification and verify failed.
* F_interrupt on (exit) signal received.
* Must be of type fss_write_main_t.
*
* This alters main.custom.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_interrupt on (exit) signal received.
*
* F_parameter (with error bit) if main is NULL or setting is NULL.
* Must be of type fss_write_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but pipe contained no relevant data.
* F_basic on success and the basic has been printed.
* F_interrupt on (exit) signal received.
* Must be of type fss_write_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_interrupt on (exit) signal received.
*
* F_parameter (with error bit) if main is NULL or setting is NULL.
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_write_main_process_help_
* This alters main.setting.process_help, main.setting.process_normal, and main.setting.process_pipe.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_interrupt on (exit) signal received.
*
* F_parameter (with error bit) if main is NULL or setting is NULL.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but nothing was provided to operate with.
*
* Errors (with error bit) from: f_console_parameter_process().
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_main_print_error_format_unknown_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_main_main_print_help_
* A string representing the value that is of an unknown format.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
fll_error_print(print, F_status_set_fine(((fss_write_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_print_error_
fll_error_file_print(print, F_status_set_fine(((fss_write_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_print_error_file_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_print_error_parameter_same_times_at_least_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_print_error_one_content_only_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _fss_write_print_error_prepend_only_whitespace_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_print_error_unsupported_eol_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
fss_write_main_t * const main = (fss_write_main_t *) void_main;
- f_status_t status_pipe = F_none;
+ f_status_t status_pipe = F_okay;
f_file_t input = f_file_t_initialize;
input.id = F_type_descriptor_input_d;
input.size_read = fss_write_allocation_large_d;
}
if (range.start > range.stop) {
- if (status_pipe == F_none_eof) break;
+ if (status_pipe == F_okay_eof) break;
main->setting.block.used = 0;
range.start = 0;
range.stop = main->setting.block.used - 1;
- status_pipe = F_none;
+ status_pipe = F_okay;
}
// Start Object.
} // for
// If the pipe ended before finishing, then attempt to wrap up.
- if (F_status_is_error_not(main->setting.state.status) && status_pipe == F_none_eof && state) {
+ if (F_status_is_error_not(main->setting.state.status) && status_pipe == F_okay_eof && state) {
fss_write_payload_process_set(void_main);
flag |= 0x1;
main->setting.state.status = F_payload;
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
else {
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
&main->setting.state
);
- if (F_status_set_fine(main->setting.state.status) == F_none_eol) {
+ if (F_status_set_fine(main->setting.state.status) == F_okay_eol) {
main->setting.state.status = F_status_set_error(F_support_not);
fss_write_print_error_unsupported_eol(&main->program.error);
fll_print_dynamic(main->setting.buffer, main->program.output.to);
main->setting.buffer.used = 0;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_fss_write_payload_process_set_
* This does not alter main.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*/
#ifndef _di_fss_write_payload_process_help_
* Must be of type fss_write_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but pipe contained no relevant data.
* F_payload on success and the payload has been printed.
* F_interrupt on (exit) signal received.
* Must be of type fss_write_main_t.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_interrupt on (exit) signal received.
*
* F_parameter (with error bit) if main is NULL or setting is NULL.
* This alters setting.process_help, setting.process_normal, and setting.process_pipe.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_interrupt on (exit) signal received.
*
* F_parameter (with error bit) if main is NULL or setting is NULL.
* F_parameter (with error bit) on parameter error.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success but nothing was provided to operate with.
*
* @see fss_write_setting_load()
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_payload_print_error_payload_not_last_
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_fss_write_payload_print_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if a parameter is NULL.
* The program and settings data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: f_file_exists().
* The program and settings data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_triples_resize().
f_iki_data_delete(&setting->data);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_read_setting_delete_
#define iki_read_setting_t_initialize \
{ \
iki_read_main_flag_none_e, \
- F_none, \
- macro_f_state_t_initialize_1(iki_read_allocation_large_d, iki_read_allocation_small_d, F_none, 0, 0, 0, 0, 0, 0, 0), \
+ F_okay, \
+ macro_f_state_t_initialize_1(iki_read_allocation_large_d, iki_read_allocation_small_d, F_okay, 0, 0, 0, 0, 0, 0, 0), \
0, \
0, \
f_string_dynamic_t_initialize, \
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (iki_read_main_flag_help_e | iki_read_main_flag_version_e | iki_read_main_flag_copyright_e)) {
if (main->setting.flag & iki_read_main_flag_help_e) {
* The main program settings.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_true on success when performing verification and verify passed.
* F_false on success when performing verification and verify failed.
* F_interrupt on (exit) signal received.
fll_error_print(print, F_status_set_fine(((iki_read_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_read_print_error_
fll_error_file_print(print, F_status_set_fine(main->setting.state.status), function, fll_error_file_flag_fallback_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_read_print_error_file_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_read_print_message_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
iki_read_process_buffer_total(main);
if (F_status_is_error_not(main->setting.state.status)) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
return;
}
if (F_status_is_error_not(main->setting.state.status)) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_iki_read_process_buffer_
main->setting.state.status = F_data_not;
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
else {
f_file_stream_unlock(main->program.output.to);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
else {
main->setting.state.status = F_data_not;
f_file_stream_unlock(main->program.output.to);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
else {
if (!main->setting.data.variable.used) {
fll_print_dynamic_partial(main->setting.buffer, buffer_range, main->program.output.to);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
f_file_stream_unlock(main->program.output.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_iki_read_process_buffer_ranges_whole_
if (range.start > main->setting.buffer.used) {
fll_print_format("%r%r", main->program.output.to, f_string_ascii_0_s, f_string_eol_s);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
else if (main->setting.state.status == F_data_not) {
fll_print_format("%r%r", main->program.output.to, f_string_ascii_0_s, f_string_eol_s);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
fll_print_format("%ul%r", main->program.output.to, total, f_string_eol_s);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_iki_read_process_buffer_total_
* The main program settings.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but nothing done.
*
* F_interrupt (with error bit) on (exit) signal received.
* The range within the buffer to process.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but nothing to print.
*
* Status codes (with error bit) are returned on any problem.
* The range within the buffer to process.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_data_not on success, but nothing to print.
*
* Status codes (with error bit) are returned on any problem.
* The main program settings.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* Status codes (with error bit) are returned on any problem.
*/
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
* The program and settings data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: f_file_stream_open().
f_string_dynamics_resize(0, &setting->objects);
f_string_dynamics_resize(0, &setting->contents);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_write_setting_delete_
#define iki_write_setting_t_initialize \
{ \
iki_write_main_flag_none_e, \
- F_none, \
+ F_okay, \
f_state_t_initialize, \
f_string_static_t_initialize, \
f_string_dynamic_t_initialize, \
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (iki_write_main_flag_help_e | iki_write_main_flag_version_e | iki_write_main_flag_copyright_e)) {
if (main->setting.flag & iki_write_main_flag_help_e) {
f_number_unsigned_t previous = 0;
f_string_range_t range = f_string_range_t_initialize;
- f_status_t status = F_none;
+ f_status_t status = F_okay;
f_file_t pipe = f_file_t_initialize;
pipe.id = F_type_descriptor_input_d;
main->program.signal_check = 0;
}
- if (status != F_none_eof) {
+ if (status != F_okay_eof) {
status = f_file_read(pipe, &main->setting.buffer);
if (F_status_is_error(status)) {
main->setting.buffer.used = 0;
}
- } while (status != F_none_eof || main->setting.buffer.used || object_ended);
+ } while (status != F_okay_eof || main->setting.buffer.used || object_ended);
if (object_ended) {
main->setting.state.status = F_status_set_error(F_parameter);
* The program and settings data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_true on success when performing verification and verify passed.
* F_false on success when performing verification and verify failed.
* F_interrupt on (exit) signal received.
fll_error_print(print, F_status_set_fine(((iki_write_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_write_print_error_
fll_error_file_print(print, F_status_set_fine(main->setting.state.status), function, fll_error_file_flag_fallback_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_write_print_error_file_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_write_print_error_main_missing_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_write_print_error_object_not_valid_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The a string representing the object that is missing.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_iki_write_print_message_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The program and settings data.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_iki_object_is().
* Errors (with error bit) from: fll_iki_content_escape().
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
fl_print_format(" Each code will be printed on its own line.%r", print->to, f_string_eol_s);
fl_print_format(" Errors regarding each code may be printed on its own line.%r", print->to, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_fss_print_help_detail_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The program and settings data.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: fll_program_parameter_process_context().
if (!setting) return F_status_set_error(F_parameter);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_setting_delete_
#define status_code_setting_t_initialize \
{ \
status_code_main_flag_none_e, \
- F_none, \
+ F_okay, \
f_state_t_initialize, \
0, \
0, \
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
}
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_status_code_convert_number_
* Will not be updated on error.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not if string starts wth a null (length is 0).
* F_complete_not_utf (with error bit) if an incomplete UTF-8 fragment is found.
* F_number (with error bit) if parameter is not a number.
fll_print_format("%ui%r", print->to, code, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_print_data_code_
fll_print_format("%[%Q%]%r", print->to, context, value, context, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_print_data_context_value_
* The code to print.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The value string.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fll_error_print(print, F_status_set_fine(((status_code_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_print_error_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_print_error_cannot_error_warning_number_
fll_print_format("%[No status code is specified.%]%r", print->to, print->context, print->context, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_print_error_no_status_codes_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_print_error_invalid_callback_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This should either be 'status_string_from' or 'status_string_to'.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_print_message_help_
fl_print_format(" Each code will be printed on its own line.%r", print->to, print->set->notable, print->set->notable, f_string_eol_s);
fl_print_format(" Errors regarding each code may be printed on its own line.%r", print->to, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_status_code_print_message_help_detail_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_unlock(main->program.output.to);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_status_code_process_check_
main->setting.state.status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, value, &number);
- if (main->setting.state.status == F_none) {
+ if (main->setting.state.status == F_okay) {
status_code_print_data_context_value(&main->program.output, main->program.context.set.error, status_code_invalid_name_s);
main->setting.state.status = F_status_set_error(F_parameter);
}
}
- f_status_t code = F_none;
+ f_status_t code = F_okay;
main->setting.state.status = main->setting.status_string_from(value, &code);
if (main->setting.state.status == F_data) {
status_code_print_data_context_value(&main->program.output, main->program.context.set.error, status_code_unknown_code_s);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
status_code_print_data_code(&main->program.output, code);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_status_code_process_number_
status_code_print_data_context_value(&main->program.output, f_color_set_empty_s, name);
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
#endif // _di_status_code_process_normal_
* The parameter value to process.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not if string starts wth a null (length is 0).
* F_parameter (with error bit) if a parameter is invalid.
* F_number (with error bit) if parameter is not a number.
* The parameter value to process.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not if string is empty.
*
* Errors (with error bit) from: fl_console_parameter_to_number_unsigned().
* The parameter value to process.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_data_not if string starts wth a null (length is 0).
* F_complete_not_utf (with error bit) if an incomplete UTF-8 fragment is found.
* F_number (with error bit) if parameter is not a number.
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (status_code_main_flag_help_e | status_code_main_flag_version_e | status_code_main_flag_copyright_e)) {
if (main->setting.flag & status_code_main_flag_help_e) {
return;
}
- f_status_t status = F_none;
+ f_status_t status = F_okay;
if (main->setting.flag & status_code_main_flag_number_e) {
if (main->setting.flag & status_code_main_flag_pipe_e) {
* The main program data and settings.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_true on success when performing verification and verify passed.
* F_false on success when performing verification and verify failed.
* F_interrupt on (exit) signal received.
Convert status code name to number.
.SH STATUS CODES
.TP
-Either code strings, such as \fBF_none\fR, or digits, such as \fB197\fR.
+Either code strings, such as \fBF_okay\fR, or digits, such as \fB197\fR.
.SH AUTHOR
Written by Kevin Day.
.SH STATUS CODES
Convert status code name to number.
.SH STATUS CODES
.TP
-Either code strings, such as \fBF_none\fR, or digits, such as \fB197\fR.
+Either code strings, such as \fBF_okay\fR, or digits, such as \fB197\fR.
.SH AUTHOR
Written by Kevin Day.
.SH COPYRIGHT
main->setting.state.status = F_utf_not;
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_utf8_convert_bytesequence_
do {
main->setting.state.status = f_file_stream_read_block(file, &main->setting.buffer);
- if (main->setting.state.status == F_none_eof && !main->setting.buffer.used) break;
+ if (main->setting.state.status == F_okay_eof && !main->setting.buffer.used) break;
for (i = 0; F_status_is_error_not(main->setting.state.status) && i < main->setting.buffer.used; ) {
if (utf8_signal_check(main)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
// Get the current width only when processing a new block.
if (next) {
* The program and settings data.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_utf_not on invalid UTF-8 (which is still "success" when verifying).
*
* F_utf_not (with error bit) if not verifying and
if (!main) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
bool valid_not = F_false;
}
}
else if (main->setting.mode & utf8_mode_to_bytesequence_e) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
unicode.used = macro_f_utf_byte_width(unicode.string[0]);
utf8_print_data_bytesequence(&main->program.output, unicode);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
utf8_print_data_combining_or_width(&main->program.output, unicode);
}
}
}
else if (*mode == utf8_codepoint_mode_bad_end_e) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
utf8_print_data_character_invalid(&main->program.output, unicode);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
if (!main) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
bool valid_not = F_false;
}
}
else if (*mode == utf8_codepoint_mode_bad_end_e) {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
utf8_print_data_character_invalid(&main->program.output, hex);
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
return;
}
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (unicode.string[0] == f_string_ascii_u_s.string[0] || unicode.string[0] == f_string_ascii_U_s.string[0] || unicode.string[0] == f_string_ascii_plus_s.string[0]) {
// Do nothing.
}
}
- main->setting.state.status = (main->setting.state.status == F_true) ? F_space : F_none;
+ main->setting.state.status = (main->setting.state.status == F_true) ? F_space : F_okay;
}
}
if (!main) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
bool valid = F_true;
bool next = F_true;
do {
main->setting.state.status = f_file_stream_read_block(file, &main->setting.buffer);
- if (main->setting.state.status == F_none_eof && !main->setting.buffer.used) {
+ if (main->setting.state.status == F_okay_eof && !main->setting.buffer.used) {
// Handle complete character, which must be explicitly set to end in this situation.
if (mode_codepoint == utf8_codepoint_mode_number_e || mode_codepoint == utf8_codepoint_mode_raw_number_e) {
j = 0;
next = F_true;
- main->setting.state.status = F_none_eof;
+ main->setting.state.status = F_okay_eof;
mode_codepoint = utf8_codepoint_mode_ready_e;
}
if (utf8_signal_check(main)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
// Get the current width only when processing a new block.
if (next) {
* The program and settings data.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_utf_not on invalid UTF-8 (which is still "success" when verifying).
*
* F_utf_not (with error bit) if not verifying and the Unicode value is invalid.
* The program and settings data.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_valid_not on invalid raw (which is still "success" when verifying).
*
* F_valid_not (with error bit) if not verifying and the raw value is invalid.
* The program and settings data.
*
* This alters setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_next on success, but should not be processed (it is white space or NULL).
* F_space on success, but the character is whitespace.
*
* The main program data and settings.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
*
* Errors (with error bit) from: f_console_parameter_process().
* Errors (with error bit) from: fll_program_parameter_process_context().
f_string_dynamics_resize(0, &setting->path_files_to);
f_string_dynamics_resize(0, &setting->remaining);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_setting_delete_
{ \
utf8_mode_from_bytesequence_e | utf8_mode_to_codepoint_e, \
utf8_main_flag_none_e, \
- F_none, \
+ F_okay, \
f_state_t_initialize, \
f_color_set_t_initialize, \
f_color_set_t_initialize, \
* This does not alter setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
*
* F_parameter (with error bit) if a parameter is invalid.
*/
fl_print_format("%r%r%r", print->to, main->setting.prepend, sequence, main->setting.append);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_bytesequence_
fl_print_format("%]%r", print->to, main->setting.valid_not, main->setting.append);
}
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_character_invalid_
fl_print_format("%rU+%06_U%r", print->to, main->setting.prepend, codepoint, main->setting.append);
}
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_codepoint_
utf8_print_data_width(print, sequence);
}
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_combining_or_width_
fl_print_format("%r%[%r%]%r", print->to, main->setting.prepend, main->setting.valid_not, utf8_string_unknown_s, main->setting.valid_not, main->setting.append);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_combining_or_width_invalid_
fl_print_format("%r%[%r%]%r", print->to, main->setting.prepend, main->setting.valid_not, character, main->setting.valid_not, main->setting.append);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_raw_bytesequence_
fl_print_format("%r%[%r%]%r", print->to, main->setting.prepend, main->setting.valid_not, raw, main->setting.valid_not, main->setting.append);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_raw_codepoint_
fl_print_format("%r%[%r%]%r", print->to, main->setting.prepend, main->setting.valid_not, *character, main->setting.valid_not, main->setting.append);
}
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_raw_combining_or_width_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_section_header_file_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_section_header_parameter_
fll_print_format("%[Pipe%]:%r", print->to, print->set->title, print->set->title, f_string_eol_s);
}
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_section_header_pipe_
if (status == F_true) {
fl_print_format("%r%r%r", print->to, main->setting.prepend, utf8_string_width_2_s, main->setting.append);
- return F_none;
+ return F_okay;
}
if (status == F_false) {
if (status == F_true) {
fl_print_format("%r%r%r", print->to, main->setting.prepend, utf8_string_width_1_s, main->setting.append);
- return F_none;
+ return F_okay;
}
if (status == F_false) {
fl_print_format("%r%r%r", print->to, main->setting.prepend, utf8_string_width_0_s, main->setting.append);
- return F_none;
+ return F_okay;
}
}
utf8_print_data_combining_or_width_invalid(print);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_data_width_
* A byte sequences representing a single character to print.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The byte sequence string or unicode codepoint string representing a single character to print.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This is the code that represents a single character.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* @see utf8_print_width()
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The width the raw character represents (a value inclusively from 1 to 4).
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The raw string already in codepoint format.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The pre-calculated width.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The index position of the file.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The index position of the parameter.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A byte sequences representing a single character whose width is to be printed.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
fll_error_print(print, F_status_set_fine(((utf8_main_t *) print->custom)->setting.state.status), function, fll_error_file_flag_fallback_e);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_error_
fl_print_format("%[.%]%r", print->to, print->set->error, print->set->error, f_string_eol_s);
}
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_error_decode_
fl_print_format("%[.%]%r", print->to, print->set->error, print->set->error, f_string_eol_s);
}
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_error_encode_
fll_error_file_print(print, F_status_set_fine(main->setting.state.status), function, fll_error_file_flag_fallback_e, name, operation, type);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_error_file_
fll_print_format("%[%QNo from sources are specified, please pipe data, designate a file, or add parameters.%]%r", print->to, print->set->error, print->prefix, print->set->error, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_error_no_from_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_error_parameter_file_name_empty_
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_error_parameter_file_not_found_
fll_print_format("%[%QToo many '%r' files specified, there may only be one '%r' file.%]%r", print->to, print->set->error, print->prefix, utf8_string_to_s, utf8_string_to_s, print->set->error, f_string_eol_s);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_error_parameter_file_to_too_many_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The byte sequence string or unicode codepoint string representing a single character to print.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The codepoint that is invalid.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* A valid file type code from the fll_error_file_type enum.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The index within the argv[] array where the empty string is found.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* The file path name.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
f_file_stream_flush(print->to);
f_file_stream_unlock(print->to);
- return F_none;
+ return F_okay;
}
#endif // _di_utf8_print_message_help_
* This does not alter print.custom.setting.state.status.
*
* @return
- * F_none on success.
+ * F_okay on success.
* F_output_not on success, but no printing is performed.
*
* F_output_not (with error bit) if setting is NULL.
return;
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
bool valid = F_true;
uint8_t mode_codepoint = utf8_codepoint_mode_ready_e;
if (utf8_signal_check(main)) return;
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.mode & utf8_mode_from_bytesequence_e) {
utf8_convert_bytesequence(main, text);
}
failsafe = 0;
- main->setting.status_signal = F_none;
+ main->setting.status_signal = F_okay;
} while (!main->program.signal_received);
fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
}
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
if (main->setting.flag & (utf8_main_flag_help_e | utf8_main_flag_version_e | utf8_main_flag_copyright_e)) {
if (main->setting.flag & utf8_main_flag_help_e) {
main->setting.state.status = valid;
}
else {
- main->setting.state.status = F_none;
+ main->setting.state.status = F_okay;
}
}
#endif // _di_utf8_main_
* The main program data and settings.
*
* This alters main.setting.state.status:
- * F_none on success.
+ * F_okay on success.
* F_true on success when performing verification and verify passed.
* F_false on success when performing verification and verify failed.
*
The recommended italic:"length" italic:"header" Object used to designate the italic:"payload" size does not necessarily have to be defined in the italic:"header".
That is to say, if the italic:"payload" is expected to be of some pre-defined or static length then a length does not need to be provided in the italic:"header".
- The recommended italic:"status" italic:"header" Object may be a string, such as code:"F_none", or a positive whole number.
+ The recommended italic:"status" italic:"header" Object may be a string, such as code:"F_okay", or a positive whole number.
What the status code represents is application specific (or specific to a sub-standard) but may often be used to represent FLL:"Featureless Linux Library" status code.
- The FLL:"Featureless Linux Library" status code is a 16-bit digit whose first two high-order bits represent italic:"error" and italic:"warning" ( representing italic:"signal").
- The FLL:"Featureless Linux Library" status code as a number is binary sensitive and may not be portable across binaries or systems.
--- /dev/null
+Initial Draft - Currently Just Notes.
+
+Need an alternative to /etc/resolv.conf.
+
+Expand kevux specific practices that include "port" and "extension".
+Add "scheme".
+
+The "scheme" is a group or category in this case.
+Consider "inet" for classic internet.
+
+example resolution file (/etc/resolution):
+ # fss-????
+ inet:
+ namesever 208.67.222.222
+ extension kevux 127.0.0.2:123
+
+ kevux:
+ nameserver 127.0.0.2:123
+ extension turtle 127.0.0.3:456
+
+
+Can then do nslookup like this:
+ nslookup google.com
+ nslookup turtle.kevux
+ nslookup kevux://google.com
+ nslookup kevux://turtle.kevux
+ nslookup kevux://kevin.turtle
+
+Recommend reserving "http" and "https" for "inet" use in programs.
+
+Need to include additional files that can be created dynamically.
+Allow for user-specific checks.
+Allow for custom cached includes.
+Allow for custom use for things like VPN.