Home
last modified time | relevance | path

Searched refs:getFieldByName (Results 1 – 18 of 18) sorted by relevance

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DTransformationsTest.java39 … cu.getClassByName("A").get().getFieldByName("a").get().setModifiers(EnumSet.of(Modifier.STATIC)); in example1()
46 cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setInitializer("10"); in example2()
53 …cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setInitializer((Expression) … in example3()
60 …cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setInitializer(new NullLiter… in example5()
67 … cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setName("someOtherName"); in example6()
74 …cu.getClassByName("A").get().getFieldByName("a").get().getVariable(0).setType(new ArrayType(Primit… in example7()
DLexicalPreservingPrinterTest.java65 FieldDeclaration fd = classA.getFieldByName("i").get(); in checkNodeTextCreatedForField()
77 FieldDeclaration fd = classA.getFieldByName("i").get(); in checkNodeTextCreatedForVariableDeclarator()
139 FieldDeclaration field = cu.getClassByName("A").get().getFieldByName("result").get(); in checkNodeTextCreatedGenericType()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/
DNodeListTest.java138 cd.getMembers().remove(cd.getFieldByName("c").get());
202 …cd.getMembers().removeAll(Arrays.asList(cd.getFieldByName("b").get(), "foo", cd.getFieldByName("d"…
215 …cd.getMembers().retainAll(Arrays.asList(cd.getFieldByName("b").get(), "foo", cd.getFieldByName("d"…
DNodeTest.java69 …cu.getClassByName("MyCoolClass").get().getFieldByName("f").get().getVariable(0).setType(new Primit… in registerSubTree()
99 …cu.getClassByName("MyCoolClass").get().getFieldByName("f").get().getVariable(0).setType(new Primit… in registerWithJustNodeMode()
127 …cu.getClassByName("MyCoolClass").get().getFieldByName("f").get().getVariable(0).setType(new Primit… in registerWithNodeAndExistingDescendantsMode()
163 …cu.getClassByName("MyCoolClass").get().getFieldByName("f").get().getVariable(0).setType(new Primit… in registerWithSelfPropagatingMode()
/external/syzkaller/prog/
Dchecksum.go150 srcAddr := getFieldByName(arg, "src_ip")
151 dstAddr := getFieldByName(arg, "dst_ip")
158 func getFieldByName(arg *GroupArg, name string) Arg { func
/external/icu/icu4c/source/test/intltest/
Dnumfmtdatadriventest.cpp462 NumberFormatTestTuple::getFieldByName("locale"), "en", status); in TestNumberFormatTestTuple()
464 NumberFormatTestTuple::getFieldByName("pattern"), "#,##0.00", status); in TestNumberFormatTestTuple()
466 NumberFormatTestTuple::getFieldByName("minIntegerDigits"), "-10", status); in TestNumberFormatTestTuple()
489 NumberFormatTestTuple::getFieldByName("aBadFieldName"), "someValue", status); in TestNumberFormatTestTuple()
495 NumberFormatTestTuple::getFieldByName("minIntegerDigits"), "someBadValue", status); in TestNumberFormatTestTuple()
Ddatadrivennumberformattestsuite.cpp73 columnTypes[i] = NumberFormatTestTuple::getFieldByName( in run()
137 NumberFormatTestTuple::getFieldByName(parts[1]), in setTupleField()
Dnumberformattesttuple.h226 static ENumberFormatTestTupleField getFieldByName(const UnicodeString &name);
Dnumberformattesttuple.cpp405 NumberFormatTestTuple::getFieldByName( in getFieldByName() function in NumberFormatTestTuple
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DArrayExprTest.java20 …FieldDeclaration field = JavaParser.parse(code).getClassByName("A").get().getFieldByName("toExamin… in verifyAnArrayAccessExprTypeIsCalculatedProperly()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/observer/
DPropagatingAstObserverTest.java56 … cu.getClassByName("A").get().getFieldByName("foo").get().getVariables().get(0).setName("Bar"); in verifyPropagation()
/external/autotest/frontend/client/src/autotest/tko/
DHeaderFieldCollection.java114 public HeaderField getFieldByName(String name) { in getFieldByName() method
DTableView.java165 fields.add(headerFields.getFieldByName(name)); in selectColumnsByName()
487 HeaderField defaultSortField = headerFields.getFieldByName(DEFAULT_COLUMNS[0]); in fillDefaultHistoryValues()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
DNodeWithMembersBuildersTest.java119 FieldDeclaration fieldByName = classDeclaration.getFieldByName("fieldName").get(); in testGetFieldWithName()
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DNodeMetaModelGenerator.java33 metaModelCoid.getFieldByName(nodeMetaModelFieldName).ifPresent(Node::remove); in generate()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java308 default Optional<FieldDeclaration> getFieldByName(String name) { in getFieldByName() method
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java266 default FieldDeclaration getFieldByName(String name) { in getFieldByName() method
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DSearchableTableEmitter.cpp80 const GenericField *getFieldByName(StringRef Name) const { in getFieldByName() function
543 const GenericField *Field = Table.getFieldByName(FieldName); in parseSearchIndex()