Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 159) sorted by relevance

1234567

/llvm-project-15.0.7/llvm/unittests/Support/
H A DELFAttributeParserTest.cpp32 static void testParseError(ArrayRef<uint8_t> bytes, const char *msg) { in testParseError()
39 static const uint8_t bytes[] = {1}; in TEST() local
44 static const uint8_t bytes[] = {'A', 3, 0, 0, 0}; in TEST() local
49 static const uint8_t bytes[] = {'A', 7, 0, 0, 0, 'x', 'y', 0}; in TEST() local
54 static const uint8_t bytes[] = {'A', 14, 0, 0, 0, 't', 'e', 's', in TEST() local
60 static const uint8_t bytes[] = {'A', 14, 0, 0, 0, 't', 'e', 's', in TEST() local
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DStreamTest.cpp376 std::size_t bytes; in TEST_F() local
390 std::size_t bytes; in TEST_F() local
534 auto bytes = s.PutULEB128(0x74ULL); in TEST_F() local
604 auto bytes = s.PutULEB128(0x0U); in TEST_F() local
611 auto bytes = s.PutULEB128(0x1U); in TEST_F() local
620 auto bytes = s.PutSLEB128(0x74LL); in TEST_F() local
627 auto bytes = s.PutSLEB128(0x1985LL); in TEST_F() local
634 auto bytes = s.PutSLEB128(0x5023LL); in TEST_F() local
690 auto bytes = s.PutSLEB128(0x0); in TEST_F() local
697 auto bytes = s.PutSLEB128(0x1); in TEST_F() local
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DUUID.h45 static UUID fromData(const void *bytes, uint32_t num_bytes) { in fromData()
53 static UUID fromData(llvm::ArrayRef<uint8_t> bytes) { return UUID(bytes); } in fromData()
57 static UUID fromOptionalData(const void *bytes, uint32_t num_bytes) { in fromOptionalData()
66 static UUID fromOptionalData(llvm::ArrayRef<uint8_t> bytes) { in fromOptionalData()
106 UUID(llvm::ArrayRef<uint8_t> bytes) : m_bytes(bytes.begin(), bytes.end()) {} in UUID()
H A DEndian.h22 uint8_t bytes[sizeof(uint32_t)]; member
/llvm-project-15.0.7/flang/runtime/
H A Dbuffer.h67 FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in ReadFrame()
95 void WriteFrame(FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in WriteFrame()
143 void Reallocate(std::int64_t bytes, const Terminator &terminator) { in Reallocate()
183 void MakeDataContiguous(IoErrorHandler &handler, std::size_t bytes) { in MakeDataContiguous()
H A Dbuffer.cpp17 char *buffer, std::size_t bytes, std::size_t shift) { in LeftShiftBufferCircularly()
H A Dmemory.cpp15 void *AllocateMemoryOrCrash(const Terminator &terminator, std::size_t bytes) { in AllocateMemoryOrCrash()
H A Dfile.cpp28 void OpenFile::set_path(OwningPtr<char> &&path, std::size_t bytes) { in set_path()
220 std::size_t bytes, IoErrorHandler &handler) { in Write()
270 FileOffset at, char *buffer, std::size_t bytes, IoErrorHandler &handler) { in ReadAsynchronously()
299 std::size_t bytes, IoErrorHandler &handler) { in WriteAsynchronously()
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/impl/
H A Dmsgpack.h54 void cb_array_elements(byte_range bytes) { in cb_array_elements() argument
60 const unsigned char *cb_array(uint64_t N, byte_range bytes) { in cb_array()
63 const unsigned char *cb_map(uint64_t N, byte_range bytes) { in cb_map()
79 const unsigned char *handle_array(uint64_t N, byte_range bytes) { in handle_array()
90 const unsigned char *handle_map(uint64_t N, byte_range bytes) { in handle_map()
126 const unsigned char *handle_msgpack_given_type(byte_range bytes, F f) { in handle_msgpack_given_type()
217 const unsigned char *handle_msgpack(byte_range bytes, F f) { in handle_msgpack()
239 template <typename C> void foronly_string(byte_range bytes, C callback) { in foronly_string()
248 template <typename C> void foronly_unsigned(byte_range bytes, C callback) { in foronly_unsigned()
257 template <typename C> void foreach_array(byte_range bytes, C callback) { in foreach_array()
[all …]
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dinitial-image.h32 explicit InitialImage(std::size_t bytes) : data_(bytes) {} in InitialImage()
42 Result Add(ConstantSubscript offset, std::size_t bytes, const Constant<T> &x, in Add()
62 Result Add(ConstantSubscript offset, std::size_t bytes, in Add()
95 Result Add(ConstantSubscript offset, std::size_t bytes, const Expr<T> &x, in Add()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dcharacters.cpp148 const char *cp, std::size_t bytes) { in DecodeRawCharacter()
158 const char *cp, std::size_t bytes) { in DecodeRawCharacter()
184 const char *cp, std::size_t bytes) { in DecodeEscapedCharacter()
214 const char *cp, std::size_t bytes) { in DecodeEscapedCharacters()
236 const char *cp, std::size_t bytes, bool backslashEscapes) { in DecodeCharacter()
250 std::size_t bytes, bool backslashEscapes) { in DecodeCharacter()
264 for (auto bytes{s.size()}; bytes != 0;) { in DecodeString() local
/llvm-project-15.0.7/flang/unittests/Runtime/
H A Dtools.h24 static void StoreElement(void *p, const A &x, std::size_t bytes) { in StoreElement()
30 void *p, const std::basic_string<CHAR> &str, std::size_t bytes) { in StoreElement()
H A DBufferTest.cpp24 explicit Store(std::size_t bytes = 65536) : bytes_{bytes} { in Store()
28 std::size_t bytes() const { return bytes_; } in bytes() function in Store
48 std::size_t Write(FileOffset at, const char *from, std::size_t bytes, in Write()
87 const auto bytes{static_cast<FileOffset>(store.bytes())}; in TEST() local
/llvm-project-15.0.7/lldb/unittests/SymbolFile/DWARF/
H A DDWARFIndexCachingTest.cpp29 llvm::ArrayRef<uint8_t> bytes = encoder.GetData(); in EncodeDecode() local
56 llvm::ArrayRef<uint8_t> bytes = encoder.GetData(); in EncodeDecode() local
97 llvm::ArrayRef<uint8_t> bytes = encoder.GetData(); in EncodeDecode() local
208 llvm::ArrayRef<uint8_t> bytes = encoder.GetData(); in EncodeDecode() local
257 llvm::ArrayRef<uint8_t> bytes = encoder.GetData(); in TEST() local
/llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/
H A DCommandObjectTraceStartIntelPT.cpp36 if (Optional<uint64_t> bytes = in SetOptionValue() local
101 if (Optional<uint64_t> bytes = in SetOptionValue() local
110 if (Optional<uint64_t> bytes = in SetOptionValue() local
/llvm-project-15.0.7/lldb/source/Host/windows/
H A DLockFileWindows.cpp27 DWORD bytes; in fileLock() local
69 DWORD bytes; in DoUnlock() local
/llvm-project-15.0.7/clang/test/CodeGen/
H A D2005-07-26-UnionInitCrash.c3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member
H A Dtbaa-cast.cpp14 char bytes[4]; member
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DPDBSymbolCustom.cpp17 void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) { in getDataBytes()
/llvm-project-15.0.7/lldb/source/Utility/
H A DDataEncoder.cpp169 const char *bytes = data.data(); in AppendData() local
176 const uint8_t *bytes = data.data(); in AppendData() local
183 const char *bytes = data.data(); in AppendCString() local
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dns-constant-strings.m11 char *bytes; field
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DOpcode.h63 Opcode(uint8_t *bytes, size_t length) in Opcode()
183 void SetOpcodeBytes(const void *bytes, size_t length) { in SetOpcodeBytes()
264 uint8_t bytes[16]; // This must be big enough to handle any opcode for any member
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A Dllvm-pdbutil.rst420 bytes section in Subcommands
430 Like the **dump** subcommand, the **bytes** subcommand displays low level argument
452 Dump binary data from specified range of bytes in the file. argument
/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/
H A DPostingList.h69 size_t bytes() const { return Chunks.capacity() * sizeof(Chunk); } in bytes() function
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DToken.cpp84 StringRef bytes = getSpelling().drop_front(); in getStringValue() local
133 StringRef bytes = getSpelling().drop_front().drop_back(); in getHexStringValue() local

1234567