Searched defs:read_buf (Results 1 - 3 of 3) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUsbALSA.cpp100 char *read_buf, *str_start, *channel_start, *ratesStr, *ratesStrForVal, local
120 read_buf = (char *)malloc(BUFFSIZE);
121 memset(read_buf, 0x0, BUFFSIZE);
122 err = read(fd, read_buf, BUFFSIZE);
123 str_start = strstr(read_buf, type);
127 free(read_buf);
135 free(read_buf);
142 free(read_buf);
157 free(read_buf);
165 free(read_buf);
[all...]
/hardware/qcom/audio/msm8909/hal/audio_extn/
H A Dusb.c166 char *read_buf = NULL; local
195 read_buf = (char *)calloc(1, USB_BUFF_SIZE + 1);
197 if (!read_buf) {
198 ALOGE("Failed to create read_buf");
203 err = read(fd, read_buf, USB_BUFF_SIZE);
204 str_start = strstr(read_buf, type);
331 if (read_buf) free(read_buf);
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_ucm.c2124 char *read_buf = NULL, *next_str = NULL, *current_str = NULL, *buf = NULL; local
2141 read_buf = (char *) mmap(0, st.st_size, PROT_READ | PROT_WRITE,
2143 if (read_buf == MAP_FAILED) {
2148 current_str = read_buf;
2249 munmap(read_buf, st.st_size);
2283 char *read_buf, *next_str, *current_str, *buf, *p, *verb_name; local
2300 read_buf = (char *) mmap(0, st.st_size, PROT_READ | PROT_WRITE,
2302 if (read_buf == MAP_FAILED) {
2307 current_str = read_buf;
2313 munmap(read_buf, s
2877 char *read_buf, *next_str, *current_str, *verb_ptr; local
[all...]

Completed in 100 milliseconds