/prebuilts/clang/host/linux-x86/clang-3960126/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/linux-x86/clang-3960126/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerShmem.h | 34 size_t WriteByteArray(const uint8_t *Bytes, size_t N) { 37 memcpy(GetData() + sizeof(N), Bytes, N);
|
/prebuilts/clang/host/linux-x86/clang-3977809/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/linux-x86/clang-3977809/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerShmem.h | 34 size_t WriteByteArray(const uint8_t *Bytes, size_t N) { 37 memcpy(GetData() + sizeof(N), Bytes, N);
|
/prebuilts/clang/host/linux-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/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerShmem.h | 34 size_t WriteByteArray(const uint8_t *Bytes, size_t N) { 37 memcpy(GetData() + sizeof(N), Bytes, N);
|
/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...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
MD5.h | 56 std::array<uint8_t, 16> Bytes; 58 operator std::array<uint8_t, 16>() const { return Bytes; } 60 const uint8_t &operator[](size_t I) const { return Bytes[I]; } 61 uint8_t &operator[](size_t I) { return Bytes[I]; } 69 return endian::read<uint64_t, little, unaligned>(Bytes.data()); 74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8); 93 /// \brief Translates the bytes in \p Res to a hex string that is 97 /// \brief Computes the hash for a given bytes. 105 return LHS.Bytes == RHS.Bytes; [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
LowerTypeTests.h | 45 // represent addresses 8 bytes apart. 176 std::vector<uint8_t> Bytes; 180 /// The number of bytes allocated so far for each of the bits.
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
MD5.h | 56 std::array<uint8_t, 16> Bytes; 58 operator std::array<uint8_t, 16>() const { return Bytes; } 60 const uint8_t &operator[](size_t I) const { return Bytes[I]; } 61 uint8_t &operator[](size_t I) { return Bytes[I]; } 69 return endian::read<uint64_t, little, unaligned>(Bytes.data()); 74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8); 93 /// \brief Translates the bytes in \p Res to a hex string that is 97 /// \brief Computes the hash for a given bytes. 105 return LHS.Bytes == RHS.Bytes; [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
LowerTypeTests.h | 45 // represent addresses 8 bytes apart. 176 std::vector<uint8_t> Bytes; 180 /// The number of bytes allocated so far for each of the bits.
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
MD5.h | 56 std::array<uint8_t, 16> Bytes; 58 operator std::array<uint8_t, 16>() const { return Bytes; } 60 const uint8_t &operator[](size_t I) const { return Bytes[I]; } 61 uint8_t &operator[](size_t I) { return Bytes[I]; } 69 return endian::read<uint64_t, little, unaligned>(Bytes.data()); 74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8); 93 /// \brief Translates the bytes in \p Res to a hex string that is 97 /// \brief Computes the hash for a given bytes. 105 return LHS.Bytes == RHS.Bytes; [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
LowerTypeTests.h | 45 // represent addresses 8 bytes apart. 176 std::vector<uint8_t> Bytes; 180 /// The number of bytes allocated so far for each of the bits.
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
MD5.h | 56 std::array<uint8_t, 16> Bytes; 58 operator std::array<uint8_t, 16>() const { return Bytes; } 60 const uint8_t &operator[](size_t I) const { return Bytes[I]; } 61 uint8_t &operator[](size_t I) { return Bytes[I]; } 69 return endian::read<uint64_t, little, unaligned>(Bytes.data()); 74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8); 93 /// \brief Translates the bytes in \p Res to a hex string that is 97 /// \brief Computes the hash for a given bytes. 105 return LHS.Bytes == RHS.Bytes; [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/IPO/ |
LowerTypeTests.h | 45 // represent addresses 8 bytes apart. 176 std::vector<uint8_t> Bytes; 180 /// The number of bytes allocated so far for each of the bits.
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
MD5.h | 56 std::array<uint8_t, 16> Bytes; 58 operator std::array<uint8_t, 16>() const { return Bytes; } 60 const uint8_t &operator[](size_t I) const { return Bytes[I]; } 61 uint8_t &operator[](size_t I) { return Bytes[I]; } 69 return endian::read<uint64_t, little, unaligned>(Bytes.data()); 74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8); 93 /// \brief Translates the bytes in \p Res to a hex string that is 97 /// \brief Computes the hash for a given bytes. 105 return LHS.Bytes == RHS.Bytes; [all...] |