Home
last modified time | relevance | path

Searched refs:binary (Results 151 - 175 of 1384) sorted by relevance

12345678910>>...56

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
H A Dbinary_header_get_test.cpp33 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/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/link/
H A Dglobal_values_amount_test.cpp80 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 Dspirv_opt_mutator.cc31 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/spirv-tools/test/
H A Dbinary_header_get_test.cpp33 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/
H A Dsh_css_params.c106 #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/mesa3d/src/gallium/drivers/asahi/
H A Dagx_blit.c62 struct util_dynarray binary; in agx_build_reload_shader() local
63 util_dynarray_init(&binary, NULL); in agx_build_reload_shader()
72 agx_compile_shader_nir(s, &key, &binary, &info); in agx_build_reload_shader()
74 assert(offset + binary.size < bo_size); in agx_build_reload_shader()
75 memcpy(((uint8_t *) bo->ptr.cpu) + offset, binary.data, binary.size); in agx_build_reload_shader()
78 offset += ALIGN_POT(binary.size, 128); in agx_build_reload_shader()
80 util_dynarray_fini(&binary); in agx_build_reload_shader()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkBinaryRegistry.hpp23 * \brief Program binary registry.
73 // just storing each compiled binary without de-duplication would be incredibly
76 // To locate binary that corresponds given ProgramIdentifier, a program binary
78 // binary, it must be fast to load (to reduce statup cost), and fast to access.
80 // Simple trie is used to store binary indices. It is laid out as an array of
92 // If word contains one or more trailing 0 bytes, index denotes the binary index
210 deUint32* find (const ProgramBinary* binary) const;
211 void insert (const ProgramBinary* binary, deUint32 index);
227 void addProgram (const ProgramIdentifier& id, const ProgramBinary& binary);
240 ProgramBinary* binary; global() member
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A Dgl_raii.h212 void makeBinaryOES(const std::vector<uint8_t> &binary, GLenum binaryFormat) in makeBinaryOES() argument
214 mHandle = LoadBinaryProgramOES(binary, binaryFormat); in makeBinaryOES()
217 void makeBinaryES3(const std::vector<uint8_t> &binary, GLenum binaryFormat) in makeBinaryES3() argument
219 mHandle = LoadBinaryProgramES3(binary, binaryFormat); in makeBinaryES3()
284 #define ANGLE_GL_BINARY_OES_PROGRAM(name, binary, binaryFormat) \
286 name.makeBinaryOES(binary, binaryFormat); \
289 #define ANGLE_GL_BINARY_ES3_PROGRAM(name, binary, binaryFormat) \
291 name.makeBinaryES3(binary, binaryFormat); \
/third_party/vk-gl-cts/external/vulkancts/vkscserver/
H A DvksServices.cpp66 std::ifstream file(path, std::ios::binary); in LoadPhysicalFile()
87 auto mode = clear ? std::ios::binary : std::ios::binary | std::ios::app; in AppendFile()
97 void CreateVulkanSCCache (const VulkanPipelineCacheInput& input, int caseFraction, vector<u8>& binary, const CmdLineParams& cmdLineParams, const std::string& logFile) in CreateVulkanSCCache() argument
107 binary = vksc_server::buildOfflinePipelineCache(input, in CreateVulkanSCCache()
120 binary = buildPipelineCache(input, in CreateVulkanSCCache()
129 bool CompileShader (const SourceVariant& source, const string& commandLine, vector<u8>& binary) in CompileShader() argument
149 throw std::runtime_error("CompileShader supports only PROGRAM_FORMAT_SPIRV binary output"); in CompileShader()
152 binary.assign( programBinary->getBinary(), in CompileShader()
/third_party/node/test/fixtures/wpt/wasm/jsapi/
H A Dwasm-module-builder.js886 let binary = new Binary;
890 binary.emit_header();
894 if (debug) print("emitting types @ " + binary.length);
895 binary.emit_section(kTypeSectionCode, section => {
913 if (debug) print("emitting imports @ " + binary.length);
914 binary.emit_section(kImportSectionCode, section => {
953 if (debug) print("emitting function decls @ " + binary.length);
954 binary.emit_section(kFunctionSectionCode, section => {
964 if (debug) print ("emitting tables @ " + binary.length);
965 binary
[all...]
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
H A Dhap_verify_test.cpp88 appFile.open(errorFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
99 hapFile.open(rightFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
112 hapFile1.open(rightFile1.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
126 hapFile2.open(invalidFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
148 hapFile.open(filePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
176 hapFile.open(filePath[i].c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
202 errorFile.open(errorfilePath[i].c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
214 errorFile.open(errorfilePath[i].c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
225 errorFile.open(errorfilePath[i].c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
246 hapFile.open(filePath.c_str(), std::ios::binary | st in HWTEST_F()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dpass_fixture.h58 // Runs the given |pass| on the binary assembled from the |original|.
59 // Returns a tuple of the optimized binary and the boolean value returned
76 std::vector<uint32_t> binary; in OptimizeToBinary() local
78 context()->module()->ToBinary(&binary, skip_nop); in OptimizeToBinary()
80 return std::make_tuple(binary, status); in OptimizeToBinary()
83 // Runs a single pass of class |PassT| on the binary assembled from the
84 // |assembly|. Returns a tuple of the optimized binary and the boolean value
94 // Runs a single pass of class |PassT| on the binary assembled from the
95 // |assembly|, disassembles the optimized binary. Returns a tuple of
108 spv_const_binary_t binary in SinglePassRunAndDisassemble() local
145 spv_const_binary_t binary = {optimized_bin.data(), optimized_bin.size()}; SinglePassRunAndCheck() local
250 std::vector<uint32_t> binary; RunAndCheck() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dpass_fixture.h58 // Runs the given |pass| on the binary assembled from the |original|.
59 // Returns a tuple of the optimized binary and the boolean value returned
76 std::vector<uint32_t> binary; in OptimizeToBinary() local
78 context()->module()->ToBinary(&binary, skip_nop); in OptimizeToBinary()
80 return std::make_tuple(binary, status); in OptimizeToBinary()
83 // Runs a single pass of class |PassT| on the binary assembled from the
84 // |assembly|. Returns a tuple of the optimized binary and the boolean value
94 // Runs a single pass of class |PassT| on the binary assembled from the
95 // |assembly|, disassembles the optimized binary. Returns a tuple of
108 spv_const_binary_t binary in SinglePassRunAndDisassemble() local
145 spv_const_binary_t binary = {optimized_bin.data(), optimized_bin.size()}; SinglePassRunAndCheck() local
250 std::vector<uint32_t> binary; RunAndCheck() local
[all...]
/third_party/spirv-tools/test/opt/
H A Dpass_fixture.h58 // Runs the given |pass| on the binary assembled from the |original|.
59 // Returns a tuple of the optimized binary and the boolean value returned
76 std::vector<uint32_t> binary; in OptimizeToBinary() local
78 context()->module()->ToBinary(&binary, skip_nop); in OptimizeToBinary()
80 return std::make_tuple(binary, status); in OptimizeToBinary()
83 // Runs a single pass of class |PassT| on the binary assembled from the
84 // |assembly|. Returns a tuple of the optimized binary and the boolean value
94 // Runs a single pass of class |PassT| on the binary assembled from the
95 // |assembly|, disassembles the optimized binary. Returns a tuple of
108 spv_const_binary_t binary in SinglePassRunAndDisassemble() local
145 spv_const_binary_t binary = {optimized_bin.data(), optimized_bin.size()}; SinglePassRunAndCheck() local
250 std::vector<uint32_t> binary; RunAndCheck() local
[all...]
/third_party/libunwind/libunwind/tests/
H A Drun-coredump-unwind9 binary="$1"
16 # Extract the dynamic symbols from the main binary, there is no need to also have these
18 nm -D "$binary" --format=posix --defined-only | awk '{ print $1 }' | sort > "$dynsyms"
25 #Inject the compressed data into the .gnu_debugdata section of the original binary
28 objcopy --add-section .gnu_debugdata="$mini_debuginfo" "$binary"
31 strip "$binary" ## throw away the symbol table
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dspirv_endian.cpp49 spv_result_t spvBinaryEndianness(spv_const_binary binary, in spvBinaryEndianness() argument
51 if (!binary->code || !binary->wordCount) return SPV_ERROR_INVALID_BINARY; in spvBinaryEndianness()
55 memcpy(bytes, binary->code, sizeof(uint32_t)); in spvBinaryEndianness()
H A Dbinary.cpp17 #include "source/binary.h"
37 spv_result_t spvBinaryHeaderGet(const spv_const_binary binary, in spvBinaryHeaderGet() argument
40 if (!binary->code) return SPV_ERROR_INVALID_BINARY; in spvBinaryHeaderGet()
41 if (binary->wordCount < SPV_INDEX_INSTRUCTION) in spvBinaryHeaderGet()
46 pHeader->magic = spvFixWord(binary->code[SPV_INDEX_MAGIC_NUMBER], endian); in spvBinaryHeaderGet()
47 pHeader->version = spvFixWord(binary->code[SPV_INDEX_VERSION_NUMBER], endian); in spvBinaryHeaderGet()
57 spvFixWord(binary->code[SPV_INDEX_GENERATOR_NUMBER], endian); in spvBinaryHeaderGet()
58 pHeader->bound = spvFixWord(binary->code[SPV_INDEX_BOUND], endian); in spvBinaryHeaderGet()
59 pHeader->schema = spvFixWord(binary->code[SPV_INDEX_SCHEMA], endian); in spvBinaryHeaderGet()
60 pHeader->instructions = &binary in spvBinaryHeaderGet()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dspirv_endian.cpp49 spv_result_t spvBinaryEndianness(spv_const_binary binary, in spvBinaryEndianness() argument
51 if (!binary->code || !binary->wordCount) return SPV_ERROR_INVALID_BINARY; in spvBinaryEndianness()
55 memcpy(bytes, binary->code, sizeof(uint32_t)); in spvBinaryEndianness()
H A Dbinary.cpp17 #include "source/binary.h"
37 spv_result_t spvBinaryHeaderGet(const spv_const_binary binary, in spvBinaryHeaderGet() argument
40 if (!binary->code) return SPV_ERROR_INVALID_BINARY; in spvBinaryHeaderGet()
41 if (binary->wordCount < SPV_INDEX_INSTRUCTION) in spvBinaryHeaderGet()
46 pHeader->magic = spvFixWord(binary->code[SPV_INDEX_MAGIC_NUMBER], endian); in spvBinaryHeaderGet()
47 pHeader->version = spvFixWord(binary->code[SPV_INDEX_VERSION_NUMBER], endian); in spvBinaryHeaderGet()
57 spvFixWord(binary->code[SPV_INDEX_GENERATOR_NUMBER], endian); in spvBinaryHeaderGet()
58 pHeader->bound = spvFixWord(binary->code[SPV_INDEX_BOUND], endian); in spvBinaryHeaderGet()
59 pHeader->schema = spvFixWord(binary->code[SPV_INDEX_SCHEMA], endian); in spvBinaryHeaderGet()
60 pHeader->instructions = &binary in spvBinaryHeaderGet()
[all...]
/third_party/spirv-tools/source/
H A Dspirv_endian.cpp49 spv_result_t spvBinaryEndianness(spv_const_binary binary, in spvBinaryEndianness() argument
51 if (!binary->code || !binary->wordCount) return SPV_ERROR_INVALID_BINARY; in spvBinaryEndianness()
55 memcpy(bytes, binary->code, sizeof(uint32_t)); in spvBinaryEndianness()
H A Dbinary.cpp17 #include "source/binary.h"
38 spv_result_t spvBinaryHeaderGet(const spv_const_binary binary, in spvBinaryHeaderGet() argument
41 if (!binary->code) return SPV_ERROR_INVALID_BINARY; in spvBinaryHeaderGet()
42 if (binary->wordCount < SPV_INDEX_INSTRUCTION) in spvBinaryHeaderGet()
47 pHeader->magic = spvFixWord(binary->code[SPV_INDEX_MAGIC_NUMBER], endian); in spvBinaryHeaderGet()
48 pHeader->version = spvFixWord(binary->code[SPV_INDEX_VERSION_NUMBER], endian); in spvBinaryHeaderGet()
58 spvFixWord(binary->code[SPV_INDEX_GENERATOR_NUMBER], endian); in spvBinaryHeaderGet()
59 pHeader->bound = spvFixWord(binary->code[SPV_INDEX_BOUND], endian); in spvBinaryHeaderGet()
60 pHeader->schema = spvFixWord(binary->code[SPV_INDEX_SCHEMA], endian); in spvBinaryHeaderGet()
61 pHeader->instructions = &binary in spvBinaryHeaderGet()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvBinary.cpp25 SpirvBinary::SpirvBinary(const uint32_t *binary, uint32_t wordCount) in SpirvBinary() argument
26 : std::vector<uint32_t>(binary, binary + wordCount) in SpirvBinary()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkShaderModule.cpp24 : binary(pCreateInfo->pCode, pCreateInfo->codeSize / sizeof(uint32_t)) in ShaderModule()
32 ASSERT(spirvTools.Validate(binary.data(), binary.size(), validatorOptions)); // The SPIR-V code passed to vkCreateShaderModule must be valid (b/158228522) in ShaderModule()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c101 static size_t fpntbl_bytes(const struct ia_css_binary *binary) in fpntbl_bytes() argument
104 binary->in_frame_info.res.height, in fpntbl_bytes()
105 binary->in_frame_info.padded_width); in fpntbl_bytes()
108 static size_t sctbl_bytes(const struct ia_css_binary *binary) in sctbl_bytes() argument
111 array3_size(binary->sctbl_height, in sctbl_bytes()
112 binary->sctbl_aligned_width_per_color, in sctbl_bytes()
116 static size_t morph_plane_bytes(const struct ia_css_binary *binary) in morph_plane_bytes() argument
119 binary->morph_tbl_aligned_width, in morph_plane_bytes()
120 binary->morph_tbl_height); in morph_plane_bytes()
887 if (!stage || !stage->binary) continu in ia_css_process_kernel()
1081 const struct ia_css_binary *binary = stage->binary; ia_css_params_alloc_convert_sctbl() local
1153 sh_css_enable_pipeline(const struct ia_css_binary *binary) sh_css_enable_pipeline() argument
1184 struct ia_css_binary *binary; ia_css_process_zoom_and_motion() local
1413 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
2971 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
3269 const struct ia_css_binary *binary; sh_css_params_write_to_ddr_internal() local
3664 const struct ia_css_binary *binary ia_css_get_shading_table() local
3682 const struct ia_css_binary *binary ia_css_get_shading_table() local
[all...]
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/
H A Davcodec_audio_avbuffer_decoder_demo.cpp103 inputFile_.open(INPUT_AAC_FILE_PATH, std::ios::binary); in InitFile()
104 pcmOutputFile_.open(OUTPUT_AAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
106 inputFile_.open(INPUT_FLAC_FILE_PATH, std::ios::binary); in InitFile()
107 pcmOutputFile_.open(OUTPUT_FLAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
109 inputFile_.open(INPUT_MP3_FILE_PATH, std::ios::binary); in InitFile()
110 pcmOutputFile_.open(OUTPUT_MP3_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
112 inputFile_.open(INPUT_VORBIS_FILE_PATH, std::ios::binary); in InitFile()
113 pcmOutputFile_.open(OUTPUT_VORBIS_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
115 inputFile_.open(INPUT_AMRNB_FILE_PATH, std::ios::binary); in InitFile()
116 pcmOutputFile_.open(OUTPUT_AMRNB_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
[all...]

Completed in 15 milliseconds

12345678910>>...56