Home
last modified time | relevance | path

Searched refs:ma (Results 1 - 25 of 233) sorted by relevance

12345678910

/third_party/pulseaudio/src/pulsecore/
H A Dmodargs.c46 static int add_key_value(pa_modargs *ma, char *key, char *value, const char* const valid_keys[], bool ignore_dupes) { in add_key_value() argument
50 pa_assert(ma); in add_key_value()
51 pa_assert(ma->raw); in add_key_value()
52 pa_assert(ma->unescaped); in add_key_value()
56 if (pa_hashmap_get(ma->unescaped, key)) { in add_key_value()
84 pa_hashmap_put(ma->unescaped, key, e); in add_key_value()
92 pa_hashmap_put(ma->raw, key, e); in add_key_value()
107 static int parse(pa_modargs *ma, const char *args, const char* const* valid_keys, bool ignore_dupes) { in parse() argument
157 if (add_key_value(ma, in parse()
177 if (add_key_value(ma, in parse()
256 pa_modargs *ma = pa_xnew(pa_modargs, 1); pa_modargs_new() local
271 pa_modargs_append(pa_modargs *ma, const char *args, const char* const* valid_keys) pa_modargs_append() argument
275 pa_modargs_remove_key(pa_modargs *ma, const char *key) pa_modargs_remove_key() argument
292 pa_modargs_get_value(pa_modargs *ma, const char *key, const char *def) pa_modargs_get_value() argument
304 modargs_get_value_raw(pa_modargs *ma, const char *key, const char *def) modargs_get_value_raw() argument
317 pa_modargs_get_value_u32(pa_modargs *ma, const char *key, uint32_t *value) pa_modargs_get_value_u32() argument
331 pa_modargs_get_value_s32(pa_modargs *ma, const char *key, int32_t *value) pa_modargs_get_value_s32() argument
345 pa_modargs_get_value_boolean(pa_modargs *ma, const char *key, bool *value) pa_modargs_get_value_boolean() argument
364 pa_modargs_get_value_double(pa_modargs *ma, const char *key, double *value) pa_modargs_get_value_double() argument
378 pa_modargs_get_value_volume(pa_modargs *ma, const char *key, pa_volume_t *value) pa_modargs_get_value_volume() argument
392 pa_modargs_get_sample_rate(pa_modargs *ma, uint32_t *rate) pa_modargs_get_sample_rate() argument
407 pa_modargs_get_sample_spec(pa_modargs *ma, pa_sample_spec *rss) pa_modargs_get_sample_spec() argument
436 pa_modargs_get_alternate_sample_rate(pa_modargs *ma, uint32_t *alternate_rate) pa_modargs_get_alternate_sample_rate() argument
451 pa_modargs_get_channel_map(pa_modargs *ma, const char *name, pa_channel_map *rmap) pa_modargs_get_channel_map() argument
470 pa_modargs_get_resample_method(pa_modargs *ma, pa_resample_method_t *rmethod) pa_modargs_get_resample_method() argument
488 pa_modargs_get_sample_spec_and_channel_map( pa_modargs *ma, pa_sample_spec *rss, pa_channel_map *rmap, pa_channel_map_def_t def) pa_modargs_get_sample_spec_and_channel_map() argument
526 pa_modargs_get_proplist(pa_modargs *ma, const char *name, pa_proplist *p, pa_update_mode_t m) pa_modargs_get_proplist() argument
546 pa_modargs_iterate(pa_modargs *ma, void **state) pa_modargs_iterate() argument
[all...]
H A Dmodargs.h38 int pa_modargs_append(pa_modargs *ma, const char *args, const char* const* valid_keys);
39 void pa_modargs_free(pa_modargs*ma);
43 const char *pa_modargs_get_value(pa_modargs *ma, const char *key, const char *def);
47 int pa_modargs_get_value_u32(pa_modargs *ma, const char *key, uint32_t *value);
48 int pa_modargs_get_value_s32(pa_modargs *ma, const char *key, int32_t *value);
49 int pa_modargs_get_value_boolean(pa_modargs *ma, const char *key, bool *value);
53 int pa_modargs_get_value_double(pa_modargs *ma, const char *key, double *value);
57 int pa_modargs_get_value_volume(pa_modargs *ma, const char *key, pa_volume_t *value);
61 int pa_modargs_get_sample_rate(pa_modargs *ma, uint32_t *rate);
65 int pa_modargs_get_sample_spec(pa_modargs *ma, pa_sample_spe
[all...]
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dpthread_fortify_test.c43 pthread_mutexattr_t ma; in test_pthread_mutex_lock_after_destroyed() local
48 T(pthread_mutexattr_init(&ma)); in test_pthread_mutex_lock_after_destroyed()
49 T(pthread_mutexattr_settype(&ma, mtype)); in test_pthread_mutex_lock_after_destroyed()
50 T(pthread_mutex_init(a[0], &ma)); in test_pthread_mutex_lock_after_destroyed()
51 T(pthread_mutexattr_destroy(&ma)); in test_pthread_mutex_lock_after_destroyed()
70 pthread_mutexattr_t ma; in test_pthread_mutex_unlock_after_destroyed() local
75 T(pthread_mutexattr_init(&ma)); in test_pthread_mutex_unlock_after_destroyed()
76 T(pthread_mutexattr_settype(&ma, mtype)); in test_pthread_mutex_unlock_after_destroyed()
77 T(pthread_mutex_init(a[0], &ma)); in test_pthread_mutex_unlock_after_destroyed()
78 T(pthread_mutexattr_destroy(&ma)); in test_pthread_mutex_unlock_after_destroyed()
99 pthread_mutexattr_t ma; test_pthread_mutex_timedlock_after_destroyed() local
126 pthread_mutexattr_t ma; test_pthread_mutex_trylock_after_destroyed() local
[all...]
/third_party/mesa3d/src/vulkan/util/
H A Dvk_alloc.h171 * VK_MULTIALLOC(ma)
172 * vk_multialloc_add(&ma, &main_ptr, 1);
173 * vk_multialloc_add(&ma, &substruct1, substruct1Count);
174 * vk_multialloc_add(&ma, &substruct2, substruct2Count);
176 * if (!vk_multialloc_alloc(&ma, pAllocator, VK_ALLOCATION_SCOPE_FOO))
191 vk_multialloc_add_size_align(struct vk_multialloc *ma, in vk_multialloc_add_size_align() argument
200 size_t offset = ALIGN_POT(ma->size, align); in vk_multialloc_add_size_align()
201 ma->size = offset + size; in vk_multialloc_add_size_align()
202 ma->align = MAX2(ma in vk_multialloc_add_size_align()
230 vk_multialloc_alloc(struct vk_multialloc *ma, const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope) vk_multialloc_alloc() argument
269 vk_multialloc_alloc2(struct vk_multialloc *ma, const VkAllocationCallbacks *parent_alloc, const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope) vk_multialloc_alloc2() argument
278 vk_multialloc_zalloc(struct vk_multialloc *ma, const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope) vk_multialloc_zalloc() argument
293 vk_multialloc_zalloc2(struct vk_multialloc *ma, const VkAllocationCallbacks *parent_alloc, const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope) vk_multialloc_zalloc2() argument
[all...]
/third_party/musl/libc-test/src/functional/
H A Dpthread_mutex_pi.c33 pthread_mutexattr_t ma; in test_relock() local
40 T(pthread_mutexattr_init(&ma)); in test_relock()
41 T(pthread_mutexattr_settype(&ma, mtype)); in test_relock()
42 T(pthread_mutexattr_setprotocol(&ma, PTHREAD_PRIO_INHERIT)); in test_relock()
43 T(pthread_mutex_init(a[0], &ma)); in test_relock()
44 T(pthread_mutexattr_destroy(&ma)); in test_relock()
79 pthread_mutexattr_t ma; in test_unlock() local
85 T(pthread_mutexattr_init(&ma)); in test_unlock()
86 T(pthread_mutexattr_settype(&ma, mtype)); in test_unlock()
87 T(pthread_mutexattr_setprotocol(&ma, PTHREAD_PRIO_INHERI in test_unlock()
100 pthread_mutexattr_t ma; test_unlock_other() local
[all...]
H A Dpthread_mutex.c33 pthread_mutexattr_t ma; in test_relock() local
40 T(pthread_mutexattr_init(&ma)); in test_relock()
41 T(pthread_mutexattr_settype(&ma, mtype)); in test_relock()
42 T(pthread_mutex_init(a[0], &ma)); in test_relock()
43 T(pthread_mutexattr_destroy(&ma)); in test_relock()
78 pthread_mutexattr_t ma; in test_unlock() local
84 T(pthread_mutexattr_init(&ma)); in test_unlock()
85 T(pthread_mutexattr_settype(&ma, mtype)); in test_unlock()
86 T(pthread_mutex_init(a[0], &ma)); in test_unlock()
87 T(pthread_mutexattr_destroy(&ma)); in test_unlock()
98 pthread_mutexattr_t ma; test_unlock_other() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DreadonlyArraysAndTuples.js15 function f1(ma: string[], ra: readonly string[], mt: [string, string], rt: readonly [string, string]) {
16 ma = ra; // Error
17 ma = mt;
18 ma = rt; // Error
19 ra = ma;
22 mt = ma; // Error
25 rt = ma; // Error
42 function f1(ma, ra, mt, rt) {
43 ma = ra; // Error
44 ma
[all...]
/third_party/libunwind/libunwind/src/hppa/
H A Dsetcontext.S61 fldds,ma 8(%r29), %fr12
62 fldds,ma 8(%r29), %fr13
63 fldds,ma 8(%r29), %fr14
64 fldds,ma 8(%r29), %fr15
65 fldds,ma 8(%r29), %fr16
66 fldds,ma 8(%r29), %fr17
67 fldds,ma 8(%r29), %fr18
68 fldds,ma 8(%r29), %fr19
69 fldds,ma 8(%r29), %fr20
H A Dgetcontext.S58 fstds,ma %fr12, 8(%r29)
59 fstds,ma %fr13, 8(%r29)
60 fstds,ma %fr14, 8(%r29)
61 fstds,ma %fr15, 8(%r29)
62 fstds,ma %fr16, 8(%r29)
63 fstds,ma %fr17, 8(%r29)
64 fstds,ma %fr18, 8(%r29)
65 fstds,ma %fr19, 8(%r29)
66 fstds,ma %fr20, 8(%r29)
/third_party/rust/crates/clap/src/parser/
H A Darg_matcher.rs62 if let Some(ma) = self.get(global_arg) { in fill_in_global_values()
70 if parent_ma.source() > ma.source() { in fill_in_global_values()
73 ma in fill_in_global_values()
76 ma in fill_in_global_values()
142 let ma = self.entry(id).or_insert(MatchedArg::new_arg(arg));
143 debug_assert_eq!(ma.type_id(), Some(arg.get_value_parser().type_id()));
144 ma.set_source(source);
145 ma.new_val_group();
153 let ma = self.entry(id).or_insert(MatchedArg::new_group());
154 debug_assert_eq!(ma
[all...]
/third_party/pulseaudio/src/modules/echo-cancel/
H A Dspeex.c63 static bool pa_speex_ec_preprocessor_init(pa_echo_canceller *ec, pa_sample_spec *out_ss, uint32_t nframes, pa_modargs *ma) { in pa_speex_ec_preprocessor_init() argument
72 if (pa_modargs_get_value_boolean(ma, "agc", &agc) < 0) { in pa_speex_ec_preprocessor_init()
78 if (pa_modargs_get_value_boolean(ma, "denoise", &denoise) < 0) { in pa_speex_ec_preprocessor_init()
84 if (pa_modargs_get_value_boolean(ma, "dereverb", &dereverb) < 0) { in pa_speex_ec_preprocessor_init()
90 if (pa_modargs_get_value_boolean(ma, "echo_suppress", &echo_suppress) < 0) { in pa_speex_ec_preprocessor_init()
96 if (pa_modargs_get_value_s32(ma, "echo_suppress_attenuation", &echo_suppress_attenuation) < 0) { in pa_speex_ec_preprocessor_init()
106 if (pa_modargs_get_value_s32(ma, "echo_suppress_attenuation_active", &echo_suppress_attenuation_active) < 0) { in pa_speex_ec_preprocessor_init()
166 pa_modargs *ma; in pa_speex_ec_init() local
168 if (!(ma = pa_modargs_new(args, valid_modargs))) { in pa_speex_ec_init()
174 if (pa_modargs_get_value_u32(ma, "filter_size_m in pa_speex_ec_init()
[all...]
H A Dwebrtc.cc244 pa_modargs *ma; in pa_webrtc_ec_init() local
247 if (!(ma = pa_modargs_new(args, valid_modargs))) { in pa_webrtc_ec_init()
253 if (pa_modargs_get_value_boolean(ma, "high_pass_filter", &hpf) < 0) { in pa_webrtc_ec_init()
259 if (pa_modargs_get_value_boolean(ma, "noise_suppression", &ns) < 0) { in pa_webrtc_ec_init()
265 if (pa_modargs_get_value_boolean(ma, "analog_gain_control", &agc) < 0) { in pa_webrtc_ec_init()
271 if (pa_modargs_get_value_boolean(ma, "digital_gain_control", &dgc) < 0) { in pa_webrtc_ec_init()
282 if (pa_modargs_get_value_boolean(ma, "mobile", &mobile) < 0) { in pa_webrtc_ec_init()
288 if (pa_modargs_get_value_boolean(ma, "drift_compensation", &ec->params.drift_compensation) < 0) { in pa_webrtc_ec_init()
299 if ((rm = routing_mode_from_string(pa_modargs_get_value(ma, "routing_mode", DEFAULT_ROUTING_MODE))) < 0) { in pa_webrtc_ec_init()
305 if (pa_modargs_get_value_boolean(ma, "comfort_nois in pa_webrtc_ec_init()
[all...]
/third_party/pulseaudio/src/modules/bluetooth/
H A Dmodule-bluez5-discover.c121 pa_modargs *ma; in pa__init() local
133 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
138 pa_assert_se(headset_str = pa_modargs_get_value(ma, "headset", default_headset_backend)); in pa__init()
154 if (pa_modargs_get_value_boolean(ma, "autodetect_mtu", &autodetect_mtu) < 0) { in pa__init()
158 if (pa_modargs_get_value_boolean(ma, "enable_msbc", &enable_msbc) < 0) { in pa__init()
162 if (pa_modargs_get_value_boolean(ma, "enable_native_hfp_hf", &enable_native_hfp_hf) < 0) { in pa__init()
167 if (pa_modargs_get_value_boolean(ma, "enable_native_hsp_hs", &enable_native_hsp_hs) < 0) { in pa__init()
173 if (pa_modargs_get_value_boolean(ma, "avrcp_absolute_volume", &avrcp_absolute_volume) < 0) { in pa__init()
179 if (pa_modargs_get_value_u32(ma, "output_rate_refresh_interval_ms", &output_rate_refresh_interval_ms) < 0) { in pa__init()
199 pa_modargs_free(ma); in pa__init()
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-volume-restore.c45 pa_modargs *ma = NULL; in pa__init() local
52 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
57 if (pa_modargs_get_value_boolean(ma, "restore_device", &restore_device) < 0 || in pa__init()
58 pa_modargs_get_value_boolean(ma, "restore_volume", &restore_volume) < 0) { in pa__init()
72 pa_modargs_free(ma); in pa__init()
77 if (ma) in pa__init()
78 pa_modargs_free(ma); in pa__init()
H A Dmodule-hal-detect-compat.c45 pa_modargs *ma = NULL; in pa__init() local
52 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
57 if (pa_modargs_get_value_boolean(ma, "tsched", &tsched) < 0) { in pa__init()
71 pa_modargs_free(ma); in pa__init()
76 if (ma) in pa__init()
77 pa_modargs_free(ma); in pa__init()
H A Dmodule-lirc.c172 pa_modargs *ma = NULL; in pa__init() local
179 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
184 if (pa_modargs_get_value_u32(ma, "volume_limit", &volume_limit) < 0) { in pa__init()
189 if (pa_modargs_get_value_u32(ma, "volume_step", &volume_step) < 0) { in pa__init()
198 u->sink_name = pa_xstrdup(pa_modargs_get_value(ma, "sink", NULL)); in pa__init()
204 if ((u->lirc_fd = lirc_init((char*) pa_modargs_get_value(ma, "appname", "pulseaudio"), 1)) < 0) { in pa__init()
209 if (lirc_readconfig((char*) pa_modargs_get_value(ma, "config", NULL), &u->config, NULL) < 0) { in pa__init()
216 pa_modargs_free(ma); in pa__init()
222 if (ma) in pa__init()
223 pa_modargs_free(ma); in pa__init()
[all...]
H A Dmodule-esound-compat-spawnfd.c45 pa_modargs *ma = NULL; in pa__init() local
52 if (!(ma = pa_modargs_new(m->argument, valid_modargs)) || in pa__init()
53 pa_modargs_get_value_s32(ma, "fd", &fd) < 0 || in pa__init()
70 if (ma) in pa__init()
71 pa_modargs_free(ma); in pa__init()
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_hw_pass.c50 VK_MULTIALLOC(ma); in pvr_create_renderpass_hwsetup()
51 vk_multialloc_add(&ma, &hw_setup, __typeof__(*hw_setup), 1); in pvr_create_renderpass_hwsetup()
52 vk_multialloc_add(&ma, &renders, __typeof__(*renders), 1); in pvr_create_renderpass_hwsetup()
53 vk_multialloc_add(&ma, &color_inits, __typeof__(*color_inits), 1); in pvr_create_renderpass_hwsetup()
54 vk_multialloc_add(&ma, &subpass_map, __typeof__(*subpass_map), 1); in pvr_create_renderpass_hwsetup()
55 vk_multialloc_add(&ma, &mrt_resources, __typeof__(*mrt_resources), 2); in pvr_create_renderpass_hwsetup()
56 vk_multialloc_add(&ma, &subpasses, __typeof__(*subpasses), 1); in pvr_create_renderpass_hwsetup()
57 vk_multialloc_add(&ma, &eot_surface, __typeof__(*eot_surface), 1); in pvr_create_renderpass_hwsetup()
58 vk_multialloc_add(&ma, in pvr_create_renderpass_hwsetup()
64 if (!vk_multialloc_zalloc(&ma, in pvr_create_renderpass_hwsetup()
[all...]
/third_party/musl/src/malloc/oldmallocng/
H A Dmallinfo.c49 static void accumulate_meta_area(struct mallinfo2 *mi, struct meta_area *ma) { in accumulate_meta_area() argument
50 for (int i=0; i<ma->nslots; i++) { in accumulate_meta_area()
51 if (ma->slots[i].mem) { in accumulate_meta_area()
52 accumulate_meta(mi, &ma->slots[i]); in accumulate_meta_area()
64 struct meta_area *ma = ctx.meta_area_head; in mallinfo2()
65 while (ma) { in mallinfo2()
66 accumulate_meta_area(&mi, ma); in mallinfo2()
67 ma = ma->next; in mallinfo2()
/third_party/pulseaudio/src/modules/x11/
H A Dmodule-x11-bell.c113 pa_modargs *ma = NULL; in pa__init() local
119 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
127 u->scache_item = pa_xstrdup(pa_modargs_get_value(ma, "sample", "bell-window-system")); in pa__init()
128 u->sink_name = pa_xstrdup(pa_modargs_get_value(ma, "sink", NULL)); in pa__init()
131 if (pa_modargs_get_value(ma, "xauthority", NULL)) { in pa__init()
132 if (setenv("XAUTHORITY", pa_modargs_get_value(ma, "xauthority", NULL), 1)) { in pa__init()
138 if (!(u->x11_wrapper = pa_x11_wrapper_get(m->core, pa_modargs_get_value(ma, "display", NULL)))) in pa__init()
164 pa_modargs_free(ma); in pa__init()
169 if (ma) in pa__init()
170 pa_modargs_free(ma); in pa__init()
[all...]
H A Dmodule-x11-publish.c135 pa_modargs *ma = NULL; in pa__init() local
143 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
159 if (!(u->auth_cookie = pa_auth_cookie_get(m->core, pa_modargs_get_value(ma, "cookie", PA_NATIVE_COOKIE_FILE), true, PA_NATIVE_COOKIE_LENGTH))) in pa__init()
162 if (pa_modargs_get_value(ma, "xauthority", NULL)) { in pa__init()
163 if (setenv("XAUTHORITY", pa_modargs_get_value(ma, "xauthority", NULL), 1)) { in pa__init()
169 if (!(u->x11_wrapper = pa_x11_wrapper_get(m->core, pa_modargs_get_value(ma, "display", NULL)))) in pa__init()
186 if ((t = pa_modargs_get_value(ma, "source", NULL))) in pa__init()
189 if ((t = pa_modargs_get_value(ma, "sink", NULL))) in pa__init()
197 pa_modargs_free(ma); in pa__init()
202 if (ma) in pa__init()
[all...]
/third_party/pulseaudio/src/modules/alsa/
H A Dmodule-alsa-sink.c91 pa_modargs *ma = NULL; in pa__init() local
97 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
102 if (!(m->userdata = pa_alsa_sink_new(m, ma, __FILE__, NULL, NULL))) in pa__init()
105 pa_modargs_free(ma); in pa__init()
111 if (ma) in pa__init()
112 pa_modargs_free(ma); in pa__init()
H A Dmodule-alsa-source.c98 pa_modargs *ma = NULL; in pa__init() local
104 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
109 if (!(m->userdata = pa_alsa_source_new(m, ma, __FILE__, NULL, NULL))) in pa__init()
112 pa_modargs_free(ma); in pa__init()
118 if (ma) in pa__init()
119 pa_modargs_free(ma); in pa__init()
/third_party/pulseaudio/src/modules/raop/
H A Dmodule-raop-sink.c70 pa_modargs *ma = NULL; in pa__init() local
74 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
79 if (!(m->userdata = pa_raop_sink_new(m, ma, __FILE__))) in pa__init()
82 pa_modargs_free(ma); in pa__init()
88 if (ma) in pa__init()
89 pa_modargs_free(ma); in pa__init()
/third_party/pulseaudio/src/modules/rtp/
H A Dmodule-rtp-send.c211 pa_modargs *ma = NULL; in pa__init() local
240 if (!(ma = pa_modargs_new(m->argument, valid_modargs))) { in pa__init()
245 if (!(s = pa_namereg_get(m->core, pa_modargs_get_value(ma, "source", NULL), PA_NAMEREG_SOURCE))) { in pa__init()
250 if (pa_modargs_get_value_boolean(ma, "loop", &loop) < 0) { in pa__init()
255 if (pa_modargs_get_value_boolean(ma, "enable_opus", &enable_opus) < 0) { in pa__init()
260 if ((inhibit_auto_suspend_str = pa_modargs_get_value(ma, "inhibit_auto_suspend", NULL))) { in pa__init()
276 if (pa_modargs_get_sample_spec(ma, &ss) < 0) { in pa__init()
298 if (pa_modargs_get_value_u32(ma, "mtu", &mtu) < 0 || mtu < 1 || mtu % pa_frame_size(&ss) != 0) { in pa__init()
304 if (pa_modargs_get_value_u32(ma, "port", &port) < 0 || port < 1 || port > 0xFFFF) { in pa__init()
312 if (pa_modargs_get_value_u32(ma, "tt in pa__init()
[all...]

Completed in 12 milliseconds

12345678910