Lines Matching refs:tag
99 // Returns contents between <tag> and </tag>, updates offset to char after </tag>
101 XmlRpcUtil::parseTag(const char* tag, std::string const& xml, int* offset)
104 size_t istart = xml.find(tag, *offset);
106 istart += strlen(tag);
108 etag += tag + 1;
117 // Returns true if the tag is found and updates offset to the char after the tag
119 XmlRpcUtil::findTag(const char* tag, std::string const& xml, int* offset)
122 size_t istart = xml.find(tag, *offset);
126 *offset = int(istart + strlen(tag));
131 // Returns true if the tag is found at the specified offset (modulo any whitespace)
132 // and updates offset to the char after the tag
134 XmlRpcUtil::nextTagIs(const char* tag, std::string const& xml, int* offset)
144 int len = int(strlen(tag));
145 if (*cp && (strncmp(cp, tag, len) == 0)) {
152 // Returns the next tag and updates offset to the char after the tag, or empty string