• Home
  • Raw
  • Download

Lines Matching refs:pParam

68     void    add(const CNfcParam* pParam);
167 CNfcParam* pParam = NULL; in readConfig() local
316 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
318 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
319 add(pParam); in readConfig()
329 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
330 add(pParam); in readConfig()
417 const CNfcParam* pParam = find(name); in getValue() local
418 if (pParam == NULL) in getValue()
421 if (pParam->str_len() > 0) in getValue()
424 if (len > pParam->str_len()) in getValue()
425 len = pParam->str_len(); in getValue()
426 memcpy(pValue, pParam->str_value(), len); in getValue()
444 const CNfcParam* pParam = find(name); in getValue() local
445 if (pParam == NULL) in getValue()
448 if (pParam->str_len() == 0) in getValue()
450 rValue = static_cast<unsigned long>(pParam->numValue()); in getValue()
468 const CNfcParam* pParam = find(name); in getValue() local
469 if (pParam == NULL) in getValue()
472 if (pParam->str_len() == 0) in getValue()
474 rValue = static_cast<unsigned short>(pParam->numValue()); in getValue()
540 void CNfcConfig::add(const CNfcParam* pParam) in add() argument
544 m_list.push_back(pParam); in add()
549 if (**it < pParam->c_str()) in add()
551 m_list.insert(it, pParam); in add()
554 m_list.push_back(pParam); in add()
686 const CNfcParam* pParam = rConfig.find(name); in GetNumValue() local
688 if (pParam == NULL) in GetNumValue()
690 unsigned long v = pParam->numValue(); in GetNumValue()
691 if (v == 0 && pParam->str_len() > 0 && pParam->str_len() < 4) in GetNumValue()
693 const unsigned char* p = (const unsigned char*)pParam->str_value(); in GetNumValue()
694 for (size_t i = 0 ; i < pParam->str_len(); ++i) in GetNumValue()