Home
last modified time | relevance | path

Searched refs:str_value (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/libvehiclenetwork/include/
DVehicleNetworkDataTypes.h169 delete[] v->value.str_value.data; in deleteMembers()
170 v->value.str_value.data = NULL; in deleteMembers()
180 if (deleteOldData && dest->value.str_value.data != NULL &&
181 dest->value.str_value.len > 0) {
182 delete[] dest->value.str_value.data;
185 if (dest->value.str_value.len > 0) {
186 dest->value.str_value.data = new uint8_t[dest->value.str_value.len];
187 ASSERT_OR_HANDLE_NO_MEMORY(dest->value.str_value.data, return NO_MEMORY);
188 memcpy(dest->value.str_value.data, src.value.str_value.data,
189 dest->value.str_value.len);
[all …]
/packages/services/Car/libvehiclenetwork/native/
DVehicleNetworkProtoUtil.cpp47 if (in.value.str_value.len > 0) { in toVehiclePropValue()
48 out.set_string_value((char*)in.value.str_value.data, in.value.str_value.len); in toVehiclePropValue()
113 out.value.str_value.data = NULL; in fromVehiclePropValue()
114 out.value.str_value.len = 0; in fromVehiclePropValue()
123 status_t r = copyString(in.string_value(), &(out.value.str_value.data), in fromVehiclePropValue()
124 &(out.value.str_value.len)); in fromVehiclePropValue()
126 out.value.str_value.data = NULL; in fromVehiclePropValue()
127 out.value.str_value.len = 0; in fromVehiclePropValue()
DVehicleNetwork.cpp234 v.value.str_value.data = (uint8_t*)value.string(); in setStringProperty()
235 v.value.str_value.len = value.length(); in setStringProperty()
242 v.value.str_value.len = 0; in getStringProperty()
245 value.setTo((char*)v.value.str_value.data, v.value.str_value.len); in getStringProperty()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/utils/
DphNxpConfig.cpp55 const char* str_value () const {return m_str_value.c_str();} in str_value() function in CNxpNfcParam
473 memcpy (pValue, pParam->str_value (), pParam->str_len ()); in getValue()
490 memcpy (pValue, pParam->str_value (), pParam->str_len ()); in getValue()
575 NXPLOG_EXTNS_D ("%s found %s=%s\n", __func__, p_name, (*it)->str_value()); in find()
843 const unsigned char* p = (const unsigned char*) pParam->str_value (); in GetNxpNumValue()