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

12

/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/tools/llvm-objdump/
H A Dllvm-objdump.h29 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];
H A Dllvm-objdump.cpp273 StringRef Bytes; local
274 if (error(i->getContents(Bytes))) break;
275 StringRefMemoryObject memoryObject(Bytes);
312 DumpBytes(StringRef(Bytes.data() + Index, Size));
H A DMachODump.cpp386 StringRef Bytes; local
387 Sections[SectIdx].getContents(Bytes);
388 StringRefMemoryObject memoryObject(Bytes);
472 DumpBytes(StringRef(Bytes.data() + Index, Size));
569 DumpBytes(StringRef(Bytes.data() + pos, 1));
570 outs() << format("\t.byte 0x%02x\n", (uint8_t)Bytes[pos]);
591 DumpBytes(StringRef(Bytes.data() + Inst.Address, Inst.Size));
/external/llvm/include/llvm/Support/
H A DStreamableMemoryObject.h141 mutable std::vector<unsigned char> Bytes; member in class:llvm::StreamingMemoryObject
143 mutable size_t BytesRead; // Bytes read from stream
144 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header)
156 Bytes.resize(BytesRead + BytesSkipped + kChunkSize);
157 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped],
/external/clang/include/clang/AST/
H A DAttr.h42 void *operator new(size_t Bytes, const clang::ASTContext &C,
46 void *operator new[](size_t Bytes, const clang::ASTContext &C,
77 void* operator new(size_t Bytes, ASTContext &C, argument
79 return ::operator new(Bytes, C, Alignment);
/external/guava/guava/src/com/google/common/primitives/
H A DBytes.java47 public final class Bytes { class
48 private Bytes() {} method in class:Bytes
295 && Bytes.indexOf(array, (Byte) target, start, end) != -1;
301 int i = Bytes.indexOf(array, (Byte) target, start, end);
312 int i = Bytes.lastIndexOf(array, (Byte) target, start, end);
359 result = 31 * result + Bytes.hashCode(array[i]);
/external/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp113 uint8_t *Bytes; member in class:__anon7464::DisasmMemoryObject
118 Bytes(bytes), Size(size), BasePC(basePC) {}
126 *Byte = Bytes[Addr - BasePC];
135 // instruction are specified in the parameter Bytes, and contains at least
144 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DCR, uint8_t *Bytes, argument
148 // Wrap the pointer to the Bytes, BytesSize and PC in a MemoryObject.
149 DisasmMemoryObject MemoryObject(Bytes, BytesSize, PC);
/external/llvm/lib/Target/ARM/
H A DThumb1RegisterInfo.cpp142 static unsigned calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, argument
148 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes;
149 Bytes -= ThisVal;
156 NumMIs += Bytes / Chunk;
157 if ((Bytes % Chunk) != 0)
174 unsigned Bytes = (unsigned)NumBytes;
175 if (isSub) Bytes = -NumBytes;
176 bool isMul4 = (Bytes & 3) == 0;
197 Bytes
[all...]
/external/llvm/tools/llvm-mc/
H A DDisassembler.cpp39 const ByteArrayTy &Bytes; member in class:__anon7889::VectorMemoryObject
41 VectorMemoryObject(const ByteArrayTy &bytes) : Bytes(bytes) {}
44 uint64_t getExtent() const { return Bytes.size(); }
49 *Byte = Bytes[Addr].first;
56 const ByteArrayTy &Bytes,
60 VectorMemoryObject memoryObject(Bytes);
66 for (Index = 0; Index < Bytes.size(); Index += Size) {
74 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second),
82 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second),
55 PrintInsts(const MCDisassembler &DisAsm, const ByteArrayTy &Bytes, SourceMgr &SM, raw_ostream &Out, MCStreamer &Streamer) argument
/external/valgrind/main/none/tests/x86-linux/
H A Dseg_override.c21 } Bytes; member in union:_LDT_ENTRY::__anon12854
/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/Mips/Disassembler/
H A DMipsDisassembler.cpp285 uint8_t Bytes[4]; local
287 // We want to read exactly 4 Bytes of data.
288 if (region.readBytes(address, 4, (uint8_t*)Bytes, NULL) == -1) {
295 insn = (Bytes[3] << 0) |
296 (Bytes[2] << 8) |
297 (Bytes[1] << 16) |
298 (Bytes[0] << 24);
302 insn = (Bytes[0] << 0) |
303 (Bytes[1] << 8) |
304 (Bytes[
[all...]
/external/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp368 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); local
370 return Bytes;
403 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); local
405 return Bytes;
410 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); local
412 return Bytes;
423 unsigned Bytes = 2+EmitVBRValue(Val, OS); local
425 return Bytes;
/external/e2fsprogs/lib/ext2fs/
H A Dnt_io.c893 IN ULONG Bytes,
906 ASSERT(0 == (Bytes % 512));
917 &IoStatusBlock, Buffer, Bytes, &Offset, NULL);
922 &IoStatusBlock, Buffer, Bytes, &Offset, NULL);
948 IN ULONG Bytes,
953 return _BlockIo(Handle, Offset, Bytes, (PCHAR)Buffer, FALSE, Errno);
961 IN ULONG Bytes,
966 return _BlockIo(Handle, Offset, Bytes, Buffer, TRUE, Errno);
890 _BlockIo( IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Bytes, IN OUT PCHAR Buffer, IN BOOLEAN Read, OUT unsigned* Errno ) argument
945 _RawWrite( IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Bytes, OUT const CHAR* Buffer, OUT unsigned* Errno ) argument
958 _RawRead( IN HANDLE Handle, IN LARGE_INTEGER Offset, IN ULONG Bytes, IN PCHAR Buffer, OUT unsigned* Errno ) argument
/external/giflib/
H A Dgif_lib.h282 char *Bytes; /* on malloc(3) heap */ member in struct:__anon4976
/external/llvm/include/llvm/MC/
H A DMCContext.h352 /// @param Bytes The number of bytes to allocate. Calculated by the compiler.
357 inline void *operator new(size_t Bytes, llvm::MCContext &C, argument
359 return C.Allocate(Bytes, Alignment);
386 /// @param Bytes The number of bytes to allocate. Calculated by the compiler.
391 inline void *operator new[](size_t Bytes, llvm::MCContext& C, argument
393 return C.Allocate(Bytes, Alignment);
/external/llvm/lib/Target/PTX/
H A DPTXMCAsmStreamer.cpp228 static inline int64_t truncateToSize(int64_t Value, unsigned Bytes) { argument
229 assert(Bytes && "Invalid size!");
230 return Value & ((uint64_t) (int64_t) -1 >> (64 - Bytes * 8));
/external/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp176 unsigned Bytes = unsigned(End-Start); local
177 unsigned NumPointerStores = Bytes/TD.getPointerSize();
180 unsigned NumByteStores = Bytes - NumPointerStores*TD.getPointerSize();
/external/clang/lib/Frontend/
H A DCompilerInvocation.cpp1974 unsigned Bytes = 0; local
1978 Value.substr(0, Comma).getAsInteger(10, Bytes) ||
1982 Opts.PrecompiledPreambleBytes.first = Bytes;
/external/llvm/lib/Target/CellSPU/
H A DSPUISelDAGToDAG.cpp942 SDNode *Bytes = local
952 SDValue(VecOp0, 0), SDValue(Bytes, 0));
1001 SDNode *Bytes = local
1011 Bytes = CurDAG->getMachineNode(SPU::SFIr32, dl, ShiftAmtVT,
1012 SDValue(Bytes, 0),
1021 SDValue(VecOp0, 0), SDValue(Bytes, 0));
/external/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp126 void writeBytes(const char *Bytes, int Size) { argument
127 os->write(Bytes, Size);
/external/clang/include/clang/Lex/
H A DPreprocessor.h771 /// \brief Bytes The number of bytes in the preamble to skip.
775 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { argument
776 SkipMainFilePreamble.first = Bytes;
/external/clang/lib/Lex/
H A DLexer.cpp1459 void Lexer::SkipBytes(unsigned Bytes, bool StartOfLine) { argument
1460 BufferPtr += Bytes;
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2851 StreamingMemoryObject *Bytes = new StreamingMemoryObject(LazyStreamer); local
2852 StreamFile.reset(new BitstreamReader(Bytes));
2856 if (Bytes->readBytes(0, 16, buf, NULL) == -1)
2866 Bytes->dropLeadingBytes(bitcodeStart - buf);
2867 Bytes->setKnownObjectSize(bitcodeEnd - bitcodeStart);

Completed in 355 milliseconds

12