Home
last modified time | relevance | path

Searched refs:addParameter (Results 1 – 25 of 76) sorted by relevance

1234

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
DJDWPMethodVariableTableTestCase.java61 checker.addParameter("booleanParam", "Z", 0); in initStaticMethods()
66 checker.addParameter("byteParam", "B", 0); in initStaticMethods()
71 checker.addParameter("charParam", "C", 0); in initStaticMethods()
76 checker.addParameter("shortParam", "S", 0); in initStaticMethods()
81 checker.addParameter("intParam", "I", 0); in initStaticMethods()
86 checker.addParameter("floatParam", "F", 0); in initStaticMethods()
91 checker.addParameter("longParam", "J", 0); in initStaticMethods()
96 checker.addParameter("doubleParam", "D", 0); in initStaticMethods()
101 checker.addParameter("objectParam", "Ljava/lang/Object;", 0); in initStaticMethods()
106 checker.addParameter("stringParam", "Ljava/lang/String;", 0); in initStaticMethods()
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DConstructorWriter.java40 public VariableWriter addParameter(Class<?> type, String name) { in addParameter() method in ConstructorWriter
41 return addParameter(ClassName.fromClass(type), name); in addParameter()
44 public VariableWriter addParameter(TypeElement type, String name) { in addParameter() method in ConstructorWriter
45 return addParameter(ClassName.fromTypeElement(type), name); in addParameter()
48 public VariableWriter addParameter(TypeWriter type, String name) { in addParameter() method in ConstructorWriter
49 return addParameter(type.name, name); in addParameter()
52 public VariableWriter addParameter(TypeName type, String name) { in addParameter() method in ConstructorWriter
70 private VariableWriter addParameter(ClassName type, String name) { in addParameter() method in ConstructorWriter
DMethodWriter.java63 public VariableWriter addParameter(Class<?> type, String name) { in addParameter() method in MethodWriter
64 return addParameter(ClassName.fromClass(type), name); in addParameter()
67 public VariableWriter addParameter(TypeElement type, String name) { in addParameter() method in MethodWriter
68 return addParameter(ClassName.fromTypeElement(type), name); in addParameter()
71 public VariableWriter addParameter(TypeWriter type, String name) { in addParameter() method in MethodWriter
72 return addParameter(type.name, name); in addParameter()
75 public VariableWriter addParameter(TypeName type, String name) { in addParameter() method in MethodWriter
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithParameters.java16 default T addParameter(Type type, String name) { in addParameter() method
17 return addParameter(new Parameter(type, new VariableDeclaratorId(name))); in addParameter()
20 default T addParameter(Class<?> paramClass, String name) { in addParameter() method
22 return addParameter(new ClassOrInterfaceType(paramClass.getSimpleName()), name); in addParameter()
31 default T addParameter(String className, String name) { in addParameter() method
32 return addParameter(new ClassOrInterfaceType(className), name); in addParameter()
36 default T addParameter(Parameter parameter) { in addParameter() method
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithParameters.java52 default N addParameter(Type type, String name) { in addParameter() method
53 return addParameter(new Parameter(type, name)); in addParameter()
56 default N addParameter(Class<?> paramClass, String name) { in addParameter() method
58 return addParameter(parseType(paramClass.getSimpleName()), name); in addParameter()
67 default N addParameter(String className, String name) { in addParameter() method
68 return addParameter(parseType(className), name); in addParameter()
72 default N addParameter(Parameter parameter) { in addParameter() method
/external/oauth/core/src/main/java/net/oauth/
DOAuthMessage.java96 public void addParameter(String key, String value) { in addParameter() method in OAuthMessage
97 addParameter(new OAuth.Parameter(key, value)); in addParameter()
100 public void addParameter(Map.Entry<String, String> parameter) { in addParameter() method in OAuthMessage
257 addParameter(OAuth.OAUTH_TOKEN, accessor.accessToken); in addRequiredParameters()
261 addParameter(OAuth.OAUTH_CONSUMER_KEY, consumer.consumerKey); in addRequiredParameters()
269 addParameter(OAuth.OAUTH_SIGNATURE_METHOD, signatureMethod); in addRequiredParameters()
272 addParameter(OAuth.OAUTH_TIMESTAMP, (System.currentTimeMillis() / 1000) + ""); in addRequiredParameters()
275 addParameter(OAuth.OAUTH_NONCE, System.nanoTime() + ""); in addRequiredParameters()
278 addParameter(OAuth.OAUTH_VERSION, OAuth.VERSION_1_0); in addRequiredParameters()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeSpecTest.java130 .addParameter(bar, "bar") in anonymousInnerClass()
140 .addParameter(thungParameter) in anonymousInnerClass()
175 .addParameter(long.class, "id") in annotatedParameters()
176 .addParameter(ParameterSpec.builder(String.class, "one") in annotatedParameters()
179 .addParameter(ParameterSpec.builder(String.class, "two") in annotatedParameters()
182 .addParameter(ParameterSpec.builder(String.class, "three") in annotatedParameters()
187 .addParameter(ParameterSpec.builder(String.class, "four") in annotatedParameters()
252 .addParameter(ParameterSpec.builder(ParameterizedTypeName.get(things, thing), "things") in retrofitStyleInterface()
255 .addParameter(ParameterSpec.builder( in retrofitStyleInterface()
261 .addParameter(ParameterSpec.builder(string, "authorization") in retrofitStyleInterface()
[all …]
DJavaFileTest.java110 .addParameter(Thread.State[].class, "states") in importStaticMixed()
238 .addParameter(long.class, "minutes") in importStaticTypeSpec()
597 .addParameter(String[].class, "args") in defaultPackage()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
DNodeWithMembersBuildersTest.java78 …ation addMethod2 = classDeclaration.addMethod("foo", Modifier.PUBLIC).addParameter(int.class, "ove… in testGetMethodsWithName()
88 …ation addMethod2 = classDeclaration.addMethod("foo", Modifier.PUBLIC).addParameter(int.class, "ove… in testGetMethods()
100 …ation addMethod2 = classDeclaration.addMethod("foo", Modifier.PUBLIC).addParameter(int.class, "ove… in testGetMethodsWithParameterTypes()
103 …ithListParam = classDeclaration.addMethod("fooList", Modifier.PUBLIC).addParameter(type, "overload… in testGetMethodsWithParameterTypes()
104 …tion addMethod3 = classDeclaration.addMethod("foo2", Modifier.PUBLIC).addParameter(int.class, "ove… in testGetMethodsWithParameterTypes()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_nodeTypes_NodeWithParameters.txt1 …ine 17) addParameter(new Parameter(type, new VariableDeclaratorId(name))) ==> com.github.javaparse…
3 …22) addParameter(new ClassOrInterfaceType(paramClass.getSimpleName()), name) ==> com.github.javapa…
5 …Line 32) addParameter(new ClassOrInterfaceType(className), name) ==> com.github.javaparser.ast.nod…
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/
DOperatorProcessor.java265 builder.addParameter(p); in buildOpMethod()
301 .addParameter(T_SCOPE, "scope") in buildGroupClass()
327 .addParameter(T_SCOPE, "scope") in buildTopClass()
374 .addParameter(T_STRING, "childScopeName") in buildTopClass()
386 .addParameter(T_STRING, "opName") in buildTopClass()
425 .addParameter(T_GRAPH, "graph") in buildTopClass()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DTransformationsTest.java105 md.addParameter("int", "p1"); in exampleParam1()
113 md.addParameter(new ArrayType(PrimitiveType.intType()), "p1"); in exampleParam2()
114 md.addParameter("char", "p2"); in exampleParam2()
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/
DMainConstructorGenerator.java31 .addParameter(TokenRange.class, "tokenRange") in generateNode()
39 constructor.addParameter(parameter.getTypeNameForSetter(), parameter.getName()); in generateNode()
/external/swiftshader/src/OpenGL/compiler/
DSymbolTable.h165 void addParameter(TParameter& p) in addParameter() function
409 function->addParameter(param1);
414 function->addParameter(param2);
420 function->addParameter(param3);
426 function->addParameter(param4);
432 function->addParameter(param5);
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMembersInjectorGenerator.java142 injectMembersWriter.addParameter(injectedTypeName, "instance");
181 constructorWriter.addParameter(field.type(), field.name());
183 createMethodWriter.addParameter(constructorParameter.type(), constructorParameter.name());
324 methodWriter.addParameter(injectedTypeName, "instance");
331 methodWriter.addParameter(
DFactoryGenerator.java140 constructorWriter.get().addParameter(enclosingType, "module"); in write()
163 constructorWriter.get().addParameter(membersInjectorType, "membersInjector"); in write()
177 constructorWriter.get().addParameter(field.type(), field.name()); in write()
199 createMethodWriter.addParameter(param.getValue(), param.getKey()); in write()
DMonitoringModuleGenerator.java90 monitorMethod.addParameter( in write()
93 monitorMethod.addParameter( in write()
DProducerFactoryGenerator.java123 constructorWriter.addParameter(binding.bindingTypeElement(), "module"); in write()
131 constructorWriter.addParameter(Executor.class, "executor"); in write()
145 computeMethodWriter.addParameter(ProducerMonitor.class, "monitor").addModifiers(FINAL); in write()
151 constructorWriter.addParameter(field.type(), field.name()); in write()
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/
DVisitorGenerator.java69 .addParameter(node.getTypeNameGenerified(), "n") in generateVisitMethodForNode()
70 .addParameter(argumentType, "arg") in generateVisitMethodForNode()
/external/javapoet/
DREADME.md31 .addParameter(String[].class, "args")
386 .addParameter(int.class, "i")
392 .addParameter(int.class, "b")
476 .addParameter(String.class, "greeting")
505 `MethodSpec`'s convenient `addParameter()` API:
513 .addParameter(android)
514 .addParameter(String.class, "robot", Modifier.FINAL)
646 .addParameter(String.class, "handsign")
686 .addParameter(String.class, "a")
687 .addParameter(String.class, "b")
[all …]
/external/v4l2_codec2/
DC2VDAComponent.cpp159 addParameter( in IntfImpl()
185 addParameter(DefineParam(mProfileLevel, C2_PARAMKEY_PROFILE_LEVEL) in IntfImpl()
192 addParameter( in IntfImpl()
230 addParameter( in IntfImpl()
235 addParameter(DefineParam(mOutputFormat, C2_PARAMKEY_OUTPUT_STREAM_BUFFER_TYPE) in IntfImpl()
239 addParameter( in IntfImpl()
244 addParameter(DefineParam(mOutputMediaType, C2_PARAMKEY_OUTPUT_MEDIA_TYPE) in IntfImpl()
249 addParameter(DefineParam(mSize, C2_PARAMKEY_STREAM_PICTURE_SIZE) in IntfImpl()
279 addParameter(DefineParam(mMaxInputSize, C2_PARAMKEY_INPUT_MAX_BUFFER_SIZE) in IntfImpl()
296 addParameter( in IntfImpl()
[all …]
/external/javapoet/src/main/java/com/squareup/javapoet/
DMethodSpec.java378 public Builder addParameter(ParameterSpec parameterSpec) { in addParameter() method in MethodSpec.Builder
383 public Builder addParameter(TypeName type, String name, Modifier... modifiers) { in addParameter() method in MethodSpec.Builder
384 return addParameter(ParameterSpec.builder(type, name, modifiers).build()); in addParameter()
387 public Builder addParameter(Type type, String name, Modifier... modifiers) { in addParameter() method in MethodSpec.Builder
388 return addParameter(TypeName.get(type), name, modifiers); in addParameter()
/external/doclava/src/com/google/doclava/apicheck/
DAbstractMethodInfo.java23 public void addParameter(com.google.doclava.ParameterInfo p); in addParameter() method
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/wiki_samples/
DMethodChanger_1.java54 n.addParameter("int", "value"); in visit()
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DSimpleEstimationProblem.java99 protected void addParameter(EstimatedParameter p) { in addParameter() method in SimpleEstimationProblem

1234