#include "ruby.h"Go to the source code of this file.
Data Structures | |
| struct | FBufferStruct |
Defines | |
| #define | RHASH_SIZE(hsh) (RHASH(hsh)->tbl->num_entries) |
| #define | RFLOAT_VALUE(val) (RFLOAT(val)->value) |
| #define | RARRAY_PTR(ARRAY) RARRAY(ARRAY)->ptr |
| #define | RARRAY_LEN(ARRAY) RARRAY(ARRAY)->len |
| #define | RSTRING_PTR(string) RSTRING(string)->ptr |
| #define | RSTRING_LEN(string) RSTRING(string)->len |
| #define | RB_OBJ_CLASSNAME(obj) rb_obj_class(obj) |
| #define | RB_OBJ_STRING(obj) (obj) |
| #define | FORCE_UTF8(obj) |
| #define | RB_GC_GUARD(object) |
| #define | FBUFFER_INITIAL_LENGTH_DEFAULT 1024 |
| #define | FBUFFER_PTR(fb) (fb->ptr) |
| #define | FBUFFER_LEN(fb) (fb->len) |
| #define | FBUFFER_CAPA(fb) (fb->capa) |
| #define | FBUFFER_PAIR(fb) FBUFFER_PTR(fb), FBUFFER_LEN(fb) |
Typedefs | |
| typedef struct FBufferStruct | FBuffer |
Functions | |
| static FBuffer * | fbuffer_alloc (unsigned long initial_length) |
| static void | fbuffer_free (FBuffer *fb) |
| static void | fbuffer_clear (FBuffer *fb) |
| static void | fbuffer_append (FBuffer *fb, const char *newstr, unsigned long len) |
| static void | fbuffer_append_char (FBuffer *fb, char newchr) |
| static void | fbuffer_inc_capa (FBuffer *fb, unsigned long requested) |
| #define FBUFFER_INITIAL_LENGTH_DEFAULT 1024 |
Definition at line 56 of file fbuffer.h.
Referenced by cState_initialize(), and fbuffer_alloc().
| #define FBUFFER_LEN | ( | fb | ) | (fb->len) |
Definition at line 59 of file fbuffer.h.
Referenced by generate_json_array(), and generate_json_object().
| #define FBUFFER_PAIR | ( | fb | ) | FBUFFER_PTR(fb), FBUFFER_LEN(fb) |
| #define FBUFFER_PTR | ( | fb | ) | (fb->ptr) |
Definition at line 58 of file fbuffer.h.
Referenced by generate_json_array(), generate_json_object(), JSON_parse_float(), and JSON_parse_integer().
| #define FORCE_UTF8 | ( | obj | ) |
Definition at line 41 of file fbuffer.h.
Referenced by convert_encoding(), and JSON_parse_string().
| #define RARRAY_LEN | ( | ARRAY | ) | RARRAY(ARRAY)->len |
Definition at line 19 of file fbuffer.h.
Referenced by append_extmod(), apply2files(), argf_getpartial(), argf_next_argv(), argf_readlines(), ary2list(), ary2list2(), ary2ptr_dispparams(), ary2sv(), ary_add_hash(), ary_add_hash_by(), ary_ensure_room_for_push(), ary_ensure_room_for_unshift(), ary_join_1(), ary_len_of_dim(), ary_make_partial(), ary_make_shared(), ary_make_shared_copy(), ary_make_substitution(), ary_reject(), ary_reject_bang(), ary_resize_capa(), ary_resize_smaller(), ary_take_first_or_last(), assoc2kv(), assoc2kv_enc(), bmcall(), cbsubst_get_subst_key(), cbsubst_scan_args(), cbsubst_table_setup(), check_exec_fds(), check_exec_fds_1(), check_exec_redirect(), check_exec_redirect1(), clear_coverage_i(), code_page(), collect_caller_bindings(), curry(), d_lite_marshal_load(), dimension(), dir_s_glob(), do_coerce(), each_cons_i(), each_slice_i(), enum_cycle(), enum_cycle_size(), enum_each_slice(), enum_reverse_each(), enum_sort_by(), env_each_key(), env_each_pair(), env_each_value(), env_reject_bang(), env_replace(), env_select(), env_select_bang(), error_print(), eval_string_with_cref(), extract_user_token(), fdbm_delete_if(), fgdbm_delete_if(), filename_completion_proc_call(), flatten(), foletypelib_initialize(), folevariant_initialize(), folevariant_s_array(), fsdbm_delete_if(), generate_json_array(), generate_json_object(), get_loaded_features_index(), get_stack_tail(), initialize(), initialize_params(), inspect_ary(), inspect_enumerator(), io_puts_ary(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_data_to_ary(), iseq_set_exception_table(), lazy_flat_map_func(), lazy_flat_map_to_ary(), lazy_zip_arrays_func(), lazy_zip_func(), loaded_feature_path(), m_core_hash_from_ary(), m_core_hash_merge_ary(), nucomp_marshal_load(), num_members(), num_step_size(), nurat_marshal_load(), ole_invoke2(), ole_search_event(), ole_search_event_at(), open_key_args(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_x509_set_extensions(), ossl_x509crl_set_extensions(), ossl_x509crl_set_revoked(), ossl_x509req_set_attributes(), ossl_x509revoked_set_extensions(), pack_pack(), pack_unpack(), parse_main(), parser_set_encode(), path_entries(), path_s_glob(), process_options(), process_sflag(), r_object0(), random_load(), rb_ary_and(), rb_ary_aref(), rb_ary_aset(), rb_ary_assoc(), rb_ary_bsearch(), rb_ary_cat(), rb_ary_cmp(), rb_ary_collect(), rb_ary_collect_bang(), rb_ary_combination(), rb_ary_combination_size(), rb_ary_compact_bang(), rb_ary_concat(), rb_ary_count(), rb_ary_cycle(), rb_ary_cycle_size(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_delete_same(), rb_ary_diff(), rb_ary_drop(), rb_ary_drop_while(), rb_ary_dup(), rb_ary_each(), rb_ary_each_index(), rb_ary_elt(), rb_ary_empty_p(), rb_ary_entry(), rb_ary_eql(), rb_ary_equal(), rb_ary_fetch(), rb_ary_fill(), rb_ary_first(), rb_ary_includes(), rb_ary_index(), rb_ary_insert(), rb_ary_inspect(), rb_ary_join(), rb_ary_last(), rb_ary_length(), rb_ary_modify(), rb_ary_or(), rb_ary_permutation(), rb_ary_permutation_size(), rb_ary_plus(), rb_ary_pop(), rb_ary_pop_m(), rb_ary_product(), rb_ary_push(), rb_ary_rassoc(), rb_ary_repeated_combination(), rb_ary_repeated_combination_size(), rb_ary_repeated_permutation(), rb_ary_repeated_permutation_size(), rb_ary_replace(), rb_ary_resize(), rb_ary_resurrect(), rb_ary_reverse(), rb_ary_reverse_each(), rb_ary_reverse_m(), rb_ary_rindex(), rb_ary_rotate(), rb_ary_rotate_m(), rb_ary_sample(), rb_ary_select(), rb_ary_select_bang(), rb_ary_shift(), rb_ary_shift_m(), rb_ary_shuffle_bang(), rb_ary_slice_bang(), rb_ary_sort_bang(), rb_ary_splice(), rb_ary_store(), rb_ary_subseq(), rb_ary_take_while(), rb_ary_times(), rb_ary_to_a(), rb_ary_transpose(), rb_ary_uniq(), rb_ary_uniq_bang(), rb_ary_unshift_m(), rb_ary_values_at(), rb_ary_zip(), rb_check_argv(), rb_check_backtrace(), rb_construct_expanded_load_path(), rb_debug_inspector_open(), rb_dlcfunc_call(), rb_econv_init_by_convpath(), rb_env_clear(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), rb_feature_p(), rb_file_join(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_get_values_at(), rb_Hash(), rb_hash_s_create(), rb_io_s_popen(), rb_iseq_build_from_ary(), rb_iseq_disasm(), rb_proc_call(), rb_provide_feature(), rb_reg_preprocess_dregexp(), rb_reg_s_union(), rb_reg_s_union_m(), rb_str_split_m(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_members(), rb_struct_set(), rb_threadptr_pending_interrupt_check_mask(), rb_threadptr_pending_interrupt_deque(), rb_threadptr_pending_interrupt_empty_p(), rb_threadptr_pending_interrupt_include_p(), rb_vm_bugreport(), readline_attempted_completion_function(), recursive_cmp(), recursive_eql(), recursive_equal(), recursive_hash(), reduce0(), require_libraries(), ruby_vm_run_at_exit_hooks(), run_exec_close(), run_exec_dup2(), run_exec_dup2_child(), run_exec_open(), run_finalizer(), select_internal(), set_state_ivars(), setup_struct(), sock_s_getnameinfo(), sort_by_i(), start_document(), thread_start_func_2(), unknown_keyword_error(), update_i(), username_completion_proc_call(), vm_caller_setup_args(), vm_expandarray(), w_object(), wmap_final_func(), wmap_finalize(), zip_ary(), and zip_i().
| #define RARRAY_PTR | ( | ARRAY | ) | RARRAY(ARRAY)->ptr |
Definition at line 16 of file fbuffer.h.
Referenced by append_extmod(), apply2files(), ary2list(), ary2list2(), ary2sv(), ary_add_hash(), ary_ensure_room_for_push(), ary_ensure_room_for_unshift(), ary_join_0(), ary_join_1(), ary_make_partial(), ary_make_shared(), ary_make_substitution(), ary_reject(), ary_reject_bang(), ary_resize_capa(), assoc2kv(), assoc2kv_enc(), BigDecimal_to_i(), BigDecimal_to_r(), bmcall(), call_queue_handler(), callback(), cbsubst_get_subst_key(), cbsubst_scan_args(), cbsubst_table_setup(), check_exec_fds(), check_exec_fds_1(), check_exec_redirect1(), check_funcall_exec(), clear_coverage_i(), code_page(), coverage(), curry(), d_lite_marshal_load(), decorate_convpath(), dir_s_glob(), do_coerce(), enum_cycle(), enum_cycle_size(), enum_each_cons_size(), enum_each_slice_size(), enum_reverse_each(), enum_sort_by(), enum_zip(), enumerator_block_call(), env_each_key(), env_each_pair(), env_each_value(), env_reject_bang(), env_replace(), env_select(), env_select_bang(), error_print(), eval_queue_handler(), eval_string_with_cref(), fdbm_delete_if(), fgdbm_delete_if(), flatten(), fsdbm_delete_if(), function_call(), get_stack_tail(), initialize(), initialize_params(), inspect_ary(), inspect_enumerator(), inspect_struct(), int_downto_size(), int_upto_size(), invoke_queue_handler(), io_puts_ary(), ip_eval(), ip_invoke_with_position(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_data_to_ary(), iseq_set_arguments(), iseq_set_exception_table(), lazy_drop_size(), lazy_flat_map_func(), lazy_flat_map_to_ary(), lazy_init_iterator(), lazy_take_size(), lazy_zip_arrays_func(), lazy_zip_func(), loaded_feature_path(), m_core_hash_merge_ary(), make_addrinfo(), method_missing(), nucomp_marshal_load(), num_step_size(), nurat_marshal_load(), open_key_args(), ossl_sslctx_setup(), ossl_x509_set_extensions(), ossl_x509crl_set_extensions(), ossl_x509crl_set_revoked(), ossl_x509req_set_attributes(), ossl_x509revoked_set_extensions(), pack_pack(), pack_unpack(), parse_main(), parser_set_encode(), path_entries(), path_s_glob(), process_options(), process_sflag(), push_kv(), push_kv_enc(), r_object0(), random_load(), range_step_size(), rb_apply(), rb_ary_assoc(), rb_ary_cat(), rb_ary_collect(), rb_ary_collect_bang(), rb_ary_combination(), rb_ary_combination_size(), rb_ary_compact_bang(), rb_ary_count(), rb_ary_cycle(), rb_ary_cycle_size(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_delete_same(), rb_ary_diff(), rb_ary_drop_while(), rb_ary_dup(), rb_ary_each(), rb_ary_elt(), rb_ary_fetch(), rb_ary_fill(), rb_ary_first(), rb_ary_includes(), rb_ary_index(), rb_ary_initialize(), rb_ary_join(), rb_ary_last(), rb_ary_modify(), rb_ary_new3(), rb_ary_new4(), rb_ary_permutation(), rb_ary_permutation_size(), rb_ary_plus(), rb_ary_pop(), rb_ary_product(), rb_ary_push(), rb_ary_rassoc(), rb_ary_repeated_combination(), rb_ary_repeated_combination_size(), rb_ary_repeated_permutation(), rb_ary_repeated_permutation_size(), rb_ary_replace(), rb_ary_resize(), rb_ary_resurrect(), rb_ary_reverse(), rb_ary_reverse_each(), rb_ary_reverse_m(), rb_ary_rindex(), rb_ary_rotate(), rb_ary_rotate_m(), rb_ary_s_create(), rb_ary_sample(), rb_ary_select(), rb_ary_select_bang(), rb_ary_shift(), rb_ary_shift_m(), rb_ary_shuffle_bang(), rb_ary_slice_bang(), rb_ary_sort_bang(), rb_ary_splice(), rb_ary_store(), rb_ary_take_while(), rb_ary_times(), rb_ary_unshift_m(), rb_check_argv(), rb_check_backtrace(), rb_construct_expanded_load_path(), rb_dlcfunc_call(), rb_env_clear(), rb_eval_cmd(), rb_execarg_fixup(), rb_execarg_run_options(), rb_feature_p(), rb_fiber_start(), rb_file_join(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_hash_s_create(), rb_io_s_popen(), rb_iseq_build_from_ary(), rb_obj_respond_to(), rb_proc_call(), rb_reg_preprocess_dregexp(), rb_str_format_m(), rb_str_split_m(), rb_struct_alloc(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_initialize(), rb_struct_new(), rb_struct_s_def(), rb_struct_set(), rb_threadptr_pending_interrupt_check_mask(), rb_threadptr_pending_interrupt_deque(), rb_threadptr_pending_interrupt_include_p(), rb_vm_bugreport(), rb_yield_splat(), readline_attempted_completion_function(), recursive_equal(), recursive_hash(), reduce0(), rt_complete_frags(), run_exec_close(), run_exec_dup2(), run_exec_dup2_child(), run_exec_open(), run_finalizer(), select_internal(), set_max_block_time(), setup_struct(), sock_s_getnameinfo(), sort_by_i(), start_document(), sym_to_proc(), thread_initialize(), thread_start_func_2(), tk_funcall(), update_coverage(), update_i(), vm_call0_body(), vm_caller_setup_args(), vm_expandarray(), vm_yield_setup_block_args(), w_object(), wmap_finalize(), yield_indexed_values(), yield_under(), zip_ary(), and zip_i().
| #define RB_GC_GUARD | ( | object | ) |
Definition at line 46 of file fbuffer.h.
Referenced by ary_recycle_hash(), backtrace_to_location_ary(), backtrace_to_str_ary(), big_rshift(), bigadd_int(), BigDecimal_power(), bigdivrem(), BigMath_s_exp(), BigMath_s_log(), bigsub_int(), bmcall(), callback(), check_funcall_exec(), clone_method(), d_lite_inspect(), date_zone_to_diff(), establishShell(), file_s_fnmatch(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), lazy_init_iterator(), marshal_dump(), marshal_load(), mk_inspect(), objspace_each_objects(), parse_ddd_cb(), parser_compile_string(), path_check_0(), proc_call(), push_glob(), rand_int(), rb_apply(), rb_ary_sample(), rb_ary_splice(), rb_autoload_load(), rb_check_id(), rb_define_hooked_variable(), rb_exec_fillarg(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_init(), rb_f_exec(), rb_f_spawn(), rb_file_s_basename(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_io_s_sysopen(), rb_io_syswrite(), rb_iseq_eval(), rb_iseq_eval_main(), rb_load_internal(), rb_mod_define_method(), rb_name_err_mesg_new(), rb_parser_compile_file_path(), rb_path_to_class(), rb_proc_call(), rb_proc_call_with_block(), rb_reg_check_preprocess(), rb_reg_initialize(), rb_reg_initialize_str(), rb_reg_prepare_re(), rb_spawn_internal(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_format(), rb_str_intern(), rb_str_subpos(), rb_str_subseq(), rb_str_substr(), rb_str_symname_type(), rb_throw_obj(), rb_w32_write_console(), rb_write_error_str(), rb_yield_splat(), realpath_rec(), reg_fragment_check_gen(), rmpd_power_by_big_decimal(), strio_ungetbyte(), strio_write(), vm_backtrace_to_ary(), vm_call0_body(), vm_define_method(), vm_expandarray(), w_object(), and zstream_run().
| #define RFLOAT_VALUE | ( | val | ) | (RFLOAT(val)->value) |
Definition at line 12 of file fbuffer.h.
Referenced by big_fdiv(), BigDecimal_power(), BigMath_s_exp(), BigMath_s_log(), case_when_optimizable_literal(), d_lite_minus(), d_lite_plus(), enumerator_initialize(), f_signbit(), fix_divide(), fix_divmod(), fix_fdiv(), fix_minus(), fix_mod(), fix_mul(), fix_plus(), fix_pow(), flo_abs(), flo_ceil(), flo_cmp(), flo_div(), flo_divmod(), flo_eq(), flo_eql(), flo_floor(), flo_ge(), flo_gt(), flo_hash(), flo_is_finite_p(), flo_is_infinite_p(), flo_is_nan_p(), flo_le(), flo_lt(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), flo_round(), flo_to_s(), flo_truncate(), flo_uminus(), flo_zero_p(), float_arg(), float_decode_internal(), float_denominator(), float_numerator(), float_value(), generate_json_float(), is_negative(), math_acos(), math_acosh(), math_asin(), math_asinh(), math_atan(), math_atan2(), math_atanh(), math_cbrt(), math_cos(), math_cosh(), math_erf(), math_erfc(), math_exp(), math_frexp(), math_gamma(), math_hypot(), math_ldexp(), math_lgamma(), math_log(), math_log10(), math_log2(), math_sin(), math_sinh(), math_sqrt(), math_tan(), math_tanh(), negate_lit(), nurat_div(), offset_to_sec(), opt_eq_func(), pack_pack(), rand_range(), range_bsearch(), rb_big_divide(), rb_big_fdiv(), rb_big_minus(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_convert_to_integer(), rb_integer_float_cmp(), rb_integer_float_eq(), rb_num2dbl(), rb_num2long(), rb_num2ulong(), rb_str_format(), time_timespec(), w_object(), and wholenum_p().
| #define RHASH_SIZE | ( | hsh | ) | (RHASH(hsh)->tbl->num_entries) |
Definition at line 8 of file fbuffer.h.
Referenced by ary2list(), hash2kv(), hash2kv_enc(), hash_equal(), rb_ary_uniq(), rb_ary_uniq_bang(), rb_execarg_fixup(), tk_conv_args(), and w_object().
| #define RSTRING_LEN | ( | string | ) | RSTRING(string)->len |
Definition at line 25 of file fbuffer.h.
Referenced by addrinfo_initialize(), addrinfo_mload(), appendline(), argf_read(), BigDecimal_to_i(), BigDecimal_to_r(), bubblebabble_str_new(), cbsubst_get_subst_key(), cbsubst_scan_args(), cbsubst_table_setup(), check_class(), check_pipe_command(), chopped_length(), constant_arg(), convert_encoding(), convert_UTF8_to_JSON(), convert_UTF8_to_JSON_ASCII(), copy_stream_body(), copy_stream_fallback_body(), cParser_initialize(), cState_array_nl_set(), cState_configure(), cState_indent_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), curses_char(), date_s__strptime_internal(), date_strftime_internal(), date_zone_to_diff(), deflate_run(), do_checksum(), do_deflate(), do_inflate(), econv_insert_output(), econv_primitive_convert(), econv_set_replacement(), env_aset(), env_assoc(), env_delete(), env_fetch(), env_has_key(), env_has_value(), env_key(), env_rassoc(), error_print(), eval_string_with_cref(), exc_inspect(), f_format(), fdbm_delete(), fdbm_delete_if(), fdbm_fetch(), fdbm_has_key(), fdbm_has_value(), fdbm_key(), features_index_add(), fgdbm_has_value(), fgdbm_key(), fix_string_encoding(), flo_to_s(), fsdbm_key(), gzfile_calc_crc(), gzfile_error_inspect(), gzfile_read_header(), gzfile_read_more(), gzfile_read_raw_ensure(), gzfile_read_raw_until_zero(), gzfile_reader_rewind(), gzfile_readpartial(), gzreader_gets(), hexencode_str_new(), ignore_closed_stream(), inflate_run(), inspect_errno(), inspect_i(), inspect_int(), inspect_timeval_as_interval(), io_encoding_set(), io_fwrite(), io_getc(), io_reader(), io_set_read_length(), io_setstrbuf(), io_ungetbyte(), io_write(), ip_cancel_eval_core(), ip_eval(), ip_set_exc_message(), is_popen_fork(), isArrayOrObject(), iso8601_bas_datetime_cb(), iso8601_ext_datetime_cb(), lex_get_str(), lib_fromUTF8_core(), lib_toUTF8_core(), lib_UTF_backslash_core(), load_file_internal(), loaded_feature_path(), match_aref(), month_arg(), moreswitches(), must_not_be_anonymous(), name_err_mesg_to_str(), ole_val2olevariantdata(), ole_vstr2wc(), ossl_asn1_decode(), ossl_asn1_decode_all(), ossl_asn1_traverse(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_cipher_final(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_set_iv(), ossl_cipher_set_key(), ossl_cipher_update(), ossl_digest_update(), ossl_hmac_s_digest(), ossl_hmac_s_hexdigest(), ossl_hmac_update(), ossl_make_error(), ossl_pkey_sign(), ossl_pkey_verify(), ossl_spki_initialize(), ossl_x509attr_initialize(), ossl_x509ext_initialize(), ossl_x509ext_set_value(), ossl_x509name_initialize(), pack_pack(), pack_unpack(), parse(), parse_ddd_cb(), parse_time2_cb(), parser_here_document(), parser_heredoc_restore(), parser_nextc(), path_check_0(), path_cmp(), path_initialize(), path_sub_ext(), prepare_getline_args(), pruby_str_to_var(), qpencode(), r_byte(), r_byte1_buffered(), r_bytes0(), r_bytes1(), r_bytes1_buffered(), r_object0(), range_include(), rb_ary_join(), rb_check_id(), rb_digest_base_update(), rb_digest_instance_digest_length(), rb_digest_instance_equal(), rb_dlptr_s_to_ptr(), rb_econv_open_opts(), rb_econv_str_append(), rb_econv_str_convert(), rb_econv_substr_append(), rb_enc_compatible(), rb_enc_cr_str_buf_cat(), rb_enc_cr_str_copy_for_substr(), rb_enc_str_coderange(), rb_exec_fillarg(), rb_execarg_fixup(), rb_f_getenv(), rb_feature_p(), rb_fiddle_ptr_s_to_ptr(), rb_file_dirname(), rb_file_expand_path_internal(), rb_file_identical_p(), rb_file_join(), rb_file_s_basename(), rb_file_s_extname(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_gdbm_delete(), rb_gdbm_fetch2(), rb_gdbm_nextkey(), rb_gzfile_set_comment(), rb_gzfile_set_orig_name(), rb_gzreader_ungetc(), rb_gzwriter_write(), rb_inflate_sync(), rb_io_getline_1(), rb_io_puts(), rb_io_syswrite(), rb_io_ungetc(), rb_io_write_nonblock(), rb_ioctl(), rb_iseq_disasm(), rb_iseq_disasm_insn(), rb_load_file(), rb_mod_const_get(), rb_push_glob(), rb_reg_adjust_startpos(), rb_reg_check_preprocess(), rb_reg_error_desc(), rb_reg_initialize(), rb_reg_initialize_m(), rb_reg_initialize_str(), rb_reg_match_post(), rb_reg_prepare_re(), rb_reg_preprocess_dregexp(), rb_reg_quote(), rb_reg_regcomp(), rb_reg_regsub(), rb_reg_search(), rb_str_append(), rb_str_aref(), rb_str_associate(), rb_str_buf_append(), rb_str_bytesize(), rb_str_capitalize_bang(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_chop_bang(), rb_str_comparable(), rb_str_concat(), rb_str_count(), rb_str_crypt(), rb_str_delete_bang(), rb_str_drop_bytes(), rb_str_dump(), rb_str_each_byte_size(), rb_str_each_char_size(), rb_str_ellipsize(), rb_str_empty(), rb_str_encode_ospath(), rb_str_end_with(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_lines(), rb_str_format(), rb_str_getbyte(), rb_str_hash(), rb_str_hash_cmp(), rb_str_index(), rb_str_justify(), rb_str_lstrip_bang(), rb_str_modify_expand(), rb_str_new_frozen(), rb_str_partition(), rb_str_plus(), rb_str_quote_unprintable(), rb_str_resize(), rb_str_resurrect(), rb_str_reverse(), rb_str_reverse_bang(), rb_str_rindex(), rb_str_rpartition(), rb_str_rstrip_bang(), rb_str_scan(), rb_str_setbyte(), rb_str_shared_replace(), rb_str_splice_0(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_start_with(), rb_str_sub_bang(), rb_str_subpos(), rb_str_subseq(), rb_str_succ(), rb_str_sum(), rb_str_symname_p(), rb_str_symname_type(), rb_str_times(), rb_str_to_dbl(), rb_str_to_inum(), rb_str_upto(), rb_string_value_cstr(), rb_w32_conv_from_wstr(), rb_w32_write_console(), rb_write_error_str(), rb_zstream_avail_in(), readline_attempted_completion_function(), realpath_rec(), recvfrom_blocking(), rfc2822_cb(), rscheck(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), rsock_send_blocking(), rsock_sendto_blocking(), RUBY_ALIAS_FUNCTION(), s3e(), scalar(), scan_once(), sec_fraction(), set_arg0(), set_state_ivars(), setup_narg(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sock_s_unpack_sockaddr_in(), sockopt_bool(), sockopt_int(), sockopt_linger(), str_buf_cat(), str_byte_aref(), str_byte_substr(), str_end_with_asciichar(), str_eql(), str_gsub(), str_make_independent_expand(), str_mod_check(), str_replace(), str_replace_shared_without_enc(), str_shrink(), str_strlen(), str_transcode0(), string_to_c(), string_to_c_strict(), string_to_r(), string_to_r_strict(), strio_each_byte(), strio_each_codepoint(), strio_eof(), strio_extend(), strio_getbyte(), strio_getc(), strio_getline(), strio_read(), strio_seek(), strio_size(), strio_substr(), strio_truncate(), strio_ungetbyte(), strio_ungetc(), strio_write(), sym_inspect(), tcl2rb_num_or_nil(), time_mload(), time_strftime(), tkstr_to_str(), tr_setup_table(), tr_trans(), transcode_loop(), trap_handler(), utc_offset_arg(), w_nbyte(), w_object(), w_symbol(), zstream_append_buffer(), zstream_buffer_ungetbyte(), zstream_buffer_ungets(), zstream_discard_input(), zstream_expand_buffer(), zstream_expand_buffer_without_gvl(), zstream_run(), zstream_shift_buffer(), and zstream_sync().
| #define RSTRING_PTR | ( | string | ) | RSTRING(string)->ptr |
Definition at line 22 of file fbuffer.h.
Referenced by addrinfo_initialize(), addrinfo_mload(), append_fspath(), appendline(), apply2files(), argf_inplace_mode_set(), argf_next_argv(), argument_error(), BigDecimal_dump(), BigDecimal_inspect(), BigDecimal_load(), BigDecimal_new(), BigDecimal_split(), BigDecimal_to_f(), BigDecimal_to_s(), bsock_setsockopt(), bubblebabble_str_new(), call_original_exit(), cbsubst_get_subst_key(), cbsubst_scan_args(), cbsubst_table_setup(), check_autoload_required(), check_class(), check_pipe_command(), chopped_length(), code_page(), constant_arg(), control_frame_dump(), convert_encoding(), convert_mb_to_wchar(), convert_UTF8_to_JSON(), convert_UTF8_to_JSON_ASCII(), copy_stream_body(), copy_stream_fallback_body(), cParser_initialize(), create_dummy_encoding_for_tk_core(), cState_array_nl_set(), cState_configure(), cState_indent_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), curses_char(), d_lite_inspect(), d_lite_jisx0301(), date_s__strptime_internal(), date_strftime_internal(), date_zone_to_diff(), day_num(), deflate_run(), dir_chdir(), dir_initialize(), dir_s_mkdir(), dir_s_rmdir(), do_checksum(), do_deflate(), do_inflate(), do_opendir(), dt_lite_jisx0301(), econv_insert_output(), econv_primitive_convert(), econv_putback(), econv_set_replacement(), env_aset(), env_assoc(), env_delete(), env_fetch(), env_has_key(), env_has_value(), env_key(), env_rassoc(), env_shift(), error_print(), etc_getgrnam(), etc_getpwnam(), expand_include_path(), f_format(), fdbm_delete(), fdbm_delete_if(), fdbm_fetch(), fdbm_has_key(), fdbm_has_value(), fdbm_initialize(), fdbm_key(), fdbm_store(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_initialize(), fgdbm_key(), fgdbm_store(), file_s_fnmatch(), fix_string_encoding(), flo_to_s(), fnmatch_brace(), fsdbm_delete(), fsdbm_delete_if(), fsdbm_fetch(), fsdbm_has_key(), fsdbm_has_value(), fsdbm_initialize(), fsdbm_key(), fsdbm_store(), GetVpValueWithPrec(), gzfile_calc_crc(), gzfile_check_footer(), gzfile_getc(), gzfile_read_header(), gzfile_read_more(), gzfile_read_raw_until_zero(), gzfile_readpartial(), gzreader_charboundary(), gzreader_gets(), gzreader_skip_linebreaks(), hexencode_str_new(), hist_push(), hist_push_method(), host_str(), ignore_closed_stream(), inflate_run(), Init_tcltklib(), inspect_errno(), inspect_i(), inspect_int(), inspect_obj(), inspect_struct(), inspect_timeval_as_interval(), io_encoding_set(), io_fread(), io_fwrite(), io_getc(), io_getpartial(), io_ungetbyte(), ip_cancel_eval_core(), ip_eval(), ip_get_variable2_core(), ip_make_menu_embeddable_core(), ip_set_exc_message(), ip_set_variable2_core(), ip_unset_variable2_core(), is_popen_fork(), is_private_local_id(), isArrayOrObject(), iseq_build_from_ary_body(), iseq_free(), iseq_inspect(), iseq_mark(), iseq_set_sequence(), iseq_set_sequence_stackcaching(), iso8601_bas_datetime_cb(), iso8601_ext_datetime_cb(), iso8601_timediv(), jisx0301_cb(), lex_get_str(), lib_conv_listelement(), lib_fromUTF8_core(), lib_merge_tklist(), lib_set_system_encoding(), lib_split_tklist_core(), lib_toUTF8_core(), lib_UTF_backslash_core(), load_encoding(), load_ext(), load_file_internal(), load_transcoder_entry(), location_format(), magic_comment_marker(), make_errno_exc_str(), make_inspectname(), make_name_for_block(), mk_inspect(), mon_num(), month_arg(), moreswitches(), mSyslog_open(), must_not_be_anonymous(), name_err_mesg_to_str(), obj_to_asn1bstr(), obj_to_asn1derstr(), obj_to_asn1obj(), obj_to_asn1str(), oldbt_bugreport(), oldbt_print(), ole_val2olevariantdata(), ole_vstr2wc(), opt_enc_index(), ossl_asn1_decode(), ossl_asn1_decode_all(), ossl_asn1_traverse(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_asn1obj_s_register(), ossl_bn_initialize(), ossl_bn_to_s(), ossl_buf2str(), ossl_cipher_final(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_set_iv(), ossl_cipher_set_key(), ossl_cipher_update(), ossl_dh_compute_key(), ossl_dh_to_der(), ossl_digest_finish(), ossl_digest_update(), ossl_dsa_export(), ossl_dsa_sign(), ossl_dsa_to_der(), ossl_dsa_verify(), ossl_hmac_initialize(), ossl_hmac_s_digest(), ossl_hmac_s_hexdigest(), ossl_hmac_update(), ossl_obj2bio(), ossl_pem_passwd_cb(), ossl_pkcs12_to_der(), ossl_pkcs7_to_der(), ossl_pkey_new_from_file(), ossl_pkey_sign(), ossl_pkey_verify(), ossl_rand_add(), ossl_rand_bytes(), ossl_rand_egd(), ossl_rand_egd_bytes(), ossl_rand_load_file(), ossl_rand_pseudo_bytes(), ossl_rand_seed(), ossl_rand_write_file(), ossl_rsa_export(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_rsa_to_der(), ossl_spki_initialize(), ossl_spki_set_challenge(), ossl_spki_to_der(), ossl_ssl_read_internal(), ossl_ssl_session_to_der(), ossl_ssl_write_internal(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_x509_new_from_file(), ossl_x509_to_der(), ossl_x509attr_get_value(), ossl_x509attr_initialize(), ossl_x509attr_to_der(), ossl_x509ext_initialize(), ossl_x509ext_set_value(), ossl_x509ext_to_der(), ossl_x509extfactory_create_ext(), ossl_x509name_add_entry(), ossl_x509name_initialize(), ossl_x509name_to_der(), ossl_x509req_to_der(), ossl_x509store_add_file(), ossl_x509store_add_path(), pack_pack(), pack_unpack(), parse(), parse_ddd_cb(), parse_eu_cb(), parse_jis_cb(), parse_time2_cb(), parse_us_cb(), parser_here_document(), parser_heredoc_restore(), parser_magic_comment(), parser_nextc(), path_check_0(), path_cmp(), path_initialize(), path_sub_ext(), pipe_open(), port_str(), proc_exec_cmd(), proc_exec_sh(), proc_to_s(), process_options(), pruby_eval(), pruby_str_to_var(), push_glob(), qpencode(), r_byte(), r_byte1_buffered(), r_bytes0(), r_bytes1_buffered(), r_object0(), range_include(), rb_alloc_tmp_buffer(), rb_ary_permutation(), rb_ary_product(), rb_ary_repeated_combination(), rb_ary_repeated_permutation(), rb_big2str0(), rb_check_argv(), rb_check_id(), rb_class2name(), rb_const_set(), rb_construct_expanded_load_path(), rb_deflate_set_dictionary(), rb_digest_base_finish(), rb_digest_base_update(), rb_econv_open_opts(), rb_econv_substr_append(), rb_enc_cr_str_copy_for_substr(), rb_enc_str_coderange(), rb_enc_uint_chr(), rb_enc_vsprintf(), rb_exec(), rb_exec_async_signal_safe(), rb_exec_fillarg(), rb_execarg_fixup(), rb_execarg_run_options(), rb_f_getenv(), rb_f_kill(), rb_f_load(), rb_feature_p(), rb_feature_provided(), rb_file_chmod(), rb_file_chown(), rb_file_expand_path_internal(), rb_file_identical_p(), rb_file_join(), rb_file_lstat(), rb_file_s_basename(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_gdbm_delete(), rb_gdbm_fetch2(), rb_gdbm_nextkey(), rb_gzfile_set_comment(), rb_gzfile_set_orig_name(), rb_gzreader_getbyte(), rb_gzreader_ungetc(), rb_gzwriter_write(), rb_hash_fetch_m(), rb_home_dir(), rb_id2name(), rb_inflate_set_dictionary(), rb_inflate_sync(), rb_io_getline_1(), rb_io_getline_fast(), rb_io_reopen(), rb_io_sysread(), rb_io_syswrite(), rb_io_ungetc(), rb_io_write_nonblock(), rb_ioctl(), rb_iseq_disasm(), rb_iseq_disasm_insn(), rb_load_file(), rb_load_internal(), rb_method_entry_make(), rb_mod_autoload(), rb_mod_const_get(), rb_mod_remove_method(), rb_nkf_convert(), rb_nkf_guess(), rb_nkf_putchar(), rb_obj_respond_to(), rb_path_to_class(), rb_proc_exec_n(), rb_push_glob(), rb_random_bytes(), rb_reg_adjust_startpos(), rb_reg_check_preprocess(), rb_reg_error_desc(), rb_reg_initialize(), rb_reg_initialize_str(), rb_reg_prepare_re(), rb_reg_preprocess_dregexp(), rb_reg_quote(), rb_reg_raise(), rb_reg_regcomp(), rb_reg_regsub(), rb_reg_search(), rb_require_safe(), rb_sourcefile(), rb_spawn_process(), rb_str_append(), rb_str_buf_append(), rb_str_capitalize_bang(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_chop_bang(), rb_str_clear(), rb_str_concat(), rb_str_count(), rb_str_crypt(), rb_str_delete_bang(), rb_str_downcase_bang(), rb_str_drop_bytes(), rb_str_dump(), rb_str_each_char_size(), rb_str_ellipsize(), rb_str_end_with(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_format(), rb_str_getbyte(), rb_str_hash(), rb_str_hash_cmp(), rb_str_index(), rb_str_index_m(), rb_str_inspect(), rb_str_justify(), rb_str_lstrip_bang(), rb_str_new_frozen(), rb_str_offset(), rb_str_ord(), rb_str_plus(), rb_str_quote_unprintable(), rb_str_reverse(), rb_str_reverse_bang(), rb_str_rindex(), rb_str_rindex_m(), rb_str_rstrip_bang(), rb_str_scan(), rb_str_set_len(), rb_str_setbyte(), rb_str_shared_replace(), rb_str_splice(), rb_str_splice_0(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_start_with(), rb_str_sub_bang(), rb_str_sublen(), rb_str_subpos(), rb_str_subseq(), rb_str_succ(), rb_str_sum(), rb_str_swapcase_bang(), rb_str_symname_p(), rb_str_times(), rb_str_to_dbl(), rb_str_to_inum(), rb_str_upcase_bang(), rb_str_upto(), rb_str_vcatf(), rb_strftime_with_timespec(), rb_string_value_cstr(), rb_string_value_ptr(), rb_thread_current_status(), rb_throw_obj(), rb_tmp_class_path(), rb_to_id(), rb_vm_bugreport(), rb_w32_conv_from_wstr(), rb_w32_write_console(), rb_write_error_str(), read_all(), readline_attempted_completion_function(), readline_readline(), realpath_rec(), recvfrom_blocking(), reg_compile_gen(), reg_fragment_check_gen(), rscheck(), rsock_bsock_send(), rsock_s_recvfrom_nonblock(), rsock_send_blocking(), rsock_sendto_blocking(), rsock_sockaddr_string_value_ptr(), ruby__sfvwrite(), RUBY_ALIAS_FUNCTION(), ruby_init_loadpath_safe(), ruby_open_tk_dll(), ruby_setenv(), ruby_tcl_create_ip_and_stubs_init(), ruby_tcltk_stubs(), run_exec_dup2(), run_exec_open(), s3e(), scan_once(), search_required(), set_arg0(), set_file_encoding(), set_option_encoding_once(), setup_narg(), sock_bind(), sock_connect(), sock_connect_nonblock(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sockopt_bool(), sockopt_int(), sockopt_linger(), str_buf_cat(), str_byte_substr(), str_discard(), str_encode_associate(), str_end_with_asciichar(), str_eql(), str_gsub(), str_make_independent_expand(), str_mod_check(), str_new(), str_replace(), str_replace_shared_without_enc(), str_strlen(), str_to_encindex(), str_transcode0(), str_transcoding_resize(), string_to_c(), string_to_c_strict(), string_to_r(), string_to_r_strict(), strio_each_byte(), strio_each_codepoint(), strio_extend(), strio_getbyte(), strio_getc(), strio_getline(), strio_read(), strio_substr(), strio_truncate(), strio_ungetbyte(), strio_ungetc(), strio_write(), sym_inspect(), syslog_write(), sysopen_func(), tcl2rb_bool(), tcl2rb_num_or_str(), tcl2rb_string(), tcl_protect_core(), thread_initialize(), time_mload(), time_strftime(), tk_uninstall_cmd(), tkstr_invalid_numstr(), tkstr_to_float(), tkstr_to_int(), tkstr_to_number(), tkstr_to_str(), tmx_m_zone(), tr_setup_table(), tr_trans(), transcode_loop(), trap_handler(), update_char_offset(), utc_offset_arg(), VpAlloc(), w_object(), w_symbol(), when_vals(), yycompile(), zstream_append_buffer(), zstream_buffer_ungetbyte(), zstream_buffer_ungets(), zstream_discard_input(), zstream_expand_buffer(), zstream_expand_buffer_into(), zstream_expand_buffer_without_gvl(), zstream_run(), zstream_shift_buffer(), and zstream_sync().
| typedef struct FBufferStruct FBuffer |
| static FBuffer * fbuffer_alloc | ( | unsigned long | initial_length | ) | [static] |
Definition at line 76 of file fbuffer.h.
References ALLOC, and FBUFFER_INITIAL_LENGTH_DEFAULT.
Referenced by cState_prepare_buffer(), and JSON_allocate().
| static void fbuffer_append | ( | FBuffer * | fb, | |
| const char * | newstr, | |||
| unsigned long | len | |||
| ) | [static] |
Definition at line 114 of file fbuffer.h.
References fbuffer_inc_capa(), FBufferStruct::len, MEMCPY, and FBufferStruct::ptr.
Referenced by convert_UTF8_to_JSON(), convert_UTF8_to_JSON_ASCII(), cState_prepare_buffer(), generate_json_array(), generate_json_false(), generate_json_null(), generate_json_object(), generate_json_true(), JSON_parse_float(), JSON_parse_integer(), and unicode_escape_to_buffer().
| static void fbuffer_append_char | ( | FBuffer * | fb, | |
| char | newchr | |||
| ) | [static] |
Definition at line 135 of file fbuffer.h.
References fbuffer_inc_capa(), FBufferStruct::len, and FBufferStruct::ptr.
Referenced by convert_UTF8_to_JSON_ASCII(), cState_prepare_buffer(), generate_json_array(), generate_json_object(), generate_json_string(), JSON_parse_float(), and JSON_parse_integer().
| static void fbuffer_clear | ( | FBuffer * | fb | ) | [static] |
Definition at line 92 of file fbuffer.h.
References FBufferStruct::len.
Referenced by cState_prepare_buffer(), JSON_parse_float(), and JSON_parse_integer().
| static void fbuffer_free | ( | FBuffer * | fb | ) | [static] |
Definition at line 86 of file fbuffer.h.
References FBufferStruct::ptr, and ruby_xfree().
Referenced by generate_json_array(), generate_json_float(), generate_json_object(), JSON_free(), and State_free().
| static void fbuffer_inc_capa | ( | FBuffer * | fb, | |
| unsigned long | requested | |||
| ) | [static] |
Definition at line 97 of file fbuffer.h.
References ALLOC_N, FBufferStruct::capa, FBufferStruct::initial_length, FBufferStruct::len, FBufferStruct::ptr, and REALLOC_N.
Referenced by fbuffer_append(), and fbuffer_append_char().
1.6.1