Lines Matching refs:cc

696 	var o = "", cc;
697 for(var i = 0; i != str.length; ++i) switch((cc=str.charCodeAt(i))) {
701 default: o+= String.fromCharCode(cc);
928 var in_str = false/*, cc*/;
929 for(var i = 0, j = 0; i < fmt.length; ++i) switch((/*cc=*/fmt.charCodeAt(i))) {
945 var i = 0, /*cc = 0,*/ c = "", o = "";
949 case '"': for(;(/*cc=*/fmt.charCodeAt(++i)) !== 34 && i < fmt.length;){/*empty*/} ++i; break;
987 var out = [], o = "", i = 0, c = "", lst='t', dt, j, cc;
996 for(o="";(cc=fmt.charCodeAt(++i)) !== 34 && i < fmt.length;) o += String.fromCharCode(cc);
3138 var dispcnt = 0, L = Math.min(1024, cstr.length), cc = 0;
3139 for(var csl = 0; csl <= L; ++csl) if((cc=cstr.charCodeAt(csl)) >= 0x20 && cc < 0x80) ++dispcnt;
3622 var m = tag.match(attregexg), j=0, v="", i=0, q="", cc="", quot = 1; variable
3624 cc = m[i];
3625 for(c=0; c != cc.length; ++c) if(cc.charCodeAt(c) === 61) break;
3626 q = cc.slice(0,c).trim();
3627 while(cc.charCodeAt(c+1) == 32) ++c;
3628 quot = ((eq=cc.charCodeAt(c+1)) == 34 || eq == 39) ? 1 : 0;
3629 v = cc.slice(c+1+quot, cc.length-quot);
4111 var cc = val.charCodeAt(i);
4112 this[this.l++] = (cc & 0xff);
4113 this[this.l++] = (cc >> 8);
4287 var cc = cstr.charCodeAt(i);
4288 if(cc >= 48 && cc <= 57) R = 10 * R + (cc - 48);
4289 else if(cc >= 65 && cc <= 90) C = 26 * C + (cc - 64);
4332 var idx = 0, i = 0, cc = 0;
4335 if((cc=range.charCodeAt(i)-64) < 1 || cc > 26) break;
4336 idx = 26*idx + cc;
4341 if((cc=range.charCodeAt(i)-48) < 0 || cc > 9) break;
4342 idx = 10*idx + cc;
4346 if(i === len || cc != 10) { o.e.c=o.s.c; o.e.r=o.s.r; return o; }
4350 if((cc=range.charCodeAt(i)-64) < 1 || cc > 26) break;
4351 idx = 26*idx + cc;
4356 if((cc=range.charCodeAt(i)-48) < 0 || cc > 9) break;
4357 idx = 10*idx + cc;
8547 var cnt = {}, instr = false, end = 0, cc = 0;
8549 if((cc=str.charCodeAt(end)) == 0x22) instr = !instr;
8550 else if(!instr && cc in guess_seps) cnt[cc] = (cnt[cc]||0)+1;
8553 cc = [];
8555 cc.push([ cnt[end], end ]);
8558 if ( !cc.length ) {
8561 cc.push([ cnt[end], end ]);
8565cc.sort(function(a, b) { return a[0] - b[0] || guess_sep_weights[a[1]] - guess_sep_weights[b[1]]; …
8567 return guess_seps[cc.pop()[1]] || 0x2C;
8591 var start = 0, end = 0, sepcc = sep.charCodeAt(0), instr = false, cc=0, startcc=str.charCodeAt(0);
8625 if(cc == sepcc) ++C; else { C = 0; ++R; if(o.sheetRows && o.sheetRows <= R) return true; }
8627 outer: for(;end < str.length;++end) switch((cc=str.charCodeAt(end))) {
9045 var cc = s.charCodeAt(i);
9046 o.write_shift(1, cc >= 0x80 ? 0x5F : cc);
9212 var cc = blob[blob.l++];
9213 switch(cc) {
9234 var Z = ""; while((cc = blob[blob.l++])) Z += String.fromCharCode(cc);
9244 out.push(["AND", "OR"][cc - 0x14] + "(" + argL + "," + argR + ")");
9248 if(cc < 0x20 && BinOpTab[cc]) {
9250 out.push(argL + BinOpTab[cc] + argR);
9251 } else if(FuncTab[cc]) {
9252 argc = FuncTab[cc][1];
9254 …if(argc > out.length) { console.error("WK1 bad formula parse 0x" + cc.toString(16) + ":|" + out.jo…
9257 out.push(FuncTab[cc][0] + "(" + args.join(",") + ")");
9259 else if(cc <= 0x07) return console.error("WK1 invalid opcode " + cc.toString(16));
9260 else if(cc <= 0x18) return console.error("WK1 unsupported op " + cc.toString(16));
9261 else if(cc <= 0x1E) return console.error("WK1 invalid opcode " + cc.toString(16));
9262 else if(cc <= 0x73) return console.error("WK1 unsupported function opcode " + cc.toString(16));
9264 else return console.error("WK1 unrecognized opcode " + cc.toString(16));
9292 var cc = s.charCodeAt(i);
9293 o.write_shift(1, cc >= 0x80 ? 0x5F : cc);
9428 var cc = name.charCodeAt(i);
9429 out[out.l++] = cc > 0x7F ? 0x5F : cc;
15557 …var ri = 0, x = "", cells/*:Array<string>*/ = [], cref/*:?Array<string>*/ = [], idx=0, i=0, cc=0, …
15613 cref = x.match(rregex); idx = ri; i=0; cc=0;
15618 if((cc=d.charCodeAt(i)-64) < 1 || cc > 26) break;
15619 idx = 26*idx + cc;
18114 var rowinfo/*:Array<RowInfo>*/ = [], rowobj = {}, cc = 0, rr = 0; variable
18145 cc = c + (parseInt(cell.MergeAcross,10)|0);
18147 if(cc > c || rr > r) merges.push({s:{c:c,r:r},e:{c:cc,r:rr}});
18149 if(!opts.sheetStubs) { if(cell.MergeAcross) c = cc + 1; else ++c; }
18151 /*:: if(!cc) cc = 0; if(!rr) rr = 0; */
18152 for(var cma = c; cma <= cc; ++cma) {
18162 c = cc + 1;
19256 var lastcell, last_cell = "", cc/*:Cell*/, cmnt, rngC, rngR; variable
19574 cc = options.dense ? (out[val[0].s.r]||[])[val[0].s.c] : out[_arraystart];
19575 if(options.cellFormula && cc) {
19577 if(!_arraystart || !cc) break;
19578 cc.f = ""+stringify_formula(val[1], range, val[0], supbooks, opts);
19579 cc.F = encode_range(val[0]);
19588cc = options.dense ? (out[last_formula.cell.r]||[])[last_formula.cell.c] : out[encode_cell(last_fo…
19589 (cc||{}).f = ""+stringify_formula(val[0], range, lastcell, supbooks, opts);
19653 cc = options.dense ? (out[rngR]||[])[rngC] : out[encode_cell({c:rngC,r:rngR})];
19654 if(cc) cc.l = val[1];
19660 cc = options.dense ? (out[rngR]||[])[rngC] : out[encode_cell({c:rngC,r:rngR})];
19661 if(cc && cc.l) cc.l.Tooltip = val[1];
19666 cc = options.dense ? (out[val[0].r]||[])[val[0].c] : out[encode_cell(val[0])];
19668 if(!cc) {
19671 cc = out[val[0].r][val[0].c] = ({t:"z"}/*:any*/);
19673 cc = out[encode_cell(val[0])] = ({t:"z"}/*:any*/);
19680 if(!cc.c) cc.c = [];
19682 cc.c.push(cmnt);
21631 var m = cell, cc = 0;
21633 while(m.charAt(0) == "<" && (cc = m.indexOf(">")) > -1) m = m.slice(cc+1);
26099 …for(var i = 0, cc = 0; i !== txt.length; ++i) if((cc = txt.charCodeAt(i)) === fs || cc === rs || c…