HomeSort by relevance Sort by last modified time
    Searched refs:attr (Results 1 - 25 of 2428) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
ptw32_is_attr.c 41 ptw32_is_attr (const pthread_attr_t * attr)
43 /* Return 0 if the attr object is valid, non-zero otherwise. */
45 return (attr == NULL ||
46 *attr == NULL || (*attr)->valid != PTW32_ATTR_VALID);
pthread_attr_destroy.c 42 pthread_attr_destroy (pthread_attr_t * attr)
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;
pthread_mutexattr_getkind_np.c 41 pthread_mutexattr_getkind_np (pthread_mutexattr_t * attr, int *kind)
43 return pthread_mutexattr_gettype (attr, kind);
pthread_mutexattr_setkind_np.c 41 pthread_mutexattr_setkind_np (pthread_mutexattr_t * attr, int kind)
43 return pthread_mutexattr_settype (attr, kind);
pthread_barrierattr_destroy.c 42 pthread_barrierattr_destroy (pthread_barrierattr_t * attr)
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;
pthread_condattr_destroy.c 43 pthread_condattr_destroy (pthread_condattr_t * attr)
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;
pthread_mutexattr_destroy.c 42 pthread_mutexattr_destroy (pthread_mutexattr_t * attr)
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;
pthread_rwlockattr_destroy.c 43 pthread_rwlockattr_destroy (pthread_rwlockattr_t * attr)
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;
pthread_attr_getdetachstate.c 42 pthread_attr_getdetachstate (const pthread_attr_t * attr, int *detachstate)
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;
pthread_attr_getinheritsched.c 42 pthread_attr_getinheritsched (const pthread_attr_t * attr, int *inheritsched)
44 if (ptw32_is_attr (attr) != 0 || inheritsched == NULL)
49 *inheritsched = (*attr)->inheritsched;
pthread_attr_setstackaddr.c 42 pthread_attr_setstackaddr (pthread_attr_t * attr, void *stackaddr)
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;
pthread_barrierattr_getpshared.c 42 pthread_barrierattr_getpshared (const pthread_barrierattr_t * attr,
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;
pthread_condattr_getpshared.c 43 pthread_condattr_getpshared (const pthread_condattr_t * attr, int *pshared)
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;
pthread_mutexattr_getpshared.c 42 pthread_mutexattr_getpshared (const pthread_mutexattr_t * attr, int *pshared)
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;
pthread_mutexattr_getrobust.c 42 pthread_mutexattr_getrobust (const pthread_mutexattr_t * attr, int * robust)
53 * attr
99 * EINVAL 'attr' or 'robust' is invalid,
106 if ((attr != NULL && *attr != NULL && robust != NULL))
108 *robust = (*attr)->robustness;
pthread_mutexattr_gettype.c 42 pthread_mutexattr_gettype (const pthread_mutexattr_t * attr, int *kind)
46 if (attr != NULL && *attr != NULL && kind != NULL)
48 *kind = (*attr)->kind;
pthread_mutexattr_setrobust.c 42 pthread_mutexattr_setrobust (pthread_mutexattr_t * attr, int robust)
53 * attr
99 * EINVAL 'attr' or 'robust' is invalid,
106 if ((attr != NULL && *attr != NULL))
112 (*attr)->robustness = robust;
pthread_rwlockattr_getpshared.c 43 pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * attr,
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;
pthread_attr_setschedpolicy.c 42 pthread_attr_setschedpolicy (pthread_attr_t * attr, int policy)
44 if (ptw32_is_attr (attr) != 0)
  /external/elfutils/libdw/
dwarf_whatattr.c 60 dwarf_whatattr (attr)
61 Dwarf_Attribute *attr;
63 return attr == NULL ? 0 : attr->code;
dwarf_whatform.c 60 dwarf_whatform (attr)
61 Dwarf_Attribute *attr;
63 return attr == NULL ? 0 : attr->form;
dwarf_formaddr.c 60 dwarf_formaddr (attr, return_addr)
61 Dwarf_Attribute *attr;
64 if (attr == NULL)
67 if (unlikely (attr->form != DW_FORM_addr))
73 if (attr->cu->address_size == 8)
74 *return_addr = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
76 *return_addr = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
dwarf_formref.c 59 __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->cu->dbg, attr->valp)
    [all...]
dwarf_hasform.c 60 dwarf_hasform (attr, search_form)
61 Dwarf_Attribute *attr;
64 if (attr == NULL)
67 return attr->form == search_form;
  /external/bison/lib/
spawnattr_init.c 26 posix_spawnattr_init (posix_spawnattr_t *attr)
30 memset (attr, '\0', sizeof (*attr));

Completed in 1275 milliseconds

1 2 3 4 5 6 7 8 91011>>