Searched refs:obj (Results 1 - 25 of 2950) sorted by relevance

1234567891011>>

/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/atomics/atomics.types.generic/
H A Dbool.pass.cpp63 volatile std::atomic<bool> obj(true);
64 assert(obj == true);
65 std::atomic_init(&obj, false);
66 assert(obj == false);
67 std::atomic_init(&obj, true);
68 assert(obj == true);
69 bool b0 = obj.is_lock_free();
71 obj.store(false);
72 assert(obj == false);
73 obj
[all...]
H A Daddress.pass.cpp83 A obj(T(0));
84 bool b0 = obj.is_lock_free();
86 assert(obj == T(0));
87 std::atomic_init(&obj, T(1));
88 assert(obj == T(1));
89 std::atomic_init(&obj, T(2));
90 assert(obj == T(2));
91 obj.store(T(0));
92 assert(obj == T(0));
93 obj
[all...]
H A Dintegral.pass.cpp99 A obj(T(0));
100 assert(obj == T(0));
101 std::atomic_init(&obj, T(1));
102 assert(obj == T(1));
103 std::atomic_init(&obj, T(2));
104 assert(obj == T(2));
105 bool b0 = obj.is_lock_free();
107 obj.store(T(0));
108 assert(obj == T(0));
109 obj
[all...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.generic/
H A Dbool.pass.cpp60 volatile std::atomic<bool> obj(true);
61 assert(obj == true);
62 std::atomic_init(&obj, false);
63 assert(obj == false);
64 std::atomic_init(&obj, true);
65 assert(obj == true);
66 bool b0 = obj.is_lock_free();
67 obj.store(false);
68 assert(obj == false);
69 obj
[all...]
H A Daddress.pass.cpp78 A obj(T(0));
79 assert(obj == T(0));
80 std::atomic_init(&obj, T(1));
81 assert(obj == T(1));
82 std::atomic_init(&obj, T(2));
83 assert(obj == T(2));
84 bool b0 = obj.is_lock_free();
85 obj.store(T(0));
86 assert(obj == T(0));
87 obj
[all...]
H A Dintegral.pass.cpp95 A obj(T(0));
96 assert(obj == T(0));
97 std::atomic_init(&obj, T(1));
98 assert(obj == T(1));
99 std::atomic_init(&obj, T(2));
100 assert(obj == T(2));
101 bool b0 = obj.is_lock_free();
102 obj.store(T(0));
103 assert(obj == T(0));
104 obj
[all...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/atomics/atomics.types.generic/
H A Dbool.pass.cpp63 volatile std::atomic<bool> obj(true);
64 assert(obj == true);
65 std::atomic_init(&obj, false);
66 assert(obj == false);
67 std::atomic_init(&obj, true);
68 assert(obj == true);
69 bool b0 = obj.is_lock_free();
71 obj.store(false);
72 assert(obj == false);
73 obj
[all...]
H A Daddress.pass.cpp83 A obj(T(0));
84 bool b0 = obj.is_lock_free();
86 assert(obj == T(0));
87 std::atomic_init(&obj, T(1));
88 assert(obj == T(1));
89 std::atomic_init(&obj, T(2));
90 assert(obj == T(2));
91 obj.store(T(0));
92 assert(obj == T(0));
93 obj
[all...]
H A Dintegral.pass.cpp99 A obj(T(0));
100 assert(obj == T(0));
101 std::atomic_init(&obj, T(1));
102 assert(obj == T(1));
103 std::atomic_init(&obj, T(2));
104 assert(obj == T(2));
105 bool b0 = obj.is_lock_free();
107 obj.store(T(0));
108 assert(obj == T(0));
109 obj
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
H A Dutil.py21 def match_regex(obj, criteria, regex):
26 obj The object to match.
32 return bool(criteria.search(str(obj)))
34 return obj == criteria
37 def match_set(obj, criteria, equal):
42 obj The object to match. (a set)
49 return obj == criteria
51 return bool(obj.intersection(criteria))
54 def match_in_set(obj, criteria, regex):
60 obj Th
[all...]
H A Ddescriptors.py55 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...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/
H A Ddescriptors.py37 def __get__(self, obj, objtype=None):
38 if obj is None:
41 if self.instances.setdefault(obj, None) is None:
42 diff = getattr(obj, self.diff_function)
45 return self.instances[obj]
47 def __set__(self, obj, value):
48 self.instances[obj] = value
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++abi/src/
H A Dcxa_thread_atexit.cpp17 _LIBCXXABI_FUNC_VIS int __cxa_thread_atexit(void (*dtor)(void *), void *obj, argument
20 return __cxa_thread_atexit_impl(dtor, obj, dso_symbol);
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
H A Dcxa_thread_atexit.cpp18 int __cxa_thread_atexit(void (*dtor)(void *), void *obj, argument
21 return __cxa_thread_atexit_impl(dtor, obj, dso_symbol);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++abi/src/
H A Dcxa_thread_atexit.cpp17 _LIBCXXABI_FUNC_VIS int __cxa_thread_atexit(void (*dtor)(void *), void *obj, argument
20 return __cxa_thread_atexit_impl(dtor, obj, dso_symbol);
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/
H A Dpcm_rate.h63 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 Dcontrol.h275 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 Dhwdep.h113 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 Dpcm_rate.h63 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 Dcontrol.h276 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 Dhwdep.h113 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/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
H A Ddefault.py72 obj = Default(policy, sym)
73 obj.ruletype = "default_user"
74 obj.default = user
75 yield obj
78 obj = Default(policy, sym)
79 obj.ruletype = "default_role"
80 obj.default = role
81 yield obj
84 obj = Default(policy, sym)
85 obj
[all...]
/prebuilts/misc/common/swig/include/2.0.11/perl5/
H A Dperlstrings.swg7 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...]
/prebuilts/misc/common/swig/include/2.0.11/python/
H A Dfile.i12 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);
/prebuilts/misc/common/swig/include/2.0.11/
H A Dcpointer.i129 %{ 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...]

Completed in 924 milliseconds

1234567891011>>