/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
BinaryTagTest.java | 23 * @see <a href="http://yaml.org/type/binary.html"></a> 33 byte[] binary = (byte[]) getMapValue("canonical: !!binary " + content, "canonical"); 34 assertEquals((byte) 'G', binary[0]); 35 assertEquals((byte) 'I', binary[1]); 36 assertEquals((byte) 'F', binary[2]); 37 assertEquals((byte) '8', binary[3]); 38 assertEquals((byte) '9', binary[4]); 42 byte[] binary = (byte[]) load("!!binary \"MQ==\"") [all...] |
/external/mesa3d/src/amd/common/ |
ac_binary.c | 44 struct ac_shader_binary *binary) 58 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t)); 67 binary->global_symbol_offsets[binary->global_symbol_count] = 72 for (i = binary->global_symbol_count; i > 0; --i) { 73 uint64_t lhs = binary->global_symbol_offsets[i - 1]; 74 uint64_t rhs = binary->global_symbol_offsets[i]; 78 binary->global_symbol_offsets[i] = lhs; 79 binary->global_symbol_offsets[i - 1] = rhs; 81 ++binary->global_symbol_count [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_elf_util.h | 36 * Parse the elf binary stored in \p elf_data and create a 40 struct radeon_shader_binary *binary); 44 * the function starting at \p symbol_offset of the binary. 47 const struct radeon_shader_binary *binary,
|
radeon_elf_util.c | 38 struct radeon_shader_binary *binary) 52 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t)); 61 binary->global_symbol_offsets[binary->global_symbol_count] = 66 for (i = binary->global_symbol_count; i > 0; --i) { 67 uint64_t lhs = binary->global_symbol_offsets[i - 1]; 68 uint64_t rhs = binary->global_symbol_offsets[i]; 72 binary->global_symbol_offsets[i] = lhs; 73 binary->global_symbol_offsets[i - 1] = rhs; 75 ++binary->global_symbol_count [all...] |
/external/valgrind/auxprogs/ |
dump_insn_ppc.sh | 3 objdump -b binary -m powerpc -EB -D \
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/ |
binary.h | 35 // Grabs the header from the SPIR-V module given in the binary parameter. The 36 // endian parameter specifies the endianness of the binary module. On success, 38 spv_result_t spvBinaryHeaderGet(const spv_const_binary binary,
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/opt/ |
module.cpp | 55 void Module::ToBinary(std::vector<uint32_t>* binary, bool skip_nop) const { 56 binary->push_back(header_.magic_number); 57 binary->push_back(header_.version); 59 binary->push_back(header_.generator); 60 binary->push_back(header_.bound); 61 binary->push_back(header_.reserved); 64 for (const auto& c : capabilities_) c.ToBinary(binary, skip_nop); 65 for (const auto& e : extensions_) e.ToBinary(binary, skip_nop); 66 for (const auto& e : ext_inst_imports_) e.ToBinary(binary, skip_nop); 67 memory_model_.ToBinary(binary, skip_nop) [all...] |
function.cpp | 39 void Function::ToBinary(std::vector<uint32_t>* binary, bool skip_nop) const { 40 def_inst_.ToBinary(binary, skip_nop); 41 for (const auto& param : params_) param.ToBinary(binary, skip_nop); 42 for (const auto& bb : blocks_) bb.ToBinary(binary, skip_nop); 43 end_inst_.ToBinary(binary, skip_nop);
|
libspirv.hpp | 53 // Assembles the given assembly |text| and writes the result to |binary|. 55 spv_result_t Assemble(const std::string& text, std::vector<uint32_t>* binary); 57 // Disassembles the given SPIR-V |binary| and returns the assembly. Returns 59 spv_result_t Disassemble(const std::vector<uint32_t>& binary, 62 // Builds and returns a Module from the given SPIR-V |binary|. 63 std::unique_ptr<ir::Module> BuildModule(const std::vector<uint32_t>& binary);
|
/external/autotest/client/site_tests/desktopui_KillRestart/ |
desktopui_KillRestart.py | 11 """Validate that the given binary can crash and get restarted.""" 18 def run_once(self, binary = 'chrome'): 19 # Ensure the binary is running. 21 lambda: os.system('pgrep %s >/dev/null' % binary) == 0, 22 error.TestFail('%s is not running at start of test' % binary), 25 # Try to kill all running instances of the binary. 27 utils.system('pkill -KILL %s' % binary) 30 raise error.TestFail('%s is not running before kill' % binary) 32 # Check if the binary is running again (using os.system(), since it 35 lambda: os.system('pgrep %s >/dev/null' % binary) == 0 [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkPrograms.cpp | 49 ProgramBinary::ProgramBinary (ProgramFormat format, size_t binarySize, const deUint8* binary) 51 , m_binary (binary, binary+binarySize) 69 bool isSaneSpirVBinary (const ProgramBinary& binary) 76 DE_ASSERT(binary.getFormat() == PROGRAM_FORMAT_SPIRV); 78 if (binary.getSize() % sizeof(deUint32) != 0) 81 if (binary.getSize() < sizeof(deUint32)) 84 if (*(const deUint32*)binary.getBinary() != spirvMagicBytes) 90 ProgramBinary* createProgramBinaryFromSpirV (const vector<deUint32>& binary) 92 DE_ASSERT(!binary.empty()) 105 vector<deUint32> binary; local 137 vector<deUint32> binary; local [all...] |
vkSpirVAsm.hpp | 23 * \brief SPIR-V assembly to binary. 37 //! Disassemble SPIR-V binary. Throws tcu::NotSupportedError if disassembler is not available 38 void disassembleSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* dst); 40 //! Validate SPIR-V binary, returning true if validation succeeds. Will fail with NotSupportedError if compiler is not available. 41 bool validateSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* infoLog);
|
vkSpirVAsm.cpp | 21 * \brief SPIR-V assembly to binary. 47 spv_binary binary = DE_NULL; local 57 const spv_result_t compileOk = spvTextToBinary(context, spvSource.c_str(), spvSource.size(), &binary, &diagnostic); 66 DE_ASSERT(binary->wordCount > 0); 67 dst->resize(binary->wordCount); 68 std::copy(&binary->code[0], &binary->code[0] + binary->wordCount, dst->begin()); 71 spvBinaryDestroy(binary); 79 spvBinaryDestroy(binary); [all...] |
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-cris/ |
v32-bin-1.d | 3 #ld: -m criself --oformat binary --defsym ext1=0x4000 --defsym ext2=0x6000 4 #objdump: -s -b binary 6 # Test that pcrel relocs work with --oformat binary. 9 .*: file format binary
|
/packages/apps/Dialer/java/com/android/dialer/binary/aosp/testing/ |
TestActivity.java | 17 package com.android.dialer.binary.aosp.testing;
|
/external/autotest/client/cros/ |
asan.py | 13 def running_on_asan(binary="debugd"): 16 @param binary: file to test for ASan symbols. 23 scanelf_command += " -gs %s `which %s`" % (_ASAN_SYMBOL, binary)
|
/external/google-breakpad/src/tools/solaris/dump_syms/ |
dump_syms.cc | 4 // Redistribution and use in source and binary forms, with or without 10 // * Redistributions in binary form must reproduce the above 41 fprintf(stderr, "Usage: %s <binary-with-stab-symbol>\n", argv[0]); 45 const char *binary = argv[1]; local 48 if (!dumper.WriteSymbolFile(binary, fileno(stdout))) {
|
/packages/apps/Dialer/java/com/android/dialer/binary/aosp/ |
AospDialerApplication.java | 17 package com.android.dialer.binary.aosp; 20 import com.android.dialer.binary.common.DialerApplication;
|
/prebuilts/ndk/r13/sources/third_party/shaderc/libshaderc_util/include/libshaderc_util/ |
spirv_tools_wrapper.h | 27 // binary to *binary, and clears *errors. Otherwise, writes the error message 29 bool SpirvToolsAssemble(const string_piece assembly, spv_binary* binary, 32 // Disassembles the given binary. Returns true and writes the disassembled text 35 bool SpirvToolsDisassemble(const std::vector<uint32_t>& binary,
|
/prebuilts/go/darwin-x86/src/encoding/binary/ |
example_test.go | 9 "encoding/binary" 17 err := binary.Write(buf, binary.LittleEndian, pi) 19 fmt.Println("binary.Write failed:", err) 33 err := binary.Write(buf, binary.LittleEndian, v) 35 fmt.Println("binary.Write failed:", err) 46 err := binary.Read(buf, binary.LittleEndian, &pi) 48 fmt.Println("binary.Read failed:", err [all...] |
/prebuilts/go/linux-x86/src/encoding/binary/ |
example_test.go | 9 "encoding/binary" 17 err := binary.Write(buf, binary.LittleEndian, pi) 19 fmt.Println("binary.Write failed:", err) 33 err := binary.Write(buf, binary.LittleEndian, v) 35 fmt.Println("binary.Write failed:", err) 46 err := binary.Read(buf, binary.LittleEndian, &pi) 48 fmt.Println("binary.Read failed:", err [all...] |
/external/fonttools/Lib/fontTools/misc/ |
textTools.py | 13 """Convert a list of hex strings to binary data.""" 17 """Convert a hex string to binary data.""" 28 """Convert binary data to a hex string.""" 39 binary = "" 42 binary = "1" + binary 44 binary = "0" + binary 47 items.append(binary) 48 binary = " [all...] |
/external/autotest/client/deps/camera_hal3/ |
camera_hal3.py | 13 binary = 'arc_camera3_test' 17 utils.get_file(os.path.join(src_path, binary), 18 os.path.join(dst_path, binary))
|
/external/toolchain-utils/ |
perf-to-inst-page.sh | 13 # binary : the name of the binary 15 # loading_address : the loading address of the binary 22 binary=$1 27 # size of binary supported. 51 test grep -A 2 PERF_RECORD_SAMPLE $profile | grep -A 1 -B 1 "thread: $binary" | \ 52 grep -B 2 "dso.*$binary$" | awk -v base=$loading_address \
|
/external/cmockery/cmockery_0_1_2/packages/deb/ |
rules | 82 binary-indep: build install 86 binary-arch: build install 116 binary: binary-indep binary-arch 117 .PHONY: build clean binary-indep binary-arch binary install
|