Searched refs:attr (Results 1 - 25 of 1281) sorted by relevance

1234567891011>>

/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dptw32_is_attr.c41 ptw32_is_attr (const pthread_attr_t * attr) argument
43 /* Return 0 if the attr object is valid, non-zero otherwise. */
45 return (attr == NULL ||
46 *attr == NULL || (*attr)->valid != PTW32_ATTR_VALID);
H A Dpthread_attr_destroy.c42 pthread_attr_destroy (pthread_attr_t * attr) argument
49 * attr
57 * 1) Does not affect threads created with 'attr'.
60 * 0 successfully destroyed attr,
61 * EINVAL 'attr' is invalid.
66 if (ptw32_is_attr (attr) != 0)
74 (*attr)->valid = 0;
75 free (*attr);
76 *attr = NULL;
H A Dpthread_mutexattr_getkind_np.c41 pthread_mutexattr_getkind_np (pthread_mutexattr_t * attr, int *kind) argument
43 return pthread_mutexattr_gettype (attr, kind);
H A Dpthread_mutexattr_setkind_np.c41 pthread_mutexattr_setkind_np (pthread_mutexattr_t * attr, int kind) argument
43 return pthread_mutexattr_settype (attr, kind);
H A Dpthread_barrierattr_destroy.c42 pthread_barrierattr_destroy (pthread_barrierattr_t * attr) argument
50 * attr
59 * 1) Does not affect barrieres created using 'attr'
62 * 0 successfully released attr,
63 * EINVAL 'attr' is invalid.
70 if (attr == NULL || *attr == NULL)
76 pthread_barrierattr_t ba = *attr;
78 *attr = NULL;
H A Dpthread_condattr_destroy.c43 pthread_condattr_destroy (pthread_condattr_t * attr) argument
51 * attr
61 * using 'attr'
64 * 0 successfully released attr,
65 * EINVAL 'attr' is invalid.
72 if (attr == NULL || *attr == NULL)
78 (void) free (*attr);
80 *attr = NULL;
H A Dpthread_mutexattr_destroy.c42 pthread_mutexattr_destroy (pthread_mutexattr_t * attr) argument
50 * attr
59 * 1) Does not affect mutexes created using 'attr'
62 * 0 successfully released attr,
63 * EINVAL 'attr' is invalid.
70 if (attr == NULL || *attr == NULL)
76 pthread_mutexattr_t ma = *attr;
78 *attr = NULL;
H A Dpthread_rwlockattr_destroy.c43 pthread_rwlockattr_destroy (pthread_rwlockattr_t * attr) argument
51 * attr
60 * 1) Does not affect rwlockss created using 'attr'
63 * 0 successfully released attr,
64 * EINVAL 'attr' is invalid.
71 if (attr == NULL || *attr == NULL)
77 pthread_rwlockattr_t rwa = *attr;
79 *attr = NULL;
H A Dpthread_attr_getdetachstate.c42 pthread_attr_getdetachstate (const pthread_attr_t * attr, int *detachstate) argument
47 * 'attr' will run detached.
50 * attr
67 * 'attr' will run detached.
74 * EINVAL 'attr' is invalid
79 if (ptw32_is_attr (attr) != 0 || detachstate == NULL)
84 *detachstate = (*attr)->detachstate;
H A Dpthread_attr_getinheritsched.c42 pthread_attr_getinheritsched (const pthread_attr_t * attr, int *inheritsched) argument
44 if (ptw32_is_attr (attr) != 0 || inheritsched == NULL)
49 *inheritsched = (*attr)->inheritsched;
H A Dpthread_attr_setstackaddr.c42 pthread_attr_setstackaddr (pthread_attr_t * attr, void *stackaddr) argument
46 * Threads created with 'attr' will run on the stack
51 * attr
59 * Threads created with 'attr' will run on the stack
76 * EINVAL 'attr' is invalid
84 if (ptw32_is_attr (attr) != 0)
89 (*attr)->stackaddr = stackaddr;
H A Dpthread_barrierattr_getpshared.c42 pthread_barrierattr_getpshared (const pthread_barrierattr_t * attr, argument
47 * Determine whether barriers created with 'attr' can be
51 * attr
65 * Mutexes creatd with 'attr' can be shared between
77 * EINVAL 'attr' is invalid,
84 if ((attr != NULL && *attr != NULL) && (pshared != NULL))
86 *pshared = (*attr)->pshared;
H A Dpthread_condattr_getpshared.c43 pthread_condattr_getpshared (const pthread_condattr_t * attr, int *pshared) argument
47 * Determine whether condition variables created with 'attr'
51 * attr
65 * Condition Variables created with 'attr' can be shared
78 * EINVAL 'attr' or 'pshared' is invalid,
85 if ((attr != NULL && *attr != NULL) && (pshared != NULL))
87 *pshared = (*attr)->pshared;
H A Dpthread_mutexattr_getpshared.c42 pthread_mutexattr_getpshared (const pthread_mutexattr_t * attr, int *pshared) argument
46 * Determine whether mutexes created with 'attr' can be
50 * attr
64 * Mutexes creatd with 'attr' can be shared between
76 * EINVAL 'attr' is invalid,
83 if ((attr != NULL && *attr != NULL) && (pshared != NULL))
85 *pshared = (*attr)->pshared;
H A Dpthread_mutexattr_getrobust.c42 pthread_mutexattr_getrobust (const pthread_mutexattr_t * attr, int * robust) argument
53 * attr
99 * EINVAL 'attr' or 'robust' is invalid,
106 if ((attr != NULL && *attr != NULL && robust != NULL))
108 *robust = (*attr)->robustness;
H A Dpthread_mutexattr_gettype.c42 pthread_mutexattr_gettype (const pthread_mutexattr_t * attr, int *kind) argument
46 if (attr != NULL && *attr != NULL && kind != NULL)
48 *kind = (*attr)->kind;
H A Dpthread_mutexattr_setrobust.c42 pthread_mutexattr_setrobust (pthread_mutexattr_t * attr, int robust) argument
53 * attr
99 * EINVAL 'attr' or 'robust' is invalid,
106 if ((attr != NULL && *attr != NULL))
112 (*attr)->robustness = robust;
H A Dpthread_rwlockattr_getpshared.c43 pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * attr, argument
48 * Determine whether rwlocks created with 'attr' can be
52 * attr
66 * Rwlocks creatd with 'attr' can be shared between
78 * EINVAL 'attr' is invalid,
85 if ((attr != NULL && *attr != NULL) && (pshared != NULL))
87 *pshared = (*attr)->pshared;
H A Dpthread_attr_setschedpolicy.c42 pthread_attr_setschedpolicy (pthread_attr_t * attr, int policy) argument
44 if (ptw32_is_attr (attr) != 0)
/external/elfutils/0.153/libdw/
H A Ddwarf_whatattr.c60 dwarf_whatattr (attr)
61 Dwarf_Attribute *attr;
63 return attr == NULL ? 0 : attr->code;
H A Ddwarf_whatform.c60 dwarf_whatform (attr)
61 Dwarf_Attribute *attr;
63 return attr == NULL ? 0 : attr->form;
H A Ddwarf_formref.c59 __libdw_formref (attr, return_offset)
60 Dwarf_Attribute *attr;
65 if (attr->valp == NULL)
71 switch (attr->form)
74 *return_offset = *attr->valp;
78 *return_offset = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
82 *return_offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
86 *return_offset = read_8ubyte_unaligned (attr
[all...]
H A Ddwarf_hasform.c60 dwarf_hasform (attr, search_form)
61 Dwarf_Attribute *attr;
64 if (attr == NULL)
67 return attr->form == search_form;
H A Ddwarf_formaddr.c60 dwarf_formaddr (attr, return_addr)
61 Dwarf_Attribute *attr;
64 if (attr == NULL)
67 if (unlikely (attr->form != DW_FORM_addr))
73 if (__libdw_read_address (attr->cu->dbg,
74 cu_sec_idx (attr->cu), attr->valp,
75 attr->cu->address_size, return_addr))
/external/bison/lib/
H A Dspawnattr_init.c26 posix_spawnattr_init (posix_spawnattr_t *attr) argument
30 memset (attr, '\0', sizeof (*attr));

Completed in 242 milliseconds

1234567891011>>