Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 25 of 1005) sorted by relevance

12345678910>>...41

/third_party/alsa-lib/src/mixer/
Dsimple.c92 unsigned int xcaps = ((sm_selem_t *)(elem)->private_data)->caps; \
99 unsigned int xcaps = ((sm_selem_t *)(elem)->private_data)->caps; \
107 if (!(((sm_selem_t *)(elem)->private_data)->caps & (SM_CAP_PENUM|SM_CAP_CENUM))) \
111 !!(((sm_selem_t *)(elem)->private_data)->caps & (what))
156 void snd_mixer_selem_get_id(snd_mixer_elem_t *elem, in snd_mixer_selem_get_id() argument
161 CHECK_BASIC(elem); in snd_mixer_selem_get_id()
162 s = elem->private_data; in snd_mixer_selem_get_id()
171 const char *snd_mixer_selem_get_name(snd_mixer_elem_t *elem) in snd_mixer_selem_get_name() argument
174 CHECK_BASIC(elem); in snd_mixer_selem_get_name()
175 s = elem->private_data; in snd_mixer_selem_get_name()
[all …]
Dsimple_none.c70 snd_hctl_elem_t *elem; member
241 if ((err = snd_hctl_elem_read(c->elem, &ctl)) < 0) in elem_read_volume()
260 if ((err = snd_hctl_elem_read(c->elem, &ctl)) < 0) in elem_read_switch()
278 if ((err = snd_hctl_elem_read(c->elem, &ctl)) < 0) in elem_read_route()
307 if ((err = snd_hctl_elem_read(c->elem, &ctl)) < 0) in elem_read_enum()
319 static int selem_read(snd_mixer_elem_t *elem) in selem_read() argument
327 assert(snd_mixer_elem_get_type(elem) == SND_MIXER_ELEM_SIMPLE); in selem_read()
328 s = snd_mixer_elem_get_private(elem); in selem_read()
339 if (s->ctls[CTL_GLOBAL_ENUM].elem) { in selem_read()
346 if (s->ctls[CTL_CAPTURE_ENUM].elem) { in selem_read()
[all …]
/third_party/gstreamer/gstreamer/tests/check/libs/
Dcontroller.c282 GstElement *elem; in GST_START_TEST() local
285 elem = gst_element_factory_make ("testobj", NULL); in GST_START_TEST()
289 fail_unless (gst_object_add_control_binding (GST_OBJECT (elem), in GST_START_TEST()
290 gst_direct_control_binding_new (GST_OBJECT (elem), "int", cs))); in GST_START_TEST()
293 gst_object_sync_values (GST_OBJECT (elem), 0 * GST_SECOND); in GST_START_TEST()
297 gst_object_unref (elem); in GST_START_TEST()
305 GstElement *elem; in GST_START_TEST() local
309 elem = gst_element_factory_make ("testobj", NULL); in GST_START_TEST()
313 fail_unless (gst_object_add_control_binding (GST_OBJECT (elem), in GST_START_TEST()
314 gst_direct_control_binding_new (GST_OBJECT (elem), "int", cs))); in GST_START_TEST()
[all …]
/third_party/alsa-utils/alsamixer/
Dmixer_controls.c58 snd_mixer_elem_t *elem; in are_there_any_controls() local
61 for (elem = snd_mixer_first_elem(mixer); in are_there_any_controls()
62 elem; in are_there_any_controls()
63 elem = snd_mixer_elem_next(elem)) { in are_there_any_controls()
64 if (snd_mixer_elem_get_type(elem) != SND_MIXER_ELEM_SIMPLE) in are_there_any_controls()
66 if (snd_mixer_selem_is_enumerated(elem)) in are_there_any_controls()
68 if (snd_mixer_selem_has_playback_volume_joined(elem) || in are_there_any_controls()
69 snd_mixer_selem_has_capture_volume_joined(elem) || in are_there_any_controls()
70 snd_mixer_selem_has_playback_switch_joined(elem) || in are_there_any_controls()
71 snd_mixer_selem_has_capture_switch_joined(elem)) in are_there_any_controls()
[all …]
/third_party/python/Lib/xml/etree/
DElementPath.py119 for elem in result:
120 if _isinstance(elem.tag, _str):
121 yield elem
125 for elem in result:
126 el_tag = elem.tag
128 yield elem
135 for elem in result:
136 el_tag = elem.tag
138 yield elem
144 for elem in result:
[all …]
/third_party/alsa-lib/include/
Dmixer.h57 snd_mixer_elem_t *elem);
65 typedef int (*snd_mixer_elem_callback_t)(snd_mixer_elem_t *elem,
119 snd_mixer_elem_t *snd_mixer_elem_next(snd_mixer_elem_t *elem);
120 snd_mixer_elem_t *snd_mixer_elem_prev(snd_mixer_elem_t *elem);
127 int snd_mixer_elem_new(snd_mixer_elem_t **elem,
131 void (*private_free)(snd_mixer_elem_t *elem));
132 int snd_mixer_elem_add(snd_mixer_elem_t *elem, snd_mixer_class_t *class_);
133 int snd_mixer_elem_remove(snd_mixer_elem_t *elem);
134 void snd_mixer_elem_free(snd_mixer_elem_t *elem);
135 int snd_mixer_elem_info(snd_mixer_elem_t *elem);
[all …]
/third_party/mesa3d/src/util/
Dsimple_list.h54 #define remove_from_list(elem) \ argument
56 (elem)->next->prev = (elem)->prev; \
57 (elem)->prev->next = (elem)->next; \
58 make_empty_list(elem); \
67 #define insert_at_head(list, elem) \ argument
69 (elem)->prev = list; \
70 (elem)->next = (list)->next; \
71 (list)->next->prev = elem; \
72 (list)->next = elem; \
81 #define insert_at_tail(list, elem) \ argument
[all …]
/third_party/grpc/tools/codegen/core/
Dgen_static_metadata.py196 def mangle(elem, name=None): argument
235 if isinstance(elem, tuple):
236 return '%s%s_%s' % (n('mdelem'), m0(elem[0]), m0(elem[1]))
238 return '%s%s' % (n('mdstr'), m0(elem))
242 def fake_hash(elem): argument
243 return hashlib.md5(elem).hexdigest()[0:8]
262 for elem in METADATA_BATCH_CALLOUTS:
263 if elem not in all_strs:
264 all_strs.append(elem)
265 for elem in CONFIG:
[all …]
/third_party/alsa-lib/src/control/
Dsetup.c63 snd_sctl_elem_t *elem = list_entry(h->elems.next, snd_sctl_elem_t, list); in free_elems() local
64 snd_ctl_elem_id_free(elem->id); in free_elems()
65 snd_ctl_elem_info_free(elem->info); in free_elems()
66 snd_ctl_elem_value_free(elem->val); in free_elems()
67 snd_ctl_elem_value_free(elem->mask); in free_elems()
68 snd_ctl_elem_value_free(elem->old); in free_elems()
69 list_del(&elem->list); in free_elems()
70 free(elem); in free_elems()
90 snd_sctl_elem_t *elem = list_entry(pos, snd_sctl_elem_t, list); in snd_sctl_install() local
93 if (elem->lock) { in snd_sctl_install()
[all …]
Dhcontrol.c202 snd_hctl_elem_t *elem) in snd_hctl_throw_event() argument
205 return hctl->callback(hctl, mask, elem); in snd_hctl_throw_event()
209 static int snd_hctl_elem_throw_event(snd_hctl_elem_t *elem, in snd_hctl_elem_throw_event() argument
212 if (elem->callback) in snd_hctl_elem_throw_event()
213 return elem->callback(elem, mask); in snd_hctl_elem_throw_event()
346 static int snd_hctl_elem_add(snd_hctl_t *hctl, snd_hctl_elem_t *elem) in snd_hctl_elem_add() argument
350 elem->compare_weight = get_compare_weight(&elem->id); in snd_hctl_elem_add()
362 list_add_tail(&elem->list, &hctl->elems); in snd_hctl_elem_add()
363 hctl->pelems[0] = elem; in snd_hctl_elem_add()
365 idx = _snd_hctl_find_elem(hctl, &elem->id, &dir); in snd_hctl_elem_add()
[all …]
/third_party/alsa-utils/amixer/
Damixer.c216 int (*get_range)(snd_mixer_elem_t *elem, long *min, long *max);
217 int (*get)(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t c,
219 int (*set)(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t c,
226 int (*has_volume)(snd_mixer_elem_t *elem);
230 static int set_playback_dB(snd_mixer_elem_t *elem, in set_playback_dB() argument
233 return snd_mixer_selem_set_playback_dB(elem, c, value, dir); in set_playback_dB()
236 static int set_capture_dB(snd_mixer_elem_t *elem, in set_capture_dB() argument
239 return snd_mixer_selem_set_capture_dB(elem, c, value, dir); in set_capture_dB()
242 static int set_playback_raw_volume(snd_mixer_elem_t *elem, in set_playback_raw_volume() argument
246 return snd_mixer_selem_set_playback_volume(elem, c, value); in set_playback_raw_volume()
[all …]
/third_party/alsa-lib/src/topology/
Ddapm.c76 static int copy_dapm_control(struct tplg_elem *elem, struct tplg_elem *ref) in copy_dapm_control() argument
78 struct snd_soc_tplg_dapm_widget *widget = elem->widget; in copy_dapm_control()
80 tplg_dbg("Control '%s' used by '%s'", ref->id, elem->id); in copy_dapm_control()
82 elem->size, ref->size, elem->size + ref->size, in copy_dapm_control()
85 widget = realloc(widget, elem->size + ref->size); in copy_dapm_control()
89 elem->widget = widget; in copy_dapm_control()
92 memcpy((void*)widget + elem->size, ref->obj, ref->size); in copy_dapm_control()
93 elem->size += ref->size; in copy_dapm_control()
101 static int tplg_build_widget(snd_tplg_t *tplg, struct tplg_elem *elem) in tplg_build_widget() argument
107 base = &elem->ref_list; in tplg_build_widget()
[all …]
Delem.c245 int tplg_ref_add(struct tplg_elem *elem, int type, const char* id) in tplg_ref_add() argument
257 list_add_tail(&ref->list, &elem->ref_list); in tplg_ref_add()
262 int tplg_ref_add_elem(struct tplg_elem *elem, struct tplg_elem *elem_ref) in tplg_ref_add_elem() argument
271 ref->elem = elem_ref; in tplg_ref_add_elem()
274 list_add_tail(&ref->list, &elem->ref_list); in tplg_ref_add_elem()
292 struct tplg_elem *elem; in tplg_elem_new() local
294 elem = calloc(1, sizeof(*elem)); in tplg_elem_new()
295 if (!elem) in tplg_elem_new()
298 INIT_LIST_HEAD(&elem->ref_list); in tplg_elem_new()
299 return elem; in tplg_elem_new()
[all …]
Ddata.c29 struct snd_soc_tplg_private *get_priv_data(struct tplg_elem *elem) in get_priv_data() argument
33 switch (elem->type) { in get_priv_data()
35 priv = &elem->manifest->priv; in get_priv_data()
39 priv = &elem->mixer_ctrl->priv; in get_priv_data()
43 priv = &elem->enum_ctrl->priv; in get_priv_data()
47 priv = &elem->bytes_ext->priv; in get_priv_data()
51 priv = &elem->widget->priv; in get_priv_data()
55 priv = &elem->dai->priv; in get_priv_data()
58 priv = &elem->link->priv; in get_priv_data()
61 priv = &elem->pcm->priv; in get_priv_data()
[all …]
/third_party/boost/libs/hof/doc/html/_static/
Djquery-3.1.0.js161 return this.pushStack( jQuery.map( this, function( elem, i ) { argument
162 return callback.call( elem, i, elem );
358 nodeName: function( elem, name ) { argument
359 return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
408 inArray: function( elem, arr, i ) { argument
409 return arr == null ? -1 : indexOf.call( arr, elem, i );
603 indexOf = function( list, elem ) { argument
607 if ( list[i] === elem ) {
725 function( elem ) { argument
726 return elem.disabled === true;
[all …]
/third_party/boost/libs/python/doc/html/numpy/_static/
Djquery-3.1.0.js161 return this.pushStack( jQuery.map( this, function( elem, i ) { argument
162 return callback.call( elem, i, elem );
358 nodeName: function( elem, name ) { argument
359 return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
408 inArray: function( elem, arr, i ) { argument
409 return arr == null ? -1 : indexOf.call( arr, elem, i );
603 indexOf = function( list, elem ) { argument
607 if ( list[i] === elem ) {
725 function( elem ) { argument
726 return elem.disabled === true;
[all …]
/third_party/boost/libs/gil/doc/html/_static/
Djquery-3.1.0.js161 return this.pushStack( jQuery.map( this, function( elem, i ) { argument
162 return callback.call( elem, i, elem );
358 nodeName: function( elem, name ) { argument
359 return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
408 inArray: function( elem, arr, i ) { argument
409 return arr == null ? -1 : indexOf.call( arr, elem, i );
603 indexOf = function( list, elem ) { argument
607 if ( list[i] === elem ) {
725 function( elem ) { argument
726 return elem.disabled === true;
[all …]
/third_party/boost/boost/thread/concurrent_queues/
Dsync_deque.hpp69 inline queue_op_status wait_pull_front(ValueType& elem);
80 inline void pull_front(value_type& elem, unique_lock<mutex>& ) in pull_front() argument
82 elem = boost::move(super::data_.front()); in pull_front()
92 inline void push_back(const value_type& elem, unique_lock<mutex>& lk) in push_back() argument
94 super::data_.push_back(elem); in push_back()
98 inline void push_back(BOOST_THREAD_RV_REF(value_type) elem, unique_lock<mutex>& lk) in push_back() argument
100 super::data_.push_back(boost::move(elem)); in push_back()
139 …queue_op_status sync_deque<ValueType, Container>::try_pull_front(ValueType& elem, unique_lock<mute… in try_pull_front() argument
146 pull_front(elem, lk); in try_pull_front()
150 …queue_op_status sync_deque<ValueType, Container>::wait_pull_front(ValueType& elem, unique_lock<mut… in wait_pull_front() argument
[all …]
Dsync_queue.hpp69 inline queue_op_status wait_pull(ValueType& elem);
80 inline void pull(value_type& elem, unique_lock<mutex>& ) in pull() argument
82 elem = boost::move(super::data_.front()); in pull()
92 inline void push(const value_type& elem, unique_lock<mutex>& lk) in push() argument
94 super::data_.push_back(elem); in push()
98 inline void push(BOOST_THREAD_RV_REF(value_type) elem, unique_lock<mutex>& lk) in push() argument
100 super::data_.push_back(boost::move(elem)); in push()
139 …queue_op_status sync_queue<ValueType, Container>::try_pull(ValueType& elem, unique_lock<mutex>& lk) in try_pull() argument
146 pull(elem, lk); in try_pull()
150 …queue_op_status sync_queue<ValueType, Container>::wait_pull(ValueType& elem, unique_lock<mutex>& l… in wait_pull() argument
[all …]
Dsync_bounded_queue.hpp88 inline queue_op_status wait_pull_front(ValueType& elem);
176 inline void pull(value_type& elem, unique_lock<mutex>& lk) in pull() argument
178 elem = boost::move(data_[out_]); in pull()
184 value_type elem = boost::move(data_[out_]); in pull() local
187 return boost::move(elem); in pull()
197 inline void pull_front(value_type& elem, unique_lock<mutex>& lk) in pull_front() argument
199 elem = boost::move(data_[out_]); in pull_front()
205 value_type elem = boost::move(data_[out_]); in pull_front() local
208 return boost::move(elem); in pull_front()
217 inline void push_at(const value_type& elem, size_type in_p_1, unique_lock<mutex>& lk) in push_at() argument
[all …]
Dsync_priority_queue.hpp123 void push(const ValueType& elem);
124 void push(BOOST_THREAD_RV_REF(ValueType) elem);
126 queue_op_status try_push(const ValueType& elem);
127 queue_op_status try_push(BOOST_THREAD_RV_REF(ValueType) elem);
138 queue_op_status try_pull(ValueType& elem);
139 queue_op_status wait_pull(ValueType& elem);
143 void push(unique_lock<mutex>&, const ValueType& elem);
144 void push(lock_guard<mutex>&, const ValueType& elem);
145 void push(unique_lock<mutex>&, BOOST_THREAD_RV_REF(ValueType) elem);
146 void push(lock_guard<mutex>&, BOOST_THREAD_RV_REF(ValueType) elem);
[all …]
/third_party/libxml2/result/XInclude/
Dfallback5.xml.rdr6 1 1 elem 1 0
11 1 1 elem 1 0
16 1 1 elem 1 0
21 1 1 elem 1 0
26 1 1 elem 1 0
31 1 1 elem 1 0
36 1 1 elem 1 0
41 1 1 elem 1 0
46 1 1 elem 1 0
51 1 1 elem 1 0
[all …]
/third_party/gn/src/gn/
Descape.cc50 for (const auto& elem : str) { in EscapeStringToString_Space() local
51 if (elem == ' ') in EscapeStringToString_Space()
53 dest[i++] = elem; in EscapeStringToString_Space()
84 for (const auto& elem : str) { in EscapeStringToString_Ninja() local
85 if (ShouldEscapeCharForNinja(elem)) in EscapeStringToString_Ninja()
87 dest[i++] = elem; in EscapeStringToString_Ninja()
102 for (const auto& elem : str) { in EscapeStringToString_CompilationDatabase() local
103 if (static_cast<unsigned>(elem) >= 0x80 || in EscapeStringToString_CompilationDatabase()
104 !kShellValid[static_cast<int>(elem)]) { in EscapeStringToString_CompilationDatabase()
112 for (const auto& elem : str) { in EscapeStringToString_CompilationDatabase() local
[all …]
/third_party/grpc/src/core/ext/filters/http/message_compress/
Dmessage_compress_filter.cc105 CallData(grpc_call_element* elem, const grpc_call_element_args& args) in CallData() argument
107 ChannelData* channeld = static_cast<ChannelData*>(elem->channel_data); in CallData()
117 StartSendMessageBatch, elem, grpc_schedule_on_exec_ctx); in CallData()
128 grpc_call_element* elem, grpc_transport_stream_op_batch* batch);
132 void InitializeState(grpc_call_element* elem);
134 grpc_error* ProcessSendInitialMetadata(grpc_call_element* elem,
141 void ContinueReadingSendMessage(grpc_call_element* elem);
142 void FinishSendMessage(grpc_call_element* elem);
143 void SendMessageBatchContinue(grpc_call_element* elem);
225 void CallData::InitializeState(grpc_call_element* elem) { in InitializeState() argument
[all …]
/third_party/curl/lib/
Dx509asn1.c106 static const char *getASN1Element(struct Curl_asn1Element *elem,
110 static const char *getASN1Element(struct Curl_asn1Element *elem, in getASN1Element() argument
126 elem->header = beg; in getASN1Element()
128 elem->constructed = (b & 0x20) != 0; in getASN1Element()
129 elem->class = (b >> 6) & 3; in getASN1Element()
133 elem->tag = b; in getASN1Element()
144 if(!elem->constructed) in getASN1Element()
146 elem->beg = beg; in getASN1Element()
154 elem->end = beg; in getASN1Element()
170 elem->beg = beg; in getASN1Element()
[all …]

12345678910>>...41