| /external/google-breakpad/src/third_party/mac_headers/ | 
| D | README | 2 processes Mach-O files on Linux.4 From xnu-8792.41.9 (https://github.com/apple-oss-distributions/xnu at 5c2921b)
 7 mach/boolean.h
 8 mach/machine.h
 9 mach/thread_status.h
 10 mach/vm_prot.h
 11 mach/i386/boolean.h
 12 mach/i386/vm_types.h
 13 mach/arm/boolean.h
 14 mach/arm/vm_types.h
 [all …]
 
 | 
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/BinaryFormat/ | 
| D | Magic.h | 1 //===- llvm/BinaryFormat/Magic.h - File magic identification ----*- C++ -*-===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 18 /// file_magic - An "enum class" enumeration of file types based on magic (the
 31     macho_object,      ///< Mach-O Object file
 32     macho_executable,  ///< Mach-O Executable
 33     macho_fixed_virtual_memory_shared_lib,    ///< Mach-O Shared Lib, FVM
 34     macho_core,                               ///< Mach-O Core File
 35     macho_preload_executable,                 ///< Mach-O Preloaded Executable
 36     macho_dynamically_linked_shared_lib,      ///< Mach-O dynlinked shared lib
 [all …]
 
 | 
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ | 
| D | Magic.h | 1 //===- llvm/BinaryFormat/Magic.h - File magic identification ----*- C++ -*-===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 18 /// file_magic - An "enum class" enumeration of file types based on magic (the
 30     macho_object,      ///< Mach-O Object file
 31     macho_executable,  ///< Mach-O Executable
 32     macho_fixed_virtual_memory_shared_lib,    ///< Mach-O Shared Lib, FVM
 33     macho_core,                               ///< Mach-O Core File
 34     macho_preload_executable,                 ///< Mach-O Preloaded Executable
 35     macho_dynamically_linked_shared_lib,      ///< Mach-O dynlinked shared lib
 [all …]
 
 | 
| /external/google-breakpad/src/common/mac/ | 
| D | macho_reader.h | 1 // -*- mode: C++ -*-31 // Original author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com>
 33 // macho_reader.h: A class for parsing Mach-O files.
 38 #include <mach-o/loader.h>
 39 #include <mach-o/fat.h>
 70 // When applied to a (non-fat) Mach-O file, this behaves as if the
 84     // The data does not begin with a fat binary or Mach-O magic number.
 88     // The Mach-O fat binary file ends abruptly, without enough space
 109   // If the data is a plain Mach-O file, rather than a fat binary file,
 111   // single object file is the Mach-O file.
 [all …]
 
 | 
| D | macho_reader.cc | 29 // Original author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com>74           " nor a Mach-O object file\n", filename_.c_str());  in BadHeader()
 92   // Fat binaries always use big-endian, so read the magic number in  in Read()
 93   // that endianness. To recognize Mach-O magic numbers, which can use  in Read()
 102         reporter_->TooShort();  in Read()
 111         // Read this object file entry, byte-swapping as appropriate.  in Read()
 122           reporter_->TooShort();  in Read()
 128             objfile.size > fat_size - objfile.offset) {  in Read()
 129           reporter_->MisplacedObjectFile();  in Read()
 137       // If this is a little-endian Mach-O file, fix the cursor's endianness.  in Read()
 [all …]
 
 | 
| D | dump_syms.h | 1 // -*- mode: c++ -*-31 // Author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com>
 34 // reading debugging information from Mach-O files and writing it out as a
 37 #include <mach-o/loader.h>
 78   // the name of a fat file, a Mach-O file, or a dSYM bundle containing either
 89   // expected to be the data obtained from reading a fat file, or a Mach-O file.
 163   // then the data is .eh_frame-format data; otherwise, it is standard DWARF
 195   // this may have more than one element; if it refers to a Mach-O file, this
 211   // See: https://crbug.com/google-breakpad/751 and docs at
 212   // docs/symbol_files.md#records-3
 [all …]
 
 | 
| /external/llvm/lib/MC/ | 
| D | MCSectionMachO.cpp | 1 //===- lib/MC/MCSectionMachO.cpp - MachO Code Section Representation ------===//8 //===----------------------------------------------------------------------===//
 16 /// SectionTypeDescriptors - These are strings that describe the various section
 49 /// SectionAttrDescriptors - This is an array of descriptors for section
 166 /// ParseSectionSpecifier - Parse the section specifier indicated by "Spec".
 167 /// This is a string that can appear after a .section directive in a mach-o
 182   auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {  in ParseSectionSpecifier()
 193     return "mach-o section specifier requires a segment whose length is "  in ParseSectionSpecifier()
 198     return "mach-o section specifier requires a segment and section "  in ParseSectionSpecifier()
 202     return "mach-o section specifier requires a section whose length is "  in ParseSectionSpecifier()
 [all …]
 
 | 
| /external/llvm/test/DebugInfo/ | 
| D | dwarfdump-macho-universal.test | 1 Reuse a test input from llvm-dsymutil, it's perfect for what we want to exercise2 RUN: llvm-dwarfdump %S/Inputs/fat-test.o -debug-dump=info | FileCheck %s
 4 CHECK: fat-test.o (x86_64):	file format Mach-O 64-bit x86-64
 6 CHECK-NOT: {{NULL|DW_TAG}}
 9 CHECK: fat-test.o (i386):	file format Mach-O 32-bit i386
 11 CHECK-NOT: {{NULL|DW_TAG}}
 14 CHECK: fat-test.o (x86_64h):	file format Mach-O 64-bit x86-64
 16 CHECK-NOT: {{NULL|DW_TAG}}
 
 | 
| /external/google-breakpad/src/client/mac/handler/ | 
| D | dynamic_images.h | 34 //    is limited to use by 32-bit tasks.39 #include <mach/mach.h>
 40 #include <mach-o/dyld.h>
 41 #include <mach-o/loader.h>
 98 // Helper functions to deal with 32-bit/64-bit Mach-O differences.
 107 // Represents a single dynamically loaded mach-o image
 134   // Full path to mach-o binary
 157   // filetype from the Mach-O header.
 160   // Return true if the task is a 64-bit architecture.
 213     return (*const_cast<DynamicImageRef*>(this)->p)
 [all …]
 
 | 
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ | 
| D | MCSectionMachO.cpp | 1 //===- lib/MC/MCSectionMachO.cpp - MachO Code Section Representation ------===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 15 /// SectionTypeDescriptors - These are strings that describe the various section
 60 /// SectionAttrDescriptors - This is an array of descriptors for section
 177 /// ParseSectionSpecifier - Parse the section specifier indicated by "Spec".
 178 /// This is a string that can appear after a .section directive in a mach-o
 193   auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {  in ParseSectionSpecifier()
 204     return "mach-o section specifier requires a segment whose length is "  in ParseSectionSpecifier()
 209     return "mach-o section specifier requires a segment and section "  in ParseSectionSpecifier()
 [all …]
 
 | 
| /external/llvm/test/ObjectYAML/MachO/ | 
| D | fat_macho_i386_x86_64.yaml | 3 --- !fat-mach-o8   - cputype:         0x00000007
 13   - cputype:         0x01000007
 19   - FileHeader:
 27   - FileHeader:
 39 #CHECK: --- !fat-mach-o
 44 #CHECK:   - cputype:         0x00000007
 49 #CHECK:   - cputype:         0x01000007
 55 #CHECK:   - !mach-o
 64 #CHECK:   - !mach-o
 
 | 
| /external/llvm/tools/llvm-nm/ | 
| D | llvm-nm.cpp | 1 //===-- llvm-nm.cpp - Symbol table dumping utility for llvm ---------------===//8 //===----------------------------------------------------------------------===//
 17 //===----------------------------------------------------------------------===//
 59                clEnumVal(darwin, "Darwin -m format"), clEnumValEnd),
 61 cl::alias OutputFormat2("f", cl::desc("Alias for --format"),
 67 cl::opt<bool> UndefinedOnly("undefined-only",
 69 cl::alias UndefinedOnly2("u", cl::desc("Alias for --undefined-only"),
 75 cl::alias DynamicSyms2("D", cl::desc("Alias for --dynamic"),
 78 cl::opt<bool> DefinedOnly("defined-only",
 80 cl::alias DefinedOnly2("U", cl::desc("Alias for --defined-only"),
 [all …]
 
 | 
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/MC/ | 
| D | MCSectionMachO.cpp | 1 //===- lib/MC/MCSectionMachO.cpp - MachO Code Section Representation ------===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 22 /// SectionTypeDescriptors - These are strings that describe the various section
 65     {StringLiteral("") /* linker-synthesized */,
 69 /// SectionAttrDescriptors - This is an array of descriptors for section
 181 /// ParseSectionSpecifier - Parse the section specifier indicated by "Spec".
 182 /// This is a string that can appear after a .section directive in a mach-o
 197   auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {  in ParseSectionSpecifier()
 209                              "mach-o section specifier requires a segment "  in ParseSectionSpecifier()
 [all …]
 
 | 
| /external/llvm/test/tools/llvm-readobj/ | 
| D | macho-universal-x86_64.i386.test | 1 RUN: llvm-readobj -h %p/Inputs/macho-universal.x86_64.i386 \2 RUN: | FileCheck %s -check-prefix MULTIHEADER
 4 RUN: llvm-readobj -sections %p/Inputs/macho-universal.x86_64.i386 \
 5 RUN: | FileCheck %s -check-prefix MULTISECTIONS
 7 RUN: llvm-readobj -h %p/Inputs/macho-universal-archive.x86_64.i386 \
 8 RUN: | FileCheck %s -check-prefix MULTIHEADER-ARCHIVE
 10 RUN: llvm-readobj -sections %p/Inputs/macho-universal-archive.x86_64.i386 \
 11 RUN: | FileCheck %s -check-prefix MULTISECTIONS-ARCHIVE
 13 MULTIHEADER: Format: Mach-O 64-bit x86-64
 18 MULTIHEADER:   CpuType: X86-64 (0x1000007)
 [all …]
 
 | 
| /external/google-breakpad/src/tools/mac/dump_syms/ | 
| D | dump_syms_tool.cc | 1 // -*- mode: c++ -*-38 #include <mach-o/arch.h>
 84   return a->address < b->address;  in StackFrameEntryComparator()
 87 // Copy the CFI data from |from_module| into |to_module|, for any non-
 96   from_module->GetStackFrameEntries(&from_data);  in CopyCFIDataBetweenModules()
 100   to_module->GetStackFrameEntries(&to_data);  in CopyCFIDataBetweenModules()
 107     Module::Address from_entry_end = from_entry->address + from_entry->size;  in CopyCFIDataBetweenModules()
 112       if (from_entry->address > (*to_it)->address)  in CopyCFIDataBetweenModules()
 119     if (to_it == to_data.end() || (from_entry->address < (*to_it)->address &&  in CopyCFIDataBetweenModules()
 120             from_entry_end < (*to_it)->address)) {  in CopyCFIDataBetweenModules()
 [all …]
 
 | 
| /external/llvm/lib/Object/ | 
| D | MachOObjectFile.cpp | 1 //===- MachOObjectFile.cpp - Mach-O object file binding ---------*- C++ -*-===//8 //===----------------------------------------------------------------------===//
 13 //===----------------------------------------------------------------------===//
 50 static T getStruct(const MachOObjectFile *O, const char *P) {  in getStruct()  argument
 52   if (P < O->getData().begin() || P + sizeof(T) > O->getData().end())  in getStruct()
 57   if (O->isLittleEndian() != sys::IsLittleEndianHost)  in getStruct()
 63 static Expected<T> getStructOrErr(const MachOObjectFile *O, const char *P) {  in getStructOrErr()  argument
 65   if (P < O->getData().begin() || P + sizeof(T) > O->getData().end())  in getStructOrErr()
 66     return malformedError("Structure read out-of-range");  in getStructOrErr()
 70   if (O->isLittleEndian() != sys::IsLittleEndianHost)  in getStructOrErr()
 [all …]
 
 | 
| /external/llvm/tools/llvm-size/ | 
| D | llvm-size.cpp | 1 //===-- llvm-size.cpp - Print the size of each object section ---*- C++ -*-===//8 //===----------------------------------------------------------------------===//
 14 //===----------------------------------------------------------------------===//
 43                         clEnumVal(darwin, "Darwin -m format"), clEnumValEnd),
 50                clEnumValN(darwin, "m", "Darwin -m format"), clEnumValEnd),
 67 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"),
 73 Radix("-radix", cl::desc("Print size in radix. Only 8, 10, and 16 are valid"),
 78            cl::values(clEnumValN(octal, "o", "Print size in octal"),
 110 // "libx.a(foo.o)" after the ToolName before the error message.  It sets
 136 …the file name and which architecture slice it // is from, for example: "foo.o (for architecture i3…
 [all …]
 
 | 
| /external/cronet/tot/third_party/rust/chromium_crates_io/vendor/ppv-lite86-0.2.20/src/ | 
| D | generic.rs | 16     fn from(d: [u32; 4]) -> Self {  in from()22     fn from(d: vec128_storage) -> Self {  in from()
 28     fn from(q: [u64; 2]) -> Self {  in from()
 34     fn from(q: vec128_storage) -> Self {  in from()
 40     fn default() -> Self {  in default()
 47     fn eq(&self, rhs: &Self) -> bool {  in eq()
 57     pub fn new128(v128: [vec128_storage; 2]) -> Self {  in new128()
 61     pub fn split128(self) -> [vec128_storage; 2] {  in split128()
 67     fn from(q: vec256_storage) -> Self {  in from()
 75     fn from([a, b, c, d]: [u64; 4]) -> Self {  in from()
 [all …]
 
 | 
| /external/rust/android-crates-io/crates/ppv-lite86/src/ | 
| D | generic.rs | 19     fn from(d: [u32; 4]) -> Self {  in from()25     fn from(d: vec128_storage) -> Self {  in from()
 31     fn from(q: [u64; 2]) -> Self {  in from()
 37     fn from(q: vec128_storage) -> Self {  in from()
 43     fn default() -> Self {  in default()
 50     fn eq(&self, rhs: &Self) -> bool {  in eq()
 60     pub fn new128(v128: [vec128_storage; 2]) -> Self {  in new128()
 64     pub fn split128(self) -> [vec128_storage; 2] {  in split128()
 70     fn from(q: vec256_storage) -> Self {  in from()
 78     fn from([a, b, c, d]: [u64; 4]) -> Self {  in from()
 [all …]
 
 | 
| /external/cronet/stable/third_party/rust/chromium_crates_io/vendor/ppv-lite86-0.2.20/src/ | 
| D | generic.rs | 16     fn from(d: [u32; 4]) -> Self {  in from()22     fn from(d: vec128_storage) -> Self {  in from()
 28     fn from(q: [u64; 2]) -> Self {  in from()
 34     fn from(q: vec128_storage) -> Self {  in from()
 40     fn default() -> Self {  in default()
 47     fn eq(&self, rhs: &Self) -> bool {  in eq()
 57     pub fn new128(v128: [vec128_storage; 2]) -> Self {  in new128()
 61     pub fn split128(self) -> [vec128_storage; 2] {  in split128()
 67     fn from(q: vec256_storage) -> Self {  in from()
 75     fn from([a, b, c, d]: [u64; 4]) -> Self {  in from()
 [all …]
 
 | 
| /external/compiler-rt/test/asan/TestCases/Darwin/ | 
| D | sandbox-symbolizer.cc | 1 // In a non-forking sandbox, we can't spawn an external symbolizer, but dladdr()6 // RUN: %clangxx_asan -O0 %s -o %t
 7 // RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny process-fork)' %t 2>&1 | FileChec…
 8 // RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny mach-priv-task-port)' %t 2>&1 | F…
 9 …UN: env ASAN_SYMBOLIZER_PATH="" not %run sandbox-exec -p '(version 1)(allow default)(deny mach-pri…
 10 // RUN: %clangxx_asan -O3 %s -o %t
 11 // RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny process-fork)' %t 2>&1 | FileChec…
 12 // RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny mach-priv-task-port)' %t 2>&1 | F…
 13 …UN: env ASAN_SYMBOLIZER_PATH="" not %run sandbox-exec -p '(version 1)(allow default)(deny mach-pri…
 20   // CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-free on address}}  in main()
 
 | 
| /external/compiler-rt/lib/sanitizer_common/ | 
| D | sanitizer_procmaps_mac.cc | 1 //===-- sanitizer_procmaps_mac.cc -----------------------------------------===//8 //===----------------------------------------------------------------------===//
 10 // Information about the process mappings (Mac-specific parts).
 11 //===----------------------------------------------------------------------===//
 19 #include <mach-o/dyld.h>
 20 #include <mach-o/loader.h>
 31 // More information about Mach-O headers can be found in mach-o/loader.h
 32 // Each Mach-O image has a header (mach_header or mach_header_64) starting with
 35 // A load command is at least two 32-bit words: the command type and the
 48   // _dyld_image_count is thread-unsafe. We need to register callbacks for  in Reset()
 [all …]
 
 | 
| /external/toybox/tests/ | 
| D | file.test | 3 [ -f testing.sh ] && . testing.sh12 ln -s "$FILES"/java.class symlink
 14 ln -s "$FILES"/java.klass dangler
 22 rm -f empty
 24 testing "script" "file input | grep -o ' script'" " script\n" "#!/bin/bash\n" ""
 25 testing "script with spaces" "file input | grep -o ' script'" " script\n" \
 27 testing "env script" "file input | tr P p | egrep -o '(python|script)' | sort" \
 30 testing "utf-8" \
 31   "file \"$FILES\"/utf8/japan.txt | egrep -o 'UTF-8 text' | LANG=c sort" \
 32   "UTF-8 text\n" "" ""
 [all …]
 
 | 
| /external/angle/src/common/ | 
| D | system_utils_mac.cpp | 3 // Use of this source code is governed by a BSD-style license that can be7 // system_utils_osx.cpp: Implementation of OS-specific functions for OSX
 14 #include <mach-o/dyld.h>
 15 #include <mach/mach.h>
 16 #include <mach/mach_time.h>
 
 | 
| D | system_utils_ios.cpp | 3 // Use of this source code is governed by a BSD-style license that can be7 // system_utils_osx.cpp: Implementation of OS-specific functions for OSX
 14 #include <mach-o/dyld.h>
 15 #include <mach/mach.h>
 16 #include <mach/mach_time.h>
 
 |