Home
last modified time | relevance | path

Searched refs:currentName (Results 1 – 25 of 49) sorted by relevance

12

/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DVariableLocator.java35 private StringBuilder currentName; field in VariableLocator
74 StringBuilder lastName = currentName; in getVariableName()
75 currentName = new StringBuilder(10); in getVariableName()
77 result = currentName.toString(); in getVariableName()
78 currentName = lastName; in getVariableName()
111 if (currentName.length() != 0) { in descendVariable()
112 currentName.append('.'); in descendVariable()
114 currentName.append(name); in descendVariable()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncParserNamesTest.java43 assertEquals(name, p.currentName()); in _testWithName()
47 assertEquals(name, p.currentName()); in _testWithName()
65 assertSame(STR1, p.currentName()); in testSymbolTable()
69 assertSame("foobar", p.currentName()); in testSymbolTable()
73 assertSame("longername", p.currentName()); in testSymbolTable()
92 assertSame(STR1, p.currentName()); in testSymbolTable()
96 assertSame("foobar", p.currentName()); in testSymbolTable()
100 assertSame("longername", p.currentName()); in testSymbolTable()
DAsyncSimpleNestedTest.java42 assertEquals("foobar", r.currentName()); in _testStuffInObject()
54 assertEquals("emptyObject", r.currentName()); in _testStuffInObject()
60 assertEquals("emptyArray", r.currentName()); in _testStuffInObject()
65 assertEquals("other", r.currentName()); in _testStuffInObject()
68 assertEquals("", r.currentName()); in _testStuffInObject()
108 assertEquals("moreStuff", r.currentName()); in _testStuffInArray()
119 assertEquals("extraOrdinary", r.currentName()); in _testStuffInArray()
153 assertEquals(SHORT_NAME, r.currentName()); in _testStuffInArray2()
159 assertEquals(LONG_NAME, r.currentName()); in _testStuffInArray2()
165 assertEquals(LONG_NAME, r.currentName()); in _testStuffInArray2()
[all …]
DAsyncNonStdParsingTest.java53 assertEquals("abc"+(i&127), p.currentName()); in _testLargeUnquoted()
85 assertEquals("a", p.currentName()); in _testSimpleUnquoted()
88 assertEquals("_foo", p.currentName()); in _testSimpleUnquoted()
91 assertEquals("$", p.currentName()); in _testSimpleUnquoted()
97 assertEquals(" ", p.currentName()); in _testSimpleUnquoted()
110 assertEquals("123", p.currentName()); in _testSimpleUnquoted()
114 assertEquals("4", p.currentName()); in _testSimpleUnquoted()
233 assertEquals("b", p.currentName()); in _testAposQuotingEnabled()
239 assertEquals("b", p.currentName()); in _testAposQuotingEnabled()
249 assertEquals("b", p.currentName()); in _testAposQuotingEnabled()
[all …]
DAsyncStringObjectTest.java57 assertEquals(UNICODE_SHORT_NAME, r.currentName()); in _testBasicFieldsNames2()
69 assertEquals(UNICODE_LONG_NAME, r.currentName()); in _testBasicFieldsNames2()
80 assertEquals(ASCII_SHORT_NAME, r.currentName()); in _testBasicFieldsNames2()
DAsyncFieldNamesTest.java39 assertEquals(fieldName, r.currentName()); in _testSimpleFieldName()
107 assertEquals(expName, r.currentName()); in _testEscapedFieldNames()
121 assertEquals(expName, r.currentName()); in _testEscapedAposFieldNames()
DAsyncCommentParsingTest.java188 assertEquals("a", p.currentName()); in _testYAMLComments()
192 assertEquals("b", p.currentName()); in _testYAMLComments()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceTableAccess.java59 String currentName = null; in getTableString() local
61 currentName = LocaleIDs.getCurrentCountryID(item); in getTableString()
63 currentName = LocaleIDs.getCurrentLanguageID(item); in getTableString()
65 if (currentName != null) { in getTableString()
66 result = table.findStringWithFallback(currentName); in getTableString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceTableAccess.java57 String currentName = null; in getTableString() local
59 currentName = LocaleIDs.getCurrentCountryID(item); in getTableString()
61 currentName = LocaleIDs.getCurrentLanguageID(item); in getTableString()
63 if (currentName != null) { in getTableString()
64 result = table.findStringWithFallback(currentName); in getTableString()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestTreeTraversingParser.java52 assertNull(p.currentName()); in testSimple()
55 assertNull(p.currentName()); in testSimple()
59 assertEquals("a", p.currentName()); in testSimple()
63 assertEquals("a", p.currentName()); in testSimple()
68 assertEquals("list", p.currentName()); in testSimple()
72 assertEquals("list", p.currentName()); in testSimple()
76 assertNull(p.currentName()); in testSimple()
81 assertNull(p.currentName()); in testSimple()
85 assertNull(p.currentName()); in testSimple()
90 assertNull(p.currentName()); in testSimple()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonStreamContext.java274 String currentName = getCurrentName(); in toString() local
275 if (currentName != null) { in toString()
277 CharTypes.appendQuoted(sb, currentName); in toString()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedNumberFormat.java1403 String currentName = ruleSets[n].getName(); in setDefaultRuleSet() local
1404 if (currentName.equals("%spellout-numbering") || in setDefaultRuleSet()
1405 currentName.equals("%digits-ordinal") || in setDefaultRuleSet()
1406 currentName.equals("%duration")) { in setDefaultRuleSet()
1719 String currentName = ruleSet.getName(); in init() local
1720 ruleSetsMap.put(currentName, ruleSet); in init()
1721 if (!currentName.startsWith("%%")) { in init()
1724 && currentName.equals("%spellout-numbering") in init()
1725 || currentName.equals("%digits-ordinal") in init()
1726 || currentName.equals("%duration")) in init()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedNumberFormat.java1437 String currentName = ruleSets[n].getName(); in setDefaultRuleSet() local
1438 if (currentName.equals("%spellout-numbering") || in setDefaultRuleSet()
1439 currentName.equals("%digits-ordinal") || in setDefaultRuleSet()
1440 currentName.equals("%duration")) { in setDefaultRuleSet()
1758 String currentName = ruleSet.getName(); in init() local
1759 ruleSetsMap.put(currentName, ruleSet); in init()
1760 if (!currentName.startsWith("%%")) { in init()
1763 && currentName.equals("%spellout-numbering") in init()
1764 || currentName.equals("%digits-ordinal") in init()
1765 || currentName.equals("%duration")) in init()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBuilderBasedDeserializer.java287 String propName = p.currentName(); in vanillaDeserialize()
332 String propName = p.currentName(); in deserializeFromObject()
374 String propName = p.currentName(); in _deserializeUsingPropertyBased()
482 String propName = p.currentName(); in _deserialize()
553 String propName = p.currentName(); in deserializeWithView()
604 String propName = p.currentName(); in deserializeWithUnwrapped()
655 String propName = p.currentName(); in deserializeUsingPropertyBasedWithUnwrapped()
716 String propName = p.currentName(); in deserializeWithUnwrapped()
771 String propName = p.currentName(); in deserializeWithExternalTypeId()
DBeanDeserializer.java271 propName = p.currentName(); in deserialize()
317 String propName = p.currentName(); in vanillaDeserialize()
351 && _objectIdReader.isValidReferencePropertyName(p.currentName(), p)) { in deserializeFromObject()
396 String propName = p.currentName(); in deserializeFromObject()
435 String propName = p.currentName(); in _deserializeUsingPropertyBased()
655 String propName = p.currentName(); in deserializeWithView()
709 String propName = p.hasTokenId(JsonTokenId.ID_FIELD_NAME) ? p.currentName() : null; in deserializeWithUnwrapped()
769 String propName = p.currentName(); in deserializeWithUnwrapped()
830 String propName = p.currentName(); in deserializeUsingPropertyBasedWithUnwrapped()
955 String propName = p.currentName(); in deserializeWithExternalTypeId()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DTestTokenBuffer.java289 assertNull(p.currentName()); in testSimpleObject()
291 assertEquals("num", p.currentName()); in testSimpleObject()
294 assertEquals("bah", p.currentName()); in testSimpleObject()
299 assertEquals("bah", p.currentName()); in testSimpleObject()
302 assertNull(p.currentName()); in testSimpleObject()
353 assertEquals("a", p.currentName()); in testAppend()
356 assertEquals("b", p.currentName()); in testAppend()
569 assertNull(seq.currentName()); in testWithJsonParserSequenceSimple()
/external/vogar/src/vogar/
DConsole.java443 private String currentName; field in Console.StreamingConsole
448 currentName = name; in action()
457 if (name.equals(currentName)) { in outcome()
461 currentName = name; in outcome()
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowDtdDiffs.java40 String currentName = current == null ? "trunk" : current; in main() local
66 diff(currentName + "\t" + type, dtdLast, dtdCurrent); in main()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DAsPropertyTypeDeserializer.java95 final String name = p.currentName(); in deserializeTypedFromObject()
120 tb.writeFieldName(p.currentName()); in _deserializeTypedForId()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DMapEntryDeserializer.java202 final String keyStr = p.currentName(); in deserialize()
226 p.currentName()); in deserialize()
DMapDeserializer.java527 keyStr = p.currentName(); in _readAndBind()
591 key = p.currentName(); in _readAndBindStringKeyMap()
641 key = p.currentName(); in _deserializeUsingCreator()
730 keyStr = p.currentName(); in _readAndUpdate()
799 key = p.currentName(); in _readAndUpdateStringKeyMap()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DTestCreatorsDelegating.java217 assertEquals("a", jp.currentName()); in testDelegateWithTokenBuffer()
221 assertEquals("b", jp.currentName()); in testDelegateWithTokenBuffer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java539 sb.append(jp.currentName()); in toString()
1048 writeFieldName(p.currentName()); in copyCurrentEvent()
1116 writeFieldName(p.currentName()); in copyCurrentStructure()
1163 writeFieldName(p.currentName()); in _copyBufferContents()
1620 return (nextToken() == JsonToken.FIELD_NAME) ? currentName() : null; in nextFieldName()
1644 public String currentName() { in currentName() method in TokenBuffer.Parser
1654 public String getCurrentName() { return currentName(); } in getCurrentName()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/testsupport/
DAsyncReaderWrapper.java49 public String currentName() throws IOException { in currentName() method in AsyncReaderWrapper
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DObjectWriteTest.java244 assertEquals("big", jp.currentName()); in testConvenienceMethodsWithNulls()
248 assertEquals("dec", jp.currentName()); in testConvenienceMethodsWithNulls()

12