Home
last modified time | relevance | path

Searched refs:binary (Results 1 – 25 of 3669) sorted by relevance

12345678910>>...147

/external/mesa3d/src/amd/common/
Dac_binary.c40 struct ac_shader_binary *binary) in parse_symbol_table() argument
54 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t)); in parse_symbol_table()
63 binary->global_symbol_offsets[binary->global_symbol_count] = in parse_symbol_table()
68 for (i = binary->global_symbol_count; i > 0; --i) { in parse_symbol_table()
69 uint64_t lhs = binary->global_symbol_offsets[i - 1]; in parse_symbol_table()
70 uint64_t rhs = binary->global_symbol_offsets[i]; in parse_symbol_table()
74 binary->global_symbol_offsets[i] = lhs; in parse_symbol_table()
75 binary->global_symbol_offsets[i - 1] = rhs; in parse_symbol_table()
77 ++binary->global_symbol_count; in parse_symbol_table()
83 struct ac_shader_binary *binary) in parse_relocs() argument
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dc_interface_test.cpp39 spv_binary binary = nullptr; in TEST() local
41 sizeof(input_text), &binary, nullptr)); in TEST()
46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
51 EXPECT_EQ(SPV_SUCCESS, spvBinaryToText(context, binary->code, in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
55 spvBinaryDestroy(binary); in TEST()
64 spv_binary binary = nullptr; in TEST() local
66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST()
68 spvBinaryDestroy(binary); in TEST()
77 spv_binary binary = nullptr; in TEST() local
[all …]
Dcpp_interface_test.cpp47 std::vector<uint32_t> binary; in TEST() local
48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST()
49 EXPECT_TRUE(binary.size() > 5u); in TEST()
50 EXPECT_EQ(SpvMagicNumber, binary[0]); in TEST()
51 EXPECT_EQ(kExpectedSpvVersion, binary[1]); in TEST()
64 EXPECT_FALSE(t.Validate(binary)); in TEST()
67 EXPECT_TRUE(t.Disassemble(binary, &output_text)); in TEST()
72 std::vector<uint32_t> binary(10, 42); in TEST() local
74 EXPECT_TRUE(t.Assemble("", &binary)); in TEST()
76 EXPECT_EQ(5u, binary.size()); in TEST()
[all …]
Dext_inst.glsl_test.cpp64 spv_binary binary = nullptr; in TEST_P() local
67 &binary, &diagnostic); in TEST_P()
85 EXPECT_NE(binary->code + binary->wordCount, in TEST_P()
86 std::search(binary->code, binary->code + binary->wordCount, in TEST_P()
90 << spvtest::WordVector(*binary).str(); in TEST_P()
94 error = spvBinaryToText(context, binary->code, binary->wordCount, in TEST_P()
105 spvBinaryDestroy(binary); in TEST_P()
/external/deqp-deps/SPIRV-Tools/test/
Dc_interface_test.cpp39 spv_binary binary = nullptr; in TEST() local
41 sizeof(input_text), &binary, nullptr)); in TEST()
46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
51 EXPECT_EQ(SPV_SUCCESS, spvBinaryToText(context, binary->code, in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
55 spvBinaryDestroy(binary); in TEST()
64 spv_binary binary = nullptr; in TEST() local
66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST()
68 spvBinaryDestroy(binary); in TEST()
77 spv_binary binary = nullptr; in TEST() local
[all …]
Dcpp_interface_test.cpp47 std::vector<uint32_t> binary; in TEST() local
48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST()
49 EXPECT_TRUE(binary.size() > 5u); in TEST()
50 EXPECT_EQ(SpvMagicNumber, binary[0]); in TEST()
51 EXPECT_EQ(kExpectedSpvVersion, binary[1]); in TEST()
64 EXPECT_FALSE(t.Validate(binary)); in TEST()
67 EXPECT_TRUE(t.Disassemble(binary, &output_text)); in TEST()
72 std::vector<uint32_t> binary(10, 42); in TEST() local
74 EXPECT_TRUE(t.Assemble("", &binary)); in TEST()
76 EXPECT_EQ(5u, binary.size()); in TEST()
[all …]
/external/python/cpython2/
D.gitattributes2 *.aif binary
3 *.aifc binary
4 *.aiff binary
5 *.au binary
6 *.bmp binary
7 *.db binary
8 *.exe binary
9 *.icns binary
10 *.gif binary
11 *.ico binary
[all …]
/external/compiler-rt/lib/asan/scripts/
Dasan_symbolize.py51 def symbolize(self, addr, binary, offset): argument
95 def symbolize(self, addr, binary, offset): argument
101 symbolizer_input = '"%s" %s' % (binary, offset)
134 def __init__(self, binary): argument
136 self.binary = binary
147 cmd += ['-e', self.binary]
153 def symbolize(self, addr, binary, offset): argument
155 if self.binary != binary:
209 def __init__(self, addr, binary): argument
211 self.binary = binary
[all …]
/external/syzkaller/pkg/db/
Ddb.go143 binary.Write(w, binary.LittleEndian, dbMagic)
144 binary.Write(w, binary.LittleEndian, curVersion)
145 binary.Write(w, binary.LittleEndian, version)
149 binary.Write(w, binary.LittleEndian, recMagic)
150 binary.Write(w, binary.LittleEndian, uint32(len(key)))
152 binary.Write(w, binary.LittleEndian, seq)
160 binary.Write(w, binary.LittleEndian, uint32(len(val)))
163 binary.Write(w, binary.LittleEndian, uint32(0))
173binary.Write(bytes.NewBuffer(w.Bytes()[lenPos:lenPos:lenPos+8]), binary.LittleEndian, uint32(len(w…
205 if err := binary.Read(r, binary.LittleEndian, &magic); err != nil {
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Doptimizer_test.cpp73 std::vector<uint32_t> binary; in TEST() local
74 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
78 opt.Run(binary.data(), binary.size(), &binary); // This is the key. in TEST()
81 tools.Disassemble(binary.data(), binary.size(), &disassembly); in TEST()
87 std::vector<uint32_t> binary; in TEST() local
88 tools.Assemble(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
92 auto orig_size = binary.size(); in TEST()
95 binary.push_back(42); in TEST()
96 EXPECT_THAT(orig_size + 1, Eq(binary.size())); in TEST()
97 opt.Run(binary.data(), orig_size, &binary); // This is the key. in TEST()
[all …]
Dcompact_ids_test.cpp116 std::vector<uint32_t> binary; in TEST() local
120 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
129 optimizer.Run(binary.data(), binary.size(), &binary); in TEST()
132 tools.Disassemble(binary, &disassembly, SPV_BINARY_TO_TEXT_OPTION_NO_HEADER); in TEST()
160 std::vector<uint32_t> binary; in TEST() local
164 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
173 optimizer.Run(binary.data(), binary.size(), &binary); in TEST()
176 tools.Disassemble(binary, &disassembly, SPV_BINARY_TO_TEXT_OPTION_NONE); in TEST()
241 std::vector<uint32_t> binary; in TEST() local
242 context->module()->ToBinary(&binary, false); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Doptimizer_test.cpp73 std::vector<uint32_t> binary; in TEST() local
74 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
78 opt.Run(binary.data(), binary.size(), &binary); // This is the key. in TEST()
81 tools.Disassemble(binary.data(), binary.size(), &disassembly); in TEST()
87 std::vector<uint32_t> binary; in TEST() local
88 tools.Assemble(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary); in TEST()
92 auto orig_size = binary.size(); in TEST()
95 binary.push_back(42); in TEST()
96 EXPECT_THAT(orig_size + 1, Eq(binary.size())); in TEST()
97 opt.Run(binary.data(), orig_size, &binary); // This is the key. in TEST()
[all …]
Dcompact_ids_test.cpp116 std::vector<uint32_t> binary; in TEST() local
120 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
129 optimizer.Run(binary.data(), binary.size(), &binary); in TEST()
132 tools.Disassemble(binary, &disassembly, SPV_BINARY_TO_TEXT_OPTION_NO_HEADER); in TEST()
160 std::vector<uint32_t> binary; in TEST() local
164 input, &binary, SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS); in TEST()
173 optimizer.Run(binary.data(), binary.size(), &binary); in TEST()
176 tools.Disassemble(binary, &disassembly, SPV_BINARY_TO_TEXT_OPTION_NONE); in TEST()
241 std::vector<uint32_t> binary; in TEST() local
242 context->module()->ToBinary(&binary, false); in TEST()
[all …]
/external/python/cpython3/
D.gitattributes2 *.aif binary
3 *.aifc binary
4 *.aiff binary
5 *.au binary
6 *.bmp binary
7 *.exe binary
8 *.icns binary
9 *.gif binary
10 *.ico binary
11 *.jpg binary
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DBinaryTagTest.java33 byte[] binary = (byte[]) getMapValue("canonical: !!binary " + content, "canonical"); in testBinary()
34 assertEquals((byte) 'G', binary[0]); in testBinary()
35 assertEquals((byte) 'I', binary[1]); in testBinary()
36 assertEquals((byte) 'F', binary[2]); in testBinary()
37 assertEquals((byte) '8', binary[3]); in testBinary()
38 assertEquals((byte) '9', binary[4]); in testBinary()
42 byte[] binary = (byte[]) load("!!binary \"MQ==\""); in testBinary2()
43 assertEquals(1, binary.length); in testBinary2()
44 assertEquals((byte) '1', binary[0]); in testBinary2()
48 byte[] binary = (byte[]) getMapValue("canonical: !<tag:yaml.org,2002:binary> " + content, in testBinaryTag()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/
D.gitattributes1 # binary files
2 test/Object/Inputs/*.a-* binary
3 test/tools/dsymutil/Inputs/*.o binary
4 test/tools/dsymutil/Inputs/*.a binary
5 test/tools/dsymutil/Inputs/*.i386 binary
6 test/tools/dsymutil/Inputs/*.x86_64 binary
7 test/tools/dsymutil/Inputs/*.armv7m binary
8 test/tools/dsymutil/Inputs/*.dylib binary
9 test/tools/llvm-ar/Inputs/*.lib binary
10 test/tools/llvm-objdump/Inputs/*.a binary
[all …]
/external/boringssl/src/ssl/test/runner/poly1305/
Dsum_ref.go18 r0 = uint64(binary.LittleEndian.Uint32(key[0:]) & 0x3ffffff)
19 r1 = uint64((binary.LittleEndian.Uint32(key[3:]) >> 2) & 0x3ffff03)
20 r2 = uint64((binary.LittleEndian.Uint32(key[6:]) >> 4) & 0x3ffc0ff)
21 r3 = uint64((binary.LittleEndian.Uint32(key[9:]) >> 6) & 0x3f03fff)
22 r4 = uint64((binary.LittleEndian.Uint32(key[12:]) >> 8) & 0x00fffff)
28 h0 += binary.LittleEndian.Uint32(msg[0:]) & 0x3ffffff
29 h1 += (binary.LittleEndian.Uint32(msg[3:]) >> 2) & 0x3ffffff
30 h2 += (binary.LittleEndian.Uint32(msg[6:]) >> 4) & 0x3ffffff
31 h3 += (binary.LittleEndian.Uint32(msg[9:]) >> 6) & 0x3ffffff
32 h4 += (binary.LittleEndian.Uint32(msg[12:]) >> 8) | (1 << 24)
[all …]
/external/Reactive-Extensions/RxCpp/
D.gitattributes22 # these files as binary and thus will always conflict and require user
25 #*.sln merge=binary
26 #*.csproj merge=binary
27 #*.vbproj merge=binary
28 #*.vcxproj merge=binary
29 #*.vcproj merge=binary
30 #*.dbproj merge=binary
31 #*.fsproj merge=binary
32 #*.lsproj merge=binary
33 #*.wixproj merge=binary
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/
Dlibspirv.cpp72 std::vector<uint32_t>* binary, in Assemble() argument
74 return Assemble(text.data(), text.size(), binary, options); in Assemble()
78 std::vector<uint32_t>* binary, in Assemble() argument
84 binary->assign(spvbinary->code, spvbinary->code + spvbinary->wordCount); in Assemble()
90 bool SpirvTools::Disassemble(const std::vector<uint32_t>& binary, in Disassemble() argument
92 return Disassemble(binary.data(), binary.size(), text, options); in Disassemble()
95 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument
98 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
107 bool SpirvTools::Validate(const std::vector<uint32_t>& binary) const { in Validate()
108 return Validate(binary.data(), binary.size()); in Validate()
[all …]
/external/deqp-deps/SPIRV-Tools/source/
Dlibspirv.cpp72 std::vector<uint32_t>* binary, in Assemble() argument
74 return Assemble(text.data(), text.size(), binary, options); in Assemble()
78 std::vector<uint32_t>* binary, in Assemble() argument
84 binary->assign(spvbinary->code, spvbinary->code + spvbinary->wordCount); in Assemble()
90 bool SpirvTools::Disassemble(const std::vector<uint32_t>& binary, in Disassemble() argument
92 return Disassemble(binary.data(), binary.size(), text, options); in Disassemble()
95 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument
98 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
107 bool SpirvTools::Validate(const std::vector<uint32_t>& binary) const { in Validate()
108 return Validate(binary.data(), binary.size()); in Validate()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c188 struct ac_shader_binary *binary) in parse_symbol_table() argument
202 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t)); in parse_symbol_table()
211 binary->global_symbol_offsets[binary->global_symbol_count] = in parse_symbol_table()
216 for (i = binary->global_symbol_count; i > 0; --i) { in parse_symbol_table()
217 uint64_t lhs = binary->global_symbol_offsets[i - 1]; in parse_symbol_table()
218 uint64_t rhs = binary->global_symbol_offsets[i]; in parse_symbol_table()
222 binary->global_symbol_offsets[i] = lhs; in parse_symbol_table()
223 binary->global_symbol_offsets[i - 1] = rhs; in parse_symbol_table()
225 ++binary->global_symbol_count; in parse_symbol_table()
232 struct ac_shader_binary *binary) in parse_relocs() argument
[all …]
/external/gflags/src/
Dgflags_completions.sh67 binary="${!binary_index}"
75 if [ "$binary" == "time" ] || [ "$binary" == "env" ]; then
93 binary=${parts[1]}
112 candidate=$(type -p "$binary")
115 elif [ -f "$binary" ] && [ -x "$binary" ]; then
116 eval "$binary 2>/dev/null $params"
/external/deqp/external/vulkancts/framework/vulkan/
DvkPrograms.cpp62 ProgramBinary::ProgramBinary (ProgramFormat format, size_t binarySize, const deUint8* binary) in ProgramBinary() argument
64 , m_binary (binary, binary+binarySize) in ProgramBinary()
82 bool isSaneSpirVBinary (const ProgramBinary& binary) in isSaneSpirVBinary() argument
89 DE_ASSERT(binary.getFormat() == PROGRAM_FORMAT_SPIRV); in isSaneSpirVBinary()
91 if (binary.getSize() % sizeof(deUint32) != 0) in isSaneSpirVBinary()
94 if (binary.getSize() < sizeof(deUint32)) in isSaneSpirVBinary()
97 if (*(const deUint32*)binary.getBinary() != spirvMagicBytes) in isSaneSpirVBinary()
105 void optimizeCompiledBinary (vector<deUint32>& binary, int optimizationRecipe, const SpirvVersion s… in optimizeCompiledBinary() argument
320 const bool ok = optimizer.Run(binary.data(), binary.size(), &binary, optimizer_options); in optimizeCompiledBinary()
326 ProgramBinary* createProgramBinaryFromSpirV (const vector<deUint32>& binary) in createProgramBinaryFromSpirV() argument
[all …]
DvkSpirVAsm.cpp75 spv_binary binary = DE_NULL; in assembleSpirV() local
85 … compileOk = spvTextToBinary(context, spvSource.c_str(), spvSource.size(), &binary, &diagnostic); in assembleSpirV()
94 DE_ASSERT(binary->wordCount > 0); in assembleSpirV()
95 dst->resize(binary->wordCount); in assembleSpirV()
96 std::copy(&binary->code[0], &binary->code[0] + binary->wordCount, dst->begin()); in assembleSpirV()
99 spvBinaryDestroy(binary); in assembleSpirV()
107 spvBinaryDestroy(binary); in assembleSpirV()
115 void disassembleSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* dst, SpirvVe… in disassembleSpirV() argument
126 …const spv_result_t result = spvBinaryToText(context, binary, binarySizeInWords, 0, &text, &diagnos… in disassembleSpirV()
147 bool validateSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* infoLog, const … in validateSpirV() argument
[all …]
DvkBinaryRegistry.cpp109 void writeBinary (const ProgramBinary& binary, const std::string& dstPath) in writeBinary() argument
117 std::ofstream out (dstPath.c_str(), std::ios_base::binary); in writeBinary()
122 out.write((const char*)binary.getBinary(), binary.getSize()); in writeBinary()
127 void writeBinary (const std::string& dstDir, deUint32 index, const ProgramBinary& binary) in writeBinary() argument
129 writeBinary(binary, getProgramPath(dstDir, index)); in writeBinary()
134 std::ifstream in (srcPath.c_str(), std::ios::binary | std::ios::ate); in readBinary()
155 deUint32 binaryHash (const ProgramBinary* binary) in binaryHash() argument
157 return deMemoryHash(binary->getBinary(), binary->getSize()); in binaryHash()
404 deUint32* BinaryIndexHash::find (const ProgramBinary* binary) const in find()
406 return BinaryIndexHashImpl_find(m_hash, binary); in find()
[all …]

12345678910>>...147