Searched defs:attr (Results 1 - 25 of 887) sorted by relevance

1234567891011>>

/external/bison/lib/
H A Dspawnattr_destroy.c24 posix_spawnattr_destroy (posix_spawnattr_t *attr) argument
H A Dspawnattr_init.c26 posix_spawnattr_init (posix_spawnattr_t *attr) argument
30 memset (attr, '\0', sizeof (*attr));
H A Dspawnattr_setflags.c35 posix_spawnattr_setflags (posix_spawnattr_t *attr, short int flags) argument
42 attr->_flags = flags;
H A Dspawnattr_setsigmask.c26 posix_spawnattr_setsigmask (posix_spawnattr_t *attr, argument
30 memcpy (&attr->_ss, sigmask, sizeof (sigset_t));
/external/elfutils/libdw/
H A Ddwarf_whatattr.c39 dwarf_whatattr (Dwarf_Attribute *attr) argument
41 return attr == NULL ? 0 : attr->code;
H A Ddwarf_whatform.c39 dwarf_whatform (Dwarf_Attribute *attr) argument
41 return attr == NULL ? 0 : attr->form;
H A Ddwarf_formaddr.c39 dwarf_formaddr (Dwarf_Attribute *attr, Dwarf_Addr *return_addr) argument
41 if (attr == NULL)
44 if (unlikely (attr->form != DW_FORM_addr))
50 if (__libdw_read_address (attr->cu->dbg,
51 cu_sec_idx (attr->cu), attr->valp,
52 attr->cu->address_size, return_addr))
H A Ddwarf_formflag.c39 dwarf_formflag (Dwarf_Attribute *attr, bool *return_bool) argument
41 if (attr == NULL)
44 if (attr->form == DW_FORM_flag_present)
50 if (unlikely (attr->form != DW_FORM_flag))
56 *return_bool = *attr->valp != 0;
H A Ddwarf_getlocation_die.c37 dwarf_getlocation_die (Dwarf_Attribute *attr, const Dwarf_Op *op, argument
40 if (attr == NULL)
57 dieoff = attr->cu->start + op->number;
62 dieoff = attr->cu->start + op->number2;
70 if (__libdw_offdie (attr->cu->dbg, dieoff, result,
71 attr->cu->type_offset != 0) == NULL)
H A Ddwarf_hasform.c39 dwarf_hasform (Dwarf_Attribute *attr, unsigned int search_form) argument
41 if (attr == NULL)
44 return attr->form == search_form;
H A Ddwarf_formblock.c39 dwarf_formblock (Dwarf_Attribute *attr, Dwarf_Block *return_block) argument
41 if (attr == NULL)
44 const unsigned char *datap = attr->valp;
45 const unsigned char *endp = attr->cu->endp;
47 switch (attr->form)
52 return_block->length = *(uint8_t *) attr->valp;
53 return_block->data = attr->valp + 1;
59 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
60 return_block->data = attr
[all...]
H A Ddwarf_formsdata.c39 dwarf_formsdata (Dwarf_Attribute *attr, Dwarf_Sword *return_sval) argument
41 if (attr == NULL)
44 const unsigned char *datap = attr->valp;
45 const unsigned char *endp = attr->cu->endp;
47 switch (attr->form)
56 *return_sval = *attr->valp;
62 *return_sval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
68 *return_sval = read_4ubyte_unaligned (attr->cu->dbg, attr
[all...]
H A Ddwarf_hasattr_integrate.c47 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, local
49 if (attr == NULL)
50 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, &attr_mem);
51 if (attr == NULL)
54 die = INTUSE(dwarf_formref_die) (attr, &die_mem);
H A Ddwarf_attr_integrate.c44 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, search_name, result); local
45 if (attr != NULL)
46 return attr;
48 attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, result);
49 if (attr == NULL)
50 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, result);
51 if (attr == NULL)
54 die = INTUSE(dwarf_formref_die) (attr, &die_mem);
/external/strace/tests/
H A Dmq.c44 struct mq_attr attr; local
55 if (mq_getattr(0, &attr))
59 (long long) attr.mq_maxmsg,
60 (long long) attr.mq_msgsize);
62 if (mq_setattr(0, &attr, NULL))
66 (long long) attr.mq_maxmsg,
67 (long long) attr.mq_msgsize);
/external/strace/tests-m32/
H A Dmq.c44 struct mq_attr attr; local
55 if (mq_getattr(0, &attr))
59 (long long) attr.mq_maxmsg,
60 (long long) attr.mq_msgsize);
62 if (mq_setattr(0, &attr, NULL))
66 (long long) attr.mq_maxmsg,
67 (long long) attr.mq_msgsize);
/external/strace/tests-mx32/
H A Dmq.c44 struct mq_attr attr; local
55 if (mq_getattr(0, &attr))
59 (long long) attr.mq_maxmsg,
60 (long long) attr.mq_msgsize);
62 if (mq_setattr(0, &attr, NULL))
66 (long long) attr.mq_maxmsg,
67 (long long) attr.mq_msgsize);
/external/valgrind/drd/tests/
H A Dpth_process_shared_mutex.c16 pthread_mutexattr_t attr; local
18 pthread_mutexattr_init(&attr);
19 pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED);
20 pthread_mutex_init(&mutex, &attr);
21 pthread_mutexattr_destroy(&attr);
/external/compiler-rt/test/msan/
H A Dpthread_getattr_np_deadlock.cc9 pthread_attr_t attr; local
10 int res = pthread_getattr_np(pthread_self(), &attr);
/external/libxml2/python/tests/
H A Dattribs.py16 <!ATTLIST test abc:attr CDATA #FIXED "def" >
21 attr = elem.hasNsProp('attr', 'http://abc.org') variable
22 if attr == None or attr.serialize()[:-1] != """<!ATTLIST test abc:attr CDATA #FIXED "def">""":
23 print("Failed to find defaulted attribute abc:attr")
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D12-1.c10 * Test that if O_CREAT is set and attr == NULL, implementation defined
14 * with attr == NULL.
35 struct mq_attr attr; local
46 if (mq_getattr(queue, &attr) != 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/speculative/
H A D6-1.c47 pthread_attr_t attr; local
50 pthread_attr_init(&attr);
51 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
53 if (pthread_create(&new_th, &attr, a_thread_func, NULL) != 0) {
/external/clang/include/clang/Basic/
H A DAttrKinds.h11 /// \brief Defines the clang::attr::Kind enum.
20 namespace attr { namespace in namespace:clang
31 } // end namespace attr
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dpthread_create_version.cc16 pthread_attr_t attr; local
17 pthread_attr_init(&attr);
18 pthread_attr_setstack(&attr, p, sz);
19 pthread_create(&t, &attr, ThreadFunc, nullptr);
/external/compiler-rt/test/tsan/
H A Dlots_of_threads.c16 pthread_attr_t attr; local
17 pthread_attr_init(&attr);
18 pthread_attr_setstacksize(&attr, 16 << 20);
19 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
21 pthread_create(&t[i], &attr, thr, 0);
22 pthread_attr_destroy(&attr);

Completed in 537 milliseconds

1234567891011>>