/external/llvm/lib/Support/ |
circular_raw_ostream.cpp | 26 unsigned Bytes = 28 memcpy(Cur, Ptr, Bytes); 29 Size -= Bytes; 30 Cur += Bytes;
|
/external/llvm/unittests/Bitcode/ |
BitstreamReaderTest.cpp | 18 uint8_t Bytes[4] = { 21 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); 38 uint8_t Bytes[4] = { 41 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes));
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugLoc.cpp | 66 unsigned Bytes = data.getU16(&Offset); 68 StringRef str = data.getData().substr(Offset, Bytes); 69 Offset += Bytes; 99 unsigned Bytes = data.getU16(&Offset); 101 StringRef str = data.getData().substr(Offset, Bytes); 102 Offset += Bytes;
|
/external/llvm/unittests/MC/ |
Disassembler.cpp | 29 uint8_t Bytes[] = {0x90, 0x90, 0xeb, 0xfd}; 30 uint8_t *BytesP = Bytes; 39 unsigned NumBytes = sizeof(Bytes);
|
/external/llvm/include/llvm/Support/ |
StreamingMemoryObject.h | 32 // This could be fixed by ensuring the bytes are fetched and making a copy, 41 /// Drop s bytes from the front of the stream, pushing the positions of the 42 /// remaining bytes down by s. This is used to skip past the bitcode header, 43 /// since we don't know a priori if it's present, and we can't put bytes 54 mutable std::vector<unsigned char> Bytes; 56 mutable size_t BytesRead; // Bytes read from stream 57 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header) 61 // Fetch enough bytes such that Pos can be read or EOF is reached 64 // Most of the requests will be small, but we fetch at kChunkSize bytes 70 Bytes.resize(BytesRead + BytesSkipped + kChunkSize) 71 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
BytesTest.java | 30 * Unit test for {@link Bytes}. 46 assertEquals(((Byte) value).hashCode(), Bytes.hashCode(value)); 51 assertFalse(Bytes.contains(EMPTY, (byte) 1)); 52 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); 53 assertFalse(Bytes.contains(ARRAY234, (byte) 1)); 54 assertTrue(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)); 55 assertTrue(Bytes.contains(ARRAY234, (byte) 2)); 56 assertTrue(Bytes.contains(ARRAY234, (byte) 3)); 57 assertTrue(Bytes.contains(ARRAY234, (byte) 4)); 61 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)) 204 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); 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)) 206 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local [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/include/llvm/Transforms/IPO/ |
LowerBitSets.h | 44 // represent addresses 8 bytes apart. 176 std::vector<uint8_t> Bytes; 180 /// The number of bytes allocated so far for each of the bits.
|
/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(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 51 public final class Bytes { 52 private 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/include/llvm/Bitcode/ |
BitstreamWriter.h | 77 unsigned char Bytes[4] = { 82 Out.append(&Bytes[0], &Bytes[4]);
|
/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/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;
|
ntdd8042.h | 67 PUCHAR Bytes;
|
/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/lib/Target/X86/Disassembler/ |
X86Disassembler.cpp | 100 ArrayRef<uint8_t> Bytes; 102 Region(ArrayRef<uint8_t> Bytes, uint64_t Base) : Bytes(Bytes), Base(Base) {} 113 ArrayRef<uint8_t> Bytes = R->Bytes; 115 if (Bytes.size() <= Index) 117 *Byte = Bytes[Index]; 140 MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, 150 Region R(Bytes, Address) [all...] |
/external/giflib/ |
gif_lib.h | 54 GifByteType *Bytes; /* on malloc(3) heap */ 100 * Returns count of bytes written. (MRB)
|
/external/llvm/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 128 /// MemsetRange - Represents a range of memset'd bytes with the ByteVal value. 159 // If we found more than 4 stores to merge or 16 bytes, use memset. 185 unsigned Bytes = unsigned(End-Start); 189 unsigned NumPointerStores = Bytes / MaxIntSize; 191 // Assume the remaining bytes if any are done a byte at a time. 192 unsigned NumByteStores = Bytes - NumPointerStores * MaxIntSize; 617 // Check that accessing the first srcSize bytes of dest will not cause a 642 // has at least <cpyLen> bytes, as implied by the copy-instruction", [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
lnc_hostheader.c | 173 /* This is the core function to write bits/bytes 210 /* Element pointer set to position of next element (120/8 = 15 bytes) */ 255 IMG_UINT8 Bytes[4]; 258 Bytes[BitLp] = (IMG_UINT8)(wrt_bits & 255); 265 lnc__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[EndByte-1], (IMG_UINT8)((bit_cnt) % 8)); 267 lnc__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[EndByte-1], 8); 271 lnc__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[BitLp-1], 8); 338 *Find RAWBit size in bytes (rounded to word boundary)) 345 Offset *= 4;/* Convert to number of bytes (total size of structure in bytes, aligned to word boundary) * [all...] |
/hardware/intel/img/psb_video/src/ |
pnw_hostheader.c | 173 /* This is the core function to write bits/bytes 210 /* Element pointer set to position of next element (120/8 = 15 bytes) */ 255 IMG_UINT8 Bytes[4]; 258 Bytes[BitLp] = (IMG_UINT8)(wrt_bits & 255); 265 pnw__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[EndByte-1], (IMG_UINT8)((bit_cnt) % 8)); 267 pnw__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[EndByte-1], 8); 271 pnw__write_upto8bits_elements(mtx_hdr, elt_p, Bytes[BitLp-1], 8); 342 *Find RAWBit size in bytes (rounded to word boundary)) 349 Offset *= 4;/* Convert to number of bytes (total size of structure in bytes, aligned to word boundary) * [all...] |
/external/clang/lib/Frontend/ |
CompilerInvocation.cpp | [all...] |