Searched defs:Bytes (Results 1 - 25 of 55) sorted by relevance

123

/external/llvm/unittests/Bitcode/
H A DBitstreamReaderTest.cpp18 uint8_t Bytes[4] = { local
21 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes));
38 uint8_t Bytes[4] = { local
41 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes));
/external/llvm/lib/Support/
H A Dcircular_raw_ostream.cpp26 unsigned Bytes = local
28 memcpy(Cur, Ptr, Bytes);
29 Size -= Bytes;
30 Cur += Bytes;
/external/llvm/include/llvm/Support/
H A DStreamingMemoryObject.h54 mutable std::vector<unsigned char> Bytes; member in class:llvm::StreamingMemoryObject
56 mutable size_t BytesRead; // Bytes read from stream
57 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header)
70 Bytes.resize(BytesRead + BytesSkipped + kChunkSize);
71 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped],
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLoc.cpp66 unsigned Bytes = data.getU16(&Offset); local
68 StringRef str = data.getData().substr(Offset, Bytes);
69 Offset += Bytes;
99 unsigned Bytes = data.getU16(&Offset); local
101 StringRef str = data.getData().substr(Offset, Bytes);
102 Offset += Bytes;
/external/llvm/unittests/MC/
H A DDisassembler.cpp29 uint8_t Bytes[] = {0x90, 0x90, 0xeb, 0xfd}; local
30 uint8_t *BytesP = Bytes;
39 unsigned NumBytes = sizeof(Bytes);
/external/llvm/include/llvm/Transforms/IPO/
H A DLowerBitSets.h176 std::vector<uint8_t> Bytes; member in struct:llvm::ByteArrayBuilder
/external/llvm/tools/llvm-mc/
H A DDisassembler.cpp35 const ByteArrayTy &Bytes,
39 ArrayRef<uint8_t> Data(Bytes.first.data(), Bytes.first.size());
45 for (Index = 0; Index < Bytes.first.size(); Index += Size) {
53 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]),
66 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]),
34 PrintInsts(const MCDisassembler &DisAsm, const ByteArrayTy &Bytes, SourceMgr &SM, raw_ostream &Out, MCStreamer &Streamer, bool InAtomicBlock, const MCSubtargetInfo &STI) argument
/external/llvm/lib/Target/Hexagon/Disassembler/
H A DHexagonDisassembler.cpp44 ArrayRef<uint8_t> Bytes, uint64_t Address,
190 ArrayRef<uint8_t> Bytes,
195 if (Bytes.size() < 4)
200 llvm::support::unaligned>(Bytes.data());
189 getInstruction(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &os, raw_ostream &cs) const argument
/external/clang/include/clang/AST/
H A DAttr.h67 void* operator new(size_t Bytes, ASTContext &C, argument
69 return ::operator new(Bytes, C, Alignment);
/external/guava/guava/src/com/google/common/primitives/
H A DBytes.java51 public final class Bytes { class
52 private Bytes() {} method in class:Bytes
300 && Bytes.indexOf(array, (Byte) target, start, end) != -1;
306 int i = Bytes.indexOf(array, (Byte) target, start, end);
317 int i = Bytes.lastIndexOf(array, (Byte) target, start, end);
365 result = 31 * result + Bytes.hashCode(array[i]);
/external/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp232 // instruction are specified in the parameter Bytes, and contains at least
241 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DCR, uint8_t *Bytes, argument
245 // Wrap the pointer to the Bytes, BytesSize and PC in a MemoryObject.
246 ArrayRef<uint8_t> Data(Bytes, BytesSize);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h101 unsigned addBytes(unsigned char *Ptr, int Num, int Bytes) { argument
103 assert((curpos + Bytes) <= size);
108 for (int i = Num; i < Bytes; ++i) {
271 void bufferLEByte(const Constant *CPV, int Bytes, AggBuffer *aggBuffer);
/external/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp96 uint64_t Bytes = CSize->getZExtValue(); local
97 if (Bytes == 0)
106 Bytes <= 16 && countPopulation(Bytes) <= 2 :
107 Bytes <= 4) {
108 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes);
109 unsigned Size2 = Bytes - Size1;
123 if (Bytes <= 2) {
126 if (Bytes
197 uint64_t Bytes = CSize->getZExtValue(); local
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_debug.cpp141 const uint8_t *Bytes; member in class:BufferMemoryObject
145 Bytes(bytes), Length(length)
163 *byte = Bytes[addr];
/external/valgrind/none/tests/x86-linux/
H A Dseg_override.c21 } Bytes; member in union:_LDT_ENTRY::__anon16782
/external/llvm/include/llvm/Bitcode/
H A DBitstreamWriter.h77 unsigned char Bytes[4] = { local
82 Out.append(&Bytes[0], &Bytes[4]);
/external/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp37 ArrayRef<uint8_t> Bytes, uint64_t Address,
210 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, argument
212 // We want to read exactly 4 Bytes of data.
213 if (Bytes.size() < 4) {
220 (Bytes[3] << 0) | (Bytes[2] << 8) | (Bytes[1] << 16) | (Bytes[0] << 24);
226 ArrayRef<uint8_t> Bytes,
232 DecodeStatus Result = readInstruction32(Bytes, Addres
225 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &VStream, raw_ostream &CStream) const argument
[all...]
/external/llvm/lib/Target/XCore/Disassembler/
H A DXCoreDisassembler.cpp39 ArrayRef<uint8_t> Bytes, uint64_t Address,
45 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, argument
47 // We want to read exactly 2 Bytes of data.
48 if (Bytes.size() < 2) {
53 Insn = (Bytes[0] << 0) | (Bytes[1] << 8);
57 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, argument
59 // We want to read exactly 4 Bytes of data.
60 if (Bytes.size() < 4) {
66 (Bytes[
738 getInstruction( MCInst &instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &vStream, raw_ostream &cStream) const argument
[all...]
/external/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp377 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); local
379 return Bytes;
384 unsigned Bytes=1+EmitVBRValue(cast<CheckChildIntegerMatcher>(N)->getValue(), local
387 return Bytes;
420 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); local
422 return Bytes;
427 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); local
429 return Bytes;
440 unsigned Bytes = 2+EmitVBRValue(Val, OS); local
442 return Bytes;
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dnt_io.c892 IN ULONG Bytes,
905 ASSERT(0 == (Bytes % 512));
916 &IoStatusBlock, Buffer, Bytes, &Offset, NULL);
921 &IoStatusBlock, Buffer, Bytes, &Offset, NULL);
947 IN ULONG Bytes,
952 return _BlockIo(Handle, Offset, Bytes, (PCHAR)Buffer, FALSE, Errno);
960 IN ULONG Bytes,
965 return _BlockIo(Handle, Offset, Bytes, Buffer, TRUE, Errno);
889 _BlockIo( IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Bytes, IN OUT PCHAR Buffer, IN BOOLEAN Read, OUT unsigned* Errno ) argument
944 _RawWrite( IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Bytes, OUT const CHAR* Buffer, OUT unsigned* Errno ) argument
957 _RawRead( IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Bytes, IN PCHAR Buffer, OUT unsigned* Errno ) argument
/external/giflib/
H A Dgif_lib.h54 GifByteType *Bytes; /* on malloc(3) heap */ member in struct:ExtensionBlock
/external/llvm/lib/IR/
H A DAttributes.cpp92 uint64_t Bytes) {
93 assert(Bytes && "Bytes must be non-zero.");
94 return get(Context, Dereferenceable, Bytes);
98 uint64_t Bytes) {
99 assert(Bytes && "Bytes must be non-zero.");
100 return get(Context, DereferenceableOrNull, Bytes);
856 uint64_t Bytes) const {
858 B.addDereferenceableAttr(Bytes);
91 getWithDereferenceableBytes(LLVMContext &Context, uint64_t Bytes) argument
97 getWithDereferenceableOrNullBytes(LLVMContext &Context, uint64_t Bytes) argument
1176 addDereferenceableAttr(uint64_t Bytes) argument
1184 addDereferenceableOrNullAttr(uint64_t Bytes) argument
[all...]
/external/llvm/lib/MC/
H A DMCAsmStreamer.cpp288 static inline int64_t truncateToSize(int64_t Value, unsigned Bytes) { argument
289 assert(Bytes && "Invalid size!");
290 return Value & ((uint64_t) (int64_t) -1 >> (64 - Bytes * 8));
/external/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.cpp100 ArrayRef<uint8_t> Bytes; member in struct:Region
102 Region(ArrayRef<uint8_t> Bytes, uint64_t Base) : Bytes(Bytes), Base(Base) {} argument
113 ArrayRef<uint8_t> Bytes = R->Bytes; local
115 if (Bytes.size() <= Index)
117 *Byte = Bytes[Index];
140 MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
150 Region R(Bytes, Addres
139 getInstruction( MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &VStream, raw_ostream &CStream) const argument
[all...]
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
H A DR600MCCodeEmitter.cpp557 void R600MCCodeEmitter::EmitTwoBytes(unsigned int Bytes, argument
559 OS.write((uint8_t) (Bytes & 0xff));
560 OS.write((uint8_t) ((Bytes >> 8) & 0xff));

Completed in 625 milliseconds

123