Lines Matching defs:value
343 xmlNodePtr value;
346 value = cur->xmlChildrenNode;
347 if (xmlStrcmp(value->name, reinterpret_cast<const xmlChar*>(CODE_TAG)) != 0) {
352 xmlChar *codePtr = xmlNodeGetContent(value);
368 value = value->next;
369 GetDefaultAndBoost(value, defaultTimzone, isBoosted, zones);
375 void ZoneUtil::GetDefaultAndBoost(xmlNodePtr &value, std::string &defaultTimezone, bool &isBoosted,
378 if (value == nullptr || xmlStrcmp(value->name, reinterpret_cast<const xmlChar*>(DEFAULT_TAG)) != 0) {
382 xmlChar *defaultPtr = xmlNodeGetContent(value);
387 value = value->next;
388 if (value == nullptr) {
392 if (xmlStrcmp(value->name, reinterpret_cast<const xmlChar *>(BOOSTED_TAG)) == 0) {
394 value = value->next;
398 GetTimezones(value, zones);
401 void ZoneUtil::GetTimezones(xmlNodePtr &value, std::vector<std::string> &zones)
403 if (xmlStrcmp(value->name, reinterpret_cast<const xmlChar *>(TIMEZONES_TAG)) != 0) {
407 value = value->xmlChildrenNode;
408 while (value != nullptr) {
409 if (xmlStrcmp(value->name, reinterpret_cast<const xmlChar *>(ID_TAG)) != 0) {
413 xmlChar *idPtr = xmlNodeGetContent(value);
418 value = value->next;