HomeSort by relevance Sort by last modified time
    Searched defs:Bytes (Results 1 - 25 of 38) sorted by null

1 2

  /external/llvm/lib/Support/
circular_raw_ostream.cpp 26 unsigned Bytes =
28 memcpy(Cur, Ptr, Bytes);
29 Size -= Bytes;
30 Cur += Bytes;
  /external/llvm/tools/llvm-objdump/
llvm-objdump.h 33 void DumpBytes(StringRef bytes);
40 StringRef Bytes;
42 StringRefMemoryObject(StringRef bytes) : Bytes(bytes) {}
45 uint64_t getExtent() const { return Bytes.size(); }
50 *Byte = Bytes[Addr];
MachODump.cpp 119 StringRef bytes, name; local
120 Sections[i].getContents(bytes);
124 OS << '"' << bytes.substr(addr, bytes.find('\0', addr)) << '"';
127 OS << "@\"" << bytes.substr(addr, bytes.find('\0', addr)) << '"';
357 StringRef Bytes;
358 Sections[SectIdx].getContents(Bytes);
359 StringRefMemoryObject memoryObject(Bytes);
428 // Normal disassembly, print addresses, bytes and mnemonic form
    [all...]
llvm-objdump.cpp 109 "do not print the instruction bytes."));
161 void llvm::DumpBytes(StringRef bytes) {
172 assert(bytes.size() <= 15
173 && "DumpBytes only supports instructions of up to 15 bytes");
176 for (StringRef::iterator i = bytes.begin(),
177 e = bytes.end(); i != e; ++i) {
318 StringRef Bytes;
319 if (error(i->getContents(Bytes))) break;
320 StringRefMemoryObject memoryObject(Bytes);
359 DumpBytes(StringRef(Bytes.data() + Index, Size))
    [all...]
  /external/llvm/include/llvm/Support/
StreamableMemoryObject.h 43 /// getExtent - Returns the size of the region in bytes. (The region is
46 /// May block until all bytes in the stream have been read
52 /// May block until (address - base) bytes have been read
59 /// readBytes - Tries to read a contiguous range of bytes from the
61 /// May block until (address - base + size) bytes have
63 /// not do partial reads - if size bytes cannot be read,
68 /// @param size - The maximum number of bytes to copy.
70 /// and large enough to hold size bytes.
72 /// of bytes actually read. May be NULL.
83 /// May block until (address - base + size) bytes have been rea
159 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
BytesTest.java 32 * Unit test for {@link Bytes}.
48 assertEquals(((Byte) value).hashCode(), Bytes.hashCode(value));
53 assertFalse(Bytes.contains(EMPTY, (byte) 1));
54 assertFalse(Bytes.contains(ARRAY1, (byte) 2));
55 assertFalse(Bytes.contains(ARRAY234, (byte) 1));
56 assertTrue(Bytes.contains(new byte[] {(byte) -1}, (byte) -1));
57 assertTrue(Bytes.contains(ARRAY234, (byte) 2));
58 assertTrue(Bytes.contains(ARRAY234, (byte) 3));
59 assertTrue(Bytes.contains(ARRAY234, (byte) 4));
63 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1))
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
LittleEndianDataOutputStreamTest.java 20 import com.google.common.primitives.Bytes;
146 assertEquals(Bytes.asList(expected), Bytes.asList(actual));
LittleEndianDataInputStreamTest.java 19 import com.google.common.primitives.Bytes;
73 assertEquals(Bytes.asList(data), Bytes.asList(b));
132 out.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}); // 10 bytes of junk to skip
  /external/llvm/lib/MC/MCDisassembler/
Disassembler.cpp 114 uint8_t *Bytes;
118 DisasmMemoryObject(uint8_t *bytes, uint64_t size, uint64_t basePC) :
119 Bytes(bytes), Size(size), BasePC(basePC) {}
127 *Byte = Bytes[Addr - BasePC];
135 // disassembler context specified in the parameter DC. The bytes of the
136 // instruction are specified in the parameter Bytes, and contains at least
137 // BytesSize number of bytes. The instruction is at the address specified by
140 // parameter OutStringSize. This function returns the number of bytes in the
142 // returns zero the caller will have to pick how many bytes they want to ste
    [all...]
  /external/llvm/tools/llvm-mc/
Disassembler.cpp 10 // This class implements the disassembler of strings of bytes written in
35 const ByteArrayTy &Bytes;
37 VectorMemoryObject(const ByteArrayTy &bytes) : Bytes(bytes) {}
40 uint64_t getExtent() const { return Bytes.size(); }
45 *Byte = Bytes[Addr].first;
52 const ByteArrayTy &Bytes,
56 VectorMemoryObject memoryObject(Bytes);
62 for (Index = 0; Index < Bytes.size(); Index += Size)
    [all...]
  /external/guava/guava/src/com/google/common/primitives/
Bytes.java 37 * bytes as neither signed nor unsigned</i>. The methods which specifically
38 * treat bytes as signed or unsigned are found in {@link SignedBytes} and {@link
47 public final class Bytes {
48 private 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/include/llvm/Bitcode/
BitstreamWriter.h 77 unsigned char Bytes[4] = {
82 Out.append(&Bytes[0], &Bytes[4]);
  /external/llvm/lib/Target/Mips/Disassembler/
MipsDisassembler.cpp 235 /// readInstruction - read four bytes from the MemoryObject
242 uint8_t Bytes[4];
244 // We want to read exactly 4 Bytes of data.
245 if (region.readBytes(address, 4, (uint8_t*)Bytes, NULL) == -1) {
252 insn = (Bytes[3] << 0) |
253 (Bytes[2] << 8) |
254 (Bytes[1] << 16) |
255 (Bytes[0] << 24);
259 insn = (Bytes[0] << 0) |
260 (Bytes[1] << 8)
    [all...]
  /external/llvm/lib/Target/XCore/Disassembler/
XCoreDisassembler.cpp 53 uint8_t Bytes[4];
55 // We want to read exactly 2 Bytes of data.
56 if (region.readBytes(address, 2, Bytes, NULL) == -1) {
61 insn = (Bytes[0] << 0) | (Bytes[1] << 8);
69 uint8_t Bytes[4];
71 // We want to read exactly 4 Bytes of data.
72 if (region.readBytes(address, 4, Bytes, NULL) == -1) {
77 insn = (Bytes[0] << 0) | (Bytes[1] << 8) | (Bytes[2] << 16)
    [all...]
  /external/llvm/utils/TableGen/
DAGISelMatcherEmitter.cpp 114 /// bytes emitted.
135 /// EmitMatcher - Emit bytes for the specified matcher and return
136 /// the number of bytes emitted.
291 IdxSize = 2; // size of opcode in table is 2 bytes.
368 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS);
370 return Bytes;
403 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS);
405 return Bytes;
410 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS);
412 return Bytes;
    [all...]
  /external/valgrind/main/none/tests/x86-linux/
seg_override.c 18 /*Declare as bytes to avoid alignment problems */
21 } Bytes;
62 printf("got %d bytes\n", res );
  /sdk/emulator/mksdcard/
mksdcard.c 52 typedef Byte* Bytes;
54 #define BYTE_(p,i) (((Bytes)(p))[(i)])
113 boot_sector_init( Bytes boot, Bytes info, Wide disk_size, const char* label )
168 fat_init( Bytes fat )
177 write_sector( FILE* file, Bytes sector )
181 fprintf(stderr, "Failed to write sector of %d bytes: %s\n", BYTES_PER_SECTOR, strerror(errno));
198 fprintf(stderr, "Failed to write %d bytes: %s\n", len, strerror(errno));
211 fprintf(stderr, " if <size> is a simple integer, it specifies a size in bytes\n" );
216 fprintf(stderr, "Maximum size is %lld bytes, %lldK, %lldM or %lldG\n"
    [all...]
  /external/clang/lib/Frontend/
CompilerInvocation.cpp     [all...]
  /external/giflib/
gif_lib.h 118 * Returns count of bytes written. (MRB)
282 char *Bytes; /* on malloc(3) heap */
  /external/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 118 /// MemsetRange - Represents a range of memset'd bytes with the ByteVal value.
150 // If we found more than 4 stores to merge or 16 bytes, use memset.
176 unsigned Bytes = unsigned(End-Start);
177 unsigned NumPointerStores = Bytes/TD.getPointerSize();
179 // Assume the remaining bytes if any are done a byte at a time.
180 unsigned NumByteStores = Bytes - NumPointerStores*TD.getPointerSize();
608 // Check that accessing the first srcSize bytes of dest will not cause a
    [all...]
  /external/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp     [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
AsmPrinter.cpp 342 if (Size == 0) Size = 1; // zerofill of 0 bytes is undefined.
    [all...]
  /external/llvm/lib/Target/ARM/
ARMLoadStoreOptimizer.cpp 530 unsigned Bytes, unsigned Limit,
548 if (Bytes == 0 || (Limit && Bytes >= Limit))
554 (MI->getOperand(2).getImm()*Scale) == Bytes &&
563 unsigned Bytes, unsigned Limit,
580 if (Bytes == 0 || (Limit && Bytes >= Limit))
587 (MI->getOperand(2).getImm()*Scale) == Bytes &&
717 unsigned Bytes = getLSMultipleTransferSize(MI);
739 isMatchingDecrement(PrevMBBI, Base, Bytes, 0, Pred, PredReg))
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp     [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitcodeReader.cpp     [all...]

Completed in 953 milliseconds

1 2