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,1452 @@
|
|
1
|
+
/* -----------------------------------------------------------------------
|
2
|
+
ffi_darwin.c
|
3
|
+
|
4
|
+
Copyright (C) 1998 Geoffrey Keating
|
5
|
+
Copyright (C) 2001 John Hornkvist
|
6
|
+
Copyright (C) 2002, 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
|
7
|
+
|
8
|
+
FFI support for Darwin and AIX.
|
9
|
+
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
11
|
+
a copy of this software and associated documentation files (the
|
12
|
+
``Software''), to deal in the Software without restriction, including
|
13
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
14
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
15
|
+
permit persons to whom the Software is furnished to do so, subject to
|
16
|
+
the following conditions:
|
17
|
+
|
18
|
+
The above copyright notice and this permission notice shall be included
|
19
|
+
in all copies or substantial portions of the Software.
|
20
|
+
|
21
|
+
THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
22
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
23
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
24
|
+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
25
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
26
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
27
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
28
|
+
----------------------------------------------------------------------- */
|
29
|
+
|
30
|
+
#include <ffi.h>
|
31
|
+
#include <ffi_common.h>
|
32
|
+
|
33
|
+
#include <stdlib.h>
|
34
|
+
|
35
|
+
extern void ffi_closure_ASM (void);
|
36
|
+
|
37
|
+
#if defined (FFI_GO_CLOSURES)
|
38
|
+
extern void ffi_go_closure_ASM (void);
|
39
|
+
#endif
|
40
|
+
|
41
|
+
enum {
|
42
|
+
/* The assembly depends on these exact flags.
|
43
|
+
For Darwin64 (when FLAG_RETURNS_STRUCT is set):
|
44
|
+
FLAG_RETURNS_FP indicates that the structure embeds FP data.
|
45
|
+
FLAG_RETURNS_128BITS signals a special struct size that is not
|
46
|
+
expanded for float content. */
|
47
|
+
FLAG_RETURNS_128BITS = 1 << (31-31), /* These go in cr7 */
|
48
|
+
FLAG_RETURNS_NOTHING = 1 << (31-30),
|
49
|
+
FLAG_RETURNS_FP = 1 << (31-29),
|
50
|
+
FLAG_RETURNS_64BITS = 1 << (31-28),
|
51
|
+
|
52
|
+
FLAG_RETURNS_STRUCT = 1 << (31-27), /* This goes in cr6 */
|
53
|
+
|
54
|
+
FLAG_ARG_NEEDS_COPY = 1 << (31- 7),
|
55
|
+
FLAG_FP_ARGUMENTS = 1 << (31- 6), /* cr1.eq; specified by ABI */
|
56
|
+
FLAG_4_GPR_ARGUMENTS = 1 << (31- 5),
|
57
|
+
FLAG_RETVAL_REFERENCE = 1 << (31- 4)
|
58
|
+
};
|
59
|
+
|
60
|
+
/* About the DARWIN ABI. */
|
61
|
+
enum {
|
62
|
+
NUM_GPR_ARG_REGISTERS = 8,
|
63
|
+
NUM_FPR_ARG_REGISTERS = 13,
|
64
|
+
LINKAGE_AREA_GPRS = 6
|
65
|
+
};
|
66
|
+
|
67
|
+
enum { ASM_NEEDS_REGISTERS = 4 }; /* r28-r31 */
|
68
|
+
|
69
|
+
/* ffi_prep_args is called by the assembly routine once stack space
|
70
|
+
has been allocated for the function's arguments.
|
71
|
+
|
72
|
+
m32/m64
|
73
|
+
|
74
|
+
The stack layout we want looks like this:
|
75
|
+
|
76
|
+
| Return address from ffi_call_DARWIN | higher addresses
|
77
|
+
|--------------------------------------------|
|
78
|
+
| Previous backchain pointer 4/8 | stack pointer here
|
79
|
+
|--------------------------------------------|<+ <<< on entry to
|
80
|
+
| ASM_NEEDS_REGISTERS=r28-r31 4*(4/8) | | ffi_call_DARWIN
|
81
|
+
|--------------------------------------------| |
|
82
|
+
| When we have any FP activity... the | |
|
83
|
+
| FPRs occupy NUM_FPR_ARG_REGISTERS slots | |
|
84
|
+
| here fp13 .. fp1 from high to low addr. | |
|
85
|
+
~ ~ ~
|
86
|
+
| Parameters (at least 8*4/8=32/64) | | NUM_GPR_ARG_REGISTERS
|
87
|
+
|--------------------------------------------| |
|
88
|
+
| TOC=R2 (AIX) Reserved (Darwin) 4/8 | |
|
89
|
+
|--------------------------------------------| | stack |
|
90
|
+
| Reserved 2*4/8 | | grows |
|
91
|
+
|--------------------------------------------| | down V
|
92
|
+
| Space for callee's LR 4/8 | |
|
93
|
+
|--------------------------------------------| | lower addresses
|
94
|
+
| Saved CR [low word for m64] 4/8 | |
|
95
|
+
|--------------------------------------------| | stack pointer here
|
96
|
+
| Current backchain pointer 4/8 |-/ during
|
97
|
+
|--------------------------------------------| <<< ffi_call_DARWIN
|
98
|
+
|
99
|
+
*/
|
100
|
+
|
101
|
+
#if defined(POWERPC_DARWIN64)
|
102
|
+
static void
|
103
|
+
darwin64_pass_struct_by_value
|
104
|
+
(ffi_type *, char *, unsigned, unsigned *, double **, unsigned long **);
|
105
|
+
#endif
|
106
|
+
|
107
|
+
/* This depends on GPR_SIZE = sizeof (unsigned long) */
|
108
|
+
|
109
|
+
void
|
110
|
+
ffi_prep_args (extended_cif *ecif, unsigned long *const stack)
|
111
|
+
{
|
112
|
+
const unsigned bytes = ecif->cif->bytes;
|
113
|
+
const unsigned flags = ecif->cif->flags;
|
114
|
+
const unsigned nargs = ecif->cif->nargs;
|
115
|
+
#if !defined(POWERPC_DARWIN64)
|
116
|
+
const ffi_abi abi = ecif->cif->abi;
|
117
|
+
#endif
|
118
|
+
|
119
|
+
/* 'stacktop' points at the previous backchain pointer. */
|
120
|
+
unsigned long *const stacktop = stack + (bytes / sizeof(unsigned long));
|
121
|
+
|
122
|
+
/* 'fpr_base' points at the space for fpr1, and grows upwards as
|
123
|
+
we use FPR registers. */
|
124
|
+
double *fpr_base = (double *) (stacktop - ASM_NEEDS_REGISTERS) - NUM_FPR_ARG_REGISTERS;
|
125
|
+
int gp_count = 0, fparg_count = 0;
|
126
|
+
|
127
|
+
/* 'next_arg' grows up as we put parameters in it. */
|
128
|
+
unsigned long *next_arg = stack + LINKAGE_AREA_GPRS; /* 6 reserved positions. */
|
129
|
+
|
130
|
+
int i;
|
131
|
+
double double_tmp;
|
132
|
+
void **p_argv = ecif->avalue;
|
133
|
+
unsigned long gprvalue;
|
134
|
+
ffi_type** ptr = ecif->cif->arg_types;
|
135
|
+
#if !defined(POWERPC_DARWIN64)
|
136
|
+
char *dest_cpy;
|
137
|
+
#endif
|
138
|
+
unsigned size_al = 0;
|
139
|
+
|
140
|
+
/* Check that everything starts aligned properly. */
|
141
|
+
FFI_ASSERT(((unsigned) (char *) stack & 0xF) == 0);
|
142
|
+
FFI_ASSERT(((unsigned) (char *) stacktop & 0xF) == 0);
|
143
|
+
FFI_ASSERT((bytes & 0xF) == 0);
|
144
|
+
|
145
|
+
/* Deal with return values that are actually pass-by-reference.
|
146
|
+
Rule:
|
147
|
+
Return values are referenced by r3, so r4 is the first parameter. */
|
148
|
+
|
149
|
+
if (flags & FLAG_RETVAL_REFERENCE)
|
150
|
+
*next_arg++ = (unsigned long) (char *) ecif->rvalue;
|
151
|
+
|
152
|
+
/* Now for the arguments. */
|
153
|
+
for (i = nargs; i > 0; i--, ptr++, p_argv++)
|
154
|
+
{
|
155
|
+
switch ((*ptr)->type)
|
156
|
+
{
|
157
|
+
/* If a floating-point parameter appears before all of the general-
|
158
|
+
purpose registers are filled, the corresponding GPRs that match
|
159
|
+
the size of the floating-point parameter are skipped. */
|
160
|
+
case FFI_TYPE_FLOAT:
|
161
|
+
double_tmp = *(float *) *p_argv;
|
162
|
+
if (fparg_count < NUM_FPR_ARG_REGISTERS)
|
163
|
+
*fpr_base++ = double_tmp;
|
164
|
+
#if defined(POWERPC_DARWIN)
|
165
|
+
*(float *)next_arg = *(float *) *p_argv;
|
166
|
+
#else
|
167
|
+
*(double *)next_arg = double_tmp;
|
168
|
+
#endif
|
169
|
+
next_arg++;
|
170
|
+
gp_count++;
|
171
|
+
fparg_count++;
|
172
|
+
FFI_ASSERT(flags & FLAG_FP_ARGUMENTS);
|
173
|
+
break;
|
174
|
+
|
175
|
+
case FFI_TYPE_DOUBLE:
|
176
|
+
double_tmp = *(double *) *p_argv;
|
177
|
+
if (fparg_count < NUM_FPR_ARG_REGISTERS)
|
178
|
+
*fpr_base++ = double_tmp;
|
179
|
+
*(double *)next_arg = double_tmp;
|
180
|
+
#ifdef POWERPC64
|
181
|
+
next_arg++;
|
182
|
+
gp_count++;
|
183
|
+
#else
|
184
|
+
next_arg += 2;
|
185
|
+
gp_count += 2;
|
186
|
+
#endif
|
187
|
+
fparg_count++;
|
188
|
+
FFI_ASSERT(flags & FLAG_FP_ARGUMENTS);
|
189
|
+
break;
|
190
|
+
|
191
|
+
#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
|
192
|
+
|
193
|
+
case FFI_TYPE_LONGDOUBLE:
|
194
|
+
# if defined(POWERPC64) && !defined(POWERPC_DARWIN64)
|
195
|
+
/* ??? This will exceed the regs count when the value starts at fp13
|
196
|
+
and it will not put the extra bit on the stack. */
|
197
|
+
if (fparg_count < NUM_FPR_ARG_REGISTERS)
|
198
|
+
*(long double *) fpr_base++ = *(long double *) *p_argv;
|
199
|
+
else
|
200
|
+
*(long double *) next_arg = *(long double *) *p_argv;
|
201
|
+
next_arg += 2;
|
202
|
+
fparg_count += 2;
|
203
|
+
# else
|
204
|
+
double_tmp = ((double *) *p_argv)[0];
|
205
|
+
if (fparg_count < NUM_FPR_ARG_REGISTERS)
|
206
|
+
*fpr_base++ = double_tmp;
|
207
|
+
*(double *) next_arg = double_tmp;
|
208
|
+
# if defined(POWERPC_DARWIN64)
|
209
|
+
next_arg++;
|
210
|
+
gp_count++;
|
211
|
+
# else
|
212
|
+
next_arg += 2;
|
213
|
+
gp_count += 2;
|
214
|
+
# endif
|
215
|
+
fparg_count++;
|
216
|
+
double_tmp = ((double *) *p_argv)[1];
|
217
|
+
if (fparg_count < NUM_FPR_ARG_REGISTERS)
|
218
|
+
*fpr_base++ = double_tmp;
|
219
|
+
*(double *) next_arg = double_tmp;
|
220
|
+
# if defined(POWERPC_DARWIN64)
|
221
|
+
next_arg++;
|
222
|
+
gp_count++;
|
223
|
+
# else
|
224
|
+
next_arg += 2;
|
225
|
+
gp_count += 2;
|
226
|
+
# endif
|
227
|
+
fparg_count++;
|
228
|
+
# endif
|
229
|
+
FFI_ASSERT(flags & FLAG_FP_ARGUMENTS);
|
230
|
+
break;
|
231
|
+
#endif
|
232
|
+
case FFI_TYPE_UINT64:
|
233
|
+
case FFI_TYPE_SINT64:
|
234
|
+
#ifdef POWERPC64
|
235
|
+
gprvalue = *(long long *) *p_argv;
|
236
|
+
goto putgpr;
|
237
|
+
#else
|
238
|
+
*(long long *) next_arg = *(long long *) *p_argv;
|
239
|
+
next_arg += 2;
|
240
|
+
gp_count += 2;
|
241
|
+
#endif
|
242
|
+
break;
|
243
|
+
case FFI_TYPE_POINTER:
|
244
|
+
gprvalue = *(unsigned long *) *p_argv;
|
245
|
+
goto putgpr;
|
246
|
+
case FFI_TYPE_UINT8:
|
247
|
+
gprvalue = *(unsigned char *) *p_argv;
|
248
|
+
goto putgpr;
|
249
|
+
case FFI_TYPE_SINT8:
|
250
|
+
gprvalue = *(signed char *) *p_argv;
|
251
|
+
goto putgpr;
|
252
|
+
case FFI_TYPE_UINT16:
|
253
|
+
gprvalue = *(unsigned short *) *p_argv;
|
254
|
+
goto putgpr;
|
255
|
+
case FFI_TYPE_SINT16:
|
256
|
+
gprvalue = *(signed short *) *p_argv;
|
257
|
+
goto putgpr;
|
258
|
+
|
259
|
+
case FFI_TYPE_STRUCT:
|
260
|
+
size_al = (*ptr)->size;
|
261
|
+
#if defined(POWERPC_DARWIN64)
|
262
|
+
next_arg = (unsigned long *)FFI_ALIGN((char *)next_arg, (*ptr)->alignment);
|
263
|
+
darwin64_pass_struct_by_value (*ptr, (char *) *p_argv,
|
264
|
+
(unsigned) size_al,
|
265
|
+
(unsigned int *) &fparg_count,
|
266
|
+
&fpr_base, &next_arg);
|
267
|
+
#else
|
268
|
+
dest_cpy = (char *) next_arg;
|
269
|
+
|
270
|
+
/* If the first member of the struct is a double, then include enough
|
271
|
+
padding in the struct size to align it to double-word. */
|
272
|
+
if ((*ptr)->elements[0]->type == FFI_TYPE_DOUBLE)
|
273
|
+
size_al = FFI_ALIGN((*ptr)->size, 8);
|
274
|
+
|
275
|
+
# if defined(POWERPC64)
|
276
|
+
FFI_ASSERT (abi != FFI_DARWIN);
|
277
|
+
memcpy ((char *) dest_cpy, (char *) *p_argv, size_al);
|
278
|
+
next_arg += (size_al + 7) / 8;
|
279
|
+
# else
|
280
|
+
/* Structures that match the basic modes (QI 1 byte, HI 2 bytes,
|
281
|
+
SI 4 bytes) are aligned as if they were those modes.
|
282
|
+
Structures with 3 byte in size are padded upwards. */
|
283
|
+
if (size_al < 3 && abi == FFI_DARWIN)
|
284
|
+
dest_cpy += 4 - size_al;
|
285
|
+
|
286
|
+
memcpy((char *) dest_cpy, (char *) *p_argv, size_al);
|
287
|
+
next_arg += (size_al + 3) / 4;
|
288
|
+
# endif
|
289
|
+
#endif
|
290
|
+
break;
|
291
|
+
|
292
|
+
case FFI_TYPE_INT:
|
293
|
+
case FFI_TYPE_SINT32:
|
294
|
+
gprvalue = *(signed int *) *p_argv;
|
295
|
+
goto putgpr;
|
296
|
+
|
297
|
+
case FFI_TYPE_UINT32:
|
298
|
+
gprvalue = *(unsigned int *) *p_argv;
|
299
|
+
putgpr:
|
300
|
+
*next_arg++ = gprvalue;
|
301
|
+
gp_count++;
|
302
|
+
break;
|
303
|
+
default:
|
304
|
+
break;
|
305
|
+
}
|
306
|
+
}
|
307
|
+
|
308
|
+
/* Check that we didn't overrun the stack... */
|
309
|
+
/* FFI_ASSERT(gpr_base <= stacktop - ASM_NEEDS_REGISTERS);
|
310
|
+
FFI_ASSERT((unsigned *)fpr_base
|
311
|
+
<= stacktop - ASM_NEEDS_REGISTERS - NUM_GPR_ARG_REGISTERS);
|
312
|
+
FFI_ASSERT(flags & FLAG_4_GPR_ARGUMENTS || intarg_count <= 4); */
|
313
|
+
}
|
314
|
+
|
315
|
+
#if defined(POWERPC_DARWIN64)
|
316
|
+
|
317
|
+
/* See if we can put some of the struct into fprs.
|
318
|
+
This should not be called for structures of size 16 bytes, since these are not
|
319
|
+
broken out this way. */
|
320
|
+
static void
|
321
|
+
darwin64_scan_struct_for_floats (ffi_type *s, unsigned *nfpr)
|
322
|
+
{
|
323
|
+
int i;
|
324
|
+
|
325
|
+
FFI_ASSERT (s->type == FFI_TYPE_STRUCT)
|
326
|
+
|
327
|
+
for (i = 0; s->elements[i] != NULL; i++)
|
328
|
+
{
|
329
|
+
ffi_type *p = s->elements[i];
|
330
|
+
switch (p->type)
|
331
|
+
{
|
332
|
+
case FFI_TYPE_STRUCT:
|
333
|
+
darwin64_scan_struct_for_floats (p, nfpr);
|
334
|
+
break;
|
335
|
+
case FFI_TYPE_LONGDOUBLE:
|
336
|
+
(*nfpr) += 2;
|
337
|
+
break;
|
338
|
+
case FFI_TYPE_DOUBLE:
|
339
|
+
case FFI_TYPE_FLOAT:
|
340
|
+
(*nfpr) += 1;
|
341
|
+
break;
|
342
|
+
default:
|
343
|
+
break;
|
344
|
+
}
|
345
|
+
}
|
346
|
+
}
|
347
|
+
|
348
|
+
static int
|
349
|
+
darwin64_struct_size_exceeds_gprs_p (ffi_type *s, char *src, unsigned *nfpr)
|
350
|
+
{
|
351
|
+
unsigned struct_offset=0, i;
|
352
|
+
|
353
|
+
for (i = 0; s->elements[i] != NULL; i++)
|
354
|
+
{
|
355
|
+
char *item_base;
|
356
|
+
ffi_type *p = s->elements[i];
|
357
|
+
/* Find the start of this item (0 for the first one). */
|
358
|
+
if (i > 0)
|
359
|
+
struct_offset = FFI_ALIGN(struct_offset, p->alignment);
|
360
|
+
|
361
|
+
item_base = src + struct_offset;
|
362
|
+
|
363
|
+
switch (p->type)
|
364
|
+
{
|
365
|
+
case FFI_TYPE_STRUCT:
|
366
|
+
if (darwin64_struct_size_exceeds_gprs_p (p, item_base, nfpr))
|
367
|
+
return 1;
|
368
|
+
break;
|
369
|
+
case FFI_TYPE_LONGDOUBLE:
|
370
|
+
if (*nfpr >= NUM_FPR_ARG_REGISTERS)
|
371
|
+
return 1;
|
372
|
+
(*nfpr) += 1;
|
373
|
+
item_base += 8;
|
374
|
+
/* FALL THROUGH */
|
375
|
+
case FFI_TYPE_DOUBLE:
|
376
|
+
if (*nfpr >= NUM_FPR_ARG_REGISTERS)
|
377
|
+
return 1;
|
378
|
+
(*nfpr) += 1;
|
379
|
+
break;
|
380
|
+
case FFI_TYPE_FLOAT:
|
381
|
+
if (*nfpr >= NUM_FPR_ARG_REGISTERS)
|
382
|
+
return 1;
|
383
|
+
(*nfpr) += 1;
|
384
|
+
break;
|
385
|
+
default:
|
386
|
+
/* If we try and place any item, that is non-float, once we've
|
387
|
+
exceeded the 8 GPR mark, then we can't fit the struct. */
|
388
|
+
if ((unsigned long)item_base >= 8*8)
|
389
|
+
return 1;
|
390
|
+
break;
|
391
|
+
}
|
392
|
+
/* now count the size of what we just used. */
|
393
|
+
struct_offset += p->size;
|
394
|
+
}
|
395
|
+
return 0;
|
396
|
+
}
|
397
|
+
|
398
|
+
/* Can this struct be returned by value? */
|
399
|
+
int
|
400
|
+
darwin64_struct_ret_by_value_p (ffi_type *s)
|
401
|
+
{
|
402
|
+
unsigned nfp = 0;
|
403
|
+
|
404
|
+
FFI_ASSERT (s && s->type == FFI_TYPE_STRUCT);
|
405
|
+
|
406
|
+
/* The largest structure we can return is 8long + 13 doubles. */
|
407
|
+
if (s->size > 168)
|
408
|
+
return 0;
|
409
|
+
|
410
|
+
/* We can't pass more than 13 floats. */
|
411
|
+
darwin64_scan_struct_for_floats (s, &nfp);
|
412
|
+
if (nfp > 13)
|
413
|
+
return 0;
|
414
|
+
|
415
|
+
/* If there are not too many floats, and the struct is
|
416
|
+
small enough to accommodate in the GPRs, then it must be OK. */
|
417
|
+
if (s->size <= 64)
|
418
|
+
return 1;
|
419
|
+
|
420
|
+
/* Well, we have to look harder. */
|
421
|
+
nfp = 0;
|
422
|
+
if (darwin64_struct_size_exceeds_gprs_p (s, NULL, &nfp))
|
423
|
+
return 0;
|
424
|
+
|
425
|
+
return 1;
|
426
|
+
}
|
427
|
+
|
428
|
+
void
|
429
|
+
darwin64_pass_struct_floats (ffi_type *s, char *src,
|
430
|
+
unsigned *nfpr, double **fprs)
|
431
|
+
{
|
432
|
+
int i;
|
433
|
+
double *fpr_base = *fprs;
|
434
|
+
unsigned struct_offset = 0;
|
435
|
+
|
436
|
+
/* We don't assume anything about the alignment of the source. */
|
437
|
+
for (i = 0; s->elements[i] != NULL; i++)
|
438
|
+
{
|
439
|
+
char *item_base;
|
440
|
+
ffi_type *p = s->elements[i];
|
441
|
+
/* Find the start of this item (0 for the first one). */
|
442
|
+
if (i > 0)
|
443
|
+
struct_offset = FFI_ALIGN(struct_offset, p->alignment);
|
444
|
+
item_base = src + struct_offset;
|
445
|
+
|
446
|
+
switch (p->type)
|
447
|
+
{
|
448
|
+
case FFI_TYPE_STRUCT:
|
449
|
+
darwin64_pass_struct_floats (p, item_base, nfpr,
|
450
|
+
&fpr_base);
|
451
|
+
break;
|
452
|
+
case FFI_TYPE_LONGDOUBLE:
|
453
|
+
if (*nfpr < NUM_FPR_ARG_REGISTERS)
|
454
|
+
*fpr_base++ = *(double *)item_base;
|
455
|
+
(*nfpr) += 1;
|
456
|
+
item_base += 8;
|
457
|
+
/* FALL THROUGH */
|
458
|
+
case FFI_TYPE_DOUBLE:
|
459
|
+
if (*nfpr < NUM_FPR_ARG_REGISTERS)
|
460
|
+
*fpr_base++ = *(double *)item_base;
|
461
|
+
(*nfpr) += 1;
|
462
|
+
break;
|
463
|
+
case FFI_TYPE_FLOAT:
|
464
|
+
if (*nfpr < NUM_FPR_ARG_REGISTERS)
|
465
|
+
*fpr_base++ = (double) *(float *)item_base;
|
466
|
+
(*nfpr) += 1;
|
467
|
+
break;
|
468
|
+
default:
|
469
|
+
break;
|
470
|
+
}
|
471
|
+
/* now count the size of what we just used. */
|
472
|
+
struct_offset += p->size;
|
473
|
+
}
|
474
|
+
/* Update the scores. */
|
475
|
+
*fprs = fpr_base;
|
476
|
+
}
|
477
|
+
|
478
|
+
/* Darwin64 special rules.
|
479
|
+
Break out a struct into params and float registers. */
|
480
|
+
static void
|
481
|
+
darwin64_pass_struct_by_value (ffi_type *s, char *src, unsigned size,
|
482
|
+
unsigned *nfpr, double **fprs, unsigned long **arg)
|
483
|
+
{
|
484
|
+
unsigned long *next_arg = *arg;
|
485
|
+
char *dest_cpy = (char *)next_arg;
|
486
|
+
|
487
|
+
FFI_ASSERT (s->type == FFI_TYPE_STRUCT)
|
488
|
+
|
489
|
+
if (!size)
|
490
|
+
return;
|
491
|
+
|
492
|
+
/* First... special cases. */
|
493
|
+
if (size < 3
|
494
|
+
|| (size == 4
|
495
|
+
&& s->elements[0]
|
496
|
+
&& s->elements[0]->type != FFI_TYPE_FLOAT))
|
497
|
+
{
|
498
|
+
/* Must be at least one GPR, padding is unspecified in value,
|
499
|
+
let's make it zero. */
|
500
|
+
*next_arg = 0UL;
|
501
|
+
dest_cpy += 8 - size;
|
502
|
+
memcpy ((char *) dest_cpy, src, size);
|
503
|
+
next_arg++;
|
504
|
+
}
|
505
|
+
else if (size == 16)
|
506
|
+
{
|
507
|
+
memcpy ((char *) dest_cpy, src, size);
|
508
|
+
next_arg += 2;
|
509
|
+
}
|
510
|
+
else
|
511
|
+
{
|
512
|
+
/* now the general case, we consider embedded floats. */
|
513
|
+
memcpy ((char *) dest_cpy, src, size);
|
514
|
+
darwin64_pass_struct_floats (s, src, nfpr, fprs);
|
515
|
+
next_arg += (size+7)/8;
|
516
|
+
}
|
517
|
+
|
518
|
+
*arg = next_arg;
|
519
|
+
}
|
520
|
+
|
521
|
+
double *
|
522
|
+
darwin64_struct_floats_to_mem (ffi_type *s, char *dest, double *fprs, unsigned *nf)
|
523
|
+
{
|
524
|
+
int i;
|
525
|
+
unsigned struct_offset = 0;
|
526
|
+
|
527
|
+
/* We don't assume anything about the alignment of the source. */
|
528
|
+
for (i = 0; s->elements[i] != NULL; i++)
|
529
|
+
{
|
530
|
+
char *item_base;
|
531
|
+
ffi_type *p = s->elements[i];
|
532
|
+
/* Find the start of this item (0 for the first one). */
|
533
|
+
if (i > 0)
|
534
|
+
struct_offset = FFI_ALIGN(struct_offset, p->alignment);
|
535
|
+
item_base = dest + struct_offset;
|
536
|
+
|
537
|
+
switch (p->type)
|
538
|
+
{
|
539
|
+
case FFI_TYPE_STRUCT:
|
540
|
+
fprs = darwin64_struct_floats_to_mem (p, item_base, fprs, nf);
|
541
|
+
break;
|
542
|
+
case FFI_TYPE_LONGDOUBLE:
|
543
|
+
if (*nf < NUM_FPR_ARG_REGISTERS)
|
544
|
+
{
|
545
|
+
*(double *)item_base = *fprs++ ;
|
546
|
+
(*nf) += 1;
|
547
|
+
}
|
548
|
+
item_base += 8;
|
549
|
+
/* FALL THROUGH */
|
550
|
+
case FFI_TYPE_DOUBLE:
|
551
|
+
if (*nf < NUM_FPR_ARG_REGISTERS)
|
552
|
+
{
|
553
|
+
*(double *)item_base = *fprs++ ;
|
554
|
+
(*nf) += 1;
|
555
|
+
}
|
556
|
+
break;
|
557
|
+
case FFI_TYPE_FLOAT:
|
558
|
+
if (*nf < NUM_FPR_ARG_REGISTERS)
|
559
|
+
{
|
560
|
+
*(float *)item_base = (float) *fprs++ ;
|
561
|
+
(*nf) += 1;
|
562
|
+
}
|
563
|
+
break;
|
564
|
+
default:
|
565
|
+
break;
|
566
|
+
}
|
567
|
+
/* now count the size of what we just used. */
|
568
|
+
struct_offset += p->size;
|
569
|
+
}
|
570
|
+
return fprs;
|
571
|
+
}
|
572
|
+
|
573
|
+
#endif
|
574
|
+
|
575
|
+
/* Adjust the size of S to be correct for Darwin.
|
576
|
+
On Darwin m32, the first field of a structure has natural alignment.
|
577
|
+
On Darwin m64, all fields have natural alignment. */
|
578
|
+
|
579
|
+
static void
|
580
|
+
darwin_adjust_aggregate_sizes (ffi_type *s)
|
581
|
+
{
|
582
|
+
int i;
|
583
|
+
|
584
|
+
if (s->type != FFI_TYPE_STRUCT)
|
585
|
+
return;
|
586
|
+
|
587
|
+
s->size = 0;
|
588
|
+
for (i = 0; s->elements[i] != NULL; i++)
|
589
|
+
{
|
590
|
+
ffi_type *p;
|
591
|
+
int align;
|
592
|
+
|
593
|
+
p = s->elements[i];
|
594
|
+
if (p->type == FFI_TYPE_STRUCT)
|
595
|
+
darwin_adjust_aggregate_sizes (p);
|
596
|
+
#if defined(POWERPC_DARWIN64)
|
597
|
+
/* Natural alignment for all items. */
|
598
|
+
align = p->alignment;
|
599
|
+
#else
|
600
|
+
/* Natural alignment for the first item... */
|
601
|
+
if (i == 0)
|
602
|
+
align = p->alignment;
|
603
|
+
else if (p->alignment == 16 || p->alignment < 4)
|
604
|
+
/* .. subsequent items with vector or align < 4 have natural align. */
|
605
|
+
align = p->alignment;
|
606
|
+
else
|
607
|
+
/* .. or align is 4. */
|
608
|
+
align = 4;
|
609
|
+
#endif
|
610
|
+
/* Pad, if necessary, before adding the current item. */
|
611
|
+
s->size = FFI_ALIGN(s->size, align) + p->size;
|
612
|
+
}
|
613
|
+
|
614
|
+
s->size = FFI_ALIGN(s->size, s->alignment);
|
615
|
+
|
616
|
+
/* This should not be necessary on m64, but harmless. */
|
617
|
+
if (s->elements[0]->type == FFI_TYPE_UINT64
|
618
|
+
|| s->elements[0]->type == FFI_TYPE_SINT64
|
619
|
+
|| s->elements[0]->type == FFI_TYPE_DOUBLE
|
620
|
+
|| s->elements[0]->alignment == 8)
|
621
|
+
s->alignment = s->alignment > 8 ? s->alignment : 8;
|
622
|
+
/* Do not add additional tail padding. */
|
623
|
+
}
|
624
|
+
|
625
|
+
/* Adjust the size of S to be correct for AIX.
|
626
|
+
Word-align double unless it is the first member of a structure. */
|
627
|
+
|
628
|
+
static void
|
629
|
+
aix_adjust_aggregate_sizes (ffi_type *s)
|
630
|
+
{
|
631
|
+
int i;
|
632
|
+
|
633
|
+
if (s->type != FFI_TYPE_STRUCT)
|
634
|
+
return;
|
635
|
+
|
636
|
+
s->size = 0;
|
637
|
+
for (i = 0; s->elements[i] != NULL; i++)
|
638
|
+
{
|
639
|
+
ffi_type *p;
|
640
|
+
int align;
|
641
|
+
|
642
|
+
p = s->elements[i];
|
643
|
+
aix_adjust_aggregate_sizes (p);
|
644
|
+
align = p->alignment;
|
645
|
+
if (i != 0 && p->type == FFI_TYPE_DOUBLE)
|
646
|
+
align = 4;
|
647
|
+
s->size = FFI_ALIGN(s->size, align) + p->size;
|
648
|
+
}
|
649
|
+
|
650
|
+
s->size = FFI_ALIGN(s->size, s->alignment);
|
651
|
+
|
652
|
+
if (s->elements[0]->type == FFI_TYPE_UINT64
|
653
|
+
|| s->elements[0]->type == FFI_TYPE_SINT64
|
654
|
+
|| s->elements[0]->type == FFI_TYPE_DOUBLE
|
655
|
+
|| s->elements[0]->alignment == 8)
|
656
|
+
s->alignment = s->alignment > 8 ? s->alignment : 8;
|
657
|
+
/* Do not add additional tail padding. */
|
658
|
+
}
|
659
|
+
|
660
|
+
/* Perform machine dependent cif processing. */
|
661
|
+
ffi_status
|
662
|
+
ffi_prep_cif_machdep (ffi_cif *cif)
|
663
|
+
{
|
664
|
+
/* All this is for the DARWIN ABI. */
|
665
|
+
unsigned i;
|
666
|
+
ffi_type **ptr;
|
667
|
+
unsigned bytes;
|
668
|
+
unsigned fparg_count = 0, intarg_count = 0;
|
669
|
+
unsigned flags = 0;
|
670
|
+
unsigned size_al = 0;
|
671
|
+
|
672
|
+
/* All the machine-independent calculation of cif->bytes will be wrong.
|
673
|
+
All the calculation of structure sizes will also be wrong.
|
674
|
+
Redo the calculation for DARWIN. */
|
675
|
+
|
676
|
+
if (cif->abi == FFI_DARWIN)
|
677
|
+
{
|
678
|
+
darwin_adjust_aggregate_sizes (cif->rtype);
|
679
|
+
for (i = 0; i < cif->nargs; i++)
|
680
|
+
darwin_adjust_aggregate_sizes (cif->arg_types[i]);
|
681
|
+
}
|
682
|
+
|
683
|
+
if (cif->abi == FFI_AIX)
|
684
|
+
{
|
685
|
+
aix_adjust_aggregate_sizes (cif->rtype);
|
686
|
+
for (i = 0; i < cif->nargs; i++)
|
687
|
+
aix_adjust_aggregate_sizes (cif->arg_types[i]);
|
688
|
+
}
|
689
|
+
|
690
|
+
/* Space for the frame pointer, callee's LR, CR, etc, and for
|
691
|
+
the asm's temp regs. */
|
692
|
+
|
693
|
+
bytes = (LINKAGE_AREA_GPRS + ASM_NEEDS_REGISTERS) * sizeof(unsigned long);
|
694
|
+
|
695
|
+
/* Return value handling.
|
696
|
+
The rules m32 are as follows:
|
697
|
+
- 32-bit (or less) integer values are returned in gpr3;
|
698
|
+
- structures of size <= 4 bytes also returned in gpr3;
|
699
|
+
- 64-bit integer values [??? and structures between 5 and 8 bytes] are
|
700
|
+
returned in gpr3 and gpr4;
|
701
|
+
- Single/double FP values are returned in fpr1;
|
702
|
+
- Long double FP (if not equivalent to double) values are returned in
|
703
|
+
fpr1 and fpr2;
|
704
|
+
m64:
|
705
|
+
- 64-bit or smaller integral values are returned in GPR3
|
706
|
+
- Single/double FP values are returned in fpr1;
|
707
|
+
- Long double FP values are returned in fpr1 and fpr2;
|
708
|
+
m64 Structures:
|
709
|
+
- If the structure could be accommodated in registers were it to be the
|
710
|
+
first argument to a routine, then it is returned in those registers.
|
711
|
+
m32/m64 structures otherwise:
|
712
|
+
- Larger structures values are allocated space and a pointer is passed
|
713
|
+
as the first argument. */
|
714
|
+
switch (cif->rtype->type)
|
715
|
+
{
|
716
|
+
|
717
|
+
#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
|
718
|
+
case FFI_TYPE_LONGDOUBLE:
|
719
|
+
flags |= FLAG_RETURNS_128BITS;
|
720
|
+
flags |= FLAG_RETURNS_FP;
|
721
|
+
break;
|
722
|
+
#endif
|
723
|
+
|
724
|
+
case FFI_TYPE_DOUBLE:
|
725
|
+
flags |= FLAG_RETURNS_64BITS;
|
726
|
+
/* Fall through. */
|
727
|
+
case FFI_TYPE_FLOAT:
|
728
|
+
flags |= FLAG_RETURNS_FP;
|
729
|
+
break;
|
730
|
+
|
731
|
+
case FFI_TYPE_UINT64:
|
732
|
+
case FFI_TYPE_SINT64:
|
733
|
+
#ifdef POWERPC64
|
734
|
+
case FFI_TYPE_POINTER:
|
735
|
+
#endif
|
736
|
+
flags |= FLAG_RETURNS_64BITS;
|
737
|
+
break;
|
738
|
+
|
739
|
+
case FFI_TYPE_STRUCT:
|
740
|
+
#if defined(POWERPC_DARWIN64)
|
741
|
+
{
|
742
|
+
/* Can we fit the struct into regs? */
|
743
|
+
if (darwin64_struct_ret_by_value_p (cif->rtype))
|
744
|
+
{
|
745
|
+
unsigned nfpr = 0;
|
746
|
+
flags |= FLAG_RETURNS_STRUCT;
|
747
|
+
if (cif->rtype->size != 16)
|
748
|
+
darwin64_scan_struct_for_floats (cif->rtype, &nfpr) ;
|
749
|
+
else
|
750
|
+
flags |= FLAG_RETURNS_128BITS;
|
751
|
+
/* Will be 0 for 16byte struct. */
|
752
|
+
if (nfpr)
|
753
|
+
flags |= FLAG_RETURNS_FP;
|
754
|
+
}
|
755
|
+
else /* By ref. */
|
756
|
+
{
|
757
|
+
flags |= FLAG_RETVAL_REFERENCE;
|
758
|
+
flags |= FLAG_RETURNS_NOTHING;
|
759
|
+
intarg_count++;
|
760
|
+
}
|
761
|
+
}
|
762
|
+
#elif defined(DARWIN_PPC)
|
763
|
+
if (cif->rtype->size <= 4)
|
764
|
+
flags |= FLAG_RETURNS_STRUCT;
|
765
|
+
else /* else by reference. */
|
766
|
+
{
|
767
|
+
flags |= FLAG_RETVAL_REFERENCE;
|
768
|
+
flags |= FLAG_RETURNS_NOTHING;
|
769
|
+
intarg_count++;
|
770
|
+
}
|
771
|
+
#else /* assume we pass by ref. */
|
772
|
+
flags |= FLAG_RETVAL_REFERENCE;
|
773
|
+
flags |= FLAG_RETURNS_NOTHING;
|
774
|
+
intarg_count++;
|
775
|
+
#endif
|
776
|
+
break;
|
777
|
+
case FFI_TYPE_VOID:
|
778
|
+
flags |= FLAG_RETURNS_NOTHING;
|
779
|
+
break;
|
780
|
+
|
781
|
+
default:
|
782
|
+
/* Returns 32-bit integer, or similar. Nothing to do here. */
|
783
|
+
break;
|
784
|
+
}
|
785
|
+
|
786
|
+
/* The first NUM_GPR_ARG_REGISTERS words of integer arguments, and the
|
787
|
+
first NUM_FPR_ARG_REGISTERS fp arguments, go in registers; the rest
|
788
|
+
goes on the stack.
|
789
|
+
??? Structures are passed as a pointer to a copy of the structure.
|
790
|
+
Stuff on the stack needs to keep proper alignment.
|
791
|
+
For m64 the count is effectively of half-GPRs. */
|
792
|
+
for (ptr = cif->arg_types, i = cif->nargs; i > 0; i--, ptr++)
|
793
|
+
{
|
794
|
+
unsigned align_words;
|
795
|
+
switch ((*ptr)->type)
|
796
|
+
{
|
797
|
+
case FFI_TYPE_FLOAT:
|
798
|
+
case FFI_TYPE_DOUBLE:
|
799
|
+
fparg_count++;
|
800
|
+
#if !defined(POWERPC_DARWIN64)
|
801
|
+
/* If this FP arg is going on the stack, it must be
|
802
|
+
8-byte-aligned. */
|
803
|
+
if (fparg_count > NUM_FPR_ARG_REGISTERS
|
804
|
+
&& (intarg_count & 0x01) != 0)
|
805
|
+
intarg_count++;
|
806
|
+
#endif
|
807
|
+
break;
|
808
|
+
|
809
|
+
#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
|
810
|
+
case FFI_TYPE_LONGDOUBLE:
|
811
|
+
fparg_count += 2;
|
812
|
+
/* If this FP arg is going on the stack, it must be
|
813
|
+
16-byte-aligned. */
|
814
|
+
if (fparg_count >= NUM_FPR_ARG_REGISTERS)
|
815
|
+
#if defined (POWERPC64)
|
816
|
+
intarg_count = FFI_ALIGN(intarg_count, 2);
|
817
|
+
#else
|
818
|
+
intarg_count = FFI_ALIGN(intarg_count, 4);
|
819
|
+
#endif
|
820
|
+
break;
|
821
|
+
#endif
|
822
|
+
|
823
|
+
case FFI_TYPE_UINT64:
|
824
|
+
case FFI_TYPE_SINT64:
|
825
|
+
#if defined(POWERPC64)
|
826
|
+
intarg_count++;
|
827
|
+
#else
|
828
|
+
/* 'long long' arguments are passed as two words, but
|
829
|
+
either both words must fit in registers or both go
|
830
|
+
on the stack. If they go on the stack, they must
|
831
|
+
be 8-byte-aligned. */
|
832
|
+
if (intarg_count == NUM_GPR_ARG_REGISTERS-1
|
833
|
+
|| (intarg_count >= NUM_GPR_ARG_REGISTERS
|
834
|
+
&& (intarg_count & 0x01) != 0))
|
835
|
+
intarg_count++;
|
836
|
+
intarg_count += 2;
|
837
|
+
#endif
|
838
|
+
break;
|
839
|
+
|
840
|
+
case FFI_TYPE_STRUCT:
|
841
|
+
size_al = (*ptr)->size;
|
842
|
+
#if defined(POWERPC_DARWIN64)
|
843
|
+
align_words = (*ptr)->alignment >> 3;
|
844
|
+
if (align_words)
|
845
|
+
intarg_count = FFI_ALIGN(intarg_count, align_words);
|
846
|
+
/* Base size of the struct. */
|
847
|
+
intarg_count += (size_al + 7) / 8;
|
848
|
+
/* If 16 bytes then don't worry about floats. */
|
849
|
+
if (size_al != 16)
|
850
|
+
/* Scan through for floats to be placed in regs. */
|
851
|
+
darwin64_scan_struct_for_floats (*ptr, &fparg_count) ;
|
852
|
+
#else
|
853
|
+
align_words = (*ptr)->alignment >> 2;
|
854
|
+
if (align_words)
|
855
|
+
intarg_count = FFI_ALIGN(intarg_count, align_words);
|
856
|
+
/* If the first member of the struct is a double, then align
|
857
|
+
the struct to double-word.
|
858
|
+
if ((*ptr)->elements[0]->type == FFI_TYPE_DOUBLE)
|
859
|
+
size_al = FFI_ALIGN((*ptr)->size, 8); */
|
860
|
+
# ifdef POWERPC64
|
861
|
+
intarg_count += (size_al + 7) / 8;
|
862
|
+
# else
|
863
|
+
intarg_count += (size_al + 3) / 4;
|
864
|
+
# endif
|
865
|
+
#endif
|
866
|
+
break;
|
867
|
+
|
868
|
+
default:
|
869
|
+
/* Everything else is passed as a 4-byte word in a GPR, either
|
870
|
+
the object itself or a pointer to it. */
|
871
|
+
intarg_count++;
|
872
|
+
break;
|
873
|
+
}
|
874
|
+
}
|
875
|
+
|
876
|
+
if (fparg_count != 0)
|
877
|
+
flags |= FLAG_FP_ARGUMENTS;
|
878
|
+
|
879
|
+
#if defined(POWERPC_DARWIN64)
|
880
|
+
/* Space to image the FPR registers, if needed - which includes when they might be
|
881
|
+
used in a struct return. */
|
882
|
+
if (fparg_count != 0
|
883
|
+
|| ((flags & FLAG_RETURNS_STRUCT)
|
884
|
+
&& (flags & FLAG_RETURNS_FP)))
|
885
|
+
bytes += NUM_FPR_ARG_REGISTERS * sizeof(double);
|
886
|
+
#else
|
887
|
+
/* Space for the FPR registers, if needed. */
|
888
|
+
if (fparg_count != 0)
|
889
|
+
bytes += NUM_FPR_ARG_REGISTERS * sizeof(double);
|
890
|
+
#endif
|
891
|
+
|
892
|
+
/* Stack space. */
|
893
|
+
#ifdef POWERPC64
|
894
|
+
if ((intarg_count + fparg_count) > NUM_GPR_ARG_REGISTERS)
|
895
|
+
bytes += (intarg_count + fparg_count) * sizeof(long);
|
896
|
+
#else
|
897
|
+
if ((intarg_count + 2 * fparg_count) > NUM_GPR_ARG_REGISTERS)
|
898
|
+
bytes += (intarg_count + 2 * fparg_count) * sizeof(long);
|
899
|
+
#endif
|
900
|
+
else
|
901
|
+
bytes += NUM_GPR_ARG_REGISTERS * sizeof(long);
|
902
|
+
|
903
|
+
/* The stack space allocated needs to be a multiple of 16 bytes. */
|
904
|
+
bytes = FFI_ALIGN(bytes, 16) ;
|
905
|
+
|
906
|
+
cif->flags = flags;
|
907
|
+
cif->bytes = bytes;
|
908
|
+
|
909
|
+
return FFI_OK;
|
910
|
+
}
|
911
|
+
|
912
|
+
extern void ffi_call_AIX(extended_cif *, long, unsigned, unsigned *,
|
913
|
+
void (*fn)(void), void (*fn2)(void));
|
914
|
+
|
915
|
+
#if defined (FFI_GO_CLOSURES)
|
916
|
+
extern void ffi_call_go_AIX(extended_cif *, long, unsigned, unsigned *,
|
917
|
+
void (*fn)(void), void (*fn2)(void), void *closure);
|
918
|
+
#endif
|
919
|
+
|
920
|
+
extern void ffi_call_DARWIN(extended_cif *, long, unsigned, unsigned *,
|
921
|
+
void (*fn)(void), void (*fn2)(void), ffi_type*);
|
922
|
+
|
923
|
+
void
|
924
|
+
ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
|
925
|
+
{
|
926
|
+
extended_cif ecif;
|
927
|
+
|
928
|
+
ecif.cif = cif;
|
929
|
+
ecif.avalue = avalue;
|
930
|
+
|
931
|
+
/* If the return value is a struct and we don't have a return
|
932
|
+
value address then we need to make one. */
|
933
|
+
|
934
|
+
if ((rvalue == NULL) &&
|
935
|
+
(cif->rtype->type == FFI_TYPE_STRUCT))
|
936
|
+
{
|
937
|
+
ecif.rvalue = alloca (cif->rtype->size);
|
938
|
+
}
|
939
|
+
else
|
940
|
+
ecif.rvalue = rvalue;
|
941
|
+
|
942
|
+
switch (cif->abi)
|
943
|
+
{
|
944
|
+
case FFI_AIX:
|
945
|
+
ffi_call_AIX(&ecif, -(long)cif->bytes, cif->flags, ecif.rvalue, fn,
|
946
|
+
FFI_FN(ffi_prep_args));
|
947
|
+
break;
|
948
|
+
case FFI_DARWIN:
|
949
|
+
ffi_call_DARWIN(&ecif, -(long)cif->bytes, cif->flags, ecif.rvalue, fn,
|
950
|
+
FFI_FN(ffi_prep_args), cif->rtype);
|
951
|
+
break;
|
952
|
+
default:
|
953
|
+
FFI_ASSERT(0);
|
954
|
+
break;
|
955
|
+
}
|
956
|
+
}
|
957
|
+
|
958
|
+
#if defined (FFI_GO_CLOSURES)
|
959
|
+
void
|
960
|
+
ffi_call_go (ffi_cif *cif, void (*fn) (void), void *rvalue, void **avalue,
|
961
|
+
void *closure)
|
962
|
+
{
|
963
|
+
extended_cif ecif;
|
964
|
+
|
965
|
+
ecif.cif = cif;
|
966
|
+
ecif.avalue = avalue;
|
967
|
+
|
968
|
+
/* If the return value is a struct and we don't have a return
|
969
|
+
value address then we need to make one. */
|
970
|
+
|
971
|
+
if ((rvalue == NULL) &&
|
972
|
+
(cif->rtype->type == FFI_TYPE_STRUCT))
|
973
|
+
{
|
974
|
+
ecif.rvalue = alloca (cif->rtype->size);
|
975
|
+
}
|
976
|
+
else
|
977
|
+
ecif.rvalue = rvalue;
|
978
|
+
|
979
|
+
switch (cif->abi)
|
980
|
+
{
|
981
|
+
case FFI_AIX:
|
982
|
+
ffi_call_go_AIX(&ecif, -(long)cif->bytes, cif->flags, ecif.rvalue, fn,
|
983
|
+
FFI_FN(ffi_prep_args), closure);
|
984
|
+
break;
|
985
|
+
default:
|
986
|
+
FFI_ASSERT(0);
|
987
|
+
break;
|
988
|
+
}
|
989
|
+
}
|
990
|
+
#endif
|
991
|
+
|
992
|
+
static void flush_icache(char *);
|
993
|
+
static void flush_range(char *, int);
|
994
|
+
|
995
|
+
/* The layout of a function descriptor. A C function pointer really
|
996
|
+
points to one of these. */
|
997
|
+
|
998
|
+
typedef struct aix_fd_struct {
|
999
|
+
void *code_pointer;
|
1000
|
+
void *toc;
|
1001
|
+
} aix_fd;
|
1002
|
+
|
1003
|
+
/* here I'd like to add the stack frame layout we use in darwin_closure.S
|
1004
|
+
and aix_closure.S
|
1005
|
+
|
1006
|
+
m32/m64
|
1007
|
+
|
1008
|
+
The stack layout looks like this:
|
1009
|
+
|
1010
|
+
| Additional params... | | Higher address
|
1011
|
+
~ ~ ~
|
1012
|
+
| Parameters (at least 8*4/8=32/64) | | NUM_GPR_ARG_REGISTERS
|
1013
|
+
|--------------------------------------------| |
|
1014
|
+
| TOC=R2 (AIX) Reserved (Darwin) 4/8 | |
|
1015
|
+
|--------------------------------------------| |
|
1016
|
+
| Reserved 2*4/8 | |
|
1017
|
+
|--------------------------------------------| |
|
1018
|
+
| Space for callee's LR 4/8 | |
|
1019
|
+
|--------------------------------------------| |
|
1020
|
+
| Saved CR [low word for m64] 4/8 | |
|
1021
|
+
|--------------------------------------------| |
|
1022
|
+
| Current backchain pointer 4/8 |-/ Parent's frame.
|
1023
|
+
|--------------------------------------------| <+ <<< on entry to ffi_closure_ASM
|
1024
|
+
| Result Bytes 16 | |
|
1025
|
+
|--------------------------------------------| |
|
1026
|
+
~ padding to 16-byte alignment ~ ~
|
1027
|
+
|--------------------------------------------| |
|
1028
|
+
| NUM_FPR_ARG_REGISTERS slots | |
|
1029
|
+
| here fp13 .. fp1 13*8 | |
|
1030
|
+
|--------------------------------------------| |
|
1031
|
+
| R3..R10 8*4/8=32/64 | | NUM_GPR_ARG_REGISTERS
|
1032
|
+
|--------------------------------------------| |
|
1033
|
+
| TOC=R2 (AIX) Reserved (Darwin) 4/8 | |
|
1034
|
+
|--------------------------------------------| | stack |
|
1035
|
+
| Reserved [compiler,binder] 2*4/8 | | grows |
|
1036
|
+
|--------------------------------------------| | down V
|
1037
|
+
| Space for callee's LR 4/8 | |
|
1038
|
+
|--------------------------------------------| | lower addresses
|
1039
|
+
| Saved CR [low word for m64] 4/8 | |
|
1040
|
+
|--------------------------------------------| | stack pointer here
|
1041
|
+
| Current backchain pointer 4/8 |-/ during
|
1042
|
+
|--------------------------------------------| <<< ffi_closure_ASM.
|
1043
|
+
|
1044
|
+
*/
|
1045
|
+
|
1046
|
+
ffi_status
|
1047
|
+
ffi_prep_closure_loc (ffi_closure* closure,
|
1048
|
+
ffi_cif* cif,
|
1049
|
+
void (*fun)(ffi_cif*, void*, void**, void*),
|
1050
|
+
void *user_data,
|
1051
|
+
void *codeloc)
|
1052
|
+
{
|
1053
|
+
unsigned int *tramp;
|
1054
|
+
struct ffi_aix_trampoline_struct *tramp_aix;
|
1055
|
+
aix_fd *fd;
|
1056
|
+
|
1057
|
+
switch (cif->abi)
|
1058
|
+
{
|
1059
|
+
case FFI_DARWIN:
|
1060
|
+
|
1061
|
+
FFI_ASSERT (cif->abi == FFI_DARWIN);
|
1062
|
+
|
1063
|
+
tramp = (unsigned int *) &closure->tramp[0];
|
1064
|
+
#if defined(POWERPC_DARWIN64)
|
1065
|
+
tramp[0] = 0x7c0802a6; /* mflr r0 */
|
1066
|
+
tramp[1] = 0x429f0015; /* bcl- 20,4*cr7+so, +0x18 (L1) */
|
1067
|
+
/* We put the addresses here. */
|
1068
|
+
tramp[6] = 0x7d6802a6; /*L1: mflr r11 */
|
1069
|
+
tramp[7] = 0xe98b0000; /* ld r12,0(r11) function address */
|
1070
|
+
tramp[8] = 0x7c0803a6; /* mtlr r0 */
|
1071
|
+
tramp[9] = 0x7d8903a6; /* mtctr r12 */
|
1072
|
+
tramp[10] = 0xe96b0008; /* lwz r11,8(r11) static chain */
|
1073
|
+
tramp[11] = 0x4e800420; /* bctr */
|
1074
|
+
|
1075
|
+
*((unsigned long *)&tramp[2]) = (unsigned long) ffi_closure_ASM; /* function */
|
1076
|
+
*((unsigned long *)&tramp[4]) = (unsigned long) codeloc; /* context */
|
1077
|
+
#else
|
1078
|
+
tramp[0] = 0x7c0802a6; /* mflr r0 */
|
1079
|
+
tramp[1] = 0x429f000d; /* bcl- 20,4*cr7+so,0x10 */
|
1080
|
+
tramp[4] = 0x7d6802a6; /* mflr r11 */
|
1081
|
+
tramp[5] = 0x818b0000; /* lwz r12,0(r11) function address */
|
1082
|
+
tramp[6] = 0x7c0803a6; /* mtlr r0 */
|
1083
|
+
tramp[7] = 0x7d8903a6; /* mtctr r12 */
|
1084
|
+
tramp[8] = 0x816b0004; /* lwz r11,4(r11) static chain */
|
1085
|
+
tramp[9] = 0x4e800420; /* bctr */
|
1086
|
+
tramp[2] = (unsigned long) ffi_closure_ASM; /* function */
|
1087
|
+
tramp[3] = (unsigned long) codeloc; /* context */
|
1088
|
+
#endif
|
1089
|
+
closure->cif = cif;
|
1090
|
+
closure->fun = fun;
|
1091
|
+
closure->user_data = user_data;
|
1092
|
+
|
1093
|
+
/* Flush the icache. Only necessary on Darwin. */
|
1094
|
+
flush_range(codeloc, FFI_TRAMPOLINE_SIZE);
|
1095
|
+
|
1096
|
+
break;
|
1097
|
+
|
1098
|
+
case FFI_AIX:
|
1099
|
+
|
1100
|
+
tramp_aix = (struct ffi_aix_trampoline_struct *) (closure->tramp);
|
1101
|
+
fd = (aix_fd *)(void *)ffi_closure_ASM;
|
1102
|
+
|
1103
|
+
FFI_ASSERT (cif->abi == FFI_AIX);
|
1104
|
+
|
1105
|
+
tramp_aix->code_pointer = fd->code_pointer;
|
1106
|
+
tramp_aix->toc = fd->toc;
|
1107
|
+
tramp_aix->static_chain = codeloc;
|
1108
|
+
closure->cif = cif;
|
1109
|
+
closure->fun = fun;
|
1110
|
+
closure->user_data = user_data;
|
1111
|
+
break;
|
1112
|
+
|
1113
|
+
default:
|
1114
|
+
return FFI_BAD_ABI;
|
1115
|
+
break;
|
1116
|
+
}
|
1117
|
+
return FFI_OK;
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
#if defined (FFI_GO_CLOSURES)
|
1121
|
+
ffi_status
|
1122
|
+
ffi_prep_go_closure (ffi_go_closure* closure,
|
1123
|
+
ffi_cif* cif,
|
1124
|
+
void (*fun)(ffi_cif*, void*, void**, void*))
|
1125
|
+
{
|
1126
|
+
switch (cif->abi)
|
1127
|
+
{
|
1128
|
+
case FFI_AIX:
|
1129
|
+
|
1130
|
+
FFI_ASSERT (cif->abi == FFI_AIX);
|
1131
|
+
|
1132
|
+
closure->tramp = (void *)ffi_go_closure_ASM;
|
1133
|
+
closure->cif = cif;
|
1134
|
+
closure->fun = fun;
|
1135
|
+
return FFI_OK;
|
1136
|
+
|
1137
|
+
// For now, ffi_prep_go_closure is only implemented for AIX, not for Darwin
|
1138
|
+
default:
|
1139
|
+
return FFI_BAD_ABI;
|
1140
|
+
break;
|
1141
|
+
}
|
1142
|
+
return FFI_OK;
|
1143
|
+
}
|
1144
|
+
#endif
|
1145
|
+
|
1146
|
+
static void
|
1147
|
+
flush_icache(char *addr)
|
1148
|
+
{
|
1149
|
+
#ifndef _AIX
|
1150
|
+
__asm__ volatile (
|
1151
|
+
"dcbf 0,%0\n"
|
1152
|
+
"\tsync\n"
|
1153
|
+
"\ticbi 0,%0\n"
|
1154
|
+
"\tsync\n"
|
1155
|
+
"\tisync"
|
1156
|
+
: : "r"(addr) : "memory");
|
1157
|
+
#endif
|
1158
|
+
}
|
1159
|
+
|
1160
|
+
static void
|
1161
|
+
flush_range(char * addr1, int size)
|
1162
|
+
{
|
1163
|
+
#define MIN_LINE_SIZE 32
|
1164
|
+
int i;
|
1165
|
+
for (i = 0; i < size; i += MIN_LINE_SIZE)
|
1166
|
+
flush_icache(addr1+i);
|
1167
|
+
flush_icache(addr1+size-1);
|
1168
|
+
}
|
1169
|
+
|
1170
|
+
typedef union
|
1171
|
+
{
|
1172
|
+
float f;
|
1173
|
+
double d;
|
1174
|
+
} ffi_dblfl;
|
1175
|
+
|
1176
|
+
ffi_type *
|
1177
|
+
ffi_closure_helper_DARWIN (ffi_closure *, void *,
|
1178
|
+
unsigned long *, ffi_dblfl *);
|
1179
|
+
|
1180
|
+
#if defined (FFI_GO_CLOSURES)
|
1181
|
+
ffi_type *
|
1182
|
+
ffi_go_closure_helper_DARWIN (ffi_go_closure*, void *,
|
1183
|
+
unsigned long *, ffi_dblfl *);
|
1184
|
+
#endif
|
1185
|
+
|
1186
|
+
/* Basically the trampoline invokes ffi_closure_ASM, and on
|
1187
|
+
entry, r11 holds the address of the closure.
|
1188
|
+
After storing the registers that could possibly contain
|
1189
|
+
parameters to be passed into the stack frame and setting
|
1190
|
+
up space for a return value, ffi_closure_ASM invokes the
|
1191
|
+
following helper function to do most of the work. */
|
1192
|
+
|
1193
|
+
static ffi_type *
|
1194
|
+
ffi_closure_helper_common (ffi_cif* cif,
|
1195
|
+
void (*fun)(ffi_cif*, void*, void**, void*),
|
1196
|
+
void *user_data, void *rvalue,
|
1197
|
+
unsigned long *pgr, ffi_dblfl *pfr)
|
1198
|
+
{
|
1199
|
+
/* rvalue is the pointer to space for return value in closure assembly
|
1200
|
+
pgr is the pointer to where r3-r10 are stored in ffi_closure_ASM
|
1201
|
+
pfr is the pointer to where f1-f13 are stored in ffi_closure_ASM. */
|
1202
|
+
|
1203
|
+
typedef double ldbits[2];
|
1204
|
+
|
1205
|
+
union ldu
|
1206
|
+
{
|
1207
|
+
ldbits lb;
|
1208
|
+
long double ld;
|
1209
|
+
};
|
1210
|
+
|
1211
|
+
void ** avalue;
|
1212
|
+
ffi_type ** arg_types;
|
1213
|
+
long i, avn;
|
1214
|
+
ffi_dblfl * end_pfr = pfr + NUM_FPR_ARG_REGISTERS;
|
1215
|
+
unsigned size_al;
|
1216
|
+
#if defined(POWERPC_DARWIN64)
|
1217
|
+
unsigned fpsused = 0;
|
1218
|
+
#endif
|
1219
|
+
|
1220
|
+
avalue = alloca (cif->nargs * sizeof(void *));
|
1221
|
+
|
1222
|
+
if (cif->rtype->type == FFI_TYPE_STRUCT)
|
1223
|
+
{
|
1224
|
+
#if defined(POWERPC_DARWIN64)
|
1225
|
+
if (!darwin64_struct_ret_by_value_p (cif->rtype))
|
1226
|
+
{
|
1227
|
+
/* Won't fit into the regs - return by ref. */
|
1228
|
+
rvalue = (void *) *pgr;
|
1229
|
+
pgr++;
|
1230
|
+
}
|
1231
|
+
#elif defined(DARWIN_PPC)
|
1232
|
+
if (cif->rtype->size > 4)
|
1233
|
+
{
|
1234
|
+
rvalue = (void *) *pgr;
|
1235
|
+
pgr++;
|
1236
|
+
}
|
1237
|
+
#else /* assume we return by ref. */
|
1238
|
+
rvalue = (void *) *pgr;
|
1239
|
+
pgr++;
|
1240
|
+
#endif
|
1241
|
+
}
|
1242
|
+
|
1243
|
+
i = 0;
|
1244
|
+
avn = cif->nargs;
|
1245
|
+
arg_types = cif->arg_types;
|
1246
|
+
|
1247
|
+
/* Grab the addresses of the arguments from the stack frame. */
|
1248
|
+
while (i < avn)
|
1249
|
+
{
|
1250
|
+
switch (arg_types[i]->type)
|
1251
|
+
{
|
1252
|
+
case FFI_TYPE_SINT8:
|
1253
|
+
case FFI_TYPE_UINT8:
|
1254
|
+
#if defined(POWERPC64)
|
1255
|
+
avalue[i] = (char *) pgr + 7;
|
1256
|
+
#else
|
1257
|
+
avalue[i] = (char *) pgr + 3;
|
1258
|
+
#endif
|
1259
|
+
pgr++;
|
1260
|
+
break;
|
1261
|
+
|
1262
|
+
case FFI_TYPE_SINT16:
|
1263
|
+
case FFI_TYPE_UINT16:
|
1264
|
+
#if defined(POWERPC64)
|
1265
|
+
avalue[i] = (char *) pgr + 6;
|
1266
|
+
#else
|
1267
|
+
avalue[i] = (char *) pgr + 2;
|
1268
|
+
#endif
|
1269
|
+
pgr++;
|
1270
|
+
break;
|
1271
|
+
|
1272
|
+
case FFI_TYPE_SINT32:
|
1273
|
+
case FFI_TYPE_UINT32:
|
1274
|
+
#if defined(POWERPC64)
|
1275
|
+
avalue[i] = (char *) pgr + 4;
|
1276
|
+
#else
|
1277
|
+
case FFI_TYPE_POINTER:
|
1278
|
+
avalue[i] = pgr;
|
1279
|
+
#endif
|
1280
|
+
pgr++;
|
1281
|
+
break;
|
1282
|
+
|
1283
|
+
case FFI_TYPE_STRUCT:
|
1284
|
+
size_al = arg_types[i]->size;
|
1285
|
+
#if defined(POWERPC_DARWIN64)
|
1286
|
+
pgr = (unsigned long *)FFI_ALIGN((char *)pgr, arg_types[i]->alignment);
|
1287
|
+
if (size_al < 3 || size_al == 4)
|
1288
|
+
{
|
1289
|
+
avalue[i] = ((char *)pgr)+8-size_al;
|
1290
|
+
if (arg_types[i]->elements[0]->type == FFI_TYPE_FLOAT
|
1291
|
+
&& fpsused < NUM_FPR_ARG_REGISTERS)
|
1292
|
+
{
|
1293
|
+
*(float *)pgr = (float) *(double *)pfr;
|
1294
|
+
pfr++;
|
1295
|
+
fpsused++;
|
1296
|
+
}
|
1297
|
+
}
|
1298
|
+
else
|
1299
|
+
{
|
1300
|
+
if (size_al != 16)
|
1301
|
+
pfr = (ffi_dblfl *)
|
1302
|
+
darwin64_struct_floats_to_mem (arg_types[i], (char *)pgr,
|
1303
|
+
(double *)pfr, &fpsused);
|
1304
|
+
avalue[i] = pgr;
|
1305
|
+
}
|
1306
|
+
pgr += (size_al + 7) / 8;
|
1307
|
+
#else
|
1308
|
+
/* If the first member of the struct is a double, then align
|
1309
|
+
the struct to double-word. */
|
1310
|
+
if (arg_types[i]->elements[0]->type == FFI_TYPE_DOUBLE)
|
1311
|
+
size_al = FFI_ALIGN(arg_types[i]->size, 8);
|
1312
|
+
# if defined(POWERPC64)
|
1313
|
+
FFI_ASSERT (cif->abi != FFI_DARWIN);
|
1314
|
+
avalue[i] = pgr;
|
1315
|
+
pgr += (size_al + 7) / 8;
|
1316
|
+
# else
|
1317
|
+
/* Structures that match the basic modes (QI 1 byte, HI 2 bytes,
|
1318
|
+
SI 4 bytes) are aligned as if they were those modes. */
|
1319
|
+
if (size_al < 3 && cif->abi == FFI_DARWIN)
|
1320
|
+
avalue[i] = (char*) pgr + 4 - size_al;
|
1321
|
+
else
|
1322
|
+
avalue[i] = pgr;
|
1323
|
+
pgr += (size_al + 3) / 4;
|
1324
|
+
# endif
|
1325
|
+
#endif
|
1326
|
+
break;
|
1327
|
+
|
1328
|
+
case FFI_TYPE_SINT64:
|
1329
|
+
case FFI_TYPE_UINT64:
|
1330
|
+
#if defined(POWERPC64)
|
1331
|
+
case FFI_TYPE_POINTER:
|
1332
|
+
avalue[i] = pgr;
|
1333
|
+
pgr++;
|
1334
|
+
break;
|
1335
|
+
#else
|
1336
|
+
/* Long long ints are passed in two gpr's. */
|
1337
|
+
avalue[i] = pgr;
|
1338
|
+
pgr += 2;
|
1339
|
+
break;
|
1340
|
+
#endif
|
1341
|
+
|
1342
|
+
case FFI_TYPE_FLOAT:
|
1343
|
+
/* A float value consumes a GPR.
|
1344
|
+
There are 13 64bit floating point registers. */
|
1345
|
+
if (pfr < end_pfr)
|
1346
|
+
{
|
1347
|
+
double temp = pfr->d;
|
1348
|
+
pfr->f = (float) temp;
|
1349
|
+
avalue[i] = pfr;
|
1350
|
+
pfr++;
|
1351
|
+
}
|
1352
|
+
else
|
1353
|
+
{
|
1354
|
+
avalue[i] = pgr;
|
1355
|
+
}
|
1356
|
+
pgr++;
|
1357
|
+
break;
|
1358
|
+
|
1359
|
+
case FFI_TYPE_DOUBLE:
|
1360
|
+
/* A double value consumes two GPRs.
|
1361
|
+
There are 13 64bit floating point registers. */
|
1362
|
+
if (pfr < end_pfr)
|
1363
|
+
{
|
1364
|
+
avalue[i] = pfr;
|
1365
|
+
pfr++;
|
1366
|
+
}
|
1367
|
+
else
|
1368
|
+
{
|
1369
|
+
avalue[i] = pgr;
|
1370
|
+
}
|
1371
|
+
#ifdef POWERPC64
|
1372
|
+
pgr++;
|
1373
|
+
#else
|
1374
|
+
pgr += 2;
|
1375
|
+
#endif
|
1376
|
+
break;
|
1377
|
+
|
1378
|
+
#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
|
1379
|
+
|
1380
|
+
case FFI_TYPE_LONGDOUBLE:
|
1381
|
+
#ifdef POWERPC64
|
1382
|
+
if (pfr + 1 < end_pfr)
|
1383
|
+
{
|
1384
|
+
avalue[i] = pfr;
|
1385
|
+
pfr += 2;
|
1386
|
+
}
|
1387
|
+
else
|
1388
|
+
{
|
1389
|
+
if (pfr < end_pfr)
|
1390
|
+
{
|
1391
|
+
*pgr = *(unsigned long *) pfr;
|
1392
|
+
pfr++;
|
1393
|
+
}
|
1394
|
+
avalue[i] = pgr;
|
1395
|
+
}
|
1396
|
+
pgr += 2;
|
1397
|
+
#else /* POWERPC64 */
|
1398
|
+
/* A long double value consumes four GPRs and two FPRs.
|
1399
|
+
There are 13 64bit floating point registers. */
|
1400
|
+
if (pfr + 1 < end_pfr)
|
1401
|
+
{
|
1402
|
+
avalue[i] = pfr;
|
1403
|
+
pfr += 2;
|
1404
|
+
}
|
1405
|
+
/* Here we have the situation where one part of the long double
|
1406
|
+
is stored in fpr13 and the other part is already on the stack.
|
1407
|
+
We use a union to pass the long double to avalue[i]. */
|
1408
|
+
else if (pfr + 1 == end_pfr)
|
1409
|
+
{
|
1410
|
+
union ldu temp_ld;
|
1411
|
+
memcpy (&temp_ld.lb[0], pfr, sizeof(ldbits));
|
1412
|
+
memcpy (&temp_ld.lb[1], pgr + 2, sizeof(ldbits));
|
1413
|
+
avalue[i] = &temp_ld.ld;
|
1414
|
+
pfr++;
|
1415
|
+
}
|
1416
|
+
else
|
1417
|
+
{
|
1418
|
+
avalue[i] = pgr;
|
1419
|
+
}
|
1420
|
+
pgr += 4;
|
1421
|
+
#endif /* POWERPC64 */
|
1422
|
+
break;
|
1423
|
+
#endif
|
1424
|
+
default:
|
1425
|
+
FFI_ASSERT(0);
|
1426
|
+
}
|
1427
|
+
i++;
|
1428
|
+
}
|
1429
|
+
|
1430
|
+
(fun) (cif, rvalue, avalue, user_data);
|
1431
|
+
|
1432
|
+
/* Tell ffi_closure_ASM to perform return type promotions. */
|
1433
|
+
return cif->rtype;
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
ffi_type *
|
1437
|
+
ffi_closure_helper_DARWIN (ffi_closure *closure, void *rvalue,
|
1438
|
+
unsigned long *pgr, ffi_dblfl *pfr)
|
1439
|
+
{
|
1440
|
+
return ffi_closure_helper_common (closure->cif, closure->fun,
|
1441
|
+
closure->user_data, rvalue, pgr, pfr);
|
1442
|
+
}
|
1443
|
+
|
1444
|
+
#if defined (FFI_GO_CLOSURES)
|
1445
|
+
ffi_type *
|
1446
|
+
ffi_go_closure_helper_DARWIN (ffi_go_closure *closure, void *rvalue,
|
1447
|
+
unsigned long *pgr, ffi_dblfl *pfr)
|
1448
|
+
{
|
1449
|
+
return ffi_closure_helper_common (closure->cif, closure->fun,
|
1450
|
+
closure, rvalue, pgr, pfr);
|
1451
|
+
}
|
1452
|
+
#endif
|