/drivers/peripheral/audio/hal/hdi_passthrough/src/ |
H A D | audio_adapter_info_common.c | 467 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, sizeo in AddElementToList() [all...] |
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
H A D | audio_adapter_info_common.c | 462 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, sizeo in AddElementToList() [all...] |
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | audio_adapter_info_common.cpp | 926 char strValue[MAP_MAX] = { 0 }; in AddElementToList() local 928 ret = sprintf_s(strValue, sizeof(strValue), "%s=%d;", key, *(reinterpret_cast<int32_t *>(value))); in AddElementToList() 933 ret = sprintf_s(strValue, sizeof(strValue), "%s=%u;", key, formatBits); in AddElementToList() 936 ret = sprintf_s(strValue, sizeof(strValue), "%s=%u;", key, *(reinterpret_cast<uint32_t *>(value))); in AddElementToList() 938 ret = sprintf_s(strValue, sizeof(strValue), "%s=%llu;", key, *(reinterpret_cast<uint64_t *>(value))); in AddElementToList() 940 ret = sprintf_s(strValue, sizeo in AddElementToList() [all...] |
/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | ast.cpp | 21 AstObject::AstObject(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 Token &bindToken) in AstObject() argument 65 : AstObject(name, type, 0, strValue, bindToken.lineNo, bindToken.src) in AstObject()
|
H A D | decompile.cpp | 257 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()
|
H A D | ast.h | 48 AstObject(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 &bindToken);
|
/drivers/hdf_core/adapter/khdf/linux/platform/adc/ |
H A D | adc_iio_adapter.c | 57 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()
|