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

1 2 3 4 5 6 7 8 91011>>

  /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/swiftshader/third_party/llvm-subzero/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 30 // hexdump writes |msg| to |fp| followed by the hex encoding of |len| bytes
34 // Bytes is a wrapper over a byte slice which may be compared for equality. This
36 struct Bytes {
37 Bytes(const uint8_t *data_arg, size_t len_arg)
39 Bytes(const char *data_arg, size_t len_arg)
42 explicit Bytes(const char *str)
44 explicit Bytes(const std::string &str)
46 explicit Bytes(const std::vector<uint8_t> &vec)
50 explicit Bytes(const uint8_t (&array)[N]) : data(array), len(N) {}
56 inline bool operator==(const Bytes &a, const Bytes &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);
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/AcpiTables/
Dsdt.c 45 UINTN Bytes, Length;
47 Bytes = (UINTN)((Buffer[0] >> 6) & 0x3) + 1;
48 switch (Bytes) {
64 default: /* 4 bytes */
73 return Bytes;
106 UINTN Bytes, Length, Index = 0;
111 Bytes = AmlGetPkgLength (&DSD_Data[1], &Length);
114 MacAddrPkg = AmlSearchStringPackage (&DSD_Data[Bytes + 1],
115 Length - 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...]
  /external/swiftshader/third_party/llvm-subzero/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/swiftshader/third_party/subzero/pnacl-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/swiftshader/third_party/subzero/src/
IceELFStreamer.h 37 virtual void writeBytes(llvm::StringRef Bytes) {
38 for (char c : Bytes) {
97 void writeBytes(llvm::StringRef Bytes) override { Out << Bytes; }
  /prebuilts/go/darwin-x86/src/cmd/internal/edit/
edit.go 19 // An edit records a single text modification: change the bytes in [start,end) to new.
66 // Bytes returns a new byte slice containing the original data
68 func (b *Buffer) Bytes() []byte {
92 return string(b.Bytes())
  /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/cmd/internal/edit/
edit.go 19 // An edit records a single text modification: change the bytes in [start,end) to new.
66 // Bytes returns a new byte slice containing the original data
68 func (b *Buffer) Bytes() []byte {
92 return string(b.Bytes())
  /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);
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
BinaryStreamReader.h 45 /// Read \p Size bytes from the underlying stream at the current offset and
65 ArrayRef<uint8_t> Bytes;
66 if (auto EC = readBytes(Bytes, sizeof(T)))
70 Bytes.data(), Stream.getEndian());
109 /// Read \p Length bytes from the underlying stream into \p Ref. This is
146 ArrayRef<uint8_t> Bytes;
156 if (auto EC = readBytes(Bytes, NumElements * sizeof(T)))
159 assert(alignmentAdjustment(Bytes.data(), alignof(T)) == 0 &&
162 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements);
166 /// Read a VarStreamArray of size \p Size bytes and store the result int
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/
DataExtractor.h 20 uint8_t Bytes[3];
22 Bytes[0] = Bytes[1] = Bytes[2] = U;
25 Bytes[0] = U0; Bytes[1] = U1; Bytes[2] = U2;
29 return Bytes[LoIx] + (Bytes[1] << 8) + (Bytes[2-LoIx] << 16)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/
DataExtractor.h 20 uint8_t Bytes[3];
22 Bytes[0] = Bytes[1] = Bytes[2] = U;
25 Bytes[0] = U0; Bytes[1] = U1; Bytes[2] = U2;
29 return Bytes[LoIx] + (Bytes[1] << 8) + (Bytes[2-LoIx] << 16)
    [all...]

Completed in 1233 milliseconds

1 2 3 4 5 6 7 8 91011>>