Home
last modified time | relevance | path

Searched refs:pa_xmalloc (Results 1 - 25 of 37) sorted by relevance

12

/third_party/pulseaudio/src/pulsecore/
H A Dusergroup.c116 *bufptr = pa_xmalloc(newlen); in expand_buffer_trashcontents()
138 buf = pa_xmalloc(buflen); in pa_getgrgid_malloc()
197 buf = pa_xmalloc(buflen); in pa_getgrnam_malloc()
260 buf = pa_xmalloc(buflen); in pa_getpwnam_malloc()
319 buf = pa_xmalloc(buflen); in pa_getpwuid_malloc()
H A Dauth-cookie.c62 c = pa_xmalloc(PA_ALIGN(sizeof(pa_auth_cookie)) + size); in pa_auth_cookie_get()
98 c = pa_xmalloc(PA_ALIGN(sizeof(pa_auth_cookie)) + size); in pa_auth_cookie_create()
H A Dstrlist.c46 n = pa_xmalloc(PA_ALIGN(sizeof(pa_strlist)) + size + 1); in pa_strlist_prepend()
130 n = pa_xmalloc(PA_ALIGN(sizeof(pa_strlist)) + size + 1); in pa_strlist_parse()
H A Dstrbuf.c78 e = t = pa_xmalloc(sb->length+1); in pa_strbuf_to_string()
149 c = pa_xmalloc(PA_ALIGN(sizeof(struct chunk)) + l); in pa_strbuf_putsn()
H A Dcore-util.c942 * with pa_xmalloc(). The variable state points to, should be
1181 gids = pa_xmalloc(sizeof(GETGROUPS_T) * (size_t) n); in pa_own_uid_in_group()
1535 homedir = pa_xmalloc(allocated); in pa_get_home_dir_malloc()
1675 t = pa_xmalloc(allocated); in pa_get_binary_name_malloc()
2628 char *p = pa_xmalloc(l); in pa_getcwd()
2734 c = pa_xmalloc(l); in pa_readlink()
3025 char *tmp = pa_xmalloc(kl+vl+2); in pa_set_env()
3045 char *tmp = pa_xmalloc(kl+2); in pa_unset_env()
3148 ret = pa_xmalloc(prefix + 1); in pa_str_strip_suffix()
3184 c = pa_xmalloc( in pa_get_host_name_malloc()
[all...]
H A Dcpu-arm.c61 cpuinfo = pa_xmalloc(MAX_BUFFER); in get_cpuinfo()
H A Dpacket.c57 p->data = pa_xmalloc(length); in pa_packet_new()
H A Dthread-posix.c195 t->name = pa_xmalloc(17); in pa_thread_get_name()
H A Dnamereg.c145 k = pa_xmalloc(l+4); in pa_namereg_register()
H A Dshm.c142 m->ptr = pa_xmalloc(m->size); in privatemem_create()
H A Dsocket-client.c440 name_buf = pa_xmalloc(len + 3);
/third_party/pulseaudio/src/pulse/
H A Dxmalloc.c58 void* pa_xmalloc(size_t size) { in pa_xmalloc() function
94 char *r = pa_xmalloc(l); in pa_xmemdup()
116 r = pa_xmalloc(l+1); in pa_xstrndup()
H A Dxmalloc.h39 void* pa_xmalloc(size_t l) PA_GCC_MALLOC PA_GCC_ALLOC_SIZE(1);
41 /** Same as pa_xmalloc(), but initialize allocated memory to 0 */
44 /** The combination of pa_xmalloc() and realloc() */
50 /** Duplicate the specified string, allocating memory with pa_xmalloc() */
64 return pa_xmalloc(n*k); in _pa_xnew_internal()
H A Dutf8.c183 new_str = pa_xmalloc(strlen(str) + 1); in pa_utf8_filter()
206 new_str = pa_xmalloc(len); in iconv_simple()
H A Dproplist.c174 d = pa_xmalloc(value_length*2+1); in proplist_sethex()
263 prop->value = pa_xmalloc(nbytes+1); in pa_proplist_set()
429 c = pa_xmalloc(nbytes*2+1); in pa_proplist_to_string_sep()
H A Dutil.c296 buf = (char *) pa_xmalloc(len); in pa_get_binary_name()
/third_party/pulseaudio/src/tests/
H A Dlfe-filter-test.c95 outptr = pa_xmalloc(fz * TOTAL_SAMPLES); in lfe_filter_rewind_test()
142 ori_sample_ptr = pa_xmalloc(pa_frame_size(lft.ss) * TOTAL_SAMPLES); in START_TEST()
H A Dget-binary-name-test.c37 exename = pa_xmalloc(allocated); in START_TEST()
/third_party/pulseaudio/src/utils/
H A Dpacmd.c187 ibuf = pa_xmalloc(ibuf_size); in main()
189 obuf = pa_xmalloc(obuf_size); in main()
/third_party/pulseaudio/src/modules/
H A Dmodule-esound-sink.c457 *(int32_t*) (u->write_data = pa_xmalloc(u->write_length = sizeof(int32_t))) = ESD_PROTO_LATENCY; in handle_response()
688 u->write_data = pa_xmalloc(u->write_length = ESD_KEY_LEN + sizeof(int32_t)); in pa__init()
701 u->read_data = pa_xmalloc(u->read_length = sizeof(int32_t)); in pa__init()
H A Dmodule-waveout.c678 u = pa_xmalloc(sizeof(struct userdata)); in pa__init()
783 u->ihdrs[i].lpData = pa_xmalloc(u->fragment_size); in pa__init()
785 u->ohdrs[i].lpData = pa_xmalloc(u->fragment_size); in pa__init()
H A Dmodule-equalizer-sink.c553 u->output_buffer = pa_xmalloc(u->output_buffer_max_length); in process_samples()
1755 name=pa_xmalloc(key.size + 1); in get_profiles()
1876 ys = pa_xmalloc(x_npoints * sizeof(float)); in equalizer_handle_seed_filter()
1949 ys = pa_xmalloc(x_npoints * sizeof(double)); in equalizer_handle_get_filter_points()
/third_party/pulseaudio/src/pulsecore/filter/
H A Dlfe-filter.c90 void *garbage = store_result ? NULL : pa_xmalloc(buf->length); in process_block()
/third_party/pulseaudio/src/modules/jack/
H A Dmodule-jackdbus-detect.c167 c = pa_xmalloc(nbytes*2+1); in proplist_to_arg()
/third_party/pulseaudio/src/modules/rtp/
H A Drtp-native.c186 c->recv_buf = pa_xmalloc(c->recv_buf_size); in pa_rtp_context_new_recv()

Completed in 18 milliseconds

12