/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ThemeUtils.java | 29 static final int[] DISABLED_STATE_SET = new int[]{-android.R.attr.state_enabled}; 30 static final int[] FOCUSED_STATE_SET = new int[]{android.R.attr.state_focused}; 31 static final int[] ACTIVATED_STATE_SET = new int[]{android.R.attr.state_activated}; 32 static final int[] PRESSED_STATE_SET = new int[]{android.R.attr.state_pressed}; 33 static final int[] CHECKED_STATE_SET = new int[]{android.R.attr.state_checked}; 34 static final int[] SELECTED_STATE_SET = new int[]{android.R.attr.state_selected}; 36 -android.R.attr.state_pressed, -android.R.attr.state_focused}; 61 public static int getThemeAttrColor(Context context, int attr) { 62 TEMP_ARRAY[0] = attr; [all...] |
/external/deqp/framework/delibs/dethread/unix/ |
deMutexUnix.c | 38 pthread_mutexattr_t attr; local 45 if (pthread_mutexattr_init(&attr) != 0) 52 if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK) != 0) 54 if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL) != 0) 57 pthread_mutexattr_destroy(&attr); 66 if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE) != 0) 68 pthread_mutexattr_destroy(&attr); 75 ret = pthread_mutex_init(mutex, &attr); 78 pthread_mutexattr_destroy(&attr); 83 pthread_mutexattr_destroy(&attr); [all...] |
/external/elfutils/libdw/ |
dwarf_getattrs.c | 75 Dwarf_Attribute attr; 78 get_uleb128 (attr.code, attrp, endp); 81 get_uleb128 (attr.form, attrp, endp); 84 if (attr.code == 0 && attr.form == 0) 96 attr.valp = (unsigned char *) die_addr; 97 attr.cu = die->cu; 100 if (callback (&attr, arg) != DWARF_CB_OK) 108 if (attr.form != 0) 110 size_t len = __libdw_form_val_len (die->cu, attr.form, die_addr) [all...] |
dwarf_getlocation_die.c | 37 dwarf_getlocation_die (Dwarf_Attribute *attr, const Dwarf_Op *op, 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)
|
/external/valgrind/drd/tests/ |
pth_create_chain.c | 18 pthread_attr_t attr; local 25 pthread_attr_init(&attr); 26 pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN); 27 pthread_create(&s_thread[thread_count], &attr, thread_func, 29 pthread_attr_destroy(&attr); 40 pthread_attr_t attr; local 49 pthread_attr_init(&attr); 50 pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN); 51 pthread_create(&s_thread[thread_count], &attr, thread_func, 53 pthread_attr_destroy(&attr); [all...] |
pth_detached.c | 43 pthread_attr_t attr; local 48 pthread_attr_init(&attr); 49 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); 50 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); 52 pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN + 4096); 58 pthread_create(&thread, &attr, thread_func1, NULL); 61 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); 62 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); 67 pthread_create(&thread, &attr, thread_func2, NULL); 69 pthread_attr_destroy(&attr); [all...] |
pth_detached_sem.c | 48 pthread_attr_t attr; local 55 pthread_attr_init(&attr); 56 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); 57 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); 59 pthread_attr_setstacksize(&attr, 16384); 65 pthread_create(&thread, &attr, thread_func1, &thread_arg[i]); 68 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); 69 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); 74 pthread_create(&thread, &attr, thread_func2, &thread_arg[i]); 76 pthread_attr_destroy(&attr); [all...] |
recursive_mutex.c | 39 pthread_mutexattr_t attr; local 42 pthread_mutexattr_init(&attr); 43 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); 44 pthread_mutex_init(&m, &attr); 45 pthread_mutexattr_destroy(&attr); 53 pthread_mutexattr_t attr; local 56 pthread_mutexattr_init(&attr); 57 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP); 58 pthread_mutex_init(&m, &attr); 59 pthread_mutexattr_destroy(&attr); [all...] |
/external/webrtc/webrtc/libjingle/xmllite/ |
xmlelement.cc | 76 XmlAttr* attr; local 79 for (attr = elt.first_attr_; attr; attr = attr->NextAttr()) { 80 newAttr = new XmlAttr(*attr); 158 const std::string XmlElement::Attr(const StaticQName& name) const { 159 XmlAttr* attr; local 160 for (attr = first_attr_; attr; attr = attr->next_attr_) 168 XmlAttr* attr; local 177 XmlAttr* attr; local 186 XmlAttr* attr; local 195 XmlAttr* attr; local 213 XmlAttr* attr; local 449 XmlAttr* attr; local 481 XmlAttr* attr; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_draw_feedback.c | 113 GLuint attr, i; local 149 for (attr = 1; attr < vp->num_inputs; attr++) { 150 const GLubyte *start = arrays[vp->index_to_input[attr]]->Ptr; 158 for (attr = 0; attr < vp->num_inputs; attr++) { 159 const GLuint mesaAttr = vp->index_to_input[attr]; 171 vbuffers[attr].buffer = NULL [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_eval.c | 36 static void clear_active_eval1( struct vbo_exec_context *exec, GLuint attr ) 38 assert(attr < Elements(exec->eval.map1)); 39 exec->eval.map1[attr].map = NULL; 42 static void clear_active_eval2( struct vbo_exec_context *exec, GLuint attr ) 44 assert(attr < Elements(exec->eval.map2)); 45 exec->eval.map2[attr].map = NULL; 48 static void set_active_eval1( struct vbo_exec_context *exec, GLuint attr, GLuint dim, 51 assert(attr < Elements(exec->eval.map1)); 52 if (!exec->eval.map1[attr].map) { 53 exec->eval.map1[attr].map = map 71 GLuint attr; local 144 GLuint attr; local 189 GLuint attr; local [all...] |
/external/jemalloc/test/src/ |
mtx.c | 17 pthread_mutexattr_t attr; 19 if (pthread_mutexattr_init(&attr) != 0) 21 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_DEFAULT); 22 if (pthread_mutex_init(&mtx->lock, &attr) != 0) { 23 pthread_mutexattr_destroy(&attr); 26 pthread_mutexattr_destroy(&attr);
|
/development/ndk/platforms/android-9/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/external/ppp/pppd/plugins/radius/ |
dict.c | 46 DICT_ATTR *attr; local 182 if ((attr = 190 strcpy (attr->name, namestr); 192 attr->vendorcode = vdict->vendorcode; 194 attr->vendorcode = VENDOR_NONE; 196 attr->value = value; 197 attr->type = type; 201 attr->next = vdict->attributes; 202 vdict->attributes = attr; 204 attr->next = dictionary_attributes 297 DICT_ATTR *attr; local 334 DICT_ATTR *attr; local [all...] |
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |