• Home
  • Raw
  • Download

Lines Matching refs:pParam

133   void add(const CNfcParam* pParam);
255 CNfcParam* pParam = NULL; in readConfig() local
372 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
374 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
375 add(pParam); in readConfig()
384 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
385 add(pParam); in readConfig()
465 const CNfcParam* pParam = find(name); in getValue() local
466 if (pParam == NULL) return false; in getValue()
468 if (pParam->str_len() > 0) { in getValue()
470 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
478 const CNfcParam* pParam = find(name); in getValue() local
479 if (pParam == NULL) return false; in getValue()
481 if (pParam->str_len() > 0) { in getValue()
482 if (pParam->str_len() <= (unsigned long)len) { in getValue()
484 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
485 *readlen = pParam->str_len(); in getValue()
506 const CNfcParam* pParam = find(name); in getValue() local
507 if (pParam == NULL) return false; in getValue()
509 if (pParam->str_len() == 0) { in getValue()
510 rValue = static_cast<unsigned long>(pParam->numValue()); in getValue()
527 const CNfcParam* pParam = find(name); in getValue() local
528 if (pParam == NULL) return false; in getValue()
530 if (pParam->str_len() == 0) { in getValue()
531 rValue = static_cast<unsigned short>(pParam->numValue()); in getValue()
592 void CNfcConfig::add(const CNfcParam* pParam) { in add() argument
594 m_list.push_back(pParam); in add()
600 if (**it < pParam->c_str()) continue; in add()
601 m_list.insert(it, pParam); in add()
604 m_list.push_back(pParam); in add()
770 const CNfcParam* pParam = rConfig.find(name); in GetNxpNumValue() local
772 if (pParam == NULL) return false; in GetNxpNumValue()
773 unsigned long v = pParam->numValue(); in GetNxpNumValue()
774 if (v == 0 && pParam->str_len() > 0 && pParam->str_len() < 4) { in GetNxpNumValue()
775 const unsigned char* p = (const unsigned char*)pParam->str_value(); in GetNxpNumValue()
776 for (unsigned int i = 0; i < pParam->str_len(); ++i) { in GetNxpNumValue()