Home
last modified time | relevance | path

Searched refs:entry_buffer (Results 1 – 6 of 6) sorted by relevance

/external/compiler-rt/test/asan/TestCases/Linux/
Dinterception_readdir_r_test.cc28 char entry_buffer[4096]; in main() local
29 memset(entry_buffer, 0xab, sizeof(entry_buffer)); in main()
33 ((struct dirent *)entry_buffer)->d_reclen = 9999; in main()
34 if (readdir_r(d, (struct dirent *)entry_buffer, &result) != 0) in main()
48 memset(entry_buffer, 0xab, sizeof(entry_buffer)); in main()
52 ((struct dirent64 *)entry_buffer)->d_reclen = 9999; in main()
53 if (readdir64_r(d, (struct dirent64 *)entry_buffer, &result64) != 0) in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dinterception_readdir_r_test.cpp31 char entry_buffer[4096]; in main() local
32 memset(entry_buffer, 0xab, sizeof(entry_buffer)); in main()
36 ((struct dirent *)entry_buffer)->d_reclen = 9999; in main()
37 if (readdir_r(d, (struct dirent *)entry_buffer, &result) != 0) in main()
51 memset(entry_buffer, 0xab, sizeof(entry_buffer)); in main()
55 ((struct dirent64 *)entry_buffer)->d_reclen = 9999; in main()
56 if (readdir64_r(d, (struct dirent64 *)entry_buffer, &result64) != 0) in main()
/external/pigweed/pw_trace_tokenized/
Dtrace_buffer_log.cc48 std::byte entry_buffer[kMaxEntrySize + 1] = {}; in DumpTraceBufferToLog() local
56 while (trace_buffer->PeekFront(std::span(entry_buffer).subspan(1), in DumpTraceBufferToLog()
59 entry_buffer[0] = static_cast<std::byte>(bytes_read); in DumpTraceBufferToLog()
64 pw::base64::Encode(std::span(entry_buffer, bytes_read + 1), in DumpTraceBufferToLog()
/external/pigweed/pw_log_multisink/
Dlog_queue.cc86 Result<LogEntries> LogQueue::Pop(LogEntriesBuffer entry_buffer) { in Pop() argument
91 PW_DCHECK_UINT_GE(entry_buffer.size_bytes(), max_log_entry_size_); in Pop()
92 PW_TRY(ring_buffer_.PeekFrontWithPreamble(entry_buffer, in Pop()
97 .entries = ConstByteSpan(entry_buffer.first(ring_buffer_entry_size)), in Pop()
/external/pigweed/pw_log_sink/
Dlog_sink_test.cc139 std::byte entry_buffer[kMultiSinkBufferSize]; in TEST() local
151 Result<ConstByteSpan> entry = drain.GetEntry(entry_buffer, drop_count); in TEST()
/external/pigweed/pw_log_multisink/public/pw_log_multisink/
Dlog_queue.h99 Result<LogEntries> Pop(LogEntriesBuffer entry_buffer);