Lines Matching refs:pParam
74 void add(const CNfcParam* pParam);
173 CNfcParam* pParam = NULL; in readConfig() local
311 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
313 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
314 add(pParam); in readConfig()
324 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
325 add(pParam); in readConfig()
418 const CNfcParam* pParam = find(name); in getValue() local
419 if (pParam == NULL) in getValue()
422 if (pParam->str_len() > 0) in getValue()
425 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
443 const CNfcParam* pParam = find(name); in getValue() local
444 if (pParam == NULL) in getValue()
447 if (pParam->str_len() == 0) in getValue()
449 rValue = static_cast<unsigned long>(pParam->numValue()); in getValue()
467 const CNfcParam* pParam = find(name); in getValue() local
468 if (pParam == NULL) in getValue()
471 if (pParam->str_len() == 0) in getValue()
473 rValue = static_cast<unsigned short>(pParam->numValue()); in getValue()
539 void CNfcConfig::add(const CNfcParam* pParam) in add() argument
543 m_list.push_back(pParam); in add()
548 if (**it < pParam->c_str()) in add()
550 m_list.insert(it, pParam); in add()
553 m_list.push_back(pParam); in add()
683 const CNfcParam* pParam = rConfig.find(name); in GetNumValue() local
685 if (pParam == NULL) in GetNumValue()
687 unsigned long v = pParam->numValue(); in GetNumValue()
688 if (v == 0 && pParam->str_len() > 0 && pParam->str_len() < 4) in GetNumValue()
690 const unsigned char* p = (const unsigned char*)pParam->str_value(); in GetNumValue()
691 for (size_t i = 0 ; i < pParam->str_len(); ++i) in GetNumValue()