/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/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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UCharacterIterator.java | 321 public abstract int getText(char[] fillIn, int offset); in getText() method in UCharacterIterator 333 public final int getText(char[] fillIn) { in getText() method in UCharacterIterator 334 return getText(fillIn, 0); in getText() 342 public String getText() { in getText() method in UCharacterIterator 344 getText(text); in getText()
|
/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/smali/smali/src/main/java/org/jf/smali/ |
D | smaliTreeWalker.java | 569 retval.type = (CLASS_DESCRIPTOR9!=null?CLASS_DESCRIPTOR9.getText():null); in class_spec() 606 type = (CLASS_DESCRIPTOR11!=null?CLASS_DESCRIPTOR11.getText():null); in super_spec() 642 type = (CLASS_DESCRIPTOR12!=null?CLASS_DESCRIPTOR12.getText():null); in implements_spec() 818 value |= AccessFlags.getAccessFlag(ACCESS_SPEC15.getText()).getValue(); in access_list() 1037 …field = dexBuilder.internField(classType, (SIMPLE_NAME20!=null?SIMPLE_NAME20.getText():null), (non… in field() 2350 retval.name = (SIMPLE_NAME74!=null?SIMPLE_NAME74.getText():null); in method_name_and_prototype() 2483 …dReference = new ImmutableMethodReference(type, (SIMPLE_NAME78!=null?SIMPLE_NAME78.getText():null), in method_reference() 2547 …ldReference = new ImmutableFieldReference(type, (SIMPLE_NAME81!=null?SIMPLE_NAME81.getText():null), in field_reference() 2657 … method_stack.peek().methodBuilder.addLabel((SIMPLE_NAME84!=null?SIMPLE_NAME84.getText():null)); in label_def() 2947 … final int registerNumber = parseRegister_short((REGISTER86!=null?REGISTER86.getText():null)); in parameter() [all …]
|
/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/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/jmonkeyengine/engine/src/core/com/jme3/font/ |
D | BitmapText.java | 114 if (text == block.getText() || block.getText().equals(text)) { in setText() 126 public String getText() { in getText() method in BitmapText 127 return block.getText(); in getText() 258 Matcher m = p.matcher(block.getText()); in setStyle() 283 Matcher m = p.matcher(block.getText()); in setColor()
|
/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 …]
|
D | FilterDialog.java | 207 String filter = filterTextField.getText(); in getFilter() 227 String filter = apkFilterTextField.getText(); in getApkFilter() 247 String filter = jarFilterTextField.getText(); in getJarFilter() 267 String filter = aarFilterTextField.getText(); in getAarFilter() 287 String filter = warFilterTextField.getText(); in getWarFilter() 307 String filter = earFilterTextField.getText(); in getEarFilter() 327 String filter = zipFilterTextField.getText(); in getZipFilter()
|
/external/icu/icu4c/source/test/intltest/ |
D | citrtest.cpp | 44 virtual void getText(UnicodeString& result) { in getText() function in SCharacterIterator 231 test1->getText(result1); in TestConstructionAndEquality() 232 test1b->getText(result2); in TestConstructionAndEquality() 233 test1c->getText(result3); in TestConstructionAndEquality() 260 testChar1->getText(result1); in TestConstructionAndEquality() 261 testChar2->getText(result2); in TestConstructionAndEquality() 262 testChar3->getText(result3); in TestConstructionAndEquality() 266 testChar3->getText(result3); in TestConstructionAndEquality() 270 testChar3->getText(result3); in TestConstructionAndEquality() 328 test7a->getText(result); in TestConstructionAndEqualityUChariter() [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/awt/ |
D | TestCanvas.java | 92 if (itemRemoveCanvas.getText().equals("Remove Canvas")){ in createMenu() 96 }else if (itemRemoveCanvas.getText().equals("Add Canvas")){ in createMenu() 108 if (itemHideCanvas.getText().equals("Hide Canvas")){ in createMenu() 111 }else if (itemHideCanvas.getText().equals("Show Canvas")){ in createMenu() 122 if (itemSwitchTab.getText().equals("Switch to tab #2")){ in createMenu() 127 }else if (itemSwitchTab.getText().equals("Switch to tab #1")){ in createMenu()
|
/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/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | IDNAReference.java | 155 processOut = new StringBuffer(srcIter.getText()); in convertToASCII() 235 return convertIDNToASCII(iter.getText(), options); in convertIDNtoASCII() 309 processOut = new StringBuffer(iter.getText()); in convertToUnicode() 338 return new StringBuffer(iter.getText()); in convertToUnicode() 343 return convertIDNToUnicode(iter.getText(), options); in convertIDNToUnicode() 400 StringBuffer s1Out = convertIDNToASCII(i1.getText(), options); in compare() 401 StringBuffer s2Out = convertIDNToASCII(i2.getText(), options); in compare()
|