wallee-ruby-sdk 3.0.5 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +35 -0
- data/LICENSE +1 -1
- data/README.md +0 -2
- data/lib/wallee-ruby-sdk/api/analytics_query_service_api.rb +381 -0
- data/lib/wallee-ruby-sdk/api/charge_flow_service_api.rb +126 -0
- data/lib/wallee-ruby-sdk/api/invoice_reconciliation_record_invoice_link_service_api.rb +351 -0
- data/lib/wallee-ruby-sdk/api/invoice_reconciliation_record_service_api.rb +399 -0
- data/lib/wallee-ruby-sdk/api/invoice_reimbursement_service_api.rb +348 -0
- data/lib/wallee-ruby-sdk/api/payment_terminal_service_api.rb +253 -0
- data/lib/wallee-ruby-sdk/api/payment_terminal_till_service_api.rb +2 -2
- data/lib/wallee-ruby-sdk/api/payment_terminal_transaction_summary_service_api.rb +275 -0
- data/lib/wallee-ruby-sdk/api/payment_web_app_service_api.rb +587 -0
- data/lib/wallee-ruby-sdk/api/transaction_line_item_version_service_api.rb +275 -0
- data/lib/wallee-ruby-sdk/api/transaction_service_api.rb +2 -64
- data/lib/wallee-ruby-sdk/models/abstract_transaction_pending.rb +11 -11
- data/lib/wallee-ruby-sdk/models/analytics_query.rb +272 -0
- data/lib/wallee-ruby-sdk/models/analytics_query_execution.rb +293 -0
- data/lib/wallee-ruby-sdk/models/analytics_query_execution_state.rb +37 -0
- data/lib/wallee-ruby-sdk/models/analytics_query_result_batch.rb +225 -0
- data/lib/wallee-ruby-sdk/models/analytics_schema_column.rb +263 -0
- data/lib/wallee-ruby-sdk/models/analytics_schema_table.rb +215 -0
- data/lib/wallee-ruby-sdk/models/charge_attempt.rb +11 -1
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record.rb +571 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_invoice_link.rb +241 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_rejection_status.rb +36 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record_type.rb +215 -0
- data/lib/wallee-ruby-sdk/models/invoice_reimbursement.rb +391 -0
- data/lib/wallee-ruby-sdk/models/invoice_reimbursement_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/invoice_reimbursement_with_refund_reference.rb +401 -0
- data/lib/wallee-ruby-sdk/models/line_item_type.rb +1 -0
- data/lib/wallee-ruby-sdk/models/payment_app_charge_attempt_target_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/payment_app_charge_attempt_update_request.rb +261 -0
- data/lib/wallee-ruby-sdk/models/payment_app_completion_configuration.rb +231 -0
- data/lib/wallee-ruby-sdk/models/payment_app_completion_configuration_create.rb +231 -0
- data/lib/wallee-ruby-sdk/models/payment_app_completion_target_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/payment_app_completion_update_request.rb +236 -0
- data/lib/wallee-ruby-sdk/models/payment_app_connector.rb +351 -0
- data/lib/wallee-ruby-sdk/models/payment_app_connector_creation_request.rb +366 -0
- data/lib/wallee-ruby-sdk/models/payment_app_connector_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/payment_app_processor.rb +386 -0
- data/lib/wallee-ruby-sdk/models/payment_app_processor_creation_request.rb +317 -0
- data/lib/wallee-ruby-sdk/models/payment_app_processor_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/payment_app_refund_configuration.rb +211 -0
- data/lib/wallee-ruby-sdk/models/payment_app_refund_configuration_create.rb +211 -0
- data/lib/wallee-ruby-sdk/models/payment_app_refund_target_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/payment_app_refund_update_request.rb +236 -0
- data/lib/wallee-ruby-sdk/models/payment_app_void_target_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/payment_app_void_update_request.rb +236 -0
- data/lib/wallee-ruby-sdk/models/payment_initiation_advice_file.rb +251 -0
- data/lib/wallee-ruby-sdk/models/payment_initiation_advice_file_state.rb +35 -0
- data/lib/wallee-ruby-sdk/models/payment_processor_configuration.rb +11 -1
- data/lib/wallee-ruby-sdk/models/payment_terminal.rb +11 -1
- data/lib/wallee-ruby-sdk/models/payment_terminal_dcc_transaction_sum.rb +261 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_location.rb +8 -8
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_version.rb +11 -1
- data/lib/wallee-ruby-sdk/models/payment_terminal_state.rb +1 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_transaction_sum.rb +291 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_transaction_summary.rb +285 -0
- data/lib/wallee-ruby-sdk/models/payment_terminal_transaction_summary_fetch_request.rb +221 -0
- data/lib/wallee-ruby-sdk/models/{transaction_line_item_update_request.rb → rendered_terminal_transaction_summary.rb} +17 -22
- data/lib/wallee-ruby-sdk/models/shopify_subscriber.rb +30 -0
- data/lib/wallee-ruby-sdk/models/shopify_subscriber_active.rb +30 -0
- data/lib/wallee-ruby-sdk/models/space_address.rb +51 -1
- data/lib/wallee-ruby-sdk/models/space_address_create.rb +51 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_component.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_component_update.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement_create.rb +1 -1
- data/lib/wallee-ruby-sdk/models/transaction.rb +26 -16
- data/lib/wallee-ruby-sdk/models/transaction_create.rb +12 -12
- data/lib/wallee-ruby-sdk/models/transaction_line_item_version.rb +93 -1
- data/lib/wallee-ruby-sdk/models/transaction_line_item_version_create.rb +228 -0
- data/lib/wallee-ruby-sdk/models/transaction_line_item_version_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/transaction_pending.rb +11 -11
- data/lib/wallee-ruby-sdk/version.rb +1 -1
- data/lib/wallee-ruby-sdk.rb +48 -1
- data/vendor/bundle/ruby/2.4.0/bin/rake +22 -0
- data/vendor/bundle/ruby/2.4.0/cache/addressable-2.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/ethon-0.15.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/ffi-1.15.5.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/json-2.6.2.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/power_assert-2.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/public_suffix-4.0.7.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rake-12.3.3.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/test-unit-3.2.9.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/typhoeus-1.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/gem_make.out +370 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/mkmf.log +405 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/gem_make.out +13 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/mkmf.log +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/CHANGELOG.md +246 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/Gemfile +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/README.md +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/Rakefile +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/addressable.gemspec +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/lib/addressable/idna/native.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/lib/addressable/idna/pure.rb +678 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/lib/addressable/idna.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/lib/addressable/template.rb +1031 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/lib/addressable/uri.rb +2556 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/lib/addressable/version.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/lib/addressable.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/spec/addressable/idna_spec.rb +302 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/spec/addressable/net_http_compat_spec.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/spec/addressable/security_spec.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/spec/addressable/template_spec.rb +1460 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/spec/addressable/uri_spec.rb +6665 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/spec/spec_helper.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/clobber.rake +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/gem.rake +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/git.rake +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/metrics.rake +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/profile.rake +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/yard.rake +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/.gitignore +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/.rspec +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/CHANGELOG.md +372 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/Gemfile +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/Guardfile +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/README.md +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/Rakefile +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/ethon.gemspec +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curl.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/codes.rb +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/constants.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/functions.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/infos.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/messages.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +502 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/settings.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/debug_info.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/features.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/form.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/header.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/actionable.rb +157 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/custom.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/get.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/head.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/options.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/patch.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/post.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/postable.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/put.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/putable.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/mirror.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/operations.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/options.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/queryable.rb +154 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/util.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy.rb +315 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/ethon_error.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/global_init.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_option.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_value.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_add.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_fdset.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_remove.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_timeout.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/select.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/libc.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/loggable.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi/operations.rb +228 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi/options.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi/stack.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/version.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/benchmarks.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/memory_leaks.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/perf_spec_helper.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/support/memory_test_helpers.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/support/os_memory_leak_tracker.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/support/ruby_object_leak_tracker.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/curl_spec.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/debug_info_spec.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/features_spec.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/form_spec.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/header_spec.rb +79 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/custom_spec.rb +177 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/delete_spec.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/get_spec.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/head_spec.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/options_spec.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/patch_spec.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/post_spec.rb +317 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/put_spec.rb +168 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http_spec.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +120 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +268 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/options_spec.rb +193 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/queryable_spec.rb +235 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/response_callbacks_spec.rb +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/util_spec.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy_spec.rb +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/libc_spec.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi/operations_spec.rb +298 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +182 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi/stack_spec.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/spec_helper.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/support/localhost_server.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/support/server.rb +115 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/CHANGELOG.md +338 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/COPYING +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/Gemfile +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/LICENSE +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/README.md +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/Rakefile +191 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.c +1104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.h +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.c +162 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.c +360 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Call.c +487 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Call.h +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.c +333 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.c +334 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.h +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Function.c +917 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Function.h +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.c +266 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LastError.c +225 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LastError.h +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.c +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.h +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +263 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.c +168 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.c +192 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.h +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.c +348 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.h +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Platform.c +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Platform.h +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.c +507 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Struct.c +822 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Struct.h +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.c +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.h +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.c +700 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Thread.c +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Thread.h +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Type.c +379 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Type.h +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Types.c +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Types.h +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.c +303 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/compat.h +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/extconf.h +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/extconf.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ffi.c +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.appveyor.yml +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.gitattributes +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.github/issue_template.md +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.gitignore +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/ar-lib +270 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/bfin-sim.exp +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-cross-in-container.sh +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-in-container.sh +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build.sh +142 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/compile +351 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/install.sh +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/m32r-sim.exp +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/moxie-sim.exp +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/or1k-sim.exp +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/powerpc-eabisim.exp +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/site.exp +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/wine-sim.exp +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis.yml +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ChangeLog.old +7407 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/LICENSE +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +353 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.am +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.in +2060 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/README.md +486 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/acinclude.m4 +479 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/autogen.sh +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.guess +1687 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.sub +1851 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure +22050 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.ac +415 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.host +318 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/Makefile.am +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/Makefile.in +815 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/libffi.texi +997 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/version.texi +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/fficonfig.h.in +223 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +201 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.in +608 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi.h.in +523 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_common.h +153 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/install-sh +518 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.map.in +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.pc.in +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +997 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libtool-ldflags +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libtool-version +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ltmain.sh +11251 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_append_flag.m4 +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_configure_args.m4 +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +267 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/make_sunver.pl +333 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.in +562 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi.3 +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/missing +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h +219 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvcc.sh +353 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/ffi.c +1025 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/ffitarget.h +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/internal.h +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/sysv.S +451 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +506 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffi.c +876 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffitarget.h +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/internal.h +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/sysv.S +385 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +311 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/closures.c +1021 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/ffi.c +395 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/ffitarget.h +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/sysv.S +371 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/debug.c +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/dlmalloc.c +5166 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ffi.c +604 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/unix.S +567 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/asm.h +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/ffi.c +273 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/ffitarget.h +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/sysv.S +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffi.c +1134 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffitarget.h +244 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/n32.S +663 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/o32.S +504 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/ffi.c +285 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffi.c +674 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffitarget.h +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/hpux32.S +370 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/linux.S +380 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi.c +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1452 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +1153 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffitarget.h +204 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64.S +291 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +564 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/sysv.S +173 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/prep_cif.c +263 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/raw_api.c +267 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/ffi.c +481 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/ffitarget.h +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/sysv.S +293 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/internal.h +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/tile.S +360 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/types.c +108 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi.c +770 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi64.c +895 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffitarget.h +160 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffiw64.c +318 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal.h +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv.S +1138 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv_intel.S +995 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/unix64.S +621 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/win64.S +241 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/win64_intel.S +238 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/sysv.S +258 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/stamp-h.in +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.am +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.in +648 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/libffi.exp +660 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1745 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +743 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +115 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +142 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar_va.c +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort_va.c +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +343 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +161 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.bsd.mk +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.darwin.mk +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.gnu.mk +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.mk +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.vc.mk +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.vc64.mk +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/rbffi.h +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/rbffi_endian.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ffi.gemspec +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/abstract_memory.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/autopointer.rb +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/data_converter.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/enum.rb +296 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/errno.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/ffi.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/library.rb +592 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/managedstruct.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/arm-linux/types.conf +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-windows/types.conf +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mips64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-linux/types.conf +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/riscv64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparc64-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-linux/types.conf +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-msys/types.conf +119 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-windows/types.conf +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform.rb +185 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/pointer.rb +167 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct.rb +316 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct_by_reference.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct_layout.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/const_generator.rb +232 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/generator.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/generator_task.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/struct_generator.rb +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/types_generator.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/types.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/union.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/variadic.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/rakelib/ffi_gem_helper.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/getlogin.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/getpid.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/gettimeofday.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/hello.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/inotify.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/pty.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/qsort.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/CHANGES.md +457 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/LICENSE +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/README.md +425 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/VERSION +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/Makefile +199 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/fbuffer/fbuffer.h +187 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +264 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.c +1608 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.h +174 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +264 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/extconf.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.c +3347 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.h +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.rl +986 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/extconf.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/json.gemspec +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/complex.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/rational.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/set.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/common.rb +703 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/pure/generator.rb +479 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/pure/parser.rb +337 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json.rb +583 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/.github/workflows/ci.yml +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/.gitignore +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/BSDL +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/COPYING +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/Gemfile +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/LEGAL +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/README.md +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/Rakefile +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/colorize.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/configuration.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/context.rb +233 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/enable_tracepoint_events.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/inspector.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/parser.rb +251 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/power_assert.gemspec +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/FUNDING.yml +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/dependabot.yml +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/workflows/release.yml +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/workflows/tests.yml +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.gitignore +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.rubocop.yml +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.rubocop_opinionated.yml +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.yardopts +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/2.0-Upgrade.md +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/CHANGELOG.md +417 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/Gemfile +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/README.md +217 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/Rakefile +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/SECURITY.md +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/bin/console +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/data/list.txt +14035 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/domain.rb +235 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/errors.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/list.rb +247 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/rule.rb +350 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/version.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix.rb +177 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/public_suffix.gemspec +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/.empty +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/acceptance_test.rb +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_find.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_find_all.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_names.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_select.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_select_incremental.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_valid.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/domain_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/find_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/find_profiler_jp.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/initialization_profiler.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/list_profsize.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/object_binsize.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/psl_test.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/test_helper.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/tests.txt +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/domain_test.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/errors_test.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/list_test.rb +241 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/public_suffix_test.rb +188 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/rule_test.rb +222 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/Gemfile +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/History.rdoc +2344 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/Rakefile +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/bundle +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/console +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/rake +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/rdoc +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/rubocop +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/setup +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/exe/rake +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/application.rb +824 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_utils.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/packagetask.rb +207 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task.rb +413 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task_manager.rb +324 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/rake.gemspec +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/COPYING +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/GPL +339 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/LGPL +502 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/PSFL +271 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/README.md +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/Rakefile +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/doc/text/getting-started.md +246 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/doc/text/how-to.md +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/doc/text/news.md +1374 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertions.rb +2249 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/attribute-matcher.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/attribute.rb +226 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/auto-runner-loader.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/autorunner.rb +533 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/code-snippet-fetcher.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/descendant.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/dir.rb +108 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/load.rb +199 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/objectspace.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/xml.rb +249 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/color-scheme.rb +198 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/color.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/data-sets.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/data.rb +371 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/diff.rb +746 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/error.rb +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/exception-handler.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/failure.rb +169 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/fault-location-detector.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/fixture.rb +298 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/notification.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/omission.rb +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/pending.rb +154 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/priority.rb +192 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/runner/console.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/runner/emacs.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/runner/xml.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/test-suite-creator.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/testcase.rb +862 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/testresult.rb +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/testsuite.rb +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/console/outputlevel.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/console/testrunner.rb +750 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/testrunner.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/testrunnermediator.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/xml/testrunner.rb +224 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/backtracefilter.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/observable.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/output.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/procwrapper.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit.rb +505 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test-unit.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/subtracter.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/test_adder.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/test_subtracter.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/test_user.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test-descendant.rb +182 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test-load.rb +442 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test_dir.rb +407 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test_objectspace.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header-label.csv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header-label.tsv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header.csv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header.tsv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/no-header.csv +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/no-header.tsv +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/plus.csv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/run-test.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-assertions.rb +2180 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-attribute-matcher.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-attribute.rb +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-code-snippet.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-color-scheme.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-color.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-data.rb +419 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-diff.rb +518 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-emacs-runner.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-error.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-failure.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-fault-location-detector.rb +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-fixture.rb +713 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-notification.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-omission.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-pending.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-priority.rb +173 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-case.rb +1279 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-result.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-suite-creator.rb +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-suite.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/testunit-test-util.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/ui/test_testrunmediator.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test-method-owner-finder.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test-output.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test_backtracefilter.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test_observable.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test_procwrapper.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/.gitignore +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/.rspec +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/.travis.yml +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/CHANGELOG.md +406 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/CONTRIBUTING.md +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/Gemfile +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/Guardfile +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/README.md +584 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/UPGRADE.md +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/rack/typhoeus.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/adapters/faraday.rb +180 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/dalli.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/rails.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/redis.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/config.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/easy_factory.rb +180 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/errors/no_stub.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/errors/typhoeus_error.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/errors.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/expectation.rb +217 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/addable.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/before.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/block_connection.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/cacheable.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/memoizable.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/queueable.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/runnable.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/stubbable.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/pool.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/railtie.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/actions.rb +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/before.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/block_connection.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/cacheable.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/callbacks.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/marshal.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/memoizable.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/operations.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/responseable.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/streamable.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/stubbable.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request.rb +221 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/header.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/informations.rb +248 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/status.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/perf/profile.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/perf/vs_nethttp.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/rack/typhoeus/middleware/params_decoder_spec.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/support/localhost_server.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/support/memory_cache.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/support/server.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/adapters/faraday_spec.rb +339 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/cache/dalli_spec.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/cache/redis_spec.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/config_spec.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/easy_factory_spec.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/expectation_spec.rb +280 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/addable_spec.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/before_spec.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/block_connection_spec.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/cacheable_spec.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/memoizable_spec.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/queueable_spec.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/runnable_spec.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/stubbable_spec.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra_spec.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/pool_spec.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/actions_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/before_spec.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/block_connection_spec.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/cacheable_spec.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/callbacks_spec.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/marshal_spec.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/memoizable_spec.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/operations_spec.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/responseable_spec.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/stubbable_spec.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request_spec.rb +232 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response/header_spec.rb +147 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response/informations_spec.rb +283 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response/status_spec.rb +256 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response_spec.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus_spec.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/typhoeus.gemspec +25 -0
- data/vendor/bundle/ruby/2.4.0/specifications/addressable-2.8.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.4.0/specifications/ethon-0.15.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.4.0/specifications/ffi-1.15.5.gemspec +47 -0
- data/vendor/bundle/ruby/2.4.0/specifications/json-2.6.2.gemspec +0 -0
- data/vendor/bundle/ruby/2.4.0/specifications/power_assert-2.0.1.gemspec +54 -0
- data/vendor/bundle/ruby/2.4.0/specifications/public_suffix-4.0.7.gemspec +24 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rake-12.3.3.gemspec +49 -0
- data/vendor/bundle/ruby/2.4.0/specifications/test-unit-3.2.9.gemspec +48 -0
- data/vendor/bundle/ruby/2.4.0/specifications/typhoeus-1.4.0.gemspec +32 -0
- metadata +1200 -16
@@ -0,0 +1,1104 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2008, 2009, Wayne Meissner
|
3
|
+
* Copyright (C) 2009 Jake Douglas <jake@shiftedlabs.com>
|
4
|
+
* Copyright (C) 2008 Luc Heinrich <luc@honk-honk.com>
|
5
|
+
*
|
6
|
+
* Copyright (c) 2008-2013, Ruby FFI project contributors
|
7
|
+
* All rights reserved.
|
8
|
+
*
|
9
|
+
* Redistribution and use in source and binary forms, with or without
|
10
|
+
* modification, are permitted provided that the following conditions are met:
|
11
|
+
* * Redistributions of source code must retain the above copyright
|
12
|
+
* notice, this list of conditions and the following disclaimer.
|
13
|
+
* * Redistributions in binary form must reproduce the above copyright
|
14
|
+
* notice, this list of conditions and the following disclaimer in the
|
15
|
+
* documentation and/or other materials provided with the distribution.
|
16
|
+
* * Neither the name of the Ruby FFI project nor the
|
17
|
+
* names of its contributors may be used to endorse or promote products
|
18
|
+
* derived from this software without specific prior written permission.
|
19
|
+
*
|
20
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
21
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
22
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
23
|
+
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
24
|
+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
25
|
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
26
|
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
27
|
+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
28
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
29
|
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30
|
+
*/
|
31
|
+
|
32
|
+
#include <sys/types.h>
|
33
|
+
#ifndef _MSC_VER
|
34
|
+
# include <sys/param.h>
|
35
|
+
#endif
|
36
|
+
#include <stdint.h>
|
37
|
+
#include <stdbool.h>
|
38
|
+
|
39
|
+
#include <limits.h>
|
40
|
+
#include <ruby.h>
|
41
|
+
|
42
|
+
#include "rbffi.h"
|
43
|
+
#include "compat.h"
|
44
|
+
#include "AbstractMemory.h"
|
45
|
+
#include "Pointer.h"
|
46
|
+
#include "Function.h"
|
47
|
+
#include "LongDouble.h"
|
48
|
+
|
49
|
+
#ifdef PRIsVALUE
|
50
|
+
# define RB_OBJ_CLASSNAME(obj) rb_obj_class(obj)
|
51
|
+
# define RB_OBJ_STRING(obj) (obj)
|
52
|
+
#else
|
53
|
+
# define PRIsVALUE "s"
|
54
|
+
# define RB_OBJ_CLASSNAME(obj) rb_obj_classname(obj)
|
55
|
+
# define RB_OBJ_STRING(obj) StringValueCStr(obj)
|
56
|
+
#endif
|
57
|
+
|
58
|
+
static inline char* memory_address(VALUE self);
|
59
|
+
VALUE rbffi_AbstractMemoryClass = Qnil;
|
60
|
+
static VALUE NullPointerErrorClass = Qnil;
|
61
|
+
static ID id_to_ptr = 0, id_plus = 0, id_call = 0;
|
62
|
+
|
63
|
+
static VALUE
|
64
|
+
memory_allocate(VALUE klass)
|
65
|
+
{
|
66
|
+
AbstractMemory* memory;
|
67
|
+
VALUE obj;
|
68
|
+
obj = Data_Make_Struct(klass, AbstractMemory, NULL, -1, memory);
|
69
|
+
memory->flags = MEM_RD | MEM_WR;
|
70
|
+
|
71
|
+
return obj;
|
72
|
+
}
|
73
|
+
#define VAL(x, swap) (unlikely(((memory->flags & MEM_SWAP) != 0)) ? swap((x)) : (x))
|
74
|
+
|
75
|
+
#define NUM_OP(name, type, toNative, fromNative, swap) \
|
76
|
+
static void memory_op_put_##name(AbstractMemory* memory, long off, VALUE value); \
|
77
|
+
static void \
|
78
|
+
memory_op_put_##name(AbstractMemory* memory, long off, VALUE value) \
|
79
|
+
{ \
|
80
|
+
type tmp = (type) VAL(toNative(value), swap); \
|
81
|
+
checkWrite(memory); \
|
82
|
+
checkBounds(memory, off, sizeof(type)); \
|
83
|
+
memcpy(memory->address + off, &tmp, sizeof(tmp)); \
|
84
|
+
} \
|
85
|
+
static VALUE memory_put_##name(VALUE self, VALUE offset, VALUE value); \
|
86
|
+
static VALUE \
|
87
|
+
memory_put_##name(VALUE self, VALUE offset, VALUE value) \
|
88
|
+
{ \
|
89
|
+
AbstractMemory* memory; \
|
90
|
+
Data_Get_Struct(self, AbstractMemory, memory); \
|
91
|
+
memory_op_put_##name(memory, NUM2LONG(offset), value); \
|
92
|
+
return self; \
|
93
|
+
} \
|
94
|
+
static VALUE memory_write_##name(VALUE self, VALUE value); \
|
95
|
+
static VALUE \
|
96
|
+
memory_write_##name(VALUE self, VALUE value) \
|
97
|
+
{ \
|
98
|
+
AbstractMemory* memory; \
|
99
|
+
Data_Get_Struct(self, AbstractMemory, memory); \
|
100
|
+
memory_op_put_##name(memory, 0, value); \
|
101
|
+
return self; \
|
102
|
+
} \
|
103
|
+
static VALUE memory_op_get_##name(AbstractMemory* memory, long off); \
|
104
|
+
static VALUE \
|
105
|
+
memory_op_get_##name(AbstractMemory* memory, long off) \
|
106
|
+
{ \
|
107
|
+
type tmp; \
|
108
|
+
checkRead(memory); \
|
109
|
+
checkBounds(memory, off, sizeof(type)); \
|
110
|
+
memcpy(&tmp, memory->address + off, sizeof(tmp)); \
|
111
|
+
return fromNative(VAL(tmp, swap)); \
|
112
|
+
} \
|
113
|
+
static VALUE memory_get_##name(VALUE self, VALUE offset); \
|
114
|
+
static VALUE \
|
115
|
+
memory_get_##name(VALUE self, VALUE offset) \
|
116
|
+
{ \
|
117
|
+
AbstractMemory* memory; \
|
118
|
+
Data_Get_Struct(self, AbstractMemory, memory); \
|
119
|
+
return memory_op_get_##name(memory, NUM2LONG(offset)); \
|
120
|
+
} \
|
121
|
+
static VALUE memory_read_##name(VALUE self); \
|
122
|
+
static VALUE \
|
123
|
+
memory_read_##name(VALUE self) \
|
124
|
+
{ \
|
125
|
+
AbstractMemory* memory; \
|
126
|
+
Data_Get_Struct(self, AbstractMemory, memory); \
|
127
|
+
return memory_op_get_##name(memory, 0); \
|
128
|
+
} \
|
129
|
+
static MemoryOp memory_op_##name = { memory_op_get_##name, memory_op_put_##name }; \
|
130
|
+
\
|
131
|
+
static VALUE memory_put_array_of_##name(VALUE self, VALUE offset, VALUE ary); \
|
132
|
+
static VALUE \
|
133
|
+
memory_put_array_of_##name(VALUE self, VALUE offset, VALUE ary) \
|
134
|
+
{ \
|
135
|
+
long count; \
|
136
|
+
long off = NUM2LONG(offset); \
|
137
|
+
AbstractMemory* memory = MEMORY(self); \
|
138
|
+
long i; \
|
139
|
+
Check_Type(ary, T_ARRAY); \
|
140
|
+
count = RARRAY_LEN(ary); \
|
141
|
+
if (likely(count > 0)) checkWrite(memory); \
|
142
|
+
checkBounds(memory, off, count * sizeof(type)); \
|
143
|
+
for (i = 0; i < count; i++) { \
|
144
|
+
type tmp = (type) VAL(toNative(RARRAY_PTR(ary)[i]), swap); \
|
145
|
+
memcpy(memory->address + off + (i * sizeof(type)), &tmp, sizeof(tmp)); \
|
146
|
+
} \
|
147
|
+
return self; \
|
148
|
+
} \
|
149
|
+
static VALUE memory_write_array_of_##name(VALUE self, VALUE ary); \
|
150
|
+
static VALUE \
|
151
|
+
memory_write_array_of_##name(VALUE self, VALUE ary) \
|
152
|
+
{ \
|
153
|
+
return memory_put_array_of_##name(self, INT2FIX(0), ary); \
|
154
|
+
} \
|
155
|
+
static VALUE memory_get_array_of_##name(VALUE self, VALUE offset, VALUE length); \
|
156
|
+
static VALUE \
|
157
|
+
memory_get_array_of_##name(VALUE self, VALUE offset, VALUE length) \
|
158
|
+
{ \
|
159
|
+
long count = NUM2LONG(length); \
|
160
|
+
long off = NUM2LONG(offset); \
|
161
|
+
AbstractMemory* memory = MEMORY(self); \
|
162
|
+
VALUE retVal = rb_ary_new2(count); \
|
163
|
+
long i; \
|
164
|
+
if (likely(count > 0)) checkRead(memory); \
|
165
|
+
checkBounds(memory, off, count * sizeof(type)); \
|
166
|
+
for (i = 0; i < count; ++i) { \
|
167
|
+
type tmp; \
|
168
|
+
memcpy(&tmp, memory->address + off + (i * sizeof(type)), sizeof(tmp)); \
|
169
|
+
rb_ary_push(retVal, fromNative(VAL(tmp, swap))); \
|
170
|
+
} \
|
171
|
+
return retVal; \
|
172
|
+
} \
|
173
|
+
static VALUE memory_read_array_of_##name(VALUE self, VALUE length); \
|
174
|
+
static VALUE \
|
175
|
+
memory_read_array_of_##name(VALUE self, VALUE length) \
|
176
|
+
{ \
|
177
|
+
return memory_get_array_of_##name(self, INT2FIX(0), length); \
|
178
|
+
}
|
179
|
+
|
180
|
+
#define NOSWAP(x) (x)
|
181
|
+
#define bswap16(x) (((x) >> 8) & 0xff) | (((x) << 8) & 0xff00);
|
182
|
+
static inline int16_t
|
183
|
+
SWAPS16(int16_t x)
|
184
|
+
{
|
185
|
+
return bswap16(x);
|
186
|
+
}
|
187
|
+
|
188
|
+
static inline uint16_t
|
189
|
+
SWAPU16(uint16_t x)
|
190
|
+
{
|
191
|
+
return bswap16(x);
|
192
|
+
}
|
193
|
+
|
194
|
+
#if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 3)
|
195
|
+
#define bswap32(x) \
|
196
|
+
(((x << 24) & 0xff000000) | \
|
197
|
+
((x << 8) & 0x00ff0000) | \
|
198
|
+
((x >> 8) & 0x0000ff00) | \
|
199
|
+
((x >> 24) & 0x000000ff))
|
200
|
+
|
201
|
+
#define bswap64(x) \
|
202
|
+
(((x << 56) & 0xff00000000000000ULL) | \
|
203
|
+
((x << 40) & 0x00ff000000000000ULL) | \
|
204
|
+
((x << 24) & 0x0000ff0000000000ULL) | \
|
205
|
+
((x << 8) & 0x000000ff00000000ULL) | \
|
206
|
+
((x >> 8) & 0x00000000ff000000ULL) | \
|
207
|
+
((x >> 24) & 0x0000000000ff0000ULL) | \
|
208
|
+
((x >> 40) & 0x000000000000ff00ULL) | \
|
209
|
+
((x >> 56) & 0x00000000000000ffULL))
|
210
|
+
|
211
|
+
static inline int32_t
|
212
|
+
SWAPS32(int32_t x)
|
213
|
+
{
|
214
|
+
return bswap32(x);
|
215
|
+
}
|
216
|
+
|
217
|
+
static inline uint32_t
|
218
|
+
SWAPU32(uint32_t x)
|
219
|
+
{
|
220
|
+
return bswap32(x);
|
221
|
+
}
|
222
|
+
|
223
|
+
static inline int64_t
|
224
|
+
SWAPS64(int64_t x)
|
225
|
+
{
|
226
|
+
return bswap64(x);
|
227
|
+
}
|
228
|
+
|
229
|
+
static inline uint64_t
|
230
|
+
SWAPU64(uint64_t x)
|
231
|
+
{
|
232
|
+
return bswap64(x);
|
233
|
+
}
|
234
|
+
|
235
|
+
#else
|
236
|
+
# define SWAPS32(x) ((int32_t) __builtin_bswap32(x))
|
237
|
+
# define SWAPU32(x) ((uint32_t) __builtin_bswap32(x))
|
238
|
+
# define SWAPS64(x) ((int64_t) __builtin_bswap64(x))
|
239
|
+
# define SWAPU64(x) ((uint64_t) __builtin_bswap64(x))
|
240
|
+
#endif
|
241
|
+
|
242
|
+
#if LONG_MAX > INT_MAX
|
243
|
+
# define SWAPSLONG SWAPS64
|
244
|
+
# define SWAPULONG SWAPU64
|
245
|
+
#else
|
246
|
+
# define SWAPSLONG SWAPS32
|
247
|
+
# define SWAPULONG SWAPU32
|
248
|
+
#endif
|
249
|
+
|
250
|
+
NUM_OP(int8, int8_t, NUM2INT, INT2NUM, NOSWAP);
|
251
|
+
NUM_OP(uint8, uint8_t, NUM2UINT, UINT2NUM, NOSWAP);
|
252
|
+
NUM_OP(int16, int16_t, NUM2INT, INT2NUM, SWAPS16);
|
253
|
+
NUM_OP(uint16, uint16_t, NUM2UINT, UINT2NUM, SWAPU16);
|
254
|
+
NUM_OP(int32, int32_t, NUM2INT, INT2NUM, SWAPS32);
|
255
|
+
NUM_OP(uint32, uint32_t, NUM2UINT, UINT2NUM, SWAPU32);
|
256
|
+
NUM_OP(int64, int64_t, NUM2LL, LL2NUM, SWAPS64);
|
257
|
+
NUM_OP(uint64, uint64_t, NUM2ULL, ULL2NUM, SWAPU64);
|
258
|
+
NUM_OP(long, long, NUM2LONG, LONG2NUM, SWAPSLONG);
|
259
|
+
NUM_OP(ulong, unsigned long, NUM2ULONG, ULONG2NUM, SWAPULONG);
|
260
|
+
NUM_OP(float32, float, NUM2DBL, rb_float_new, NOSWAP);
|
261
|
+
NUM_OP(float64, double, NUM2DBL, rb_float_new, NOSWAP);
|
262
|
+
NUM_OP(longdouble, long double, rbffi_num2longdouble, rbffi_longdouble_new, NOSWAP);
|
263
|
+
|
264
|
+
static inline void*
|
265
|
+
get_pointer_value(VALUE value)
|
266
|
+
{
|
267
|
+
const int type = TYPE(value);
|
268
|
+
if (type == T_DATA && rb_obj_is_kind_of(value, rbffi_PointerClass)) {
|
269
|
+
return memory_address(value);
|
270
|
+
} else if (type == T_NIL) {
|
271
|
+
return NULL;
|
272
|
+
} else if (type == T_FIXNUM) {
|
273
|
+
return (void *) (uintptr_t) FIX2ULONG(value);
|
274
|
+
} else if (type == T_BIGNUM) {
|
275
|
+
return (void *) (uintptr_t) NUM2ULL(value);
|
276
|
+
} else if (rb_respond_to(value, id_to_ptr)) {
|
277
|
+
return MEMORY_PTR(rb_funcall2(value, id_to_ptr, 0, NULL));
|
278
|
+
} else {
|
279
|
+
rb_raise(rb_eArgError, "value is not a pointer");
|
280
|
+
return NULL;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
NUM_OP(pointer, void *, get_pointer_value, rbffi_Pointer_NewInstance, NOSWAP);
|
285
|
+
|
286
|
+
static inline uint8_t
|
287
|
+
rbffi_bool_value(VALUE value)
|
288
|
+
{
|
289
|
+
return RTEST(value);
|
290
|
+
}
|
291
|
+
|
292
|
+
static inline VALUE
|
293
|
+
rbffi_bool_new(uint8_t value)
|
294
|
+
{
|
295
|
+
return (value & 1) != 0 ? Qtrue : Qfalse;
|
296
|
+
}
|
297
|
+
|
298
|
+
NUM_OP(bool, unsigned char, rbffi_bool_value, rbffi_bool_new, NOSWAP);
|
299
|
+
|
300
|
+
|
301
|
+
/*
|
302
|
+
* call-seq: memory.clear
|
303
|
+
* Set the memory to all-zero.
|
304
|
+
* @return [self]
|
305
|
+
*/
|
306
|
+
static VALUE
|
307
|
+
memory_clear(VALUE self)
|
308
|
+
{
|
309
|
+
AbstractMemory* ptr = MEMORY(self);
|
310
|
+
memset(ptr->address, 0, ptr->size);
|
311
|
+
return self;
|
312
|
+
}
|
313
|
+
|
314
|
+
/*
|
315
|
+
* call-seq: memory.size
|
316
|
+
* Return memory size in bytes (alias: #total)
|
317
|
+
* @return [Numeric]
|
318
|
+
*/
|
319
|
+
static VALUE
|
320
|
+
memory_size(VALUE self)
|
321
|
+
{
|
322
|
+
AbstractMemory* ptr;
|
323
|
+
|
324
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
325
|
+
|
326
|
+
return LONG2NUM(ptr->size);
|
327
|
+
}
|
328
|
+
|
329
|
+
/*
|
330
|
+
* call-seq: memory.get(type, offset)
|
331
|
+
* Return data of given type contained in memory.
|
332
|
+
* @param [Symbol, Type] type_name type of data to get
|
333
|
+
* @param [Numeric] offset point in buffer to start from
|
334
|
+
* @return [Object]
|
335
|
+
* @raise {ArgumentError} if type is not supported
|
336
|
+
*/
|
337
|
+
static VALUE
|
338
|
+
memory_get(VALUE self, VALUE type_name, VALUE offset)
|
339
|
+
{
|
340
|
+
AbstractMemory* ptr;
|
341
|
+
VALUE nType;
|
342
|
+
Type *type;
|
343
|
+
|
344
|
+
nType = rbffi_Type_Lookup(type_name);
|
345
|
+
if(NIL_P(nType)) goto undefined_type;
|
346
|
+
|
347
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
348
|
+
Data_Get_Struct(nType, Type, type);
|
349
|
+
|
350
|
+
MemoryOp *op = get_memory_op(type);
|
351
|
+
if(op == NULL) goto undefined_type;
|
352
|
+
|
353
|
+
return op->get(ptr, NUM2LONG(offset));
|
354
|
+
|
355
|
+
undefined_type: {
|
356
|
+
VALUE msg = rb_sprintf("undefined type '%" PRIsVALUE "'", type_name);
|
357
|
+
rb_exc_raise(rb_exc_new3(rb_eArgError, msg));
|
358
|
+
return Qnil;
|
359
|
+
}
|
360
|
+
}
|
361
|
+
|
362
|
+
/*
|
363
|
+
* call-seq: memory.put(type, offset, value)
|
364
|
+
* @param [Symbol, Type] type_name type of data to put
|
365
|
+
* @param [Numeric] offset point in buffer to start from
|
366
|
+
* @return [nil]
|
367
|
+
* @raise {ArgumentError} if type is not supported
|
368
|
+
*/
|
369
|
+
static VALUE
|
370
|
+
memory_put(VALUE self, VALUE type_name, VALUE offset, VALUE value)
|
371
|
+
{
|
372
|
+
AbstractMemory* ptr;
|
373
|
+
VALUE nType;
|
374
|
+
Type *type;
|
375
|
+
|
376
|
+
nType = rbffi_Type_Lookup(type_name);
|
377
|
+
if(NIL_P(nType)) goto undefined_type;
|
378
|
+
|
379
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
380
|
+
Data_Get_Struct(nType, Type, type);
|
381
|
+
|
382
|
+
MemoryOp *op = get_memory_op(type);
|
383
|
+
if(op == NULL) goto undefined_type;
|
384
|
+
|
385
|
+
op->put(ptr, NUM2LONG(offset), value);
|
386
|
+
return Qnil;
|
387
|
+
|
388
|
+
undefined_type: {
|
389
|
+
VALUE msg = rb_sprintf("unsupported type '%" PRIsVALUE "'", type_name);
|
390
|
+
rb_exc_raise(rb_exc_new3(rb_eArgError, msg));
|
391
|
+
return Qnil;
|
392
|
+
}
|
393
|
+
}
|
394
|
+
|
395
|
+
/*
|
396
|
+
* call-seq: memory.get_string(offset, length=nil)
|
397
|
+
* Return string contained in memory.
|
398
|
+
* @param [Numeric] offset point in buffer to start from
|
399
|
+
* @param [Numeric] length string's length in bytes. If nil, a (memory size - offset) length string is returned).
|
400
|
+
* @return [String]
|
401
|
+
* @raise {IndexError} if +length+ is too great
|
402
|
+
* @raise {NullPointerError} if memory not initialized
|
403
|
+
*/
|
404
|
+
static VALUE
|
405
|
+
memory_get_string(int argc, VALUE* argv, VALUE self)
|
406
|
+
{
|
407
|
+
VALUE length = Qnil, offset = Qnil;
|
408
|
+
AbstractMemory* ptr = MEMORY(self);
|
409
|
+
long off, len;
|
410
|
+
char* end;
|
411
|
+
int nargs = rb_scan_args(argc, argv, "11", &offset, &length);
|
412
|
+
|
413
|
+
off = NUM2LONG(offset);
|
414
|
+
len = nargs > 1 && length != Qnil ? NUM2LONG(length) : (ptr->size - off);
|
415
|
+
checkRead(ptr);
|
416
|
+
checkBounds(ptr, off, len);
|
417
|
+
|
418
|
+
end = memchr(ptr->address + off, 0, len);
|
419
|
+
return rb_str_new((char *) ptr->address + off,
|
420
|
+
(end != NULL ? end - ptr->address - off : len));
|
421
|
+
}
|
422
|
+
|
423
|
+
/*
|
424
|
+
* call-seq: memory.get_array_of_string(offset, count=nil)
|
425
|
+
* Return an array of strings contained in memory.
|
426
|
+
* @param [Numeric] offset point in memory to start from
|
427
|
+
* @param [Numeric] count number of strings to get. If nil, return all strings
|
428
|
+
* @return [Array<String>]
|
429
|
+
* @raise {IndexError} if +offset+ is too great
|
430
|
+
* @raise {NullPointerError} if memory not initialized
|
431
|
+
*/
|
432
|
+
static VALUE
|
433
|
+
memory_get_array_of_string(int argc, VALUE* argv, VALUE self)
|
434
|
+
{
|
435
|
+
VALUE offset = Qnil, countnum = Qnil, retVal = Qnil;
|
436
|
+
AbstractMemory* ptr;
|
437
|
+
long off;
|
438
|
+
int count;
|
439
|
+
|
440
|
+
rb_scan_args(argc, argv, "11", &offset, &countnum);
|
441
|
+
off = NUM2LONG(offset);
|
442
|
+
count = (countnum == Qnil ? 0 : NUM2INT(countnum));
|
443
|
+
retVal = rb_ary_new2(count);
|
444
|
+
|
445
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
446
|
+
checkRead(ptr);
|
447
|
+
|
448
|
+
if (countnum != Qnil) {
|
449
|
+
int i;
|
450
|
+
|
451
|
+
checkBounds(ptr, off, count * sizeof (char*));
|
452
|
+
|
453
|
+
for (i = 0; i < count; ++i) {
|
454
|
+
const char* strptr = *((const char**) (ptr->address + off) + i);
|
455
|
+
rb_ary_push(retVal, (strptr == NULL ? Qnil : rb_str_new2(strptr)));
|
456
|
+
}
|
457
|
+
|
458
|
+
} else {
|
459
|
+
checkBounds(ptr, off, sizeof (char*));
|
460
|
+
for ( ; off < ptr->size - (long) sizeof (void *); off += (long) sizeof (void *)) {
|
461
|
+
const char* strptr = *(const char**) (ptr->address + off);
|
462
|
+
if (strptr == NULL) {
|
463
|
+
break;
|
464
|
+
}
|
465
|
+
rb_ary_push(retVal, rb_str_new2(strptr));
|
466
|
+
}
|
467
|
+
}
|
468
|
+
|
469
|
+
return retVal;
|
470
|
+
}
|
471
|
+
|
472
|
+
/*
|
473
|
+
* call-seq: memory.read_array_of_string(count=nil)
|
474
|
+
* Return an array of strings contained in memory. Same as:
|
475
|
+
* memory.get_array_of_string(0, count)
|
476
|
+
* @param [Numeric] count number of strings to get. If nil, return all strings
|
477
|
+
* @return [Array<String>]
|
478
|
+
*/
|
479
|
+
static VALUE
|
480
|
+
memory_read_array_of_string(int argc, VALUE* argv, VALUE self)
|
481
|
+
{
|
482
|
+
VALUE* rargv = ALLOCA_N(VALUE, argc + 1);
|
483
|
+
int i;
|
484
|
+
|
485
|
+
rargv[0] = INT2FIX(0);
|
486
|
+
for (i = 0; i < argc; i++) {
|
487
|
+
rargv[i + 1] = argv[i];
|
488
|
+
}
|
489
|
+
|
490
|
+
return memory_get_array_of_string(argc + 1, rargv, self);
|
491
|
+
}
|
492
|
+
|
493
|
+
|
494
|
+
/*
|
495
|
+
* call-seq: memory.put_string(offset, str)
|
496
|
+
* @param [Numeric] offset
|
497
|
+
* @param [String] str
|
498
|
+
* @return [self]
|
499
|
+
* @raise {SecurityError} when writing unsafe string to memory
|
500
|
+
* @raise {IndexError} if +offset+ is too great
|
501
|
+
* @raise {NullPointerError} if memory not initialized
|
502
|
+
* Put a string in memory.
|
503
|
+
*/
|
504
|
+
static VALUE
|
505
|
+
memory_put_string(VALUE self, VALUE offset, VALUE str)
|
506
|
+
{
|
507
|
+
AbstractMemory* ptr = MEMORY(self);
|
508
|
+
long off, len;
|
509
|
+
|
510
|
+
Check_Type(str, T_STRING);
|
511
|
+
off = NUM2LONG(offset);
|
512
|
+
len = RSTRING_LEN(str);
|
513
|
+
|
514
|
+
checkWrite(ptr);
|
515
|
+
checkBounds(ptr, off, len + 1);
|
516
|
+
|
517
|
+
memcpy(ptr->address + off, RSTRING_PTR(str), len);
|
518
|
+
*((char *) ptr->address + off + len) = '\0';
|
519
|
+
|
520
|
+
return self;
|
521
|
+
}
|
522
|
+
|
523
|
+
/*
|
524
|
+
* call-seq: memory.get_bytes(offset, length)
|
525
|
+
* Return string contained in memory.
|
526
|
+
* @param [Numeric] offset point in buffer to start from
|
527
|
+
* @param [Numeric] length string's length in bytes.
|
528
|
+
* @return [String]
|
529
|
+
* @raise {IndexError} if +length+ is too great
|
530
|
+
* @raise {NullPointerError} if memory not initialized
|
531
|
+
*/
|
532
|
+
static VALUE
|
533
|
+
memory_get_bytes(VALUE self, VALUE offset, VALUE length)
|
534
|
+
{
|
535
|
+
AbstractMemory* ptr = MEMORY(self);
|
536
|
+
long off, len;
|
537
|
+
|
538
|
+
off = NUM2LONG(offset);
|
539
|
+
len = NUM2LONG(length);
|
540
|
+
|
541
|
+
checkRead(ptr);
|
542
|
+
checkBounds(ptr, off, len);
|
543
|
+
|
544
|
+
return rb_str_new((char *) ptr->address + off, len);
|
545
|
+
}
|
546
|
+
|
547
|
+
/*
|
548
|
+
* call-seq: memory.put_bytes(offset, str, index=0, length=nil)
|
549
|
+
* Put a string in memory.
|
550
|
+
* @param [Numeric] offset point in buffer to start from
|
551
|
+
* @param [String] str string to put to memory
|
552
|
+
* @param [Numeric] index
|
553
|
+
* @param [Numeric] length string's length in bytes. If nil, a (memory size - offset) length string is returned).
|
554
|
+
* @return [self]
|
555
|
+
* @raise {IndexError} if +length+ is too great
|
556
|
+
* @raise {NullPointerError} if memory not initialized
|
557
|
+
* @raise {RangeError} if +index+ is negative, or if index+length is greater than size of string
|
558
|
+
* @raise {SecurityError} when writing unsafe string to memory
|
559
|
+
*/
|
560
|
+
static VALUE
|
561
|
+
memory_put_bytes(int argc, VALUE* argv, VALUE self)
|
562
|
+
{
|
563
|
+
AbstractMemory* ptr = MEMORY(self);
|
564
|
+
VALUE offset = Qnil, str = Qnil, rbIndex = Qnil, rbLength = Qnil;
|
565
|
+
long off, len, idx;
|
566
|
+
int nargs = rb_scan_args(argc, argv, "22", &offset, &str, &rbIndex, &rbLength);
|
567
|
+
|
568
|
+
Check_Type(str, T_STRING);
|
569
|
+
|
570
|
+
off = NUM2LONG(offset);
|
571
|
+
idx = nargs > 2 ? NUM2LONG(rbIndex) : 0;
|
572
|
+
if (idx < 0) {
|
573
|
+
rb_raise(rb_eRangeError, "index cannot be less than zero");
|
574
|
+
return Qnil;
|
575
|
+
}
|
576
|
+
len = nargs > 3 ? NUM2LONG(rbLength) : (RSTRING_LEN(str) - idx);
|
577
|
+
if ((idx + len) > RSTRING_LEN(str)) {
|
578
|
+
rb_raise(rb_eRangeError, "index+length is greater than size of string");
|
579
|
+
return Qnil;
|
580
|
+
}
|
581
|
+
|
582
|
+
checkWrite(ptr);
|
583
|
+
checkBounds(ptr, off, len);
|
584
|
+
|
585
|
+
memcpy(ptr->address + off, RSTRING_PTR(str) + idx, len);
|
586
|
+
|
587
|
+
return self;
|
588
|
+
}
|
589
|
+
|
590
|
+
/*
|
591
|
+
* call-seq: memory.read_bytes(length)
|
592
|
+
* @param [Numeric] length of string to return
|
593
|
+
* @return [String]
|
594
|
+
* equivalent to :
|
595
|
+
* memory.get_bytes(0, length)
|
596
|
+
*/
|
597
|
+
static VALUE
|
598
|
+
memory_read_bytes(VALUE self, VALUE length)
|
599
|
+
{
|
600
|
+
return memory_get_bytes(self, INT2FIX(0), length);
|
601
|
+
}
|
602
|
+
|
603
|
+
/*
|
604
|
+
* call-seq: memory.write_bytes(str, index=0, length=nil)
|
605
|
+
* @param [String] str string to put to memory
|
606
|
+
* @param [Numeric] index
|
607
|
+
* @param [Numeric] length string's length in bytes. If nil, a (memory size - offset) length string is returned).
|
608
|
+
* @return [self]
|
609
|
+
* equivalent to :
|
610
|
+
* memory.put_bytes(0, str, index, length)
|
611
|
+
*/
|
612
|
+
static VALUE
|
613
|
+
memory_write_bytes(int argc, VALUE* argv, VALUE self)
|
614
|
+
{
|
615
|
+
VALUE* wargv = ALLOCA_N(VALUE, argc + 1);
|
616
|
+
int i;
|
617
|
+
|
618
|
+
wargv[0] = INT2FIX(0);
|
619
|
+
for (i = 0; i < argc; i++) {
|
620
|
+
wargv[i + 1] = argv[i];
|
621
|
+
}
|
622
|
+
|
623
|
+
return memory_put_bytes(argc + 1, wargv, self);
|
624
|
+
}
|
625
|
+
|
626
|
+
/*
|
627
|
+
* call-seq: memory.type_size
|
628
|
+
* @return [Numeric] type size in bytes
|
629
|
+
* Get the memory's type size.
|
630
|
+
*/
|
631
|
+
static VALUE
|
632
|
+
memory_type_size(VALUE self)
|
633
|
+
{
|
634
|
+
AbstractMemory* ptr;
|
635
|
+
|
636
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
637
|
+
|
638
|
+
return INT2NUM(ptr->typeSize);
|
639
|
+
}
|
640
|
+
|
641
|
+
/*
|
642
|
+
* Document-method: []
|
643
|
+
* call-seq: memory[idx]
|
644
|
+
* @param [Numeric] idx index to access in memory
|
645
|
+
* @return
|
646
|
+
* Memory read accessor.
|
647
|
+
*/
|
648
|
+
static VALUE
|
649
|
+
memory_aref(VALUE self, VALUE idx)
|
650
|
+
{
|
651
|
+
AbstractMemory* ptr;
|
652
|
+
VALUE rbOffset = Qnil;
|
653
|
+
|
654
|
+
Data_Get_Struct(self, AbstractMemory, ptr);
|
655
|
+
|
656
|
+
rbOffset = ULONG2NUM(NUM2ULONG(idx) * ptr->typeSize);
|
657
|
+
|
658
|
+
return rb_funcall2(self, id_plus, 1, &rbOffset);
|
659
|
+
}
|
660
|
+
|
661
|
+
static inline char*
|
662
|
+
memory_address(VALUE obj)
|
663
|
+
{
|
664
|
+
return ((AbstractMemory *) DATA_PTR(obj))->address;
|
665
|
+
}
|
666
|
+
|
667
|
+
static VALUE
|
668
|
+
memory_copy_from(VALUE self, VALUE rbsrc, VALUE rblen)
|
669
|
+
{
|
670
|
+
AbstractMemory* dst;
|
671
|
+
|
672
|
+
Data_Get_Struct(self, AbstractMemory, dst);
|
673
|
+
|
674
|
+
memcpy(dst->address, rbffi_AbstractMemory_Cast(rbsrc, rbffi_AbstractMemoryClass)->address, NUM2INT(rblen));
|
675
|
+
|
676
|
+
return self;
|
677
|
+
}
|
678
|
+
|
679
|
+
AbstractMemory*
|
680
|
+
rbffi_AbstractMemory_Cast(VALUE obj, VALUE klass)
|
681
|
+
{
|
682
|
+
if (rb_obj_is_kind_of(obj, klass)) {
|
683
|
+
AbstractMemory* memory;
|
684
|
+
Data_Get_Struct(obj, AbstractMemory, memory);
|
685
|
+
return memory;
|
686
|
+
}
|
687
|
+
|
688
|
+
rb_raise(rb_eArgError, "Invalid Memory object");
|
689
|
+
return NULL;
|
690
|
+
}
|
691
|
+
|
692
|
+
void
|
693
|
+
rbffi_AbstractMemory_Error(AbstractMemory *mem, int op)
|
694
|
+
{
|
695
|
+
VALUE rbErrorClass = mem->address == NULL ? NullPointerErrorClass : rb_eRuntimeError;
|
696
|
+
if (op == MEM_RD) {
|
697
|
+
rb_raise(rbErrorClass, "invalid memory read at address=%p", mem->address);
|
698
|
+
} else if (op == MEM_WR) {
|
699
|
+
rb_raise(rbErrorClass, "invalid memory write at address=%p", mem->address);
|
700
|
+
} else {
|
701
|
+
rb_raise(rbErrorClass, "invalid memory access at address=%p", mem->address);
|
702
|
+
}
|
703
|
+
}
|
704
|
+
|
705
|
+
static VALUE
|
706
|
+
memory_op_get_strptr(AbstractMemory* ptr, long offset)
|
707
|
+
{
|
708
|
+
void* tmp = NULL;
|
709
|
+
|
710
|
+
if (ptr != NULL && ptr->address != NULL) {
|
711
|
+
checkRead(ptr);
|
712
|
+
checkBounds(ptr, offset, sizeof(tmp));
|
713
|
+
memcpy(&tmp, ptr->address + offset, sizeof(tmp));
|
714
|
+
}
|
715
|
+
|
716
|
+
return tmp != NULL ? rb_str_new2(tmp) : Qnil;
|
717
|
+
}
|
718
|
+
|
719
|
+
static void
|
720
|
+
memory_op_put_strptr(AbstractMemory* ptr, long offset, VALUE value)
|
721
|
+
{
|
722
|
+
rb_raise(rb_eArgError, "Cannot set :string fields");
|
723
|
+
}
|
724
|
+
|
725
|
+
static MemoryOp memory_op_strptr = { memory_op_get_strptr, memory_op_put_strptr };
|
726
|
+
|
727
|
+
|
728
|
+
MemoryOps rbffi_AbstractMemoryOps = {
|
729
|
+
&memory_op_int8, /*.int8 */
|
730
|
+
&memory_op_uint8, /* .uint8 */
|
731
|
+
&memory_op_int16, /* .int16 */
|
732
|
+
&memory_op_uint16, /* .uint16 */
|
733
|
+
&memory_op_int32, /* .int32 */
|
734
|
+
&memory_op_uint32, /* .uint32 */
|
735
|
+
&memory_op_int64, /* .int64 */
|
736
|
+
&memory_op_uint64, /* .uint64 */
|
737
|
+
&memory_op_long, /* .slong */
|
738
|
+
&memory_op_ulong, /* .uslong */
|
739
|
+
&memory_op_float32, /* .float32 */
|
740
|
+
&memory_op_float64, /* .float64 */
|
741
|
+
&memory_op_longdouble, /* .longdouble */
|
742
|
+
&memory_op_pointer, /* .pointer */
|
743
|
+
&memory_op_strptr, /* .strptr */
|
744
|
+
&memory_op_bool /* .boolOp */
|
745
|
+
};
|
746
|
+
|
747
|
+
void
|
748
|
+
rbffi_AbstractMemory_Init(VALUE moduleFFI)
|
749
|
+
{
|
750
|
+
/*
|
751
|
+
* Document-class: FFI::AbstractMemory
|
752
|
+
*
|
753
|
+
* {AbstractMemory} is the base class for many memory management classes such as {Buffer}.
|
754
|
+
*
|
755
|
+
* This class has a lot of methods to work with integers :
|
756
|
+
* * put_int<i>size</i>(offset, value)
|
757
|
+
* * get_int<i>size</i>(offset)
|
758
|
+
* * put_uint<i>size</i>(offset, value)
|
759
|
+
* * get_uint<i>size</i>(offset)
|
760
|
+
* * writeuint<i>size</i>(value)
|
761
|
+
* * read_int<i>size</i>
|
762
|
+
* * write_uint<i>size</i>(value)
|
763
|
+
* * read_uint<i>size</i>
|
764
|
+
* * put_array_of_int<i>size</i>(offset, ary)
|
765
|
+
* * get_array_of_int<i>size</i>(offset, length)
|
766
|
+
* * put_array_of_uint<i>size</i>(offset, ary)
|
767
|
+
* * get_array_of_uint<i>size</i>(offset, length)
|
768
|
+
* * write_array_of_int<i>size</i>(ary)
|
769
|
+
* * read_array_of_int<i>size</i>(length)
|
770
|
+
* * write_array_of_uint<i>size</i>(ary)
|
771
|
+
* * read_array_of_uint<i>size</i>(length)
|
772
|
+
* where _size_ is 8, 16, 32 or 64. Same methods exist for long type.
|
773
|
+
*
|
774
|
+
* Aliases exist : _char_ for _int8_, _short_ for _int16_, _int_ for _int32_ and <i>long_long</i> for _int64_.
|
775
|
+
*
|
776
|
+
* Others methods are listed below.
|
777
|
+
*/
|
778
|
+
VALUE classMemory = rb_define_class_under(moduleFFI, "AbstractMemory", rb_cObject);
|
779
|
+
rbffi_AbstractMemoryClass = classMemory;
|
780
|
+
/*
|
781
|
+
* Document-variable: FFI::AbstractMemory
|
782
|
+
*/
|
783
|
+
rb_global_variable(&rbffi_AbstractMemoryClass);
|
784
|
+
rb_define_alloc_func(classMemory, memory_allocate);
|
785
|
+
|
786
|
+
NullPointerErrorClass = rb_define_class_under(moduleFFI, "NullPointerError", rb_eRuntimeError);
|
787
|
+
/* Document-variable: NullPointerError */
|
788
|
+
rb_global_variable(&NullPointerErrorClass);
|
789
|
+
|
790
|
+
|
791
|
+
#undef INT
|
792
|
+
#define INT(type) \
|
793
|
+
rb_define_method(classMemory, "put_" #type, memory_put_##type, 2); \
|
794
|
+
rb_define_method(classMemory, "get_" #type, memory_get_##type, 1); \
|
795
|
+
rb_define_method(classMemory, "put_u" #type, memory_put_u##type, 2); \
|
796
|
+
rb_define_method(classMemory, "get_u" #type, memory_get_u##type, 1); \
|
797
|
+
rb_define_method(classMemory, "write_" #type, memory_write_##type, 1); \
|
798
|
+
rb_define_method(classMemory, "read_" #type, memory_read_##type, 0); \
|
799
|
+
rb_define_method(classMemory, "write_u" #type, memory_write_u##type, 1); \
|
800
|
+
rb_define_method(classMemory, "read_u" #type, memory_read_u##type, 0); \
|
801
|
+
rb_define_method(classMemory, "put_array_of_" #type, memory_put_array_of_##type, 2); \
|
802
|
+
rb_define_method(classMemory, "get_array_of_" #type, memory_get_array_of_##type, 2); \
|
803
|
+
rb_define_method(classMemory, "put_array_of_u" #type, memory_put_array_of_u##type, 2); \
|
804
|
+
rb_define_method(classMemory, "get_array_of_u" #type, memory_get_array_of_u##type, 2); \
|
805
|
+
rb_define_method(classMemory, "write_array_of_" #type, memory_write_array_of_##type, 1); \
|
806
|
+
rb_define_method(classMemory, "read_array_of_" #type, memory_read_array_of_##type, 1); \
|
807
|
+
rb_define_method(classMemory, "write_array_of_u" #type, memory_write_array_of_u##type, 1); \
|
808
|
+
rb_define_method(classMemory, "read_array_of_u" #type, memory_read_array_of_u##type, 1);
|
809
|
+
|
810
|
+
INT(int8);
|
811
|
+
INT(int16);
|
812
|
+
INT(int32);
|
813
|
+
INT(int64);
|
814
|
+
INT(long);
|
815
|
+
|
816
|
+
#define ALIAS(name, old) \
|
817
|
+
rb_define_alias(classMemory, "put_" #name, "put_" #old); \
|
818
|
+
rb_define_alias(classMemory, "get_" #name, "get_" #old); \
|
819
|
+
rb_define_alias(classMemory, "put_u" #name, "put_u" #old); \
|
820
|
+
rb_define_alias(classMemory, "get_u" #name, "get_u" #old); \
|
821
|
+
rb_define_alias(classMemory, "write_" #name, "write_" #old); \
|
822
|
+
rb_define_alias(classMemory, "read_" #name, "read_" #old); \
|
823
|
+
rb_define_alias(classMemory, "write_u" #name, "write_u" #old); \
|
824
|
+
rb_define_alias(classMemory, "read_u" #name, "read_u" #old); \
|
825
|
+
rb_define_alias(classMemory, "put_array_of_" #name, "put_array_of_" #old); \
|
826
|
+
rb_define_alias(classMemory, "get_array_of_" #name, "get_array_of_" #old); \
|
827
|
+
rb_define_alias(classMemory, "put_array_of_u" #name, "put_array_of_u" #old); \
|
828
|
+
rb_define_alias(classMemory, "get_array_of_u" #name, "get_array_of_u" #old); \
|
829
|
+
rb_define_alias(classMemory, "write_array_of_" #name, "write_array_of_" #old); \
|
830
|
+
rb_define_alias(classMemory, "read_array_of_" #name, "read_array_of_" #old); \
|
831
|
+
rb_define_alias(classMemory, "write_array_of_u" #name, "write_array_of_u" #old); \
|
832
|
+
rb_define_alias(classMemory, "read_array_of_u" #name, "read_array_of_u" #old);
|
833
|
+
|
834
|
+
ALIAS(char, int8);
|
835
|
+
ALIAS(short, int16);
|
836
|
+
ALIAS(int, int32);
|
837
|
+
ALIAS(long_long, int64);
|
838
|
+
|
839
|
+
/*
|
840
|
+
* Document-method: put_float32
|
841
|
+
* call-seq: memory.put_float32offset, value)
|
842
|
+
* @param [Numeric] offset
|
843
|
+
* @param [Numeric] value
|
844
|
+
* @return [self]
|
845
|
+
* Put +value+ as a 32-bit float in memory at offset +offset+ (alias: #put_float).
|
846
|
+
*/
|
847
|
+
rb_define_method(classMemory, "put_float32", memory_put_float32, 2);
|
848
|
+
/*
|
849
|
+
* Document-method: get_float32
|
850
|
+
* call-seq: memory.get_float32(offset)
|
851
|
+
* @param [Numeric] offset
|
852
|
+
* @return [Float]
|
853
|
+
* Get a 32-bit float from memory at offset +offset+ (alias: #get_float).
|
854
|
+
*/
|
855
|
+
rb_define_method(classMemory, "get_float32", memory_get_float32, 1);
|
856
|
+
rb_define_alias(classMemory, "put_float", "put_float32");
|
857
|
+
rb_define_alias(classMemory, "get_float", "get_float32");
|
858
|
+
/*
|
859
|
+
* Document-method: write_float
|
860
|
+
* call-seq: memory.write_float(value)
|
861
|
+
* @param [Numeric] value
|
862
|
+
* @return [self]
|
863
|
+
* Write +value+ as a 32-bit float in memory.
|
864
|
+
*
|
865
|
+
* Same as:
|
866
|
+
* memory.put_float(0, value)
|
867
|
+
*/
|
868
|
+
rb_define_method(classMemory, "write_float", memory_write_float32, 1);
|
869
|
+
/*
|
870
|
+
* Document-method: read_float
|
871
|
+
* call-seq: memory.read_float
|
872
|
+
* @return [Float]
|
873
|
+
* Read a 32-bit float from memory.
|
874
|
+
*
|
875
|
+
* Same as:
|
876
|
+
* memory.get_float(0)
|
877
|
+
*/
|
878
|
+
rb_define_method(classMemory, "read_float", memory_read_float32, 0);
|
879
|
+
/*
|
880
|
+
* Document-method: put_array_of_float32
|
881
|
+
* call-seq: memory.put_array_of_float32(offset, ary)
|
882
|
+
* @param [Numeric] offset
|
883
|
+
* @param [Array<Numeric>] ary
|
884
|
+
* @return [self]
|
885
|
+
* Put values from +ary+ as 32-bit floats in memory from offset +offset+ (alias: #put_array_of_float).
|
886
|
+
*/
|
887
|
+
rb_define_method(classMemory, "put_array_of_float32", memory_put_array_of_float32, 2);
|
888
|
+
/*
|
889
|
+
* Document-method: get_array_of_float32
|
890
|
+
* call-seq: memory.get_array_of_float32(offset, length)
|
891
|
+
* @param [Numeric] offset
|
892
|
+
* @param [Numeric] length number of Float to get
|
893
|
+
* @return [Array<Float>]
|
894
|
+
* Get 32-bit floats in memory from offset +offset+ (alias: #get_array_of_float).
|
895
|
+
*/
|
896
|
+
rb_define_method(classMemory, "get_array_of_float32", memory_get_array_of_float32, 2);
|
897
|
+
/*
|
898
|
+
* Document-method: write_array_of_float
|
899
|
+
* call-seq: memory.write_array_of_float(ary)
|
900
|
+
* @param [Array<Numeric>] ary
|
901
|
+
* @return [self]
|
902
|
+
* Write values from +ary+ as 32-bit floats in memory.
|
903
|
+
*
|
904
|
+
* Same as:
|
905
|
+
* memory.put_array_of_float(0, ary)
|
906
|
+
*/
|
907
|
+
rb_define_method(classMemory, "write_array_of_float", memory_write_array_of_float32, 1);
|
908
|
+
/*
|
909
|
+
* Document-method: read_array_of_float
|
910
|
+
* call-seq: memory.read_array_of_float(length)
|
911
|
+
* @param [Numeric] length number of Float to read
|
912
|
+
* @return [Array<Float>]
|
913
|
+
* Read 32-bit floats from memory.
|
914
|
+
*
|
915
|
+
* Same as:
|
916
|
+
* memory.get_array_of_float(0, ary)
|
917
|
+
*/
|
918
|
+
rb_define_method(classMemory, "read_array_of_float", memory_read_array_of_float32, 1);
|
919
|
+
rb_define_alias(classMemory, "put_array_of_float", "put_array_of_float32");
|
920
|
+
rb_define_alias(classMemory, "get_array_of_float", "get_array_of_float32");
|
921
|
+
/*
|
922
|
+
* Document-method: put_float64
|
923
|
+
* call-seq: memory.put_float64(offset, value)
|
924
|
+
* @param [Numeric] offset
|
925
|
+
* @param [Numeric] value
|
926
|
+
* @return [self]
|
927
|
+
* Put +value+ as a 64-bit float (double) in memory at offset +offset+ (alias: #put_double).
|
928
|
+
*/
|
929
|
+
rb_define_method(classMemory, "put_float64", memory_put_float64, 2);
|
930
|
+
/*
|
931
|
+
* Document-method: get_float64
|
932
|
+
* call-seq: memory.get_float64(offset)
|
933
|
+
* @param [Numeric] offset
|
934
|
+
* @return [Float]
|
935
|
+
* Get a 64-bit float (double) from memory at offset +offset+ (alias: #get_double).
|
936
|
+
*/
|
937
|
+
rb_define_method(classMemory, "get_float64", memory_get_float64, 1);
|
938
|
+
rb_define_alias(classMemory, "put_double", "put_float64");
|
939
|
+
rb_define_alias(classMemory, "get_double", "get_float64");
|
940
|
+
/*
|
941
|
+
* Document-method: write_double
|
942
|
+
* call-seq: memory.write_double(value)
|
943
|
+
* @param [Numeric] value
|
944
|
+
* @return [self]
|
945
|
+
* Write +value+ as a 64-bit float (double) in memory.
|
946
|
+
*
|
947
|
+
* Same as:
|
948
|
+
* memory.put_double(0, value)
|
949
|
+
*/
|
950
|
+
rb_define_method(classMemory, "write_double", memory_write_float64, 1);
|
951
|
+
/*
|
952
|
+
* Document-method: read_double
|
953
|
+
* call-seq: memory.read_double
|
954
|
+
* @return [Float]
|
955
|
+
* Read a 64-bit float (double) from memory.
|
956
|
+
*
|
957
|
+
* Same as:
|
958
|
+
* memory.get_double(0)
|
959
|
+
*/
|
960
|
+
rb_define_method(classMemory, "read_double", memory_read_float64, 0);
|
961
|
+
/*
|
962
|
+
* Document-method: put_array_of_float64
|
963
|
+
* call-seq: memory.put_array_of_float64(offset, ary)
|
964
|
+
* @param [Numeric] offset
|
965
|
+
* @param [Array<Numeric>] ary
|
966
|
+
* @return [self]
|
967
|
+
* Put values from +ary+ as 64-bit floats (doubles) in memory from offset +offset+ (alias: #put_array_of_double).
|
968
|
+
*/
|
969
|
+
rb_define_method(classMemory, "put_array_of_float64", memory_put_array_of_float64, 2);
|
970
|
+
/*
|
971
|
+
* Document-method: get_array_of_float64
|
972
|
+
* call-seq: memory.get_array_of_float64(offset, length)
|
973
|
+
* @param [Numeric] offset
|
974
|
+
* @param [Numeric] length number of Float to get
|
975
|
+
* @return [Array<Float>]
|
976
|
+
* Get 64-bit floats (doubles) in memory from offset +offset+ (alias: #get_array_of_double).
|
977
|
+
*/
|
978
|
+
rb_define_method(classMemory, "get_array_of_float64", memory_get_array_of_float64, 2);
|
979
|
+
/*
|
980
|
+
* Document-method: write_array_of_double
|
981
|
+
* call-seq: memory.write_array_of_double(ary)
|
982
|
+
* @param [Array<Numeric>] ary
|
983
|
+
* @return [self]
|
984
|
+
* Write values from +ary+ as 64-bit floats (doubles) in memory.
|
985
|
+
*
|
986
|
+
* Same as:
|
987
|
+
* memory.put_array_of_double(0, ary)
|
988
|
+
*/
|
989
|
+
rb_define_method(classMemory, "write_array_of_double", memory_write_array_of_float64, 1);
|
990
|
+
/*
|
991
|
+
* Document-method: read_array_of_double
|
992
|
+
* call-seq: memory.read_array_of_double(length)
|
993
|
+
* @param [Numeric] length number of Float to read
|
994
|
+
* @return [Array<Float>]
|
995
|
+
* Read 64-bit floats (doubles) from memory.
|
996
|
+
*
|
997
|
+
* Same as:
|
998
|
+
* memory.get_array_of_double(0, ary)
|
999
|
+
*/
|
1000
|
+
rb_define_method(classMemory, "read_array_of_double", memory_read_array_of_float64, 1);
|
1001
|
+
rb_define_alias(classMemory, "put_array_of_double", "put_array_of_float64");
|
1002
|
+
rb_define_alias(classMemory, "get_array_of_double", "get_array_of_float64");
|
1003
|
+
/*
|
1004
|
+
* Document-method: put_pointer
|
1005
|
+
* call-seq: memory.put_pointer(offset, value)
|
1006
|
+
* @param [Numeric] offset
|
1007
|
+
* @param [nil,Pointer, Integer, #to_ptr] value
|
1008
|
+
* @return [self]
|
1009
|
+
* Put +value+ in memory from +offset+..
|
1010
|
+
*/
|
1011
|
+
rb_define_method(classMemory, "put_pointer", memory_put_pointer, 2);
|
1012
|
+
/*
|
1013
|
+
* Document-method: get_pointer
|
1014
|
+
* call-seq: memory.get_pointer(offset)
|
1015
|
+
* @param [Numeric] offset
|
1016
|
+
* @return [Pointer]
|
1017
|
+
* Get a {Pointer} to the memory from +offset+.
|
1018
|
+
*/
|
1019
|
+
rb_define_method(classMemory, "get_pointer", memory_get_pointer, 1);
|
1020
|
+
/*
|
1021
|
+
* Document-method: write_pointer
|
1022
|
+
* call-seq: memory.write_pointer(value)
|
1023
|
+
* @param [nil,Pointer, Integer, #to_ptr] value
|
1024
|
+
* @return [self]
|
1025
|
+
* Write +value+ in memory.
|
1026
|
+
*
|
1027
|
+
* Equivalent to:
|
1028
|
+
* memory.put_pointer(0, value)
|
1029
|
+
*/
|
1030
|
+
rb_define_method(classMemory, "write_pointer", memory_write_pointer, 1);
|
1031
|
+
/*
|
1032
|
+
* Document-method: read_pointer
|
1033
|
+
* call-seq: memory.read_pointer
|
1034
|
+
* @return [Pointer]
|
1035
|
+
* Get a {Pointer} to the memory from base address.
|
1036
|
+
*
|
1037
|
+
* Equivalent to:
|
1038
|
+
* memory.get_pointer(0)
|
1039
|
+
*/
|
1040
|
+
rb_define_method(classMemory, "read_pointer", memory_read_pointer, 0);
|
1041
|
+
/*
|
1042
|
+
* Document-method: put_array_of_pointer
|
1043
|
+
* call-seq: memory.put_array_of_pointer(offset, ary)
|
1044
|
+
* @param [Numeric] offset
|
1045
|
+
* @param [Array<#to_ptr>] ary
|
1046
|
+
* @return [self]
|
1047
|
+
* Put an array of {Pointer} into memory from +offset+.
|
1048
|
+
*/
|
1049
|
+
rb_define_method(classMemory, "put_array_of_pointer", memory_put_array_of_pointer, 2);
|
1050
|
+
/*
|
1051
|
+
* Document-method: get_array_of_pointer
|
1052
|
+
* call-seq: memory.get_array_of_pointer(offset, length)
|
1053
|
+
* @param [Numeric] offset
|
1054
|
+
* @param [Numeric] length
|
1055
|
+
* @return [Array<Pointer>]
|
1056
|
+
* Get an array of {Pointer} of length +length+ from +offset+.
|
1057
|
+
*/
|
1058
|
+
rb_define_method(classMemory, "get_array_of_pointer", memory_get_array_of_pointer, 2);
|
1059
|
+
/*
|
1060
|
+
* Document-method: write_array_of_pointer
|
1061
|
+
* call-seq: memory.write_array_of_pointer(ary)
|
1062
|
+
* @param [Array<#to_ptr>] ary
|
1063
|
+
* @return [self]
|
1064
|
+
* Write an array of {Pointer} into memory from +offset+.
|
1065
|
+
*
|
1066
|
+
* Same as :
|
1067
|
+
* memory.put_array_of_pointer(0, ary)
|
1068
|
+
*/
|
1069
|
+
rb_define_method(classMemory, "write_array_of_pointer", memory_write_array_of_pointer, 1);
|
1070
|
+
/*
|
1071
|
+
* Document-method: read_array_of_pointer
|
1072
|
+
* call-seq: memory.read_array_of_pointer(length)
|
1073
|
+
* @param [Numeric] length
|
1074
|
+
* @return [Array<Pointer>]
|
1075
|
+
* Read an array of {Pointer} of length +length+.
|
1076
|
+
*
|
1077
|
+
* Same as:
|
1078
|
+
* memory.get_array_of_pointer(0, length)
|
1079
|
+
*/
|
1080
|
+
rb_define_method(classMemory, "read_array_of_pointer", memory_read_array_of_pointer, 1);
|
1081
|
+
|
1082
|
+
rb_define_method(classMemory, "get_string", memory_get_string, -1);
|
1083
|
+
rb_define_method(classMemory, "put_string", memory_put_string, 2);
|
1084
|
+
rb_define_method(classMemory, "get_bytes", memory_get_bytes, 2);
|
1085
|
+
rb_define_method(classMemory, "put_bytes", memory_put_bytes, -1);
|
1086
|
+
rb_define_method(classMemory, "read_bytes", memory_read_bytes, 1);
|
1087
|
+
rb_define_method(classMemory, "write_bytes", memory_write_bytes, -1);
|
1088
|
+
rb_define_method(classMemory, "get_array_of_string", memory_get_array_of_string, -1);
|
1089
|
+
|
1090
|
+
rb_define_method(classMemory, "get", memory_get, 2);
|
1091
|
+
rb_define_method(classMemory, "put", memory_put, 3);
|
1092
|
+
|
1093
|
+
rb_define_method(classMemory, "clear", memory_clear, 0);
|
1094
|
+
rb_define_method(classMemory, "total", memory_size, 0);
|
1095
|
+
rb_define_alias(classMemory, "size", "total");
|
1096
|
+
rb_define_method(classMemory, "type_size", memory_type_size, 0);
|
1097
|
+
rb_define_method(classMemory, "[]", memory_aref, 1);
|
1098
|
+
rb_define_method(classMemory, "__copy_from__", memory_copy_from, 2);
|
1099
|
+
|
1100
|
+
id_to_ptr = rb_intern("to_ptr");
|
1101
|
+
id_call = rb_intern("call");
|
1102
|
+
id_plus = rb_intern("+");
|
1103
|
+
}
|
1104
|
+
|