Searched defs:Bytes (Results 1 - 25 of 35) 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.cpp286 StringRef Bytes; local
287 if (error(i->getContents(Bytes))) break;
288 StringRefMemoryObject memoryObject(Bytes);
325 DumpBytes(StringRef(Bytes.data() + Index, Size));
H A DMachODump.cpp388 StringRef Bytes; local
389 Sections[SectIdx].getContents(Bytes);
390 StringRefMemoryObject memoryObject(Bytes);
474 DumpBytes(StringRef(Bytes.data() + Index, Size));
516 DumpBytes(StringRef(Bytes.data() + Index, InstSize));
594 DumpBytes(StringRef(Bytes.data() + pos, 1));
595 outs() << format("\t.byte 0x%02x\n", (uint8_t)Bytes[pos]);
616 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:__anon8779::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.cpp143 static unsigned calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, argument
149 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes;
150 Bytes -= ThisVal;
157 NumMIs += Bytes / Chunk;
158 if ((Bytes % Chunk) != 0)
175 unsigned Bytes = (unsigned)NumBytes;
176 if (isSub) Bytes = -NumBytes;
177 bool isMul4 = (Bytes & 3) == 0;
198 Bytes
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h117 unsigned addBytes(unsigned char *Ptr, int Num, int Bytes) { argument
119 assert((curpos+Bytes) <= size);
124 for ( int i=Num; i < Bytes ; ++i) {
277 void bufferLEByte(Constant *CPV, int Bytes, AggBuffer *aggBuffer) ;
/external/llvm/tools/llvm-mc/
H A DDisassembler.cpp39 const ByteArrayTy &Bytes; member in class:__anon9211::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::__anon14216
/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.cpp237 uint8_t Bytes[4]; local
239 // We want to read exactly 4 Bytes of data.
240 if (region.readBytes(address, 4, (uint8_t*)Bytes, NULL) == -1) {
247 insn = (Bytes[3] << 0) |
248 (Bytes[2] << 8) |
249 (Bytes[1] << 16) |
250 (Bytes[0] << 24);
254 insn = (Bytes[0] << 0) |
255 (Bytes[1] << 8) |
256 (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:__anon5517
/external/llvm/include/llvm/MC/
H A DMCContext.h356 /// @param Bytes The number of bytes to allocate. Calculated by the compiler.
361 inline void *operator new(size_t Bytes, llvm::MCContext &C, argument
363 return C.Allocate(Bytes, Alignment);
390 /// @param Bytes The number of bytes to allocate. Calculated by the compiler.
395 inline void *operator new[](size_t Bytes, llvm::MCContext& C, argument
397 return C.Allocate(Bytes, Alignment);
/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/llvm/lib/Target/CellSPU/
H A DSPUISelDAGToDAG.cpp941 SDNode *Bytes = local
951 SDValue(VecOp0, 0), SDValue(Bytes, 0));
1000 SDNode *Bytes = local
1010 Bytes = CurDAG->getMachineNode(SPU::SFIr32, dl, ShiftAmtVT,
1011 SDValue(Bytes, 0),
1020 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/lib/Frontend/
H A DCompilerInvocation.cpp2190 unsigned Bytes = 0; local
2194 Value.substr(0, Comma).getAsInteger(10, Bytes) ||
2198 Opts.PrecompiledPreambleBytes.first = Bytes;
/external/clang/include/clang/Lex/
H A DPreprocessor.h812 /// \param Bytes The number of bytes in the preamble to skip.
816 void setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine) { argument
817 SkipMainFilePreamble.first = Bytes;
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2892 StreamingMemoryObject *Bytes = new StreamingMemoryObject(LazyStreamer); local
2893 StreamFile.reset(new BitstreamReader(Bytes));
2897 if (Bytes->readBytes(0, 16, buf, NULL) == -1)
2907 Bytes->dropLeadingBytes(bitcodeStart - buf);
2908 Bytes->setKnownObjectSize(bitcodeEnd - bitcodeStart);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1640 uint64_t Bytes = AP.TM.getTargetData()->getTypeAllocSize(CDS->getType()); local
1642 if (Bytes > 1)
1643 return AP.OutStreamer.EmitFill(Bytes, Value, AddrSpace);
1706 uint64_t Bytes = AP.TM.getTargetData()->getTypeAllocSize(CA->getType()); local
1707 AP.OutStreamer.EmitFill(Bytes, Value, AddrSpace);

Completed in 1224 milliseconds

12