Searched refs:mParaMap (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/drivers/peripheral/audio/hal/hdi_passthrough/src/ |
H A D | audio_adapter_info_common.c | 421 char *mParaMap[MAP_MAX]; in KeyValueListToMap() local 432 if ((mParaMap[i] = strtok_r(tempBuf, ";", &outPtr)) == NULL) { in KeyValueListToMap() 435 tempBuf = mParaMap[i]; in KeyValueListToMap() 436 if ((mParaMap[i] = strtok_r(tempBuf, "=", &inPtr)) != NULL) { in KeyValueListToMap() 437 … ret = strncpy_s(mParamValMap[i].key, EXTPARAM_LEN - 1, mParaMap[i], strlen(mParaMap[i]) + 1); in KeyValueListToMap() 443 if ((mParaMap[i] = strtok_r(tempBuf, "=", &inPtr)) != NULL) { in KeyValueListToMap() 444 … ret = strncpy_s(mParamValMap[i].value, EXTPARAM_LEN - 1, mParaMap[i], strlen(mParaMap[i]) + 1); in KeyValueListToMap()
|
/ohos5.0/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
H A D | audio_adapter_info_common.c | 418 char *mParaMap[MAP_MAX]; in KeyValueListToMap() local 430 while (i < MAP_MAX && ((mParaMap[i] = strtok_r(tempBuf, ";", &outPtr)) != NULL)) { in KeyValueListToMap() 431 tempBuf = mParaMap[i]; in KeyValueListToMap() 432 if ((mParaMap[i] = strtok_r(tempBuf, "=", &inPtr)) != NULL) { in KeyValueListToMap() 433 … ret = strncpy_s(mParamValMap[i].key, EXTPARAM_LEN - 1, mParaMap[i], strlen(mParaMap[i]) + 1); in KeyValueListToMap() 440 if ((mParaMap[i] = strtok_r(tempBuf, "=", &inPtr)) != NULL) { in KeyValueListToMap() 441 … ret = strncpy_s(mParamValMap[i].value, EXTPARAM_LEN - 1, mParaMap[i], strlen(mParaMap[i]) + 1); in KeyValueListToMap()
|
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | audio_adapter_info_common.cpp | 887 char *mParaMap[MAP_MAX]; in KeyValueListToMap() local 897 while (i < MAP_MAX && ((mParaMap[i] = strtok_r(tempBuf, ";", &outPtr)) != NULL)) { in KeyValueListToMap() 898 tempBuf = mParaMap[i]; in KeyValueListToMap() 899 if ((mParaMap[i] = strtok_r(tempBuf, "=", &inPtr)) != NULL) { in KeyValueListToMap() 900 … ret = strncpy_s(mParamValMap[i].key, EXTPARAM_LEN - 1, mParaMap[i], strlen(mParaMap[i]) + 1); in KeyValueListToMap() 906 if ((mParaMap[i] = strtok_r(tempBuf, "=", &inPtr)) != NULL) { in KeyValueListToMap() 907 … ret = strncpy_s(mParamValMap[i].value, EXTPARAM_LEN - 1, mParaMap[i], strlen(mParaMap[i]) + 1); in KeyValueListToMap()
|