• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/

Lines Matching +defs:child +defs:name

123  *		A few helper functions for child sequences		*
132 * Returns the number of child for an element, -1 in case of error
175 * @no: the child number
177 * Returns the @no'th element child of @cur or NULL
876 static void xmlXPtrEvalChildSeq(xmlXPathParserContextPtr ctxt, xmlChar *name);
915 * @index: the child number
918 * given child if found
947 * @name: the preparsed Scheme for the XPtrPart
979 xmlXPtrEvalXPtrPart(xmlXPathParserContextPtr ctxt, xmlChar *name) {
984 if (name == NULL)
985 name = xmlXPathParseName(ctxt);
986 if (name == NULL)
1034 if (xmlStrEqual(name, (xmlChar *) "xpointer")) {
1049 } else if (xmlStrEqual(name, (xmlChar *) "element")) {
1068 } else if (xmlStrEqual(name, (xmlChar *) "xmlns")) {
1078 xmlFree(name);
1085 xmlFree(name);
1096 xmlFree(name);
1104 xmlFree(name);
1115 "unsupported scheme '%s'\n", name);
1118 xmlFree(name);
1124 * @name: the preparsed Scheme for the first XPtrPart
1149 xmlXPtrEvalFullXPtr(xmlXPathParserContextPtr ctxt, xmlChar *name) {
1150 if (name == NULL)
1151 name = xmlXPathParseName(ctxt);
1152 if (name == NULL)
1154 while (name != NULL) {
1156 xmlXPtrEvalXPtrPart(ctxt, name);
1203 name = xmlXPathParseName(ctxt);
1210 * @name: a possible ID name of the child sequence
1219 xmlXPtrEvalChildSeq(xmlXPathParserContextPtr ctxt, xmlChar *name) {
1224 if ((name == NULL) && (CUR == '/') && (NXT(1) != '1')) {
1229 if (name != NULL) {
1230 valuePush(ctxt, xmlXPathNewString(name));
1231 xmlFree(name);
1237 int child = 0;
1241 child = child * 10 + (CUR - '0');
1244 xmlXPtrGetChildNo(ctxt, child);
1278 xmlChar *name;
1280 name = xmlXPathParseName(ctxt);
1281 if (name == NULL)
1284 xmlXPtrEvalFullXPtr(ctxt, name);
1289 xmlXPtrEvalChildSeq(ctxt, name);