/bionic/libc/malloc_debug/ |
D | GuardData.cpp | 49 void GuardData::LogFailure(const Header* header, const void* pointer, const void* data) { in LogFailure() argument 51 error_log("+++ ALLOCATION %p SIZE %zu HAS A CORRUPTED %s GUARD", pointer, header->size, in LogFailure() 82 bool FrontGuardData::Valid(const Header* header) { in Valid() argument 83 return GuardData::Valid(debug_->GetFrontGuard(header)); in Valid() 86 void FrontGuardData::LogFailure(const Header* header) { in LogFailure() argument 87 GuardData::LogFailure(header, debug_->GetPointer(header), debug_->GetFrontGuard(header)); in LogFailure() 93 bool RearGuardData::Valid(const Header* header) { in Valid() argument 94 return GuardData::Valid(debug_->GetRearGuard(header)); in Valid() 97 void RearGuardData::LogFailure(const Header* header) { in LogFailure() argument 98 GuardData::LogFailure(header, debug_->GetPointer(header), debug_->GetRearGuard(header)); in LogFailure()
|
D | DebugData.h | 53 inline void* GetPointer(const Header* header) { in GetPointer() argument 54 uintptr_t value = reinterpret_cast<uintptr_t>(header); in GetPointer() 63 uint8_t* GetFrontGuard(const Header* header) { in GetFrontGuard() argument 64 uintptr_t value = reinterpret_cast<uintptr_t>(header); in GetFrontGuard() 68 uint8_t* GetRearGuard(const Header* header) { in GetRearGuard() argument 69 uintptr_t value = reinterpret_cast<uintptr_t>(GetPointer(header)); in GetRearGuard() 70 return reinterpret_cast<uint8_t*>(value + header->size); in GetRearGuard()
|
D | malloc_debug.cpp | 330 Header* header = g_debug->GetHeader(pointer); in VerifyPointer() local 331 if (header->tag != DEBUG_TAG) { in VerifyPointer() 333 if (header->tag == DEBUG_FREE_TAG) { in VerifyPointer() 336 error_str = android::base::StringPrintf("HAS INVALID TAG %" PRIx32 " (%s)", header->tag, in VerifyPointer() 362 static void* InitHeader(Header* header, void* orig_pointer, size_t size) { in InitHeader() argument 363 header->tag = DEBUG_TAG; in InitHeader() 364 header->orig_pointer = orig_pointer; in InitHeader() 365 header->size = size; in InitHeader() 366 header->usable_size = g_dispatch->malloc_usable_size(orig_pointer); in InitHeader() 367 if (header->usable_size == 0) { in InitHeader() [all …]
|
D | GuardData.h | 52 void LogFailure(const Header* header, const void* pointer, const void* data); 67 bool Valid(const Header* header); 69 void LogFailure(const Header* header); 86 bool Valid(const Header* header); 88 void LogFailure(const Header* header);
|
D | README_marshmallow_and_earlier.md | 45 When enabled, this value creates a special header to all allocations 63 When enabled, this value does not create a special header. It only modifies 72 When enabled, this value creates a special header to all allocations
|
D | README.md | 64 This option adds a special header to all allocations that contains the guard 84 This option adds a special header to all allocations that contains 112 Before P, this option adds a special header to all allocations that contains 114 option will not add a special header. 139 Before P, this option adds a special header to all allocations that contains 141 option will not add a special header. 286 Before P, this option adds a special header to all allocations that contains 288 option will not add a special header. 302 an allocation has a special header applied, and the header is corrupted 324 Before P, this option adds a special header to all allocations that contains [all …]
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 141 bionic_tzdata_header_t header = {}; in __bionic_open_tzdata_path() local 142 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))); in __bionic_open_tzdata_path() 143 if (bytes_read != sizeof(header)) { in __bionic_open_tzdata_path() 150 if (strncmp(header.tzdata_version, "tzdata", 6) != 0 || header.tzdata_version[11] != 0) { in __bionic_open_tzdata_path() 151 … fprintf(stderr, "%s: bad magic in \"%s\": \"%.6s\"\n", __FUNCTION__, path, header.tzdata_version); in __bionic_open_tzdata_path() 156 if (TEMP_FAILURE_RETRY(lseek(fd, ntohl(header.index_offset), SEEK_SET)) == -1) { in __bionic_open_tzdata_path() 162 if (ntohl(header.index_offset) > ntohl(header.data_offset)) { in __bionic_open_tzdata_path() 164 __FUNCTION__, path, ntohl(header.data_offset), ntohl(header.index_offset)); in __bionic_open_tzdata_path() 168 const size_t index_size = ntohl(header.data_offset) - ntohl(header.index_offset); in __bionic_open_tzdata_path() 198 specific_zone_offset = ntohl(entry->start) + ntohl(header.data_offset); in __bionic_open_tzdata_path()
|
/bionic/libc/kernel/tools/ |
D | kernel.py | 85 header = m.group(1) 96 header = "%s%s" % (_prefix, header) 98 if not header in self.headers: 99 self.headers[header] = set() 103 print("=== %s uses %s" % (from_file, header)) 104 self.headers[header].add(from_file) 150 def getHeaderUsers(self,header): argument 152 return set(self.headers.get(header)) 223 def pathFromHeader(self,header): argument 224 path = header [all …]
|
D | generate_uapi_headers.sh | 99 header=$(basename ${file}) 100 if [[ -f "${check_dir}/${header}" ]]; then
|
/bionic/libc/kernel/uapi/linux/ |
D | vfio_zdev.h | 12 struct vfio_info_cap_header header; member 23 struct vfio_info_cap_header header; member 36 struct vfio_info_cap_header header; member 41 struct vfio_info_cap_header header; member
|
D | vfio.h | 71 struct vfio_info_cap_header header; member 97 struct vfio_info_cap_header header; member 104 struct vfio_info_cap_header header; member 151 struct vfio_info_cap_header header; member 156 struct vfio_info_cap_header header; member 399 struct vfio_info_cap_header header; member 406 struct vfio_info_cap_header header; member 413 struct vfio_info_cap_header header; member
|
D | fsl_mc.h | 12 __le64 header; member
|
D | pci_regs.h | 593 #define PCI_EXT_CAP_ID(header) (header & 0x0000ffff) argument 594 #define PCI_EXT_CAP_VER(header) ((header >> 16) & 0xf) argument 595 #define PCI_EXT_CAP_NEXT(header) ((header >> 20) & 0xffc) argument
|
D | virtio_crypto.h | 213 struct virtio_crypto_ctrl_header header; member 309 struct virtio_crypto_op_header header; member
|
D | firewire-cdev.h | 99 __u32 header[]; member 238 __u32 header[]; member
|
/bionic/tests/headers/posix/ |
D | README.md | 1 # POSIX header tests 3 These compile-time tests check that each POSIX header contains _at 4 least_ what POSIX says. Every POSIX header file gets a corresponding 6 and function in the header gets a corresponding assertion in the file.
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | kvm_para.h | 86 struct kvm_mmu_op_header header; member 91 struct kvm_mmu_op_header header; member 94 struct kvm_mmu_op_header header; member
|
/bionic/libc/kernel/ |
D | README.md | 16 They can be also included before or after any Bionic C library header. 22 also includes the header files that are generated by building the kernel 26 Contains copies of the kernel scsi header files. These where never 34 warn if any scsi header files have changed and require new versions 48 Checks out the Android kernel and generates all uapi header files. 52 Prints the clean version of a given kernel header. With the -u option, 53 this will also update the corresponding clean header file if its
|
/bionic/ |
D | README.md | 47 publicly-exported header file. `tests/headers/` contains compile-only tests 80 # The public header files on everyone's include path. These are a mixture of 84 # The kernel uapi header files. The "libc" headers that developers actually 105 # will be overwritten by the next update. "Updating kernel header files" 109 # These are private header files meant for use within bionic itself. 134 # header/source files needed by the BSD implementation. 187 2. Find the right header file to work in by looking up your system call 189 (If there's no header file given, see the points above about whether we 191 3. Add constants (and perhaps types) to the appropriate header file. 193 kernel uapi header files, in which case you just need to make sure that [all …]
|
/bionic/libc/kernel/uapi/linux/raid/ |
D | md_p.h | 185 struct r5l_payload_header header; member 196 struct r5l_payload_header header; member
|
/bionic/libc/kernel/android/ |
D | README.md | 1 The files under the uapi directory are android kernel uapi header files that
|
/bionic/tools/versioner/src/ |
D | versioner.cpp | 143 auto new_end = std::remove_if(headers.begin(), headers.end(), [&arch](llvm::StringRef header) { in collectRequirements() argument 149 if (header.endswith("/" + it.first)) { in collectRequirements() 212 for (const std::string& header : req.headers) { in compileHeaders() local 213 jobs.emplace_back(type, header); in compileHeaders()
|
/bionic/libc/kernel/uapi/misc/ |
D | cxl.h | 103 struct cxl_event_header header; member
|
/bionic/libc/kernel/uapi/scsi/ |
D | scsi_bsg_ufs.h | 88 struct utp_upiu_header header; member
|
/bionic/libc/tools/ |
D | genseccomp.py | 215 header = textwrap.dedent("""\ 232 return header + "\n".join(bpf) + footer
|