/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
H A D | query.py | 44 def _match_regex(obj, criteria, regex): 49 obj The object to match. 55 return bool(criteria.search(str(obj))) 57 return obj == criteria 60 def _match_set(obj, criteria, equal): 65 obj The object to match. (a set) 72 return obj == criteria 74 return bool(obj.intersection(criteria)) 77 def _match_in_set(obj, criteria, regex): 83 obj Th [all...] |
H A D | descriptors.py | 55 Read-only instance attribute use (obj parameter): 75 def __get__(self, obj, objtype=None): 76 if obj is None: 79 return self.instances.setdefault(obj, self.default_value) 81 def __set__(self, obj, value): 83 self.instances[obj] = None 84 elif self.regex and getattr(obj, self.regex, False): 85 self.instances[obj] = re.compile(value) 87 lookup = getattr(obj.policy, self.lookup_function) 88 self.instances[obj] [all...] |
H A D | mixins.py | 32 def _match_alias(self, obj): 37 obj An object with an alias generator method named "aliases" 44 return self._match_in_set(obj.aliases(), self.alias, self.alias_regex) 54 def _match_object_class(self, obj): 59 obj An object with an object class attribute named "tclass" 66 return bool(self.tclass.search(str(obj.tclass))) 68 return obj.tclass in self.tclass 79 def _match_perms(self, obj): 84 obj An object with a permission set class attribute named "perms" 91 return self._match_regex_or_set(obj [all...] |
H A D | compquery.py | 33 def _match_name(self, obj): 39 return self._match_regex(obj, self.name, self.name_regex)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/setools/ |
H A D | query.py | 44 def _match_regex(obj, criteria, regex): 49 obj The object to match. 55 return bool(criteria.search(str(obj))) 57 return obj == criteria 60 def _match_set(obj, criteria, equal): 65 obj The object to match. (a set) 72 return obj == criteria 74 return bool(obj.intersection(criteria)) 77 def _match_in_set(obj, criteria, regex): 83 obj Th [all...] |
H A D | descriptors.py | 55 Read-only instance attribute use (obj parameter): 75 def __get__(self, obj, objtype=None): 76 if obj is None: 79 return self.instances.setdefault(obj, self.default_value) 81 def __set__(self, obj, value): 83 self.instances[obj] = None 84 elif self.regex and getattr(obj, self.regex, False): 85 self.instances[obj] = re.compile(value) 87 lookup = getattr(obj.policy, self.lookup_function) 88 self.instances[obj] [all...] |
H A D | mixins.py | 32 def _match_alias(self, obj): 37 obj An object with an alias generator method named "aliases" 44 return self._match_in_set(obj.aliases(), self.alias, self.alias_regex) 54 def _match_object_class(self, obj): 59 obj An object with an object class attribute named "tclass" 66 return bool(self.tclass.search(str(obj.tclass))) 68 return obj.tclass in self.tclass 79 def _match_perms(self, obj): 84 obj An object with a permission set class attribute named "perms" 91 return self._match_regex_or_set(obj [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/ |
H A D | pcm_rate.h | 63 void (*close)(void *obj); 67 int (*init)(void *obj, snd_pcm_rate_info_t *info); 71 void (*free)(void *obj); 75 void (*reset)(void *obj); 79 int (*adjust_pitch)(void *obj, snd_pcm_rate_info_t *info); 83 void (*convert)(void *obj, 91 void (*convert_s16)(void *obj, int16_t *dst, unsigned int dst_frames, 96 snd_pcm_uframes_t (*input_frames)(void *obj, snd_pcm_uframes_t frames); 100 snd_pcm_uframes_t (*output_frames)(void *obj, snd_pcm_uframes_t frames); 110 int (*get_supported_rates)(void *obj, unsigne [all...] |
H A D | control.h | 275 unsigned int snd_ctl_event_elem_get_mask(const snd_ctl_event_t *obj); 276 unsigned int snd_ctl_event_elem_get_numid(const snd_ctl_event_t *obj); 277 void snd_ctl_event_elem_get_id(const snd_ctl_event_t *obj, snd_ctl_elem_id_t *ptr); 278 snd_ctl_elem_iface_t snd_ctl_event_elem_get_interface(const snd_ctl_event_t *obj); 279 unsigned int snd_ctl_event_elem_get_device(const snd_ctl_event_t *obj); 280 unsigned int snd_ctl_event_elem_get_subdevice(const snd_ctl_event_t *obj); 281 const char *snd_ctl_event_elem_get_name(const snd_ctl_event_t *obj); 282 unsigned int snd_ctl_event_elem_get_index(const snd_ctl_event_t *obj); 284 int snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_t *obj, unsigned int entries); 285 void snd_ctl_elem_list_free_space(snd_ctl_elem_list_t *obj); [all...] |
H A D | hwdep.h | 113 void snd_hwdep_info_free(snd_hwdep_info_t *obj); 116 unsigned int snd_hwdep_info_get_device(const snd_hwdep_info_t *obj); 117 int snd_hwdep_info_get_card(const snd_hwdep_info_t *obj); 118 const char *snd_hwdep_info_get_id(const snd_hwdep_info_t *obj); 119 const char *snd_hwdep_info_get_name(const snd_hwdep_info_t *obj); 120 snd_hwdep_iface_t snd_hwdep_info_get_iface(const snd_hwdep_info_t *obj); 121 void snd_hwdep_info_set_device(snd_hwdep_info_t *obj, unsigned int val); 127 void snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_t *obj); 130 unsigned int snd_hwdep_dsp_status_get_version(const snd_hwdep_dsp_status_t *obj); 131 const char *snd_hwdep_dsp_status_get_id(const snd_hwdep_dsp_status_t *obj); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/ |
H A D | pcm_rate.h | 63 void (*close)(void *obj); 67 int (*init)(void *obj, snd_pcm_rate_info_t *info); 71 void (*free)(void *obj); 75 void (*reset)(void *obj); 79 int (*adjust_pitch)(void *obj, snd_pcm_rate_info_t *info); 83 void (*convert)(void *obj, 91 void (*convert_s16)(void *obj, int16_t *dst, unsigned int dst_frames, 96 snd_pcm_uframes_t (*input_frames)(void *obj, snd_pcm_uframes_t frames); 100 snd_pcm_uframes_t (*output_frames)(void *obj, snd_pcm_uframes_t frames); 110 int (*get_supported_rates)(void *obj, unsigne [all...] |
H A D | control.h | 276 unsigned int snd_ctl_event_elem_get_mask(const snd_ctl_event_t *obj); 277 unsigned int snd_ctl_event_elem_get_numid(const snd_ctl_event_t *obj); 278 void snd_ctl_event_elem_get_id(const snd_ctl_event_t *obj, snd_ctl_elem_id_t *ptr); 279 snd_ctl_elem_iface_t snd_ctl_event_elem_get_interface(const snd_ctl_event_t *obj); 280 unsigned int snd_ctl_event_elem_get_device(const snd_ctl_event_t *obj); 281 unsigned int snd_ctl_event_elem_get_subdevice(const snd_ctl_event_t *obj); 282 const char *snd_ctl_event_elem_get_name(const snd_ctl_event_t *obj); 283 unsigned int snd_ctl_event_elem_get_index(const snd_ctl_event_t *obj); 285 int snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_t *obj, unsigned int entries); 286 void snd_ctl_elem_list_free_space(snd_ctl_elem_list_t *obj); [all...] |
H A D | hwdep.h | 113 void snd_hwdep_info_free(snd_hwdep_info_t *obj); 116 unsigned int snd_hwdep_info_get_device(const snd_hwdep_info_t *obj); 117 int snd_hwdep_info_get_card(const snd_hwdep_info_t *obj); 118 const char *snd_hwdep_info_get_id(const snd_hwdep_info_t *obj); 119 const char *snd_hwdep_info_get_name(const snd_hwdep_info_t *obj); 120 snd_hwdep_iface_t snd_hwdep_info_get_iface(const snd_hwdep_info_t *obj); 121 void snd_hwdep_info_set_device(snd_hwdep_info_t *obj, unsigned int val); 127 void snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_t *obj); 130 unsigned int snd_hwdep_dsp_status_get_version(const snd_hwdep_dsp_status_t *obj); 131 const char *snd_hwdep_dsp_status_get_id(const snd_hwdep_dsp_status_t *obj); [all...] |
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
H A D | perlstrings.swg | 7 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc) 9 if (SvMAGICAL(obj)) { 11 SvSetSV(tmp, obj); 12 obj = tmp; 14 if (SvPOK(obj)) { 16 char *cstr = SvPV(obj, len); 34 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) { 50 SV *obj = sv_newmortal(); 52 sv_setpvn(obj, carray, size); 54 sv_setsv(obj, [all...] |
H A D | jstring.i | 5 SWIG_AsVal_dec(jstring)(SV *obj, jstring *val) 7 if (SvPOK(obj)) { 10 char *cstr = SvPV(obj, len); 23 SV *obj = sv_newmortal(); 25 sv_setsv(obj, &PL_sv_undef); 29 sv_setsv(obj, &PL_sv_undef); 33 sv_setpvn(obj, tmp, len); 34 SvUTF8_on(obj); 38 return obj;
|
/prebuilts/misc/common/swig/include/2.0.11/python/ |
H A D | file.i | 12 SWIG_AsValFilePtr(PyObject *obj, FILE **val) { 16 if ((SWIG_ConvertPtr(obj, &vptr, desc, 0)) == SWIG_OK) { 21 if (PyFile_Check(obj)) { 22 if (val) *val = PyFile_AsFile(obj); 33 SWIG_AsFilePtr(PyObject *obj) { 35 SWIG_AsValFilePtr(obj, &val);
|
H A D | pyprimtypes.swg | 18 SWIG_AsVal_dec(bool)(PyObject *obj, bool *val) 20 int r = PyObject_IsTrue(obj); 57 SWIG_AsVal_dec(long)(PyObject *obj, long* val) 59 if (PyInt_Check(obj)) { 60 if (val) *val = PyInt_AsLong(obj); 62 } else if (PyLong_Check(obj)) { 63 long v = PyLong_AsLong(obj); 74 long v = PyInt_AsLong(obj); 83 int res = SWIG_AddCast(SWIG_AsVal(double)(obj,&d)); 110 SWIG_AsVal_dec(unsigned long)(PyObject *obj, unsigne [all...] |
H A D | pywstrings.swg | 7 # define SWIGPY_UNICODE_ARG(obj) ((PyObject*) (obj)) 9 # define SWIGPY_UNICODE_ARG(obj) ((PyUnicodeObject*) (obj)) 15 SWIG_AsWCharPtrAndSize(PyObject *obj, wchar_t **cptr, size_t *psize, int *alloc) 18 int isunicode = PyUnicode_Check(obj); 20 if (!isunicode && PyString_Check(obj)) { 21 obj = tmp = PyUnicode_FromObject(obj); 26 Py_ssize_t len = PyUnicode_GetSize(obj); [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ |
H A D | cpointer.i | 129 %{ TYPE *obj = (TYPE *) calloc(1,sizeof(TYPE)); 130 *obj = value; 131 return obj; %} 135 static void delete_##NAME(TYPE *obj) { %} 137 %{ if (obj) delete obj; %} 139 %{ if (obj) free(obj); %} 143 static void NAME ##_assign(TYPE *obj, TYPE value) { 144 *obj [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
H A D | sharedctypes.py | 71 obj = _new_value(type_) 72 ctypes.memset(ctypes.addressof(obj), 0, ctypes.sizeof(obj)) 73 obj.__init__(*args) 74 return obj 83 obj = _new_value(type_) 84 ctypes.memset(ctypes.addressof(obj), 0, ctypes.sizeof(obj)) 85 return obj 99 obj [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
H A D | sharedctypes.py | 71 obj = _new_value(type_) 72 ctypes.memset(ctypes.addressof(obj), 0, ctypes.sizeof(obj)) 73 obj.__init__(*args) 74 return obj 83 obj = _new_value(type_) 84 ctypes.memset(ctypes.addressof(obj), 0, ctypes.sizeof(obj)) 85 return obj 99 obj [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ruby/ |
H A D | rubytypemaps.swg | 45 #define SWIG_AppendOutput(result,obj) SWIG_Ruby_AppendOutput(result, obj) 48 #define SWIG_SetConstant(name, obj) rb_define_const($module, name, obj) 51 #define SWIG_Raise(obj, type, desc) rb_exc_raise(SWIG_Ruby_ExceptionType(desc, obj))
|
H A D | rubyprimtypes.swg | 22 VALUE obj = args[0]; 23 VALUE type = TYPE(obj); 26 return obj; 44 SWIG_AsVal_dec(bool)(VALUE obj, bool *val) 46 if (obj == Qtrue) { 49 } else if (obj == Qfalse) { 54 if (SWIG_AsVal(int)(obj, &res) == SWIG_OK) { 71 %ruby_aux_method(long, NUM2LONG, type == T_FIXNUM ? NUM2LONG(obj) : rb_big2long(obj)) 74 SWIG_AsVal_dec(long)(VALUE obj, lon [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
H A D | functools.py | 83 __slots__ = ['obj'] 84 def __init__(self, obj, *args): 85 self.obj = obj 87 return mycmp(self.obj, other.obj) < 0 89 return mycmp(self.obj, other.obj) > 0 91 return mycmp(self.obj, other.obj) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
H A D | functools.py | 83 __slots__ = ['obj'] 84 def __init__(self, obj, *args): 85 self.obj = obj 87 return mycmp(self.obj, other.obj) < 0 89 return mycmp(self.obj, other.obj) > 0 91 return mycmp(self.obj, other.obj) [all...] |