Home
last modified time | relevance | path

Searched refs:strValue (Results 1 – 7 of 7) sorted by relevance

/drivers/peripheral/audio/hal/hdi_passthrough/src/
Daudio_adapter_info_common.c467 char strValue[MAP_MAX] = { 0 }; in AddElementToList() local
469 ret = sprintf_s(strValue, sizeof(strValue), "%s=%d;", key, *((int32_t *)value)); in AddElementToList()
474 ret = sprintf_s(strValue, sizeof(strValue), "%s=%u;", key, formatBits); in AddElementToList()
477 ret = sprintf_s(strValue, sizeof(strValue), "%s=%u;", key, *((uint32_t *)value)); in AddElementToList()
479 ret = sprintf_s(strValue, sizeof(strValue), "%s=%llu;", key, *((uint64_t *)value)); in AddElementToList()
481 ret = sprintf_s(strValue, sizeof(strValue), "%s=%u", key, *((uint32_t *)value)); in AddElementToList()
490 ret = strncat_s(keyValueList, listLenth, strValue, strlen(strValue)); in AddElementToList()
/drivers/peripheral/audio/hdi_service/primary_impl/src/
Daudio_adapter_info_common.c462 char strValue[MAP_MAX] = {0}; in AddElementToList() local
470 ret = sprintf_s(strValue, sizeof(strValue), "%s=%d;", key, *((int32_t *)value)); in AddElementToList()
474 ret = sprintf_s(strValue, sizeof(strValue), "%s=%u;", key, formatBits); in AddElementToList()
477 ret = sprintf_s(strValue, sizeof(strValue), "%s=%u;", key, *((uint32_t *)value)); in AddElementToList()
479 ret = sprintf_s(strValue, sizeof(strValue), "%s=%llu;", key, *((uint64_t *)value)); in AddElementToList()
481 ret = sprintf_s(strValue, sizeof(strValue), "%s=%u", key, *((uint32_t *)value)); in AddElementToList()
490 ret = strncat_s(keyValueList, listLenth, strValue, strlen(strValue)); in AddElementToList()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
Daudio_adapter_info_common.cpp920 char strValue[MAP_MAX] = { 0 }; in AddElementToList() local
922 … ret = sprintf_s(strValue, sizeof(strValue), "%s=%d;", key, *(reinterpret_cast<int32_t *>(value))); in AddElementToList()
927 ret = sprintf_s(strValue, sizeof(strValue), "%s=%u;", key, formatBits); in AddElementToList()
930 …ret = sprintf_s(strValue, sizeof(strValue), "%s=%u;", key, *(reinterpret_cast<uint32_t *>(value))); in AddElementToList()
932 …ret = sprintf_s(strValue, sizeof(strValue), "%s=%llu;", key, *(reinterpret_cast<uint64_t *>(value)… in AddElementToList()
934 … ret = sprintf_s(strValue, sizeof(strValue), "%s=%u", key, *(reinterpret_cast<uint32_t *>(value))); in AddElementToList()
943 ret = strncat_s(keyValueList, listLenth, strValue, strlen(strValue)); in AddElementToList()
/drivers/hdf_core/adapter/khdf/linux/platform/adc/
Dadc_iio_adapter.c57 unsigned char strValue[ADC_STRING_VALUE_LEN] = {0}; in AdcIioRead() local
73 ret = kernel_read(adcDevice->fp[channel], strValue, ADC_STRING_VALUE_LEN, &pos); in AdcIioRead()
78 *val = simple_strtoul(strValue, NULL, 0); in AdcIioRead()
/drivers/hdf_core/framework/tools/hc-gen/src/
Ddecompile.cpp257 std::string strValue; in RebuildStringObject() local
258 if (!ReadString(strValue)) { in RebuildStringObject()
261 return std::make_shared<AstObject>(std::string(), PARSEROP_STRING, strValue); in RebuildStringObject()
Dast.h48 …tObject(const std::string &name, uint32_t type, uint64_t integerValue, const std::string &strValue,
53 AstObject(const std::string &name, uint32_t type, const std::string &strValue);
57 …AstObject(const std::string &name, uint32_t type, const std::string &strValue, const Token &bindTo…
Dast.cpp21 …tObject(const std::string &name, uint32_t type, uint64_t integerValue, const std::string &strValue, in AstObject() argument
35 stringValue_(strValue) in AstObject()
44 AstObject::AstObject(const std::string &name, uint32_t type, const std::string &strValue) in AstObject() argument
45 : AstObject(name, type, 0, strValue, 0, nullptr) in AstObject()
64 AstObject::AstObject(const std::string &name, uint32_t type, const std::string &strValue, const Tok… in AstObject() argument
65 : AstObject(name, type, 0, strValue, bindToken.lineNo, bindToken.src) in AstObject()