/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/tests/unit/unittest/ |
H A D | tokenprocessor-test.cpp | 148 SourceRange sourceRange(uint line, uint columnEnd) const; 172 const auto aRange = translationUnit.sourceRange(3, 1, 5, 1); in TEST_F() 181 const auto aRange = translationUnit.sourceRange(3, 1, 5, 1); in TEST_F() 199 const auto range = translationUnit.sourceRange(5, 5, 5, 10); in TEST_F() 208 const auto infos = translationUnit.tokenInfosInRange(sourceRange(5, 12)); in TEST_F() 215 const auto infos = translationUnit.tokenInfosInRange(sourceRange(1, 29)); in TEST_F() 222 const auto infos = translationUnit.tokenInfosInRange(sourceRange(2, 33)); in TEST_F() 229 const auto infos = translationUnit.tokenInfosInRange(sourceRange(3, 34)); in TEST_F() 236 const auto infos = translationUnit.tokenInfosInRange(sourceRange(4, 28)); in TEST_F() 1837 return translationUnit.sourceRange(line, 1, line, columnEnd); in sourceRange() [all …]
|
H A D | dynamicastmatcherdiagnosticcontainer-matcher.h | 50 auto sourceRange = message.sourceRange; variable 53 && sourceRange.start.line == uint(startLine) 54 && sourceRange.start.column == uint(startColumn) 55 && sourceRange.end.line == uint(endLine) 56 && sourceRange.end.column == uint(endColumn); 75 auto sourceRange = context.sourceRange; variable 78 && sourceRange.start.line == uint(startLine) 79 && sourceRange.start.column == uint(startColumn) 80 && sourceRange.end.line == uint(endLine) 81 && sourceRange.end.column == uint(endColumn);
|
H A D | sourcerange-test.cpp | 89 ClangBackEnd::SourceRange sourceRange{diagnostic.ranges().front()}; member 100 const ::SourceRange &sourceRange = data->sourceRange; member in __anon48e5a5200111::SourceRange 108 ::SourceRange sourceRange; in TEST_F() 110 ASSERT_TRUE(sourceRange.isNull()); in TEST_F() 115 ::SourceRange sourceRange = diagnostic.ranges()[0]; in TEST_F() 117 ASSERT_FALSE(sourceRange.isNull()); in TEST_F() 127 …ASSERT_THAT(sourceRange.start(), IsSourceLocation(Utf8StringLiteral("diagnostic_source_range.cpp"), in TEST_F() 135 … ASSERT_THAT(sourceRange.end(), IsSourceLocation(Utf8StringLiteral("diagnostic_source_range.cpp"), in TEST_F() 143 ASSERT_THAT(sourceRange, ::SourceRange(sourceRange.start(), sourceRange.end())); in TEST_F() 148 auto sourceRangeFromTranslationUnit = translationUnit.sourceRange(8u, 5u, 8u, 6u); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/devtools-frontend/src/test/unittests/front_end/text_utils/ |
H A D | Text_test.ts | 72 const sourceRange = text.toSourceRange(textRange); constant 73 assert.strictEqual(sourceRange.offset, 1, 'offset was not set correctly'); 74 assert.strictEqual(sourceRange.length, 13, 'length was not set correctly'); 80 const sourceRange = text.toSourceRange(textRange); constant 81 assert.isNaN(sourceRange.offset, 'offset should be NaN'); 82 assert.isNaN(sourceRange.length, 'length should be NaN'); 87 const sourceRange = new SourceRange(1, 13); constant 88 const textRange = text.toTextRange(sourceRange);
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/ |
H A D | SimpleDOMBuilder.java | 48 int[] sourceRange = {declarationStart, declarationEnd}; in acceptImport() local 54 this.fNode= new DOMImport(this.fDocument, sourceRange, importName, onDemand, modifiers); in acceptImport() 59 …int[] sourceRange= new int[] {importReference.declarationSourceStart, importReference.declarationS… in acceptPackage() local 61 this.fNode= new DOMPackage(this.fDocument, sourceRange, new String(name)); in acceptPackage() 84 int[] sourceRange = {methodInfo.declarationStart, -1}; // will be fixed up on exit in enterAbstractMethod() local 113 int[] sourceRange = {fieldInfo.declarationStart, -1}; in enterField() local 119 …this.fNode = new DOMField(this.fDocument, sourceRange, CharOperation.charToString(fieldInfo.name),… in enterField() 129 int[] sourceRange = {declarationSourceStart, -1}; in enterInitializer() local 130 this.fNode = new DOMInitializer(this.fDocument, sourceRange, modifiers); in enterInitializer() 145 int[] sourceRange = {typeInfo.declarationStart, -1}; // will be fixed in the exit in enterType() local [all …]
|
H A D | DOMBuilder.java | 72 int[] sourceRange = {declarationStart, declarationEnd}; in acceptImport() local 78 this.fNode= new DOMImport(this.fDocument, sourceRange, importName, nameRange, onDemand, modifiers); in acceptImport() 90 int[] sourceRange = {declarationStart, declarationEnd}; in acceptInitializer() local 103 this.fNode = new DOMInitializer(this.fDocument, sourceRange, commentRange, modifiers, in acceptInitializer() 116 int[] sourceRange = null; in acceptPackage() local 120 sourceRange = new int[] {javaDocPositions[length - 2], declarationEnd}; in acceptPackage() 122 sourceRange = new int[] {declarationStart, declarationEnd}; in acceptPackage() 338 int[] sourceRange = {declarationStart, -1}; // will be fixed up on exit in enterAbstractMethod() local 476 int[] sourceRange = {declarationStart, in enterField() local 579 int[] sourceRange = {declarationStart, -1}; // will be fixed in the exit in enterType() local [all …]
|
H A D | DOMInitializer.java | 79 DOMInitializer(char[] document, int[] sourceRange, int[] commentRange, int flags, int[] modifierRan… in DOMInitializer() argument 80 super(document, sourceRange, null, new int[]{-1, -1}, commentRange, flags, modifierRange); in DOMInitializer() 83 this.fBodyRange[1]= sourceRange[1]; in DOMInitializer() 100 DOMInitializer(char[] document, int[] sourceRange, int flags) { in DOMInitializer() argument 101 this(document, sourceRange, new int[] {-1, -1}, flags, new int[] {-1, -1}, -1); in DOMInitializer()
|
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/jdom/ |
H A D | SimpleDOMBuilder.java | 33 int[] sourceRange = { declarationStart, declarationEnd }; in acceptImport() local 39 fNode = new DOMImport(fDocument, sourceRange, importName, onDemand); in acceptImport() 45 int[] sourceRange = new int[] { declarationStart, declarationEnd }; in acceptPackage() local 46 fNode = new DOMPackage(fDocument, sourceRange, CharArrayOps in acceptPackage() 104 fNode = new DOMMethod(fDocument, sourceRange, CharArrayOps in enterAbstractMethod() 144 int[] sourceRange = { declarationStart, -1 }; in enterField() local 150 fNode = new DOMField(fDocument, sourceRange, CharArrayOps in enterField() 161 int[] sourceRange = { declarationSourceStart, -1 }; in enterInitializer() local 162 fNode = new DOMInitializer(fDocument, sourceRange, modifiers); in enterInitializer() 192 int[] sourceRange = { declarationStart, -1 }; // will be fixed in in enterType() local [all …]
|
H A D | DOMInitializer.java | 79 DOMInitializer(char[] document, int[] sourceRange, int[] commentRange, in DOMInitializer() argument 81 super(document, sourceRange, null, new int[] { -1, -1 }, commentRange, in DOMInitializer() 85 fBodyRange[1] = sourceRange[1]; in DOMInitializer() 107 DOMInitializer(char[] document, int[] sourceRange, int flags) { in DOMInitializer() argument 108 this(document, sourceRange, new int[] { -1, -1 }, flags, new int[] { in DOMInitializer()
|
H A D | DOMBuilder.java | 70 int[] sourceRange = { declarationStart, declarationEnd }; in acceptImport() local 77 fNode = new DOMImport(fDocument, sourceRange, importName, nameRange, in acceptImport() 93 int[] sourceRange = { declarationStart, declarationEnd }; in acceptInitializer() local 106 fNode = new DOMInitializer(fDocument, sourceRange, commentRange, in acceptInitializer() 121 int[] sourceRange = { declarationStart, declarationEnd }; in acceptPackage() local 123 fNode = new DOMPackage(fDocument, sourceRange, CharArrayOps in acceptPackage() 407 fNode = new DOMMethod(fDocument, sourceRange, CharArrayOps in enterAbstractMethod() 482 int[] sourceRange = { in enterField() local 507 fNode = new DOMField(fDocument, sourceRange, CharArrayOps in enterField() 572 int[] sourceRange = { declarationStart, -1 }; // will be fixed in in enterType() local [all …]
|
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Appengine/ |
H A D | FirewallRule.php | 23 public $sourceRange; variable in Google_Service_Appengine_FirewallRule 49 public function setSourceRange($sourceRange) argument 51 $this->sourceRange = $sourceRange; 55 return $this->sourceRange;
|
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/google/apiclient-services/src/Google/Service/Appengine/ |
H A D | FirewallRule.php | 23 public $sourceRange; variable in Google_Service_Appengine_FirewallRule 49 public function setSourceRange($sourceRange) argument 51 $this->sourceRange = $sourceRange; 55 return $this->sourceRange;
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/dom/fragments/ |
H A D | Util.java | 73 public static int getEndExclusive(ISourceRange sourceRange) { in getEndExclusive() argument 74 return sourceRange.getOffset() + sourceRange.getLength(); in getEndExclusive() 77 public static int getEndInclusive(ISourceRange sourceRange) { in getEndInclusive() argument 78 return getEndExclusive(sourceRange) - 1; in getEndInclusive() 81 public static boolean covers(ISourceRange sourceRange, ASTNode astNode) { in covers() argument 82 return covers(sourceRange, SourceRangeFactory.create(astNode)); in covers()
|
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/google/apiclient-services/src/Google/Service/Sheets/ |
H A D | ChartData.php | 26 public function setSourceRange(Google_Service_Sheets_ChartSourceRange $sourceRange) argument 28 $this->sourceRange = $sourceRange; 35 return $this->sourceRange;
|
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Sheets/ |
H A D | ChartData.php | 67 public function setSourceRange(Google_Service_Sheets_ChartSourceRange $sourceRange) argument 69 $this->sourceRange = $sourceRange; 76 return $this->sourceRange;
|
/dports/net/traefik/traefik-2.6.1/docs/content/middlewares/tcp/ |
H A D | ipwhitelist.md | 23 sourceRange: 49 sourceRange = ["127.0.0.1/32", "192.168.1.7"] 58 sourceRange: 65 ### `sourceRange` 67 The `sourceRange` option sets the allowed IPs (or ranges of allowed IPs by using CIDR notation).
|
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/hashicorp/hcl/v2/hcldec/ |
H A D | spec.go | 41 sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range methodSpec 411 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 569 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 695 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 854 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1486 return s.Primary.sourceRange(content, blockLabels) 1538 return s.Wrapped.sourceRange(content, blockLabels) 1581 Subject: s.sourceRange(content, blockLabels).Ptr(), 1603 return s.Wrapped.sourceRange(content, blockLabels) 1636 validateDiags[i].Subject = s.sourceRange(content, blockLabels).Ptr() [all …]
|
/dports/sysutils/nomad/nomad-1.1.0/vendor/github.com/hashicorp/hcl/v2/hcldec/ |
H A D | spec.go | 41 sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range methodSpec 405 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 558 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 679 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 832 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1448 return s.Primary.sourceRange(content, blockLabels) 1500 return s.Wrapped.sourceRange(content, blockLabels) 1543 Subject: s.sourceRange(content, blockLabels).Ptr(), 1565 return s.Wrapped.sourceRange(content, blockLabels) 1598 validateDiags[i].Subject = s.sourceRange(content, blockLabels).Ptr() [all …]
|
/dports/sysutils/terraform-docs/terraform-docs-0.16.0/vendor/github.com/hashicorp/hcl/v2/hcldec/ |
H A D | spec.go | 41 sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range methodSpec 411 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 569 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 695 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 854 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1486 return s.Primary.sourceRange(content, blockLabels) 1538 return s.Wrapped.sourceRange(content, blockLabels) 1581 Subject: s.sourceRange(content, blockLabels).Ptr(), 1603 return s.Wrapped.sourceRange(content, blockLabels) 1636 validateDiags[i].Subject = s.sourceRange(content, blockLabels).Ptr() [all …]
|
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/hashicorp/hcl/v2/hcldec/ |
H A D | spec.go | 41 sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range methodSpec 411 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 569 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 695 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 854 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1486 return s.Primary.sourceRange(content, blockLabels) 1538 return s.Wrapped.sourceRange(content, blockLabels) 1581 Subject: s.sourceRange(content, blockLabels).Ptr(), 1603 return s.Wrapped.sourceRange(content, blockLabels) 1636 validateDiags[i].Subject = s.sourceRange(content, blockLabels).Ptr() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/nomad/vendor/github.com/hashicorp/hcl2/hcldec/ |
H A D | spec.go | 40 sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range methodSpec 394 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 547 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 668 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 821 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 966 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1110 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1424 return s.Primary.sourceRange(content, blockLabels) 1476 return s.Wrapped.sourceRange(content, blockLabels) 1519 Subject: s.sourceRange(content, blockLabels).Ptr(), [all …]
|
/dports/sysutils/terraform-provider-gridscale/terraform-provider-gridscale-1.6.2/vendor/github.com/hashicorp/hcl2/hcldec/ |
H A D | spec.go | 40 sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range methodSpec 394 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 547 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 668 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 821 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 966 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1110 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1424 return s.Primary.sourceRange(content, blockLabels) 1476 return s.Wrapped.sourceRange(content, blockLabels) 1519 Subject: s.sourceRange(content, blockLabels).Ptr(), [all …]
|
/dports/sysutils/terraform-switcher/terraform-switcher-0.13.1201/vendor/github.com/hashicorp/hcl2/hcldec/ |
H A D | spec.go | 40 sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range methodSpec 394 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 547 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 668 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 821 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 966 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1110 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1424 return s.Primary.sourceRange(content, blockLabels) 1476 return s.Wrapped.sourceRange(content, blockLabels) 1519 Subject: s.sourceRange(content, blockLabels).Ptr(), [all …]
|
/dports/sysutils/terraform-provider-vultr/terraform-provider-vultr-0.1.10/vendor/github.com/hashicorp/hcl2/hcldec/ |
H A D | spec.go | 40 sourceRange(content *hcl.BodyContent, blockLabels []blockLabel) hcl.Range methodSpec 394 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 547 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 668 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 821 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 966 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1110 return sourceRange(childBlock.Body, labelsForBlock(childBlock), s.Nested) 1424 return s.Primary.sourceRange(content, blockLabels) 1476 return s.Wrapped.sourceRange(content, blockLabels) 1519 Subject: s.sourceRange(content, blockLabels).Ptr(), [all …]
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/tools/clangbackend/source/ |
H A D | diagnostic.cpp | 113 const SourceRange sourceRange {cxTranslationUnit, in ranges() local 116 if (sourceRange.isValid()) in ranges() 117 ranges.push_back(std::move(sourceRange)); in ranges() 161 for (auto &&sourceRange : rangeVector) in getSourceRangeContainers() 162 sourceRangeContainers.push_back(sourceRange.toSourceRangeContainer()); in getSourceRangeContainers()
|