Lines Matching refs:value

197             xmlChar* value = xmlGetProp (node1, (const xmlChar*) "Type");
198 if (value && (xmlStrcmp (value, (const xmlChar*) "SecElemSelectedRoutes") == 0))
211 else if (value && (xmlStrcmp (value, (const xmlChar*) "DefaultRoutes") == 0))
224 if (value)
225 xmlFree (value);
341 xmlChar* value = NULL;
344 value = xmlGetProp (element, id);
345 if (value)
347 if (xmlStrcmp (value, (const xmlChar*) "T1T") == 0)
349 else if (xmlStrcmp (value, (const xmlChar*) "T2T") == 0)
351 else if (xmlStrcmp (value, (const xmlChar*) "T3T") == 0)
353 else if (xmlStrcmp (value, (const xmlChar*) "IsoDep") == 0)
355 xmlFree (value);
359 value = xmlGetProp (element, secElem);
360 if (value)
362 data->mNfaEeHandle = strtol ((char*) value, NULL, 16);
363 xmlFree (value);
368 value = xmlGetProp (element, switchOn);
369 if (value)
371 data->mSwitchOn = (xmlStrcmp (value, trueString) == 0);
372 xmlFree (value);
375 value = xmlGetProp (element, switchOff);
376 if (value)
378 data->mSwitchOff = (xmlStrcmp (value, trueString) == 0);
379 xmlFree (value);
382 value = xmlGetProp (element, batteryOff);
383 if (value)
385 data->mBatteryOff = (xmlStrcmp (value, trueString) == 0);
386 xmlFree (value);
413 xmlChar* value = NULL;
416 value = xmlGetProp (element, id);
417 if (value)
419 if (xmlStrcmp (value, (const xmlChar*) "NfcA") == 0)
421 else if (xmlStrcmp (value, (const xmlChar*) "NfcB") == 0)
423 else if (xmlStrcmp (value, (const xmlChar*) "NfcF") == 0)
425 xmlFree (value);
429 value = xmlGetProp (element, secElem);
430 if (value)
432 data->mNfaEeHandle = strtol ((char*) value, NULL, 16);
433 xmlFree (value);
438 value = xmlGetProp (element, switchOn);
439 if (value)
441 data->mSwitchOn = (xmlStrcmp (value, trueString) == 0);
442 xmlFree (value);
445 value = xmlGetProp (element, switchOff);
446 if (value)
448 data->mSwitchOff = (xmlStrcmp (value, trueString) == 0);
449 xmlFree (value);
452 value = xmlGetProp (element, batteryOff);
453 if (value)
455 data->mBatteryOff = (xmlStrcmp (value, trueString) == 0);
456 xmlFree (value);