| /third_party/libexif/test/ |
| H A D | check-failmalloc.sh | 3 # The test runs a binary multiple times while configuring Failmalloc to fail a 7 # Ideally, it would ensure that the test binary returns an error code on each 26 # If libtool is in use, the normal "binary" is actually a shell script which 28 # binary which should work properly. 32 # Usage: failmalloc_binary_test #iterations binary <optional arguments> 36 binary="$BINARY_PREFIX$2" 40 echo Checking "$binary" for "$iterations" iterations 43 FAILMALLOC_INTERVAL="$n" LD_PRELOAD="$FAILMALLOC_PATH" "$binary" "$@" >/dev/null 49 echo "Abnormal binary exit status $s at malloc #$n on $binary" [all...] |
| /third_party/skia/third_party/externals/spirv-tools/test/reduce/ |
| H A D | reducer_test.cpp | 32 // binary is interesting, until some limit is reached after which the binary is 36 // reduced binary for tests. 224 bool InterestingWhileOpcodeExists(const std::vector<uint32_t>& binary, in InterestingWhileOpcodeExists() argument 229 DumpShader(binary, ss.str().c_str()); in InterestingWhileOpcodeExists() 233 BuildModule(kEnv, kMessageConsumer, binary.data(), binary.size()); in InterestingWhileOpcodeExists() 254 bool InterestingWhileIMulReachable(const std::vector<uint32_t>& binary, in InterestingWhileIMulReachable() argument 256 return InterestingWhileOpcodeExists(binary, SpvOpIMul, count, false); in InterestingWhileIMulReachable() 259 bool InterestingWhileSDivReachable(const std::vector<uint32_t>& binary, in InterestingWhileSDivReachable() argument 563 GetFunctionInstructionCount( const std::vector<uint32_t>& binary) GetFunctionInstructionCount() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/ |
| H A D | reducer_test.cpp | 32 // binary is interesting, until some limit is reached after which the binary is 36 // reduced binary for tests. 224 bool InterestingWhileOpcodeExists(const std::vector<uint32_t>& binary, in InterestingWhileOpcodeExists() argument 229 DumpShader(binary, ss.str().c_str()); in InterestingWhileOpcodeExists() 233 BuildModule(kEnv, kMessageConsumer, binary.data(), binary.size()); in InterestingWhileOpcodeExists() 254 bool InterestingWhileIMulReachable(const std::vector<uint32_t>& binary, in InterestingWhileIMulReachable() argument 256 return InterestingWhileOpcodeExists(binary, SpvOpIMul, count, false); in InterestingWhileIMulReachable() 259 bool InterestingWhileSDivReachable(const std::vector<uint32_t>& binary, in InterestingWhileSDivReachable() argument 563 GetFunctionInstructionCount( const std::vector<uint32_t>& binary) GetFunctionInstructionCount() argument [all...] |
| /third_party/spirv-tools/test/reduce/ |
| H A D | reducer_test.cpp | 32 // binary is interesting, until some limit is reached after which the binary is 36 // reduced binary for tests. 224 bool InterestingWhileOpcodeExists(const std::vector<uint32_t>& binary, in InterestingWhileOpcodeExists() argument 229 DumpShader(binary, ss.str().c_str()); in InterestingWhileOpcodeExists() 233 BuildModule(kEnv, kMessageConsumer, binary.data(), binary.size()); in InterestingWhileOpcodeExists() 254 bool InterestingWhileIMulReachable(const std::vector<uint32_t>& binary, in InterestingWhileIMulReachable() argument 256 return InterestingWhileOpcodeExists(binary, spv::Op::OpIMul, count, false); in InterestingWhileIMulReachable() 259 bool InterestingWhileSDivReachable(const std::vector<uint32_t>& binary, in InterestingWhileSDivReachable() argument 563 GetFunctionInstructionCount( const std::vector<uint32_t>& binary) GetFunctionInstructionCount() argument [all...] |
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| H A D | sh_css_params.c | 106 #define FPNTBL_BYTES(binary) \ 107 (sizeof(char) * (binary)->in_frame_info.res.height * \ 108 (binary)->in_frame_info.padded_width) 110 #define ISP2400_SCTBL_BYTES(binary) \ 111 (sizeof(unsigned short) * (binary)->sctbl_height * \ 112 (binary)->sctbl_aligned_width_per_color * IA_CSS_SC_NUM_COLORS) 114 #define ISP2401_SCTBL_BYTES(binary) \ 115 (sizeof(unsigned short) * max((binary)->sctbl_height, (binary)->sctbl_legacy_height) * \ 117 (binary) 1097 const struct ia_css_binary *binary = stage->binary; ia_css_params_alloc_convert_sctbl() local 1169 sh_css_enable_pipeline(const struct ia_css_binary *binary) sh_css_enable_pipeline() argument 1200 struct ia_css_binary *binary; ia_css_process_zoom_and_motion() local 1430 sh_css_params_default_morph_table( struct ia_css_morph_table **table, const struct ia_css_binary *binary) sh_css_params_default_morph_table() argument 3134 sh_css_update_isp_mem_params_to_ddr( const struct ia_css_binary *binary, ia_css_ptr ddr_mem_ptr, size_t size, enum ia_css_isp_memories mem) sh_css_update_isp_mem_params_to_ddr() argument 3441 const struct ia_css_binary *binary; sh_css_params_write_to_ddr_internal() local 3879 const struct ia_css_binary *binary ia_css_get_shading_table() local 3897 const struct ia_css_binary *binary ia_css_get_shading_table() local [all...] |
| /third_party/skia/third_party/externals/spirv-tools/include/spirv-tools/ |
| H A D | libspirv.hpp | 309 // Assembles the given assembly |text| and writes the result to |binary|. 310 // Returns true on successful assembling. |binary| will be kept untouched if 312 // The SPIR-V binary version is set to the highest version of SPIR-V supported 314 bool Assemble(const std::string& text, std::vector<uint32_t>* binary, 318 // The SPIR-V binary version is set to the highest version of SPIR-V supported 321 std::vector<uint32_t>* binary, 324 // Disassembles the given SPIR-V |binary| with the given |options| and writes 327 bool Disassemble(const std::vector<uint32_t>& binary, std::string* text, 329 // |binary_size| specifies the number of words in |binary|. 330 bool Disassemble(const uint32_t* binary, size_ [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/ |
| H A D | libspirv.hpp | 309 // Assembles the given assembly |text| and writes the result to |binary|. 310 // Returns true on successful assembling. |binary| will be kept untouched if 312 // The SPIR-V binary version is set to the highest version of SPIR-V supported 314 bool Assemble(const std::string& text, std::vector<uint32_t>* binary, 318 // The SPIR-V binary version is set to the highest version of SPIR-V supported 321 std::vector<uint32_t>* binary, 324 // Disassembles the given SPIR-V |binary| with the given |options| and writes 327 bool Disassemble(const std::vector<uint32_t>& binary, std::string* text, 329 // |binary_size| specifies the number of words in |binary|. 330 bool Disassemble(const uint32_t* binary, size_ [all...] |
| /third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/ |
| H A D | bitcode.cpp | 52 using clover::binary; 73 binary 75 enum binary::section::type section_type) { in build_module_library() 76 binary b; in build_module_library() 83 clover::llvm::parse_module_library(const binary &b, ::llvm::LLVMContext &ctx, in parse_module_library()
|
| /third_party/node/deps/v8/third_party/wasm-api/example/ |
| H A D | hello.c | 26 // Load binary. in main() 27 printf("Loading binary...\n"); in main() 36 wasm_byte_vec_t binary; in main() local 37 wasm_byte_vec_new_uninitialized(&binary, file_size); in main() 38 if (fread(binary.data, file_size, 1, file) != 1) { in main() 46 own wasm_module_t* module = wasm_module_new(store, &binary); in main() 52 wasm_byte_vec_delete(&binary); in main()
|
| H A D | finalize.c | 21 // Load binary. in run_in_store() 22 printf("Loading binary...\n"); in run_in_store() 31 wasm_byte_vec_t binary; in run_in_store() local 32 wasm_byte_vec_new_uninitialized(&binary, file_size); in run_in_store() 33 if (fread(binary.data, file_size, 1, file) != 1) { in run_in_store() 41 own wasm_module_t* module = wasm_module_new(store, &binary); in run_in_store() 47 wasm_byte_vec_delete(&binary); in run_in_store()
|
| H A D | serialize.c | 24 // Load binary. in main() 25 printf("Loading binary...\n"); in main() 34 wasm_byte_vec_t binary; in main() local 35 wasm_byte_vec_new_uninitialized(&binary, file_size); in main() 36 if (fread(binary.data, file_size, 1, file) != 1) { in main() 44 own wasm_module_t* module = wasm_module_new(store, &binary); in main() 50 wasm_byte_vec_delete(&binary); in main()
|
| H A D | start.c | 27 // Load binary. in main() 28 printf("Loading binary...\n"); in main() 37 wasm_byte_vec_t binary; in main() local 38 wasm_byte_vec_new_uninitialized(&binary, file_size); in main() 39 if (fread(binary.data, file_size, 1, file) != 1) { in main() 47 own wasm_module_t* module = wasm_module_new(store, &binary); in main() 53 wasm_byte_vec_delete(&binary); in main()
|
| /third_party/skia/third_party/externals/spirv-tools/test/ |
| H A D | preserve_numeric_ids_test.cpp | 28 // Converts code to binary and then back to text. 35 spv_binary binary; in ToBinaryAndBack() local 40 text_to_binary_options, &binary, nullptr); in ToBinaryAndBack() 45 result = spvBinaryToText(ctx.context, binary->code, binary->wordCount, in ToBinaryAndBack() 53 spvBinaryDestroy(binary); in ToBinaryAndBack()
|
| H A D | binary_header_get_test.cpp | 33 binary.code = code; in SetUp() 34 binary.wordCount = 6; in SetUp() 37 return spv_const_binary_t{binary.code, binary.wordCount}; in get_const_binary() 42 spv_binary_t binary; member in spvtools::__anon21939::BinaryHeaderGet 77 binary.wordCount = i; in TEST_F()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
| H A D | preserve_numeric_ids_test.cpp | 28 // Converts code to binary and then back to text. 35 spv_binary binary; in ToBinaryAndBack() local 40 text_to_binary_options, &binary, nullptr); in ToBinaryAndBack() 45 result = spvBinaryToText(ctx.context, binary->code, binary->wordCount, in ToBinaryAndBack() 53 spvBinaryDestroy(binary); in ToBinaryAndBack()
|
| H A D | binary_header_get_test.cpp | 33 binary.code = code; in SetUp() 34 binary.wordCount = 6; in SetUp() 37 return spv_const_binary_t{binary.code, binary.wordCount}; in get_const_binary() 42 spv_binary_t binary; member in spvtools::__anon23196::BinaryHeaderGet 77 binary.wordCount = i; in TEST_F()
|
| /third_party/protobuf/ruby/ext/google/protobuf_c/ |
| H A D | protobuf.c | 5 // Redistribution and use in source and binary forms, with or without 11 // * Redistributions in binary form must reproduce the above 41 static VALUE create_frozen_string(const char* str, size_t size, bool binary) { in create_frozen_string() argument 45 binary ? kRubyString8bitEncoding : kRubyStringUtf8Encoding); in create_frozen_string() 50 VALUE get_frozen_string(const char* str, size_t size, bool binary) { in get_frozen_string() argument 52 return binary ? cached_empty_bytes : cached_empty_string; in get_frozen_string() 60 return create_frozen_string(str, size, binary); in get_frozen_string()
|
| /third_party/spirv-tools/test/ |
| H A D | preserve_numeric_ids_test.cpp | 28 // Converts code to binary and then back to text. 35 spv_binary binary; in ToBinaryAndBack() local 40 text_to_binary_options, &binary, nullptr); in ToBinaryAndBack() 45 result = spvBinaryToText(ctx.context, binary->code, binary->wordCount, in ToBinaryAndBack() 53 spvBinaryDestroy(binary); in ToBinaryAndBack()
|
| H A D | binary_header_get_test.cpp | 33 binary.code = code; in SetUp() 34 binary.wordCount = 6; in SetUp() 37 return spv_const_binary_t{binary.code, binary.wordCount}; in get_const_binary() 42 spv_binary_t binary; member in spvtools::__anon26728::BinaryHeaderGet 77 binary.wordCount = i; in TEST_F()
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/output/output_1.0/ |
| H A D | ia_css_output.host.c | 96 const struct ia_css_binary *binary, in ia_css_output_configure() 105 ia_css_configure_output(binary, &config); in ia_css_output_configure() 111 const struct ia_css_binary *binary, in ia_css_output0_configure() 120 ia_css_configure_output0(binary, &config); in ia_css_output0_configure() 126 const struct ia_css_binary *binary, in ia_css_output1_configure() 135 ia_css_configure_output1(binary, &config); in ia_css_output1_configure() 95 ia_css_output_configure( const struct ia_css_binary *binary, const struct ia_css_frame_info *info) ia_css_output_configure() argument 110 ia_css_output0_configure( const struct ia_css_binary *binary, const struct ia_css_frame_info *info) ia_css_output0_configure() argument 125 ia_css_output1_configure( const struct ia_css_binary *binary, const struct ia_css_frame_info *info) ia_css_output1_configure() argument
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/output/output_1.0/ |
| H A D | ia_css_output.host.c | 92 int ia_css_output_configure(const struct ia_css_binary *binary, in ia_css_output_configure() argument 101 return ia_css_configure_output(binary, &config); in ia_css_output_configure() 106 int ia_css_output0_configure(const struct ia_css_binary *binary, in ia_css_output0_configure() argument 115 return ia_css_configure_output0(binary, &config); in ia_css_output0_configure() 120 int ia_css_output1_configure(const struct ia_css_binary *binary, in ia_css_output1_configure() argument 129 return ia_css_configure_output1(binary, &config); in ia_css_output1_configure()
|
| /third_party/skia/third_party/externals/spirv-tools/test/link/ |
| H A D | global_values_amount_test.cpp | 80 spvtest::Binary binary = { variable 98 binary.push_back(4u << SpvWordCountShift | SpvOpVariable); 99 binary.push_back(2u); // NOTE: Type ID 100 binary.push_back(j + 3u); // NOTE: Result ID 101 binary.push_back(SpvStorageClassInput); 103 binaries.push_back(binary);
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/link/ |
| H A D | global_values_amount_test.cpp | 80 spvtest::Binary binary = { variable 98 binary.push_back(4u << SpvWordCountShift | SpvOpVariable); 99 binary.push_back(2u); // NOTE: Type ID 100 binary.push_back(j + 3u); // NOTE: Result ID 101 binary.push_back(SpvStorageClassInput); 103 binaries.push_back(binary);
|
| /third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/ |
| H A D | spirv_opt_mutator.cc | 31 std::vector<uint32_t> binary, in SpirvOptMutator() 37 original_binary_(std::move(binary)), in SpirvOptMutator() 71 "Initial binary is invalid"); 89 // Get the input binary. If this is the first time we run this mutator, use in Mutate() 93 auto binary = num_executions_ == 1 ? original_binary_ : optimized_binary_; in Mutate() local 96 assert(!binary.empty() && "Can't run the optimizer on an empty binary"); in Mutate() 113 // Run the `binary` into the `optimized_binary_`. in Mutate() 118 if (!optimizer.Run(binary.data(), binary in Mutate() 29 SpirvOptMutator(spv_target_env target_env, uint32_t seed, std::vector<uint32_t> binary, bool validate_after_each_opt, uint32_t opt_batch_size) SpirvOptMutator() argument [all...] |
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
| H A D | BreakVariableAliasingInInnerLoops.cpp | 42 bool visitBinary(Visit visit, TIntermBinary *binary) override 49 if (mLoopLevel < 2 || !binary->isAssignment()) 54 TIntermTyped *B = binary->getRight(); 76 binary->replaceChildNode(B, bPlusZero);
|