/external/llvm/lib/Support/ |
circular_raw_ostream.cpp | 26 unsigned Bytes = 28 memcpy(Cur, Ptr, Bytes); 29 Size -= Bytes; 30 Cur += Bytes;
|
/external/llvm/include/llvm/Support/ |
StringRefMemoryObject.h | 26 StringRef Bytes; 29 StringRefMemoryObject(StringRef Bytes, uint64_t Base = 0) 30 : Bytes(Bytes), Base(Base) {} 33 uint64_t getExtent() const override { return Bytes.size(); }
|
StreamableMemoryObject.h | 45 /// getExtent - Returns the size of the region in bytes. (The region is 48 /// May block until all bytes in the stream have been read 54 /// May block until (address - base) bytes have been read 61 /// readBytes - Tries to read a contiguous range of bytes from the 63 /// May block until (address - base + size) bytes have 65 /// not do partial reads - if size bytes cannot be read, 70 /// @param size - The number of bytes to copy. 72 /// and large enough to hold size bytes. 81 /// May block until (address - base + size) bytes have been read 89 /// May block until (address - base) bytes have been rea 154 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugLoc.cpp | 66 unsigned Bytes = data.getU16(&Offset); 68 StringRef str = data.getData().substr(Offset, Bytes); 69 Offset += Bytes; 100 unsigned Bytes = data.getU16(&Offset); 102 StringRef str = data.getData().substr(Offset, Bytes); 103 Offset += Bytes;
|
/external/llvm/tools/llvm-mc/ |
Disassembler.cpp | 10 // This class implements the disassembler of strings of bytes written in 37 const ByteArrayTy &Bytes; 39 VectorMemoryObject(const ByteArrayTy &bytes) : Bytes(bytes) {} 42 uint64_t getExtent() const override { return Bytes.size(); } 47 *Byte = Bytes[Addr].first; 54 const ByteArrayTy &Bytes, 59 VectorMemoryObject memoryObject(Bytes); 65 for (Index = 0; Index < Bytes.size(); Index += Size) [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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_debug.cpp | 141 const uint8_t *Bytes; 144 BufferMemoryObject(const uint8_t *bytes, uint64_t length) : 145 Bytes(bytes), Length(length) 163 *byte = Bytes[addr]; 183 const uint8_t *bytes = (const uint8_t *)func; local 290 BufferMemoryObject memoryObject((const uint8_t *)bytes, extent); 317 * Output the bytes in hexidecimal format. 323 debug_printf("%02x ", ((const uint8_t*)bytes)[pc + i]); 423 debug_printf("disassemble %p %p\n", bytes, bytes + pc) [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZSelectionDAGInfo.cpp | 28 // a block operation of Size bytes with source address Src and destination 42 // much point using a loop for 5 * 256 bytes or fewer. Anything in 70 // Handle a memset of 1, 2, 4 or 8 bytes with the operands given by 96 uint64_t Bytes = CSize->getZExtValue(); 97 if (Bytes == 0) 106 Bytes <= 16 && CountPopulation_64(Bytes) <= 2 : 107 Bytes <= 4) { 108 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_debug.cpp | 141 const uint8_t *Bytes; 144 BufferMemoryObject(const uint8_t *bytes, uint64_t length) : 145 Bytes(bytes), Length(length) 163 *byte = Bytes[addr]; 183 const uint8_t *bytes = (const uint8_t *)func; local 290 BufferMemoryObject memoryObject((const uint8_t *)bytes, extent); 317 * Output the bytes in hexidecimal format. 323 debug_printf("%02x ", ((const uint8_t*)bytes)[pc + i]); 423 debug_printf("disassemble %p %p\n", bytes, bytes + pc) [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/MC/MCDisassembler/ |
Disassembler.cpp | 124 uint8_t *Bytes; 128 DisasmMemoryObject(uint8_t *bytes, uint64_t size, uint64_t basePC) : 129 Bytes(bytes), Size(size), BasePC(basePC) {} 137 *Byte = Bytes[Addr - BasePC]; 251 // disassembler context specified in the parameter DC. The bytes of the 252 // instruction are specified in the parameter Bytes, and contains at least 253 // BytesSize number of bytes. The instruction is at the address specified by 256 // parameter OutStringSize. This function returns the number of bytes in the 258 // returns zero the caller will have to pick how many bytes they want to ste [all...] |
/external/llvm/lib/Target/Sparc/Disassembler/ |
SparcDisassembler.cpp | 216 /// readInstruction - read four bytes from the MemoryObject 222 uint8_t Bytes[4]; 224 // We want to read exactly 4 Bytes of data. 225 if (region.readBytes(address, 4, Bytes) == -1) { 231 insn = (Bytes[3] << 0) | 232 (Bytes[2] << 8) | 233 (Bytes[1] << 16) | 234 (Bytes[0] << 24);
|
/external/llvm/lib/Target/XCore/Disassembler/ |
XCoreDisassembler.cpp | 54 uint8_t Bytes[4]; 56 // We want to read exactly 2 Bytes of data. 57 if (region.readBytes(address, 2, Bytes) == -1) { 62 insn = (Bytes[0] << 0) | (Bytes[1] << 8); 70 uint8_t Bytes[4]; 72 // We want to read exactly 4 Bytes of data. 73 if (region.readBytes(address, 4, Bytes) == -1) { 78 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. 297 IdxSize = 2; // size of opcode in table is 2 bytes. 377 unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); 379 return Bytes; 384 unsigned Bytes=1+EmitVBRValue(cast<CheckChildIntegerMatcher>(N)->getValue(), 387 return Bytes; 420 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); 422 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 );
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dx9effect.h | 54 UINT Bytes; 121 STDMETHOD(SetValue)(THIS_ D3DXHANDLE parameter, LPCVOID data, UINT bytes) PURE; 122 STDMETHOD(GetValue)(THIS_ D3DXHANDLE parameter, LPVOID data, UINT bytes) PURE; 225 STDMETHOD(SetValue)(THIS_ D3DXHANDLE parameter, LPCVOID data, UINT bytes) PURE; 226 STDMETHOD(GetValue)(THIS_ D3DXHANDLE parameter, LPVOID data, UINT bytes) PURE; 284 STDMETHOD(SetRawValue)(THIS_ D3DXHANDLE parameter, LPCVOID data, UINT byte_offset, UINT bytes) PURE; 318 STDMETHOD(SetValue)(THIS_ D3DXHANDLE parameter, LPCVOID data, UINT bytes) PURE; 319 STDMETHOD(GetValue)(THIS_ D3DXHANDLE parameter, LPVOID data, UINT bytes) PURE;
|
/sdk/emulator/mksdcard/src/source/ |
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/llvm/tools/llvm-objdump/ |
MachODump.cpp | 102 static void DumpDataInCode(const char *bytes, uint64_t Size, 110 Value = bytes[3] << 24 | 111 bytes[2] << 16 | 112 bytes[1] << 8 | 113 bytes[0]; 117 Value = bytes[1] << 8 | 118 bytes[0]; 122 Value = bytes[0]; 129 Value = bytes[0]; 133 Value = bytes[1] << 8 [all...] |
llvm-objdump.cpp | 118 "do not print the instruction bytes.")); 241 void llvm::DumpBytes(StringRef bytes) { 252 assert(bytes.size() <= 15 253 && "DumpBytes only supports instructions of up to 15 bytes"); 256 for (StringRef::iterator i = bytes.begin(), 257 e = bytes.end(); i != e; ++i) { 480 StringRef Bytes; 481 if (error(Section.getContents(Bytes))) 483 StringRefMemoryObject memoryObject(Bytes, SectionAddr); 521 DumpBytes(StringRef(Bytes.data() + Index, Size)) [all...] |
/external/giflib/ |
gif_lib.h | 54 GifByteType *Bytes; /* on malloc(3) heap */ 100 * Returns count of bytes written. (MRB)
|
/external/llvm/lib/Target/Mips/Disassembler/ |
MipsDisassembler.cpp | 699 /// readInstruction - read four bytes from the MemoryObject 707 uint8_t Bytes[4]; 709 // We want to read exactly 4 Bytes of data. 710 if (region.readBytes(address, 4, Bytes) == -1) { 717 insn = (Bytes[3] << 0) | 718 (Bytes[2] << 8) | 719 (Bytes[1] << 16) | 720 (Bytes[0] << 24); 728 insn = (Bytes[2] << 0) | 729 (Bytes[3] << 8) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 126 /// MemsetRange - Represents a range of memset'd bytes with the ByteVal value. 158 // If we found more than 4 stores to merge or 16 bytes, use memset. 184 unsigned Bytes = unsigned(End-Start); 188 unsigned NumPointerStores = Bytes / MaxIntSize; 190 // Assume the remaining bytes if any are done a byte at a time. 191 unsigned NumByteStores = Bytes - NumPointerStores * MaxIntSize; 619 // Check that accessing the first srcSize bytes of dest will not cause a 643 // has at least <cpyLen> bytes, as implied by the copy-instruction", [all...] |