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

1 2 3 4 5 6 7

  /external/llvm/lib/Support/
circular_raw_ostream.cpp 26 unsigned Bytes =
28 memcpy(Cur, Ptr, Bytes);
29 Size -= Bytes;
30 Cur += Bytes;
  /external/swiftshader/third_party/LLVM/lib/Support/
circular_raw_ostream.cpp 26 unsigned Bytes =
28 memcpy(Cur, Ptr, Bytes);
29 Size -= Bytes;
30 Cur += Bytes;
  /external/boringssl/src/crypto/test/
test_util.h 28 // hexdump writes |msg| to |fp| followed by the hex encoding of |len| bytes
32 // Bytes is a wrapper over a byte slice which may be compared for equality. This
34 struct Bytes {
35 Bytes(const uint8_t *data_arg, size_t len_arg)
37 Bytes(const char *data_arg, size_t len_arg)
40 Bytes(const char *str)
44 Bytes(const uint8_t (&array)[N]) : data(array), len(N) {}
50 inline bool operator==(const Bytes &a, const Bytes &b) {
54 inline bool operator!=(const Bytes &a, const Bytes &b) { return !(a == b);
    [all...]
  /external/swiftshader/third_party/LLVM/tools/llvm-objdump/
llvm-objdump.h 24 void DumpBytes(StringRef bytes);
29 StringRef Bytes;
31 StringRefMemoryObject(StringRef bytes) : Bytes(bytes) {}
34 uint64_t getExtent() const { return Bytes.size(); }
39 *Byte = Bytes[Addr];
  /external/llvm/lib/DebugInfo/DWARF/
DWARFDebugLoc.cpp 65 unsigned Bytes = data.getU16(&Offset);
67 StringRef str = data.getData().substr(Offset, Bytes);
68 Offset += Bytes;
98 unsigned Bytes = data.getU16(&Offset);
100 StringRef str = data.getData().substr(Offset, Bytes);
101 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 34 /// Drop s bytes from the front of the stream, pushing the positions of the
35 /// remaining bytes down by s. This is used to skip past the bitcode header,
36 /// since we don't know a priori if it's present, and we can't put bytes
45 /// The number of bytes read at a time from the data streamer.
49 mutable std::vector<unsigned char> Bytes;
51 mutable size_t BytesRead; // Bytes read from stream
52 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header)
56 // Fetch enough bytes such that Pos can be read (i.e. BytesRead >
59 // requests will be small, but we fetch at kChunkSize bytes at a
66 Bytes.resize(BytesRead + BytesSkipped + kChunkSize)
67 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local
    [all...]
  /external/llvm/lib/DebugInfo/CodeView/
StreamReader.cpp 1 //===- StreamReader.cpp - Reads bytes and objects from a stream -----------===//
61 // Now go back and request a reference for that many bytes.
76 ArrayRef<uint8_t> Bytes;
77 if (auto EC = readBytes(Bytes, Length))
79 Dest = StringRef(reinterpret_cast<const char *>(Bytes.begin()), Bytes.size());
  /external/llvm/lib/Target/AMDGPU/Disassembler/
AMDGPUDisassembler.h 32 mutable ArrayRef<uint8_t> Bytes;
41 ArrayRef<uint8_t> Bytes, uint64_t Address,
  /external/llvm/unittests/Bitcode/
BitstreamReaderTest.cpp 36 uint8_t Bytes[4] = {
39 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes));
56 uint8_t Bytes[4] = {
59 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes));
75 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03};
76 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes));
87 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}
    [all...]
  /prebuilts/go/darwin-x86/src/index/suffixarray/
suffixarray.go 20 "bytes"
162 // Bytes returns the data over which the index was created.
165 func (x *Index) Bytes() []byte {
178 i := sort.Search(len(x.sa), func(i int) bool { return bytes.Compare(x.at(i), s) >= 0 })
180 j := i + sort.Search(len(x.sa)-i, func(j int) bool { return !bytes.HasPrefix(x.at(j+i), s) })
207 // the matched slice of x.Bytes(). If n < 0, all matches are returned
  /prebuilts/go/darwin-x86/src/net/
udpsock_plan9.go 46 i := copy(buf, h.Bytes())
73 func (h *udpHeader) Bytes() []byte {
  /prebuilts/go/linux-x86/src/index/suffixarray/
suffixarray.go 20 "bytes"
162 // Bytes returns the data over which the index was created.
165 func (x *Index) Bytes() []byte {
178 i := sort.Search(len(x.sa), func(i int) bool { return bytes.Compare(x.at(i), s) >= 0 })
180 j := i + sort.Search(len(x.sa)-i, func(j int) bool { return !bytes.HasPrefix(x.at(j+i), s) })
207 // the matched slice of x.Bytes(). If n < 0, all matches are returned
  /prebuilts/go/linux-x86/src/net/
udpsock_plan9.go 46 i := copy(buf, h.Bytes())
73 func (h *udpHeader) Bytes() []byte {
  /external/llvm/include/llvm/DebugInfo/CodeView/
StreamReader.h 1 //===- StreamReader.h - Reads bytes and objects from a stream ---*- C++ -*-===//
58 ArrayRef<uint8_t> Bytes;
67 if (auto EC = readBytes(Bytes, NumElements * sizeof(T)))
69 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements);
  /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...]
  /build/kati/
buf.go 86 func (b *buffer) Bytes() []byte { return b.buf }
110 if cap(buf.Bytes()) > 1024 {
142 if cap(buf.Bytes()) > 1024 {
166 w = append(w, ws.Bytes()...)
171 wb.writeWord(ws.Bytes())
208 func (wb *wordBuffer) Bytes() []byte {
209 return wb.buf.Bytes()
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/
NvmExpressBlockIo.c 39 UINT32 Bytes;
48 Bytes = Blocks * BlockSize;
61 CommandPacket.TransferLength = Bytes;
106 UINT32 Bytes;
111 Bytes = Blocks * BlockSize;
124 CommandPacket.TransferLength = Bytes;
358 Read BufferSize bytes from Lba into Buffer.
441 Write BufferSize bytes from Lba into Buffer.
583 @param TransferLengthOut A pointer to a buffer to store the size in bytes of the data
677 protocol command, the function shall copy PayloadBufferSize bytes into the
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/
DiskImage.c 181 UINTN Bytes;
217 Bytes = BlkIo->Media->BlockSize * Size;
218 Buffer = AllocateZeroPool (Bytes);
232 Bytes,
247 Status = HBufferImageBufferToList (Buffer, Bytes);
350 UINTN Bytes;
383 Bytes = BlkIo->Media->BlockSize * Size;
384 Buffer = AllocateZeroPool (Bytes);
392 Status = HBufferImageListToBuffer (Buffer, Bytes);
405 Bytes,
    [all...]
  /external/clang/unittests/Lex/
HeaderMapTest.cpp 28 unsigned char Bytes[NumBytes];
69 assert(SI + S.size() + 1 <= sizeof(File.Bytes));
70 std::copy(S.begin(), S.end(), File.Bytes + SI);
205 ASSERT_EQ('c', File.Bytes[5]);
206 for (unsigned I = 6; I < sizeof(File.Bytes); ++I) {
207 ASSERT_EQ(0, File.Bytes[I]);
208 File.Bytes[I] = 'x';
240 ASSERT_EQ('b', File.Bytes[5]);
241 for (unsigned I = 6; I < sizeof(File.Bytes); ++I) {
242 ASSERT_EQ(0, File.Bytes[I])
    [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));
  /external/llvm/include/llvm/Transforms/IPO/
LowerTypeTests.h 50 // represent addresses 8 bytes apart.
184 std::vector<uint8_t> Bytes;
188 /// The number of bytes allocated so far for each of the bits.
  /external/protobuf/csharp/src/Google.Protobuf/Reflection/
FieldType.cs 85 /// The <c>bytes</c> field type.
87 Bytes,
  /external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/
Disassembler.cpp 101 uint8_t *Bytes;
105 DisasmMemoryObject(uint8_t *bytes, uint64_t size, uint64_t basePC) :
106 Bytes(bytes), Size(size), BasePC(basePC) {}
114 *Byte = Bytes[Addr - BasePC];
122 // disassembler context specified in the parameter DC. The bytes of the
123 // instruction are specified in the parameter Bytes, and contains at least
124 // BytesSize number of bytes. The instruction is at the address specified by
127 // parameter OutStringSize. This function returns the number of bytes in the
129 // returns zero the caller will have to pick how many bytes they want to ste
    [all...]

Completed in 2289 milliseconds

1 2 3 4 5 6 7