Lines Matching refs:value

185       xmlChar* value = xmlGetProp(node1, (const xmlChar*)"Type");  in import()  local
186 if (value && in import()
187 (xmlStrcmp(value, (const xmlChar*)"SecElemSelectedRoutes") == 0)) { in import()
199 } else if (value && in import()
200 (xmlStrcmp(value, (const xmlChar*)"DefaultRoutes") == 0)) { in import()
212 if (value) xmlFree(value); in import()
318 xmlChar* value = NULL; in importProtocolRoute() local
322 value = xmlGetProp(element, id); in importProtocolRoute()
323 if (value) { in importProtocolRoute()
324 if (xmlStrcmp(value, (const xmlChar*)"T1T") == 0) in importProtocolRoute()
326 else if (xmlStrcmp(value, (const xmlChar*)"T2T") == 0) in importProtocolRoute()
328 else if (xmlStrcmp(value, (const xmlChar*)"T3T") == 0) in importProtocolRoute()
330 else if (xmlStrcmp(value, (const xmlChar*)"IsoDep") == 0) in importProtocolRoute()
332 xmlFree(value); in importProtocolRoute()
338 value = xmlGetProp(element, secElem); in importProtocolRoute()
339 if (value) { in importProtocolRoute()
340 data->mNfaEeHandle = strtol((char*)value, NULL, 16); in importProtocolRoute()
341 xmlFree(value); in importProtocolRoute()
348 value = xmlGetProp(element, switchOn); in importProtocolRoute()
349 if (value) { in importProtocolRoute()
350 data->mSwitchOn = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute()
351 xmlFree(value); in importProtocolRoute()
354 value = xmlGetProp(element, switchOff); in importProtocolRoute()
355 if (value) { in importProtocolRoute()
356 data->mSwitchOff = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute()
357 xmlFree(value); in importProtocolRoute()
360 value = xmlGetProp(element, batteryOff); in importProtocolRoute()
361 if (value) { in importProtocolRoute()
362 data->mBatteryOff = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute()
363 xmlFree(value); in importProtocolRoute()
388 xmlChar* value = NULL; in importTechnologyRoute() local
392 value = xmlGetProp(element, id); in importTechnologyRoute()
393 if (value) { in importTechnologyRoute()
394 if (xmlStrcmp(value, (const xmlChar*)"NfcA") == 0) in importTechnologyRoute()
396 else if (xmlStrcmp(value, (const xmlChar*)"NfcB") == 0) in importTechnologyRoute()
398 else if (xmlStrcmp(value, (const xmlChar*)"NfcF") == 0) in importTechnologyRoute()
400 xmlFree(value); in importTechnologyRoute()
406 value = xmlGetProp(element, secElem); in importTechnologyRoute()
407 if (value) { in importTechnologyRoute()
408 data->mNfaEeHandle = strtol((char*)value, NULL, 16); in importTechnologyRoute()
409 xmlFree(value); in importTechnologyRoute()
416 value = xmlGetProp(element, switchOn); in importTechnologyRoute()
417 if (value) { in importTechnologyRoute()
418 data->mSwitchOn = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
419 xmlFree(value); in importTechnologyRoute()
422 value = xmlGetProp(element, switchOff); in importTechnologyRoute()
423 if (value) { in importTechnologyRoute()
424 data->mSwitchOff = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
425 xmlFree(value); in importTechnologyRoute()
428 value = xmlGetProp(element, batteryOff); in importTechnologyRoute()
429 if (value) { in importTechnologyRoute()
430 data->mBatteryOff = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
431 xmlFree(value); in importTechnologyRoute()