Lines Matching refs:pParam
143 void add(const CNfcParam* pParam);
266 CNfcParam* pParam = NULL; in readConfig() local
383 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
385 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
386 add(pParam); in readConfig()
395 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
396 add(pParam); in readConfig()
490 const CNfcParam* pParam = find(name); in getValue() local
491 if (pParam == NULL) return false; in getValue()
493 if (pParam->str_len() > 0) { in getValue()
495 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
503 const CNfcParam* pParam = find(name); in getValue() local
504 if (pParam == NULL) return false; in getValue()
506 if (pParam->str_len() > 0) { in getValue()
507 if (pParam->str_len() <= (unsigned long)len) { in getValue()
509 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
510 *readlen = pParam->str_len(); in getValue()
531 const CNfcParam* pParam = find(name); in getValue() local
532 if (pParam == NULL) return false; in getValue()
534 if (pParam->str_len() == 0) { in getValue()
535 rValue = static_cast<unsigned long>(pParam->numValue()); in getValue()
552 const CNfcParam* pParam = find(name); in getValue() local
553 if (pParam == NULL) return false; in getValue()
555 if (pParam->str_len() == 0) { in getValue()
556 rValue = static_cast<unsigned short>(pParam->numValue()); in getValue()
617 void CNfcConfig::add(const CNfcParam* pParam) { in add() argument
619 m_list.push_back(pParam); in add()
625 if (**it < pParam->c_str()) continue; in add()
626 m_list.insert(it, pParam); in add()
629 m_list.push_back(pParam); in add()
797 const CNfcParam* pParam = rConfig.find(name); in GetNxpNumValue() local
799 if (pParam == NULL) return false; in GetNxpNumValue()
800 unsigned long v = pParam->numValue(); in GetNxpNumValue()
801 if (v == 0 && pParam->str_len() > 0 && pParam->str_len() < 4) { in GetNxpNumValue()
802 const unsigned char* p = (const unsigned char*)pParam->str_value(); in GetNxpNumValue()
803 for (unsigned int i = 0; i < pParam->str_len(); ++i) { in GetNxpNumValue()