Lines Matching refs:cptable
8 /*:: declare var cptable:any; */
9 /*global cptable:true, window */
10 var $cptable;
67 function set_cptable(cptable) { argument
68 $cptable = cptable;
71 …if(data.charCodeAt(0) === 0xFF && data.charCodeAt(1) === 0xFE) { return $cptable.utils.decode(1200…
76 return $cptable.utils.decode(current_codepage, [x&255,x>>8])[0];
79 return $cptable.utils.decode(current_ansi, [x])[0];
3967 …__utf16le = function(b/*:RawBytes|CFBlob*/,s/*:number*/,e/*:number*/) { return $cptable.utils.deco…
3968 …__utf8 = function(b/*:RawBytes|CFBlob*/,s/*:number*/,e/*:number*/) { return $cptable.utils.decode(…
3969 …FBlob*/,i/*:number*/) { var len = __readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(curr…
3970 …FBlob*/,i/*:number*/) { var len = __readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(curr…
3971 …lob*/,i/*:number*/) { var len = 2*__readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(1200…
3972 …FBlob*/,i/*:number*/) { var len = __readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(1200…
3973 …FBlob*/,i/*:number*/) { var len = __readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(6500…
3975 if(typeof $cptable !== 'undefined') cpdoit();
3998 …if(typeof $cptable !== 'undefined') o = $cptable.utils.decode(current_codepage, this.slice(this.l,…
4033 if(typeof $cptable !== 'undefined') {
4034 o = $cptable.utils.decode(current_codepage, this.slice(this.l, this.l + size));
4080 if(typeof $cptable !== 'undefined' && current_ansi == 874) {
4084 var cpp = $cptable.utils.encode(current_ansi, val.charAt(i));
4088 } else if(typeof $cptable !== 'undefined' && f == 'cpstr') {
4089 cpp = $cptable.utils.encode(current_codepage, val);
7763 …field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l…
7817 var s = typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, dd) : a2s(dd);
7927 …maxlen = Math.max(maxlen, (typeof $cptable !== "undefined" && typeof col[j] == "string" ? $cptable…
8119 …if(typeof $cptable !== 'undefined' && typeof val == "string" && ((opts||{}).type != "string") && (…
8657 …else if(opts.codepage && typeof $cptable !== 'undefined') str = $cptable.utils.decode(opts.codepag…
8666 …type == 'binary') && typeof $cptable !== 'undefined' && opts.codepage) str = $cptable.utils.decod…
10062 if(typeof $cptable !== 'undefined') return $cptable.utils.encode(current_ansi, str);
18070 if(typeof $cptable !== 'undefined') str = $cptable.utils.decode(65001, char_codes(str));
25713 …d = typeof $cptable !== "undefined" ? $cptable.utils.decode(1200, d.slice(2), 'str') : utf16leread…
25730 …if(o.codepage && typeof $cptable === "undefined") console.error("Codepage tables are not loaded. …
26140 if(typeof $cptable == 'undefined' || opts.type == 'string') return s;
26141 var o = $cptable.utils.encode(1200, s, 'str');