/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | c_interface_test.cpp | 39 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 …]
|
D | cpp_interface_test.cpp | 47 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/deqp-deps/SPIRV-Tools/test/ |
D | c_interface_test.cpp | 39 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 …]
|
D | cpp_interface_test.cpp | 47 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/cryptography/vectors/cryptography_vectors/x509/PKITS_data/ |
D | pkits.ldif | 9 cACertificate;binary:< file:///tmp/certs/TrustAnchorRootCertificate.crt 10 certificateRevocationList;binary:< file:///tmp/crls/TrustAnchorRootCRL.crl 11 crossCertificatePair;binary:< file:///tmp/certpairs/GoodCACertreversecrossCertificatePair.cp 12 crossCertificatePair;binary:< file:///tmp/certpairs/BadSignedCACertreversecrossCertificatePair.cp 13 crossCertificatePair;binary:< file:///tmp/certpairs/BadnotBeforeDateCACertreversecrossCertificatePa… 14 crossCertificatePair;binary:< file:///tmp/certpairs/BadnotAfterDateCACertreversecrossCertificatePai… 15 crossCertificatePair;binary:< file:///tmp/certpairs/NameOrderingCACertreversecrossCertificatePair.cp 16 crossCertificatePair;binary:< file:///tmp/certpairs/UIDCACertreversecrossCertificatePair.cp 17 crossCertificatePair;binary:< file:///tmp/certpairs/RFC3280MandatoryAttributeTypesCACertreversecros… 18 crossCertificatePair;binary:< file:///tmp/certpairs/RFC3280OptionalAttributeTypesCACertreversecross… [all …]
|
/external/OpenCL-CTS/test_conformance/ |
D | opencl_conformance_tests_full_binary.csv | 13 Basic,basic/test_basic --compilation-mode binary --compilation-cache-path . 14 API,api/test_api --compilation-mode binary --compilation-cache-path . 15 Compiler,compiler/test_compiler --compilation-mode binary --compilation-cache-path . 20 Common Functions,commonfns/test_commonfns --compilation-mode binary --compilation-cache-path . 21 Geometric Functions,geometrics/test_geometrics --compilation-mode binary --compilation-cache-path . 22 Relationals,relationals/test_relationals --compilation-mode binary --compilation-cache-path . 27 Thread Dimensions,thread_dimensions/test_thread_dimensions full* --compilation-mode binary --compil… 28 Multiple Device/Context,multiple_device_context/test_multiples --compilation-mode binary --compilat… 29 Atomics,atomics/test_atomics --compilation-mode binary --compilation-cache-path . 30 Profiling,profiling/test_profiling --compilation-mode binary --compilation-cache-path . [all …]
|
/external/python/cpython2/ |
D | .gitattributes | 2 *.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/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | optimizer_test.cpp | 73 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 …]
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | optimizer_test.cpp | 73 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 …]
|
/external/libyuv/files/tools_libyuv/valgrind/ |
D | gdb_helper.py | 58 def AddBinaryAt(self, binary, load_address): argument 60 self._load_addresses[binary] = load_address 62 def Add(self, binary, address): argument 64 if binary == '': 66 if binary in self._binaries: 67 self._binaries[binary].append(address) 69 self._binaries[binary] = [address] 75 for binary in self._binaries.keys(): 76 if binary != '' and binary in self._load_addresses: 77 load_address = self._load_addresses[binary] [all …]
|
/external/llvm-project/llvm/ |
D | .gitattributes | 1 # 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/mesa3d/src/amd/common/ |
D | ac_rtld.c | 177 static bool read_private_lds_symbols(struct ac_rtld_binary *binary, unsigned part_idx, in read_private_lds_symbols() argument 195 struct ac_rtld_part *part = &binary->parts[part_idx]; in read_private_lds_symbols() 228 const struct ac_rtld_symbol *shared = find_symbol(&binary->lds_symbols, s.name, part_idx); in read_private_lds_symbols() 235 util_dynarray_append(&binary->lds_symbols, struct ac_rtld_symbol, s); in read_private_lds_symbols() 250 bool ac_rtld_open(struct ac_rtld_binary *binary, struct ac_rtld_open_info i) in ac_rtld_open() argument 258 memset(binary, 0, sizeof(*binary)); in ac_rtld_open() 259 memcpy(&binary->options, &i.options, sizeof(binary->options)); in ac_rtld_open() 260 binary->wave_size = i.wave_size; in ac_rtld_open() 261 binary->num_parts = i.num_parts; in ac_rtld_open() 262 binary->parts = calloc(sizeof(*binary->parts), i.num_parts); in ac_rtld_open() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | BinaryTagTest.java | 33 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/compiler-rt/lib/asan/scripts/ |
D | asan_symbolize.py | 51 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/python/cpython3/ |
D | .gitattributes | 2 *.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/igt-gpu-tools/runner/ |
D | job_list.c | 28 char *binary, in add_job_list_entry() argument 38 entry->binary = binary; in add_job_list_entry() 44 char *binary, in add_subtests() argument 55 settings->test_root, binary); in add_subtests() 63 settings->test_root, binary); in add_subtests() 78 generate_piglit_name(binary, subtestname, piglitname, sizeof(piglitname)); in add_subtests() 97 add_job_list_entry(job_list, strdup(binary), subtests, 1); in add_subtests() 105 add_job_list_entry(job_list, strdup(binary), subtests, num_subtests); in add_subtests() 111 fprintf(stderr, "popen error when executing %s: %s\n", binary, strerror(errno)); in add_subtests() 116 generate_piglit_name(binary, NULL, in add_subtests() [all …]
|
/external/libabigail/tests/ |
D | test-symtab.cc | 70 const std::string binary = "basic/empty.so"; variable 72 const dwarf_reader::status status = read_corpus(binary, corpus_ptr); 80 const std::string binary = "basic/no_debug_info.so"; variable 82 const dwarf_reader::status status = read_corpus(binary, corpus_ptr); 160 const std::string binary = "basic/single_function.so"; variable 161 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 0); 172 const std::string binary = "basic/single_variable.so"; variable 173 const corpus_sptr& corpus = assert_symbol_count(binary, 0, 1); 184 const std::string binary = "basic/one_function_one_variable.so"; variable 185 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 1); [all …]
|
/external/Reactive-Extensions/RxCpp/ |
D | .gitattributes | 22 # 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/deqp/external/vulkancts/framework/vulkan/ |
D | vkPrograms.cpp | 60 ProgramBinary::ProgramBinary (ProgramFormat format, size_t binarySize, const deUint8* binary) in ProgramBinary() argument 62 , m_binary (binary, binary+binarySize) in ProgramBinary() 81 bool isSaneSpirVBinary (const ProgramBinary& binary) in isSaneSpirVBinary() argument 88 DE_ASSERT(binary.getFormat() == PROGRAM_FORMAT_SPIRV); in isSaneSpirVBinary() 90 if (binary.getSize() % sizeof(deUint32) != 0) in isSaneSpirVBinary() 93 if (binary.getSize() < sizeof(deUint32)) in isSaneSpirVBinary() 96 if (*(const deUint32*)binary.getBinary() != spirvMagicBytes) in isSaneSpirVBinary() 102 void optimizeCompiledBinary (vector<deUint32>& binary, int optimizationRecipe, const SpirvVersion s… in optimizeCompiledBinary() argument 135 const bool ok = optimizer.Run(binary.data(), binary.size(), &binary, optimizer_options); in optimizeCompiledBinary() 141 ProgramBinary* createProgramBinaryFromSpirV (const vector<deUint32>& binary) in createProgramBinaryFromSpirV() argument [all …]
|
/external/deqp-deps/amber/src/ |
D | shader_compiler_test.cc | 109 std::vector<uint32_t> binary; in TEST_F() local 112 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F() 114 EXPECT_FALSE(binary.empty()); in TEST_F() 115 EXPECT_EQ(0x07230203u, binary[0]); // Verify SPIR-V header present. in TEST_F() 128 std::vector<uint32_t> binary; in TEST_F() local 131 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F() 133 EXPECT_FALSE(binary.empty()); in TEST_F() 134 EXPECT_EQ(0x07230203u, binary[0]); // Verify SPIR-V header present. in TEST_F() 148 std::vector<uint32_t> binary; in TEST_F() local 151 std::tie(r, binary) = sc.Compile(&pipeline, &shader_info, ShaderMap()); in TEST_F() [all …]
|
/external/mesa3d/src/amd/compiler/ |
D | aco_print_asm.cpp | 18 bool print_asm_gfx6_gfx7(Program *program, std::vector<uint32_t>& binary, in print_asm_gfx6_gfx7() argument 32 for (uint32_t w : binary) in print_asm_gfx6_gfx7() 96 uint32_t *binary, unsigned exec_size, size_t pos, in disasm_instr() argument 100 if (((chip == GFX8 || chip == GFX9) && (binary[pos] & 0xffff8000) == 0xd28a0000) || in disasm_instr() 101 (chip >= GFX10 && (binary[pos] & 0xffff8000) == 0xd7610000)) { in disasm_instr() 102 binary[pos+1] = binary[pos+1] & 0xF803FFFF; in disasm_instr() 105 size_t l = LLVMDisasmInstruction(disasm, (uint8_t *) &binary[pos], in disasm_instr() 110 ((binary[pos] & 0xffff0000) == 0xd7610000) && in disasm_instr() 111 ((binary[pos + 1] & 0x1ff) == 0xff)) { in disasm_instr() 119 ((chip >= GFX9 && (binary[pos] & 0xffff8000) == 0xd1348000) || /* v_add_u32_e64 + clamp */ in disasm_instr() [all …]
|
/external/pigweed/pw_tokenizer/ |
D | base64_test.cc | 44 : binary{std::as_bytes(std::span(binary_data, kSize - 1))}, in TestData() 47 std::span<const byte> binary; member 67 for (auto& [binary, base64] : kTestData) { in TEST_F() 68 EXPECT_EQ(base64.size(), PrefixedBase64Encode(binary, base64_)); in TEST_F() 82 PrefixedBase64Encode(kTestData[5].binary, std::span(base64_, 0))); in TEST_F() 88 PrefixedBase64Encode(kTestData[5].binary, std::span(base64_, 1))); in TEST_F() 96 PrefixedBase64Encode(kTestData[5].binary, in TEST_F() 116 for (auto& [binary, base64] : kTestData) { in TEST_F() 117 EXPECT_EQ(binary.size(), PrefixedBase64Decode(base64, binary_)); in TEST_F() 118 ASSERT_EQ(0, std::memcmp(binary.data(), binary_, binary.size())); in TEST_F() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | libspirv.cpp | 74 std::vector<uint32_t>* binary, in Assemble() argument 76 return Assemble(text.data(), text.size(), binary, options); in Assemble() 80 std::vector<uint32_t>* binary, in Assemble() argument 86 binary->assign(spvbinary->code, spvbinary->code + spvbinary->wordCount); in Assemble() 92 bool SpirvTools::Disassemble(const std::vector<uint32_t>& binary, in Disassemble() argument 94 return Disassemble(binary.data(), binary.size(), text, options); in Disassemble() 97 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument 100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble() 109 bool SpirvTools::Validate(const std::vector<uint32_t>& binary) const { in Validate() 110 return Validate(binary.data(), binary.size()); in Validate() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | libspirv.cpp | 74 std::vector<uint32_t>* binary, in Assemble() argument 76 return Assemble(text.data(), text.size(), binary, options); in Assemble() 80 std::vector<uint32_t>* binary, in Assemble() argument 86 binary->assign(spvbinary->code, spvbinary->code + spvbinary->wordCount); in Assemble() 92 bool SpirvTools::Disassemble(const std::vector<uint32_t>& binary, in Disassemble() argument 94 return Disassemble(binary.data(), binary.size(), text, options); in Disassemble() 97 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument 100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble() 109 bool SpirvTools::Validate(const std::vector<uint32_t>& binary) const { in Validate() 110 return Validate(binary.data(), binary.size()); in Validate() [all …]
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
D | binary-input-and-output.test | 6 ## -I binary -O binary preserves payload through in-memory representation. 7 # RUN: llvm-objcopy -I binary -O binary %t.txt %t.2.txt 11 ## If -O is not specified, it defaults to -I, i.e. "binary". 12 # RUN: llvm-objcopy -I binary %t.txt %t.3.txt 15 ## -I binary -O elf* creates an ELF. -O binary transforms it back to the 17 # RUN: llvm-objcopy -I binary -O elf64-x86-64 %t.txt %t.o 18 # RUN: llvm-objcopy -O binary %t.o %t.4.txt 22 # RUN: llvm-objcopy -I binary -B i386:x86-64 -O binary %t.txt %t.5.txt
|