/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_sidebar.py | 54 self.linenumber = idlelib.sidebar.LineNumbers(self.editwin) 60 if element == 'linenumber': 83 bbox = self.linenumber.sidebar_text.bbox(f'{line}.end -1c') 89 state = self.linenumber.sidebar_text.config()['state'] 93 return self.linenumber.sidebar_text.get('1.0', tk.END) 111 self.assertEqual(self.linenumber.is_shown, False) 112 self.linenumber.show_sidebar() 113 self.assertEqual(self.linenumber.is_shown, True) 114 self.linenumber.hide_sidebar() 115 self.assertEqual(self.linenumber.is_shown, False) [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/debug/ |
D | ImmutableLineNumber.java | 35 import org.jf.dexlib2.iface.debug.LineNumber; 39 public class ImmutableLineNumber extends ImmutableDebugItem implements LineNumber { 40 protected final int lineNumber; field in ImmutableLineNumber 43 int lineNumber) { in ImmutableLineNumber() argument 45 this.lineNumber = lineNumber; in ImmutableLineNumber() 49 public static ImmutableLineNumber of(@Nonnull LineNumber lineNumber) { in of() argument 50 if (lineNumber instanceof ImmutableLineNumber) { in of() 51 return (ImmutableLineNumber)lineNumber; in of() 54 lineNumber.getCodeAddress(), in of() 55 lineNumber.getLineNumber()); in of() [all …]
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIALineNumber.cpp | 16 : LineNumber(DiaLineNumber) {} in DIALineNumber() 20 return (S_OK == LineNumber->get_lineNumber(&Line)) ? Line : 0; in getLineNumber() 25 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd() 30 return (S_OK == LineNumber->get_columnNumber(&Column)) ? Column : 0; in getColumnNumber() 35 return (S_OK == LineNumber->get_columnNumberEnd(&ColumnEnd)) ? ColumnEnd : 0; in getColumnNumberEnd() 40 return (S_OK == LineNumber->get_addressSection(&Section)) ? Section : 0; in getAddressSection() 45 return (S_OK == LineNumber->get_addressOffset(&Offset)) ? Offset : 0; in getAddressOffset() 50 return (S_OK == LineNumber->get_relativeVirtualAddress(&RVA)) ? RVA : 0; in getRelativeVirtualAddress() 55 return (S_OK == LineNumber->get_virtualAddress(&Addr)) ? Addr : 0; in getVirtualAddress() 60 return (S_OK == LineNumber->get_length(&Length)) ? Length : 0; in getLength() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIALineNumber.cpp | 15 : LineNumber(DiaLineNumber) {} in DIALineNumber() 19 return (S_OK == LineNumber->get_lineNumber(&Line)) ? Line : 0; in getLineNumber() 24 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd() 29 return (S_OK == LineNumber->get_columnNumber(&Column)) ? Column : 0; in getColumnNumber() 34 return (S_OK == LineNumber->get_columnNumberEnd(&ColumnEnd)) ? ColumnEnd : 0; in getColumnNumberEnd() 39 return (S_OK == LineNumber->get_addressSection(&Section)) ? Section : 0; in getAddressSection() 44 return (S_OK == LineNumber->get_addressOffset(&Offset)) ? Offset : 0; in getAddressOffset() 49 return (S_OK == LineNumber->get_relativeVirtualAddress(&RVA)) ? RVA : 0; in getRelativeVirtualAddress() 54 return (S_OK == LineNumber->get_virtualAddress(&Addr)) ? Addr : 0; in getVirtualAddress() 59 return (S_OK == LineNumber->get_length(&Length)) ? Length : 0; in getLength() [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIALineNumber.cpp | 15 : LineNumber(DiaLineNumber) {} in DIALineNumber() 19 return (S_OK == LineNumber->get_lineNumber(&Line)) ? Line : 0; in getLineNumber() 24 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd() 29 return (S_OK == LineNumber->get_columnNumber(&Column)) ? Column : 0; in getColumnNumber() 34 return (S_OK == LineNumber->get_columnNumberEnd(&ColumnEnd)) ? ColumnEnd : 0; in getColumnNumberEnd() 39 return (S_OK == LineNumber->get_addressSection(&Section)) ? Section : 0; in getAddressSection() 44 return (S_OK == LineNumber->get_addressOffset(&Offset)) ? Offset : 0; in getAddressOffset() 49 return (S_OK == LineNumber->get_relativeVirtualAddress(&RVA)) ? RVA : 0; in getRelativeVirtualAddress() 54 return (S_OK == LineNumber->get_virtualAddress(&Addr)) ? Addr : 0; in getVirtualAddress() 59 return (S_OK == LineNumber->get_length(&Length)) ? Length : 0; in getLength() [all …]
|
/external/angle/third_party/vulkan_memory_allocator/src/VmaReplay/ |
D | VmaReplay.cpp | 1110 size_t lineNumber, 1354 size_t lineNumber, in SetOption() argument 1360 printf("Line %zu: Option already specified.\n" ,lineNumber); in SetOption() 1586 void ExecuteLine(size_t lineNumber, const StrRange& line); 1587 void DumpStats(const char* fileNameFormat, size_t lineNumber, bool detailed); 1652 bool FindPool(size_t lineNumber, uint64_t origPool, VmaPool& outPool); 1654 …void AddAllocation(size_t lineNumber, uint64_t origPtr, VkResult res, const char* functionName, Al… 1664 …bool ValidateFunctionParameterCount(size_t lineNumber, const CsvSplit& csvSplit, size_t expectedPa… 1667 …bool PrepareUserData(size_t lineNumber, uint32_t allocCreateFlags, const StrRange& userDataColumn,… 1671 void ExecuteCreatePool(size_t lineNumber, const CsvSplit& csvSplit); [all …]
|
/external/escapevelocity/src/main/java/com/google/escapevelocity/ |
D | TokenNode.java | 29 TokenNode(String resourceName, int lineNumber) { in TokenNode() argument 30 super(resourceName, lineNumber); in TokenNode() 51 EofNode(String resourceName, int lineNumber) { in EofNode() argument 52 super(resourceName, lineNumber); in EofNode() 62 EndTokenNode(String resourceName, int lineNumber) { in EndTokenNode() argument 63 super(resourceName, lineNumber); in EndTokenNode() 78 CommentTokenNode(String resourceName, int lineNumber) { in CommentTokenNode() argument 79 super(resourceName, lineNumber); in CommentTokenNode() 91 super(condition.resourceName, condition.lineNumber); in IfOrElseIfTokenNode() 117 ElseTokenNode(String resourceName, int lineNumber) { in ElseTokenNode() argument [all …]
|
D | Node.java | 27 final int lineNumber; field in Node 29 Node(String resourceName, int lineNumber) { in Node() argument 31 this.lineNumber = lineNumber; in Node() 44 String where = "In expression on line " + lineNumber; in where() 63 static Node emptyNode(String resourceName, int lineNumber) { in emptyNode() argument 64 return new Cons(resourceName, lineNumber, ImmutableList.<Node>of()); in emptyNode() 72 static Node cons(String resourceName, int lineNumber, ImmutableList<Node> nodes) { in cons() argument 73 return new Cons(resourceName, lineNumber, nodes); in cons() 79 Cons(String resourceName, int lineNumber, ImmutableList<Node> nodes) { in Cons() argument 80 super(resourceName, lineNumber); in Cons()
|
D | ParseException.java | 26 ParseException(String message, String resourceName, int lineNumber) { in ParseException() argument 27 super(message + ", " + where(resourceName, lineNumber)); in ParseException() 30 ParseException(String message, String resourceName, int lineNumber, String context) { in ParseException() argument 31 super(message + ", " + where(resourceName, lineNumber) + ", at text starting: " + context); in ParseException() 34 private static String where(String resourceName, int lineNumber) { in where() argument 36 return "on line " + lineNumber; in where() 38 return "on line " + lineNumber + " of " + resourceName; in where()
|
/external/guice/core/src/com/google/inject/internal/util/ |
D | StackTraceElements.java | 74 int lineNumber = lineNumberOrNull == null ? lineNumbers.getFirstLine() : lineNumberOrNull; in forMember() local 78 int lineNumber = -1; in forMember() 83 return new StackTraceElement(declaringClass.getName(), memberName, fileName, lineNumber); in forMember() 89 int lineNumber = lineNumbers.getFirstLine(); in forType() local 94 int lineNumber = -1; in forType() 97 return new StackTraceElement(implementation.getName(), "class", fileName, lineNumber); in forType() 134 int lineNumber = inMemoryStackTraceElements[i].getLineNumber(); in convertToStackTraceElement() local 136 new StackTraceElement(declaringClass, methodName, UNKNOWN_SOURCE, lineNumber); in convertToStackTraceElement() 169 private int lineNumber; field in StackTraceElements.InMemoryStackTraceElement 175 InMemoryStackTraceElement(String declaringClass, String methodName, int lineNumber) { in InMemoryStackTraceElement() argument [all …]
|
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/ |
D | FormatterDiagnostic.java | 22 private final int lineNumber; field in FormatterDiagnostic 30 public static FormatterDiagnostic create(int lineNumber, int column, String message) { in create() argument 31 checkArgument(lineNumber >= 0); in create() 34 return new FormatterDiagnostic(lineNumber, column, message); in create() 37 private FormatterDiagnostic(int lineNumber, int column, String message) { in FormatterDiagnostic() argument 38 this.lineNumber = lineNumber; in FormatterDiagnostic() 48 return lineNumber; in line() 66 if (lineNumber >= 0) { in toString() 67 sb.append(lineNumber).append(':'); in toString() 73 if (lineNumber >= 0 || column >= 0) { in toString()
|
/external/turbine/javatests/com/google/turbine/diag/ |
D | LineMapTest.java | 33 assertThat(map.lineNumber(0)).isEqualTo(1); in hello() 34 assertThat(map.lineNumber(input.indexOf("world") - 1)).isEqualTo(1); in hello() 35 assertThat(map.lineNumber(input.indexOf("world"))).isEqualTo(2); in hello() 36 assertThat(map.lineNumber(input.length() - 1)).isEqualTo(2); in hello() 48 assertThat(map.lineNumber(0)).isEqualTo(1); in lintEnding_CR() 49 assertThat(map.lineNumber(1)).isEqualTo(1); in lintEnding_CR() 50 assertThat(map.lineNumber(2)).isEqualTo(2); in lintEnding_CR() 58 assertThat(map.lineNumber(0)).isEqualTo(1); in lintEnding_CRLF() 59 assertThat(map.lineNumber(1)).isEqualTo(1); in lintEnding_CRLF() 60 assertThat(map.lineNumber(2)).isEqualTo(1); in lintEnding_CRLF() [all …]
|
/external/dokka/core/src/main/kotlin/Model/ |
D | SourceLinks.kt | 20 val line = target?.lineNumber() in appendSourceLink() 36 val lineNumber = lineNumber() in sourcePosition() constant 40 lineNumber == null -> path in sourcePosition() 41 columnNumber == null -> "$path:$lineNumber" in sourcePosition() 42 else -> "$path:$lineNumber:$columnNumber" in sourcePosition() 46 fun PsiElement.lineNumber(): Int? { in lineNumber() method 54 val lineNumber = doc.getLineNumber(textRange.startOffset) in columnNumber() constant 55 return startOffset - doc.getLineStartOffset(lineNumber) in columnNumber()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
D | DOMLocatorImpl.java | 92 DOMLocatorImpl (int lineNumber, int columnNumber, String uri ){ in DOMLocatorImpl() argument 93 fLineNumber = lineNumber ; in DOMLocatorImpl() 100 } // DOMLocatorImpl (int lineNumber, int columnNumber, String uri ) in DOMLocatorImpl() 102 DOMLocatorImpl (int lineNumber, int columnNumber, int utf16Offset, String uri ){ in DOMLocatorImpl() argument 103 fLineNumber = lineNumber ; in DOMLocatorImpl() 111 } // DOMLocatorImpl (int lineNumber, int columnNumber, int utf16Offset, String uri ) in DOMLocatorImpl() 113 … DOMLocatorImpl (int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri ){ in DOMLocatorImpl() argument 114 fLineNumber = lineNumber ; in DOMLocatorImpl() 121 } // DOMLocatorImpl (int lineNumber, int columnNumber, int offset, Node errorNode, String uri ) in DOMLocatorImpl() 123 …DOMLocatorImpl (int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri, in… in DOMLocatorImpl() argument [all …]
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/ |
D | Rule.java | 42 int lineNumber) { in staticRule() argument 44 return new StaticRule(dtdType, prefix, specs, pathRegex, xpathSpec, lineNumber); in staticRule() 55 int lineNumber) { in dynamicRule() argument 57 return new DynamicRule(dtdType, pathRegex, specs, varString, varFn, xpathSpec, lineNumber); in dynamicRule() 69 private final int lineNumber; field in Rule 76 int lineNumber) { in Rule() argument 82 this.lineNumber = lineNumber; in Rule() 129 return lineNumber; in getLineNumber() 143 int lineNumber) { in StaticRule() argument 145 super(dtdType, prefix, specs, xpathSpec, lineNumber); in StaticRule() [all …]
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
D | LineNumberTable.java | 33 * @see LineNumber 38 private LineNumber[] line_number_table; // Table of line/numbers pairs 56 …public LineNumberTable(final int name_index, final int length, final LineNumber[] line_number_tabl… in LineNumberTable() 73 this(name_index, length, (LineNumber[]) null, constant_pool); in LineNumberTable() 75 line_number_table = new LineNumber[line_number_table_length]; in LineNumberTable() 77 line_number_table[i] = new LineNumber(input); in LineNumberTable() 105 for (final LineNumber lineNumber : line_number_table) { in dump() 106 lineNumber.dump(file); in dump() 114 public final LineNumber[] getLineNumberTable() { in getLineNumberTable() 122 public final void setLineNumberTable( final LineNumber[] line_number_table ) { in setLineNumberTable() [all …]
|
D | LineNumber.java | 32 public final class LineNumber implements Cloneable, Node { class 45 public LineNumber(final LineNumber c) { in LineNumber() method in LineNumber 56 LineNumber(final DataInput file) throws IOException { in LineNumber() method in LineNumber 65 public LineNumber(final int start_pc, final int line_number) { in LineNumber() method in LineNumber 133 return "LineNumber(" + start_pc + ", " + line_number + ")"; in toString() 140 public LineNumber copy() { in copy() 142 return (LineNumber) clone(); in copy()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | StackTraceElementDeserializer.java | 28 int lineNumber = -1; in deserialize() local 39 } else if ("lineNumber".equals(propName)) { in deserialize() 41 lineNumber = p.getIntValue(); in deserialize() 43 lineNumber = _parseIntPrimitive(p, ctxt); in deserialize() 62 return constructValue(ctxt, className, methodName, fileName, lineNumber, in deserialize() 77 String className, String methodName, String fileName, int lineNumber, in constructValue() argument 79 return constructValue(ctxt, className, methodName, fileName, lineNumber, in constructValue() 89 String className, String methodName, String fileName, int lineNumber, in constructValue() argument 94 return new StackTraceElement(className, methodName, fileName, lineNumber); in constructValue()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/debug/ |
D | BuilderLineNumber.java | 36 import org.jf.dexlib2.iface.debug.LineNumber; 38 public class BuilderLineNumber extends BuilderDebugItem implements LineNumber { 39 private final int lineNumber; field in BuilderLineNumber 41 public BuilderLineNumber(int lineNumber) { in BuilderLineNumber() argument 42 this.lineNumber = lineNumber; in BuilderLineNumber() 45 @Override public int getLineNumber() { return lineNumber; } in getLineNumber()
|
/external/angle/src/tests/test_expectations/ |
D | GPUTestExpectationsParser.cpp | 437 "Line " + ToString(unusedExpectations[i].lineNumber) + ": expectation was unused."; in getUnusedExpectationsMessages() 445 size_t lineNumber) in parseLine() argument 451 entry.lineNumber = lineNumber; in parseLine() 507 pushErrorMessage(kErrorMessage[kErrorIllegalEntry], lineNumber); in parseLine() 514 if (!checkTokenCondition(*config, err, token, lineNumber)) in parseLine() 543 pushErrorMessage(kErrorMessage[kErrorIllegalEntry], lineNumber); in parseLine() 552 pushErrorMessage(kErrorMessage[kErrorIllegalEntry], lineNumber); in parseLine() 569 pushErrorMessage(kErrorMessage[kErrorIllegalEntry], lineNumber); in parseLine() 582 pushErrorMessage(kErrorMessage[kErrorIllegalEntry], lineNumber); in parseLine() 588 lineNumber); in parseLine() [all …]
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Debug/ |
D | LineNumberMethodItem.java | 34 import org.jf.dexlib2.iface.debug.LineNumber; 41 private final int lineNumber; field in LineNumberMethodItem 43 public LineNumberMethodItem(int codeAddress, int sortOrder, @Nonnull LineNumber lineNumber) { in LineNumberMethodItem() argument 45 this.lineNumber = lineNumber.getLineNumber(); in LineNumberMethodItem() 51 writer.printUnsignedIntAsDec(lineNumber); in writeTo()
|
/external/google-breakpad/src/common/mac/testing/ |
D | GTMSenTestCase.m | 34 atLine:(int)lineNumber 40 atLine:(int)lineNumber 44 [NSNumber numberWithInteger:lineNumber], SenTestLineNumberKey, 57 atLine:(int)lineNumber 71 return [self failureInFile:filename atLine:lineNumber reason:reason]; 77 atLine:(int)lineNumber 92 return [self failureInFile:filename atLine:lineNumber reason:reason]; 98 atLine:(int)lineNumber 114 return [self failureInFile:filename atLine:lineNumber reason:reason]; 121 atLine:(int)lineNumber [all …]
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | ConcreteMethodImpl.java | 134 int lineNumber) in locationsOfLine() argument 146 List<Location> list = info.lineMapper.get(new Integer(lineNumber)); in locationsOfLine() 297 int baseLineNumber = loc.lineNumber(baseStratum); in getLocations() 307 int lineNumber = lineStratum.lineNumber(); in getLocations() local 310 if ((lineNumber != -1) && in getLocations() 315 if (lineNumber > highestLine) { in getLocations() 316 highestLine = lineNumber; in getLocations() 318 if ((lineNumber < lowestLine) || (lowestLine == -1)) { in getLocations() 319 lowestLine = lineNumber; in getLocations() 324 lineNumber, in getLocations() [all …]
|
D | LocationImpl.java | 150 int baseLineNumber = lineNumber(SDE.BASE_STRATUM_NAME); in getLineInfo() 154 if (lineStratum != null && lineStratum.lineNumber() != -1) { in getLineInfo() 156 lineStratum.lineNumber(), in getLineInfo() 208 public int lineNumber() { in lineNumber() method in LocationImpl 209 return lineNumber(vm.getDefaultStratum()); in lineNumber() 212 public int lineNumber(String stratumID) { in lineNumber() method in LocationImpl 213 return lineNumber(declaringType.stratum(stratumID)); in lineNumber() 216 int lineNumber(SDE.Stratum stratum) { in lineNumber() method in LocationImpl 221 if (lineNumber() == -1) { in toString() 224 return declaringType().name() + ":" + lineNumber(); in toString()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | ppucd.cpp | 61 lineNumber(0), in PreparsedUCD() 123 fprintf(stderr, "error reading preparsed UCD before line %ld\n", (long)lineNumber); in readLine() 128 ++lineNumber; in readLine() 155 line, (long)lineNumber); in readLine() 200 (long)lineNumber); in getProps() 214 (long)lineNumber); in getProps() 221 (long)lineNumber); in getProps() 228 field, (long)lineNumber); in getProps() 265 field, (long)lineNumber, (long)blockProps.start, (long)blockProps.end); in getProps() 322 field, (long)lineNumber); in parseProperty() [all …]
|