Home
last modified time | relevance | path

Searched refs:getText (Results 1 – 25 of 586) sorted by relevance

12345678910>>...24

/external/clang/unittests/AST/
DCommentLexer.cpp138 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/
DTestCommonTokenStream.java54 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/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DTimestampTagTest.java31 getText("canonical: 2001-12-15T02:59:43.1Z", "canonical")); in testTimestamp()
34 getText("canonical: 2001-12-15T02:59:43.000Z", "canonical")); in testTimestamp()
36 getText("valid iso8601: 2001-12-14t21:59:43.10-05:00", "valid iso8601")); in testTimestamp()
39 getText("valid iso8601: 2001-12-14t21:59:43.10-0:30", "valid iso8601")); in testTimestamp()
42 getText("valid iso8601: 2001-12-14t21:59:43.10+2:00", "valid iso8601")); in testTimestamp()
44 getText("space separated: 2001-12-14 21:59:43.10 -5", "space separated")); in testTimestamp()
46 getText("no time zone (Z): 2001-12-15 2:59:43.10", "no time zone (Z)")); in testTimestamp()
48 getText("date (00:00:00Z): 2002-12-14", "date (00:00:00Z)")); in testTimestamp()
50 getText("milliseconds: 2010-05-16 03:06:11.003", "milliseconds")); in testTimestamp()
52 getText("milliseconds: 2010-05-16 03:06:11.0068", "milliseconds")); in testTimestamp()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DAssignTokenTypesBehavior.java74 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 …]
DNameSpaceChecker.java131 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 …]
DRule.java187 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/
DgUnit.g190 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/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliLiteral.java58 return LiteralTools.parseLong(literalNode.getText()); in getIntegralValue()
61 return LiteralTools.parseInt(literalNode.getText()); in getIntegralValue()
63 return LiteralTools.parseShort(literalNode.getText()); in getIntegralValue()
68 return LiteralTools.parseByte(literalNode.getText()); in getIntegralValue()
70 return Boolean.parseBoolean(literalNode.getText())?1:0; in getIntegralValue()
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DVariableLocator.java53 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/
DCommonErrorNode.java67 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()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonErrorNode.js27 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/autotest/frontend/client/src/autotest/afe/
DControlTypeSelect.java19 return display.getClient().getText(); in getControlType()
21 return display.getServer().getText(); in getControlType()
25 if (display.getClient().getText().equals(type)) { in setControlType()
27 } else if (display.getServer().getText().equals(type)) { in setControlType()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptEditor.java201 mConfiguration.getInterpreterForScript(mNameText.getText().toString()); in onOptionsItemSelected()
216 intent.putExtra(Constants.EXTRA_SCRIPT_PATH, mNameText.getText().toString()); in onOptionsItemSelected()
218 mConfiguration.getInterpreterForScript(mNameText.getText().toString()).getName()); in onOptionsItemSelected()
219 intent.putExtra(Constants.EXTRA_SCRIPT_TEXT, mContentText.getText().toString()); in onOptionsItemSelected()
223 intent.putExtra(Intent.EXTRA_TEXT, mContentText.getText().toString()); in onOptionsItemSelected()
224 intent.putExtra(Intent.EXTRA_SUBJECT, "Share " + mNameText.getText().toString()); in onOptionsItemSelected()
261 mLastSavedContent = mContentText.getText().toString(); in save()
262 mScript = new File(mScript.getParent(), mNameText.getText().toString()); in save()
264 Toast.makeText(this, "Saved " + mNameText.getText().toString(), Toast.LENGTH_SHORT).show(); in save()
325 gotoLine(Integer.parseInt(mLineNo.getText().toString())); in onCreateDialog()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUCharacterIterator.java294 public abstract int getText(char[] fillIn, int offset); in getText() method in UCharacterIterator
305 public final int getText(char[] fillIn) { in getText() method in UCharacterIterator
306 return getText(fillIn, 0); in getText()
313 public String getText() { in getText() method in UCharacterIterator
315 getText(text); in getText()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUCharacterIterator.java314 public abstract int getText(char[] fillIn, int offset); in getText() method in UCharacterIterator
326 public final int getText(char[] fillIn) { in getText() method in UCharacterIterator
327 return getText(fillIn, 0); in getText()
335 public String getText() { in getText() method in UCharacterIterator
337 getText(text); in getText()
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java580 retval.type = (CLASS_DESCRIPTOR9!=null?CLASS_DESCRIPTOR9.getText():null); in class_spec()
617 type = (CLASS_DESCRIPTOR11!=null?CLASS_DESCRIPTOR11.getText():null); in super_spec()
653 type = (CLASS_DESCRIPTOR12!=null?CLASS_DESCRIPTOR12.getText():null); in implements_spec()
829 value |= AccessFlags.getAccessFlag(ACCESS_SPEC15.getText()).getValue(); in access_list()
1048 …field = dexBuilder.internField(classType, (SIMPLE_NAME20!=null?SIMPLE_NAME20.getText():null), (non… in field()
2361 retval.name = (SIMPLE_NAME74!=null?SIMPLE_NAME74.getText():null); in method_name_and_prototype()
2494 …dReference = new ImmutableMethodReference(type, (SIMPLE_NAME78!=null?SIMPLE_NAME78.getText():null), in method_reference()
2558 …ldReference = new ImmutableFieldReference(type, (SIMPLE_NAME81!=null?SIMPLE_NAME81.getText():null), in field_reference()
2668 … method_stack.peek().methodBuilder.addLabel((SIMPLE_NAME84!=null?SIMPLE_NAME84.getText():null)); in label_def()
2958 … final int registerNumber = parseRegister_short((REGISTER86!=null?REGISTER86.getText():null)); in parameter()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/
DSmalideaInstruction.java181 psiInstruction.getLiteral().getText())); in getReference()
185 return new ImmutableTypeReference(typeReference.getText()); in getReference()
189 String containingClass = methodReference.getContainingType().getText(); in getReference()
203 methodReference.getReturnType().getText()); in getReference()
207 containingClass = fieldReference.getContainingType().getText(); in getReference()
210 fieldReference.getFieldType().getText()); in getReference()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DOutputTest.java43 public String getText() { in getText() method in OutputTest
44 return token.getText(); in getText()
65 return token.getText(); in getExpected()
DReturnTest.java40 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/
DSoapFault12.java64 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/
DCommonErrorNode.as41 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/autotest/frontend/client/src/autotest/afe/create/
DCreateJobViewPresenter.java363 String kernelString = display.getKernel().getText(); in getControlFileParams()
366 "kernel", getKernelParams(kernelString, display.getKernelCmdline().getText())); in getControlFileParams()
385 profilers.set(profilers.size(), new JSONString(profiler.getText())); in getControlFileParams()
481 String image = display.getImageUrl().getText(); in handleBuildChange()
496 if (!display.getFirmwareRWBuild().getText().isEmpty()) in handleBuildChange()
497 builds.add(display.getFirmwareRWBuild().getText()); in handleBuildChange()
498 if (!display.getFirmwareROBuild().getText().isEmpty()) in handleBuildChange()
499 builds.add(display.getFirmwareROBuild().getText()); in handleBuildChange()
586 if (display.getEditControlButton().getText().equals(EDIT_CONTROL_STRING)) { in initialize()
664 String imageUrl = display.getImageUrl().getText(); in initialize()
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DTraceDebugEventListener.java51 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/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/
DMethodRecorder.java49 return printer.getText().equals(that.printer.getText()); in equals()
54 return printer.getText().hashCode(); in hashCode()
/external/proguard/src/proguard/gui/
DProGuardGUI.java879 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 …]

12345678910>>...24