• Home
  • Raw
  • Download

Lines Matching refs:value

188       xmlChar* value = xmlGetProp(node1, (const xmlChar*)"Type");  in import()  local
189 if (value && in import()
190 (xmlStrcmp(value, (const xmlChar*)"SecElemSelectedRoutes") == 0)) { in import()
203 } else if (value && in import()
204 (xmlStrcmp(value, (const xmlChar*)"DefaultRoutes") == 0)) { in import()
217 if (value) xmlFree(value); in import()
325 xmlChar* value = NULL; in importProtocolRoute() local
329 value = xmlGetProp(element, id); in importProtocolRoute()
330 if (value) { in importProtocolRoute()
331 if (xmlStrcmp(value, (const xmlChar*)"T1T") == 0) in importProtocolRoute()
333 else if (xmlStrcmp(value, (const xmlChar*)"T2T") == 0) in importProtocolRoute()
335 else if (xmlStrcmp(value, (const xmlChar*)"T3T") == 0) in importProtocolRoute()
337 else if (xmlStrcmp(value, (const xmlChar*)"IsoDep") == 0) in importProtocolRoute()
339 xmlFree(value); in importProtocolRoute()
345 value = xmlGetProp(element, secElem); in importProtocolRoute()
346 if (value) { in importProtocolRoute()
347 data->mNfaEeHandle = strtol((char*)value, NULL, 16); in importProtocolRoute()
348 xmlFree(value); in importProtocolRoute()
355 value = xmlGetProp(element, switchOn); in importProtocolRoute()
356 if (value) { in importProtocolRoute()
357 data->mSwitchOn = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute()
358 xmlFree(value); in importProtocolRoute()
361 value = xmlGetProp(element, switchOff); in importProtocolRoute()
362 if (value) { in importProtocolRoute()
363 data->mSwitchOff = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute()
364 xmlFree(value); in importProtocolRoute()
367 value = xmlGetProp(element, batteryOff); in importProtocolRoute()
368 if (value) { in importProtocolRoute()
369 data->mBatteryOff = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute()
370 xmlFree(value); in importProtocolRoute()
395 xmlChar* value = NULL; in importTechnologyRoute() local
399 value = xmlGetProp(element, id); in importTechnologyRoute()
400 if (value) { in importTechnologyRoute()
401 if (xmlStrcmp(value, (const xmlChar*)"NfcA") == 0) in importTechnologyRoute()
403 else if (xmlStrcmp(value, (const xmlChar*)"NfcB") == 0) in importTechnologyRoute()
405 else if (xmlStrcmp(value, (const xmlChar*)"NfcF") == 0) in importTechnologyRoute()
407 xmlFree(value); in importTechnologyRoute()
413 value = xmlGetProp(element, secElem); in importTechnologyRoute()
414 if (value) { in importTechnologyRoute()
415 data->mNfaEeHandle = strtol((char*)value, NULL, 16); in importTechnologyRoute()
416 xmlFree(value); in importTechnologyRoute()
423 value = xmlGetProp(element, switchOn); in importTechnologyRoute()
424 if (value) { in importTechnologyRoute()
425 data->mSwitchOn = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
426 xmlFree(value); in importTechnologyRoute()
429 value = xmlGetProp(element, switchOff); in importTechnologyRoute()
430 if (value) { in importTechnologyRoute()
431 data->mSwitchOff = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
432 xmlFree(value); in importTechnologyRoute()
435 value = xmlGetProp(element, batteryOff); in importTechnologyRoute()
436 if (value) { in importTechnologyRoute()
437 data->mBatteryOff = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
438 xmlFree(value); in importTechnologyRoute()