Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 6104) sorted by relevance

12345678910>>...245

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DNoCommentHashCodeVisitor.java43 public Integer visit(final AnnotationDeclaration n, final Void arg) { in visit() argument
44 ….accept(this, arg)) * 31 + (n.getModifiers().hashCode()) * 31 + (n.getName().accept(this, arg)) * … in visit()
48 public Integer visit(final AnnotationMemberDeclaration n, final Void arg) { in visit() argument
49arg) : 0) * 31 + (n.getModifiers().hashCode()) * 31 + (n.getName().accept(this, arg)) * 31 + (n.ge… in visit()
53 public Integer visit(final ArrayAccessExpr n, final Void arg) { in visit() argument
54 return (n.getIndex().accept(this, arg)) * 31 + (n.getName().accept(this, arg)); in visit()
58 public Integer visit(final ArrayCreationExpr n, final Void arg) { in visit() argument
59 …ept(this, arg)) * 31 + (n.getInitializer().isPresent() ? n.getInitializer().get().accept(this, arg in visit()
63 public Integer visit(final ArrayCreationLevel n, final Void arg) { in visit() argument
64 … (n.getAnnotations().accept(this, arg)) * 31 + (n.getDimension().isPresent() ? n.getDimension().ge… in visit()
[all …]
DVoidVisitorWithDefaults.java43 public void defaultAction(Node n, A arg) { in defaultAction() argument
49 public void defaultAction(NodeList n, A arg) { in defaultAction() argument
54 public void visit(final AnnotationDeclaration n, final A arg) { in visit() argument
55 defaultAction(n, arg); in visit()
60 public void visit(final AnnotationMemberDeclaration n, final A arg) { in visit() argument
61 defaultAction(n, arg); in visit()
66 public void visit(final ArrayAccessExpr n, final A arg) { in visit() argument
67 defaultAction(n, arg); in visit()
72 public void visit(final ArrayCreationExpr n, final A arg) { in visit() argument
73 defaultAction(n, arg); in visit()
[all …]
DObjectIdentityEqualsVisitor.java49 public Boolean visit(final CompilationUnit n, final Visitable arg) { in visit() argument
50 return n == arg; in visit()
55 public Boolean visit(final PackageDeclaration n, final Visitable arg) { in visit() argument
56 return n == arg; in visit()
61 public Boolean visit(final TypeParameter n, final Visitable arg) { in visit() argument
62 return n == arg; in visit()
67 public Boolean visit(final LineComment n, final Visitable arg) { in visit() argument
68 return n == arg; in visit()
73 public Boolean visit(final BlockComment n, final Visitable arg) { in visit() argument
74 return n == arg; in visit()
[all …]
DHashCodeVisitor.java51 public Integer visit(final AnnotationDeclaration n, final Void arg) { in visit() argument
52arg)) * 31 + (n.getModifiers().hashCode()) * 31 + (n.getName().accept(this, arg)) * 31 + (n.getAnn… in visit()
56 public Integer visit(final AnnotationMemberDeclaration n, final Void arg) { in visit() argument
57arg) : 0) * 31 + (n.getModifiers().hashCode()) * 31 + (n.getName().accept(this, arg)) * 31 + (n.ge… in visit()
61 public Integer visit(final ArrayAccessExpr n, final Void arg) { in visit() argument
62 …x().accept(this, arg)) * 31 + (n.getName().accept(this, arg)) * 31 + (n.getComment().isPresent() ?… in visit()
66 public Integer visit(final ArrayCreationExpr n, final Void arg) { in visit() argument
67arg)) * 31 + (n.getInitializer().isPresent() ? n.getInitializer().get().accept(this, arg) : 0) * 3… in visit()
71 public Integer visit(final ArrayCreationLevel n, final Void arg) { in visit() argument
72arg)) * 31 + (n.getDimension().isPresent() ? n.getDimension().get().accept(this, arg) : 0) * 31 + … in visit()
[all …]
DVoidVisitorAdapter.java44 public void visit(final AnnotationDeclaration n, final A arg) { in visit() argument
45 n.getMembers().forEach(p -> p.accept(this, arg)); in visit()
46 n.getName().accept(this, arg); in visit()
47 n.getAnnotations().forEach(p -> p.accept(this, arg)); in visit()
48 n.getComment().ifPresent(l -> l.accept(this, arg)); in visit()
53 public void visit(final AnnotationMemberDeclaration n, final A arg) { in visit() argument
54 n.getDefaultValue().ifPresent(l -> l.accept(this, arg)); in visit()
55 n.getName().accept(this, arg); in visit()
56 n.getType().accept(this, arg); in visit()
57 n.getAnnotations().forEach(p -> p.accept(this, arg)); in visit()
[all …]
DGenericVisitorWithDefaults.java43 public R defaultAction(Node n, A arg) { in defaultAction() argument
50 public R defaultAction(NodeList n, A arg) { in defaultAction() argument
56 public R visit(final AnnotationDeclaration n, final A arg) { in visit() argument
57 return defaultAction(n, arg); in visit()
62 public R visit(final AnnotationMemberDeclaration n, final A arg) { in visit() argument
63 return defaultAction(n, arg); in visit()
68 public R visit(final ArrayAccessExpr n, final A arg) { in visit() argument
69 return defaultAction(n, arg); in visit()
74 public R visit(final ArrayCreationExpr n, final A arg) { in visit() argument
75 return defaultAction(n, arg); in visit()
[all …]
DVoidVisitor.java41 void visit(NodeList n, A arg); in visit() argument
44 void visit(AnnotationDeclaration n, A arg); in visit() argument
47 void visit(AnnotationMemberDeclaration n, A arg); in visit() argument
50 void visit(ArrayAccessExpr n, A arg); in visit() argument
53 void visit(ArrayCreationExpr n, A arg); in visit() argument
56 void visit(ArrayCreationLevel n, A arg); in visit() argument
59 void visit(ArrayInitializerExpr n, A arg); in visit() argument
62 void visit(ArrayType n, A arg); in visit() argument
65 void visit(AssertStmt n, A arg); in visit() argument
68 void visit(AssignExpr n, A arg); in visit() argument
[all …]
DGenericVisitor.java43 R visit(CompilationUnit n, A arg); in visit() argument
46 R visit(PackageDeclaration n, A arg); in visit() argument
49 R visit(TypeParameter n, A arg); in visit() argument
52 R visit(LineComment n, A arg); in visit() argument
55 R visit(BlockComment n, A arg); in visit() argument
59 R visit(ClassOrInterfaceDeclaration n, A arg); in visit() argument
62 R visit(EnumDeclaration n, A arg); in visit() argument
65 R visit(EnumConstantDeclaration n, A arg); in visit() argument
68 R visit(AnnotationDeclaration n, A arg); in visit() argument
71 R visit(AnnotationMemberDeclaration n, A arg); in visit() argument
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DVoidVisitorAdapter.java92 @Override public void visit(final AnnotationDeclaration n, final A arg) { in visit() argument
93 visitComment(n.getComment(), arg); in visit() local
94 visitAnnotations(n, arg); in visit()
95 n.getNameExpr().accept(this, arg); in visit()
98 member.accept(this, arg); in visit()
103 @Override public void visit(final AnnotationMemberDeclaration n, final A arg) { in visit() argument
104 visitComment(n.getComment(), arg); in visit() local
105 visitAnnotations(n, arg); in visit()
106 n.getType().accept(this, arg); in visit()
108 n.getDefaultValue().accept(this, arg); in visit()
[all …]
DGenericVisitorAdapter.java42 public R visit(final AnnotationDeclaration n, final A arg) { in visit() argument
43 visitComment(n, arg); in visit()
47 R result = a.accept(this, arg); in visit()
57 R result = member.accept(this, arg); in visit()
68 public R visit(final AnnotationMemberDeclaration n, final A arg) { in visit() argument
69 visitComment(n, arg); in visit()
73 R result = a.accept(this, arg); in visit()
81 R result = n.getType().accept(this, arg); in visit()
88 R result = n.getDefaultValue().accept(this, arg); in visit()
98 public R visit(final ArrayAccessExpr n, final A arg) { in visit() argument
[all …]
DDumpVisitor.java90 public void print(final String arg) { in print() argument
95 buf.append(arg); in print()
98 public void printLn(final String arg) { in printLn() argument
99 print(arg); in printLn()
133 private void printMembers(final List<BodyDeclaration<?>> members, final Object arg) { in printMembers() argument
136 member.accept(this, arg); in printMembers()
141 private void printMemberAnnotations(final List<AnnotationExpr> annotations, final Object arg) { in printMemberAnnotations() argument
144 a.accept(this, arg); in printMemberAnnotations()
150 …ntAnnotations(final List<AnnotationExpr> annotations, boolean prefixWithASpace, final Object arg) { in printAnnotations() argument
156 annotation.accept(this, arg); in printAnnotations()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DVoidVisitorAdapter.java81 @Override public void visit(final AnnotationDeclaration n, final A arg) { in visit() argument
82 visitComment(n.getComment(), arg); in visit() local
84 n.getJavaDoc().accept(this, arg); in visit()
88 a.accept(this, arg); in visit()
93 member.accept(this, arg); in visit()
98 @Override public void visit(final AnnotationMemberDeclaration n, final A arg) { in visit() argument
99 visitComment(n.getComment(), arg); in visit() local
101 n.getJavaDoc().accept(this, arg); in visit()
105 a.accept(this, arg); in visit()
108 n.getType().accept(this, arg); in visit()
[all …]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DExistenceOfParentNodeVerifier.java54 public void visit(AnnotationDeclaration n, Void arg) { in visit() argument
56 super.visit(n, arg); in visit()
60 public void visit(AnnotationMemberDeclaration n, Void arg) { in visit() argument
62 super.visit(n, arg); in visit()
66 public void visit(ArrayAccessExpr n, Void arg) { in visit() argument
68 super.visit(n, arg); in visit()
72 public void visit(ArrayCreationExpr n, Void arg) { in visit() argument
74 super.visit(n, arg); in visit()
78 public void visit(ArrayInitializerExpr n, Void arg) { in visit() argument
80 super.visit(n, arg); in visit()
[all …]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/visitors/
DPositionTestVisitor.java45 public void visit(final AnnotationDeclaration n, final Object arg) { in visit() argument
48 super.visit(n, arg); in visit()
52 public void visit(final AnnotationMemberDeclaration n, final Object arg) { in visit() argument
54 super.visit(n, arg); in visit()
58 public void visit(final ArrayAccessExpr n, final Object arg) { in visit() argument
60 super.visit(n, arg); in visit()
64 public void visit(final ArrayCreationExpr n, final Object arg) { in visit() argument
66 super.visit(n, arg); in visit()
70 public void visit(final ArrayInitializerExpr n, final Object arg) { in visit() argument
72 super.visit(n, arg); in visit()
[all …]
/external/clang/test/CodeGen/
Dsystemz-abi.c10 char pass_char(char arg) { return arg; } in pass_char() argument
13 short pass_short(short arg) { return arg; } in pass_short() argument
16 int pass_int(int arg) { return arg; } in pass_int() argument
19 long pass_long(long arg) { return arg; } in pass_long() argument
22 long long pass_longlong(long long arg) { return arg; } in pass_longlong() argument
25 __int128 pass_int128(__int128 arg) { return arg; } in pass_int128() argument
28 float pass_float(float arg) { return arg; } in pass_float() argument
31 double pass_double(double arg) { return arg; } in pass_double() argument
34 long double pass_longdouble(long double arg) { return arg; } in pass_longdouble() argument
40 _Complex char pass_complex_char(_Complex char arg) { return arg; } in pass_complex_char() argument
[all …]
Dsystemz-abi-vector.c42 v1i8 pass_v1i8(v1i8 arg) { return arg; } in pass_v1i8() argument
46 v2i8 pass_v2i8(v2i8 arg) { return arg; } in pass_v2i8() argument
50 v4i8 pass_v4i8(v4i8 arg) { return arg; } in pass_v4i8() argument
54 v8i8 pass_v8i8(v8i8 arg) { return arg; } in pass_v8i8() argument
58 v16i8 pass_v16i8(v16i8 arg) { return arg; } in pass_v16i8() argument
62 v32i8 pass_v32i8(v32i8 arg) { return arg; } in pass_v32i8() argument
66 v1i16 pass_v1i16(v1i16 arg) { return arg; } in pass_v1i16() argument
70 v2i16 pass_v2i16(v2i16 arg) { return arg; } in pass_v2i16() argument
74 v4i16 pass_v4i16(v4i16 arg) { return arg; } in pass_v4i16() argument
78 v8i16 pass_v8i16(v8i16 arg) { return arg; } in pass_v8i16() argument
[all …]
/external/python/cpython2/Lib/plat-beos5/
DIN.py206 def B_HOST_TO_LENDIAN_DOUBLE(arg): return (double)(arg) argument
208 def B_HOST_TO_LENDIAN_FLOAT(arg): return (float)(arg) argument
210 def B_HOST_TO_LENDIAN_INT64(arg): return (uint64)(arg) argument
212 def B_HOST_TO_LENDIAN_INT32(arg): return (uint32)(arg) argument
214 def B_HOST_TO_LENDIAN_INT16(arg): return (uint16)(arg) argument
216 def B_HOST_TO_BENDIAN_DOUBLE(arg): return __swap_double(arg) argument
218 def B_HOST_TO_BENDIAN_FLOAT(arg): return __swap_float(arg) argument
220 def B_HOST_TO_BENDIAN_INT64(arg): return __swap_int64(arg) argument
222 def B_HOST_TO_BENDIAN_INT32(arg): return __swap_int32(arg) argument
224 def B_HOST_TO_BENDIAN_INT16(arg): return __swap_int16(arg) argument
[all …]
/external/boringssl/src/decrepit/evp/
Devp_do_all.c20 const char *unused, void *arg), in EVP_CIPHER_do_all_sorted() argument
21 void *arg) { in EVP_CIPHER_do_all_sorted()
22 callback(EVP_aes_128_cbc(), "AES-128-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
23 callback(EVP_aes_192_cbc(), "AES-192-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
24 callback(EVP_aes_256_cbc(), "AES-256-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
25 callback(EVP_aes_128_ctr(), "AES-128-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
26 callback(EVP_aes_192_ctr(), "AES-192-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
27 callback(EVP_aes_256_ctr(), "AES-256-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
28 callback(EVP_aes_128_ecb(), "AES-128-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
29 callback(EVP_aes_192_ecb(), "AES-192-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
[all …]
/external/libvpx/libvpx/
Dargs.c25 struct arg arg_init(char **argv) { in arg_init()
26 struct arg a; in arg_init()
36 int arg_match(struct arg *arg_, const struct arg_def *def, char **argv) { in arg_match()
37 struct arg arg; in arg_match() local
41 arg = arg_init(argv); in arg_match()
43 if (def->short_name && strlen(arg.argv[0]) == strlen(def->short_name) + 1 && in arg_match()
44 !strcmp(arg.argv[0] + 1, def->short_name)) { in arg_match()
45 arg.name = arg.argv[0] + 1; in arg_match()
46 arg.val = def->has_val ? arg.argv[1] : NULL; in arg_match()
47 arg.argv_step = def->has_val ? 2 : 1; in arg_match()
[all …]
/external/javaparser/javaparser-testing/src/test/test_sourcecode/com/github/javaparser/printer/
DPrettyPrintVisitor.java70 private void printMembers(final NodeList<BodyDeclaration<?>> members, final Void arg) { in printMembers() argument
73 member.accept(this, arg); in printMembers()
78 … private void printMemberAnnotations(final NodeList<AnnotationExpr> annotations, final Void arg) { in printMemberAnnotations() argument
83 a.accept(this, arg); in printMemberAnnotations()
89 final Void arg) { in printAnnotations() argument
97 annotation.accept(this, arg); in printAnnotations()
102 … private void printTypeArgs(final NodeWithTypeArguments<?> nodeWithTypeArguments, final Void arg) { in printTypeArgs() argument
108 t.accept(this, arg); in printTypeArgs()
117 private void printTypeParameters(final NodeList<TypeParameter> args, final Void arg) { in printTypeParameters() argument
122 t.accept(this, arg); in printTypeParameters()
[all …]
/external/libunwind/src/ia64/
Dunwind_decoder.h107 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument
117 UNW_DEC_SPILL_SPREL(X1, t, abreg, off, arg); in unw_decode_x1()
119 UNW_DEC_SPILL_PSPREL(X1, t, abreg, off, arg); in unw_decode_x1()
124 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument
135 UNW_DEC_RESTORE(X2, t, abreg, arg); in unw_decode_x2()
137 UNW_DEC_SPILL_REG(X2, t, abreg, x, ytreg, arg); in unw_decode_x2()
142 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument
155 UNW_DEC_SPILL_SPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3()
157 UNW_DEC_SPILL_PSPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3()
162 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x4() argument
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrintVisitor.java92 private void printMembers(final NodeList<BodyDeclaration<?>> members, final Void arg) { in printMembers() argument
95 member.accept(this, arg); in printMembers()
100 … private void printMemberAnnotations(final NodeList<AnnotationExpr> annotations, final Void arg) { in printMemberAnnotations() argument
105 a.accept(this, arg); in printMemberAnnotations()
111 final Void arg) { in printAnnotations() argument
119 annotation.accept(this, arg); in printAnnotations()
124 … private void printTypeArgs(final NodeWithTypeArguments<?> nodeWithTypeArguments, final Void arg) { in printTypeArgs() argument
130 t.accept(this, arg); in printTypeArgs()
139 private void printTypeParameters(final NodeList<TypeParameter> args, final Void arg) { in printTypeParameters() argument
144 t.accept(this, arg); in printTypeParameters()
[all …]
/external/libpng/contrib/tools/
Dgenpng.c112 color_of(const char *arg) in color_of() argument
118 if (strcmp(colors[icolor].name, arg) == 0) in color_of()
122 fprintf(stderr, "genpng: invalid color %s\n", arg); in color_of()
127 width_of(const char *arg) in width_of() argument
129 if (strcmp(arg, "filled") == 0) in width_of()
135 double w = strtod(arg, &ep); in width_of()
141 fprintf(stderr, "genpng: invalid line width %s\n", arg); in width_of()
146 coordinate_of(const char *arg) in coordinate_of() argument
149 double w = strtod(arg, &ep); in coordinate_of()
154 fprintf(stderr, "genpng: invalid coordinate value %s\n", arg); in coordinate_of()
[all …]
/external/libaom/libaom/common/
Dargs.c27 struct arg arg_init(char **argv) { in arg_init()
28 struct arg a; in arg_init()
97 int arg_match(struct arg *arg_, const struct arg_def *def, char **argv) { in arg_match()
98 struct arg arg; in arg_match() local
102 arg = arg_init(argv); in arg_match()
104 if (def->short_name && strlen(arg.argv[0]) == strlen(def->short_name) + 1 && in arg_match()
105 !strcmp(arg.argv[0] + 1, def->short_name)) { in arg_match()
106 arg.name = arg.argv[0] + 1; in arg_match()
107 arg.val = def->has_val ? arg.argv[1] : NULL; in arg_match()
108 arg.argv_step = def->has_val ? 2 : 1; in arg_match()
[all …]
/external/syzkaller/prog/
Dvalidation.go54 for i, arg := range c.Args {
55 if err := ctx.validateArg(arg, c.Meta.Args[i]); err != nil {
81 func (ctx *validCtx) validateArg(arg Arg, typ Type) error {
82 if arg == nil {
85 if ctx.args[arg] {
86 return fmt.Errorf("arg %#v is referenced several times in the tree", arg)
88 if arg.Type() == nil {
91 if !ctx.target.isAnyPtr(arg.Type()) && arg.Type() != typ {
92 return fmt.Errorf("bad arg type %#v, expect %#v", arg.Type(), typ)
94 ctx.args[arg] = true
[all …]

12345678910>>...245