/external/clang/unittests/AST/ |
D | CommentLexer.cpp | 138 ASSERT_EQ(StringRef(" Meow"), Toks[0].getText()); in TEST_F() 158 ASSERT_EQ(StringRef(" Meow"), Toks[0].getText()); in TEST_F() 181 ASSERT_EQ(StringRef(" Aaa"), Toks[0].getText()); in TEST_F() 183 ASSERT_EQ(StringRef("\\"), Toks[1].getText()); in TEST_F() 187 ASSERT_EQ(StringRef(" Bbb"), Toks[3].getText()); in TEST_F() 189 ASSERT_EQ(StringRef("\\"), Toks[4].getText()); in TEST_F() 191 ASSERT_EQ(StringRef(" "), Toks[5].getText()); in TEST_F() 195 ASSERT_EQ(StringRef(" Ccc?" "?/"), Toks[7].getText()); in TEST_F() 219 ASSERT_EQ(StringRef(" Aaa"), Toks[0].getText()); in TEST_F() 223 ASSERT_EQ(StringRef(" Bbb"), Toks[2].getText()); in TEST_F() [all …]
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestCommonTokenStream.java | 54 String result = tokens.LT(1).getText(); in testFirstToken() 75 String result = tokens.LT(2).getText(); in test2ndToken() 159 assertEquals("x", t.getText()); in testLookback() 164 assertEquals("x", t.getText()); in testLookback() 166 assertEquals(" ", t.getText()); in testLookback() 168 assertEquals("=", t.getText()); in testLookback() 202 assertEquals("x", tokens.LT(1).getText()); // must skip first off channel token in testOffChannel() 204 assertEquals("=", tokens.LT(1).getText()); in testOffChannel() 205 assertEquals("x", tokens.LT(-1).getText()); in testOffChannel() 208 assertEquals("34", tokens.LT(1).getText()); in testOffChannel() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | AssignTokenTypesBehavior.java | 74 t.getText()); in trackString() 82 grammar.getTokenType(t.getText())== Label.INVALID ) in trackString() 87 t.getText()); in trackString() 97 grammar.getTokenType(t.getText())==Label.INVALID ) in trackString() 99 stringLiterals.put(t.getText(), UNASSIGNED_IN_PARSER_RULE); in trackString() 108 if ( grammar.getTokenType(t.getText())==Label.INVALID && in trackToken() 109 tokens.get(t.getText())==null ) in trackToken() 111 tokens.put(t.getText(), UNASSIGNED); in trackToken() 122 if ( !Character.isUpperCase(t.getText().charAt(0)) ) { in trackTokenRule() 125 if ( t.getText().equals(Grammar.ARTIFICIAL_TOKENS_RULENAME) ) { in trackTokenRule() [all …]
|
D | NameSpaceChecker.java | 131 String ruleName = tok.getText(); in lookForReferencesToUndefinedSymbols() 150 String tokenID = tok.getText(); in lookForReferencesToUndefinedSymbols() 164 Grammar scopeG = grammar.composite.getGrammar(scopeAST.getText()); in lookForReferencesToUndefinedSymbols() 166 String ruleName = refAST.getText(); in lookForReferencesToUndefinedSymbols() 171 scopeAST.getText(), in lookForReferencesToUndefinedSymbols() 180 scopeAST.getText(), in lookForReferencesToUndefinedSymbols() 224 if ( grammar.getGlobalScope(label.getText())!=null ) { in checkForLabelConflict() 227 else if ( grammar.getRule(label.getText())!=null ) { in checkForLabelConflict() 230 else if ( grammar.getTokenType(label.getText())!=Label.INVALID ) { in checkForLabelConflict() 233 else if ( r.ruleScope!=null && r.ruleScope.getAttribute(label.getText())!=null ) { in checkForLabelConflict() [all …]
|
D | Rule.java | 187 labelNameSpace.put(label.getText(), pair); in defineLabel() 191 tokenLabels.put(label.getText(), pair); in defineLabel() 195 wildcardTreeLabels.put(label.getText(), pair); in defineLabel() 199 wildcardTreeListLabels.put(label.getText(), pair); in defineLabel() 203 ruleLabels.put(label.getText(), pair); in defineLabel() 207 tokenListLabels.put(label.getText(), pair); in defineLabel() 211 ruleListLabels.put(label.getText(), pair); in defineLabel() 215 charLabels.put(label.getText(), pair); in defineLabel() 271 List refs = (List)altToTokenRefMap[outerAltNum].get(refAST.getText()); in trackTokenReferenceInAlt() 274 altToTokenRefMap[outerAltNum].put(refAST.getText(), refs); in trackTokenReferenceInAlt() [all …]
|
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/ |
D | gUnit.g | 190 STRING : '"' ( ESC | ~('\\'|'"') )* '"' {setText(getText().substring(1, getText().length()-1));} 209 int oldEndIndex = getText().length()-2; 212 front = getText().substring(2, 3); 213 end = getText().substring(getText().length()-3, getText().length()-2); 215 newEndIndex = getText().length()-3; 218 front = getText().substring(2, 4); 219 end = getText().substring(getText().length()-4, getText().length()-2); 221 newEndIndex = getText().length()-4; 227 if ( newline.length()==1 && getText().length()==5 ) temp = ""; 228 else if ( newline.length()==2 && getText().length()==6 ) temp = ""; [all …]
|
/external/smack/src/org/jivesoftware/smackx/provider/ |
D | XHTMLExtensionProvider.java | 65 lastTag = parser.getText(); in parseExtension() 66 buffer.append(parser.getText()); in parseExtension() 70 buffer.append(StringUtils.escapeForXML(parser.getText())); in parseExtension() 74 buffer.append(parser.getText()); in parseExtension() 84 if(lastTag == null || !lastTag.equals(parser.getText())) { in parseExtension() 85 buffer.append(parser.getText()); in parseExtension()
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
D | VariableLocator.java | 53 return ((ANameVariable) variable).getWord().getText(); in quickEval() 55 return ((ADecNumberVariable) variable).getDecNumber().getText(); in quickEval() 57 return ((AHexNumberVariable) variable).getHexNumber().getText(); in quickEval() 84 descendVariable(node.getWord().getText()); in caseANameVariable() 89 descendVariable(node.getDecNumber().getText()); in caseADecNumberVariable() 94 descendVariable(node.getHexNumber().getText()); in caseAHexNumberVariable()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | CommonErrorNode.java | 67 public String getText() { in getText() method in CommonErrorNode 97 ", resync="+getText()+">"; in toString() 100 return "<mismatched token: "+trappedException.token+", resync="+getText()+">"; in toString() 104 ", resync="+getText()+">"; in toString() 106 return "<error: "+getText()+">"; in toString()
|
D | ParseTree.java | 55 public String getText() { in getText() method in ParseTree 79 return t.getText(); in toString() 92 buf.append(hidden.getText()); in toStringWithHiddenTokens()
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | CommonErrorNode.js | 27 getText: function() { method 57 ", resync="+this.getText()+">"; 60 return "<mismatched token: "+this.trappedException.token+", resync="+this.getText()+">"; 64 ", resync="+this.getText()+">"; 66 return "<error: "+this.getText()+">";
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/walkers/ |
D | layout_line_walker_test.unitjs | 95 assertEquals(this.line1Text, sel.getText()); 98 assertEquals(this.line1Text, sel.getText()); 101 assertEquals(this.line1Text, sel.getText()); 104 assertEquals(this.line2Text, sel.getText()); 107 assertEquals(this.line2Text, sel.getText()); 111 assertEquals(this.line1Text, sel.getText()); 114 assertEquals(this.line1Text, sel.getText()); 117 assertEquals(this.line2Text, sel.getText()); 120 assertEquals(this.line2Text, sel.getText()); 155 assertEquals(this.line3Text, last.getText()); [all …]
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/ |
D | SuggestionAnswerTest.java | 111 assertEquals("text", firstLine.getTextFields().get(0).getText()); in testContents() 113 assertEquals("moar", firstLine.getTextFields().get(1).getText()); in testContents() 115 assertEquals("hi there", firstLine.getAdditionalText().getText()); in testContents() 119 assertEquals("ftw", secondLine.getTextFields().get(0).getText()); in testContents() 121 assertEquals("shop S-Mart", secondLine.getStatusText().getText()); in testContents()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
D | OutputTest.java | 43 public String getText() { in getText() method in OutputTest 44 return token.getText(); in getText() 65 return token.getText(); in getExpected()
|
D | ReturnTest.java | 40 public String getText() { in getText() method in ReturnTest 41 return retval.getText(); in getText() 61 String expect = retval.getText(); in getExpected()
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/ |
D | SoapFault12.java | 64 this.faultcode = Code.getElement(SoapEnvelope.ENV2003, "Value").getText(0); in parse() 65 this.faultstring = Reason.getElement(SoapEnvelope.ENV2003, "Text").getText(0); in parse() 138 return Reason.getElement(SoapEnvelope.ENV2003, "Text").getText(0); in getMessage() 143 String reason = Reason.getElement(SoapEnvelope.ENV2003, "Text").getText(0); in toString() 144 String code = Code.getElement(SoapEnvelope.ENV2003, "Value").getText(0); in toString()
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
D | CommonErrorNode.as | 41 public function getText():String { method in org.antlr.runtime.tree.CommonErrorNode 71 ", resync="+getText()+">"; 74 return "<mismatched token: "+trappedException.token+", resync="+getText()+">"; 78 ", resync="+getText()+">"; 80 return "<error: "+getText()+">";
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliTreeWalker.java | 588 retval.type = (CLASS_DESCRIPTOR9!=null?CLASS_DESCRIPTOR9.getText():null); in class_spec() 625 type = (CLASS_DESCRIPTOR11!=null?CLASS_DESCRIPTOR11.getText():null); in super_spec() 661 type = (CLASS_DESCRIPTOR12!=null?CLASS_DESCRIPTOR12.getText():null); in implements_spec() 837 value |= AccessFlags.getAccessFlag(ACCESS_SPEC15.getText()).getValue(); in access_list() 1056 …field = dexBuilder.internField(classType, (SIMPLE_NAME20!=null?SIMPLE_NAME20.getText():null), (non… in field() 2369 retval.name = (SIMPLE_NAME74!=null?SIMPLE_NAME74.getText():null); in method_name_and_prototype() 2481 …return)reference_type_descriptor77).type:null), (SIMPLE_NAME78!=null?SIMPLE_NAME78.getText():null), in fully_qualified_method() 2524 …return)reference_type_descriptor80).type:null), (SIMPLE_NAME81!=null?SIMPLE_NAME81.getText():null), in fully_qualified_field() 2634 … method_stack.peek().methodBuilder.addLabel((SIMPLE_NAME84!=null?SIMPLE_NAME84.getText():null)); in label_def() 2924 … final int registerNumber = parseRegister_short((REGISTER86!=null?REGISTER86.getText():null)); in parameter() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | TraceDebugEventListener.java | 51 String text = adaptor.getText(t); in consumeNode() 58 String text = adaptor.getText(t); in LT() 69 String text = adaptor.getText(t); in createNode() 76 String text = adaptor.getText(node); in createNode()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/ |
D | ComplexProperty.java | 70 public String getText() throws Exception { in getText() method in ComplexProperty 151 protected String getText(Property property) throws Exception { in getAdapter() 184 protected String getText(Property property) throws Exception { 185 return ((ComplexProperty) property).getText();
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | citrtest.cpp | 43 virtual void getText(UnicodeString& result) { in getText() function in SCharacterIterator 232 test1->getText(result1); in TestConstructionAndEquality() 233 test1b->getText(result2); in TestConstructionAndEquality() 234 test1c->getText(result3); in TestConstructionAndEquality() 261 testChar1->getText(result1); in TestConstructionAndEquality() 262 testChar2->getText(result2); in TestConstructionAndEquality() 263 testChar3->getText(result3); in TestConstructionAndEquality() 267 testChar3->getText(result3); in TestConstructionAndEquality() 271 testChar3->getText(result3); in TestConstructionAndEquality() 329 test7a->getText(result); in TestConstructionAndEqualityUChariter() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | citrtest.cpp | 43 virtual void getText(UnicodeString& result) { in getText() function in SCharacterIterator 232 test1->getText(result1); in TestConstructionAndEquality() 233 test1b->getText(result2); in TestConstructionAndEquality() 234 test1c->getText(result3); in TestConstructionAndEquality() 261 testChar1->getText(result1); in TestConstructionAndEquality() 262 testChar2->getText(result2); in TestConstructionAndEquality() 263 testChar3->getText(result3); in TestConstructionAndEquality() 267 testChar3->getText(result3); in TestConstructionAndEquality() 271 testChar3->getText(result3); in TestConstructionAndEquality() 329 test7a->getText(result); in TestConstructionAndEqualityUChariter() [all …]
|
/external/proguard/src/proguard/gui/ |
D | ProGuardGUI.java | 879 fileChooser.setSelectedFile(new File(textField.getText())); in createBrowseButton() 904 optimizationsDialog.setFilter(textField.getText()); in createOptimizationsButton() 1122 boilerplateKeepTextFields[index].getText())); in getProGuardConfiguration() 1132 boilerplateKeepNamesTextFields[index].getText())); in getProGuardConfiguration() 1174 …lected() ? new File(printUsageTextField .getText()) : null; in getProGuardConfiguration() 1179 …timizationsTextField.getText().length() > 1 ? ListUtil.commaSeparatedList(optimizationsTex… in getProGuardConfiguration() 1183 …lected() ? new File(printMappingTextField .getText()) : null; in getProGuardConfiguration() 1184 …lected() ? new File(applyMappingTextField .getText()) : null; in getProGuardConfiguration() 1185 …lected() ? new File(obfuscationDictionaryTextField .getText()) : null; in getProGuardConfiguration() 1186 …lected() ? new File(classObfuscationDictionaryTextField .getText()) : null; in getProGuardConfiguration() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | ClassicToken.java | 52 text = oldToken.getText(); in ClassicToken() 78 public String getText() { in getText() method in ClassicToken 130 String txt = getText(); in toString()
|
/external/chromium_org/third_party/icu/source/samples/citer/ |
D | citer.cpp | 61 iter.getText(result1); in TestUChariter() 62 test2->getText(result2); in TestUChariter() 126 iter.getText(result1); in TestStringiter() 127 test2->getText(result2); in TestStringiter()
|