Home
last modified time | relevance | path

Searched refs:fieldName (Results 1 – 25 of 242) sorted by relevance

12345678910

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DObjectNode.java108 public JsonNode get(String fieldName) { in get() argument
109 return _children.get(fieldName); in get()
123 public JsonNode path(String fieldName) in path() argument
125 JsonNode n = _children.get(fieldName); in path()
133 public JsonNode required(String fieldName) { in required() argument
134 JsonNode n = _children.get(fieldName); in required()
138 return _reportRequiredViolation("No value for property '%s' of `ObjectNode`", fieldName); in required()
216 public JsonNode findValue(String fieldName) in findValue() argument
219 if (fieldName.equals(entry.getKey())) { in findValue()
222 JsonNode value = entry.getValue().findValue(fieldName); in findValue()
[all …]
DValueNode.java80 public final JsonNode get(String fieldName) { return null; } in get() argument
83 public final JsonNode path(String fieldName) { return MissingNode.getInstance(); } in path() argument
86 public final boolean has(String fieldName) { return false; } in has() argument
89 public final boolean hasNonNull(String fieldName) { return false; } in hasNonNull() argument
98 public final JsonNode findValue(String fieldName) { in findValue() argument
104 public final ObjectNode findParent(String fieldName) { in findParent() argument
109 public final List<JsonNode> findValues(String fieldName, List<JsonNode> foundSoFar) { in findValues() argument
114 public final List<String> findValuesAsText(String fieldName, List<String> foundSoFar) { in findValuesAsText() argument
119 public final List<JsonNode> findParents(String fieldName, List<JsonNode> foundSoFar) { in findParents() argument
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DFieldLocator.java39 private final String fieldName; field in FieldLocator
41 public FieldLocator(String packageName, String typeName, String fieldName) { in FieldLocator() argument
42 this(new TypeLocator(packageName, typeName), fieldName); in FieldLocator()
45 public FieldLocator(TypeLocator typeLocator, String fieldName) { in FieldLocator() argument
47 this.fieldName = fieldName; in FieldLocator()
61 if (nodeFieldName.equals(fieldName)) { in matches()
88 if (nodeFieldName.equals(fieldName)) { in find()
102 return typeLocator.getStringFormTarget() + "#" + fieldName; in getStringFormTarget()
127 Objects.equals(fieldName, that.fieldName); in equals()
132 return Objects.hash(typeLocator, fieldName); in hashCode()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJsonNode.java167 public JsonNode get(String fieldName) { return null; } in get() argument
179 public abstract JsonNode path(String fieldName); in path() argument
736 public JsonNode required(String fieldName) throws IllegalArgumentException { in required() argument
844 public boolean has(String fieldName) { in has() argument
845 return get(fieldName) != null; in has()
885 public boolean hasNonNull(String fieldName) { in hasNonNull() argument
886 JsonNode n = get(fieldName); in hasNonNull()
953 public abstract JsonNode findValue(String fieldName); in findValue() argument
964 public final List<JsonNode> findValues(String fieldName) in findValues() argument
966 List<JsonNode> result = findValues(fieldName, null); in findValues()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonGenerator.java1692 public void writeBinaryField(String fieldName, byte[] data) throws IOException { in writeBinaryField() argument
1693 writeFieldName(fieldName); in writeBinaryField()
1705 public void writeBooleanField(String fieldName, boolean value) throws IOException { in writeBooleanField() argument
1706 writeFieldName(fieldName); in writeBooleanField()
1718 public void writeNullField(String fieldName) throws IOException { in writeNullField() argument
1719 writeFieldName(fieldName); in writeNullField()
1733 public void writeStringField(String fieldName, String value) throws IOException { in writeStringField() argument
1734 writeFieldName(fieldName); in writeStringField()
1748 public void writeNumberField(String fieldName, short value) throws IOException { in writeNumberField() argument
1749 writeFieldName(fieldName); in writeNumberField()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
DXMPPathFactory.java115 String fieldName) throws XMPException in composeStructFieldPath() argument
118 assertFieldName(fieldName); in composeStructFieldPath()
120 XMPPath fieldPath = XMPPathParser.expandXPath(fieldNS, fieldName); in composeStructFieldPath()
222 String fieldName, String fieldValue) throws XMPException in composeFieldSelector() argument
224 XMPPath fieldPath = XMPPathParser.expandXPath(fieldNS, fieldName); in composeFieldSelector()
284 private static void assertFieldName(String fieldName) throws XMPException in assertFieldName() argument
286 if (fieldName == null || fieldName.length() == 0) in assertFieldName()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DOkHeaders.java94 String fieldName = headers.name(i); in toMultimap() local
98 List<String> otherValues = result.get(fieldName); in toMultimap()
103 result.put(fieldName, Collections.unmodifiableList(allValues)); in toMultimap()
210 String fieldName = requestHeaders.name(i); in varyHeaders() local
211 if (varyFields.contains(fieldName)) { in varyHeaders()
212 result.add(fieldName, requestHeaders.value(i)); in varyHeaders()
222 static boolean isEndToEnd(String fieldName) { in isEndToEnd() argument
223 return !"Connection".equalsIgnoreCase(fieldName) in isEndToEnd()
224 && !"Keep-Alive".equalsIgnoreCase(fieldName) in isEndToEnd()
225 && !"Proxy-Authenticate".equalsIgnoreCase(fieldName) in isEndToEnd()
[all …]
DCacheStrategy.java133 String fieldName = headers.name(i); in Factory() local
135 if ("Date".equalsIgnoreCase(fieldName)) { in Factory()
138 } else if ("Expires".equalsIgnoreCase(fieldName)) { in Factory()
140 } else if ("Last-Modified".equalsIgnoreCase(fieldName)) { in Factory()
143 } else if ("ETag".equalsIgnoreCase(fieldName)) { in Factory()
145 } else if ("Age".equalsIgnoreCase(fieldName)) { in Factory()
147 } else if (OkHeaders.SENT_MILLIS.equalsIgnoreCase(fieldName)) { in Factory()
149 } else if (OkHeaders.RECEIVED_MILLIS.equalsIgnoreCase(fieldName)) { in Factory()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DOkHeaders.java96 String fieldName = headers.name(i); in toMultimap() local
100 List<String> otherValues = result.get(fieldName); in toMultimap()
105 result.put(fieldName, Collections.unmodifiableList(allValues)); in toMultimap()
212 String fieldName = requestHeaders.name(i); in varyHeaders() local
213 if (varyFields.contains(fieldName)) { in varyHeaders()
214 result.add(fieldName, requestHeaders.value(i)); in varyHeaders()
224 static boolean isEndToEnd(String fieldName) { in isEndToEnd() argument
225 return !"Connection".equalsIgnoreCase(fieldName) in isEndToEnd()
226 && !"Keep-Alive".equalsIgnoreCase(fieldName) in isEndToEnd()
227 && !"Proxy-Authenticate".equalsIgnoreCase(fieldName) in isEndToEnd()
[all …]
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DResultSetMetaDataTest.java61 String fieldName = element.getName(); in testPublicStatics() local
66 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics()
68 fail("Field " + fieldName + " missing!"); in testPublicStatics()
70 assertEquals("Field " + fieldName + " value mismatch: ", in testPublicStatics()
72 assertEquals("Field " + fieldName + " modifier mismatch: ", in testPublicStatics()
76 fail("Illegal access to Field " + fieldName); in testPublicStatics()
DConnectionTest.java66 String fieldName = element.getName(); in testPublicStatics() local
71 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics()
73 fail("Field " + fieldName + " missing!"); in testPublicStatics()
75 assertEquals("Field " + fieldName + " value mismatch: ", in testPublicStatics()
77 assertEquals("Field " + fieldName + " modifier mismatch: ", in testPublicStatics()
81 fail("Illegal access to Field " + fieldName); in testPublicStatics()
DStatementTest.java69 String fieldName = element.getName(); in testPublicStatics() local
74 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics()
76 fail("Field " + fieldName + " missing!"); in testPublicStatics()
78 assertEquals("Field " + fieldName + " value mismatch: ", in testPublicStatics()
80 assertEquals("Field " + fieldName + " modifier mismatch: ", in testPublicStatics()
84 fail("Illegal access to Field " + fieldName); in testPublicStatics()
DParameterMetaDataTest.java71 String fieldName = element.getName(); in testPublicStatics() local
76 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics()
78 fail("Field " + fieldName + " missing!"); in testPublicStatics()
80 assertEquals("Field " + fieldName + " value mismatch: ", in testPublicStatics()
82 assertEquals("Field " + fieldName + " modifier mismatch: ", in testPublicStatics()
86 fail("Illegal access to Field " + fieldName); in testPublicStatics()
DResultSetTest.java79 String fieldName = element.getName(); in testPublicStatics() local
84 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics()
86 fail("Field " + fieldName + " missing!"); in testPublicStatics()
88 assertEquals("Field " + fieldName + " value mismatch: ", in testPublicStatics()
90 assertEquals("Field " + fieldName + " modifier mismatch: ", in testPublicStatics()
94 fail("Illegal access to Field " + fieldName); in testPublicStatics()
/external/autotest/frontend/client/src/autotest/common/table/
DFieldFilter.java7 protected String fieldName; field in FieldFilter
10 public FieldFilter(String fieldName) { in FieldFilter() argument
11 this.fieldName = fieldName; in FieldFilter()
22 String queryField = fieldName; in addParams()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DFieldDeclaration.java202 String fieldName = variable.getId().getName(); in createGetter() local
203 …String fieldNameUpper = fieldName.toUpperCase().substring(0, 1) + fieldName.substring(1, fieldName in createGetter()
212 blockStmt.addStatement(new ReturnStmt(name(fieldName))); in createGetter()
234 String fieldName = variable.getId().getName(); in createSetter() local
235 …String fieldNameUpper = fieldName.toUpperCase().substring(0, 1) + fieldName.substring(1, fieldName in createSetter()
243 …setter.getParameters().add(new Parameter(variable.getType(), new VariableDeclaratorId(fieldName))); in createSetter()
246 …ckStmt2.addStatement(new AssignExpr(new NameExpr("this." + fieldName), new NameExpr(fieldName), Op… in createSetter()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DJDWPEventModifierTestCase.java33 protected Value getFieldValue(String classSignature, String fieldName) { in getFieldValue() argument
37 long fieldID = debuggeeWrapper.vmMirror.getFieldID(classID, fieldName); in getFieldValue()
38 assertTrue("Failed to find field " + classSignature + "." + fieldName, in getFieldValue()
155 String classSignature, String fieldName) { in createFieldAccessEventBuilder() argument
156 return createFieldEventBuilder(typeTag, classSignature, fieldName, false); in createFieldAccessEventBuilder()
169 String classSignature, String fieldName) { in createFieldModificationEventBuilder() argument
170 return createFieldEventBuilder(typeTag, classSignature, fieldName, true); in createFieldModificationEventBuilder()
175 String fieldName, in createFieldEventBuilder() argument
185 long fieldID = debuggeeWrapper.vmMirror.getFieldID(typeID, fieldName); in createFieldEventBuilder()
186 assertTrue("Failed to find field ID " + typeSignature + "." + fieldName, in createFieldEventBuilder()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DFieldDeclaration.java181 String fieldName = variable.getNameAsString(); in createGetter() local
182 …String fieldNameUpper = fieldName.toUpperCase().substring(0, 1) + fieldName.substring(1, fieldName in createGetter()
188 blockStmt.addStatement(new ReturnStmt(fieldName)); in createGetter()
208 String fieldName = variable.getNameAsString(); in createSetter() local
209 …String fieldNameUpper = fieldName.toUpperCase().substring(0, 1) + fieldName.substring(1, fieldName in createSetter()
213 setter.getParameters().add(new Parameter(variable.getType(), fieldName)); in createSetter()
216 …ckStmt2.addStatement(new AssignExpr(new NameExpr("this." + fieldName), new NameExpr(fieldName), Op… in createSetter()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPObject.java101 String fieldName = f.getName(); in equals() local
102 if (fieldName.compareTo("stringRepresentation") == 0) { in equals()
105 if (fieldName.compareTo("indentation") == 0) { in equals()
143 System.out.println("accessed field " + fieldName); in equals()
192 String fieldName = f.getName(); in match() local
193 if (fieldName.compareTo("stringRepresentation") == 0) { in match()
196 if (fieldName.compareTo("indentation") == 0) { in match()
303 String fieldName = f.getName(); in debugDump() local
304 if (fieldName.compareTo("stringRepresentation") == 0) { in debugDump()
308 if (fieldName.compareTo("indentation") == 0) { in debugDump()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java474 public void setField(String fieldName, String valueString) in setField() argument
477 fieldToSetter(fieldName), String.class); in setField()
487 public void clearField(String fieldName) in clearField() argument
489 Method m = getClass().getMethod(fieldToClearer(fieldName)); in clearField()
504 for (String fieldName : fieldOrdering) { in toString()
506 Field field = getClass().getField(fieldName); in toString()
515 result.append(fieldName); in toString()
530 private static String fieldToSetter(String fieldName) { in fieldToSetter() argument
532 + Character.toUpperCase(fieldName.charAt(0)) in fieldToSetter()
533 + fieldName.substring(1); in fieldToSetter()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java471 public void setField(String fieldName, String valueString) in setField() argument
474 fieldToSetter(fieldName), String.class); in setField()
484 public void clearField(String fieldName) in clearField() argument
486 Method m = getClass().getMethod(fieldToClearer(fieldName)); in clearField()
501 for (String fieldName : fieldOrdering) { in toString()
503 Field field = getClass().getField(fieldName); in toString()
512 result.append(fieldName); in toString()
527 private static String fieldToSetter(String fieldName) { in fieldToSetter() argument
529 + Character.toUpperCase(fieldName.charAt(0)) in fieldToSetter()
530 + fieldName.substring(1); in fieldToSetter()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/address/
DNetObject.java99 String fieldName = f.getName(); in equals() local
100 if (fieldName.compareTo("stringRepresentation") == 0) { in equals()
103 if (fieldName.compareTo("indentation") == 0) { in equals()
189 String fieldName = f.getName(); in match() local
190 if (fieldName.compareTo("stringRepresentation") == 0) { in match()
193 if (fieldName.compareTo("indentation") == 0) { in match()
296 String fieldName = f.getName(); in debugDump() local
297 if (fieldName.compareTo("stringRepresentation") == 0) { in debugDump()
301 if (fieldName.compareTo("indentation") == 0) { in debugDump()
305 sprint(fieldName + ":"); in debugDump()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_body_FieldDeclaration.txt34 Line 203) fieldName.toUpperCase().substring(0, 1) ==> java.lang.String.substring(int, int)
35 Line 203) fieldName.toUpperCase() ==> java.lang.String.toUpperCase()
36 Line 203) fieldName.substring(1, fieldName.length()) ==> java.lang.String.substring(int, int)
37 Line 203) fieldName.length() ==> java.lang.String.length()
43 …Line 212) blockStmt.addStatement(new ReturnStmt(name(fieldName))) ==> com.github.javaparser.ast.no…
44 Line 212) name(fieldName) ==> com.github.javaparser.ast.expr.NameExpr.name(java.lang.String)
54 Line 235) fieldName.toUpperCase().substring(0, 1) ==> java.lang.String.substring(int, int)
55 Line 235) fieldName.toUpperCase() ==> java.lang.String.toUpperCase()
56 Line 235) fieldName.substring(1, fieldName.length()) ==> java.lang.String.substring(int, int)
57 Line 235) fieldName.length() ==> java.lang.String.length()
[all …]
/external/javassist/src/test/test3/
DEnhancer.java94 String fieldName = "m" + unique++; in override() local
97 + fieldName + ";", thisClass)); in override()
103 thisClass.addMethod(makeMethod(m, fieldName, delegatorName)); in override()
106 private CtMethod makeMethod(CtMethod m, String fieldName, in makeMethod() argument
113 = "{ if (" + fieldName + " == null) " + in makeMethod()
114 fieldName + " = " + factory + in makeMethod()
115 "return ($r)" + INTERCEPTOR + ".invoke(this, " + fieldName + in makeMethod()
/external/dagger2/java/dagger/internal/codegen/writing/
DMemberSelect.java59 static MemberSelect localField(ClassName owningClass, String fieldName) { in localField() argument
60 return new LocalField(owningClass, fieldName); in localField()
64 final String fieldName; field in MemberSelect.LocalField
66 LocalField(ClassName owningClass, String fieldName) { in LocalField() argument
68 this.fieldName = checkNotNull(fieldName); in LocalField()
74 ? CodeBlock.of("$N", fieldName) in getExpressionFor()
75 : CodeBlock.of("$T.this.$N", owningClass(), fieldName); in getExpressionFor()

12345678910