Home
last modified time | relevance | path

Searched refs:column (Results 1 - 25 of 50) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/extractortool/tests/
H A Dsource_map_test.cpp180 void GetPosInfo(const std::string &temp, int32_t start, std::string &line, std::string &column) in GetPosInfo() argument
182 sourceMap.GetPosInfo(temp, start, line, column); in GetPosInfo()
195 bool TranslateUrlPositionBySourceMap(std::string &url, int &line, int &column) in TranslateUrlPositionBySourceMap() argument
197 return sourceMap.TranslateUrlPositionBySourceMap(url, line, column); in TranslateUrlPositionBySourceMap()
200 bool GetLineAndColumnNumbers(int &line, int &column, SourceMapData &targetMap, bool& isReplaces) in GetLineAndColumnNumbers() argument
202 return sourceMap.GetLineAndColumnNumbers(line, column, targetMap, isReplaces); in GetLineAndColumnNumbers()
257 int line = 10, column = 5; in HWTEST_F_L0() local
260 EXPECT_FALSE(sourceMap.TranslateUrlPositionBySourceMap(url, line, column)); in HWTEST_F_L0()
266 EXPECT_FALSE(sourceMap.TranslateUrlPositionBySourceMap(url, line, column)); in HWTEST_F_L0()
271 EXPECT_FALSE(sourceMap.TranslateUrlPositionBySourceMap(url, line, column)); in HWTEST_F_L0()
442 std::string line, column; HWTEST_F_L0() local
499 int column = 1; HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Ddebug_info_extractor.h46 int32_t column; member
95 bool MatchWithLocation(const Callback &cb, int32_t line, int32_t column, in MatchWithLocation() argument
148 if (pair.column == column) { in MatchWithLocation()
150 } else if (pair.column < minColumn && currentOffset < minColumnOffset) { in MatchWithLocation()
151 minColumn = pair.column; in MatchWithLocation()
159 if (minColumn != INT32_MAX) { // find the smallest column for the corresponding row in MatchWithLocation()
162 if (currentOffset != UINT32_MAX) { // find corresponding row, but not find corresponding column in MatchWithLocation()
184 int32_t column = 0; in MatchColumnWithOffset() local
188 column in MatchColumnWithOffset()
[all...]
/arkcompiler/toolchain/tooling/test/utils/
H A Dtest_extractor.cpp39 MatchWithLocation(callbackFunc, sourceLocation.line, sourceLocation.column, "", recordName); in GetBreakpointAddress()
50 auto callbackColumnFunc = [&location](int32_t column) -> bool { in GetSourceLocation()
51 location.column = column; in GetSourceLocation()
H A Dtest_extractor.h28 int32_t column; member
32 return file == other.file && line == other.line && column == other.column; in operator ==()
/arkcompiler/runtime_core/static_core/compiler/code_info/
H A Dcode_info_tables.h42 std::string GetColumnStr(size_t column) const in GetColumnStr()
44 if (column != COLUMN_NATIVE_PC) { in GetColumnStr()
45 return Base::GetColumnStr(column); in GetColumnStr()
47 if (Get(column) == NO_VALUE) { in GetColumnStr()
164 std::string GetColumnStr(size_t column) const in GetColumnStr()
166 if (column != COLUMN_INFO || Get(column) == NO_VALUE) { in GetColumnStr()
167 return Base::GetColumnStr(column); in GetColumnStr()
/arkcompiler/ets_frontend/merge_abc/src/
H A DideHelpersProto.cpp43 protoPosition.set_column(position.column); in Serialize()
50 position.column = protoPosition.column(); in Deserialize()
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
H A Ddebug_data_builder.cpp56 void DebugDataBuilder::SetLocation(Instruction *inst, uint32_t line, uint32_t column) in SetLocation() argument
59 inst->setDebugLoc(DILocation::get(func->getContext(), line, column, func->getSubprogram())); in SetLocation()
63 uint32_t column) in AppendInlinedAt()
67 auto inlinedAtNode = DILocation::getDistinct(function->getContext(), line, column, original.getScope()); in AppendInlinedAt()
62 AppendInlinedAt(llvm::Instruction *inst, llvm::Function *function, uint32_t line, uint32_t column) AppendInlinedAt() argument
H A Ddebug_data_builder.h40 void SetLocation(llvm::Instruction *inst, uint32_t line, uint32_t column = 1);
42 void AppendInlinedAt(llvm::Instruction *inst, llvm::Function *function, uint32_t line, uint32_t column = 1);
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
H A Dsource_map.cpp153 // the first bit: the column after transferring. in ExtractSourceMapData()
156 // the fourth bit: the column before transferring. in ExtractSourceMapData()
201 LOG_ECMA(ERROR) << "SourceMap find failed, line: " << row << ", column: " << col; in Find()
257 void SourceMap::GetPosInfo(const std::string& temp, int32_t start, std::string& line, std::string& column) in GetPosInfo() argument
261 // find line, column in GetPosInfo()
268 column = temp[i] + column; in GetPosInfo()
337 bool SourceMap::TranslateUrlPositionBySourceMap(std::string& url, int& line, int& column) in TranslateUrlPositionBySourceMap() argument
357 ret = GetLineAndColumnNumbers(line, column, *(iterData->second), isReplaces); in TranslateUrlPositionBySourceMap()
377 ret = GetLineAndColumnNumbers(line, column, *(modularMa in TranslateUrlPositionBySourceMap()
386 GetLineAndColumnNumbers(int& line, int& column, SourceMapData& targetMap, bool& isReplaces) GetLineAndColumnNumbers() argument
[all...]
H A Dsource_map.h76 bool TranslateUrlPositionBySourceMap(std::string& url, int& line, int& column);
85 void GetPosInfo(const std::string& temp, int32_t start, std::string& line, std::string& column);
86 bool GetLineAndColumnNumbers(int& line, int& column, SourceMapData& targetMap, bool& isReplaces);
/arkcompiler/runtime_core/assembler/
H A Dide_helpers.h25 size_t column = 0; member
32 << "\"column\": " << column << " }"; in JsonSerialize() local
/arkcompiler/runtime_core/static_core/assembler/
H A Dide_helpers.h26 size_t column = 0; member
33 << "\"column\": " << column << " }"; in JsonSerialize() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dsrc_position.h43 return u.fileColumn.column; in Column()
63 u.fileColumn.column = n; in SetColumn()
139 uint16 column : 12; member
/arkcompiler/ets_frontend/es2panda/util/
H A Dconcurrent.cpp45 auto column = (const_cast<lexer::LineIndex &>(lineIndex)).GetLocation(expr->Range().start).col - 1; in ThrowInvalidConcurrentFunction() local
49 column}; in ThrowInvalidConcurrentFunction()
56 throw Error {ErrorType::GENERIC, ss.str(), line, column}; in ThrowInvalidConcurrentFunction()
/arkcompiler/runtime_core/abc2program/
H A Dabc_code_processor.cpp255 uint32_t column = DEFAULT_COLUMN; in FillInsDebug() local
267 // Column table may be empty if all ins of current function has default column number in FillInsDebug()
268 // The first entry of column table is the offset of the first ins for which column number differs from the default in FillInsDebug()
273 column = column_idx > 0 ? column_table[column_idx - 1].column : column; in FillInsDebug()
274 function_.ins[inst_idx].ins_debug.column_number = column; in FillInsDebug()
/arkcompiler/ets_runtime/test/jsperftest/
H A Drun_js_test.py222 ws.cell(row=ws.max_row, column=6).fill = PatternFill(start_color='FF0000', end_color='FF0000',
226 ws.cell(row=ws.max_row, column=9).fill = PatternFill(start_color='FFFF00', end_color='FFFF00',
231 ws.cell(row=ws.max_row, column=10).fill = PatternFill(start_color='FF00FF', end_color='FF00FF',
423 excu_status = str(ws.cell(row=row_num, column=3).value)
424 is_degraded = str(ws.cell(row=row_num, column=6).value)
435 obj = ws.cell(row=row_num, column=9).value
441 obj = ws.cell(row=row_num, column=10).value
621 js_case = ws.cell(row=row_num, column=1).value
622 scene = ws.cell(row=row_num, column=2).value
623 exec_status = ws.cell(row=row_num, column
[all...]
/arkcompiler/ets_runtime/test/aotjsperftest/
H A Drun_js_test.py196 ws.cell(row=ws.max_row, column=6).fill = PatternFill(start_color='FF0000', end_color='FF0000',
201 ws.cell(row=ws.max_row, column=9).fill = PatternFill(start_color='FFFF00', end_color='FFFF00',
206 ws.cell(row=ws.max_row, column=10).fill = PatternFill(start_color='FF00FF', end_color='FF00FF',
446 excu_status = str(ws.cell(row=row_num, column=3).value)
447 is_degraded = str(ws.cell(row=row_num, column=6).value)
458 obj = ws.cell(row=row_num, column=9).value
464 obj = ws.cell(row=row_num, column=10).value
638 js_case = ws.cell(row=row_num, column=1).value
639 scene = ws.cell(row=row_num, column=2).value
640 exec_status = ws.cell(row=row_num, column
[all...]
/arkcompiler/ets_frontend/test/scripts/sdk_test/
H A Dresult.py451 debug_result = ''.join([f'<th>{column}</th>' for column in merged_data[start_index]])
454 release_result = ''.join([f'<th>{column}</th>' for column in merged_data[start_index + 1]])
488 preview_result = ''.join([f'<th>{column}</th>' for column in merged_data[start_index]])
495 other_result = ''.join([f'<th>{column}</th>' for column in merged_data[start_index]])
515 [f'<th rowspan="2">{column}</th>' for column i
[all...]
/arkcompiler/ets_runtime/test/ffiworkloadtest/
H A Dget_ffi_workload_report.py93 js_case_name_tmp = str(ws.cell(row=row_num, column=1).value)
94 excu_status = str(ws.cell(row=row_num, column=2).value)
95 excu_time = str(ws.cell(row=row_num, column=8).value)
161 ws.cell(row=ws.max_row, column=10).fill = PatternFill(start_color='FF0000', end_color='FF0000',
173 is_degraded = str(ws.cell(row=row_num, column=10).value)
330 ws.cell(row=i, column=2).alignment = align
/arkcompiler/runtime_core/libpandabase/utils/
H A Dbit_table.h92 std::string GetColumnStr(size_t column) const in GetColumnStr()
94 if (Get(column) == NO_VALUE) { in GetColumnStr()
97 return std::to_string(Get(column)); in GetColumnStr()
385 uint32_t ReadColumn(size_t row_index, size_t column) const in ReadColumn()
387 ASSERT(column < GetColumnsCount()); in ReadColumn()
388 return region_.Read(row_index * GetRowSizeInBits() + columns_offsets_[column], GetColumnWidth(column)) + in ReadColumn()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dbit_table.h100 std::string GetColumnStr(size_t column) const in GetColumnStr()
102 if (Get(column) == NO_VALUE) { in GetColumnStr()
105 return std::to_string(Get(column)); in GetColumnStr()
406 uint32_t ReadColumn(size_t rowIndex, size_t column) const in ReadColumn()
408 ASSERT(column < GetColumnsCount()); in ReadColumn()
409 return region_.Read(rowIndex * GetRowSizeInBits() + columnsOffsets_[column], GetColumnWidth(column)) + in ReadColumn()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
H A Dindex.js2 (()=>{var __webpack_modules__={"./node_modules/buffer-from/index.js":e=>{var t=Object.prototype.toString,r="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&&"function"==typeof Buffer.allocUnsafe&&"function"==typeof Buffer.from;e.exports=function(e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return a=e,"ArrayBuffer"===t.call(a).slice(8,-1)?function(e,t,n){t>>>=0;var i=e.byteLength-t;if(i<0)throw new RangeError("'offset' is out of bounds");if(void 0===n)n=i;else if((n>>>=0)>i)throw new RangeError("'length' is out of bounds");return r?Buffer.from(e.slice(t,t+n)):new Buffer(new Uint8Array(e.slice(t,t+n)))}(e,n,i):"string"==typeof e?function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!Buffer.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');return r?Buffer.from(e,t):new Buffer(e,t)}(e,n):r?Buffer.from(e):new Buffer(e);var a}},"./node_modules/source-map-support/node_modules/source-map/lib/array-set.js":(e,t,r)=>{var n=r("./node_modules/source-map-support/node_modules/source-map/lib/util.js"),i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;function o(){this._array=[],this._set=a?new Map:Object.create(null)}o.fromArray=function(e,t){for(var r=new o,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},o.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(e,t){var r=a?e:n.toSetString(e),o=a?this.has(e):i.call(this._set,r),s=this._array.length;o&&!t||this._array.push(e),o||(a?this._set.set(e,s):this._set[r]=s)},o.prototype.has=function(e){if(a)return this._set.has(e);var t=n.toSetString(e);return i.call(this._set,t)},o.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var r=n.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},o.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},o.prototype.toArray=function(){return this._array.slice()},t.ArraySet=o},"./node_modules/source-map-support/node_modules/source-map/lib/base64-vlq.js":(e,t,r)=>{var n=r("./node_modules/source-map-support/node_modules/source-map/lib/base64.js");t.encode=function(e){var t,r="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),r+=n.encode(t)}while(i>0);return r},t.decode=function(e,t,r){var i,a,o,s,c=e.length,l=0,u=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=n.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&a),l+=(a&=31)<<u,u+=5}while(i);r.value=(s=(o=l)>>1,1==(1&o)?-s:s),r.rest=t}},"./node_modules/source-map-support/node_modules/source-map/lib/base64.js":(e,t)=>{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},"./node_modules/source-map-support/node_modules/source-map/lib/binary-search.js":(e,t)=>{function r(e,n,i,a,o,s){var c=Math.floor((n-e)/2)+e,l=o(i,a[c],!0);return 0===l?c:l>0?n-c>1?r(c,n,i,a,o,s):s==t.LEAST_UPPER_BOUND?n<a.length?n:-1:c:c-e>1?r(e,c,i,a,o,s):s==t.LEAST_UPPER_BOUND?c:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,i,a){if(0===n.length)return-1;var o=r(-1,n.length,e,n,i,a||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===i(n[o],n[o-1],!0);)--o;return o}},"./node_modules/source-map-support/node_modules/source-map/lib/mapping-list.js":(e,t,r)=>{var n=r("./node_modules/source-map-support/node_modules/source-map/lib/util.js");function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,r,i,a,o,s;r=e,i=(t=this._last).generatedLine,a=r.generatedLine,o=t.generatedColumn,s=r.generatedColumn,a>i||a==i&&s>=o||n.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=i},"./node_modules/source-map-support/node_modules/source-map/lib/quick-sort.js":(e,t)=>{function r(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function n(e,t,i,a){if(i<a){var o=i-1;r(e,(u=i,_=a,Math.round(u+Math.random()*(_-u))),a);for(var s=e[a],c=i;c<a;c++)t(e[c],s)<=0&&r(e,o+=1,c);r(e,o+1,c);var l=o+1;n(e,t,i,l-1),n(e,t,l+1,a)}var u,_}t.quickSort=function(e,t){n(e,t,0,e.length-1)}},"./node_modules/source-map-support/node_modules/source-map/lib/source-map-consumer.js":(e,t,r)=>{var n=r("./node_modules/source-map-support/node_modules/source-map/lib/util.js"),i=r("./node_modules/source-map-support/node_modules/source-map/lib/binary-search.js"),a=r("./node_modules/source-map-support/node_modules/source-map/lib/array-set.js").ArraySet,o=r("./node_modules/source-map-support/node_modules/source-map/lib/base64-vlq.js"),s=r("./node_modules/source-map-support/node_modules/source-map/lib/quick-sort.js").quickSort;function c(e,t){var r=e;return"string"==typeof e&&(r=n.parseSourceMapInput(e)),null!=r.sections?new _(r,t):new l(r,t)}function l(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),o=n.getArg(r,"sources"),s=n.getArg(r,"names",[]),c=n.getArg(r,"sourceRoot",null),l=n.getArg(r,"sourcesContent",null),u=n.getArg(r,"mappings"),_=n.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);c&&(c=n.normalize(c)),o=o.map(String).map(n.normalize).map((function(e){return c&&n.isAbsolute(c)&&n.isAbsolute(e)?n.relative(c,e):e})),this._names=a.fromArray(s.map(String),!0),this._sources=a.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map((function(e){return n.computeSourceURL(c,e,t)})),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=t,this.file=_}function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function _(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),o=n.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new a,this._names=new a;var s={line:-1,column:0};this._sections=o.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=n.getArg(e,"offset"),i=n.getArg(r,"line"),a=n.getArg(r,"column");if(i<s.line||i===s.line&&a<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=r,{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:new c(n.getArg(e,"map"),t)}}))}c.fromSourceMap=function(e,t){return l.fromSourceMap(e,t)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},c.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,t,r){var i,a=t||null;switch(r||c.GENERATED_ORDER){case c.GENERATED_ORDER:i=this._generatedMappings;break;case c.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;i.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=n.computeSourceURL(o,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,a)},c.prototype.allGeneratedPositionsFor=function(e){var t=n.getArg(e,"line"),r={source:n.getArg(e,"source"),originalLine:t,originalColumn:n.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var a=[],o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(void 0===e.column)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:n.getArg(s,"generatedLine",null),column:n.getArg(s,"generatedColumn",null),lastColumn:n.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==l;)a.push({line:n.getArg(s,"generatedLine",null),column:n.getArg(s,"generatedColumn",null),lastColumn:n.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o]}return a},t.SourceMapConsumer=c,l.prototype=Object.create(c.prototype),l.prototype.consumer=c,l.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=n.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},l.fromSourceMap=function(e,t){var r=Object.create(l.prototype),i=r._names=a.fromArray(e._names.toArray(),!0),o=r._sources=a.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map((function(e){return n.computeSourceURL(r.sourceRoot,e,t)}));for(var c=e._mappings.toArray().slice(),_=r.__generatedMappings=[],d=r.__originalMappings=[],p=0,f=c.length;p<f;p++){var g=c[p],m=new u;m.generatedLine=g.generatedLine,m.generatedColumn=g.generatedColumn,g.source&&(m.source=o.indexOf(g.source),m.originalLine=g.originalLine,m.originalColumn=g.originalColumn,g.name&&(m.name=i.indexOf(g.name)),d.push(m)),_.push(m)}return s(r.__originalMappings,n.compareByOriginalPositions),r},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),l.prototype._parseMappings=function(e,t){for(var r,i,a,c,l,_=1,d=0,p=0,f=0,g=0,m=0,y=e.length,h=0,v={},b={},x=[],D=[];h<y;)if(";"===e.charAt(h))_++,h++,d=0;else if(","===e.charAt(h))h++;else{for((r=new u).generatedLine=_,c=h;c<y&&!this._charIsMappingSeparator(e,c);c++);if(a=v[i=e.slice(h,c)])h+=i.length;else{for(a=[];h<c;)o.decode(e,h,b),l=b.value,h=b.rest,a.push(l);if(2===a.length)throw new Error("Found a source, but no line and column");if(3===a.length)throw new Error("Found a source and line, but no column");v[i]=a}r.generatedColumn=d+a[0],d=r.generatedColumn,a.length>1&&(r.source=g+a[1],g+=a[1],r.originalLine=p+a[2],p=r.originalLine,r.originalLine+=1,r.originalColumn=f+a[3],f=r.originalColumn,a.length>4&&(r.name=m+a[4],m+=a[4])),D.push(r),"number"==typeof r.originalLine&&x.push(r)}s(D,n.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,s(x,n.compareByOriginalPositions),this.__originalMappings=x},l.prototype._findMapping=function(e,t,r,n,a,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return i.search(e,t,a,o)},l.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(e){var t={generatedLine:n.getArg(e,"line"),generatedColumn:n.getArg(e,"column")},
[all...]
/arkcompiler/runtime_core/static_core/libpandafile/tests/
H A Ddebug_info_extractor_test.cpp407 if (cnt[0].column == 5U || cnt[0].column == 6U) { in TEST_F()
410 ASSERT(cnt[0].column == 7U); in TEST_F()
415 EXPECT_EQ(col.column, i++); in TEST_F()
/arkcompiler/ets_frontend/ets2panda/
H A Des2panda.h173 explicit Error(ErrorType type, std::string_view file, std::string_view message, size_t line, size_t column) noexcept
174 : type_(type), file_(file), message_(message), line_(line), col_(column) in col_()
/arkcompiler/ets_frontend/es2panda/
H A Des2panda.h138 explicit Error(ErrorType type, const std::string_view &message, size_t line, size_t column) noexcept
139 : type_(type), message_(message), line_(line), col_(column) in col_()

Completed in 16 milliseconds

12