/external/llvm/lib/Support/ |
H A D | circular_raw_ostream.cpp | 26 unsigned Bytes = local 28 memcpy(Cur, Ptr, Bytes); 29 Size -= Bytes; 30 Cur += Bytes;
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | circular_raw_ostream.cpp | 26 unsigned Bytes = local 28 memcpy(Cur, Ptr, Bytes); 29 Size -= Bytes; 30 Cur += Bytes;
|
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/ |
H A D | llvm-objdump.h | 29 StringRef Bytes; member in class:llvm::StringRefMemoryObject 31 StringRefMemoryObject(StringRef bytes) : Bytes(bytes) {} 34 uint64_t getExtent() const { return Bytes.size(); } 39 *Byte = Bytes[Addr];
|
/external/boringssl/src/crypto/test/ |
H A D | test_util.h | 32 // Bytes is a wrapper over a byte slice which may be compared for equality. This 34 struct Bytes { struct 35 Bytes(const uint8_t *data_arg, size_t len_arg) function in struct:Bytes 37 Bytes(const char *data_arg, size_t len_arg) function in struct:Bytes 40 Bytes(const char *str) function in struct:Bytes 44 Bytes(const uint8_t (&array)[N]) : data(array), len(N) {} 50 inline bool operator==(const Bytes &a, const Bytes &b) { 54 inline bool operator!=(const Bytes &a, const Bytes [all...] |
/external/llvm/include/llvm/Support/ |
H A D | StreamingMemoryObject.h | 49 mutable std::vector<unsigned char> Bytes; member in class:llvm::StreamingMemoryObject 51 mutable size_t BytesRead; // Bytes read from stream 52 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header) 66 Bytes.resize(BytesRead + BytesSkipped + kChunkSize); 67 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped],
|
/external/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugLoc.cpp | 65 unsigned Bytes = data.getU16(&Offset); local 67 StringRef str = data.getData().substr(Offset, Bytes); 68 Offset += Bytes; 98 unsigned Bytes = data.getU16(&Offset); local 100 StringRef str = data.getData().substr(Offset, Bytes); 101 Offset += Bytes;
|
/external/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.h | 32 mutable ArrayRef<uint8_t> Bytes; member in class:llvm::AMDGPUDisassembler 41 ArrayRef<uint8_t> Bytes, uint64_t Address,
|
H A D | AMDGPUDisassembler.cpp | 87 template <typename T> static inline T eatBytes(ArrayRef<uint8_t>& Bytes) { argument 88 assert(Bytes.size() >= sizeof(T)); 89 const auto Res = support::endian::read<T, support::endianness::little>(Bytes.data()); 90 Bytes = Bytes.slice(sizeof(T)); 101 const auto SavedBytes = Bytes; 106 Bytes = SavedBytes; 121 Bytes = Bytes_.slice(0, MaxInstBytesNum); 130 if (Bytes.size() >= 8) { 131 const uint64_t QW = eatBytes<uint64_t>(Bytes); [all...] |
/external/llvm/unittests/Bitcode/ |
H A D | BitstreamReaderTest.cpp | 36 uint8_t Bytes[4] = { local 39 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); 56 uint8_t Bytes[4] = { local 59 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); 75 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03}; local 76 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); 87 uint8_t Bytes[] local 97 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; local 107 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; local 118 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, local 132 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, local 146 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, local 163 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, local [all...] |
/external/llvm/unittests/MC/ |
H A D | Disassembler.cpp | 29 uint8_t Bytes[] = {0x90, 0x90, 0xeb, 0xfd}; local 30 uint8_t *BytesP = Bytes; 39 unsigned NumBytes = sizeof(Bytes);
|
/external/llvm/lib/DebugInfo/CodeView/ |
H A D | StreamReader.cpp | 76 ArrayRef<uint8_t> Bytes; local 77 if (auto EC = readBytes(Bytes, Length)) 79 Dest = StringRef(reinterpret_cast<const char *>(Bytes.begin()), Bytes.size());
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | StreamReader.h | 58 ArrayRef<uint8_t> Bytes; local 67 if (auto EC = readBytes(Bytes, NumElements * sizeof(T))) 69 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements);
|
/external/llvm/include/llvm/Transforms/IPO/ |
H A D | LowerTypeTests.h | 184 std::vector<uint8_t> Bytes; member in struct:llvm::lowertypetests::ByteArrayBuilder
|
H A D | WholeProgramDevirt.h | 37 std::vector<uint8_t> Bytes; member in struct:llvm::wholeprogramdevirt::AccumBitVector 39 // Bits in BytesUsed[I] are 1 if matching bit in Bytes[I] is used, 0 if not. 43 if (Bytes.size() < Pos + Size) { 44 Bytes.resize(Pos + Size); 47 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); 153 return minBeforeBytes() + TM->Bits->Before.Bytes.size(); 159 return minAfterBytes() + TM->Bits->After.Bytes.size();
|
/external/llvm/lib/Target/AVR/ |
H A D | AVRMachineFunctionInfo.h | 61 void setCalleeSavedFrameSize(unsigned Bytes) { CalleeSavedFrameSize = Bytes; } argument
|
/external/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 37 ArrayRef<uint8_t> Bytes, uint64_t Address, 64 MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t /*Address*/, 70 if (Pos + sizeof(uint64_t) > Bytes.size()) 72 uint64_t Opcode = support::endian::read64le(Bytes.data() + Pos); 85 if (Pos + sizeof(uint64_t) > Bytes.size()) 87 NumExtraOperands = support::endian::read64le(Bytes.data() + Pos); 98 if (Pos + sizeof(uint64_t) > Bytes.size()) 100 uint64_t Imm = support::endian::read64le(Bytes.data() + Pos); 106 if (Pos + sizeof(uint64_t) > Bytes.size()) 108 uint64_t Reg = support::endian::read64le(Bytes 63 getInstruction( MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t , raw_ostream &OS, raw_ostream &CS) const argument [all...] |
/external/llvm/tools/llvm-mc/ |
H A D | Disassembler.cpp | 35 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/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | FieldType.cs | 87 Bytes, enumerator in enum:Google.Protobuf.Reflection.FieldType
|
/external/clang/unittests/Lex/ |
H A D | HeaderMapTest.cpp | 28 unsigned char Bytes[NumBytes]; member in struct:__anon3340::MapFile 69 assert(SI + S.size() + 1 <= sizeof(File.Bytes)); 70 std::copy(S.begin(), S.end(), File.Bytes + SI); 205 ASSERT_EQ('c', File.Bytes[5]); 206 for (unsigned I = 6; I < sizeof(File.Bytes); ++I) { 207 ASSERT_EQ(0, File.Bytes[I]); 208 File.Bytes[I] = 'x'; 240 ASSERT_EQ('b', File.Bytes[5]); 241 for (unsigned I = 6; I < sizeof(File.Bytes); ++I) { 242 ASSERT_EQ(0, File.Bytes[ [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
H A D | Bytes.java | 51 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 D | Disassembler.cpp | 230 // instruction are specified in the parameter Bytes, and contains at least 239 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DCR, uint8_t *Bytes, argument 243 // Wrap the pointer to the Bytes, BytesSize and PC in a MemoryObject. 244 ArrayRef<uint8_t> Data(Bytes, BytesSize);
|
/external/llvm/lib/Target/Lanai/Disassembler/ |
H A D | LanaiDisassembler.cpp | 74 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, argument 77 if (Bytes.size() < 4) { 84 (Bytes[0] << 24) | (Bytes[1] << 16) | (Bytes[2] << 8) | (Bytes[3] << 0); 131 ArrayRef<uint8_t> Bytes, 137 DecodeStatus Result = readInstruction32(Bytes, Address, Size, Insn); 130 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &VStream, raw_ostream &CStream) const argument
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.h | 110 unsigned addBytes(unsigned char *Ptr, int Num, int Bytes) { argument 112 assert((curpos + Bytes) <= size); 117 for (int i = Num; i < Bytes; ++i) { 281 void bufferLEByte(const Constant *CPV, int Bytes, AggBuffer *aggBuffer);
|
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 87 uint64_t Bytes = CSize->getZExtValue(); local 88 if (Bytes == 0) 97 Bytes <= 16 && countPopulation(Bytes) <= 2 : 98 Bytes <= 4) { 99 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); 100 unsigned Size2 = Bytes - Size1; 114 if (Bytes <= 2) { 117 if (Bytes 188 uint64_t Bytes = CSize->getZExtValue(); local [all...] |
/external/llvm/utils/TableGen/ |
H A D | DAGISelMatcherEmitter.cpp | 402 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); local 404 return Bytes; 409 unsigned Bytes=1+EmitVBRValue(cast<CheckChildIntegerMatcher>(N)->getValue(), local 412 return Bytes; 445 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); local 447 return Bytes; 452 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); local 454 return Bytes; 465 unsigned Bytes = 2+EmitVBRValue(Val, OS); local 467 return Bytes; [all...] |