Home
last modified time | relevance | path

Searched refs:Binary (Results 1 – 25 of 196) sorted by relevance

12345678

/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DBinary.cpp35 Binary::~Binary() = default;
37 Binary::Binary(unsigned int Type, MemoryBufferRef Source) in Binary() function in Binary
40 StringRef Binary::getData() const { return Data.getBuffer(); } in getData()
42 StringRef Binary::getFileName() const { return Data.getBufferIdentifier(); } in getFileName()
44 MemoryBufferRef Binary::getMemoryBufferRef() const { return Data; } in getMemoryBufferRef()
46 Expected<std::unique_ptr<Binary>> object::createBinary(MemoryBufferRef Buffer, in createBinary()
98 Expected<OwningBinary<Binary>>
107 Expected<std::unique_ptr<Binary>> BinOrErr = in createBinary()
111 std::unique_ptr<Binary> &Bin = BinOrErr.get(); in createBinary()
113 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer)); in createBinary()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCCodeEmitter.cpp64 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI); in encodeInstruction() local
65 if (Binary < (1 << 8)) { in encodeInstruction()
66 OS << uint8_t(Binary); in encodeInstruction()
67 } else if (Binary < (1 << 16)) { in encodeInstruction()
68 OS << uint8_t(Binary >> 8); in encodeInstruction()
69 encodeULEB128(uint8_t(Binary), OS); in encodeInstruction()
70 } else if (Binary < (1 << 24)) { in encodeInstruction()
71 OS << uint8_t(Binary >> 16); in encodeInstruction()
72 encodeULEB128(uint16_t(Binary), OS); in encodeInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DBinary.h32 class Binary {
39 Binary(unsigned int Type, MemoryBufferRef Source);
90 Binary() = delete;
91 Binary(const Binary &other) = delete;
92 virtual ~Binary();
178 DEFINE_ISA_CONVERSION_FUNCTIONS(Binary, LLVMBinaryRef)
183 Expected<std::unique_ptr<Binary>> createBinary(MemoryBufferRef Source,
235 Expected<OwningBinary<Binary>> createBinary(StringRef Path,
H A DMachOUniversalWriter.h28 const Binary *B;
59 const Binary *getBinary() const { return B; } in getBinary()
H A DMinidump.h23 class MinidumpFile : public Binary {
30 static bool classof(const Binary *B) { return B->isMinidump(); } in classof()
167 : Binary(ID_Minidump, Source), Header(Header), Streams(Streams), in MinidumpFile()
H A DTapiUniversal.h26 class TapiUniversal : public Binary {
108 static bool classof(const Binary *v) { return v->isTapiUniversal(); } in classof()
H A DArchive.h81 class Archive : public Binary {
138 Expected<std::unique_ptr<Binary>>
240 static bool classof(Binary const *v) { return v->isArchive(); } in classof()
H A DMachOUniversal.h31 class MachOUniversalBinary : public Binary {
152 static bool classof(Binary const *V) { in classof()
H A DSymbolicFile.h143 class SymbolicFile : public Binary {
175 static bool classof(const Binary *v) { in classof()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp1024 return Binary; in getAddrModeImm12OpValue()
1054 return Binary; in getT2ScaledImmOpValue()
1146 return Binary; in getT2AddrModeImm8s4OpValue()
1173 return Binary; in getT2AddrModeImm7s4OpValue()
1278 return Binary; in getLdStSORegOpValue()
1451 return Binary; in getAddrMode5OpValue()
1491 return Binary; in getAddrMode5FP16OpValue()
1577 Binary |= 0x60; in getSORegImmOpValue()
1578 return Binary; in getSORegImmOpValue()
1688 return Binary; in getT2SORegOpValue()
[all …]
/freebsd-13.1/contrib/file/magic/Magdir/
H A Dbioinformatics39 # BAM (Binary Sequence Alignment/Map format)
43 0 string BAM\1 SAMtools BAM (Binary Sequence Alignment/Map)
59 # CRAM (Binary Sequence Alignment/Map format)
68 # BCF (Binary Call Format), version 1
76 >>&(&-0x04) lelong >0 SAMtools BCF (Binary Call Format)
85 # BCF (Binary Call Format), version 2.1
89 0 string BCF\2\1 Binary Call Format (BCF) version 2.1
98 # BCF (Binary Call Format), version 2.2
102 0 string BCF\2\2 Binary Call Format (BCF) version 2.2
H A Dpbf6 # OpenStreetMap Protocolbuffer Binary Format (.osm.pbf)
11 >>6 string OSMHeader OpenStreetMap Protocolbuffer Binary Format
H A Debml4 # ebml: file(1) magic for various Extensible Binary Meta Language
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/
H A DVVPInstrInfo.td21 // Binary Operators {
32 // Binary operator commutative pattern.
46 // } Binary Operators
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCCodeEmitter.cpp128 uint32_t Binary; in expandFunctionCall() local
138 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandFunctionCall()
139 support::endian::write(OS, Binary, support::little); in expandFunctionCall()
148 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandFunctionCall()
149 support::endian::write(OS, Binary, support::little); in expandFunctionCall()
186 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in expandAddTPRel() local
187 support::endian::write(OS, Binary, support::little); in expandAddTPRel()
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock-spec-builders_test.cc988 ON_CALL(a, Binary(_, _)) in TEST()
990 EXPECT_TRUE(a.Binary(1, 2)); in TEST()
1003 ON_CALL(a, Binary(_, _)) in TEST()
1005 EXPECT_CALL(a, Binary(0, 0)); in TEST()
1006 a.Binary(0, 0); in TEST()
1195 ON_CALL(a, Binary(_, _)) in TEST()
1198 a.Binary(0, 0); in TEST()
2159 a.Binary(2, 1); in TestExpectedCall()
2196 a.Binary(2, 1); in TestUninterestingCallOnNaggyMock()
2594 ON_CALL(a, Binary(_, _)) in TEST()
[all …]
H A Dgmock-more-actions_test.cc107 const char* Binary(const char* input, short n) { return input + n; } // NOLINT in Binary() function
187 std::string Binary(const std::string& str, char c) const { return str + c; } in Binary() function in testing::gmock_more_actions_test::Foo
246 TEST(InvokeTest, Binary) { in TEST() argument
247 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST()
379 TEST(InvokeMethodTest, Binary) { in TEST() argument
381 Action<std::string(const std::string&, char)> a = Invoke(&foo, &Foo::Binary); in TEST()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp156 case FileFormat::Binary: in executeObjcopyOnRawBinary()
172 object::Binary &In, raw_ostream &Out) { in executeObjcopyOnBinary()
222 Expected<std::unique_ptr<Binary>> ChildOrErr = Child.getAsBinary(); in createNewArchiveMembers()
327 OwningBinary<llvm::object::Binary> BinaryHolder; in executeObjcopy()
330 if (Config.InputFormat == FileFormat::Binary || in executeObjcopy()
338 if (Config.InputFormat == FileFormat::Binary) in executeObjcopy()
350 Expected<OwningBinary<llvm::object::Binary>> BinaryOrErr = in executeObjcopy()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCCodeEmitter.cpp404 uint64_t Binary; in EncodeSingleInstruction() local
413 Binary = getBinaryCodeForInstr(MI, Fixups, STI); in EncodeSingleInstruction()
418 if (!Binary && Opc != DuplexIClass0 && Opc != A4_ext) { in EncodeSingleInstruction()
423 Binary |= Parse; in EncodeSingleInstruction()
445 Binary |= SubBits0 | (SubBits1 << 16); in EncodeSingleInstruction()
447 support::endian::write<uint32_t>(OS, Binary, support::little); in EncodeSingleInstruction()
608 ME->getKind() == MCExpr::Binary); in getExprOpValue()
609 if (ME->getKind() == MCExpr::Binary) { in getExprOpValue()
610 MCBinaryExpr const *Binary = cast<MCBinaryExpr>(ME); in getExprOpValue() local
611 getExprOpValue(MI, MO, Binary->getLHS(), Fixups, STI); in getExprOpValue()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DOperatorKinds.def36 /// Binary: True if the operator can be declared as a binary
50 # define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly)
54 # define OVERLOADED_OPERATOR_MULTI(Name,Spelling,Unary,Binary,MemberOnly) \
55 OVERLOADED_OPERATOR(Name,Spelling,unknown,Unary,Binary,MemberOnly)
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCCodeEmitter.cpp183 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in encodeInstruction() local
190 (Opcode != Mips::SLL_MM) && (Opcode != Mips::SLL_MMR6) && !Binary) in encodeInstruction()
212 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in encodeInstruction()
218 Binary = (Binary & 0xFFFFFC7F) | (RegPair << 7); in encodeInstruction()
229 emitInstruction(Binary, Size, STI, OS); in encodeInstruction()
582 unsigned Binary = (MO.getImm() >> 2) & 0x0000ffff; in getSImm9AddiuspValue() local
583 return (((Binary & 0x8000) >> 7) | (Binary & 0x00ff)); in getSImm9AddiuspValue()
602 if (Kind == MCExpr::Binary) { in getExprOpValue()
/freebsd-13.1/contrib/netbsd-tests/usr.bin/grep/
H A Dd_binary.out1 Binary file test.file matches
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp503 Expected<std::unique_ptr<Binary>> ChildOrErr = ArcC.getAsBinary(); in dumpArchive()
528 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput()
534 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput() local
536 if (Archive *Arc = dyn_cast<Archive>(&Binary)) in dumpInput()
538 else if (ObjectFile *Obj = dyn_cast<ObjectFile>(&Binary)) in dumpInput()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp285 std::vector<OwningBinary<Binary>> Binaries;
458 Expected<std::unique_ptr<Binary>> ChildOrErr = Child.getAsBinary(); in dumpArchive()
465 Binary *Bin = ChildOrErr->get(); in dumpArchive()
520 Expected<std::unique_ptr<Binary>> BinaryOrErr = createBinary( in dumpInput()
525 std::unique_ptr<Binary> Bin = std::move(*BinaryOrErr); in dumpInput()
541 OwningBinary<Binary>(std::move(Bin), std::move(Buffer))); in dumpInput()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp107 bool Binary = UE.getSubExpr()->getKind() == MCExpr::Binary; in print() local
108 if (Binary) OS << "("; in print()
110 if (Binary) OS << ")"; in print()
114 case MCExpr::Binary: { in print()
875 case Binary: { in evaluateAsRelocatableImpl()
1001 case Binary: { in findAssociatedFragment()

12345678