Home
last modified time | relevance | path

Searched refs:attrvalue (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/
DHTMLParser.py301 attrname, rest, attrvalue = m.group(1, 2, 3)
303 attrvalue = None
304 elif attrvalue[:1] == '\'' == attrvalue[-1:] or \
305 attrvalue[:1] == '"' == attrvalue[-1:]:
306 attrvalue = attrvalue[1:-1]
307 if attrvalue:
308 attrvalue = self.unescape(attrvalue)
309 attrs.append((attrname.lower(), attrvalue))
Dsgmllib.py281 attrname, rest, attrvalue = match.group(1, 2, 3)
283 attrvalue = attrname
285 if (attrvalue[:1] == "'" == attrvalue[-1:] or
286 attrvalue[:1] == '"' == attrvalue[-1:]):
288 attrvalue = attrvalue[1:-1]
289 attrvalue = self.entity_or_charref.sub(
290 self._convert_ref, attrvalue)
291 attrs.append((attrname.lower(), attrvalue))
Dxmllib.py562 attrname, attrvalue = res.group('name', 'value')
566 if attrvalue is None:
568 attrvalue = attrname
569 elif attrvalue[:1] == "'" == attrvalue[-1:] or \
570 attrvalue[:1] == '"' == attrvalue[-1:]:
571 attrvalue = attrvalue[1:-1]
578 namespace[ncname or ''] = attrvalue or None
582 if '<' in attrvalue:
586 attrvalue = attrvalue.translate(attrtrans)
587 attrdict[attrname] = self.translate_references(attrvalue)
/external/libxml2/test/valid/dtds/
Dexternal2.ent1 <!ATTLIST root attr1 NMTOKEN "attrvalue">
/external/libxml2/python/
Dlibxml.c895 PyObject *attrvalue; in pythonStartElement() local
923 attrvalue = PY_IMPORT_STRING((char *) attrs[i]); in pythonStartElement()
926 attrvalue = Py_None; in pythonStartElement()
928 PyDict_SetItem(dict, attrname, attrvalue); in pythonStartElement()
930 Py_DECREF(attrvalue); in pythonStartElement()
/external/e2fsprogs/contrib/
Dfsstress.c658 attr_set_path(pathname_t * name, const char *attrname, const char *attrvalue, in attr_set_path() argument
665 rval = attr_set(name->path, attrname, attrvalue, valuelength, flags); in attr_set_path()
670 rval = attr_set_path(&newname, attrname, attrvalue, valuelength, in attr_set_path()
/external/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c631 attr_set_path(pathname_t * name, const char *attrname, const char *attrvalue, in attr_set_path() argument
638 rval = attr_set(name->path, attrname, attrvalue, valuelength, flags); in attr_set_path()
643 rval = attr_set_path(&newname, attrname, attrvalue, valuelength, in attr_set_path()