Home
last modified time | relevance | path

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

/third_party/elfutils/libdw/
Ddwarf_formstring.c38 dwarf_formstring (Dwarf_Attribute *attrp) in dwarf_formstring() argument
41 if (attrp == NULL) in dwarf_formstring()
45 if (attrp->form == DW_FORM_string) in dwarf_formstring()
47 return (const char *) attrp->valp; in dwarf_formstring()
49 Dwarf_CU *cu = attrp->cu; in dwarf_formstring()
51 Dwarf *dbg_ret = ((attrp->form == DW_FORM_GNU_strp_alt in dwarf_formstring()
52 || attrp->form == DW_FORM_strp_sup) in dwarf_formstring()
61 Elf_Data *data = ((attrp->form == DW_FORM_line_strp) in dwarf_formstring()
66 __libdw_seterrno ((attrp->form == DW_FORM_line_strp) in dwarf_formstring()
73 if (attrp->form == DW_FORM_strp in dwarf_formstring()
[all …]
Ddwarf_getattrs.c61 const unsigned char *attrp = abbrevp->attrp; in dwarf_getattrs() local
62 const unsigned char *const offset_attrp = abbrevp->attrp + offset; in dwarf_getattrs()
70 const unsigned char *remembered_attrp = attrp; in dwarf_getattrs()
72 get_uleb128_unchecked (attr.code, attrp); in dwarf_getattrs()
73 get_uleb128_unchecked (attr.form, attrp); in dwarf_getattrs()
100 attr.valp = (unsigned char *) attrp; in dwarf_getattrs()
110 return remembered_attrp - abbrevp->attrp; in dwarf_getattrs()
127 get_sleb128_unchecked (attr_value, attrp); in dwarf_getattrs()
Ddwarf_getabbrevattr.c48 const unsigned char *attrp = abbrev->attrp; in dwarf_getabbrevattr_data() local
56 start_attrp = attrp; in dwarf_getabbrevattr_data()
60 get_uleb128_unchecked (name, attrp); in dwarf_getabbrevattr_data()
61 get_uleb128_unchecked (form, attrp); in dwarf_getabbrevattr_data()
64 get_sleb128_unchecked (data, attrp); in dwarf_getabbrevattr_data()
82 *offsetp = (start_attrp - abbrev->attrp) + abbrev->offset; in dwarf_getabbrevattr_data()
Ddwarf_hasattr.c54 const unsigned char *attrp = abbrevp->attrp; in dwarf_hasattr() local
59 get_uleb128_unchecked (attr_name, attrp); in dwarf_hasattr()
61 get_uleb128_unchecked (attr_form, attrp); in dwarf_hasattr()
73 get_sleb128_unchecked (attr_value, attrp); in dwarf_hasattr()
Ddwarf_child.c60 const unsigned char *attrp = abbrevp->attrp; in __libdw_find_attr() local
65 get_uleb128_unchecked (attr_name, attrp); in __libdw_find_attr()
68 get_uleb128_unchecked (attr_form, attrp); in __libdw_find_attr()
96 return (unsigned char *) attrp; in __libdw_find_attr()
118 get_sleb128_unchecked (attr_value, attrp); in __libdw_find_attr()
Ddwarf_getattrcnt.c43 const unsigned char *abbrevp = abbrev->attrp; in dwarf_getattrcnt()
Ddwarf_getabbrev.c123 abb->attrp = (unsigned char *) abbrevp; in __libdw_getabbrev()
Dlibdw.h505 extern const char *dwarf_formstring (Dwarf_Attribute *attrp);
DlibdwP.h258 unsigned char *attrp; /* Pointer to start of attribute name/form pairs. */ member
DChangeLog1576 * dwarf_child.c (__libdw_find_attr): Add attrp bounds checks.
1594 * dwarf_hasattr.c (dwarf_hasattr): Bounds check attrp and call
/third_party/musl/src/thread/
Dpthread_setattr_default_np.c8 int pthread_setattr_default_np(const pthread_attr_t *attrp) in pthread_setattr_default_np() argument
11 pthread_attr_t tmp = *attrp, zero = { 0 }; in pthread_setattr_default_np()
17 unsigned stack = MIN(attrp->_a_stacksize, DEFAULT_STACK_MAX); in pthread_setattr_default_np()
18 unsigned guard = MIN(attrp->_a_guardsize, DEFAULT_GUARD_MAX); in pthread_setattr_default_np()
28 int pthread_getattr_default_np(pthread_attr_t *attrp) in pthread_getattr_default_np() argument
31 *attrp = (pthread_attr_t) { in pthread_getattr_default_np()
Dpthread_create.c242 int __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(… in __pthread_create() argument
244 int ret, c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_create()
268 if (attrp && !c11) attr = *attrp; in __pthread_create()
271 if (!attrp || c11) { in __pthread_create()
/third_party/musl/porting/liteos_m/user/src/thread/
Dpthread_create.c63 _LIBC_TEXT_SECTION static int __pthread_init_and_check_attr(const pthread_attr_t *restrict attrp, p… in __pthread_init_and_check_attr() argument
67 int c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_init_and_check_attr()
70 if (attrp && !c11) memcpy(attr, attrp, sizeof(pthread_attr_t)); in __pthread_init_and_check_attr()
72 if (!attrp || c11) { in __pthread_init_and_check_attr()
115 … __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(vo… in __pthread_create() argument
117 int ret, c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_create()
126 ret = __pthread_init_and_check_attr(attrp, &attr); in __pthread_create()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_create.c209 int __pthread_init_and_check_attr(const pthread_attr_t *restrict attrp, pthread_attr_t *attr) in __pthread_init_and_check_attr() argument
213 int c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_init_and_check_attr()
216 if (attrp && !c11) memcpy(attr, attrp, sizeof(pthread_attr_t)); in __pthread_init_and_check_attr()
218 if (!attrp || c11) { in __pthread_init_and_check_attr()
234 int __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(… in __pthread_create() argument
236 int ret, c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_create()
251 ret = __pthread_init_and_check_attr(attrp, &attr); in __pthread_create()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_create.c356 int __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(… in __pthread_create() argument
358 int ret, c11 = (attrp == __ATTRP_C11_THREAD); in __pthread_create()
385 if (attrp && !c11) attr = *attrp; in __pthread_create()
388 if (!attrp || c11) { in __pthread_create()
/third_party/python/Modules/
Dposixmodule.c5884 posix_spawnattr_t *attrp) in parse_posix_spawn_flags() argument
5888 errno = posix_spawnattr_init(attrp); in parse_posix_spawn_flags()
5899 errno = posix_spawnattr_setpgroup(attrp, pgid); in parse_posix_spawn_flags()
5939 errno = posix_spawnattr_setsigmask(attrp, &set); in parse_posix_spawn_flags()
5952 errno = posix_spawnattr_setsigdefault(attrp, &set); in parse_posix_spawn_flags()
5987 errno = posix_spawnattr_setschedpolicy(attrp, schedpolicy); in parse_posix_spawn_flags()
5994 errno = posix_spawnattr_setschedparam(attrp, &schedparam); in parse_posix_spawn_flags()
6007 errno = posix_spawnattr_setflags(attrp, all_flags); in parse_posix_spawn_flags()
6016 (void)posix_spawnattr_destroy(attrp); in parse_posix_spawn_flags()
6144 posix_spawnattr_t *attrp = NULL; in py_posix_spawn() local
[all …]
/third_party/elfutils/src/
Dreadelf.c7203 attr_callback (Dwarf_Attribute *attrp, void *arg) in attr_callback() argument
7210 unsigned int attr = dwarf_whatattr (attrp); in attr_callback()
7220 unsigned int form = dwarf_whatform (attrp); in attr_callback()
7242 if (unlikely (dwarf_formaddr (attrp, &addr) != 0)) in attr_callback()
7259 if (dwarf_formudata (attrp, &word) != 0) in attr_callback()
7287 const char *str = dwarf_formstring (attrp); in attr_callback()
7307 if (unlikely (dwarf_formref_die (attrp, &ref) == NULL)) in attr_callback()
7325 (uint64_t) read_8ubyte_unaligned (attrp->cu->dbg, attrp->valp)); in attr_callback()
7339 if (unlikely (dwarf_formudata (attrp, &num) != 0)) in attr_callback()
7633 if (unlikely (dwarf_formsdata (attrp, &snum) != 0)) in attr_callback()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DProgram.inc244 /*attrp*/nullptr, const_cast<char **>(args),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DProgram.inc255 /*attrp*/ nullptr, const_cast<char **>(Argv),
/third_party/rust/crates/libc/src/unix/haiku/
Dmod.rs1918 attrp: *const ::posix_spawnattr_t, in posix_spawn()
1926 attrp: *const ::posix_spawnattr_t, in posix_spawnp()
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
Dmod.rs2801 attrp: *const ::posix_spawnattr_t, in posix_spawn()
2809 attrp: *const ::posix_spawnattr_t, in posix_spawnp()
/third_party/rust/crates/libc/src/unix/nto/
Dmod.rs2971 attrp: *const ::posix_spawnattr_t, in posix_spawn()
2979 attrp: *const ::posix_spawnattr_t, in posix_spawnp()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs4115 attrp: *const ::posix_spawnattr_t, in posix_spawn()
4123 attrp: *const ::posix_spawnattr_t, in posix_spawnp()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs4335 attrp: *const ::posix_spawnattr_t, in posix_spawn()
4343 attrp: *const ::posix_spawnattr_t, in posix_spawnp()
/third_party/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs5505 attrp: *const ::posix_spawnattr_t, in posix_spawn()
5513 attrp: *const ::posix_spawnattr_t, in posix_spawnp()