Home
last modified time | relevance | path

Searched refs:attrp (Results 1 – 16 of 16) sorted by relevance

/external/elfutils/libdw/
Ddwarf_formstring.c39 dwarf_formstring (Dwarf_Attribute *attrp) in dwarf_formstring() argument
42 if (attrp == NULL) in dwarf_formstring()
46 if (attrp->form == DW_FORM_string) in dwarf_formstring()
48 return (const char *) attrp->valp; in dwarf_formstring()
50 Dwarf *dbg = attrp->cu->dbg; in dwarf_formstring()
51 Dwarf *dbg_ret = attrp->form == DW_FORM_GNU_strp_alt ? dbg->alt_dwarf : dbg; in dwarf_formstring()
60 if (unlikely (attrp->form != DW_FORM_strp in dwarf_formstring()
61 && attrp->form != DW_FORM_GNU_strp_alt) in dwarf_formstring()
69 if (__libdw_read_offset (dbg, dbg_ret, cu_sec_idx (attrp->cu), attrp->valp, in dwarf_formstring()
70 attrp->cu->offset_size, &off, IDX_debug_str, 1)) in dwarf_formstring()
Ddwarf_getabbrevattr.c47 const unsigned char *attrp = abbrev->attrp; in dwarf_getabbrevattr() local
54 start_attrp = attrp; in dwarf_getabbrevattr()
58 get_uleb128 (name, attrp, attrp + len_leb128 (name)); in dwarf_getabbrevattr()
59 get_uleb128 (form, attrp, attrp + len_leb128 (form)); in dwarf_getabbrevattr()
73 *offsetp = (start_attrp - abbrev->attrp) + abbrev->offset; in dwarf_getabbrevattr()
Ddwarf_getattrs.c60 const unsigned char *attrp = abbrevp->attrp; in dwarf_getattrs() local
61 const unsigned char *const offset_attrp = abbrevp->attrp + offset; in dwarf_getattrs()
71 if (unlikely (attrp >= endp)) in dwarf_getattrs()
76 const unsigned char *remembered_attrp = attrp; in dwarf_getattrs()
78 get_uleb128 (attr.code, attrp, endp); in dwarf_getattrs()
79 if (unlikely (attrp >= endp)) in dwarf_getattrs()
81 get_uleb128 (attr.form, attrp, endp); in dwarf_getattrs()
104 return remembered_attrp - abbrevp->attrp; in dwarf_getattrs()
Ddwarf_hasattr.c60 const unsigned char *attrp = abbrevp->attrp; in dwarf_hasattr() local
64 if (unlikely (attrp >= endp)) in dwarf_hasattr()
69 get_uleb128 (attr_name, attrp, endp); in dwarf_hasattr()
71 if (unlikely (attrp >= endp)) in dwarf_hasattr()
73 get_uleb128 (attr_form, attrp, endp); in dwarf_hasattr()
Ddwarf_child.c63 const unsigned char *attrp = abbrevp->attrp; in __libdw_find_attr() local
67 if (unlikely (attrp >= endp)) in __libdw_find_attr()
70 get_uleb128 (attr_name, attrp, endp); in __libdw_find_attr()
72 if (unlikely (attrp >= endp)) in __libdw_find_attr()
75 get_uleb128 (attr_form, attrp, endp); in __libdw_find_attr()
Ddwarf_getabbrev.c121 abb->attrp = (unsigned char *) abbrevp; in __libdw_getabbrev()
DlibdwP.h215 unsigned char *attrp; member
Dlibdw.h469 extern const char *dwarf_formstring (Dwarf_Attribute *attrp);
DChangeLog351 * dwarf_child.c (__libdw_find_attr): Add attrp bounds checks.
369 * dwarf_hasattr.c (dwarf_hasattr): Bounds check attrp and call
/external/dhcpcd-6.8.2/compat/
Dposix_spawn.c55 posix_spawnattr_handle(const posix_spawnattr_t *attrp) in posix_spawnattr_handle() argument
60 if (attrp->posix_attr_flags & POSIX_SPAWN_SETSIGMASK) in posix_spawnattr_handle()
61 sigprocmask(SIG_SETMASK, &attrp->posix_attr_sigmask, NULL); in posix_spawnattr_handle()
63 if (attrp->posix_attr_flags & POSIX_SPAWN_SETSIGDEF) { in posix_spawnattr_handle()
67 if (sigismember(&attrp->posix_attr_sigdefault, i)) { in posix_spawnattr_handle()
86 const posix_spawnattr_t *attrp, in posix_spawn() argument
94 flags = attrp ? attrp->posix_attr_flags : 0; in posix_spawn()
107 if (attrp) { in posix_spawn()
108 error = posix_spawnattr_handle(attrp); in posix_spawn()
/external/clang/tools/scan-build-py/libear/
Dear.c126 const posix_spawnattr_t *restrict attrp,
133 const posix_spawnattr_t *restrict attrp,
267 const posix_spawnattr_t *restrict attrp, in posix_spawn() argument
270 return call_posix_spawn(pid, path, file_actions, attrp, argv, envp); in posix_spawn()
277 const posix_spawnattr_t *restrict attrp, in posix_spawnp() argument
280 return call_posix_spawnp(pid, file, file_actions, attrp, argv, envp); in posix_spawnp()
367 const posix_spawnattr_t *restrict attrp, in call_posix_spawn() argument
379 (*fp)(pid, path, file_actions, attrp, argv, (char *const *restrict)menvp); in call_posix_spawn()
388 const posix_spawnattr_t *restrict attrp, in call_posix_spawnp() argument
400 (*fp)(pid, file, file_actions, attrp, argv, (char *const *restrict)menvp); in call_posix_spawnp()
/external/elfutils/src/
Dreadelf.c5875 attr_callback (Dwarf_Attribute *attrp, void *arg) in attr_callback() argument
5880 unsigned int attr = dwarf_whatattr (attrp); in attr_callback()
5889 unsigned int form = dwarf_whatform (attrp); in attr_callback()
5904 if (unlikely (dwarf_formaddr (attrp, &addr) != 0)) in attr_callback()
5927 const char *str = dwarf_formstring (attrp); in attr_callback()
5945 if (unlikely (dwarf_formref_die (attrp, &ref) == NULL)) in attr_callback()
5959 (uint64_t) read_8ubyte_unaligned (attrp->cu->dbg, attrp->valp)); in attr_callback()
5970 if (unlikely (dwarf_formudata (attrp, &num) != 0)) in attr_callback()
6082 if (unlikely (dwarf_formsdata (attrp, &snum) != 0)) in attr_callback()
6112 if (unlikely (dwarf_formflag (attrp, &flag) != 0)) in attr_callback()
[all …]
/external/elfutils/include/elfutils/
Dlibdw.h469 extern const char *dwarf_formstring (Dwarf_Attribute *attrp);
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DProgram.inc222 int Err = posix_spawn(&PID, path.c_str(), FileActions, /*attrp*/0,
/external/llvm/lib/Support/Unix/
DProgram.inc244 /*attrp*/nullptr, const_cast<char **>(args),
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DProgram.inc244 /*attrp*/nullptr, const_cast<char **>(args),