Searched defs:header (Results 1 - 25 of 48) sorted by relevance

12

/bionic/libc/malloc_debug/
H A DDebugData.h53 inline void* GetPointer(const Header* header) { argument
54 uintptr_t value = reinterpret_cast<uintptr_t>(header);
63 uint8_t* GetFrontGuard(const Header* header) { argument
64 uintptr_t value = reinterpret_cast<uintptr_t>(header);
68 uint8_t* GetRearGuard(const Header* header) { argument
69 uintptr_t value = reinterpret_cast<uintptr_t>(GetPointer(header));
70 return reinterpret_cast<uint8_t*>(value + header->size);
H A DGuardData.cpp49 void GuardData::LogFailure(const Header* header, const void* pointer, const void* data) { argument
51 error_log("+++ ALLOCATION %p SIZE %zu HAS A CORRUPTED %s GUARD", pointer, header->size,
82 bool FrontGuardData::Valid(const Header* header) { argument
83 return GuardData::Valid(debug_->GetFrontGuard(header));
86 void FrontGuardData::LogFailure(const Header* header) { argument
87 GuardData::LogFailure(header, debug_->GetPointer(header), debug_->GetFrontGuard(header));
93 bool RearGuardData::Valid(const Header* header) { argument
94 return GuardData::Valid(debug_->GetRearGuard(header));
97 LogFailure(const Header* header) argument
[all...]
H A DPointerData.cpp261 Header* header = g_debug->GetHeader(reinterpret_cast<const void*>(info.pointer)); local
262 if (header->tag != DEBUG_FREE_TAG) {
265 info.pointer, header->tag);
268 // Stop processing here, it is impossible to tell how the header
272 usable_size = header->usable_size;
H A Dmalloc_debug.cpp144 Header* header = g_debug->GetHeader(pointer); local
145 if (header->tag != DEBUG_TAG) {
147 if (header->tag == DEBUG_FREE_TAG) {
150 error_str = android::base::StringPrintf("HAS INVALID TAG %" PRIx32 " (%s)", header->tag,
176 static void* InitHeader(Header* header, void* orig_pointer, size_t size) { argument
177 header->tag = DEBUG_TAG;
178 header->orig_pointer = orig_pointer;
179 header->size = size;
180 header->usable_size = g_dispatch->malloc_usable_size(orig_pointer);
181 if (header
335 Header* header = local
384 Header* header; local
498 Header* header = g_debug->GetHeader(reinterpret_cast<void*>(value)); local
576 Header* header = g_debug->GetHeader(pointer); local
680 Header* header = local
[all...]
/bionic/libc/tzcode/
H A Dbionic.cpp116 bionic_tzdata_header_t header = {}; local
117 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header)));
118 if (bytes_read != sizeof(header)) {
119 fprintf(stderr, "%s: could not read header of \"%s\": %s\n",
125 if (strncmp(header.tzdata_version, "tzdata", 6) != 0 || header.tzdata_version[11] != 0) {
126 fprintf(stderr, "%s: bad magic in \"%s\": \"%.6s\"\n", __FUNCTION__, path, header.tzdata_version);
131 if (TEMP_FAILURE_RETRY(lseek(fd, ntohl(header.index_offset), SEEK_SET)) == -1) {
137 if (ntohl(header
[all...]
/bionic/libc/kernel/uapi/asm-x86/asm/
H A Dkvm_para.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
73 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_write_pte
78 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_flush_tlb
81 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_release_pt
H A Dbootparam.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
62 __u32 header; member in struct:setup_header
/bionic/libc/kernel/uapi/misc/
H A Dcxl.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
114 struct cxl_event_header header; member in struct:cxl_event
/bionic/libc/versioner-dependencies/common/kernel_uapi/asm-x86/asm/
H A Dkvm_para.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
73 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_write_pte
78 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_flush_tlb
81 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_release_pt
H A Dbootparam.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
62 __u32 header; member in struct:setup_header
/bionic/libc/versioner-dependencies/common/kernel_uapi/misc/
H A Dcxl.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
114 struct cxl_event_header header; member in struct:cxl_event
/bionic/libc/versioner-dependencies/x86/kernel_uapi_asm-x86/asm/
H A Dkvm_para.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
73 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_write_pte
78 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_flush_tlb
81 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_release_pt
H A Dbootparam.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
62 __u32 header; member in struct:setup_header
/bionic/libc/versioner-dependencies/x86_64/kernel_uapi_asm-x86/asm/
H A Dkvm_para.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
73 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_write_pte
78 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_flush_tlb
81 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_release_pt
H A Dbootparam.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
62 __u32 header; member in struct:setup_header
/bionic/tools/versioner/dependencies/common/kernel_uapi/asm-x86/asm/
H A Dkvm_para.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
73 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_write_pte
78 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_flush_tlb
81 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_release_pt
/bionic/tools/versioner/dependencies/common/kernel_uapi/misc/
H A Dcxl.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
114 struct cxl_event_header header; member in struct:cxl_event
/bionic/tools/versioner/dependencies/x86/kernel_uapi_asm-x86/asm/
H A Dkvm_para.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
73 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_write_pte
78 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_flush_tlb
81 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_release_pt
/bionic/tools/versioner/dependencies/x86_64/kernel_uapi_asm-x86/asm/
H A Dkvm_para.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
73 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_write_pte
78 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_flush_tlb
81 struct kvm_mmu_op_header header; member in struct:kvm_mmu_op_release_pt
/bionic/libc/kernel/uapi/linux/
H A Drio_mport_cdev.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
94 __u32 header; member in struct:rio_event
H A Dfirewire-cdev.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
82 __u32 header[0]; member in struct:fw_cdev_event_iso_interrupt
210 __u32 header[0]; member in struct:fw_cdev_iso_packet
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Drio_mport_cdev.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
94 __u32 header; member in struct:rio_event
H A Dfirewire-cdev.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
82 __u32 header[0]; member in struct:fw_cdev_event_iso_interrupt
210 __u32 header[0]; member in struct:fw_cdev_iso_packet
/bionic/tests/
H A Dunistd_test.cpp1195 __user_cap_header_struct header; local
1196 memset(&header, 0, sizeof(header));
1197 header.version = _LINUX_CAPABILITY_VERSION_3;
1200 ASSERT_EQ(0, capget(&header, &old_caps[0]));
1210 ASSERT_EQ(0, capset(&header, &new_caps[0])) << "failed to drop admin privileges";
1218 ASSERT_EQ(0, capset(&header, &old_caps[0])) << "failed to restore admin privileges";
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Drio_mport_cdev.h4 *** This header was automatically generated from a Linux kernel header
7 *** structures, and macros generated from the original header, and thus,
10 *** To edit the content of this header, modify the corresponding
94 __u32 header; member in struct:rio_event

Completed in 4660 milliseconds

12