Lines Matching refs:ch

2186 function isSpace(ch) {
2187 return ch === 0x20 || ch === 0x09 || ch === 0x0D || ch === 0x0A;
13026 ch;
13028 while ((ch = stream.getByte()) > 0x20) {
13033 version += String.fromCharCode(ch);
13177 var ch;
13180 ch = stream.getByte();
13181 } while ((0, _util.isSpace)(ch));
13185 while (ch >= 0x20 && ch <= 0x39) {
13186 str += String.fromCharCode(ch);
13187 ch = stream.getByte();
14814 ch = data[offset];
14816 while (ch !== LF && ch !== CR && ch !== LT) {
14821 token += String.fromCharCode(ch);
14822 ch = data[offset];
14869 var ch = buffer[position];
14871 if (ch === TAB || ch === LF || ch === CR || ch === SPACE) {
14876 if (ch === PERCENT) {
14884 ch = buffer[position];
14885 } while (ch !== LF && ch !== CR);
15970 ch,
15973 while ((ch = stream.getByte()) !== -1) {
15975 state = ch === E ? 1 : 0;
15977 state = ch === I ? 2 : 0;
15981 if (ch === SPACE || ch === LF || ch === CR) {
15986 ch = followingBytes[i];
15988 if (ch === NUL && followingBytes[i + 1] !== NUL) {
15992 if (ch !== LF && ch !== CR && (ch < SPACE || ch > 0x7F)) {
16007 if (ch === -1) {
16018 ch = stream.peekByte();
16021 if (!(0, _util.isSpace)(ch)) {
16124 ch,
16127 while ((ch = stream.getByte()) !== -1) {
16128 if (ch === TILDE) {
16129 ch = stream.peekByte();
16131 while ((0, _util.isSpace)(ch)) {
16133 ch = stream.peekByte();
16136 if (ch === GT) {
16145 if (ch === -1) {
16159 ch,
16162 while ((ch = stream.getByte()) !== -1) {
16163 if (ch === GT) {
16170 if (ch === -1) {
16185 ch;
16187 while ((ch = stream.getByte()) !== -1) {
16189 state = ch === E ? 1 : 0;
16191 state = ch === I ? 2 : 0;
16523 function toHexDigit(ch) {
16524 if (ch >= 0x30 && ch <= 0x39) {
16525 return ch & 0x0F;
16528 if (ch >= 0x41 && ch <= 0x46 || ch >= 0x61 && ch <= 0x66) {
16529 return (ch & 0x0F) + 9;
16563 var ch = this.currentChar;
16568 if (ch === 0x2D) {
16570 ch = this.nextChar();
16572 if (ch === 0x2D) {
16573 ch = this.nextChar();
16575 } else if (ch === 0x2B) {
16577 ch = this.nextChar();
16580 if (ch === 0x0A || ch === 0x0D) {
16582 ch = this.nextChar();
16583 } while (ch === 0x0A || ch === 0x0D);
16586 if (ch === 0x2E) {
16588 ch = this.nextChar();
16591 if (ch < 0x30 || ch > 0x39) {
16592 if (divideBy === 10 && sign === 0 && ((0, _util.isSpace)(ch) || ch === -1)) {
16597 …til.FormatError("Invalid number: ".concat(String.fromCharCode(ch), " (charCode ").concat(ch, ")"));
16601 var baseValue = ch - 0x30;
16605 while ((ch = this.nextChar()) >= 0) {
16606 if (0x30 <= ch && ch <= 0x39) {
16607 var currentDigit = ch - 0x30;
16618 } else if (ch === 0x2E) {
16624 } else if (ch === 0x2D) {
16626 } else if (ch === 0x45 || ch === 0x65) {
16627 ch = this.peekChar();
16629 if (ch === 0x2B || ch === 0x2D) {
16630 powerValueSign = ch === 0x2D ? -1 : 1;
16632 } else if (ch < 0x30 || ch > 0x39) {
16659 var ch = this.nextChar();
16664 switch (ch | 0) {
16686 ch = this.nextChar();
16688 switch (ch) {
16717 strBuf.push(String.fromCharCode(ch));
16728 var x = ch & 0x0F;
16729 ch = this.nextChar();
16732 if (ch >= 0x30 && ch <= 0x37) {
16733 x = (x << 3) + (ch & 0x0F);
16734 ch = this.nextChar();
16736 if (ch >= 0x30 && ch <= 0x37) {
16738 x = (x << 3) + (ch & 0x0F);
16756 strBuf.push(String.fromCharCode(ch));
16763 strBuf.push(String.fromCharCode(ch));
16772 ch = this.nextChar();
16781 var ch, previousCh;
16785 while ((ch = this.nextChar()) >= 0 && !specialChars[ch]) {
16786 if (ch === 0x23) {
16787 ch = this.nextChar();
16789 if (specialChars[ch]) {
16795 var x = toHexDigit(ch);
16798 previousCh = ch;
16799 ch = this.nextChar();
16800 var x2 = toHexDigit(ch);
16803 …(0, _util.warn)("Lexer_getName: Illegal digit (".concat(String.fromCharCode(ch), ") ") + 'in hexad…
16806 if (specialChars[ch]) {
16810 strBuf.push(String.fromCharCode(ch));
16816 strBuf.push('#', String.fromCharCode(ch));
16819 strBuf.push(String.fromCharCode(ch));
16834 var ch = this.currentChar;
16839 if (ch < 0) {
16842 } else if (ch === 0x3E) {
16845 } else if (specialChars[ch] === 1) {
16846 ch = this.nextChar();
16850 firstDigit = toHexDigit(ch);
16853 (0, _util.warn)("Ignoring invalid character \"".concat(ch, "\" in hex string"));
16854 ch = this.nextChar();
16858 secondDigit = toHexDigit(ch);
16861 (0, _util.warn)("Ignoring invalid character \"".concat(ch, "\" in hex string"));
16862 ch = this.nextChar();
16870 ch = this.nextChar();
16880 var ch = this.currentChar;
16883 if (ch < 0) {
16888 if (ch === 0x0A || ch === 0x0D) {
16891 } else if (ch === 0x25) {
16893 } else if (specialChars[ch] !== 1) {
16897 ch = this.nextChar();
16900 switch (ch | 0) {
16931 ch = this.nextChar();
16933 if (ch === 0x3C) {
16941 ch = this.nextChar();
16943 if (ch === 0x3E) {
16960 throw new _util.FormatError("Illegal character: ".concat(ch));
16963 var str = String.fromCharCode(ch);
16967 while ((ch = this.nextChar()) >= 0 && !specialChars[ch]) {
16968 var possibleCommand = str + String.fromCharCode(ch);
17003 var ch = this.currentChar;
17005 while (ch >= 0) {
17006 if (ch === 0x0D) {
17007 ch = this.nextChar();
17009 if (ch === 0x0A) {
17014 } else if (ch === 0x0A) {
17019 ch = this.nextChar();
18149 var ch = bytes[i],
18152 if (ch >= 0x30 && ch <= 0x39) {
18153 digit = ch & 0x0F;
18154 } else if (ch >= 0x41 && ch <= 0x46 || ch >= 0x61 && ch <= 0x66) {
18155 digit = (ch & 0x0F) + 9;
18156 } else if (ch === 0x3E) {
21822 var ch;
21824 while ((ch = stream.getByte()) !== -1) {
21825 if (ch === 0xFF) {
25773 function ch(x, y, z) {
25855 t1 = h + sigmaPrime(e) + ch(e, f, g) + k[j] + w[j];
25886 function ch(result, x, y, z, tmp) {
26056 ch(tmp1, e, f, g, tmp2);
48446 var ch = this.currentChar;
48449 if (ch === -1) {
48454 if (ch === 0x0A || ch === 0x0D) {
48457 } else if (ch === 0x25) {
48459 } else if (!(0, _util.isSpace)(ch)) {
48463 ch = this.nextChar();
48466 if (isSpecial(ch)) {
48468 return String.fromCharCode(ch);
48474 token += String.fromCharCode(ch);
48475 ch = this.nextChar();
48476 } while (ch >= 0 && !(0, _util.isSpace)(ch) && !isSpecial(ch));
49916 var ch = chars[i];
49918 if (ch === '<' || ch === '>') {
54423 var ch = this.currentChar;
54426 if (ch < 0) {
54431 if (ch === 0x0A || ch === 0x0D) {
54434 } else if (ch === 0x25) {
54436 } else if (!(0, _util.isSpace)(ch)) {
54440 ch = this.nextChar();
54443 switch (ch | 0) {
54470 strBuf[0] = String.fromCharCode(ch);
54472 … while ((ch = this.nextChar()) >= 0 && (ch >= 0x41 && ch <= 0x5A || ch >= 0x61 && ch <= 0x7A)) {
54473 strBuf.push(String.fromCharCode(ch));
54492 var ch = this.currentChar;
54495 strBuf[0] = String.fromCharCode(ch);
54497 while ((ch = this.nextChar()) >= 0) {
54498 if (ch >= 0x30 && ch <= 0x39 || ch === 0x2D || ch === 0x2E) {
54499 strBuf.push(String.fromCharCode(ch));