Lines Matching refs:entity
27944 function Generated(entity) {
27945 this._initNamed(entity, name);
27950 Generated.prototype._initNamed = function _initNamed(entity, name) {
27951 Base.call(this, entity, name);
28448 Node.prototype._getUse = function _getUse(entity, obj) {
28451 state.useDecoder = this._use(entity, obj);
29369 DERNode.prototype._use = function use(entity, obj) {
29370 if (typeof entity === 'function') entity = entity(obj);
29371 return entity._getEncoder('der').tree;
29414 function PEMEncoder(entity) {
29415 DEREncoder.call(this, entity);
75894 this.entity = "";
76686 this.entity += "".concat(chunk.slice(start, this.prevI), "\n");
76693 var entity = this.entity + chunk.slice(start, this.prevI);
76697 if (entity === "") {
76701 parsed = this.parseEntity(entity);
76702 this.entity = "";
76714 this.entity += chunk.slice(start); // eslint-disable-next-line no-labels
78058 value: function parseEntity(entity) {
78061 if (entity[0] !== "#") {
78062 var defined = this.ENTITIES[entity];
78068 … this.fail(this.isName(entity) ? "undefined entity." : "disallowed character in entity name.");
78069 return "&".concat(entity, ";");
78074 if (entity[1] === "x" && /^#x[0-9a-f]+$/i.test(entity)) {
78075 num = parseInt(entity.slice(2), 16);
78076 } else if (/^#[0-9]+$/.test(entity)) {
78077 num = parseInt(entity.slice(1), 10);
78083 return "&".concat(entity, ";");