Searched refs:str_start (Results 1 – 3 of 3) sorted by relevance
/aosp12/hardware/qcom/audio/hal/audio_extn/ |
H A D | usb.c | 325 char *str_start = NULL; in usb_get_capability() local 383 str_start = strstr(read_buf, ((type == USB_PLAYBACK) ? in usb_get_capability() 385 if (str_start == NULL) { in usb_get_capability() 394 if (str_end > str_start) in usb_get_capability() 399 while (str_start != NULL) { in usb_get_capability() 400 str_start = strstr(str_start, "Altset"); in usb_get_capability() 401 if ((str_start == NULL) || (check && (str_start >= str_end))) { in usb_get_capability() 406 str_start += sizeof("Altset"); in usb_get_capability() 416 bit_width_start = strstr(str_start, "Format: "); in usb_get_capability() 451 channel_start = strstr(str_start, CHANNEL_NUMBER_STR); in usb_get_capability() [all …]
|
/aosp12/frameworks/native/libs/binder/rust/src/ |
H A D | parcel.rs | 393 let str_start = parcel.get_data_position(); in test_read_data() localVariable 398 assert!(parcel.set_data_position(str_start).is_ok()); in test_read_data() 459 assert!(parcel.set_data_position(str_start).is_ok()); in test_read_data()
|
/aosp12/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioUsbALSA.cpp | 100 char *read_buf, *str_start, *channel_start, *ratesStr, *ratesStrForVal, in getCap() local 123 str_start = strstr(read_buf, type); in getCap() 124 if (str_start == NULL) { in getCap() 131 channel_start = strstr(str_start, "Channels:"); in getCap() 153 ratesStrStart = strstr(str_start, "Rates:"); in getCap()
|